/* ==========================================================================
   SiteUnhack — “Watch it get cleaned” system
   Warm pastels · Fraunces + Archivo + Space Mono · corrupted-light intro
   ========================================================================== */

:root {
  --paper:   #FAF6EE;
  --card:    #FFFDF7;
  --ink:     #17201A;
  --ink-70:  rgba(23, 32, 26, .72);
  --ink-50:  rgba(23, 32, 26, .5);
  --ink-30:  rgba(23, 32, 26, .3);
  --line:    rgba(23, 32, 26, .14);
  --line-2:  rgba(23, 32, 26, .34);
  --coral:   #E8502B;
  --coral-d: #C93F1E;
  --mint:    #DCEBDF;
  --mint-deep: #3E6B52;
  --peach:   #F7E1CC;
  --butter:  #F5EBCB;
  --amber:   #FFD447;
  --term:    #131A15;

  --font-g: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-d: "Fraunces", Georgia, serif;
  --font-m: "Space Mono", "SFMono-Regular", Menlo, monospace;

  --pad-x: clamp(20px, 5vw, 72px);
  --max: 1340px;

  --ease:  cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --shadow: 7px 7px 0 rgba(23, 32, 26, .08);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  font-family: var(--font-g);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--coral); color: var(--paper); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 2px; }
section[id] { scroll-margin-top: 72px; }

/* ---------- page frame ---------- */
.page { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); position: relative; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* ---------- shared bits ---------- */
.mono-label {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-70);
}
.mono-label--ink { color: var(--ink); }
.tick { width: 8px; height: 8px; background: var(--coral); flex: none; }

.serif { font-family: var(--font-d); font-style: italic; font-weight: 480; color: var(--coral); letter-spacing: 0; padding-right: .04em; }
.serif--butter { color: var(--butter); }

.icon { flex: none; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 16px 24px; border-radius: 14px;
  border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink);
  box-shadow: 4px 4px 0 rgba(23, 32, 26, .85);
  white-space: nowrap; cursor: pointer;
  transition: transform .3s var(--spring), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 rgba(23, 32, 26, .85); }
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 rgba(23, 32, 26, .85); }
.btn__arrow { font-style: normal; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--solid { background: var(--coral); color: var(--paper); }
.btn--solid:hover { background: var(--coral-d); }
.btn--outline { background: var(--card); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--ink); color: var(--paper); }

.link-underline {
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding-bottom: 4px; display: inline-flex; align-items: center; gap: 8px;
  background-image: linear-gradient(var(--coral), var(--coral));
  background-repeat: no-repeat; background-size: 100% 1.5px; background-position: 0 100%;
  transition: background-size .35s var(--ease), color .3s var(--ease);
}
.link-underline:hover { background-size: 38% 1.5px; color: var(--coral); }
.link-underline--ink { color: var(--ink); background-image: linear-gradient(var(--ink), var(--ink)); }
.link-underline--ink:hover { color: var(--coral); background-image: linear-gradient(var(--coral), var(--coral)); }

.replay {
  font-family: var(--font-m); font-size: 10.5px; font-weight: 700;
  letter-spacing: .08em; color: var(--coral); text-transform: uppercase;
  padding: 2px 0; border-bottom: 1px solid transparent; transition: border-color .25s;
  align-self: flex-end;
}
.replay:hover { border-color: var(--coral); }

/* ---------- hand-drawn scribbles ---------- */
.scribble { position: absolute; pointer-events: none; overflow: visible; }
.scribble path {
  fill: none; stroke: var(--coral); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.scribble--strike { left: -6%; top: 42%; width: 112%; height: .34em; }
.scribble--under { left: 2%; right: 2%; bottom: -.26em; width: 96%; height: .32em; }
.scribble--under path { stroke-width: 4.5; }
.hero__line.in .scribble--strike path { stroke-dashoffset: 0; transition: stroke-dashoffset .5s var(--ease) .55s; }
.approach__inner.in .scribble--under path { stroke-dashoffset: 0; transition: stroke-dashoffset .8s var(--ease) .45s; }

/* ---------- system status bar ---------- */
.sysbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 42px; padding: 0 var(--pad-x);
  background: var(--paper); border-bottom: 1.5px solid var(--line-2);
}
.sysbar__left, .sysbar__status {
  font-family: var(--font-m); font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-70);
  white-space: nowrap; display: flex; align-items: center; gap: 10px;
}
.sysbar__status { margin-left: auto; }
.sysbar__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--mint-deep); }
.sysbar__threats { color: var(--coral); display: none; }
.sysbar__meter { width: 56px; height: 7px; border: 1px solid var(--line-2); padding: 1px; display: inline-block; }
.sysbar__meter i { display: block; height: 100%; width: 12%; background: var(--coral); transition: width .25s var(--ease); }
.sysbar__pct { transition: color .3s; }
.sysbar.is-clear .sysbar__pct { color: var(--mint-deep); }
.sysbar.is-clear .sysbar__meter i { background: var(--mint-deep); }
.sysbar__fill {
  position: absolute; left: 0; bottom: -1.5px; height: 1.5px; width: 12%;
  background: var(--coral); transition: width .25s var(--ease), background .3s;
}
.sysbar.is-clear .sysbar__fill { background: var(--mint-deep); }

/* ==========================================================================
   CORRUPTED STATE — every overlay below only exists while html.is-hacked
   ========================================================================== */

/* scanlines / CRT dread */
.scanlines {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; display: none;
  background: repeating-linear-gradient(0deg, rgba(23, 32, 26, .05) 0 1px, transparent 1px 4px);
  transition: opacity .6s var(--ease);
}
.scanlines::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 170px rgba(232, 80, 43, .16), inset 0 0 40px rgba(232, 80, 43, .06);
}
.scanlines__sweep {
  position: absolute; left: 0; right: 0; top: -34vh; height: 30vh;
  background: linear-gradient(180deg, transparent, rgba(232, 80, 43, .12) 60%, rgba(232, 80, 43, .3));
  border-bottom: 1.5px solid rgba(232, 80, 43, .5);
  animation: sweepY 2.3s linear infinite;
}
@keyframes sweepY { to { transform: translateY(165vh); } }
@keyframes flick { 0%, 100% { opacity: .78; } 50% { opacity: 1; } }

/* breach tint — coats the whole screen in “something is wrong” */
.breach {
  position: fixed; inset: 0; z-index: 55; pointer-events: none;
  display: none; transition: opacity .5s var(--ease);
}
.breach::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(232, 80, 43, .12), transparent 24%, transparent 76%, rgba(232, 80, 43, .14)),
    repeating-linear-gradient(0deg, transparent 0 92px, rgba(232, 80, 43, .07) 92px 98px);
  animation: breachFlicker .6s steps(3) infinite;
}
.breach::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 92% at 50% 48%, transparent 58%, rgba(232, 80, 43, .16));
}
@keyframes breachFlicker { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
html.is-hacked .breach { display: block; }
html.is-hacked .breach.out { opacity: 0; }

/* spam ticker walls */
.ticker {
  position: fixed; left: 0; right: 0; z-index: 68; display: none;
  overflow: hidden; border-block: 1.5px solid var(--ink);
}
.ticker--top { top: 42px; background: var(--coral); }
.ticker--bottom { bottom: 0; background: var(--ink); }
.ticker--top::before, .ticker--top::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 42px; z-index: 1;
  background: repeating-linear-gradient(45deg, var(--ink) 0 8px, var(--amber) 8px 16px);
}
.ticker--top::before { left: 0; }
.ticker--top::after { right: 0; }
.ticker__track { display: flex; width: max-content; animation: tickerScroll 16s linear infinite; }
.ticker--bottom .ticker__track { animation-direction: reverse; animation-duration: 19s; }
.ticker__group { display: flex; align-items: center; gap: 24px; padding: 9px 24px 9px 0; }
.ticker__group:first-child { padding-left: 54px; }
.ticker__group span {
  font-family: var(--font-m); font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.ticker--top .ticker__group span { color: var(--paper); }
.ticker--top .ticker__group i { color: var(--amber); font-style: normal; font-size: 10px; }
.ticker--bottom .ticker__group span { color: var(--amber); }
.ticker--bottom .ticker__group i { color: var(--coral); font-style: normal; font-size: 10px; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }
html.is-hacked .ticker { display: block; }
.ticker--top.closing { transform: translateY(-170%); transition: transform .45s var(--ease); }
.ticker--bottom.closing { transform: translateY(170%); transition: transform .45s var(--ease); }
html.is-hacked.purging .page { animation: pageJolt .28s steps(3); }
@keyframes pageJolt {
  0% { transform: translate(0, 0); }
  30% { transform: translate(-3px, 1px); }
  60% { transform: translate(2px, -2px); }
  100% { transform: translate(0, 0); }
}

/* defacement stamp */
.deface {
  position: fixed; left: 50%; top: 40%; z-index: 69; display: none;
  transform: translate(-50%, -50%) rotate(-7deg);
  text-align: center; padding: 20px 46px;
  border: 4px solid var(--coral); background: rgba(250, 246, 238, .88);
  box-shadow: 0 0 0 3px rgba(232, 80, 43, .22), 10px 12px 0 rgba(23, 32, 26, .14);
  pointer-events: none;
}
.deface::after { content: ""; position: absolute; inset: 7px; border: 2px solid var(--coral); }
.deface__big {
  font-weight: 900; font-size: clamp(24px, 4vw, 48px); line-height: 1;
  letter-spacing: .2em; text-indent: .2em; text-transform: uppercase; color: var(--coral);
}
.deface__sub {
  margin-top: 11px; font-family: var(--font-m); font-size: 10px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--coral-d);
}
html.is-hacked .deface { display: block; animation: stampPulse 1s ease-in-out infinite; }
html.is-hacked .deface.cut { animation: defaceCut .45s steps(4) forwards; }
@keyframes stampPulse { 50% { transform: translate(-50%, -50%) rotate(-7deg) scale(1.025); } }
@keyframes defaceCut {
  0% { opacity: 1; }
  40% { opacity: .25; transform: translate(-50%, -50%) rotate(-7deg) skewX(9deg) scale(1.06); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(-7deg) scale(.78); }
}

/* threat scanner window */
.scanner {
  position: fixed; right: clamp(16px, 3vw, 44px); top: 50%; z-index: 72;
  width: min(392px, 86vw); display: none;
  transform: translateY(-50%);
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 16px;
  overflow: hidden; pointer-events: none;
  box-shadow: 8px 8px 0 rgba(23, 32, 26, .28);
  transition: transform .4s var(--spring), opacity .35s var(--ease);
}
.scanner__bar {
  display: flex; align-items: center; gap: 8px;
  background: var(--coral); color: var(--paper);
  padding: 11px 15px; border-bottom: 1.5px solid var(--ink);
  transition: background .4s;
}
.scanner__dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(250, 246, 238, .85); }
.scanner__title {
  margin-left: 4px; font-family: var(--font-m); font-size: 10px;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  animation: bannerPulse 1.2s steps(2) infinite;
}
.scanner__chip {
  margin-left: auto; font-family: var(--font-m); font-size: 9px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: var(--amber);
  padding: 4px 10px; border-radius: 999px; transition: background .3s, color .3s;
}
.scanner .chip-clear { display: none; }
.scanner.cleared .chip-threat { display: none; }
.scanner.cleared .chip-clear { display: inline; }
.scanner__body { padding: 16px 18px 14px; }
.scanner__lede { font-family: var(--font-m); font-size: 10.5px; color: var(--ink-70); margin-bottom: 10px; }
.scanner .lede-clear { display: none; }
.scanner.cleared .lede-threat { display: none; }
.scanner.cleared .lede-clear { display: inline; }
.scanner__meter {
  height: 6px; border-radius: 999px; overflow: hidden;
  background: rgba(23, 32, 26, .1); margin-bottom: 12px;
}
.scanner__meter i {
  display: block; height: 100%; width: 30%; border-radius: 999px;
  background: var(--coral); animation: scanPulse .9s ease-in-out infinite alternate;
}
@keyframes scanPulse { from { width: 16%; } to { width: 46%; } }
.scanner.clearing .scanner__meter i { animation: none; width: 100%; transition: width 1.5s var(--ease); }
.scanner__list li {
  display: flex; align-items: center; gap: 9px; padding: 7px 0;
  border-top: 1.5px dashed var(--line);
  font-family: var(--font-m); font-size: 11.5px;
}
.scanner__x { color: var(--coral); font-weight: 700; font-size: 10px; }
.scanner__file { flex: 1; color: var(--ink); transition: opacity .25s; }
.scanner__state {
  font-family: var(--font-m); font-size: 8.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--mint); color: var(--mint-deep);
  padding: 2px 7px; border-radius: 999px;
  opacity: 0; transform: scale(.7); transition: opacity .25s, transform .25s var(--spring);
}
.scanner__list li.dead .scanner__file {
  text-decoration: line-through; text-decoration-color: var(--coral);
  text-decoration-thickness: 1.5px; opacity: .45;
}
.scanner__list li.dead .scanner__state { opacity: 1; transform: none; }
.scanner__foot { margin-top: 12px; font-family: var(--font-m); font-size: 9px; letter-spacing: .06em; color: var(--ink-50); }
.scanner.cleared .scanner__bar { background: var(--mint-deep); }
.scanner.cleared .scanner__chip { background: var(--paper); color: var(--mint-deep); }
.scanner.closing { opacity: 0; transform: translateY(-50%) scale(.92); }
html.is-hacked .scanner { display: block; }

/* purge sweep — the cleanup passes through the screen */
.sweep {
  position: fixed; top: 0; bottom: 0; left: 0; width: 170px; z-index: 66;
  pointer-events: none; display: none;
  background: linear-gradient(90deg, transparent 0%, rgba(232, 80, 43, .05) 45%, rgba(232, 80, 43, .2) 84%, rgba(232, 80, 43, .55) 100%);
  border-right: 2px solid var(--coral);
  transform: translateX(-24vw); opacity: 0;
}
html.is-hacked .sweep { display: block; }
.sweep.run { opacity: 1; animation: sweepAcross 1.1s var(--ease) forwards; }
@keyframes sweepAcross {
  from { transform: translateX(-24vw); }
  to { transform: translateX(116vw); }
}

/* skip button */
.skip-clean {
  position: fixed; top: 90px; right: 20px; z-index: 90; display: none;
  font-family: var(--font-m); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--coral);
  background: var(--paper); border: 1.5px solid var(--coral); border-radius: 999px;
  padding: 9px 16px; cursor: pointer;
  box-shadow: 3px 3px 0 rgba(232, 80, 43, .4);
  transition: background .25s, color .25s;
}
.skip-clean:hover { background: var(--coral); color: var(--paper); }

/* cleanup console */
.console {
  position: fixed; left: 24px; bottom: 56px; z-index: 75; display: none;
  width: 350px; background: var(--term); color: #BFE3CC;
  border: 1.5px solid var(--ink); border-radius: 14px;
  box-shadow: 6px 6px 0 rgba(23, 32, 26, .3);
  padding: 14px 18px 16px; transition: opacity .4s var(--ease);
  pointer-events: none;
}
.console__head {
  font-family: var(--font-m); font-size: 9.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(250, 246, 238, .5);
  border-bottom: 1.5px dashed rgba(250, 246, 238, .16);
  padding-bottom: 9px; margin-bottom: 10px;
}
.console__lines p {
  font-family: var(--font-m); font-size: 11.5px; line-height: 1.95;
  animation: lineIn .3s var(--ease) both;
}
.console__lines .l-warn { color: var(--amber); }
.console__lines .l-ok { color: #A9E6C1; font-weight: 700; }
.console__cursor {
  font-family: var(--font-m); font-size: 11.5px; color: #A9E6C1;
  animation: blink 1s steps(2) infinite;
}
.console.out { opacity: 0; }
@keyframes lineIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* seal */
.seal {
  position: fixed; left: 50%; top: 40%; z-index: 80; pointer-events: none;
  transform: translate(-50%, -50%) rotate(-16deg) scale(1.7);
  background: rgba(220, 235, 223, .97); border: 3px solid var(--ink); border-radius: 18px;
  padding: 26px 44px; text-align: center; white-space: nowrap;
  box-shadow: 12px 14px 0 rgba(23, 32, 26, .16);
  opacity: 0; transition: transform .45s var(--spring), opacity .25s var(--ease);
}
.seal::after { content: ""; position: absolute; inset: 7px; border: 1.5px solid var(--ink); border-radius: 12px; }
.seal__big { font-weight: 900; font-size: clamp(20px, 3.4vw, 31px); letter-spacing: .02em; }
.seal__sub {
  font-family: var(--font-m); font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-70); margin-top: 8px;
}
.seal.show { opacity: 1; transform: translate(-50%, -50%) rotate(-7deg) scale(1); }
.seal.out { opacity: 0; transform: translate(-50%, -50%) rotate(-7deg) scale(1.06); }

/* ------- hacked-state wiring (must come AFTER base hero rules) ------- */
html.is-hacked .scanlines { display: block; animation: flick .3s steps(2) infinite; }
html.is-hacked .scanlines.out { animation: none; opacity: 0; }
html.is-hacked .skip-clean { display: block; }
html.is-hacked .console { display: block; }
html.is-hacked .sysbar__threats { display: inline-flex; animation: blink 1s steps(2) infinite; }
html.is-hacked .sysbar__scan { display: none; }
html.is-hacked .sysbar__dot { background: var(--coral); animation: blink 1s steps(2) infinite; }
html.is-hacked .sysbar__fill { width: 31% !important; background: var(--coral); animation: bannerPulse 1s steps(2) infinite; }
html.is-hacked .brand__cross { transform: rotate(45deg); }
html.is-hacked .brand__mark svg { animation: brandJolt .5s steps(2) infinite; }
@keyframes brandJolt { 0%, 100% { transform: none; } 50% { transform: translate(1px, -1px); } }
@keyframes bannerPulse { 0%, 100% { opacity: 1; } 50% { opacity: .72; } }

/* title: visible while hacked, glitching only while the class says so */
html.is-hacked .hero__line {
  opacity: 1; translate: none; transition: none;
}
html.is-hacked .hero__title.glitching .hero__line { animation: jitter .34s steps(2) infinite; }
html.is-hacked .hero__title.glitching .hero__line:nth-child(2) { animation-duration: .43s; }
html.is-hacked .hero__title.glitching {
  text-shadow: 3px 0 rgba(232, 80, 43, .55), -3px 0 rgba(23, 32, 26, .3);
  transition: text-shadow .4s var(--ease);
}
@keyframes jitter {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-1.5px, 1px) skewX(.4deg); }
  50% { transform: translate(1px, -1px); }
  75% { transform: translate(-1px, -1.5px) skewX(-.5deg); }
  100% { transform: translate(0, 0); }
}

/* ==========================================================================
   MASTHEAD / NAV
   ========================================================================== */
.masthead {
  display: flex; align-items: center; gap: 30px;
  padding-block: 22px; border-bottom: 1.5px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { display: block; }
.brand__cross { transform-origin: 16px 16px; transition: transform .5s var(--spring); }
.brand__word { font-weight: 800; font-size: 21px; letter-spacing: -.01em; }
.brand__word b { color: var(--coral); font-weight: 900; }
.nav { margin-left: auto; display: flex; gap: 28px; }
.nav a {
  font-weight: 600; font-size: 13.5px; position: relative; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--coral); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.nav-toggle {
  display: none; width: 42px; height: 42px; margin-left: auto;
  border: 1.5px solid var(--line-2); border-radius: 12px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 42px; left: 0; right: 0; z-index: 95;
  background: var(--paper); border-bottom: 1.5px solid var(--line-2);
  padding: 6px var(--pad-x) 22px; display: none; flex-direction: column;
  opacity: 0; transform: translateY(-10px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mobile-nav.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a { padding: 15px 0; border-bottom: 1.5px solid var(--line); font-weight: 600; font-size: 15px; }
.mobile-nav__cta {
  font-family: var(--font-m); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--coral); border: 0;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding-top: clamp(34px, 6vh, 64px); padding-bottom: clamp(44px, 7vh, 84px); }
.edgenote {
  position: absolute; left: 13px; top: 42%;
  writing-mode: vertical-rl; transform: rotate(180deg) translateY(50%);
  font-family: var(--font-m); font-size: 9.5px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--ink-30);
}
.edgenote--light { color: rgba(250, 246, 238, .55); }

.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(46% 52% at 85% 10%, rgba(220, 235, 223, .8), transparent 70%),
    radial-gradient(40% 46% at 6% 88%, rgba(247, 225, 204, .8), transparent 70%),
    radial-gradient(30% 32% at 68% 78%, rgba(245, 235, 203, .6), transparent 70%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(23, 32, 26, .13) 1.2px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 62%);
          mask-image: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent 62%);
}

.hero__meta {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  border-bottom: 1.5px solid var(--line-2); padding-bottom: 16px;
}
.hero__meta-right {
  margin-left: auto;
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  font-family: var(--font-m); font-size: 10.5px; letter-spacing: .06em;
  color: var(--ink-70); text-align: right; text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-d); font-weight: 500; font-optical-sizing: auto;
  font-size: clamp(52px, 8.6vw, 124px); line-height: .98; letter-spacing: -.02em;
  margin-top: clamp(26px, 4vh, 46px);
}
.hero__line { display: block; }
html.js .hero__line {
  opacity: 0; translate: 0 36px;
  transition: opacity .8s var(--ease), translate .8s var(--ease);
}
html.js .hero__line:nth-child(2) { transition-delay: .09s; }
html.js .hero__line.in { opacity: 1; translate: none; }
.strike-word { position: relative; display: inline-block; }

.hero__lower {
  margin-top: clamp(36px, 5vh, 64px);
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 5vw, 80px); align-items: start;
}
.hero__lede { font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.62; color: var(--ink-70); max-width: 46ch; }
.hero__actions { margin-top: 28px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__note {
  margin-top: 20px; display: flex; align-items: center; gap: 9px;
  font-family: var(--font-m); font-size: 11px; letter-spacing: .04em; color: var(--ink-50);
}
.hero__steps { margin-top: 36px; display: flex; flex-wrap: wrap; }
.hero__steps li { display: flex; align-items: baseline; gap: 10px; padding: 0 18px; border-left: 1.5px solid var(--line-2); }
.hero__steps li:first-child { padding-left: 0; border-left: 0; }
.hero__step-no { font-family: var(--font-m); font-size: 11px; font-weight: 700; color: var(--coral); }
.hero__step-label { font-weight: 600; font-size: 13.5px; color: var(--ink-70); }

/* ---------- symptom index ---------- */
.signs {
  position: relative; overflow: hidden;
  background: var(--card); border: 1.5px solid var(--line-2); border-radius: 24px;
  padding: 28px 30px 26px; box-shadow: var(--shadow);
  transform: rotate(.35deg);
}
.signs__sweep {
  position: absolute; left: 0; right: 0; top: 0; height: 26%; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(62, 107, 82, .22), transparent);
  pointer-events: none;
}
.signs.swept .signs__sweep { animation: sweepDown 1.5s var(--ease) .35s 1 both; }
@keyframes sweepDown {
  0% { opacity: 1; transform: translateY(-110%); }
  100% { opacity: 1; transform: translateY(430%); }
}
.signs__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.signs__folio { font-family: var(--font-m); font-size: 9.5px; font-weight: 700; letter-spacing: .18em; color: var(--ink-50); }
.signs__title { font-family: var(--font-d); font-weight: 500; font-size: clamp(25px, 2.3vw, 31px); line-height: 1.1; margin-bottom: 8px; }
.signs__sub { font-size: 13.5px; color: var(--ink-70); margin-bottom: 18px; }
.sign { border-top: 1.5px solid var(--line); }
.sign__btn {
  width: 100%; display: grid; grid-template-columns: auto auto 1fr auto;
  align-items: center; gap: 13px; padding: 16px 2px; text-align: left;
}
.sign__no { font-family: var(--font-m); font-size: 10.5px; font-weight: 700; color: var(--ink-50); }
.sign__icon { color: var(--ink-70); }
.sign__name { font-weight: 600; font-size: 15.5px; }
.sign__plus { position: relative; width: 15px; height: 15px; flex: none; }
.sign__plus::before, .sign__plus::after {
  content: ""; position: absolute; background: var(--ink); transition: transform .35s var(--ease), background .3s;
}
.sign__plus::before { left: 0; right: 0; top: 6.75px; height: 1.5px; }
.sign__plus::after { top: 0; bottom: 0; left: 6.75px; width: 1.5px; transition: transform .35s var(--ease), background .3s; }
.sign.open .sign__plus::after { transform: scaleY(0); }
.sign.open .sign__plus::before { background: var(--coral); }
.sign__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.sign.open .sign__body { grid-template-rows: 1fr; }
.sign__body > div, .sign__body p { overflow: hidden; min-height: 0; }
.sign__body p { padding: 0 2px 0 46px; font-size: 14px; color: var(--ink-70); transition: padding-bottom .45s var(--ease); }
.sign.open .sign__body p { padding-bottom: 16px; }
.signs__foot {
  margin-top: 20px; font-family: var(--font-m); font-size: 10.5px;
  line-height: 1.75; color: var(--ink-50);
}
.signs__foot span { color: var(--ink); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* ==========================================================================
   STACK MARQUEE
   ========================================================================== */
.stackband {
  border-block: 1.5px solid var(--line-2); background: var(--butter);
  overflow: hidden; padding-block: 15px;
}
.stackband__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.stackband:hover .stackband__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.stackband__group { display: flex; align-items: center; gap: 38px; padding-right: 38px; }
.stackband__group li {
  display: flex; align-items: center; font-weight: 800; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.stackband__group li::after { content: "✳"; margin-left: 38px; color: var(--coral); font-size: 12px; }
.stackband__lead { color: var(--coral) !important; font-weight: 900; }

/* ==========================================================================
   SECTION HEADS
   ========================================================================== */
.section { position: relative; }
.section__head {
  display: grid; grid-template-columns: minmax(150px, 210px) 1fr minmax(240px, 330px);
  gap: clamp(28px, 4vw, 56px); align-items: end;
  margin-block: clamp(56px, 9vh, 96px) clamp(36px, 6vh, 56px);
}
.section__no-block { display: flex; flex-direction: column; gap: 16px; }
.section__no {
  font-family: var(--font-d); font-style: italic; font-weight: 600;
  font-size: clamp(64px, 7vw, 104px); line-height: .8;
  color: rgba(23, 32, 26, .18);
}
@supports (-webkit-text-stroke: 1px black) {
  .section__no { color: transparent; -webkit-text-stroke: 1.5px rgba(23, 32, 26, .42); }
}
.section__tag {
  font-family: var(--font-m); font-size: 10.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-70);
  display: flex; align-items: center; gap: 10px;
}
.section__tag::before { content: ""; width: 8px; height: 8px; background: var(--coral); flex: none; }
.section__title {
  font-family: var(--font-d); font-weight: 500;
  font-size: clamp(36px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.015em;
}
.section__aside {
  font-size: 15px; color: var(--ink-70);
  border-left: 1.5px solid var(--line-2); padding-left: 20px;
  margin-bottom: 8px;
}
.section__no-block--light .section__tag { color: rgba(250, 246, 238, .85); }
.section__no-block--light .section__tag::before { background: var(--butter); }
.section__no-block--light .section__no { color: rgba(250, 246, 238, .35); -webkit-text-stroke: 0; }

/* ==========================================================================
   PLANS
   ========================================================================== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1.5px solid var(--line-2); border-radius: 26px;
  padding: 32px 30px; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plan:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 rgba(23, 32, 26, .1); }
.plan__pill {
  align-self: flex-start; margin-bottom: 20px;
  font-family: var(--font-m); font-size: 9.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  background: var(--mint); color: var(--ink); border-radius: 999px; padding: 6px 12px;
}
.plan__no {
  position: absolute; top: 32px; right: 28px;
  font-family: var(--font-m); font-size: 9.5px; letter-spacing: .1em; color: var(--ink-30);
}
.plan__name { font-family: var(--font-d); font-weight: 560; font-size: 30px; margin-bottom: 10px; letter-spacing: -.01em; }
.plan__desc { font-size: 14.5px; color: var(--ink-70); margin-bottom: 24px; }
.plan__price { font-family: var(--font-d); font-weight: 600; font-size: 58px; line-height: .95; }
.plan__currency { font-size: .42em; font-style: italic; font-weight: 500; vertical-align: .62em; margin-right: 4px; color: var(--coral); }
.plan__price--scope { font-size: 42px; }
.plan__price-note { font-family: var(--font-m); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-50); margin: 10px 0 22px; }
.plan__list { display: flex; flex-direction: column; }
.plan__list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-top: 1.5px dashed var(--line); font-size: 14.5px;
}
.plan__list li::before {
  content: "✓"; flex: none; width: 18px; height: 18px; margin-top: 2px;
  background: var(--mint); border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-m); font-size: 10px; font-weight: 700;
}
.plan__btn { margin-top: 26px; width: 100%; justify-content: center; }

.plan--feature {
  background: var(--coral); color: var(--paper); border-color: var(--ink);
  box-shadow: 8px 8px 0 rgba(23, 32, 26, .3); transform: rotate(-.5deg);
}
.plan--feature:hover { transform: rotate(-.5deg) translate(-3px, -3px); box-shadow: 12px 12px 0 rgba(23, 32, 26, .32); }
.plan--feature .plan__pill { background: var(--paper); }
.plan--feature .plan__no { color: rgba(250, 246, 238, .55); }
.plan--feature .plan__desc { color: rgba(250, 246, 238, .85); }
.plan--feature .plan__currency { color: var(--butter); }
.plan--feature .plan__price-note { color: rgba(250, 246, 238, .65); }
.plan--feature .plan__list li { border-top-color: rgba(250, 246, 238, .32); }
.plan--feature .plan__list li::before { background: rgba(250, 246, 238, .22); }
.plan__badge {
  position: absolute; top: -14px; right: 26px; z-index: 1;
  background: var(--amber); border: 1.5px solid var(--ink); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink); padding: 7px 13px;
  font-family: var(--font-m); font-size: 9.5px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; transform: rotate(3deg);
  transition: transform .3s var(--spring);
}
.plan--feature:hover .plan__badge { transform: rotate(-2deg) translateY(-2px); }
.plans__foot { margin-top: 30px; font-family: var(--font-m); font-size: 11px; line-height: 1.7; color: var(--ink-50); max-width: 72ch; }

/* ==========================================================================
   APPROACH BAND
   ========================================================================== */
.approach {
  position: relative; margin-block: clamp(64px, 10vh, 110px);
  background: var(--mint); border-block: 1.5px solid var(--line-2);
  transform: rotate(-1.1deg) scale(1.03);
  padding-block: clamp(56px, 8vh, 88px);
  overflow: hidden;
}
.approach__inner {
  max-width: var(--max); margin-inline: auto; padding-inline: var(--pad-x);
  position: relative;
}
.approach__mark {
  position: absolute; top: 50%; right: clamp(16px, 5vw, 80px);
  transform: translateY(-50%);
  font-family: var(--font-d); font-size: clamp(150px, 18vw, 300px); line-height: 1;
  color: rgba(23, 32, 26, .12); pointer-events: none;
  animation: spin 70s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.approach__top { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); position: relative; }
.approach__title { font-family: var(--font-d); font-weight: 500; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -.015em; }
.approach__title .squiggle { position: relative; display: inline-block; }
.approach__body p { font-size: 15.5px; color: var(--ink-70); margin-bottom: 16px; max-width: 46ch; }
.approach__stats {
  margin-top: clamp(44px, 7vh, 72px);
  display: flex; gap: clamp(40px, 6vw, 96px); flex-wrap: wrap; position: relative;
}
.stat { display: flex; flex-direction: column; justify-content: flex-end; }
.stat__num { font-family: var(--font-d); font-weight: 600; font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -.02em; }
.stat__num--live { color: var(--coral); }
.stat__num--words { font-size: clamp(30px, 3.2vw, 44px); font-weight: 560; letter-spacing: -.01em; line-height: 1.15; }
.stat__label {
  margin-top: 10px; display: flex; align-items: center; gap: 9px;
  font-family: var(--font-m); font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-70);
}
.stat__pulse { width: 8px; height: 8px; border-radius: 999px; background: var(--coral); animation: pulse 1.6s ease-in-out infinite; flex: none; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

/* ==========================================================================
   PROCESS + TERMINAL
   ========================================================================== */
.process__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.steps { position: relative; display: flex; flex-direction: column; gap: 42px; margin-left: 10px; padding-left: 36px; border-left: 1.5px dashed var(--line-2); }
.step { position: relative; }
.step::before {
  content: ""; position: absolute; left: -43px; top: 6px; width: 12px; height: 12px;
  border-radius: 999px; background: var(--coral); border: 1.5px solid var(--paper);
  box-shadow: 0 0 0 1.5px var(--line-2);
}
.step__no { display: block; font-family: var(--font-m); font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--coral); margin-bottom: 9px; }
.step__name { font-weight: 800; font-size: 19px; letter-spacing: -.01em; margin-bottom: 8px; }
.step__desc { font-size: 15px; color: var(--ink-70); max-width: 52ch; }

.term {
  background: var(--term); border: 1.5px solid var(--ink); border-radius: 20px;
  overflow: hidden; box-shadow: 10px 10px 0 rgba(23, 32, 26, .12);
  transform: rotate(.4deg);
  font-family: var(--font-m);
}
.term__bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 1.5px solid rgba(250, 246, 238, .12); }
.term__dot { width: 10px; height: 10px; border-radius: 999px; }
.term__dot--r { background: var(--coral); }
.term__dot--a { background: var(--amber); }
.term__dot--m { background: var(--mint); }
.term__title { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(250, 246, 238, .5); margin-left: 10px; }
.term__screen {
  padding: 20px 22px 18px;
  max-height: 430px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(250, 246, 238, .25) transparent;
}
.term__screen::-webkit-scrollbar { width: 8px; }
.term__screen::-webkit-scrollbar-thumb { background: rgba(250, 246, 238, .2); border-radius: 999px; }
.term__out { font-size: 12.5px; line-height: 2.1; color: #BFE3CC; }
.tl { opacity: 0; transform: translateX(-10px); transition: opacity .4s var(--ease), transform .4s var(--ease); margin: 0; }
html.js .tl { opacity: 0; }
html.js .tl.on { opacity: 1; transform: none; }
.tl--cmd { color: #FAF6EE; font-weight: 700; }
.tl--warn { color: var(--amber); font-weight: 700; }
.tl--ok { color: #A9E6C1; font-weight: 700; letter-spacing: .06em; }
.tl--bad { color: #FFB9A6; }
.tl__x { color: var(--coral); font-weight: 700; margin-right: 10px; }
.tl__name { color: #FAF6EE; font-weight: 700; transition: opacity .3s; }
.tl__why { color: rgba(250, 246, 238, .5); margin-left: 10px; }
.tl__tag {
  display: inline-block; margin-left: 10px; padding: 2px 9px; border-radius: 999px;
  background: var(--mint); color: var(--term);
  font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s var(--spring);
}
.tl--bad.rm .tl__name { text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 2px; opacity: .55; }
.tl--bad.rm .tl__tag { opacity: 1; transform: scale(1); }
.tl--row.rm {
  opacity: .45; color: rgba(255, 185, 166, .8);
  text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 1.5px;
}
.term__input-row {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1.5px dashed rgba(250, 246, 238, .16);
}
html.js .term__input-row { opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
html.js .term.ready .term__input-row { opacity: 1; pointer-events: auto; }
.term__prompt {
  font-family: var(--font-m); font-size: 12px; font-weight: 700;
  color: #A9E6C1; white-space: nowrap;
}
.term__input {
  flex: 1; min-width: 0; background: none; border: 0; outline: none;
  font-family: var(--font-m); font-size: 12.5px; color: #FAF6EE;
  caret-color: #A9E6C1;
}
.term__input::placeholder { color: rgba(250, 246, 238, .3); }
.term__input:focus-visible { outline: none; }

/* ==========================================================================
   ASSESSMENT (CTA)
   ========================================================================== */
.cta {
  position: relative; margin-top: clamp(64px, 10vh, 110px);
  background: var(--coral); color: var(--paper);
  padding-block: clamp(64px, 9vh, 104px);
  overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(45deg, rgba(250, 246, 238, .05) 0 2px, transparent 2px 16px);
}
.cta__inner {
  max-width: var(--max); margin-inline: auto; padding-inline: var(--pad-x);
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px); align-items: start; position: relative;
}
.cta__title {
  font-family: var(--font-d); font-weight: 500;
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -.015em;
  margin-top: 22px;
}
.cta__lede { font-size: 16px; color: rgba(250, 246, 238, .9); margin-top: 20px; max-width: 46ch; }
.cta__points { margin-top: 26px; }
.cta__points li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-top: 1.5px dashed rgba(250, 246, 238, .32);
  font-size: 15.5px;
}
.cta__points li::before {
  content: "✓"; flex: none; width: 20px; height: 20px;
  border: 1.5px solid rgba(250, 246, 238, .7); border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-m); font-size: 10px; font-weight: 700;
}
.cta__lock {
  margin-top: 18px; display: flex; align-items: center; gap: 9px;
  font-family: var(--font-m); font-size: 11px; line-height: 1.7; color: rgba(250, 246, 238, .75);
}

/* ---------- form ---------- */
.form {
  position: relative; background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 28px;
  padding: 34px 34px 30px; box-shadow: 10px 10px 0 rgba(23, 32, 26, .3);
  transform: rotate(.35deg);
}
.form__stamp {
  position: absolute; top: 30px; right: 30px; pointer-events: none;
  border: 2.5px solid var(--coral); color: var(--coral); border-radius: 8px;
  padding: 8px 14px;
  font-family: var(--font-m); font-size: 11px; font-weight: 800; letter-spacing: .14em;
  transform: rotate(9deg) scale(1.5); opacity: 0;
  transition: opacity .3s, transform .35s var(--spring);
}
.form.sent .form__stamp { opacity: 1; transform: rotate(9deg) scale(1); }
.form__head { margin-bottom: 24px; }
.form__title { font-weight: 800; font-size: 23px; letter-spacing: -.01em; margin: 14px 0 6px; }
.form__sub { font-size: 14px; color: var(--ink-70); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field--full { grid-column: 1 / -1; }
.field label {
  display: block; margin-bottom: 8px;
  font-family: var(--font-m); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-70);
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: #FFFDF8; border: 1.5px solid var(--line-2); border-radius: 12px;
  padding: 13px 14px; transition: border-color .25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-30); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.field textarea { resize: vertical; min-height: 96px; }
.field__select-wrap { position: relative; }
.field__select-wrap::after {
  content: "▾"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  pointer-events: none; font-family: var(--font-m); font-size: 12px; color: var(--ink-50);
}
.field select { appearance: none; }
.form__interest { font-family: var(--font-m); font-size: 10.5px; letter-spacing: .06em; color: var(--ink-50); margin: 20px 0 16px; }
.form__interest span { color: var(--ink); font-weight: 700; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; margin-bottom: 24px; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box {
  flex: none; width: 20px; height: 20px; border-radius: 6px;
  border: 1.5px solid var(--line-2); background: #FFFDF8; position: relative;
  transition: background .2s, border-color .2s;
}
.check__box::after {
  content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-m); font-size: 11px; font-weight: 700; color: var(--paper);
  opacity: 0; transition: opacity .2s;
}
.check input:checked + .check__box { background: var(--mint-deep); border-color: var(--mint-deep); }
.check input:checked + .check__box::after { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--coral); outline-offset: 2px; }
.check__text { font-size: 12.5px; line-height: 1.55; color: var(--ink-70); }
.check__text a { text-decoration: underline; }
.form__submit { width: 100%; justify-content: center; }
.form__status {
  margin: -8px 0 16px; padding: 11px 14px; border-radius: 12px;
  border: 1.5px solid var(--coral); background: #FFF1EC; color: var(--coral-d);
  font-size: 13.5px; line-height: 1.5;
}
.form__status a { text-decoration: underline; }
.form__status--ok { border-color: var(--mint-deep); background: var(--mint); color: var(--mint-deep); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--coral); }
.check input[aria-invalid="true"] + .check__box { border-color: var(--coral); }
.form__fine { margin-top: 14px; text-align: center; font-family: var(--font-m); font-size: 10.5px; color: var(--ink-50); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.section--faq {
  display: grid; grid-template-columns: .8fr 1.2fr;
  gap: clamp(40px, 6vw, 90px); align-items: start;
  margin-top: clamp(64px, 10vh, 110px);
}
.faq__intro { position: sticky; top: 82px; }
.faq__intro .section__title { margin-top: 18px; }
.qa { border-top: 1.5px solid var(--line-2); }
.qa:last-child { border-bottom: 1.5px solid var(--line-2); }
.qa__btn {
  width: 100%; display: grid; grid-template-columns: 74px 1fr 18px;
  align-items: center; gap: 16px; padding: 22px 2px; text-align: left;
}
.qa__no { font-family: var(--font-m); font-size: 10.5px; font-weight: 700; color: var(--ink-50); transition: color .3s; }
.qa__q { font-weight: 600; font-size: 17px; line-height: 1.35; transition: color .3s; }
.qa__plus { position: relative; width: 16px; height: 16px; }
.qa__plus::before, .qa__plus::after {
  content: ""; position: absolute; background: var(--ink);
  transition: transform .35s var(--ease), background .3s;
}
.qa__plus::before { left: 0; right: 0; top: 7.25px; height: 1.5px; }
.qa__plus::after { top: 0; bottom: 0; left: 7.25px; width: 1.5px; }
.qa.open .qa__plus::after { transform: scaleY(0); }
.qa.open .qa__plus::before { background: var(--coral); }
.qa.open .qa__q { color: var(--coral); }
.qa.open .qa__no { color: var(--coral); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.qa.open .qa__a { grid-template-rows: 1fr; }
.qa__a > div, .qa__a p { overflow: hidden; min-height: 0; }
.qa__a p { padding: 0 2px 0 90px; font-size: 15px; line-height: 1.6; color: var(--ink-70); max-width: 68ch; transition: padding-bottom .45s var(--ease); }
.qa.open .qa__a p { padding-bottom: 24px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1.5px solid var(--line-2); margin-top: clamp(64px, 10vh, 110px); overflow: hidden; }
.footer__row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 26px; border-bottom: 1.5px solid var(--line); flex-wrap: wrap;
}
.footer__row .link-underline { font-size: 10.5px; color: var(--ink-70); }
.footer__tag { font-weight: 600; font-size: 13.5px; color: var(--ink-70); }
.footer__word {
  font-family: var(--font-d); font-style: italic; font-weight: 900;
  font-size: clamp(78px, 16.5vw, 248px); line-height: .82; letter-spacing: -.035em;
  margin: 28px 0 -.13em; white-space: nowrap;
}
.footer__word b { color: var(--coral); font-style: normal; }
.footer__base {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 22px; border-top: 1.5px solid var(--line); flex-wrap: wrap;
  font-family: var(--font-m); font-size: 10px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-50);
}
.replay--foot { color: var(--ink-70); align-self: auto; }
.replay--foot:hover { color: var(--coral); }

/* ==========================================================================
   REVEAL SYSTEM
   ========================================================================== */
html.js [data-anim] {
  opacity: 0; translate: 0 28px;
  transition: opacity .7s var(--ease), translate .7s var(--ease);
}
html.js [data-anim].in { opacity: 1; translate: none; }
html.js .spring {
  opacity: 0; translate: 0 26px;
  transition: opacity .65s var(--spring), translate .65s var(--spring);
}
html.js .spring.in { opacity: 1; translate: none; }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
/* ==========================================================================
   FREE SPAM CHECK (homepage band)
   ========================================================================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.scancta {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  margin-top: clamp(56px, 9vh, 96px); padding: clamp(28px, 4.5vw, 56px);
  background: var(--peach); border: 1.5px solid var(--ink); border-radius: 32px; box-shadow: var(--shadow);
}
.scancta__dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--coral); margin-right: 10px; vertical-align: 1px; animation: pulse 1.6s ease-in-out infinite; }
.scancta__title { font-weight: 800; font-size: clamp(32px, 4vw, 56px); line-height: 1.02; letter-spacing: -.03em; margin: 16px 0 16px; }
.scancta__lede { font-size: 16.5px; line-height: 1.6; color: var(--ink-70); max-width: 52ch; }
.scancta__form { display: flex; gap: 12px; margin-top: 24px; max-width: 560px; }
.scancta__form input {
  flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 14px; padding: 14px 16px;
}
.scancta__form input:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.scancta__form .btn { flex: none; }
.scancta__fine { margin-top: 12px; font-family: var(--font-m); font-size: 10.5px; color: var(--ink-50); }
.scancta__demo { display: grid; gap: 16px; }
.peek { background: var(--card); border: 1.5px solid var(--ink); border-radius: 18px; padding: 14px 16px 16px; transform: rotate(-1deg); }
.peek--bad { transform: rotate(1.2deg) translateX(14px); border-color: var(--coral); box-shadow: 6px 6px 0 rgba(232, 80, 43, .25); }
.peek__who { display: flex; justify-content: space-between; font-family: var(--font-m); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.peek__ok { color: var(--mint-deep); }
.peek__bad { color: var(--coral); }
.peek__page { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px 12px; background: var(--paper); }
.peek__url { font-family: var(--font-m); font-size: 10px; color: var(--ink-50); margin-bottom: 6px; }
.peek__title { font-weight: 800; font-size: 16px; margin-bottom: 10px; }
.peek--bad .peek__title { color: var(--coral-d); }
.peek__page i { display: block; height: 7px; border-radius: 4px; background: var(--line); margin-top: 7px; }
.peek__page i.short { width: 60%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  html.js [data-anim], html.js .spring, html.js .hero__line { opacity: 1 !important; translate: none !important; }
  .tl { opacity: 1 !important; transform: none !important; }
  html.js .term__input-row { opacity: 1 !important; pointer-events: auto !important; }
  .tl__tag { opacity: 1 !important; transform: scale(1) !important; }
  html.js .tl--bad .tl__name { text-decoration: line-through; opacity: .55; }
  .scribble path { stroke-dashoffset: 0 !important; }
  .stackband__track, .ticker__track { animation: none !important; }
  .replay { display: none !important; }
  .signs__sweep, .stat__pulse { display: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1280px) {
  .edgenote { display: none; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
  .masthead .btn { display: none; }
}

@media (max-width: 1000px) {
  .plans { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .hero__lower { grid-template-columns: 1fr; }
  .signs { transform: none; }
  html.js .signs.spring.in { transform: none; }
}

@media (max-width: 980px) {
  .process__grid { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
  .section--faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .section__head { grid-template-columns: 1fr; gap: 22px; }
  .section__no-block { flex-direction: row; align-items: center; gap: 18px; }
  .section__aside { border-left: 0; padding-left: 0; margin-bottom: 0; }
  .approach__top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .scancta { grid-template-columns: 1fr; }
  .scancta__form { flex-direction: column; }
  .peek--bad { transform: rotate(1deg); }
  .console { display: none !important; }
  .scanner {
    top: auto; bottom: 52px; left: 12px; right: 12px; width: auto;
    transform: none; max-height: 44vh;
  }
  .scanner.closing { transform: scale(.94); }
  .scanner__foot { display: none; }
  .sweep { width: 96px; }
  .deface { padding: 14px 24px; white-space: nowrap; }
  .deface__big { letter-spacing: .16em; text-indent: .16em; }
  .deface__sub { font-size: 8px; letter-spacing: .14em; }
  .ticker__group span { font-size: 9px; }
  .ticker__group { gap: 18px; padding: 8px 18px 8px 0; }
  .skip-clean { top: 88px; right: 12px; font-size: 9px; padding: 8px 12px; }
  .sysbar__left { display: none; }
  .seal { padding: 20px 28px; }
}

@media (max-width: 640px) {
  .hero__steps { flex-direction: column; gap: 12px; }
  .hero__steps li { border-left: 0; padding: 0; }
  .qa__btn { grid-template-columns: 54px 1fr 16px; gap: 12px; }
  .qa__a p { padding-left: 0; }
  .form__grid { grid-template-columns: 1fr; }
  .form { padding: 26px 22px 24px; }
  .form__stamp { top: 18px; right: 18px; }
  .footer__word { white-space: normal; word-break: break-word; }
  .footer__base { justify-content: flex-start; gap: 10px 24px; }
  .stat__num { font-size: 44px; }
  .approach__stats { gap: 32px; }
}
/* ---------- about ---------- */
.about { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.about__card { padding: 26px; background: var(--card); border: 1.5px solid var(--ink); border-radius: 22px; box-shadow: var(--shadow); }
.about__no { font-family: var(--font-m); font-size: 11px; letter-spacing: .1em; color: var(--coral); }
.about__card h3 { font-weight: 800; font-size: 20px; line-height: 1.2; margin: 10px 0 10px; }
.about__card p:not(.about__no) { font-size: 15px; line-height: 1.6; color: var(--ink-70); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ---------- friends of SiteUnhack ---------- */
.footer__friends { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-block: 16px; border-bottom: 1.5px solid var(--line); font-family: var(--font-m); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-50); }
.friend { display: inline-flex; align-items: center; opacity: .75; transition: opacity .2s; }
.friend:hover, .friend:focus-visible { opacity: 1; }
.friend img { display: block; height: 15px; width: auto; }
.post-foot .friends, .scan-foot .friends { display: inline-flex; align-items: center; gap: 8px; }
