/* ───────── Fonts (self-hosted, OFL) ───────── */
@font-face { font-family: "Fredoka"; src: url("/fonts/Fredoka-Variable-latin.woff2") format("woff2"); font-weight: 300 700; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Variable-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter-Italic-Variable-latin.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/JetBrainsMono-Variable-latin.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }

/* ───────── Tokens (from the brand kit) ───────── */
:root {
  --color-navy: #13294B;
  --color-navy-700: #1C3762;
  --color-navy-900: #0B1622;
  --color-seal: #F2643A;
  --orange-ink: #C4461E;
  --color-seal-deep: #C4461E;
  --color-seal-soft: #FFE6DC;
  --color-aqua: #3EC6E0;
  --color-verified: #16835A;
  --color-flagged: #9A6700;
  --color-flagged-soft: #FFF6E0;
  --color-issue: #C8372D;
  --color-paper: #F7F5F0;
  --color-line: #E3E1DA;
  --color-slate: #5B6573;
  --color-ink-light: #8FB0E0;
  --color-card-dark: #16243A;

  --font-display: "Fredoka", ui-rounded, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-serif: "Instrument Serif", Georgia, serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out-soft: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-stamp: cubic-bezier(0.2, 1.6, 0.4, 1);

  --shadow-card: 0 1px 2px rgb(19 41 75 / .06), 0 8px 24px -6px rgb(19 41 75 / .12);
  --shadow-float: 0 2px 4px rgb(19 41 75 / .06), 0 30px 60px -12px rgb(19 41 75 / .28);
  --shadow-pop: 10px 10px 0 0 var(--color-seal);
}

:root {
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.94rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.13rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.9vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.45rem + 1.6vw, 2.75rem);
  --step-4: clamp(2.2rem, 1.6rem + 2.8vw, 3.9rem);
  --step-5: clamp(2.7rem, 1.8rem + 4.4vw, 5.4rem);
  --step-6: clamp(3.2rem, 1.9rem + 6.4vw, 7.5rem);
}

html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
@media (max-width: 767px) {
  html { scroll-padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)); }
}
body { font-family: var(--font-sans); color: var(--color-navy); background: #fff; font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01", "ss03"; overflow-wrap: break-word; }
p, li { text-wrap: pretty; }
::selection { background: var(--color-seal); color: var(--color-navy); }
:focus-visible { outline: 3px solid var(--color-aqua); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--color-navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { left: 12px; }

/* ───────── Typography system ───────── */
h1, h2, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
h3, .t-h3 { font-family: var(--font-sans); font-weight: 640; letter-spacing: -0.02em; line-height: 1.25; font-size: 1.15rem; }
.t-hero { font-size: clamp(3.1rem, 1.4rem + 4.2vw, 5.6rem); font-weight: 650; letter-spacing: -0.045em; line-height: 0.9; max-width: 11ch; }
.t-h2 { font-size: clamp(2rem, 1.2rem + 2.2vw, 3.35rem); letter-spacing: -0.035em; line-height: 1.02; }
.t-lead { font-size: 1.125rem; line-height: 1.5; color: #33445F; text-wrap: pretty; max-width: 38rem; }
.eyebrow { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-seal-deep); display: inline-flex; align-items: center; gap: 0.55rem; }
.eyebrow::before { content: ""; width: 16px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--color-seal); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
/* Serif italic accent word: <em class="accent">record.</em> */
.accent, .accent-grad { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--orange-ink); padding-right: 0.08em; }
.on-dark .accent, .on-dark .accent-grad { color: var(--color-seal); }
.text-outline { -webkit-text-fill-color: transparent; -webkit-text-stroke: 2px currentColor; }
.text-outline-navy { -webkit-text-stroke: 2px var(--color-navy); color: transparent; }
.underline-wave { position: relative; white-space: nowrap; }
.underline-wave svg { position: absolute; left: 0; right: 0; bottom: -0.12em; width: 100%; height: .28em; overflow: visible; }
.underline-wave path { stroke-dasharray: 340; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .underline-wave path { stroke-dashoffset: 340; }
  .is-ready .underline-wave path { animation: draw 900ms var(--ease-out-expo) 1100ms forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.split-word { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; will-change: transform; }

/* ───────── Layout ───────── */
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; container: wrap / inline-size; }
.section { padding-block: 88px; position: relative; }
.section-tight { padding-block: 56px; }
.paper { background: var(--color-paper); }
.on-dark { background: var(--color-navy); color: #fff; }
.on-dark .t-lead { color: #CFD8E6; }

/* ───────── Buttons (with sheen) ───────── */
.btn { --h: 48px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: var(--h); padding-inline: 1.25rem; border-radius: 999px; font-family: var(--font-sans); font-weight: 650; font-size: 1rem; letter-spacing: -0.01em; text-decoration: none; transition: background-color 160ms var(--ease-out-expo), box-shadow 160ms var(--ease-out-expo), transform 120ms var(--ease-out-expo); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--color-navy); outline-offset: 3px; }
.btn-primary { background: var(--color-seal); color: var(--color-navy); box-shadow: 0 1px 0 rgb(255 255 255 / .5) inset, 0 10px 24px -8px rgb(242 100 58 / .7); }
.btn-primary:hover { box-shadow: 0 1px 0 rgb(255 255 255 / .5) inset, 0 16px 34px -10px rgb(242 100 58 / .85); }
.btn-ghost { background: #fff; color: var(--color-navy); box-shadow: 0 0 0 2px var(--color-navy) inset; }
.btn-navy { background: var(--color-navy); color: #fff; }
.btn-white { background: #fff; color: var(--color-navy); }
.btn-lg { --h: 60px; padding-inline: 2rem; font-size: 1.1rem; }
.btn-sm { --h: 42px; padding-inline: 1.15rem; font-size: .95rem; }
.sheen, .sheen-auto, .btn-primary { position: relative; overflow: hidden; }
.sheen::after, .sheen-auto::after, .btn-primary::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, #ffffff59 48%, transparent 66%); background-size: 220% 100%; background-position: var(--sheen-x, 120%) 0; }
.btn .arrow { transition: transform 260ms var(--ease-out-back); }
.btn:hover .arrow { transform: translateX(4px); }

/* ───────── Cards ───────── */
.card { position: relative; background: #fff; border: 1px solid var(--color-line); border-radius: 12px; box-shadow: var(--shadow-card); }
.card-lift:hover { border-color: var(--color-navy); }
.card-sheen::after { content: none; }
.problem { display: grid; gap: 48px; align-items: start; }
.pain { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 8px 20px; padding: 22px 0; border-top: 1px solid var(--color-line); }
.pain b { font-family: var(--font-mono); color: var(--color-seal-deep); }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 12px 20px; align-items: center; padding: 22px 0; border-top: 1px solid var(--color-line); }
.step .illo { grid-column: 2; max-block-size: 120px; inline-size: auto; justify-self: start; }
.step > div, .step > span { grid-column: 2; min-inline-size: 0; }
.index { display: grid; gap: 0 32px; }
.index li { list-style: none; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid var(--color-line); }
.index .mono { color: var(--color-seal-deep); font-size: 0.75rem; padding-top: 4px; }
.dir a { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--color-line); text-decoration: none; color: inherit; }
.dir img { inline-size: 112px; block-size: 84px; object-fit: contain; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; font-size: .95rem; color: #33445F; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; inline-size: 8px; block-size: 8px; background: var(--color-seal); flex: none; }
.band { container: band / inline-size; }
.cta { display: grid; gap: 20px; padding-block: 36px; padding-inline: 22px; }
@container wrap (inline-size > 48rem) {
  .problem { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .step { grid-template-columns: 4.5rem 160px minmax(0, 1fr); gap: 28px; }
  .step .illo, .step > div, .step > span { grid-column: auto; }
  .index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .industries { grid-template-columns: 1fr 1fr; }
}
@container band (inline-size > 42rem) {
  .cta { grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; padding-block: 56px; padding-inline: 40px; }
}
.chip { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1.5px solid var(--color-line); border-radius: 999px; padding: .5rem 1rem; font-weight: 550; font-size: .95rem; white-space: nowrap; }
.tilt-card { position: relative; overflow: hidden; transform-style: preserve-3d; transition: transform 180ms var(--ease-out-expo); box-shadow: 0 24px 48px -20px #13294B55; }
.tilt-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, #ffffff59 48%, transparent 66%); background-size: 220% 100%; background-position: var(--sheen-x, 120%) 0; }
.line-reveal .line { display: block; overflow: hidden; }
.line-reveal .line > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .line-reveal .line > span { transform: translateY(110%); }
  .line-reveal.is-in .line > span { transform: none; transition: transform 700ms cubic-bezier(.2,.8,.2,1); }
  .line-reveal.is-in .line:nth-child(2) > span { transition-delay: 70ms; }
  .line-reveal.is-in .line:nth-child(3) > span { transition-delay: 140ms; }
}
@media (prefers-reduced-motion: reduce) {
  .tilt-card { transform: none !important; }
}

/* ───────── Backgrounds: gradient mesh + grain + perforation ───────── */
.mesh { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.mesh::before, .mesh::after { content: ""; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(70px); opacity: .55; }
@media (prefers-reduced-motion: no-preference) {
  .mesh::before, .mesh::after { animation: drift 22s var(--ease-in-out-soft) infinite alternate; }
}
.mesh::before { background: radial-gradient(circle, rgb(242 100 58 / .35), transparent 62%); top: -25vmax; right: -18vmax; }
.mesh::after { background: radial-gradient(circle, rgb(62 198 224 / .28), transparent 62%); bottom: -30vmax; left: -20vmax; animation-delay: -8s; }
.mesh-dark::before { background: radial-gradient(circle, rgb(242 100 58 / .32), transparent 60%); }
.mesh-dark::after { background: radial-gradient(circle, rgb(62 198 224 / .22), transparent 60%); }
@keyframes drift { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-4vmax, 3vmax, 0) scale(1.08); } 100% { transform: translate3d(3vmax, -2vmax, 0) scale(.96); } }
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .07; mix-blend-mode: multiply; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='128' height='128'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); background-size: 128px 128px; }
.dots { background-image: radial-gradient(rgb(19 41 75 / .09) 1.2px, transparent 1.3px); background-size: 22px 22px; }
.perf-top { position: relative; }
.perf-top::before { content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 12px; background: radial-gradient(circle at 12px 0, transparent 7px, var(--perf-color, var(--color-navy)) 7.5px) 0 0 / 24px 12px repeat-x; }
.stamp-edge { --perf: var(--color-paper); padding: 14px; border-radius: 26px; background: radial-gradient(circle at 12px 12px, var(--perf) 7px, transparent 7.5px) -12px -12px / 24px 24px, var(--color-navy); }

/* ───────── Postmark + ink ───────── */
.postmark { position: absolute; width: 150px; aspect-ratio: 1; pointer-events: none; transform: rotate(-12deg); filter: drop-shadow(0 6px 10px rgb(194 65 12 / .18)); }
.ink-splat { position: absolute; width: 230px; aspect-ratio: 1; pointer-events: none; opacity: 0; }

/* ───────── Marquee ───────── */
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; padding-right: 14px; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 38s linear infinite; }
  .marquee-rev { animation-duration: 52s; animation-direction: reverse; }
  .marquee:hover .marquee-track,
  .marquee-region.is-paused .marquee-track,
  .marquee-region:focus-within .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-100%); } }

/* ───────── Reveal (JS adds .in) ───────── */
[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal].in { opacity: 1; transform: none; transition: opacity 800ms var(--ease-out-expo), transform 900ms var(--ease-out-expo); transition-delay: var(--d, 0ms); }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ───────── Hero phone + report ───────── */
.phone { width: 268px; border-radius: 42px; padding: 11px; background: linear-gradient(160deg, #1E3A66, var(--color-navy) 40%, #0E1F3A); box-shadow: var(--shadow-float), 0 0 0 1.5px rgb(255 255 255 / .08) inset; }
.phone-screen { background: #fff; border-radius: 32px; overflow: hidden; font-size: 12.5px; }
.check { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--color-line); display: grid; place-items: center; color: #fff; font-size: 11px; flex: none; transition: background-color 240ms, border-color 240ms; }
.check.done { background: var(--color-verified); border-color: var(--color-verified); }
.check.flag { background: var(--color-flagged); border-color: var(--color-flagged); }
.photo { position: relative; border-radius: 12px; overflow: clip; }
.photo img { inline-size: 100%; block-size: 100%; object-fit: cover; display: block; }
.photo .tag { position: absolute; left: 6px; top: 6px; background: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .05em; padding: 2px 7px; border-radius: 999px; text-transform: uppercase; }
.photo .ts { position: absolute; left: 6px; bottom: 6px; background: rgb(19 41 75 / .86); color: #fff; font: 600 10px var(--font-mono); padding: 2px 6px; border-radius: 5px; }
.photo .flash { position: absolute; inset: 0; background: #fff; opacity: 0; }
.browser { width: min(620px, 100%); border-radius: 18px; background: #fff; border: 1px solid var(--color-line); box-shadow: var(--shadow-float); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #EEF0F3; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }

/* ───────── FAQ ───────── */
details.faq { border-radius: 18px; background: #fff; border: 1.5px solid var(--color-line); transition: box-shadow 300ms, border-color 300ms; }
details.faq[open] { box-shadow: var(--shadow-card); border-color: #D6D3CA; }
details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem; font-weight: 650; font-size: 1.08rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq .plus { width: 30px; height: 30px; border-radius: 50%; background: var(--color-seal-soft); color: var(--color-seal-deep); display: grid; place-items: center; transition: transform 300ms var(--ease-out-back); flex: none; }
details.faq[open] .plus { transform: rotate(45deg); }
details.faq .answer { padding: 0 1.4rem 1.2rem; color: var(--color-slate); }

/* ───────── Sticky mobile CTA ───────── */
.mobile-cta { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .92); backdrop-filter: blur(12px); border-top: 1px solid var(--color-line); transform: translateY(110%); transition: transform 400ms var(--ease-out-expo); }
.mobile-cta .btn { flex: 1; }
.mobile-cta.show { transform: none; }
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* ───────── Nav ───────── */
.nav { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 1px 0 var(--color-line); }
.nav-link { position: relative; font-weight: 550; font-size: .97rem; padding: .4rem 0; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-seal); transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease-out-expo); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ───────── View transitions ───────── */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: 220ms var(--ease-in-out-soft) both vt-out; }
  ::view-transition-new(root) { animation: 380ms var(--ease-out-expo) both vt-in; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* Reduced motion is opt-in per effect. Color changes stay. Spatial motion does not. */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .underline-wave path { stroke-dashoffset: 0 !important; }
  .marquee-pause { display: none; }
}

a { color: inherit; }
img { max-width: 100%; height: auto; }
.btn, .chip, .nav-link, a.card, a.card:hover, a.card * { text-decoration: none; }
.illo { width: 100%; height: auto; object-fit: contain; display: block; background: transparent; }
.illo-frame { min-width: 0; background: #fff; border-radius: 28px; padding: 10px; }
.feature-row, .feature-row > * { min-width: 0; }
.feature-row .illo { max-block-size: 280px; inline-size: auto; margin-inline: auto; }
.industries { display: grid; gap: 0 48px; }
.industries a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--color-line); text-decoration: none; color: inherit; }
.industries img { inline-size: 96px; block-size: 72px; object-fit: contain; }
.price-card { padding: clamp(22px, 4vw, 36px); border: 1px solid var(--color-line); border-radius: 12px; box-shadow: var(--shadow-pop); color: var(--color-navy); background: #fff; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0; }
.price-card li { padding: 10px 0; border-top: 1px solid var(--color-line); }
.report { background: #fff; border: 1px solid var(--color-line); padding: clamp(20px, 4vw, 40px); container: report / inline-size; position: relative; }
.stats { display: grid; grid-template-columns: 1fr 1fr; margin: 18px 0; border-top: 1px solid var(--color-line); }
.stats div { padding: 12px 14px; border-bottom: 1px solid var(--color-line); }
.stats dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-slate); }
.stats dd { margin: 4px 0 0; font-weight: 650; }
@container report (inline-size > 36rem) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stats div { border-bottom: 0; } }
.room-list { list-style: none; padding: 0; margin: 14px 0 0; }
.room-list li { padding: 8px 0; border-bottom: 1px solid var(--color-line); }
.lead-form { display: grid; gap: 1.25rem; max-inline-size: 34rem; }
.lead-form .e-input, .lead-form .e-float-input input, .lead-form .e-float-input textarea, .lead-form textarea { font: inherit; font-size: max(1rem, 1em); }
.lead-form .e-checkbox-wrapper { min-block-size: 44px; display: flex; align-items: center; }
.form-error { margin: 0; padding: 12px 14px; background: #FDECEC; color: var(--color-issue); }
.form-error:focus { outline: 3px solid var(--color-issue); }
.nav-links, .nav-login { display: none; }
.nav-links { list-style: none; margin: 0; padding: 0; align-items: center; gap: 22px; }
.nav-toggle { display: inline-flex; }
@media (min-width: 640px) { .nav-login { display: inline; } }
@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none !important; }
}
.menu-panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 70; min-width: 240px; padding: 12px; background: #fff; border: 1.5px solid var(--color-line); border-radius: 18px; box-shadow: var(--shadow-float); }
.menu-panel.menu-mega { display: grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap: 4px; width: min(640px, 72vw); padding: 14px; }
.menu-panel a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.menu-panel a img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: var(--color-paper); flex: none; }
.menu-panel a:hover { background: var(--color-paper); text-decoration: none; }
.try-short { display: none; }
@media (max-width: 720px) {
  .try-full { display: none; }
  .try-short { display: inline; }
  .nav .wrap { height: 64px; }
}
.nav-item { position: relative; }
.nav-item > summary { list-style: none; cursor: pointer; }
.nav-item > summary::-webkit-details-marker { display: none; }
.feature-row { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feature-row[data-flip] > :first-child { order: 2; }
  [data-pricing-grid] { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}
@media (min-width: 1024px) { [data-hero-grid] { grid-template-columns: 1fr 1.08fr; } }
@media (max-width: 1023px) { [data-hero-visual] { min-height: 600px; max-width: 640px; margin-inline: auto; width: 100%; } }
@media (max-width: 640px) {
  [data-hero-report] { display: none; }
  [data-hero-visual] { position: relative; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
  [data-hero-phone], [data-hero-toast] { position: relative !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; }
  [data-hero-toast] { width: min(100%, 320px); }
  [data-hero] .btn-lg { width: 100%; }
}
.hero-done [data-hero-word] { transform: none !important; }
.hero-done [data-hero-fade],
.hero-done [data-hero-report],
.hero-done [data-hero-phone],
.hero-done [data-hero-toast],
.hero-done [data-hero-stamp],
.hero-done [data-hero-splat] { opacity: 1 !important; }
.e-sidebar.e-over { inline-size: 100% !important; max-inline-size: 100dvw !important; }
.e-sidebar.e-close { transform: none !important; }
.sheet a { color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 1.45rem; display: block; padding: 8px 0; min-block-size: 44px; }
.prose { max-width: 72ch; }
.page-hero { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .page-hero { grid-template-columns: 1.05fr .95fr; } }
.receipt { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em; padding: 14px 8px; border-block: 1px dashed var(--color-line); }
.pin { display: grid; gap: 28px; }
@media (min-width: 900px) { .pin { grid-template-columns: .85fr 1.15fr; } .pin-visual { position: sticky; top: 18vh; align-self: start; } }
.cap-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.toc { display: grid; gap: 28px; }
@media (min-width: 960px) { .toc { grid-template-columns: 220px minmax(0, 72ch); } .toc nav { position: sticky; top: 96px; align-self: start; } }
.toc a { display: block; padding: 6px 0 6px 10px; border-left: 2px solid var(--color-line); text-decoration: none; }
.note { border: 1.5px dashed var(--color-seal); background: var(--color-seal-soft); padding: 12px 14px; }
.legal h2 { scroll-margin-top: 96px; font-size: 1.35rem; }
.menu-cols { display: grid; gap: 12px; }
@media (min-width: 900px) { .menu-panel.menu-mega { width: min(860px, 86vw); grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.prose p, .prose li { color: #33445F; }
.e-accordion { border: 0 !important; border-top: 1px solid var(--color-line) !important; background: transparent !important; box-shadow: none !important; }
.e-accordion .e-acrdn-item { margin: 0; border: 0 !important; border-bottom: 1px solid var(--color-line) !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
.e-accordion .e-acrdn-header,
.e-accordion .e-acrdn-header:hover,
.e-accordion .e-acrdn-header:focus,
.e-accordion .e-acrdn-item.e-selected > .e-acrdn-header,
.e-accordion .e-acrdn-item.e-select > .e-acrdn-header,
.e-accordion .e-acrdn-item.e-active > .e-acrdn-header { background: transparent !important; box-shadow: none !important; min-block-size: 48px; color: var(--color-navy) !important; }
.e-accordion .e-acrdn-header-content,
.e-accordion .e-acrdn-header .e-toggle-icon,
.e-accordion .e-acrdn-header .e-icons { color: var(--color-navy) !important; font-weight: 650; }
.e-accordion .e-acrdn-panel,
.e-accordion .e-acrdn-content { background: transparent !important; color: var(--color-slate) !important; }
.bill-switch.e-switch-wrapper { font-family: var(--font-sans); }
.bill-switch.e-switch-wrapper .e-switch-on,
.bill-switch.e-switch-wrapper.e-switch-active .e-switch-inner,
.e-slider .e-range { background: var(--color-seal) !important; border-color: var(--color-seal) !important; }
.e-slider .e-handle { background: #fff !important; border: 2px solid var(--color-seal) !important; }
@media (pointer: coarse) {
  .nav-link, .nav-item > summary { min-block-size: 44px; display: inline-flex; align-items: center; }
}

.launch-bar { background: var(--color-navy); color: #fff; text-align: center; padding: 10px 16px; }
.launch-bar a { color: var(--color-seal); }
.spot { display: none; position: absolute; width: 600px; height: 600px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgb(242 100 58 / .18), transparent 68%); mix-blend-mode: soft-light; }
.on-dark > .spot { mix-blend-mode: screen; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .spot { display: block; }
}

.mess { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; position: relative; }
.mess img { width: 100%; height: 72px; object-fit: cover; border-radius: 10px; }
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .mess { view-timeline: --mess block; }
    .mess img {
      animation: settle linear both;
      animation-timeline: --mess;
      animation-range: entry 0% cover 45%;
    }
  }
}
@keyframes settle {
  from { transform: rotate(var(--r, 0deg)) translate(var(--x, 0), var(--y, 0)); }
  to { transform: none; }
}

.story-grid { display: grid; gap: 28px; }
.story-visual { display: none; }
.story-mobile { border-radius: 24px; margin-bottom: 12px; }
.story-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 28px; }
@media (min-width: 900px) {
  .story-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .story-visual { display: block; position: sticky; top: 18vh; }
  .story-layer { display: none; }
  .story-layer:first-child { display: block; }
  .story-mobile { display: none; }
  .story-steps li { min-height: 70vh; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .story { timeline-scope: --s1, --s2, --s3, --rail; }
    .story-steps { view-timeline: --rail block; }
    .story-steps li:nth-child(1) { view-timeline: --s1 block; }
    .story-steps li:nth-child(2) { view-timeline: --s2 block; }
    .story-steps li:nth-child(3) { view-timeline: --s3 block; }
    .story-layer { display: block; position: absolute; inset: 0; opacity: 0; }
    .story-visual { min-height: 320px; }
    .story-layer:nth-child(1) { animation: story-on linear both; animation-timeline: --s1; animation-range: entry 0% exit 20%; }
    .story-layer:nth-child(2) { animation: story-on linear both; animation-timeline: --s2; animation-range: entry 0% exit 20%; }
    .story-layer:nth-child(3) { animation: story-on linear both; animation-timeline: --s3; animation-range: entry 0% exit 20%; }
    .story-rail { position: absolute; left: -16px; top: 0; bottom: 0; width: 2px; background: rgb(242 100 58 / .25); }
    .story-rail span { display: block; height: 100%; background: var(--color-seal); transform: scaleY(0); transform-origin: top; animation: rail linear both; animation-timeline: --rail; }
  }
}
@keyframes story-on { 0%, 100% { opacity: 0; } 30%, 70% { opacity: 1; } }
@keyframes rail { to { transform: scaleY(1); } }
@keyframes stamp-in {
  from { transform: scale(2.6) rotate(-34deg); opacity: 0; }
  62% { transform: scale(.88) rotate(-10deg); opacity: 1; }
  to { transform: scale(1) rotate(-12deg); opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .stamp-moment { animation: stamp-in 620ms cubic-bezier(.2, 1.4, .4, 1) both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}

.ba-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 18px; }
.ba-base, .ba-after img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-after { position: absolute; inset: 0; overflow: hidden; }
.ba input[type="range"] { inline-size: 100%; accent-color: var(--color-seal); min-block-size: 44px; }
.demo { display: grid; gap: 14px; margin-top: 16px; }
.demo fieldset { border: 1.5px solid var(--color-line); border-radius: 16px; display: grid; gap: 10px; padding: 14px; }
.demo label { display: flex; gap: 10px; align-items: center; min-block-size: 44px; }
.demo select { font: inherit; font-size: max(1rem, 1em); min-block-size: 48px; }
.demo-out { padding: 14px; }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
