/* GlissTouch site. Values follow .claude/skills/landing-page-design (Tailwind type scale, spacing table, flat dark backgrounds). */
@font-face { font-family: Geist; src: url("/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #050810; --card: rgba(255, 255, 255, .045); --raised: rgba(255, 255, 255, .07); --high: rgba(255, 255, 255, .1);
  --line: rgba(255, 255, 255, .08); --line-strong: rgba(255, 255, 255, .14);
  --text: #F5F5F7; --muted: #A1A1A6; --dot-grey: #8E8E93;
  --accent: #0A84FF; --accent-soft: rgba(10, 132, 255, .28); --button: #0071E3; --button-hover: #0062C4;
  --gold: #FFD36E;
  --ease: cubic-bezier(.32, .72, 0, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); }
/* Background (user request: gradient, then Liquid Glass): a fixed layer of accent-blue glows that the glass slides over
   as the page scrolls. A fixed pseudo-element, not background-attachment: fixed, which iOS ignores. */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background:
    radial-gradient(60vmax 44vmax at 88% 4%, rgba(10, 132, 255, .5), transparent 70%),
    radial-gradient(44vmax 36vmax at 0 48%, rgba(48, 150, 255, .22), transparent 70%),
    radial-gradient(52vmax 36vmax at 24% 108%, rgba(10, 90, 220, .34), transparent 70%),
    linear-gradient(180deg, #08142A, #050810 55%, #07122A); }
/* Three fingertips resting on the top edge of the hero's glass card: sharp above it, blurred through it. */
.stage-wrap { position: relative; }
.stage-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: -80px; height: 160px; z-index: -1; pointer-events: none; background:
    radial-gradient(circle at 24% 96px, #5AB2FF 0 44px, rgba(10, 132, 255, .3) 45px 52px, transparent 53px),
    radial-gradient(circle at 50% 72px, #5AB2FF 0 44px, rgba(10, 132, 255, .3) 45px 52px, transparent 53px),
    radial-gradient(circle at 76% 96px, #5AB2FF 0 44px, rgba(10, 132, 255, .3) 45px 52px, transparent 53px); }
body { margin: 0; color: var(--text); font: 400 16px/24px Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 4px; }
a:hover, a:focus-visible { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
svg { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -64px; z-index: 30; padding: 8px 12px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 600; transition: top .7s var(--ease); }
.skip:focus { top: 16px; }
.wrap { max-width: 1168px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid transparent; border-radius: 12px; font: 600 16px/24px Geist, system-ui, sans-serif; color: var(--text); text-decoration: none; cursor: pointer; transition: background-color .7s var(--ease), transform .7s var(--ease), border-color .7s var(--ease); }
.btn:hover, .btn:focus-visible { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; }
.btn-primary { color: #FFFFFF; }
/* Tinted glass, opaque enough that white text keeps ≥ 4.5:1 over any backdrop. */
.btn.btn-primary { background: rgba(0, 113, 227, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 24px rgba(0, 113, 227, .35); }
.btn.btn-primary:hover { background: rgba(0, 98, 196, .94); }
.btn-quiet:hover { background: rgba(255, 255, 255, .12); }
.btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn[aria-disabled="true"]:hover { background: rgba(255, 255, 255, .06); }
.btn-wide { width: 100%; }

/* Island nav */
.nav { position: fixed; top: 24px; left: 50%; z-index: 20; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 16px; border: 1px solid transparent; border-radius: 999px; background: rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 16px 48px rgba(0, 0, 0, .32); }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font: 600 14px/20px Geist, system-ui, sans-serif; }
.brand:hover { text-decoration: none; }
.brand svg { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.nav-links a { position: relative; color: var(--muted); font: 500 14px/20px Geist, system-ui, sans-serif; transition: color .7s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.nav { transition: background-color .7s var(--ease), padding .7s var(--ease), border-color .7s var(--ease); }
.nav.scrolled { padding-top: 4px; padding-bottom: 4px; background: rgba(12, 18, 32, .55); }
.nav .btn { min-height: 36px; padding: 8px 12px; border-radius: 999px; font-size: 14px; line-height: 20px; }
.nav .btn svg { width: 16px; height: 16px; }
.menu-toggle { display: none; position: relative; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--raised); cursor: pointer; }
.menu-toggle span { position: absolute; left: 12px; width: 16px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .7s var(--ease), top .7s var(--ease); }
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 23px; }
.menu-open .menu-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 19px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 15; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 96px 24px; background: rgba(5, 8, 16, .8); -webkit-backdrop-filter: blur(64px); backdrop-filter: blur(64px); opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .7s var(--ease); }
.menu a { color: var(--text); font: 600 30px/36px Geist, system-ui, sans-serif; opacity: 0; transform: translateY(48px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.menu-open .menu a { opacity: 1; transform: none; }
.menu a:nth-child(1) { transition-delay: .1s; } .menu a:nth-child(2) { transition-delay: .15s; }
.menu a:nth-child(3) { transition-delay: .2s; } .menu a:nth-child(4) { transition-delay: .25s; }
.menu .btn { align-self: flex-start; margin-top: 16px; font-size: 16px; line-height: 24px; color: #FFFFFF; }

/* Sections */
section { padding: 96px 0; }
.h2 { font-size: 36px; line-height: 40px; letter-spacing: -.01em; }
.lead { margin-top: 16px; color: var(--muted); font-size: 18px; line-height: 28px; max-width: 680px; }
.card { border: 1px solid transparent; border-radius: 16px; }

/* Liquid Glass (user request): frosted fill + backdrop blur and saturation, a light rim that's brightest top left,
   an inner top highlight, and a sheen that follows the pointer (site.js sets --mx/--my). */
.card, .qs details, .btn-quiet, .btn-primary { position: relative; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(255, 255, 255, .05), 0 16px 48px rgba(0, 0, 0, .32); }
.card::before, .qs details::before, .btn::before, .nav::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .1) 38%, rgba(255, 255, 255, .04) 62%, rgba(255, 255, 255, .24));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.card::after, .qs details::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: .5;
  background: radial-gradient(480px circle at var(--mx, 30%) var(--my, 0), rgba(255, 255, 255, .1), transparent 60%); transition: opacity .7s var(--ease); }
.card:hover::after, .qs details:hover::after { opacity: 1; }

/* Hero */
.hero { padding-top: calc(96px + 64px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero h1 { max-width: 680px; font-size: 60px; line-height: 1; letter-spacing: -.025em; }
.hero h1 .ln { display: block; width: fit-content; background: linear-gradient(90deg, #FFFFFF, #9B9B9B); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Load sequence: headline lines, then copy, then the stage rise out of a blur. */
.rise { animation: rise .8s var(--ease) backwards; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(32px); filter: blur(8px); } }
.hero .lead { margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.meta { color: var(--muted); font-size: 14px; line-height: 20px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 32px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; line-height: 20px; }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof svg { width: 16px; height: 16px; color: var(--accent); }
.stage { padding: 24px; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease); }
.stage > svg { width: 100%; height: auto; }
.captions { position: relative; height: 44px; margin-top: 16px; }
.cap { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 20px; color: var(--muted); opacity: 0; }
.cap b { font-weight: 500; color: var(--text); }
.cap .act { margin-left: auto; padding: 8px 12px; border-radius: 999px; background: var(--high); color: var(--text); font-weight: 500; white-space: nowrap; }
.cap svg { width: 16px; height: 16px; flex: none; }

/* Hero animation: one 12 s loop, three scenes of 4 s. */
.stage * { transform-box: fill-box; }
.anim { animation: 12s var(--ease) infinite; }
.cap.a { animation-name: capA; } .cap.b { animation-name: capB; } .cap.c { animation-name: capC; }
@keyframes capA { 0%, 2% { opacity: 0; } 5%, 29% { opacity: 1; } 32%, 100% { opacity: 0; } }
@keyframes capB { 0%, 35% { opacity: 0; } 38%, 62% { opacity: 1; } 65%, 100% { opacity: 0; } }
@keyframes capC { 0%, 68% { opacity: 0; } 71%, 96% { opacity: 1; } 99%, 100% { opacity: 0; } }
/* A: hold one, tap another on its left → Back */
.restA { opacity: 0; animation-name: restA; }
@keyframes restA { 0%, 3% { opacity: 0; transform: scale(.6); } 6%, 27% { opacity: 1; transform: none; } 31%, 100% { opacity: 0; transform: none; } }
.tapA { opacity: 0; transform-origin: center; animation-name: tapA; }
@keyframes tapA { 0%, 10% { opacity: 0; transform: scale(.6); } 12%, 16% { opacity: 1; transform: none; } 19%, 100% { opacity: 0; transform: scale(.9); } }
.ringA { opacity: 0; transform-origin: center; animation-name: ringA; }
@keyframes ringA { 0%, 13% { opacity: 0; transform: scale(.65); } 14% { opacity: .8; transform: scale(.65); } 22%, 100% { opacity: 0; transform: scale(1.6); } }
.pageOld { animation-name: pageOld; }
@keyframes pageOld { 0%, 15% { opacity: 1; transform: none; } 19% { opacity: 0; transform: translateX(48px); } 97% { opacity: 0; transform: translateX(-24px); } 100% { opacity: 1; transform: none; } }
.pageBack { opacity: 0; animation-name: pageBack; }
@keyframes pageBack { 0%, 16% { opacity: 0; transform: translateX(-48px); } 21%, 84% { opacity: 1; transform: none; } 87%, 100% { opacity: 0; transform: none; } }
.backBtn { animation-name: backBtn; }
@keyframes backBtn { 0%, 14% { fill: var(--muted); } 15%, 22% { fill: var(--accent); } 26%, 100% { fill: var(--muted); } }
/* B: hold two, tap a third on their left → Switch tabs left */
.restB { opacity: 0; transform-origin: center; animation-name: restB; }
@keyframes restB { 0%, 36% { opacity: 0; transform: scale(.6); } 39%, 60% { opacity: 1; transform: none; } 64%, 100% { opacity: 0; transform: none; } }
.tapB { opacity: 0; transform-origin: center; animation-name: tapB; }
@keyframes tapB { 0%, 44% { opacity: 0; transform: scale(.6); } 46%, 50% { opacity: 1; transform: none; } 53%, 100% { opacity: 0; transform: scale(.9); } }
.ringB { opacity: 0; transform-origin: center; animation-name: ringB; }
@keyframes ringB { 0%, 47% { opacity: 0; transform: scale(.65); } 48% { opacity: .8; transform: scale(.65); } 56%, 100% { opacity: 0; transform: scale(1.6); } }
.tabOn { animation-name: tabOn; }
@keyframes tabOn { 0%, 48% { transform: none; } 53%, 96% { transform: translateX(-132px); } 100% { transform: none; } }
/* C: three fingers draw a check → Open Notes */
.drawC { opacity: 0; animation-name: drawC; }
@keyframes drawC { 0%, 68% { opacity: 0; transform: none; } 71%, 73% { opacity: 1; transform: none; } 77.5% { transform: translate(40px, 40px); } 87% { opacity: 1; transform: translate(130px, -50px); } 91%, 100% { opacity: 0; transform: translate(130px, -50px); } }
.strokeC { stroke-dasharray: 184; stroke-dashoffset: 184; animation-name: strokeC; }
@keyframes strokeC { 0%, 73% { stroke-dashoffset: 184; opacity: 1; } 87% { stroke-dashoffset: 0; opacity: 1; } 93%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.browser { animation-name: browser; }
@keyframes browser { 0%, 84% { opacity: 1; } 87%, 97% { opacity: 0; } 100% { opacity: 1; } }
.notes { opacity: 0; animation-name: notes; }
@keyframes notes { 0%, 87% { opacity: 0; transform: scale(.96); } 90%, 96% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }

/* Problem → solution */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.compare { display: grid; gap: 16px; }
.compare .card { padding: 32px; }
.compare .card.with { background: rgba(255, 255, 255, .1); }
.label { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 500 14px/20px Geist, system-ui, sans-serif; }
.label i { width: 8px; height: 8px; border-radius: 50%; background: var(--dot-grey); }
.with .label i { background: var(--accent); }
.compare p { margin-top: 12px; font-size: 20px; line-height: 28px; }
kbd { font: 500 16px/24px Geist, system-ui, sans-serif; padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--high); }

/* Benefits bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.bento .card { display: flex; flex-direction: column; gap: 24px; padding: 32px; }
.bento .wide { grid-column: span 2; }
.bento h3 { font-size: 20px; line-height: 28px; }
.bento p { margin-top: 8px; color: var(--muted); }
.mini { width: 100%; max-width: 280px; height: auto; }
.rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rows li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 12px; border-radius: 8px; background: var(--raised); font-size: 14px; line-height: 20px; }
.rows li span:last-child { color: var(--muted); }
/* In view: the rest + tap ring pulses, the drawn line draws, the action rows take turns, the CPU line draws flat. */
.loop { animation: 2.4s var(--ease) infinite; }
.pulse { transform-box: fill-box; transform-origin: center; }
.js .pulse { opacity: 0; }
.in .pulse { animation-name: pulse; }
@keyframes pulse { 0% { opacity: .8; transform: scale(.65); } 70%, 100% { opacity: 0; transform: scale(1.8); } }
.js .drawn { stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.in .drawn { stroke-dashoffset: 0; }
.pop { transform-box: fill-box; transform-origin: center; }
.js .pop { opacity: 0; transform: scale(.4); transition: opacity .7s var(--ease) 1.5s, transform .7s var(--ease) 1.5s; }
.in .pop { opacity: 1; transform: none; }
.rows li { transition: background-color .7s var(--ease); }
.in .rows li { animation: row 8s var(--ease) infinite; animation-delay: calc(var(--i) * 2s); }
.rows li.on { background: var(--raised); }
@keyframes row { 0%, 22% { background: rgba(10, 132, 255, .18); } 27%, 100% { background: var(--raised); } }
.spark { width: 100%; height: 48px; margin-top: 24px; }
.js .spark path { stroke-dasharray: 2000; stroke-dashoffset: 2000; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.in .spark path { stroke-dashoffset: 0; }
.stat { font-size: 60px; line-height: 1; font-weight: 600; letter-spacing: -.025em; }
.stat small { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 20px; font-weight: 400; letter-spacing: 0; }

/* App screenshot (user request; replaced the three steps). Glass frame, nested radius 24 − 8 = 16. */
.shot { margin: 48px 0 0; padding: 8px; border-radius: 24px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 16px; }
.js .shot.reveal:not(.in) { transform: translateY(64px) scale(.96); }

/* Tagline reveal */
.tagline p { max-width: 680px; font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.tagline .w { transition: opacity .7s var(--ease); }
.js .tagline .w { opacity: .3; }
.js .tagline .w.on { opacity: 1; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 880px; margin-top: 48px; }
.plan { display: flex; flex-direction: column; gap: 24px; padding: 32px; }
.plan.pro::before { background: linear-gradient(135deg, rgba(255, 211, 110, .8), rgba(255, 211, 110, .16) 40%, rgba(255, 211, 110, .06) 62%, rgba(255, 211, 110, .4)); }
.plan header { display: flex; align-items: center; justify-content: space-between; }
.plan h3 { font-size: 20px; line-height: 28px; }
.tag { padding: 2px 8px; border-radius: 999px; background: var(--gold); color: #000000; font: 600 12px/16px Geist, system-ui, sans-serif; }
.price { font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -.02em; }
.price small { margin-left: 8px; color: var(--muted); font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: 0; }
.ticks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 12px; }
.ticks svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.pro .ticks svg { color: var(--gold); }
.plan .btn { margin-top: auto; }
.fine { margin-top: 24px; color: var(--muted); font-size: 14px; line-height: 20px; }

/* FAQ */
.faq .wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.qs { display: grid; gap: 8px; }
.qs details { border: 1px solid transparent; border-radius: 16px; transition: background-color .7s var(--ease); }
.qs details[open] { background: rgba(255, 255, 255, .1); }
.qs summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px; font-size: 18px; line-height: 28px; font-weight: 500; cursor: pointer; list-style: none; border-radius: 16px; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary svg { flex: none; width: 20px; height: 20px; color: var(--muted); transition: transform .7s var(--ease); }
.qs details[open] summary svg { transform: rotate(45deg); }
.qs details p { padding: 0 24px 24px; color: var(--muted); }
code { font: 500 14px/20px Geist, system-ui, sans-serif; padding: 2px 4px; border-radius: 4px; background: var(--high); color: var(--text); }

/* Final CTA */
.final .card { padding: 80px 32px; border-radius: 24px; text-align: center; }
.final .h2 { font-size: 48px; line-height: 1; }
.final .cta-row { justify-content: center; flex-direction: column; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot nav a, .foot small { color: var(--muted); font-size: 14px; line-height: 20px; }
.foot nav a:hover, .foot nav a[aria-current="page"] { color: var(--text); }

/* Legal pages */
.legal { display: grid; grid-template-columns: 200px minmax(0, 680px); gap: 64px; justify-content: center; padding: calc(96px + 64px) 24px 96px; }
.toc { position: sticky; top: 120px; align-self: start; display: grid; gap: 8px; font-size: 14px; line-height: 20px; }
.toc b { margin-bottom: 4px; font-weight: 500; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--text); }
.doc h1 { font-size: 48px; line-height: 1; letter-spacing: -.02em; }
.doc .eff { margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 20px; }
.doc h2 { margin-top: 48px; font-size: 24px; line-height: 32px; }
.doc p, .doc li { margin-top: 12px; color: var(--muted); }
.doc ul { padding-left: 24px; margin: 0; }
.doc strong { color: var(--text); font-weight: 500; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font: 500 14px/20px Geist, system-ui, sans-serif; }
.back svg { width: 16px; height: 16px; }

/* 404 */
.lost { min-height: 100vh; display: grid; place-items: center; padding: 160px 24px 96px; text-align: center; }
.lost svg.pad404 { width: 280px; height: auto; margin: 0 auto 48px; }
.lost h1 { font-size: 48px; line-height: 1; letter-spacing: -.02em; }
.lost p { margin-top: 16px; color: var(--muted); font-size: 18px; line-height: 28px; }
.lost .btn { margin-top: 32px; }
.ring404 { transform-box: fill-box; transform-origin: center; animation: ring404 2.4s var(--ease) infinite; }
@keyframes ring404 { 0% { opacity: .8; transform: scale(.65); } 70%, 100% { opacity: 0; transform: scale(2.2); } }

/* Scroll reveal (only with JS, so nothing is hidden without it) */
.js .reveal { opacity: 0; transform: translateY(64px); filter: blur(12px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.reveal { transition-delay: var(--d, 0ms); }
/* Lazy rendering: sections below the hero aren't laid out or painted until they come near the screen (only with JS, which fixes jump links). */
.js main > section:not(.hero) { content-visibility: auto; contain-intrinsic-size: auto 800px; }
/* Jump links need real heights to land on their target (site.js and the <head> script set .full). */
.js.full main > section:not(.hero) { content-visibility: visible; }
/* Paused while off screen (site.js toggles .off). */
.off .anim, .off .loop, .off .rows li { animation-play-state: paused; }
/* FAQ answers slide open where the browser can animate to auto height. */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .qs details::details-content { block-size: 0; overflow: hidden; transition: block-size .7s var(--ease), content-visibility .7s var(--ease) allow-discrete; }
  .qs details[open]::details-content { block-size: auto; }
}

@media (max-width: 1023px) {
  .legal { grid-template-columns: minmax(0, 680px); }
  .toc { position: static; }
}
@media (max-width: 899px) {
  .hero .wrap, .split, .faq .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento .wide { grid-column: auto; }
  .plans { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: calc(96px + 32px); }
  .hero h1 { font-size: 36px; line-height: 40px; }
  .h2 { font-size: 30px; line-height: 36px; }
  .tagline p, .final .h2, .doc h1, .lost h1 { font-size: 36px; line-height: 40px; }
  .stage { padding: 16px; }
  .cap { flex-wrap: wrap; gap: 4px 8px; }
  .cap .act { margin-left: 0; }
  .captions { height: 72px; }
  .legal { padding: calc(96px + 32px) 16px 64px; }
  .final .card { padding: 64px 24px; }
  .nav { gap: 16px; }
  .js .nav-links, .js .nav > .btn { display: none; }
  .js .menu-toggle { display: block; }
  .nav-links { display: none; }
}
/* Reduce Transparency: solid surfaces, no blur, no sheen (spec §6 asks the same of the app). */
@media (prefers-reduced-transparency: reduce) {
  .card, .qs details, .btn-quiet, .nav, .nav.scrolled, .menu { -webkit-backdrop-filter: none; backdrop-filter: none; background: #121a2b; }
  .qs details[open], .compare .card.with { background: #18223a; }
  .card::after, .qs details::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .tagline .w, .js .pop { opacity: 1; transform: none; filter: none; }
  .stage { transform: none; }
  .js .drawn, .js .spark path { stroke-dashoffset: 0; }
  .cap.a, .restA, .tapA, .pageBack { opacity: 1; }
  .ringA { opacity: .5; transform: scale(1.1); }
  .pageOld { opacity: 0; }
  .ring404 { opacity: .5; transform: scale(1.4); }
}
