:root {
  --bg: #08090d;
  --bg-2: #0d0f15;
  --panel: #12151d;
  --panel-2: #171a23;
  --text: #f4f5f8;
  --muted: #9ca1ae;
  --muted-2: #707683;
  --line: rgba(255, 255, 255, .105);
  --line-strong: rgba(255, 255, 255, .18);
  --violet: #8b7cff;
  --cyan: #61e7ff;
  --pink: #ff64b8;
  --acid: #dfff7a;
  --spectrum: linear-gradient(110deg, var(--cyan), var(--violet) 48%, var(--pink));
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { overflow-wrap: break-word; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--acid);
  color: #08090d;
  padding: .75rem 1rem;
  border-radius: .4rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 30;
  width: min(calc(100% - 3rem), var(--max));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: .72rem; }
.brand img { width: 42px; height: 42px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; letter-spacing: -.025em; }
.brand-name b { font-size: .94rem; font-weight: 700; }
.brand-name small { margin-top: .2rem; color: var(--muted); font: 500 .68rem/1 "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }

.main-nav { margin-left: auto; margin-right: 1rem; display: flex; color: #b3b7c1; font-size: .87rem; }
.use-cases-menu { position: relative; }
.use-cases-menu > summary { min-width: 132px; min-height: 46px; padding: .65rem .8rem .65rem .9rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--line); border-radius: .7rem; cursor: pointer; list-style: none; color: #e3e5ea; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); font-weight: 650; letter-spacing: -.015em; transition: border-color .2s, background .2s, box-shadow .2s; }
.use-cases-menu > summary::-webkit-details-marker { display: none; }
.use-cases-menu > summary span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--acid); background: rgba(223,255,122,.08); font-size: .85rem; transition: transform .2s, background .2s; }
.use-cases-menu > summary:hover { border-color: rgba(97,231,255,.32); background: linear-gradient(180deg, rgba(97,231,255,.065), rgba(255,255,255,.02)); }
.use-cases-menu[open] > summary { border-color: rgba(223,255,122,.42); background: rgba(223,255,122,.055); box-shadow: 0 0 0 1px rgba(223,255,122,.04), 0 14px 32px rgba(0,0,0,.25); }
.use-cases-menu[open] > summary span { transform: rotate(180deg); }
.use-cases-panel { position: absolute; top: calc(100% + .65rem); left: 50%; z-index: 80; width: min(660px, calc(100vw - 2rem)); padding: .7rem; display: grid; grid-template-columns: 1fr 1.12fr .88fr; gap: .55rem; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.16); border-radius: 1rem; background: radial-gradient(circle at 12% 0%, rgba(97,231,255,.08), transparent 30%), radial-gradient(circle at 88% 100%, rgba(139,124,255,.09), transparent 32%), rgba(11,13,19,.985); box-shadow: 0 30px 80px rgba(0,0,0,.56), inset 0 1px 0 rgba(255,255,255,.035); backdrop-filter: blur(18px); }
.use-cases-panel::before { content: ""; position: absolute; top: -6px; left: calc(50% - 6px); width: 12px; height: 12px; transform: rotate(45deg); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); background: #0c0e14; }
.use-cases-panel > div { position: relative; min-width: 0; padding: .72rem; display: flex; flex-direction: column; gap: .06rem; border: 1px solid rgba(255,255,255,.07); border-radius: .7rem; background: rgba(255,255,255,.022); }
.use-cases-panel > div::before { content: ""; position: absolute; left: .72rem; right: .72rem; top: 2.35rem; height: 1px; background: linear-gradient(90deg, rgba(97,231,255,.4), transparent); }
.use-cases-panel > div:nth-child(2)::before { background: linear-gradient(90deg, rgba(139,124,255,.52), transparent); }
.use-cases-panel > div:nth-child(3)::before { background: linear-gradient(90deg, rgba(255,100,184,.45), transparent); }
.use-cases-panel b { margin: 0 0 .7rem; color: #8a909e; font: 500 .67rem/1 "DM Mono", monospace; letter-spacing: .13em; text-transform: uppercase; }
.use-cases-panel a { position: relative; padding: .48rem 1.35rem .48rem .55rem; border-radius: .45rem; color: #e4e6eb; font-size: .875rem; line-height: 1.2; transition: color .18s, background .18s, transform .18s; }
.use-cases-panel a::after { content: "↗"; position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); color: var(--muted-2); font-size: .72rem; opacity: 0; transition: opacity .18s, transform .18s; }
.use-cases-panel a:hover, .use-cases-panel a:focus-visible { color: #fff; background: rgba(255,255,255,.065); outline: none; transform: translateX(2px); }
.use-cases-panel a:hover::after, .use-cases-panel a:focus-visible::after { opacity: 1; transform: translate(2px, -50%); color: var(--acid); }
.nav-cta { min-width: 132px; display: flex; justify-content: space-between; gap: 1.4rem; padding: .72rem .9rem; border: 1px solid var(--line-strong); border-radius: .55rem; font-size: .84rem; font-weight: 600; transition: .2s; }
.nav-cta:hover { border-color: var(--cyan); background: rgba(97,231,255,.06); }
.auth-controls { min-width: 132px; display: flex; justify-content: flex-end; }
.google-signin { border: 1px solid rgba(255,255,255,.18); border-radius: .55rem; padding: .72rem .9rem; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; background: #fff; color: #111318; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.google-signin[hidden] { display: none; }
.google-signin:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,0,0,.24); }
.google-signin[aria-busy="true"] { opacity: .68; cursor: wait; pointer-events: none; }
.google-mark { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #4285f4; background: #fff; font: 800 .9rem/1 Arial, sans-serif; box-shadow: inset 0 0 0 1px #dadce0; }
.header-signin { min-width: 112px; padding: .65rem .8rem; }
.account-menu { position: relative; min-height: 46px; }
.account-menu[hidden] { display: none; }
.account-summary { min-width: 196px; min-height: 46px; padding: .35rem .45rem; display: grid; grid-template-columns: 32px 1fr 22px; align-items: center; gap: .55rem; border: 1px solid var(--line); border-radius: .7rem; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018)); color: var(--text); cursor: pointer; text-align: left; transition: border-color .2s, background .2s; }
.account-summary:hover, .account-summary[aria-expanded="true"] { border-color: rgba(223,255,122,.48); }
.account-summary > img { width: 32px; height: 32px; border-radius: 50%; background: #222631; object-fit: cover; }
.account-summary > span { min-width: 0; }
.account-summary strong, .account-summary small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.account-summary strong { font-size: .75rem; }
.account-summary small { margin-top: .15rem; color: var(--acid); font: 500 .58rem/1.2 "DM Mono", monospace; }
.account-summary i { color: var(--muted); font-style: normal; transition: transform .2s; }
.account-summary[aria-expanded="true"] i { transform: rotate(180deg); }
.profile-menu { position: absolute; top: calc(100% + .7rem); right: 0; z-index: 90; width: 250px; padding: .55rem; border: 1px solid var(--line-strong); border-radius: .75rem; background: rgba(13,15,21,.99); box-shadow: 0 22px 55px rgba(0,0,0,.48); }
.profile-menu[hidden] { display: none; }
.profile-menu > div { padding: .65rem .7rem .8rem; border-bottom: 1px solid var(--line); }
.profile-menu > div b, .profile-menu > div span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-menu > div b { font-size: .82rem; }
.profile-menu > div span { margin-top: .2rem; color: var(--muted); font-size: .7rem; }
.profile-menu > a, .profile-menu > button { width: 100%; padding: .72rem .7rem; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: .45rem; background: transparent; color: #e4e6eb; cursor: pointer; font-size: .8rem; text-align: left; }
.profile-menu > a:hover, .profile-menu > button:hover { background: rgba(255,255,255,.06); color: var(--acid); }
.profile-menu > a b, .profile-menu > button b { color: var(--muted); font-weight: 500; }

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .19; pointer-events: none; }
.hero-orb-a { width: 420px; height: 420px; background: var(--violet); top: -190px; right: 9%; }
.hero-orb-b { width: 300px; height: 300px; background: var(--cyan); bottom: -180px; left: 10%; opacity: .1; }
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 6rem 0 6.5rem;
  display: grid;
  grid-template-columns: .97fr 1.03fr;
  gap: 5.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  color: #b5bac6;
  font: 500 .72rem/1.2 "DM Mono", monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow span { color: var(--acid); }
.eyebrow::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--acid), transparent); }
h1, h2, h3 { margin-top: 0; line-height: 1.05; letter-spacing: -.05em; }
h1 { margin-bottom: 1.8rem; font-size: clamp(3.35rem, 5.7vw, 6.2rem); font-weight: 600; }
h1 em { font-style: normal; font-weight: 500; color: transparent; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; }
.hero-lede { max-width: 590px; margin: 0 0 2rem; color: #aeb3bf; font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.2rem; min-width: 245px; padding: .9rem 1rem; color: #090a0e; background: var(--acid); border-radius: .52rem; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.primary-link:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(223,255,122,.15); }
.text-link { color: #c6cad3; font-size: .9rem; border-bottom: 1px solid var(--line-strong); padding: .6rem 0; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 610px; margin: 3.8rem 0 0; border-top: 1px solid var(--line); }
.hero-stats div { padding: 1.15rem 1rem 0 0; }
.hero-stats dt { font-size: 1.5rem; line-height: 1; }
.hero-stats dd { margin: .5rem 0 0; color: var(--muted-2); font: 400 .68rem/1.3 "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }

.tool-shell { border: 1px solid var(--line-strong); border-radius: 1.1rem; background: rgba(12,14,20,.85); box-shadow: 0 45px 100px rgba(0,0,0,.36); backdrop-filter: blur(16px); overflow: hidden; }
.tool-topline { min-height: 48px; padding: 0 1rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); color: var(--muted); font: 500 .66rem/1 "DM Mono", monospace; letter-spacing: .08em; }
.tool-topline > div { display: flex; align-items: center; gap: .55rem; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 12px var(--acid); }
.preview-pill { padding: .34rem .58rem; border: 1px solid var(--line); border-radius: 999px; letter-spacing: 0; text-transform: none; }
.tool-card { padding: 1.45rem; background: linear-gradient(150deg, rgba(255,255,255,.03), transparent 55%); }
.auth-gate { position: relative; min-height: 470px; padding: 3rem 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: .78rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(150deg, rgba(139,124,255,.1), transparent 44%), radial-gradient(circle at 50% 30%, rgba(97,231,255,.12), transparent 32%), #0a0c12; }
.auth-gate[hidden] { display: none; }
.auth-gate-glow { position: absolute; width: 230px; height: 230px; top: 18%; left: 50%; border: 1px solid rgba(139,124,255,.2); border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 85px rgba(139,124,255,.13), inset 0 0 65px rgba(97,231,255,.05); pointer-events: none; }
.auth-lock { position: relative; width: 58px; height: 58px; margin-bottom: 1.35rem; display: grid; place-items: center; border: 1px solid rgba(223,255,122,.28); border-radius: 50%; color: var(--acid); background: rgba(223,255,122,.06); box-shadow: 0 0 35px rgba(223,255,122,.08); font-size: 1.25rem; }
.auth-gate .step-label { position: relative; margin-bottom: .7rem; }
.auth-gate h2 { position: relative; max-width: 390px; margin-bottom: .8rem; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.auth-gate > p:not(.step-label) { position: relative; max-width: 410px; margin: 0 0 1.4rem; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.auth-gate .google-signin { position: relative; min-width: 240px; }
.auth-gate > small { position: relative; margin-top: .9rem; color: var(--muted-2); font: 400 .6rem/1.45 "DM Mono", monospace; }
#tool-workspace[hidden] { display: none; }
.tool-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.step-label { margin: 0 0 .3rem; color: var(--cyan); font: 500 .63rem/1 "DM Mono", monospace; letter-spacing: .12em; }
.tool-heading h2 { margin: 0; font-size: 1.28rem; letter-spacing: -.035em; }
.format-copy { padding-top: .2rem; color: var(--muted-2); font: 400 .62rem/1.2 "DM Mono", monospace; }

.drop-zone {
  position: relative;
  min-height: 255px;
  padding: 1.5rem;
  border: 1px dashed rgba(255,255,255,.24);
  border-radius: .72rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  background: radial-gradient(circle at 50% 45%, rgba(139,124,255,.11), transparent 42%), #0b0d13;
  transition: .22s;
}
.drop-zone::before, .drop-zone::after { content: ""; position: absolute; width: 17px; height: 17px; border-color: var(--cyan); opacity: .65; }
.drop-zone::before { left: -1px; top: -1px; border-left: 1px solid; border-top: 1px solid; }
.drop-zone::after { right: -1px; bottom: -1px; border-right: 1px solid; border-bottom: 1px solid; }
.drop-zone:hover, .drop-zone.is-dragging { border-color: var(--violet); background-color: #10121a; transform: translateY(-1px); }
.drop-zone input { position: absolute; opacity: 0; pointer-events: none; }
.upload-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, rgba(97,231,255,.13), rgba(139,124,255,.18)); border: 1px solid var(--line); box-shadow: inset 0 0 20px rgba(139,124,255,.08); }
.upload-icon svg { width: 25px; fill: none; stroke: #d8d6ff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.drop-zone strong { margin-top: .9rem; font-size: 1rem; }
.drop-zone > span:not(.upload-icon) { color: var(--muted); font-size: .86rem; }
.drop-zone small { margin-top: .7rem; color: var(--muted-2); font: 400 .66rem/1.4 "DM Mono", monospace; }

.file-preview { min-height: 130px; border: 1px solid var(--line); border-radius: .72rem; padding: .7rem; align-items: center; gap: .9rem; background: #0c0e14; }
.file-preview:not([hidden]) { display: flex; }
.file-preview img { width: 98px; height: 98px; object-fit: cover; border-radius: .45rem; }
.file-preview div { min-width: 0; flex: 1; }
.file-preview strong, .file-preview span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.file-preview span { color: var(--muted); font: 400 .7rem/1.5 "DM Mono", monospace; }
.file-preview button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }

.mode-picker { border: 0; padding: 0; margin: 1.05rem 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .45rem; }
.mode-picker legend { margin-bottom: .55rem; color: var(--muted-2); font: 500 .62rem/1 "DM Mono", monospace; letter-spacing: .1em; }
.mode-picker label { cursor: pointer; }
.mode-picker input { position: absolute; opacity: 0; }
.mode-picker label > span { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .6rem .35rem; border: 1px solid var(--line); border-radius: .45rem; color: var(--muted); font-size: .74rem; transition: .2s; }
.mode-picker label i { width: 5px; height: 5px; border-radius: 50%; background: #4a4f5d; }
.mode-picker input:checked + span { color: #fff; border-color: rgba(139,124,255,.65); background: rgba(139,124,255,.11); }
.mode-picker input:checked + span i { background: var(--acid); box-shadow: 0 0 7px var(--acid); }
.mode-picker input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

.primary-button { width: 100%; border: 0; border-radius: .5rem; padding: .9rem 1rem; display: flex; justify-content: space-between; background: var(--acid); color: #0a0b0e; font-weight: 700; cursor: pointer; transition: .2s; }
.primary-button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 9px 25px rgba(223,255,122,.12); }
.primary-button:disabled { opacity: .28; cursor: not-allowed; }
.primary-button.is-loading span:first-child::after { content: "…"; }
.tool-note { margin: .65rem 0 0; color: var(--muted-2); text-align: center; font: 400 .62rem/1.4 "DM Mono", monospace; }

.result-panel { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.result-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.result-heading .step-label { margin-bottom: .35rem; }
.result-heading h3 { margin: 0; font-size: 1.15rem; }
.result-heading > span { padding: .35rem .55rem; border: 1px solid rgba(139,124,255,.55); border-radius: 999px; color: #c5beff; font: 500 .58rem/1 "DM Mono", monospace; text-transform: uppercase; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: .65rem; background: var(--line); }
.result-grid figure { margin: 0; background: #090b10; }
.result-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.result-grid figcaption { padding: .45rem .6rem; border-top: 1px solid var(--line); color: var(--muted-2); font: 500 .57rem/1 "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.result-panel > p { margin: .8rem 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.result-actions { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }
.result-actions .primary-button { text-decoration: none; }
.result-actions > button { border: 1px solid var(--line-strong); border-radius: .5rem; padding: .8rem 1rem; color: var(--text); background: transparent; cursor: pointer; }
.result-actions > button:hover { border-color: var(--cyan); }

.proof-rail { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.proof-rail > div { width: max-content; min-width: 100%; min-height: 78px; padding: 0 2rem; display: flex; align-items: center; justify-content: center; gap: 2.1rem; color: #b7bbc5; font: 500 .69rem/1 "DM Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.proof-rail i { width: 5px; height: 5px; border-radius: 50%; background: var(--violet); }

.cases-section, .how-section, .faq-section {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 8.5rem 0;
}
.section-heading { display: grid; grid-template-columns: 1.15fr .65fr; gap: 5rem; align-items: end; margin-bottom: 3.8rem; }
.section-heading h2, .engine-copy h2, .truth-section h2, .final-cta h2 { margin: 0; font-size: clamp(2.8rem, 4.8vw, 5.2rem); font-weight: 500; letter-spacing: -.065em; }
.section-heading > p { margin: 0 0 .5rem; color: var(--muted); font-size: 1rem; line-height: 1.75; }

.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.case-card { min-width: 0; border: 1px solid var(--line); border-radius: .9rem; background: var(--bg-2); overflow: hidden; }
.case-card-large { grid-column: 1 / -1; }
.case-card > header { min-height: 112px; padding: 1.15rem 1.25rem; display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--line); }
.case-card header > div { min-width: 0; }
.case-index { color: var(--cyan); font: 500 .62rem/1 "DM Mono", monospace; letter-spacing: .1em; }
.case-card h3 { margin: .55rem 0 0; font-size: 1.35rem; letter-spacing: -.035em; }
.case-card header p { max-width: 280px; margin: 0; color: var(--muted); text-align: right; font-size: .8rem; }
.case-meta { min-height: 58px; padding: .8rem 1.2rem; display: flex; align-items: center; gap: .5rem; border-top: 1px solid var(--line); }
.case-meta span { padding: .32rem .56rem; border: 1px solid var(--line); border-radius: 999px; color: #aeb2bd; font: 400 .62rem/1 "DM Mono", monospace; }
.case-disclaimer { margin: 1rem 0 0; color: var(--muted-2); font: 400 .67rem/1.5 "DM Mono", monospace; }

.comparison { position: relative; aspect-ratio: 2.05 / 1; overflow: hidden; background: #0d0f14; user-select: none; touch-action: none; }
.comparison-compact { aspect-ratio: 1.12 / 1; }
.comparison img { position: absolute; width: 200%; max-width: none; height: auto; top: 50%; transform: translateY(-50%); }
.comparison-after { left: -100%; }
.comparison-before { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 50% 0 0); }
.comparison-before img { left: 0; }
.comparison::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), transparent 32%); pointer-events: none; }
.comparison-label { position: absolute; z-index: 3; bottom: 1rem; padding: .38rem .62rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(6,7,10,.65); backdrop-filter: blur(8px); font: 500 .62rem/1 "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.label-before { left: 1rem; }
.label-after { right: 1rem; }
.comparison-handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: 50%; width: 1px; padding: 0; border: 0; background: rgba(255,255,255,.9); cursor: ew-resize; }
.comparison-handle::after { content: ""; position: absolute; width: 42px; height: 42px; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; background: #f8f8fa; box-shadow: 0 5px 18px rgba(0,0,0,.4); }
.comparison-handle span { position: relative; z-index: 2; top: 50%; color: #0d0e12; font-size: 1.2rem; font-weight: 700; }

.engine-section {
  position: relative;
  padding: 8.5rem max(1.5rem, calc((100vw - var(--max))/2));
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  gap: 6.5rem;
  background: #0e1118;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.engine-section::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -240px; border-radius: 50%; background: var(--violet); filter: blur(150px); opacity: .1; }
.engine-copy, .engine-console { position: relative; z-index: 2; }
.engine-copy h2 { font-size: clamp(2.8rem, 4.4vw, 4.8rem); }
.engine-lede { margin: 1.7rem 0 2.8rem; color: var(--muted); font-size: 1.02rem; }
.engine-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.engine-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.engine-list li > span { color: var(--violet); font: 500 .68rem/1.5 "DM Mono", monospace; }
.engine-list h3 { margin: 0 0 .25rem; font-size: 1rem; letter-spacing: -.02em; }
.engine-list p { margin: 0; color: var(--muted-2); font-size: .83rem; }

.engine-console { align-self: center; border: 1px solid var(--line-strong); background: #080a0f; box-shadow: 0 35px 70px rgba(0,0,0,.3); }
.console-bar, .console-footer { min-height: 46px; padding: 0 .9rem; display: flex; align-items: center; justify-content: space-between; color: var(--muted-2); font: 500 .61rem/1 "DM Mono", monospace; letter-spacing: .08em; }
.console-bar { border-bottom: 1px solid var(--line); }
.console-footer { border-top: 1px solid var(--line); }
.console-footer span:first-child { display: flex; align-items: center; gap: .45rem; color: var(--acid); }
.console-footer i { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); }
.console-image { position: relative; aspect-ratio: 1.6 / 1; overflow: hidden; }
.console-image img { width: 200%; max-width: none; height: auto; position: absolute; left: -100%; top: 50%; transform: translateY(-50%); filter: saturate(.85) contrast(1.05); }
.console-image::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(97,231,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(97,231,255,.08) 1px, transparent 1px); background-size: 42px 42px; }
.scan-line { position: absolute; z-index: 2; top: 0; bottom: 0; left: 59%; width: 1px; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.focus-box { position: absolute; z-index: 3; border: 1px solid var(--acid); }
.focus-box::before, .focus-box::after { content: ""; position: absolute; width: 6px; height: 6px; border-color: var(--acid); }
.focus-a { left: 37%; top: 26%; width: 16%; height: 17%; }
.focus-b { left: 55%; top: 27%; width: 16%; height: 17%; }
.focus-c { left: 45%; top: 47%; width: 21%; height: 24%; border-color: var(--violet); }
.console-readout { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.console-readout > div { position: relative; padding: .85rem .9rem 1.35rem; display: grid; grid-template-columns: 1fr auto; gap: .5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.console-readout span, .console-readout b { font: 500 .61rem/1 "DM Mono", monospace; }
.console-readout span { color: var(--muted-2); }
.console-readout b { color: #dce0e8; }
.console-readout i { position: absolute; left: .9rem; right: .9rem; bottom: .72rem; height: 2px; background: #242833; }
.console-readout i::before { content: ""; display: block; width: var(--level); height: 100%; background: var(--spectrum); }

.how-section { padding-top: 9rem; }
.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.steps li { min-height: 155px; display: grid; grid-template-columns: 70px 1fr auto; gap: 2rem; align-items: center; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.steps li:hover { background: rgba(255,255,255,.018); padding: 0 1rem; }
.steps li > span { color: var(--cyan); font: 500 .72rem/1 "DM Mono", monospace; }
.steps h3 { margin: 0 0 .45rem; font-size: 1.6rem; letter-spacing: -.04em; }
.steps p { margin: 0; color: var(--muted); }
.steps b { color: var(--muted-2); font: 500 .63rem/1 "DM Mono", monospace; letter-spacing: .08em; }

.truth-section {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 8.5rem 0;
  display: grid;
  grid-template-columns: .62fr 1.4fr .28fr;
  gap: 3rem;
  align-items: start;
  border-top: 1px solid var(--line);
}
.truth-section h2 { font-size: clamp(2.7rem, 4.5vw, 4.8rem); }
.truth-section div p { max-width: 690px; margin: 1.6rem 0 0; color: var(--muted); font-size: 1rem; }
.truth-mark { align-self: center; justify-self: end; color: transparent; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; font-size: 8rem; font-weight: 300; line-height: 1; }

.faq-section { padding-top: 8rem; border-top: 1px solid var(--line); }
.faq-heading { grid-template-columns: 1fr; }
.faq-heading > div { max-width: 850px; }
.faq-list { margin-left: 29%; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 1.45rem 0; display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: 1rem; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--acid); font-size: 1.2rem; transition: transform .2s; }
details[open] summary span { transform: rotate(45deg); }
details p { max-width: 720px; margin: -.35rem 3rem 1.4rem 0; color: var(--muted); }

.seo-directory {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 8rem 0;
  border-top: 1px solid var(--line);
}
.seo-directory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 2.2rem; }
.seo-directory-grid a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .45rem 1rem;
  min-height: 142px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: rgba(255,255,255,.02);
  transition: transform .2s, border-color .2s, background .2s;
}
.seo-directory-grid a:hover { transform: translateY(-2px); border-color: var(--cyan); background: rgba(97,231,255,.045); }
.seo-directory-grid strong { font-size: 1.05rem; }
.seo-directory-grid span { color: var(--acid); font: 500 .85rem/1 "DM Mono", monospace; }
.seo-directory-grid small { grid-column: 1 / -1; align-self: end; color: var(--muted); font-size: .78rem; line-height: 1.5; }

.final-cta {
  width: min(calc(100% - 3rem), var(--max));
  margin: 1.5rem auto 7rem;
  min-height: 520px;
  padding: 4.2rem;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(139,124,255,.11), transparent 42%), var(--bg-2);
}
.final-cta::before { content: ""; position: absolute; width: 360px; height: 360px; left: -180px; bottom: -230px; border-radius: 50%; background: var(--cyan); filter: blur(120px); opacity: .12; }
.cta-copy { position: relative; z-index: 2; }
.final-cta h2 { font-size: clamp(3rem, 4.7vw, 5rem); }
.cta-copy > p:not(.eyebrow) { max-width: 470px; margin: 1.5rem 0 2rem; color: var(--muted); }
.cta-gallery { position: relative; height: 360px; }
.cta-gallery div { position: absolute; width: 54%; height: 38%; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: .6rem; box-shadow: 0 22px 50px rgba(0,0,0,.35); background: #111; }
.cta-gallery div:nth-child(1) { right: 2%; top: 0; transform: rotate(2deg); z-index: 5; }
.cta-gallery div:nth-child(2) { left: 1%; top: 7%; transform: rotate(-3deg); z-index: 4; }
.cta-gallery div:nth-child(3) { right: 22%; top: 31%; transform: rotate(1deg); z-index: 3; }
.cta-gallery div:nth-child(4) { left: 0; bottom: 1%; transform: rotate(2deg); z-index: 2; }
.cta-gallery div:nth-child(5) { right: 0; bottom: 0; transform: rotate(-2deg); z-index: 1; }
.cta-gallery img { width: 100%; height: 100%; object-fit: cover; }
.cta-gallery span { position: absolute; left: .7rem; bottom: .6rem; padding: .28rem .45rem; background: rgba(8,9,13,.72); border-radius: .25rem; font: 500 .56rem/1 "DM Mono", monospace; letter-spacing: .08em; }

.site-footer {
  width: min(calc(100% - 3rem), var(--max));
  min-height: 170px;
  margin: 0 auto;
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 1.5rem;
  align-items: start;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: .8rem;
}
.site-footer p { margin: .35rem 0; }
.site-footer > div { display: flex; gap: 1.4rem; }
.site-footer a:hover { color: var(--text); }
.site-footer > small { grid-column: 3; font: 400 .65rem/1.5 "DM Mono", monospace; }

@media (max-width: 1020px) {
  .main-nav { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 3.5rem; padding-top: 4.8rem; }
  .hero-copy { max-width: 800px; }
  .tool-shell { max-width: 760px; width: 100%; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-heading > p { max-width: 680px; }
  .engine-section { grid-template-columns: 1fr; gap: 4rem; }
  .engine-copy { max-width: 800px; }
  .truth-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .truth-mark { justify-self: start; font-size: 5rem; }
  .faq-list { margin-left: 0; }
  .final-cta { grid-template-columns: 1fr; }
  .cta-copy { max-width: 720px; }
  .seo-directory-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .site-header, .hero-inner, .cases-section, .how-section, .faq-section, .truth-section, .seo-directory, .final-cta, .site-footer { width: min(calc(100% - 2rem), var(--max)); }
  .site-header { height: 74px; }
  .main-nav { margin-right: .45rem; }
  .use-cases-menu > summary { min-width: 88px; padding: .55rem .6rem; gap: .5rem; font-size: .76rem; }
  .use-cases-panel { position: fixed; top: 70px; left: 1rem; right: 1rem; width: auto; grid-template-columns: 1fr 1fr; max-height: calc(100vh - 86px); overflow-y: auto; transform: none; }
  .use-cases-panel::before { display: none; }
  .use-cases-panel > div { padding: .6rem; }
  .use-cases-panel > div:nth-child(3) { grid-column: 1 / -1; }
  .auth-controls { min-width: auto; }
  .header-signin { min-width: auto; padding: .55rem .65rem; }
  .header-signin span:last-child { display: none; }
  .account-summary { min-width: 42px; padding: .3rem; grid-template-columns: 32px; }
  .account-summary > span, .account-summary > i { display: none; }
  .profile-menu { position: fixed; top: 70px; right: 1rem; }
  .hero-inner { padding: 4rem 0 4.5rem; }
  h1 { font-size: clamp(3rem, 13.8vw, 4.5rem); }
  .hero-lede { font-size: 1rem; }
  .hero-stats { margin-top: 2.8rem; }
  .hero-stats dd { font-size: .58rem; }
  .tool-card { padding: 1rem; }
  .auth-gate { min-height: 410px; padding: 2rem 1rem; }
  .tool-topline { padding: 0 .8rem; }
  .format-copy { display: none; }
  .drop-zone { min-height: 220px; }
  .mode-picker { grid-template-columns: 1fr 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .result-actions { grid-template-columns: 1fr; }
  .proof-rail > div { justify-content: flex-start; overflow-x: auto; }
  .cases-section, .how-section, .faq-section, .truth-section { padding: 6rem 0; }
  .section-heading h2, .engine-copy h2, .truth-section h2, .final-cta h2 { font-size: 2.8rem; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card-large { grid-column: auto; }
  .case-card > header { align-items: start; flex-direction: column; }
  .case-card header p { text-align: left; }
  .comparison, .comparison-compact { aspect-ratio: 4 / 5; }
  .case-meta { flex-wrap: wrap; }
  .engine-section { padding: 6rem 1rem; }
  .console-readout { grid-template-columns: 1fr; }
  .console-readout > div { border-right: 0; }
  .steps li { grid-template-columns: 45px 1fr; gap: 1rem; padding: 1.2rem 0; }
  .steps li > b { grid-column: 2; }
  .final-cta { margin-bottom: 4rem; padding: 3rem 1.25rem; gap: 2.5rem; }
  .cta-gallery { height: 300px; }
  .cta-gallery div { width: 64%; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > small { grid-column: 1; }
  .seo-directory-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .brand-name { display: none; }
  .site-header { gap: .25rem; }
  .main-nav { margin-left: auto; }
  .use-cases-panel { grid-template-columns: 1fr; }
  .use-cases-panel > div:nth-child(3) { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
