/* Gong — gongalarm.app
   Tokens per framer-dna: off-black/off-white, one accent, hairlines, air.
   Contrast is annotated per pair; hierarchy comes from size and space. */

:root {
  /* dark world (hero, promises, footer) */
  --bg: #0b0b0c;
  --bg-raise: #121214;
  --ink: #f4f4f1;            /* on --bg ~17:1 */
  --muted: #a3a39f;          /* on --bg ~7.4:1 */
  --line: rgb(255 255 255 / 0.10);
  --line-strong: rgb(255 255 255 / 0.42);  /* input/button boundaries ~3.2:1 */

  /* light world (medals, pricing, faq) */
  --bg-l: #f7f7f6;
  --card-l: #ffffff;
  --ink-l: #0a0a0c;          /* on --bg-l ~18:1 */
  --muted-l: #5d5d59;        /* on --bg-l ~6.6:1 */
  --line-l: rgb(10 10 12 / 0.10);
  --line-l-strong: rgb(10 10 12 / 0.40);

  /* one accent, two renderings */
  --acc: #3ecf6e;            /* the one green — both worlds */
  --acc-ink: #0a0a0c;        /* ink on green fill ~8:1 */
  --acc-soft: rgb(62 207 110 / 0.12);
  --acc-tint: #dff6e8;       /* the one lighter tint */

  /* medal gold — material, not accent */
  --gold-hi: #ffedc4; --gold: #f6c35a; --gold-mid: #d9922a; --gold-lo: #b06f10;
  --engrave: #8a5406;

  --disp: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.6rem, 6.4vw, 5.6rem);
  --fs-h2: clamp(1.7rem, 3vw, 2.6rem);
  --fs-lead: clamp(1.1rem, 1.5vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8125rem;

  --space-section: clamp(88px, 13vh, 168px);
  --container: min(1160px, 92vw);
  --narrow: min(720px, 92vw);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;
  --r-card: 20px;
  --r-btn: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--body);
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--acc-soft); color: var(--ink); }
.light ::selection { color: var(--ink-l); }

h1, h2, h3 { font-family: var(--disp); text-wrap: balance; margin: 0; }
p { text-wrap: pretty; margin: 0; }
a { color: inherit; }
main p a { text-decoration: underline; text-underline-offset: 3px; }

img { max-width: 100%; display: block; }

:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible { outline-color: var(--ink-l); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--acc); color: var(--acc-ink); padding: 10px 18px; border-radius: 0 0 12px 0;
  font-weight: 600; text-decoration: none;
}
.skip:focus-visible { left: 0; }

.container { width: var(--container); margin: 0 auto; }
.narrow { width: var(--narrow); margin: 0 auto; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgb(11 11 12 / 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1.25rem var(--disp); letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-cta {
  font: 600 0.95rem var(--body);
  color: var(--acc-ink); background: var(--acc);
  padding: 10px 20px; border-radius: var(--r-btn); text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgb(62 207 110 / 0.25); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; padding: clamp(72px, 10vh, 128px) 0 var(--space-section); }
.hero-in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
@media (max-width: 880px) { .hero-in { grid-template-columns: 1fr; } }

.eyebrow {
  font: 600 var(--fs-eyebrow)/1 var(--body);
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 22px;
}
.display {
  font-size: var(--fs-display);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.04;
}
.display em { font-style: normal; color: var(--acc); }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 34rem; margin: 26px 0 0; }

/* resonance rings — the struck gong (signature surface, CSS-only) */
.resonance { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.resonance i {
  position: absolute; left: 72%; top: 44%;
  width: 60vmin; height: 60vmin; margin: -30vmin 0 0 -30vmin;
  border: 1.5px solid rgb(62 207 110 / 0.35);
  border-radius: 50%;
  animation: ring 7s var(--ease) infinite;
  opacity: 0;
}
.resonance i:nth-child(2) { animation-delay: 1.75s; }
.resonance i:nth-child(3) { animation-delay: 3.5s; }
.resonance i:nth-child(4) { animation-delay: 5.25s; }
@keyframes ring {
  0% { transform: scale(0.18); opacity: 0; }
  12% { opacity: 0.55; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* waitlist form */
.wl { margin-top: 36px; max-width: 30rem; }
.wl-row { display: flex; gap: 10px; }
@media (max-width: 520px) { .wl-row { flex-direction: column; } }
.wl input[type="email"] {
  flex: 1; min-width: 0;
  font: 400 1rem var(--body); color: var(--ink);
  background: var(--bg-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-btn); padding: 14px 20px;
}
.wl input[type="email"]::placeholder { color: var(--muted); }
.wl button {
  font: 600 1rem var(--body); color: var(--acc-ink);
  background: var(--acc); border: 0; border-radius: var(--r-btn);
  padding: 14px 26px; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.wl button:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgb(62 207 110 / 0.25); }
.wl-note { font-size: var(--fs-small); color: var(--muted); margin-top: 12px; }
.wl-msg { font-size: 0.95rem; margin-top: 12px; min-height: 1.4em; }
.wl-msg.ok { color: var(--acc); }
.wl-msg.err { color: #f0a3a3; } /* on --bg ~8:1 */
.hp { position: absolute; left: -9999px; }

/* ---------- phone mock (shared component, ported from the design system) ---------- */
.phone {
  width: 300px; aspect-ratio: 393 / 852;
  background: linear-gradient(160deg, #3a3a3e 0%, #141416 30%, #0a0a0b 100%);
  border-radius: 47px; padding: 8px;
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.22);
  margin: 0 auto;
}
.screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 40px; overflow: hidden; background: #000; color: #fff;
  font-family: var(--body);
}
.island { position: absolute; left: 50%; top: 9px; transform: translateX(-50%); width: 94px; height: 27px; border-radius: 14px; background: #000; z-index: 3; box-shadow: 0 0 0 0.5px rgb(255 255 255 / 0.08); }
.screen.camshot { background: linear-gradient(rgb(8 8 11 / 0.12), rgb(8 8 11 / 0.40)), url("/mission-cam.jpg") center / cover no-repeat #0a0a0d; }
.scr-in { position: absolute; inset: 0; padding: 52px 20px 24px; display: flex; flex-direction: column; z-index: 2; }
.dawn { position: absolute; inset: 0; background: radial-gradient(130% 55% at 50% 112%, rgb(62 207 110 / 0.26) 0%, rgb(62 207 110 / 0.07) 45%, transparent 70%); }
.mock-name { position: relative; text-align: center; margin-top: 22px; font-size: 13px; font-weight: 600; color: #98989d; }
.mock-clock { position: relative; text-align: center; font: 800 68px/1.05 var(--disp); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.mock-line { position: relative; text-align: center; color: #98989d; font-size: 11.5px; margin-top: 8px; }
.mock-mid { position: relative; margin: auto 0; }
.mock-btn { position: relative; text-align: center; font-size: 13.5px; font-weight: 600; color: #000; background: linear-gradient(180deg, #fff, #e8e8ec); border-radius: 999px; padding: 13px; }
.mock-micro { position: relative; text-align: center; color: #98989d; font-size: 9.5px; margin-top: 11px; font-variant-numeric: tabular-nums; }

/* mission mock */
.mock-ringwrap { position: relative; width: 132px; margin: auto auto 8px; }
.mock-ringwrap svg { transform: rotate(-90deg); display: block; }
.mock-ringnum { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mock-ringnum b { font: 800 44px/1 var(--disp); letter-spacing: -0.04em; }
.mock-ringnum span { font-size: 11px; color: rgb(255 255 255 / 0.6); margin-top: 2px; }
.trackchip { position: absolute; top: 46px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgb(18 18 24 / 0.6); border: 1px solid rgb(255 255 255 / 0.12); font-size: 10.5px; font-weight: 600; }
.trackchip i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px rgb(62 207 110 / 0.8); }
.skel { position: absolute; inset: 0; z-index: 1; opacity: 0.9; }
.skel line, .skel polyline { stroke: rgb(255 255 255 / 0.85); stroke-width: 2; stroke-linecap: round; fill: none; }
.skel circle { fill: var(--acc); }
.skel .head { fill: none; stroke: rgb(255 255 255 / 0.85); stroke-width: 2; }

/* block mock (light screen) */
.screen.lightscr { background: linear-gradient(180deg, #f7f7f9 0%, #f0f0f4 100%); color: #0a0a0c; }
.mock-h { font: 800 22px/1.2 var(--disp); letter-spacing: -0.02em; margin-top: 14px; }
.mock-count { font: 800 56px/1.05 var(--disp); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin-top: 14px; background: linear-gradient(180deg, #0a0a0c 30%, #5a5a60 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mock-until { color: #66666b; font-size: 11px; margin-top: 2px; } /* on #fff 5.6:1 */
.mock-card { background: #fff; border-radius: 16px; border: 1px solid rgb(10 10 20 / 0.05); box-shadow: 0 1px 2px rgb(12 12 18 / 0.04), 0 8px 22px rgb(12 12 18 / 0.06); padding: 4px 15px; margin-top: 16px; }
.mock-row { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid #e8e8ed; font-size: 11px; font-weight: 500; }
.mock-row:last-child { border-bottom: 0; }
.mock-row b { width: 21px; height: 21px; border-radius: 6px; background: rgb(10 10 20 / 0.06); text-align: center; line-height: 21px; font-size: 9px; font-weight: 700; color: #66666b; }
.mock-row span:last-child { margin-left: auto; color: #66666b; font-weight: 400; font-size: 9.5px; } /* 5.6:1 */
.mock-btn.dark { color: #fff; background: linear-gradient(180deg, #2c2c2e 0%, #0a0a0c 100%); }
.mock-micro.on-light { color: #66666b; }

/* ---------- sections ---------- */
.section { padding: var(--space-section) 0; }
.section.light { background: var(--bg-l); color: var(--ink-l); }
.section.light .eyebrow { color: var(--muted-l); }

.h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.sub { color: var(--muted); max-width: 38rem; margin-top: 18px; }
.light .sub { color: var(--muted-l); }
/* centered section headers — grids and card innards stay left-aligned */
.section.centered .eyebrow, .section.centered .h2 { text-align: center; }
.section.centered .sub { text-align: center; margin-left: auto; margin-right: auto; }

/* promises */
.promises { display: grid; gap: clamp(56px, 8vh, 96px); margin-top: clamp(48px, 7vh, 80px); }
.promise {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.promise:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.promise:nth-child(even) .p-copy { order: 2; }
@media (max-width: 880px) {
  .promise, .promise:nth-child(even) { grid-template-columns: 1fr; }
  .promise:nth-child(even) .p-copy { order: 0; }
}
.numeral { font: 600 var(--fs-eyebrow)/1 var(--body); letter-spacing: 0.09em; color: var(--acc); margin: 0 0 14px; }
.p-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.p-copy p { color: var(--muted); margin-top: 16px; max-width: 30rem; }
.p-visual .phone { width: min(260px, 78vw); }

/* features: every way a morning fails — stylized boxes with line icons */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(44px, 6vh, 64px); }
@media (max-width: 940px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .fgrid { grid-template-columns: 1fr; } }
.fcard {
  background: var(--card-l); border: 1px solid var(--line-l); border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 30px rgb(0 0 0 / 0.04);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.fcard:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 18px 44px rgb(0 0 0 / 0.09); }
.fcard-top { display: flex; align-items: center; justify-content: space-between; }
.fchip {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--acc-tint); color: var(--acc-ink);
  display: grid; place-items: center;
}
.ftime { font: 600 0.95rem var(--disp); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; color: var(--muted-l); }
.fail { font: 500 var(--fs-small)/1.4 var(--body); font-style: italic; color: var(--muted-l); margin-top: 18px; }
.fcard h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; margin-top: 8px; }
.fcard h3 + p { color: var(--muted-l); font-size: var(--fs-small); margin-top: 9px; }

/* medals */
.medal-row { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px); justify-content: center; margin-top: clamp(44px, 6vh, 64px); }
.medal-strip { margin-top: clamp(40px, 6vh, 64px); text-align: center; }
.medal-row.compact { margin-top: 0; gap: clamp(14px, 3vw, 30px); }
.medal-row.compact .mdl { width: 94px; }
.medal-row.compact .rib { width: 46px; height: 26px; }
.medal-row.compact .disc { width: 52px; height: 52px; font-size: 16px; }
.medal-row.compact .star { width: 21px; height: 21px; }
.medal-note { color: var(--muted-l); font-size: var(--fs-small); margin: 22px auto 0; max-width: 44rem; }
.mdl { display: flex; flex-direction: column; align-items: center; width: 108px; text-align: center; margin: 0; }
.rib { display: block; width: 56px; height: 32px; position: relative; z-index: 1; clip-path: polygon(0 0, 100% 0, 84% 100%, 16% 100%); box-shadow: inset 0 2px 2px rgb(255 255 255 / 0.3); }
.rib::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(255 255 255 / 0.28), rgb(0 0 0 / 0.14)); }
.r-first { background: repeating-linear-gradient(90deg, #3ecf6e 0 5px, #f6e7cd 5px 10px); }
.r-week { background: repeating-linear-gradient(90deg, #23262e 0 4px, #3ecf6e 4px 9px, #23262e 9px 13px, #f6e7cd 13px 18px); }
.r-dawn { background: repeating-linear-gradient(90deg, #1e6b41 0 6px, #e8890c 6px 9px, #f6e7cd 9px 12px, #1e6b41 12px 18px); }
.r-camp { background: repeating-linear-gradient(90deg, #1e6b41 0 5px, #f6e7cd 5px 9px, #1e6b41 9px 14px, #3ecf6e 14px 18px); }
.r-clean { background: repeating-linear-gradient(90deg, #f6e7cd 0 6px, #1e6b41 6px 10px); }
.r-cent { background: linear-gradient(90deg, #e8890c 0 18%, #f6e7cd 18% 36%, #1e6b41 36% 64%, #f6e7cd 64% 82%, #e8890c 82%); }
.disc {
  width: 64px; height: 64px; border-radius: 50%; margin-top: -5px; position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font: 800 20px/1 var(--disp); color: var(--engrave); text-shadow: 0 1px 0 rgb(255 240 200 / 0.85);
  background: radial-gradient(circle at 35% 28%, var(--gold-hi) 0%, var(--gold) 40%, var(--gold-mid) 72%, var(--gold-lo) 100%);
  box-shadow: 0 8px 16px rgb(176 111 16 / 0.35), inset 0 2px 3px rgb(255 255 255 / 0.7), inset 0 -4px 7px rgb(110 60 0 / 0.35);
}
.disc::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px solid rgb(120 64 4 / 0.4); }
.disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(135deg, rgb(255 255 255 / 0.5) 0%, transparent 45%); }
.star { width: 26px; height: 26px; clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); background: linear-gradient(180deg, #a8690a, #7d4c04); }
.mdl figcaption { margin-top: 12px; }
.mdl figcaption b { display: block; font: 700 0.8rem/1.3 var(--disp); }
.mdl figcaption span { display: block; font-size: 0.72rem; color: var(--muted-l); margin-top: 3px; }

/* photo sections (privacy + final cta) */
.photo-section { position: relative; overflow: clip; isolation: isolate; }
.section-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-section::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(rgb(11 11 12 / 0.55), rgb(11 11 12 / 0.55) 55%, rgb(11 11 12 / 0.8));
}
.photo-section > .container { position: relative; z-index: 2; }

/* privacy statement */
.statement { text-align: center; }
.statement .display { font-size: clamp(2rem, 4.6vw, 4rem); }
.priv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 900px; margin: 40px auto 0; }
@media (max-width: 760px) { .priv-grid { grid-template-columns: 1fr; max-width: 420px; } }
.pbox {
  background: rgb(11 11 12 / 0.52); backdrop-filter: blur(8px);
  border: 1px solid rgb(255 255 255 / 0.14); border-radius: var(--r-card);
  padding: clamp(20px, 2.6vw, 28px); text-align: left;
}
.pbox svg { color: var(--acc); display: block; }
.pbox b { display: block; font: 700 1rem/1.3 var(--disp); letter-spacing: -0.01em; margin-top: 14px; color: var(--ink); }
.pbox p { color: #c4c4c0; font-size: var(--fs-small); margin-top: 6px; } /* on rgb(11 11 12/.52) over photo ≥7:1 */
.privacy .sub { color: #c4c4c0; } /* on the darkened photo ≥7:1 */

/* pricing — one paywall card, CSS-only segmented control (radios, no JS) */
.paycard {
  position: relative; max-width: 520px; margin: clamp(44px, 6vh, 64px) auto 0;
  background: var(--card-l); border: 1px solid var(--line-l); border-radius: 28px;
  padding: clamp(28px, 4vw, 44px); text-align: center;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 30px rgb(0 0 0 / 0.04);
}
.bill-radio { position: absolute; opacity: 0; pointer-events: none; }
.seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #ececea; border-radius: 999px; padding: 4px; max-width: 320px; margin: 0 auto;
}
.seg label {
  font: 600 0.9rem/1 var(--body); color: var(--muted-l);
  padding: 10px 8px; border-radius: 999px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.seg em { font-style: normal; font-size: 0.7rem; font-weight: 700; color: var(--acc); letter-spacing: 0.03em; }
#bill-y:checked ~ .seg label[for="bill-y"],
#bill-m:checked ~ .seg label[for="bill-m"] { background: var(--ink-l); color: #fff; }
#bill-y:focus-visible ~ .seg label[for="bill-y"],
#bill-m:focus-visible ~ .seg label[for="bill-m"] { outline: 2px solid var(--ink-l); outline-offset: 3px; }
.pane-m { display: none; }
#bill-m:checked ~ .pane-m { display: block; }
#bill-m:checked ~ .pane-y { display: none; }
.pay-lead { color: var(--muted-l); font-size: var(--fs-small); margin-top: 26px; }
.bigprice {
  font: 800 clamp(3.2rem, 7vw, 4.6rem)/1 var(--disp);
  letter-spacing: -0.04em; font-variant-numeric: tabular-nums; margin-top: 8px;
}
.bigprice small { font: 600 1.05rem var(--body); color: var(--muted-l); letter-spacing: 0; margin-left: 4px; }
.pay-per { color: var(--muted-l); font-size: var(--fs-small); margin-top: 10px; }
.plan-list { list-style: none; margin: 26px auto 0; padding: 22px 0 0; display: grid; gap: 11px; max-width: 300px; text-align: left; border-top: 1px solid var(--line-l); }
.plan-list li { position: relative; padding-left: 28px; font-size: var(--fs-small); color: var(--muted-l); }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--acc-tint); }
.plan-list li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 6px; height: 3px; border-left: 2px solid var(--acc-ink); border-bottom: 2px solid var(--acc-ink); transform: rotate(-45deg); }
.pay-cta {
  display: block; margin-top: 26px;
  font: 600 1.05rem var(--body); color: var(--acc-ink); background: var(--acc);
  border-radius: var(--r-btn); padding: 15px 24px; text-decoration: none;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pay-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgb(62 207 110 / 0.3); }
.offer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  max-width: 720px; margin: 22px auto 0;
  background: var(--acc-tint); border-radius: var(--r-card); padding: 24px 28px; color: var(--ink-l);
}
.offer > div { flex: 1 1 24rem; }
.offer b { font-family: var(--disp); letter-spacing: -0.01em; }
.offer p { color: var(--ink-l); font-size: var(--fs-small); margin-top: 4px; max-width: 36rem; }
.offer-cta {
  font: 600 0.95rem var(--body); background: var(--ink-l); color: #fff;
  padding: 12px 24px; border-radius: var(--r-btn); text-decoration: none; white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.offer-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgb(10 10 12 / 0.3); }
.pricing-notes { text-align: center; color: var(--muted-l); font-size: var(--fs-small); max-width: 46rem; margin: 28px auto 0; }
.pricing-notes b { color: var(--ink-l); }

/* faq */
.faq {
  max-width: 980px; margin: clamp(40px, 6vh, 60px) auto 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 64px); align-items: start;
}
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; max-width: 720px; } }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  font: 600 1.05rem/1.4 var(--body); padding: 20px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.3rem var(--disp); color: var(--ink-l); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted-l); padding: 0 0 20px; max-width: 60ch; }

/* final cta + footer */
.final { text-align: center; }
.final .wl { margin: 36px auto 0; }
.final .wl-row { justify-content: center; }
.final.photo-section { padding: clamp(120px, 18vh, 200px) 0; }
.final.photo-section::after {
  background:
    radial-gradient(92% 100% at 50% 47%, rgb(11 11 12 / 0.18) 0%, rgb(11 11 12 / 0.66) 74%),
    linear-gradient(rgb(11 11 12 / 0.28), rgb(11 11 12 / 0.5));
}
.final .sub { color: #c4c4c0; }
.cta-logo { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 26px; box-shadow: 0 12px 32px rgb(0 0 0 / 0.55); }
/* resonance from the gong's center (image is centered cover, boss at ~47% height) */
.cta-res { z-index: 2; }
.cta-res i { left: 50%; top: 47%; width: 54vmin; height: 54vmin; margin: -27vmin 0 0 -27vmin; }
.final.photo-section > .container { z-index: 3; }

footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.foot-in { width: var(--container); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; color: var(--muted); font-size: var(--fs-small); }
.foot-in nav { display: flex; gap: 22px; }
.foot-in a { text-decoration: underline; text-underline-offset: 3px; }

/* grain — dark surfaces only (score-gates §5) */
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero { isolation: isolate; }
.hero > .container { position: relative; z-index: 2; }

/* reveal-machine: content is server-rendered; JS only adds .is-inview.
   Hidden start-state only exists when scripting is enabled, so a no-JS
   visit (and every crawler) sees the full page. */
@media (scripting: enabled) {
  .anim { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .is-inview .anim, .no-observer .anim { opacity: 1; transform: none; }
  .is-inview .anim:nth-of-type(2) { transition-delay: 0.08s; }
  .is-inview .anim:nth-of-type(3) { transition-delay: 0.16s; }
  .hero-phones { opacity: 0; transition: opacity 1.1s var(--ease) 0.15s; }
  body.loaded .hero-phones { opacity: 1; }
}

/* ---------- life: tilted phones, float, panes, marquee ---------- */
.hero-phones { position: relative; min-height: 580px; }
.hp1 { position: relative; z-index: 2; width: min(280px, 74vw); margin-left: auto; rotate: 6deg; }
.hp1 .phone { width: 100%; animation: floaty 7s ease-in-out infinite alternate backwards, buzz 3.2s linear 0.6s infinite; }
/* alarm buzz: a short vibration burst, then quiet — rotate only, floaty owns translate */
@keyframes buzz {
  0%, 12%, 100% { rotate: 0deg; }
  1.5% { rotate: 0.7deg; }
  3% { rotate: -0.7deg; }
  4.5% { rotate: 0.6deg; }
  6% { rotate: -0.6deg; }
  7.5% { rotate: 0.5deg; }
  9% { rotate: -0.35deg; }
  10.5% { rotate: 0.15deg; }
}
.hp2 { position: absolute; right: 58%; top: 7%; z-index: 1; width: min(240px, 60vw); rotate: -9deg; opacity: 0.92; }
.hp2 .phone { width: 100%; animation: floaty 8.5s ease-in-out 1s infinite alternate-reverse backwards; }
@keyframes floaty { from { translate: 0 0; } to { translate: 0 -14px; } }
@media (max-width: 1080px) { .hp2 { display: none; } .hp1 { margin: 0 auto; rotate: 3deg; } .hero-phones { min-height: auto; } }

.pane {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(24px, 4vw, 44px);
  background: radial-gradient(circle at 50% 42%, rgb(62 207 110 / 0.09), transparent 62%), var(--bg-raise);
}
.pane::before {
  content: ""; position: absolute; inset: -40%;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 52px, rgb(62 207 110 / 0.06) 52px 53px);
  pointer-events: none;
}
.pane .phone { width: min(240px, 70vw); transition: rotate 0.8s var(--ease); }
.tilt-r .phone { rotate: 4deg; }
.tilt-l .phone { rotate: -4deg; }
.pane:hover .phone { rotate: 0deg; }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.mq { display: flex; width: max-content; animation: mq 32s linear infinite; }
.mq span { font: 600 0.95rem var(--disp); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; padding-right: 2.2em; }
.mq em { font-style: normal; color: var(--acc); padding: 0 0.6em 0 0; }
@keyframes mq { to { translate: -50% 0; } }
.marquee:hover .mq, .marquee.paused .mq { animation-play-state: paused; }

.mdl .disc { transition: rotate 0.5s var(--ease), scale 0.5s var(--ease); }
.mdl:hover .disc { rotate: -7deg; scale: 1.08; }
.faq summary { transition: color var(--dur) var(--ease); }
.faq summary:hover { color: var(--ink-l); }

@media (prefers-reduced-motion: reduce) {
  .hp1 .phone, .hp2 .phone, .mq { animation: none !important; }
  .hero-phones { opacity: 1 !important; }
}

/* legal page */
.legal-page { max-width: 720px; margin: 0 auto; padding: 64px 0 var(--space-section); }
.legal-page h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
.legal-page h2 { font-size: 1.3rem; margin-top: 40px; letter-spacing: -0.01em; }
.legal-page p, .legal-page li { color: var(--muted); margin-top: 14px; }
.legal-page .updated { font-size: var(--fs-small); margin-top: 10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .resonance i { animation: none; opacity: 0.25; transform: scale(0.8); }
  .anim { transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .resonance i { animation: none !important; }
}
