/* FaceCutPro public site. Palette and bracket language come from the logo. */
:root {
  --deep: #070f23;
  --navy: #0b172e;
  --navy-2: #101f3b;
  --navy-3: #1a2942;
  --line: rgba(150, 172, 216, .16);
  --line-2: rgba(150, 172, 216, .28);
  --text: #eef2fa;
  --muted: #aab7cf;
  --dim: #8291ae;
  --orange: #ff580c;
  --orange-hi: #ff8a3d;
  --violet: #9a3cf0;
  --blue: #1e90ff;
  --cyan: #07b7eb;
  --green: #34cd87;
  --spectrum: linear-gradient(90deg, var(--orange), var(--violet) 40%, var(--blue) 72%, var(--green));
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; scrollbar-color: #2a3c5e var(--deep); }
body {
  margin: 0; background: var(--navy); color: var(--text);
  font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--orange); color: var(--deep); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.75rem); font-weight: 700; line-height: 1.12; letter-spacing: -.022em; }
h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
p { text-wrap: pretty; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .8125rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.dim { color: var(--dim); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--orange); color: var(--deep); font-weight: 600; border-radius: 6px; }
.skip:focus { top: 12px; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.ico--line { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Corner brackets (the logo's frame) ---------- */
.corner {
  --c: clamp(30px, 5.6vw, 84px); --t: clamp(4px, .5vw, 7px); --in: clamp(8px, 1.6vw, 24px);
  position: absolute; width: var(--c); height: var(--c); pointer-events: none;
}
.corner--tl { top: var(--in); left: var(--in);
  background: linear-gradient(90deg, var(--orange), var(--orange-hi)) top left / 100% var(--t) no-repeat,
              linear-gradient(180deg, var(--orange), #ff4a1c) top left / var(--t) 100% no-repeat; }
.corner--tr { top: var(--in); right: var(--in);
  background: linear-gradient(90deg, var(--blue), var(--cyan)) top right / 100% var(--t) no-repeat,
              linear-gradient(180deg, var(--cyan), var(--blue)) top right / var(--t) 100% no-repeat; }
.corner--bl { bottom: var(--in); left: var(--in);
  background: linear-gradient(90deg, var(--violet), #6a5cf5) bottom left / 100% var(--t) no-repeat,
              linear-gradient(0deg, var(--violet), #b03de0) bottom left / var(--t) 100% no-repeat; }
.corner--br { bottom: var(--in); right: var(--in);
  background: linear-gradient(90deg, #1fb0c8, var(--green)) bottom right / 100% var(--t) no-repeat,
              linear-gradient(0deg, var(--green), #2bd3a0) bottom right / var(--t) 100% no-repeat; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 0 1.5em; border: 1px solid transparent; border-radius: 6px;
  font: 600 1rem/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: #130a04; box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .8); }
.btn--primary:hover { background: var(--orange-hi); transform: translateY(-2px); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .85); }
.btn--wa { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--wa .ico { color: var(--green); }
.btn--wa:hover { border-color: var(--green); background: rgba(52, 205, 135, .08); transform: translateY(-2px); }
.btn--line { border-color: var(--line-2); color: var(--text); }
.btn--line:hover { border-color: var(--orange); color: #fff; }
.btn--sm { min-height: 42px; padding: 0 1.1em; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn--soon { background: transparent; color: var(--muted); border: 1px dashed var(--line-2); cursor: default; }
.btn--soon em { font-style: normal; margin-left: .35em; padding: .3em .6em; border-radius: 4px; background: rgba(255, 88, 12, .14); color: var(--orange-hi); font-size: .8125rem; font-weight: 600; }
.btn--solid.btn--wa { background: var(--green); border-color: var(--green); color: #04170d; box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .8); }
.btn--solid.btn--wa .ico { color: inherit; }
.btn--solid.btn--wa:hover { background: #55dc9d; border-color: #55dc9d; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 23, 46, .82); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 9px; }
.brand__name { font: 700 1.25rem/1 var(--display); letter-spacing: -.02em; }
.brand__name b { color: var(--orange); font-weight: 700; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--muted); font-size: .9375rem; font-weight: 500; text-decoration: none; padding: 8px 0; transition: color .2s; }
.nav__links a:hover { color: var(--text); }

/* ---------- Portrait frames ---------- */
.shot {
  position: relative; display: block; flex: none; aspect-ratio: 35 / 45; overflow: hidden; border-radius: 3px;
  background: radial-gradient(120% 90% at 50% 30%, color-mix(in srgb, var(--bg) 88%, #fff), var(--bg) 60%, color-mix(in srgb, var(--bg) 82%, #1b2940));
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .8);
}
.shot__person {
  position: absolute; left: -16%; top: -7.8%; width: 132%; height: auto; max-width: none; overflow: visible;
  transform-origin: 50% 38%; filter: drop-shadow(5px 4px 7px rgba(24, 36, 60, .2));
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(44px, 4.4vw, 62px) 0 clamp(56px, 5.6vw, 84px);
  background: radial-gradient(70% 60% at 50% 38%, #1c2a45 0%, var(--navy) 62%, var(--deep) 100%); overflow: hidden; }
.hero__copy { position: relative; }
.hero h1 { text-wrap: normal; font-size: clamp(2.3rem, 4.75vw, 4.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; }
.hero h1 span { display: block; }
.hero h1 .hl { color: var(--orange); }
.lead { max-width: 62ch; margin-top: 20px; color: var(--muted); font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.6; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta--center { justify-content: center; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; color: var(--muted); font-size: .9375rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 6px; height: 6px; background: var(--green); border-radius: 1px; }
.facts .referral-badge { padding: 0 .55rem; border: 1px solid currentColor; border-radius: 99px; }
.facts .referral-badge::before { content: none; }

.strip { position: relative; margin-top: clamp(34px, 3.4vw, 46px); }
.strip__row { --tw: clamp(104px, 11vw, 172px); --tg: clamp(10px, 1.2vw, 18px); position: relative; }
.batch { display: flex; justify-content: center; gap: var(--tg); }
.batch + .batch { position: absolute; inset: 0; }
.batch .shot { width: var(--tw); }

/* Conveyor loop. Three class folders share the twelve slots; each gets an 8s turn of a 24s loop:
   arrive from the right as shot, settle into the crop, get the eye line, leave to the left.
   --b is the batch index, --d the tile's own drift. Batch 0 starts mid-arrival (negative delay),
   so the first paint already shows the uneven portraits. Only transform and opacity move. */
.batch .shot { animation: pass 24s linear calc(var(--b) * 8s - 1.15s + var(--d) * .45) infinite backwards; }
.batch .shot__person, .batch .shot::after { animation: settle 24s var(--ease) calc(var(--b) * 8s - 1.15s + var(--d)) infinite backwards; }
.batch .shot::after {
  content: ""; position: absolute; inset: 5px; opacity: 0; pointer-events: none; animation-name: snap;
  --k: 22% 2px no-repeat; --v: 2px 17% no-repeat;
  background:
    linear-gradient(var(--orange), var(--orange)) top left / var(--k), linear-gradient(var(--orange), var(--orange)) top left / var(--v),
    linear-gradient(var(--cyan), var(--cyan)) top right / var(--k), linear-gradient(var(--cyan), var(--cyan)) top right / var(--v),
    linear-gradient(var(--violet), var(--violet)) bottom left / var(--k), linear-gradient(var(--violet), var(--violet)) bottom left / var(--v),
    linear-gradient(var(--green), var(--green)) bottom right / var(--k), linear-gradient(var(--green), var(--green)) bottom right / var(--v);
}
@keyframes pass {
  0% { opacity: 0; visibility: hidden; transform: translateX(62%); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  3.333% { opacity: 1; visibility: visible; transform: none; }
  31.667% { opacity: 1; visibility: visible; transform: none; animation-timing-function: cubic-bezier(.55, 0, .85, .35); }
  33.75% { opacity: 0; visibility: visible; transform: translateX(-46%); }
  33.8%, 100% { opacity: 0; visibility: hidden; transform: translateX(-46%); }
}
@keyframes settle {
  0%, 11.875% { transform: translate(var(--x), var(--y)) scale(var(--s)) rotate(var(--r)); }
  17.292%, 37.5% { transform: none; }
  37.6%, 100% { transform: translate(var(--x), var(--y)) scale(var(--s)) rotate(var(--r)); }
}
@keyframes snap {
  0%, 12.2% { opacity: 0; transform: scale(.8); }
  13.6% { opacity: 1; }
  16.6% { opacity: 1; transform: none; }
  19%, 100% { opacity: 0; transform: none; }
}
.guide { position: absolute; left: 0; right: 0; pointer-events: none; transform-origin: left center; animation: 8s var(--ease) infinite backwards; }
.guide--eye { top: 43.5%; height: 2px; margin-top: -1px; background: var(--spectrum); box-shadow: 0 0 0 1px rgba(7, 15, 35, .35); animation-name: draw; }
.guide--crown, .guide--chin { height: 0; border-top: 1px dashed rgba(7, 183, 235, .7); animation-name: fade; }
.guide--crown { top: 7.6%; }
.guide--chin { top: 71.3%; }
/* The eye line is drawn from the left, then travels on to the right with the finished batch. */
@keyframes draw {
  0%, 32.5% { transform: scaleX(0); }
  52.5% { transform: none; }
  75% { transform: none; animation-timing-function: cubic-bezier(.55, 0, .85, .35); }
  82.5% { transform: translateX(100.5%); }
  82.6%, 100% { transform: translateX(100.5%) scaleX(0); }
}
@keyframes fade { 0%, 47% { opacity: 0; } 57%, 74% { opacity: 1; } 79%, 100% { opacity: 0; } }
.strip__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 20px; color: var(--muted); }
.strip__meta .aside { margin-left: auto; color: var(--dim); font-size: .875rem; }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 500 .8125rem/1 var(--mono); color: var(--text); }
.tag--eye::before { content: ""; width: 28px; height: 2px; background: var(--spectrum); }
/* Folder tally: the labels swap with the batches, the number is a stepped reel (transform only). */
.tally { display: inline-grid; line-height: 16px; color: var(--text); white-space: nowrap; }
.tally__b { grid-area: 1 / 1; display: flex; align-items: center; gap: .6ch; animation: tally 24s var(--ease) calc(var(--b) * 8s - .9s) infinite backwards; }
.tally__dot { position: relative; width: 7px; height: 7px; margin-right: 2px; border-radius: 50%; background: var(--orange); }
.tally__dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--green); animation: done 24s linear calc(var(--b) * 8s) infinite backwards; }
.tally__n { height: 16px; overflow: hidden; }
.tally__n span { display: block; min-width: 2ch; text-align: right; animation: count 24s steps(var(--t)) calc(var(--b) * 8s) infinite backwards; }
@keyframes tally {
  0% { opacity: 0; transform: translateY(45%); }
  1.6%, 29.5% { opacity: 1; transform: none; }
  31% { opacity: 0; transform: translateY(-45%); }
  100% { opacity: 0; transform: translateY(-45%); }
}
@keyframes count {
  0%, 7.5% { transform: none; }
  18.75%, 100% { transform: translateY(calc(var(--t) * -16px)); }
}
@keyframes done { 0%, 18.75% { opacity: 0; } 19.6%, 100% { opacity: 1; } }

/* ---------- Anatomy ---------- */
section { position: relative; }
.anatomy { background: var(--deep); padding: clamp(72px, 9vw, 132px) 0 clamp(56px, 6vw, 88px); }
.anatomy__in { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 15fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.anatomy__text p { margin-top: 20px; color: var(--muted); max-width: 54ch; }
.ticks { margin-top: 26px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { margin-top: .2em; color: var(--green); }

.bench { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 20px); padding: 30px 92px 34px 0; }
.raw { position: relative; flex: 1; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px;
  background: radial-gradient(90% 90% at 60% 30%, color-mix(in srgb, var(--bg) 86%, #fff), var(--bg) 60%, color-mix(in srgb, var(--bg) 78%, #1b2940));
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .9); }
.raw__person { position: absolute; left: 44%; top: 16%; width: 34%; max-width: none; overflow: visible; transform: rotate(-6deg); transform-origin: 50% 38%; }
.raw__frame { position: absolute; left: 48.1%; top: 19.9%; width: 25.76%; aspect-ratio: 35 / 45; transform: rotate(-6deg); transform-origin: 50% 42.9%;
  border: 1px dashed rgba(11, 23, 46, .6); box-shadow: 0 0 0 999px rgba(7, 15, 35, .14); }
.raw__frame i, .app__crop i { position: absolute; width: 22%; aspect-ratio: 1; border: 0 solid; }
.raw__frame i:nth-child(1), .app__crop i:nth-child(1) { top: -2px; left: -2px; border-width: 3px 0 0 3px; border-color: var(--orange); }
.raw__frame i:nth-child(2), .app__crop i:nth-child(2) { top: -2px; right: -2px; border-width: 3px 3px 0 0; border-color: var(--cyan); }
.raw__frame i:nth-child(3), .app__crop i:nth-child(3) { bottom: -2px; left: -2px; border-width: 0 0 3px 3px; border-color: var(--violet); }
.raw__frame i:nth-child(4), .app__crop i:nth-child(4) { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; border-color: var(--green); }
.chip { position: absolute; padding: 6px 9px; border-radius: 4px; background: var(--deep); color: var(--text); font: 500 .75rem/1 var(--mono); white-space: nowrap; }
.chip--found { left: 6%; top: 9%; }
.chip--found::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--green); }
.raw__name { position: absolute; left: 6%; bottom: 7%; color: #2b3a55; font-size: .75rem; }
.bench__arrow { width: 22px; height: 22px; margin-right: 24px; color: var(--dim); }
.result { position: relative; flex: 0 0 clamp(170px, 15.5vw, 216px); }
.result .shot { width: 100%; border-radius: 2px; }
.mark { position: absolute; left: 0; right: -22px; height: 0; border-top: 1px dashed var(--cyan); }
.mark b { position: absolute; left: 100%; top: -.6em; margin-left: 8px; font: 500 .75rem/1.2 var(--mono); color: var(--muted); white-space: nowrap; }
.mark--crown { top: 7.6%; }
.mark--eye { top: 43.5%; border-top: 2px solid; border-image: var(--spectrum) 1; }
.mark--eye b { color: var(--text); }
.mark--chin { top: 71.3%; }
.dim-x, .dim-y { position: absolute; color: var(--muted); font-size: .75rem; white-space: nowrap; }
.dim-x { left: 0; right: 0; top: -26px; text-align: center; }
.dim-x::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 5px; border: solid var(--line-2); border-width: 0 1px 1px; transform: scaleY(-1); }
.dim-y { left: -14px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
.result__name { position: absolute; left: 0; top: calc(100% + 12px); color: var(--dim); font-size: .75rem; white-space: nowrap; }

/* ---------- Program window ---------- */
.program { padding: clamp(56px, 6vw, 88px) 0 clamp(72px, 9vw, 132px); background: linear-gradient(180deg, var(--deep), var(--navy) 22%); }
.program__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 64px); align-items: end; }
.program__head p { color: var(--muted); }
.app { margin-top: clamp(32px, 4vw, 56px); border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #0d1930;
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .95); font-size: .8125rem; line-height: 1.35; }
.app__bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; background: #091326; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.app__bar img { border-radius: 4px; }
.app__win { margin-left: auto; display: flex; gap: 14px; }
.app__win i { width: 10px; height: 10px; border: 1.5px solid var(--dim); border-radius: 2px; }
.app__win i:first-child { height: 0; border-width: 1.5px 0 0; align-self: center; border-radius: 0; }
.app__win i:last-child { position: relative; border: 0; }
.app__win i:last-child::before, .app__win i:last-child::after { content: ""; position: absolute; left: -1px; right: -1px; top: 4px; height: 1.5px; background: var(--dim); transform: rotate(45deg); }
.app__win i:last-child::after { transform: rotate(-45deg); }
.app__tools { display: flex; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; }
.tool { padding: 7px 11px; border: 1px solid var(--line); border-radius: 5px; background: #132240; color: var(--text); }
.tool--gap { margin-left: 14px; }
.tool--go { margin-left: auto; background: var(--orange); border-color: var(--orange); color: #130a04; font-weight: 600; }
.app__body { display: grid; grid-template-columns: 232px minmax(0, 1fr) 296px; min-height: 580px; }
.app__list { padding: 12px 0; border-right: 1px solid var(--line); background: #0b162b; }
.app__path { padding: 2px 14px 8px; color: var(--dim); font-family: var(--mono); font-size: .75rem; }
.app__dir { display: flex; justify-content: space-between; padding: 7px 14px; color: var(--text); font-weight: 600; }
.app__dir span { color: var(--dim); font-weight: 400; font-family: var(--mono); font-size: .75rem; }
.app__list li { display: flex; align-items: center; gap: 9px; padding: 6px 14px 6px 24px; color: var(--muted); font-family: var(--mono); font-size: .75rem; }
.app__list li em { margin-left: auto; font-style: normal; color: var(--dim); font-family: var(--body); }
.app__list li.is-open { background: rgba(30, 144, 255, .16); color: var(--text); box-shadow: inset 2px 0 var(--blue); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--ok { background: var(--green); } .dot--warn { background: #f2c230; } .dot--bad { background: #f0483e; }
.app__sum { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding: 12px 14px 0; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: .75rem; }
.app__sum .dot { margin-left: 6px; }
.app__canvas { position: relative; display: grid; place-items: center; padding: 22px 16px 44px;
  background: #050b18 conic-gradient(#0a1324 25%, transparent 0 50%, #0a1324 0 75%, transparent 0) 0 0 / 22px 22px; }
.app__photo { position: relative; width: min(62%, 390px); aspect-ratio: 4 / 5; overflow: hidden;
  background: radial-gradient(110% 80% at 50% 30%, color-mix(in srgb, var(--bg) 88%, #fff), var(--bg) 62%, color-mix(in srgb, var(--bg) 80%, #1b2940)); }
.app__person { position: absolute; left: 22%; top: 14%; width: 62%; max-width: none; overflow: visible; }
.app__crop { position: absolute; left: 29.5%; top: 17.8%; width: 47%; aspect-ratio: 35 / 45; border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 0 0 999px rgba(5, 11, 24, .4); }
.app__crop i { width: 18%; }
.g { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed rgba(7, 183, 235, .9); }
.g--crown { top: 7.6%; } .g--chin { top: 71.3%; }
.g--eye { top: 43.5%; border-top: 1.5px solid var(--orange); }
.g--mid { left: 50%; right: auto; top: 0; bottom: 0; height: auto; border-top: 0; border-left: 1px dashed rgba(7, 183, 235, .6); }
.app__status { position: absolute; left: 14px; right: 14px; bottom: 12px; color: var(--dim); font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__panel { padding: 0 0 14px; border-left: 1px solid var(--line); background: #0b162b; }
.app__tabs { display: flex; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.app__tabs span { flex: 1; padding: 11px 4px; text-align: center; color: var(--dim); }
.app__tabs .is-on { color: var(--text); box-shadow: inset 0 -2px var(--orange); }
.app__panel dl { padding: 8px 14px 4px; }
.app__panel dl div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.app__panel dt { color: var(--dim); font-size: .75rem; }
.app__panel dd { margin-top: 3px; color: var(--text); }
.app__check { display: flex; align-items: center; gap: 9px; padding: 10px 14px 0; color: var(--muted); }
.app__check i { position: relative; width: 14px; height: 14px; border-radius: 3px; background: var(--blue); }
.app__check i::after { content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.caption { margin-top: 14px; color: var(--dim); font-size: .875rem; }

.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 96px); margin-top: clamp(40px, 5vw, 72px); }
.feats > div { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.feats .ico { grid-row: span 2; width: 26px; height: 26px; margin-top: 2px; color: var(--cyan); }
.feats dt { font: 700 1.125rem/1.3 var(--display); letter-spacing: -.01em; }
.feats dd { color: var(--muted); max-width: 52ch; }

/* ---------- Steps ---------- */
.steps { padding: clamp(72px, 9vw, 124px) 0; background: var(--navy-2); border-block: 1px solid var(--line); }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(44px, 5vw, 68px); padding-top: 46px; }
.steps__list::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: var(--spectrum); }
.steps__list li { position: relative; }
.steps__n { position: absolute; top: -46px; left: 0; display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--orange); border-radius: 4px; background: var(--navy-2); color: var(--text); font: 700 .9375rem/1 var(--display); }
.steps__list li:nth-child(2) .steps__n { border-color: var(--violet); }
.steps__list li:nth-child(3) .steps__n { border-color: var(--green); }
.steps__list p { margin-top: 10px; color: var(--muted); max-width: 40ch; }
.steps__list p .mono { color: var(--text); padding: 2px 6px; background: rgba(150, 172, 216, .12); border-radius: 4px; white-space: nowrap; }

/* ---------- Price ---------- */
.price { padding: clamp(72px, 9vw, 132px) 0; }
.price__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.price__text { padding-top: clamp(0px, 3vw, 44px); }
.price__text p { margin-top: 20px; color: var(--muted); max-width: 52ch; }
.price__text .price__refund { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .9375rem; }
.price__refund a { color: var(--text); white-space: nowrap; }
.ticket { position: relative; padding: clamp(34px, 4vw, 52px); border-radius: 4px;
  background: radial-gradient(120% 90% at 50% 0%, #223352, var(--navy-3) 55%, #12203a); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9); }
.ticket .corner { --c: 38px; --t: 5px; --in: -2px; }
.ticket__name { color: var(--muted); font-weight: 500; }
.ticket__price { display: flex; align-items: baseline; gap: 12px; margin-top: 6px; }
.ticket__price b { font: 800 clamp(3.5rem, 6.4vw, 5.25rem)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ticket__price span { color: var(--muted); font-size: 1.125rem; font-weight: 500; }
.ticket__note { margin-top: 6px; color: var(--muted); font-size: .9375rem; }
.ticket .ticks { margin: 26px 0 30px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.ticket__fine { margin-top: 14px; text-align: center; color: var(--muted); font-size: .875rem; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(64px, 8vw, 120px) 0; background: var(--deep); }
.faq__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq h2 { position: sticky; top: 104px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font: 700 1.125rem/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--orange), var(--orange)) center / 100% 2px no-repeat, linear-gradient(var(--orange), var(--orange)) center / 2px 100% no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #fff; }
.faq details p { padding: 0 34px 26px 0; color: var(--muted); max-width: 68ch; }
.faq details .mono { color: var(--text); }

/* ---------- Closer ---------- */
.closer { padding: clamp(84px, 11vw, 150px) 0; text-align: center; overflow: hidden;
  background: radial-gradient(60% 70% at 50% 45%, #1e2d4a, var(--navy) 65%, var(--deep)); }
.closer h2 { font-size: clamp(1.9rem, 3.8vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; max-width: 20ch; margin-inline: auto; }
.closer p { margin-top: 18px; color: var(--muted); }
.closer__ver { margin-top: 22px !important; }
.release-notes { white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.foot { background: var(--deep); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .9375rem; }
.foot__in { display: grid; grid-template-columns: minmax(0, 4fr) repeat(2, minmax(0, 2fr)) minmax(0, 2.6fr); gap: 40px clamp(24px, 4vw, 56px); }
.foot__brand p { margin-top: 16px; color: var(--muted); max-width: 34ch; }
.foot__col { display: grid; gap: 10px; align-content: start; }
.foot__col h2 { font: 600 .875rem/1.2 var(--body); letter-spacing: 0; color: var(--dim); margin-bottom: 6px; }
.foot__col a { color: var(--muted); text-decoration: none; width: fit-content; white-space: nowrap; }
.foot__col a:hover { color: var(--text); text-decoration: underline; }
.foot__base { display: flex; align-items: center; gap: 24px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: .875rem; }
.spectrum-rule { flex: 1; max-width: 220px; height: 2px; margin-left: auto; background: var(--spectrum); }

/* ---------- Legal / document pages ---------- */
.doc { padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 128px); background: linear-gradient(180deg, #13223f, var(--navy) 320px); }
.doc__in { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.doc__toc { position: sticky; top: 100px; display: grid; gap: 9px; font-size: .9375rem; }
.doc__toc b { color: var(--dim); font-weight: 600; font-size: .875rem; margin-bottom: 4px; }
.doc__toc a { color: var(--muted); text-decoration: none; }
.doc__toc a:hover { color: var(--text); }
.doc__body { max-width: 72ch; }
.doc h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.doc__meta { margin-top: 14px; color: var(--dim); font-size: .875rem; }
.doc__body h2 { margin-top: 56px; font-size: 1.5rem; letter-spacing: -.015em; scroll-margin-top: 96px; }
.doc__body h3 { margin-top: 28px; }
.doc__body p, .doc__body ul, .doc__body ol, .doc__body table, .doc__body dl { margin-top: 16px; }
.doc__body p, .doc__body li, .doc__body dd { color: #c3cde0; }
.doc__body ul { display: grid; gap: 8px; }
.doc__body ul li { position: relative; padding-left: 22px; }
.doc__body ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 8px; height: 2px; background: var(--orange); }
.doc__body ol { display: grid; gap: 8px; padding-left: 1.4em; list-style: decimal; }
.doc__body strong { color: var(--text); font-weight: 600; }
.doc__body a { color: var(--text); text-decoration-color: var(--orange); }
.doc__body a:hover { color: var(--orange-hi); }
.note { margin-top: 28px; padding: 16px 18px; border: 1px dashed var(--orange); border-radius: 6px; background: rgba(255, 88, 12, .07); color: #ffd9c4; font-size: .9375rem; }
.table { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 6px; }
.table table { width: 100%; margin: 0; border-collapse: collapse; font-size: .9375rem; }
.table th, .table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table th { color: var(--dim); font-weight: 600; font-size: .8125rem; background: rgba(150, 172, 216, .06); white-space: nowrap; }
.table td { color: #c3cde0; }
.table td:first-child { color: var(--text); font-weight: 500; }
.idcard { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 6px; background: rgba(150, 172, 216, .05); }
.idcard dt { color: var(--dim); font-size: .9375rem; }
.idcard dd { color: var(--text); }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.contact a { position: relative; display: grid; gap: 6px; padding: 26px 24px; border: 1px solid var(--line-2); border-radius: 6px; text-decoration: none; background: var(--navy-2); transition: border-color .2s, transform .3s var(--ease); }
.contact a:hover { transform: translateY(-3px); border-color: var(--orange); color: var(--text); }
.contact a:first-child:hover { border-color: var(--green); }
.contact .ico { width: 28px; height: 28px; color: var(--orange-hi); margin-bottom: 8px; }
.contact a:first-child .ico { color: var(--green); }
.contact b { font: 700 1.25rem/1.3 var(--display); color: var(--text); overflow-wrap: anywhere; }
.contact span { color: var(--muted); font-size: .9375rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .anatomy__in, .program__head, .price__in, .faq__in, .doc__in { grid-template-columns: minmax(0, 1fr); }
  .faq h2, .doc__toc { position: static; }
  .doc__toc { grid-auto-flow: row; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .app__body { grid-template-columns: minmax(0, 1fr) 264px; min-height: 460px; }
  .app__list { display: none; }
  .foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav__links, .doc__toc { display: none; }
  .nav__in { justify-content: space-between; height: 60px; }
  .cta .btn { flex: 1 1 100%; }
  .price__text { padding-top: 0; }
  .cta .btn--soon { flex: 1 1 calc(50% - 6px); min-width: 0; padding: 0 .4em; gap: .45em; font-size: .9375rem; }
  .btn--soon .opt { display: none; }
  .hero h1 { font-size: clamp(1.7rem, 7.7vw, 2.9rem); }
  .strip__meta .aside { margin-left: 0; }
  .bench { flex-direction: column; align-items: stretch; padding: 0 0 34px; gap: 14px; }
  .bench__arrow { align-self: center; transform: rotate(90deg); }
  .raw { flex: none; }
  .result { flex: none; width: 48%; margin: 22px 0 0 26px; }
  .app__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app__panel { border-left: 0; border-top: 1px solid var(--line); }
  .app__photo { width: min(58%, 220px); }
  .tool:nth-child(n+2):not(.tool--go) { display: none; }
  .tool--go { margin-left: auto; overflow: hidden; text-overflow: ellipsis; }
  .app__bar span:not(.app__win) { overflow: hidden; text-overflow: ellipsis; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .steps__list { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 58px; gap: 36px; }
  .steps__list::before { left: 17px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--orange), var(--violet) 40%, var(--blue) 72%, var(--green)); }
  .steps__n { top: -4px; left: -58px; }
  .faq details p { padding-right: 0; }
  .foot__in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot__base { flex-wrap: wrap; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .idcard { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .idcard dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .batch .shot, .batch .shot__person, .batch .shot::after, .guide, .tally__b, .tally__dot::after { animation: none; }
  .batch + .batch, .tally__b + .tally__b { display: none; }
  .tally__n span { animation: none; transform: translateY(calc(var(--t) * -16px)); }
  /* Without motion the strip still reads before -> after: the first tiles stay as shot. */
  .batch .shot:nth-child(-n+5) .shot__person { transform: translate(var(--x), var(--y)) scale(var(--s)) rotate(var(--r)); }
  .strip__row .guide { left: calc(50% - var(--tw) - var(--tg) / 2); }
  .btn, .contact a { transition: none; }
}
