/* ==========================================================================
   True Attention Media: landing page
   Layout: 1200px container; light page with ink "broadcast" bands
   ========================================================================== */

:root {
  /* color */
  --bg: #f4f5f7;
  --surface: #ffffff;
  --tint: #eceef3;
  --ink: #0b0d13;
  --text: #0b0d13;
  --muted: #5a6071;
  --line: #e1e4ea;
  --accent: #3442d9;
  --accent-hover: #2a36b8;
  --accent-soft: #e8eafb;
  --rec: #e8574c;          /* REC indicator only (4.9:1 on band-2) */
  --ok: #138a55;          /* light grounds: icons and 19px+ bold only (4.0:1) */
  --ok-text: #0f7a4a;     /* green body text on light grounds (5.4:1) */
  --ok-dark: #3fbf7f;
  --error: #c4271d;       /* form errors on light grounds (5.6:1) */

  --band: #0b0d13;
  --band-2: #151925;
  --band-text: #e8eaf0;
  --band-muted: #8e94a5;
  --band-line: #252a39;
  --band-accent: #a3aceb; /* blue text and marks on bands (8.9:1) */

  /* type */
  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  /* scale */
  --radius: 14px;
  --radius-sm: 8px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --section: clamp(72px, 10vw, 128px);

  /* motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; letter-spacing: -0.025em; line-height: 1.08; }
h2 { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -0.03em; }
h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.02em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.band :focus-visible, .final :focus-visible, .footer :focus-visible { outline-color: var(--band-accent); }
[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12.5px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--band { color: var(--band-accent); }
.rec {
  width: 8px; height: 8px; border-radius: 50%; background: var(--rec); flex: none;
  box-shadow: 0 0 0 0 rgba(232, 87, 76, .5);
}
@media (prefers-reduced-motion: no-preference) {
  .rec { animation: rec 1.8s ease-out infinite; }
}
@keyframes rec {
  0% { box-shadow: 0 0 0 0 rgba(232, 87, 76, .55); }
  70% { box-shadow: 0 0 0 7px rgba(232, 87, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 87, 76, 0); }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font: 500 15px/1 var(--f-sans); letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform 160ms var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--ghost { border-color: var(--line); background: var(--surface); color: var(--text); }
.btn--ghost-dark { border-color: var(--band-line); color: var(--band-text); background: transparent; }

.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px;
  font: 500 11.5px/1 var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent); white-space: nowrap;
}
.tag--quiet { background: var(--tint); color: var(--muted); }

.section { padding-block: var(--section); }
.section--tint { background: var(--tint); }
.section__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section__head--lead h2 { font-size: clamp(38px, 6vw, 72px); }
.section__head .sub, .sub { color: var(--muted); font-size: 18px; max-width: 58ch; }
.band { background: var(--band); color: var(--band-text); padding-block: var(--section); }
.band .sub { color: var(--band-muted); }
.band--soft { background: var(--band-2); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(244, 245, 247, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 9px; font-weight: 600; font-size: 16.5px; letter-spacing: -0.02em; text-decoration: none; }
.brand__logo { height: 28px; width: auto; }
.brand__logo--footer { height: 32px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { padding-block: 10px; text-decoration: none; font-size: 14.5px; color: var(--muted); transition: color .15s; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { width: 16px; height: 1.6px; background: var(--ink); transition: transform .2s ease; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero h1 { font-size: clamp(40px, 4.4vw, 56px); letter-spacing: -0.03em; line-height: 1.02; }

/* inline media chips: visual punctuation inside the headline */
.chip {
  display: inline-flex; align-items: center; justify-content: center; gap: .045em;
  height: .62em; vertical-align: .06em; margin-left: .16em;
  border-radius: 999px; overflow: hidden;
}
.chip--wave { width: 1.15em; padding: 0 .16em; background: var(--ink); }
.chip--wave i { flex: 1; height: var(--h); border-radius: 2px; background: #5a6385; transform-origin: center; }
.chip--wave i:nth-child(4), .chip--wave i:nth-child(5) { background: var(--band-accent); }
.chip--grid {
  width: 1.18em; padding: .075em; border-radius: .14em; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  display: inline-grid; align-items: stretch; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: .05em;
}
.chip--grid i { border-radius: .04em; background: var(--tint); }
.chip--grid i:nth-child(1), .chip--grid i:nth-child(5) { background: var(--accent); }
.chip--grid i:nth-child(3) { background: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .chip--wave i { animation: wave 1.4s ease-in-out infinite; animation-delay: var(--d); }
}
.hl { color: var(--accent); }
.nw { white-space: nowrap; }
.lede { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); max-width: 52ch; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 4px; }
.hero__alt { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; color: var(--text); text-decoration: none; }
.hero__alt-t { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; text-decoration-thickness: 1.5px; transition: text-decoration-color .18s ease; }
.hero__alt-a { display: inline-block; transition: transform 200ms var(--ease-out); }
.hero__ctas--center { justify-content: center; }
.micro { font-size: 13.5px; color: var(--muted); max-width: 46ch; }
.hero__facts { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.hero__facts li { display: inline-flex; align-items: center; white-space: nowrap; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); margin-right: 9px; flex: none; }
.hero__facts b { font-weight: 500; color: var(--text); margin-right: .3em; }
.hero__facts li:last-child b { margin: 0 0 0 .3em; }

/* engine visual */
.engine {
  margin: 0; min-width: 0;
  background: var(--band); color: var(--band-text);
  border-radius: 20px; padding: 18px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 6px 8px -4px rgba(11, 13, 19, .22);
}
.engine__source { background: var(--band-2); border: 1px solid var(--band-line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 12px; }
.engine__bar { display: flex; align-items: center; gap: 12px; color: var(--band-muted); min-width: 0; }
.engine__bar .mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.engine__rec { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--f-mono); letter-spacing: .1em; color: var(--rec); flex: none; }
.engine__time { margin-left: auto; color: var(--band-text); flex: none; }
.engine__wave { display: flex; align-items: center; gap: 3px; height: 44px; }
.engine__wave i { flex: 1; min-width: 2px; border-radius: 2px; background: #3d4560; height: var(--h, 40%); transform-origin: center; }
.engine__wave i.is-hot { background: var(--band-accent); }
@media (prefers-reduced-motion: no-preference) {
  .engine__wave i { animation: wave 1.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
}
@keyframes wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }

.engine__arrow { display: flex; align-items: center; gap: 10px; color: var(--band-muted); }
.engine__arrow::before, .engine__arrow::after { content: ""; flex: 1; height: 1px; background: var(--band-line); }
.engine__arrow .mono { font-size: 13px; color: var(--band-text); }
#count { display: inline-block; min-width: 2ch; text-align: left; color: var(--band-accent); font-variant-numeric: tabular-nums; }

.engine__grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.asset {
  aspect-ratio: 1; border-radius: 7px; border: 1px solid var(--band-line); background: var(--band-2);
  display: grid; place-items: center; position: relative; overflow: hidden;
  transition: background .35s ease, border-color .35s ease, opacity .35s ease, transform .35s ease;
}
.asset svg { width: 50%; height: 50%; color: var(--band-muted); transition: color .35s ease; }
.asset::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); opacity: .9; }
.asset--yt { --c: var(--band-text); }
.asset--clip { --c: var(--band-accent); }
.asset--post { --c: var(--band-muted); }
.asset--mail { --c: #4b5370; }
.asset.is-on svg { color: var(--band-text); }
.engine__grid.is-building .asset { opacity: .28; transform: scale(.94); }
.engine__grid.is-building .asset.is-on { opacity: 1; transform: none; }
.asset.is-pulse { border-color: #4b5370; background: #1c2131; }

.engine__legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font: 12px var(--f-mono); color: var(--band-muted); }
.engine__legend span { display: inline-flex; align-items: center; gap: 7px; }
.sw { width: 10px; height: 3px; border-radius: 2px; display: inline-block; }
.sw--yt { background: var(--band-text); }
.sw--clip { background: var(--band-accent); }
.sw--post { background: var(--band-muted); }
.sw--mail { background: #4b5370; }

.audience { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: clamp(48px, 6vw, 72px); color: var(--muted); }
.audience ul { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.audience li { font-size: 15px; font-weight: 500; color: var(--text); letter-spacing: -0.01em; }
.audience li + li::before { content: "/"; margin-right: 28px; color: var(--band-muted); font-weight: 400; }

/* ---------- problem ---------- */
.ledger { border-top: 1px solid var(--line); }
.point {
  display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 12px clamp(24px, 4vw, 56px); align-items: baseline;
  padding-block: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line);
}
.point__k { color: var(--accent); font-weight: 500; }
.point h3 { font-size: clamp(21px, 2.1vw, 26px); letter-spacing: -0.025em; }
.point p { color: var(--muted); max-width: 52ch; }

/* ---------- mechanism ---------- */
.mech { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 16px; }
.mech__in { background: var(--accent); color: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.mech__in .mono { color: rgba(255, 255, 255, .75); }
.mech__num { font-size: clamp(72px, 9vw, 112px); line-height: .9; letter-spacing: -0.035em; font-weight: 600; }
.mech__num small { font-size: .28em; letter-spacing: 0; margin-left: 6px; font-weight: 500; }
.mech__in p { color: rgba(255, 255, 255, .85); margin-top: auto; }
.mech__out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--band-line); border: 1px solid var(--band-line); border-radius: var(--radius); overflow: hidden; }
.out { background: var(--band); padding: 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 4px; align-items: baseline; }
.out strong { grid-row: span 2; font-size: 34px; font-weight: 600; letter-spacing: -0.03em; min-width: 3.2ch; font-variant-numeric: tabular-nums; }
.out span { font-weight: 500; }
.out em { font-style: normal; color: var(--band-muted); font-size: 14px; }
.out--wide { grid-column: 1 / -1; }
.out--wide strong { color: var(--band-accent); }

/* ---------- surfaces ---------- */
.surfaces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.surface { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.surface__head { display: flex; flex-direction: column; gap: 6px; }
.surface__note { font-size: 14px; color: var(--muted); margin-top: auto; }
.illus { margin-top: 16px; color: var(--muted); }

.mock-post { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; background: var(--surface); }
.mock-post__top { display: flex; gap: 10px; align-items: center; }
.mock-post__top b { display: block; font-size: 14.5px; }
.mock-post__top span { font-size: 12.5px; color: var(--muted); }
.mock-post__top .avatar { color: #fff; font-size: 13px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 13px var(--f-sans); flex: none; }
.mock-post__clip {
  position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 20%, #3a4366 0%, #151925 60%, #0b0d13 100%);
  display: flex; align-items: flex-end; padding: 14px;
}
.mock-post__play { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(255, 255, 255, .92); }
.mock-post__play::after { content: ""; position: absolute; left: 19px; top: 15px; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.mock-post__cap { position: relative; background: #fff; color: var(--ink); font-weight: 600; font-size: 13.5px; line-height: 1.3; padding: 6px 9px; border-radius: 6px; max-width: 80%; }
.mock-post__dur { position: absolute; top: 12px; right: 12px; color: #fff; background: rgba(11, 13, 19, .6); padding: 3px 6px; border-radius: 4px; font-size: 11px; }

.mock-ai { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14.5px; }
.mock-ai__q { padding: 14px 16px; background: var(--tint); display: flex; flex-direction: column; gap: 4px; font-weight: 500; }
.mock-ai__q .mono { color: var(--muted); font-weight: 400; }
.mock-ai__a { padding: 16px; display: flex; flex-direction: column; gap: 14px; background: var(--surface); }
.mock-ai__a p { color: var(--ink); }
.mock-ai mark { background: var(--accent-soft); color: var(--accent); padding: 0 3px; border-radius: 3px; font-weight: 600; }
.mock-ai sup { color: var(--accent); font-family: var(--f-mono); font-size: 10.5px; }
.mock-ai__src { font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; overflow-wrap: anywhere; }
.mock-ai__src .mono { color: var(--accent); margin-right: 6px; }

/* ---------- offers ---------- */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.offer { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 96px; }
.offer--pilot { border: 2px solid var(--accent); box-shadow: 8px 8px 0 var(--accent-soft); }
.offer__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.offer__slots { color: var(--muted); }
.offer h3 { font-size: clamp(22px, 2.4vw, 27px); letter-spacing: -0.03em; }
.offer__price { display: flex; align-items: baseline; gap: 10px; }
.offer__price strong { font-size: clamp(48px, 5.6vw, 64px); letter-spacing: -0.035em; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.offer__price span { color: var(--muted); }
.offer__desc { color: var(--muted); }
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%233442d9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.offer__cta { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-top: 4px; }
.textlink { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--muted); text-underline-offset: 3px; }
.textlink--plain { text-decoration: none; }
.offer__fine { font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }

/* ---------- timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: none; }
.timeline li { position: relative; padding: 26px 20px 0 0; display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--line); }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline li:first-child::before { background: var(--accent); }
.timeline li:last-child::before { background: var(--ink); border-color: var(--ink); }
.timeline .mono { color: var(--accent); font-weight: 500; }
.timeline h3 { font-size: 17px; }
.timeline p { font-size: 14.5px; color: var(--muted); }

/* ---------- proof ---------- */
.proof { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.manifest { background: var(--band); border: 1px solid var(--band-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.manifest__bar { display: flex; justify-content: space-between; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--band-line); color: var(--band-muted); }
.manifest__bar span:first-child { color: var(--band-text); }
.manifest__list { display: flex; flex-direction: column; flex: 1; }
.manifest__list li { display: grid; grid-template-columns: 15ch minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 20px 22px; border-bottom: 1px solid var(--band-line); }
.manifest__list li:last-child { border-bottom: 0; }
.manifest__list .mono { color: var(--band-accent); }
.manifest__list p { color: var(--band-text); font-size: 15px; }
.manifest__list b { color: var(--band-muted); font-weight: 500; font-variant-numeric: tabular-nums; }

.audit { background: var(--band); border: 1px solid var(--band-line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.audit > .mono { color: var(--band-muted); }
.audit__score { display: flex; align-items: baseline; gap: 6px; }
.audit__score strong { font-size: 64px; line-height: 1; letter-spacing: -0.035em; font-weight: 600; color: var(--band-text); }
.audit__score span { color: var(--band-muted); }
.audit__rows { display: flex; flex-direction: column; gap: 10px; }
.audit__rows li { display: grid; grid-template-columns: 96px 1fr 28px; align-items: center; gap: 12px; font-size: 13.5px; }
.audit__rows i { height: 6px; border-radius: 3px; background: var(--band-line); position: relative; overflow: hidden; }
.audit__rows i::after { content: ""; position: absolute; inset: 0; background: var(--band-accent); border-radius: 3px; transform: scaleX(var(--v)); transform-origin: left center; }
.audit.rv .audit__rows i::after { transform: scaleX(0); }
.audit.rv.is-in .audit__rows i::after { transform: scaleX(var(--v)); transition: transform 900ms var(--ease-out) 300ms; }
.audit.rv.is-in .audit__rows li:nth-child(2) i::after { transition-delay: 380ms; }
.audit.rv.is-in .audit__rows li:nth-child(3) i::after { transition-delay: 460ms; }
.audit.rv.is-in .audit__rows li:nth-child(4) i::after { transition-delay: 540ms; }
.audit__rows b { font: 500 13px var(--f-mono); text-align: right; font-variant-numeric: tabular-nums; }
.audit p { font-size: 14px; color: var(--band-muted); }
.audit__ex { color: var(--band-muted); margin-top: auto; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.why__points { display: flex; flex-direction: column; }
.why__points article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; padding-block: 24px; border-top: 1px solid var(--line); }
.why__points article:last-child { border-bottom: 1px solid var(--line); }
.why__points p { color: var(--muted); }

.clock { background: var(--band); color: var(--band-text); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; overflow: hidden; }
.clock__row { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; }
.clock__row .mono { color: var(--band-muted); }
.clock__row strong { grid-row: span 2; font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; align-self: center; }
.clock__row em { font-style: normal; font-size: 14px; }
.clock__line { height: 1px; background: var(--band-line); position: relative; }
.clock__line span { position: absolute; left: 0; top: -3px; width: 100%; height: 7px; }
.clock__line span::before { content: ""; position: absolute; left: 0; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--band-accent); }
@media (prefers-reduced-motion: no-preference) {
  .clock__line span { animation: travel 3.2s var(--ease-in-out) infinite alternate; }
}
@keyframes travel { from { transform: translateX(0); } to { transform: translateX(calc(100% - 7px)); } }
.clock__msg { font-size: 15px; color: var(--band-muted); border-top: 1px solid var(--band-line); padding-top: 14px; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq .section__head { margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; min-height: 44px; position: relative;
  font-size: 17.5px; font-weight: 500; letter-spacing: -0.015em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background:
    linear-gradient(var(--text), var(--text)) center / 12px 1.6px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.6px 12px no-repeat;
  transition: transform 200ms var(--ease-out);
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 40px 24px 0; color: var(--muted); max-width: 64ch; }

/* ---------- final ---------- */
.final { background: var(--band); color: var(--band-text); padding-block: clamp(80px, 11vw, 144px); text-align: center; position: relative; overflow: hidden; }
.final::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin-left: -450px; margin-top: -450px;
  background: url("../assets/logo/ta-spiral-texture.svg") center / contain no-repeat;
  opacity: .1;
  pointer-events: none;
}
.final__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.final h2 { max-width: 16ch; font-size: clamp(36px, 5.4vw, 66px); }
.final p { color: var(--band-muted); font-size: 18px; }
.final .hero__ctas { margin-top: 12px; }

/* ---------- footer ---------- */
.footer { background: var(--band); color: var(--band-muted); border-top: 1px solid var(--band-line); padding-block: 56px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 40px; }
.footer .brand { color: var(--band-text); }
.footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 34ch; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; }
.footer__cols .mono { color: var(--band-muted); text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; margin-bottom: 4px; }
.footer__cols a { text-decoration: none; color: var(--band-text); opacity: .85; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--band-line); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) and (min-width: 961px) {
  .engine__legend { display: grid; grid-template-columns: repeat(2, max-content); justify-content: start; column-gap: 24px; }
}

@media (max-width: 1080px) {
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
}

@media (max-width: 960px) {
  .proof { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .engine { max-width: 560px; }
  .mech { grid-template-columns: 1fr; }
  .why, .faq { grid-template-columns: 1fr; }
  .clock { position: static; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter-r) 16px var(--gutter);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 0; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__toggle { display: inline-flex; }

  .point { grid-template-columns: 1fr; gap: 10px; }
  .surfaces, .offers { grid-template-columns: 1fr; }
  .why__points article { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 767px) {
  .chip { display: none; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero__ctas .btn { width: 100%; }
  .hero__ctas { gap: 16px; }
  .btn { white-space: normal; text-align: center; padding-block: 12px; line-height: 1.25; }
  .btn--sm { white-space: nowrap; padding-block: 0; }
  .engine { padding: 14px; border-radius: 16px; }
  .engine__grid { grid-template-columns: repeat(6, 1fr); gap: 5px; }
  .audience li + li::before { display: none; }
  .audience ul { gap: 6px 20px; }
  .mech__out { grid-template-columns: 1fr; }
  .out { padding: 20px; }
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .timeline li { border-top: 0; border-left: 2px solid var(--line); padding: 0 0 28px 24px; }
  .timeline li::before { top: 2px; left: -7px; }
  .manifest__list li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 18px; }
  .manifest__list p { grid-column: 1 / -1; grid-row: 2; }
  .manifest__bar { padding: 14px 18px; }
  .offer--pilot { box-shadow: 6px 6px 0 var(--accent-soft); }
  .audit__rows li { grid-template-columns: 84px 1fr 26px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .clock__row strong { font-size: 36px; }
}

@media (max-width: 380px) {
  .nav .btn--sm { padding: 0 10px; font-size: 13px; }
  .brand__logo { height: 22px; }
}

/* ---------- staggered reveal (JS adds .rv only to below-the-fold items) ---------- */
.rv { opacity: 0; transform: translateY(14px); }
.rv.is-in {
  opacity: 1; transform: none;
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}

/* ---------- touch: 44px targets ---------- */
@media (pointer: coarse) {
  .btn--sm { min-height: 44px; }
  .footer__cols div { gap: 0; }
  .footer__cols .mono { margin-bottom: 6px; }
  .footer__cols a { display: flex; align-items: center; min-height: 44px; }
}

/* ---------- hover: pointer devices only ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--accent-hover); }
  .btn--dark:hover { background: var(--band-2); }
  .btn--ghost:hover { border-color: var(--muted); }
  .btn--ghost-dark:hover { border-color: var(--band-muted); background: var(--band-2); }
  .nav__links a:hover { color: var(--text); }
  .textlink:hover { color: var(--text); }
  .textlink--plain:hover { color: var(--muted); }
  .footer__cols a:hover { opacity: 1; }
  .hero__alt:hover .hero__alt-t { text-decoration-color: var(--text); }
  .hero__alt:hover .hero__alt-a { transform: translateX(3px); }
}

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

/* ==========================================================================
   Legal pages (legal/*.html)
   ========================================================================== */
.legal-page .nav { position: sticky; }
.legal { padding-block: clamp(48px, 7vw, 88px) var(--section); }
.legal__grid { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal__toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.legal__toc .mono { color: var(--muted); margin-bottom: 10px; }
.legal__toc a { color: var(--muted); text-decoration: none; padding-block: 6px; }
.legal__toc a[aria-current="page"] { color: var(--text); font-weight: 500; }
.legal__body { max-width: 68ch; }
.legal__body h1 { font-size: clamp(34px, 4.4vw, 48px); letter-spacing: -0.03em; }
.legal__meta { margin-top: 14px; color: var(--muted); font-size: 14px; }
.legal__draft { margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-size: 14.5px; color: var(--muted); }
.legal__draft strong { color: var(--text); }
.legal__body h2 { font-size: 22px; letter-spacing: -0.02em; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 88px; }
.legal__body h3 { font-size: 17px; margin-top: 24px; }
.legal__body p, .legal__body li { color: #3a3f4d; }
.legal__body p { margin-top: 14px; }
.legal__body ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.legal__body ul li { position: relative; padding-left: 18px; }
.legal__body ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1.5px; background: var(--muted); }
.legal__body a { color: var(--accent); text-underline-offset: 3px; }
.legal__body table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px; }
.legal__body th, .legal__body td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.legal__body th { font-weight: 500; color: var(--text); }
.ph { background: #fff4d6; color: #6b4e00; padding: 0 4px; border-radius: 3px; font-family: var(--f-mono); font-size: .88em; }
.legal-foot { background: var(--band); color: var(--band-muted); padding-block: 32px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.legal-foot .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.legal-foot a { color: var(--band-text); text-decoration: none; margin-left: 20px; display: inline-flex; align-items: center; min-height: 44px; }
.legal-foot a:first-child { margin-left: 0; }
@media (max-width: 820px) {
  .legal__grid { grid-template-columns: 1fr; }
  .legal__toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 20px; }
  .legal__toc .mono { width: 100%; margin-bottom: 0; }
  .legal__toc a { min-height: 44px; display: inline-flex; align-items: center; }
  .legal__body table, .legal__body thead, .legal__body tbody, .legal__body tr, .legal__body th, .legal__body td { display: block; }
  .legal__body thead { display: none; }
  .legal__body td { padding: 4px 0; border: 0; }
  .legal__body tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .legal__body td:first-child { font-weight: 500; color: var(--text); }
  .legal__body td:nth-child(3)::before { content: "Legal basis: "; color: var(--muted); }
}
@media (hover: hover) and (pointer: fine) {
  .legal__toc a:hover { color: var(--text); }
}
@media print {
  .nav, .legal__toc, .legal-foot, .legal__draft { display: none; }
  .legal__grid { display: block; }
}

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(64px, 10vw, 128px); }
.notfound__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.notfound__inner > * { max-width: 760px; }
.notfound__links { width: 100%; }
.notfound h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.03em; }
.notfound__links { margin-top: 18px; border-top: 1px solid var(--line); max-width: 560px; }
.notfound__links a { display: flex; flex-direction: column; gap: 2px; min-height: 44px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: 17px; }
.notfound__links .mono { color: var(--muted); font-weight: 400; }
@media (hover: hover) and (pointer: fine) {
  .notfound__links a:hover { color: var(--accent); }
}
.notfound__inner > .lede { max-width: 48ch; }
