/* Clipis landing page. White page, near-black ink, indigo accent (the app keeps its warm paper). */
@font-face { font-family: "Geist"; font-weight: 500; font-display: swap; src: url("assets/fonts/Geist-Medium.ttf") format("truetype"); }
@font-face { font-family: "Geist"; font-weight: 600; font-display: swap; src: url("assets/fonts/Geist-SemiBold.ttf") format("truetype"); }
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F2F3F5;
  --ink: #1C1A17;
  --ink-2: #57524A;
  --ink-3: #8A847A;
  --line: rgba(28, 26, 23, 0.11);
  --accent: #4F5BEB;
  --accent-ink: #FFFFFF;
  --accent-soft: #E9EAFB;
  --success: #17905B;
  --danger: #D2322D;
  --display: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --shadow-float: 0 1px 2px rgba(28, 20, 8, .05), 0 12px 32px -12px rgba(28, 20, 8, .18);
  --shadow-deep: 0 2px 4px rgba(28, 20, 8, .05), 0 30px 70px -28px rgba(28, 20, 8, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #141311; --surface: #1B1A18; --surface-2: #22211E;
  --ink: #F2EFEA; --ink-2: #B5B0A7; --ink-3: #85807A;
  --line: rgba(255, 255, 255, .10);
  --accent: #8790FF; --accent-ink: #141311; --accent-soft: #27254A;
  --success: #3DD68C; --danger: #FF6B66;
  --shadow-deep: 0 2px 4px rgba(0, 0, 0, .3), 0 30px 70px -28px rgba(0, 0, 0, .8);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clip (not hidden) so the sticky nav keeps working */
}
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-family: var(--display); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 500 16px/1 inherit; font-family: inherit; cursor: pointer;
  transition: transform 150ms var(--ease), background-color 150ms var(--ease), opacity 150ms;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: color-mix(in srgb, var(--ink) 88%, var(--accent)); }
.btn .apple { width: 17px; height: 17px; fill: currentColor; stroke: none; margin-top: -2px; }
.btn-hero .apple { width: 19px; height: 19px; }
.btn-secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.btn-compact { height: 40px; padding: 0 18px; font-size: 15px; }
.btn-hero { height: 56px; padding: 0 28px; }
.cta-row .btn-secondary { background: var(--surface); }
.btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }

/* Nav: starts roomy, then condenses into a smaller bar once you scroll. */
.nav-wrap { position: sticky; top: 16px; z-index: 50; padding: 0 20px; transition: top 500ms var(--ease); }
.nav {
  max-width: 1100px; height: 64px; margin: 0 auto; padding: 0 12px 0 24px;
  display: flex; align-items: center; gap: 24px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-float);
  transition: max-width 550ms var(--ease), height 550ms var(--ease), padding 550ms var(--ease), background-color 400ms, box-shadow 400ms;
}
.nav-wrap.condensed { top: 10px; }
.nav-wrap.condensed .nav { max-width: 860px; height: 52px; padding: 0 8px 0 20px; gap: 18px; background: color-mix(in srgb, var(--surface) 90%, transparent); }
.nav .logo, .nav .nav-links { transition: font-size 400ms var(--ease), gap 400ms var(--ease); }
.nav-wrap.condensed .logo { font-size: 16px; }
.nav-wrap.condensed .logo svg { width: 20px; height: 20px; }
.nav-wrap.condensed .nav-links { gap: 20px; font-size: 14px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 650; font-size: 18px; letter-spacing: -.02em; }
.logo svg { width: 22px; height: 22px; stroke-width: 2.2; }
.nav-links { display: flex; gap: 28px; margin: 0 auto; font-size: 15px; }
.nav-links a { color: var(--ink-2); transition: color 150ms; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="true"] { color: var(--ink); }
/* Keyboard users can jump past the navigation */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-size: 15px; transition: top 150ms; }
.skip:focus { top: 16px; }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; color: var(--ink); border-radius: 999px; cursor: pointer; }
.theme-btn { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); border-radius: 999px; cursor: pointer; transition: color 150ms, background-color 150ms; }
.theme-btn:hover { color: var(--ink); background: var(--surface-2); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
.mobile-menu { position: fixed; inset: 0; top: 96px; background: var(--bg); padding: 24px 20px 32px; display: flex; flex-direction: column; gap: 8px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-size: 28px; color: var(--ink); padding: 8px 0; }
.mobile-menu .btn { margin-top: auto; width: 100%; }

/* Layout */
main > section { max-width: 1200px; margin: 0 auto; padding: 128px 32px; }
h2 { font-size: 48px; line-height: 1.08; letter-spacing: -.035em; font-weight: 600; text-align: center; }
.lead { font-size: 21px; line-height: 1.5; color: var(--ink-2); max-width: 600px; margin: 24px auto 0; text-align: center; text-wrap: balance; }
.lead.small { font-size: 19px; }

/* Hero */
.hero { padding-top: 96px !important; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; }
h1 { font-size: 80px; line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.cta-row { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.trust { font-size: 14px; color: var(--ink-3); margin-top: 16px; }

/* Product stage, shown in 3D: the scene tilts back and settles flat as you scroll to it. */
.scene { perspective: 1900px; perspective-origin: 50% 25%; }
.scene-inner { position: relative; transform-style: preserve-3d; transform: rotateX(calc(var(--rx, 14) * 1deg)) rotateY(calc(var(--ry, -6) * 1deg)); will-change: transform; }
.scene-shadow { position: absolute; left: 6%; right: 6%; bottom: -3%; height: 14%; transform: translateZ(-90px); background: radial-gradient(closest-side, rgba(28, 20, 8, .42), transparent); filter: blur(22px); opacity: .55; }
.stage-wrap { position: relative; max-width: 1100px; margin: 72px auto 0; }
.stage {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; text-align: left;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(155deg, #EEF0F3 0%, #DDE1E6 100%);
  box-shadow: var(--shadow-deep);
  font-size: 1cqw; container-type: inline-size;
}
:root[data-theme="dark"] .stage { background: linear-gradient(155deg, #2A2823 0%, #1B1A17 100%); }

/* All stage sizes scale with the stage width (cqw). */
.win { position: absolute; left: 7%; top: 8%; width: 76%; height: 80%; background: #FCFCFB; border-radius: 1.1cqw; box-shadow: 0 1.2cqw 3cqw -1cqw rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.06); overflow: hidden; }
.win-bar { height: 4.2cqw; background: #EFEEEA; display: flex; align-items: center; gap: .7cqw; padding: 0 1.4cqw; }
.win-bar i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #FF5F57; }
.win-bar i:nth-child(2) { background: #FEBC2E; } .win-bar i:nth-child(3) { background: #28C840; }
.url { margin: 0 auto; font-size: 1.15cqw; color: #77767F; background: #E2E1DC; padding: .4cqw 3cqw; border-radius: 99px; }
.page { display: flex; height: calc(100% - 4.2cqw); }
.page-side { width: 18%; background: #F3F2EE; padding: 2.4cqw 1.6cqw; display: flex; flex-direction: column; gap: 1.6cqw; }
.page-side b, .page-lines b, .page-row b { display: block; height: 1cqw; border-radius: 99px; background: #DDDBD5; }
.page-side b:nth-child(2) { width: 70%; } .page-side b:nth-child(3) { width: 85%; } .page-side b:nth-child(4) { width: 60%; }
.page-main { flex: 1; padding: 3cqw 3.4cqw; position: relative; }
.page-title { width: 40%; height: 2.2cqw; border-radius: 99px; background: #2B2A30; }
.page-lines { display: grid; gap: 1cqw; margin-top: 2cqw; width: 70%; }
.page-lines b:nth-child(2) { width: 85%; } .page-lines b:nth-child(3) { width: 55%; }
.page-card { position: relative; margin-top: 3cqw; width: 62%; height: 46%; background: #fff; border-radius: 1cqw; box-shadow: 0 0 0 1px #E7E5DF; padding: 2cqw; }
.page-row { display: flex; justify-content: space-between; margin-bottom: 1.8cqw; }
.page-row b { width: 30%; } .page-row b:last-child { width: 14%; }
.page-footer { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: #EDEBFF; border-radius: 0 0 1cqw 1cqw; }
.page-button { position: absolute; right: 2cqw; bottom: 9%; background: var(--accent); color: #fff; font-size: 1.3cqw; font-weight: 600; padding: .9cqw 2.2cqw; border-radius: 99px; }

/* Selection */
.dim { position: absolute; inset: 0; background: rgba(0,0,0,.28); opacity: 0; transition: opacity 300ms var(--ease); }
.selection { position: absolute; left: 39%; top: 50%; width: 0; height: 0; border: 1.5px solid #fff; background: rgba(255,255,255,.08); box-shadow: 0 0 0 9999px rgba(0,0,0,0); opacity: 0; transition: width 900ms var(--ease), height 900ms var(--ease), opacity 200ms, box-shadow 300ms var(--ease); }
.sel-size { position: absolute; right: 0; bottom: -2.8cqw; font: 600 1.1cqw ui-monospace, SFMono-Regular, monospace; color: #fff; background: rgba(0,0,0,.7); padding: .3cqw .8cqw; border-radius: .5cqw; opacity: 0; transition: opacity 200ms; }
.cursor { position: absolute; left: 70%; top: 30%; width: 2.2cqw; height: 2.2cqw; color: #111; filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)); transition: left 900ms var(--ease), top 900ms var(--ease), opacity 200ms; z-index: 6; }
.cursor svg { width: 100%; height: 100%; fill: #111; stroke: #fff; stroke-width: 1.2; }

/* Handle and launcher (right edge, like the app) */
.handle { position: absolute; right: 1cqw; top: 46%; width: .7cqw; height: 4cqw; border-radius: 99px; background: rgba(20,20,22,.85); box-shadow: 0 0 0 1px rgba(255,255,255,.5); transition: opacity 200ms, transform 300ms var(--ease); }
.launcher { position: absolute; right: 1cqw; top: 40%; display: grid; grid-template-columns: auto auto; gap: .8cqw; align-items: center; opacity: 0; transform: scale(.6); transform-origin: right center; transition: opacity 250ms var(--ease), transform 350ms var(--ease); }
.launch-label { grid-row: 1; background: #111113; color: #fff; font-size: 1.3cqw; padding: .9cqw 1.6cqw; border-radius: 99px; white-space: nowrap; box-shadow: 0 1cqw 2cqw -1cqw rgba(0,0,0,.5); }
.launch-label b { opacity: .65; font-weight: 600; margin-left: .4cqw; }
.launch-btn { grid-column: 2; width: 4.2cqw; height: 5.4cqw; border-radius: 99px; background: #1C1C1F; color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.launch-btn svg { width: 1.9cqw; height: 1.9cqw; stroke-width: 2; }
.launch-btn.round { height: 4.2cqw; }
.rec { width: 1.5cqw; height: 1.5cqw; border-radius: 50%; border: .25cqw solid #fff; box-shadow: inset 0 0 0 .3cqw #1C1C1F; background: #fff; }

/* Capture bar */
.bar { position: absolute; left: 50%; bottom: 4%; display: flex; align-items: center; gap: .7cqw; padding: .6cqw; background: #121214; border-radius: 2.4cqw; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 1.5cqw 3cqw -1cqw rgba(0,0,0,.5); color: #fff; font-size: 1.25cqw; white-space: nowrap; opacity: 0; transform: translate(-50%, 2cqw) scale(.9); transition: opacity 300ms var(--ease), transform 450ms var(--ease); }
.bar .chip, .bar .to { display: inline-flex; align-items: center; gap: .6cqw; background: rgba(255,255,255,.08); padding: .8cqw 1.3cqw; border-radius: 99px; }
.bar svg { width: 1.4cqw; height: 1.4cqw; }
.field { min-width: 22cqw; background: rgba(255,255,255,.08); padding: .8cqw 1.3cqw; border-radius: 99px; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.field:empty::before { content: ""; }
.caret { display: inline-block; width: 1px; height: 1.3cqw; background: #fff; margin-left: 1px; vertical-align: middle; animation: blink 1s steps(1) infinite; }
.send { display: inline-flex; align-items: center; gap: .5cqw; background: var(--accent); color: #fff; font-weight: 600; padding: .8cqw 1.5cqw; border-radius: 99px; transition: transform 150ms; }
.avatar { display: inline-grid; place-items: center; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; color: #fff; font-size: .9cqw; font-weight: 700; }
.avatar.sm { width: 1.8cqw; height: 1.8cqw; font-size: .7cqw; }
.av-maya { background: #E07A5F; }

/* Sent */
.sent { position: absolute; left: 50%; bottom: 4%; display: inline-flex; align-items: center; gap: 1cqw; padding: .7cqw 1.6cqw .7cqw .7cqw; background: #121214; color: #fff; border-radius: 99px; font-weight: 600; font-size: 1.3cqw; box-shadow: 0 0 0 1px rgba(255,255,255,.12); opacity: 0; transform: translate(-50%, 1cqw) scale(.8); transition: opacity 250ms, transform 400ms var(--ease); }
.check { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: #2FA36B; display: grid; place-items: center; transform: scale(.3) rotate(-40deg); transition: transform 450ms cubic-bezier(.3, 1.6, .5, 1) 120ms; }
.check svg { width: 1.5cqw; height: 1.5cqw; stroke: #fff; stroke-width: 3; }

/* Notification banner */
.banner { position: absolute; right: 2%; top: 4%; width: 30cqw; display: flex; gap: 1.2cqw; align-items: center; padding: 1.3cqw 1.5cqw; background: rgba(250,250,252,.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 1.6cqw; box-shadow: 0 1.5cqw 3cqw -1.2cqw rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.06); color: #3C3C43; font-size: 1.2cqw; line-height: 1.4; opacity: 0; transform: translateX(110%); transition: transform 600ms var(--ease), opacity 300ms; }
.banner strong { color: #111; }
.app-icon { flex: none; width: 3.4cqw; height: 3.4cqw; border-radius: .9cqw; background: #111113; color: #fff; display: grid; place-items: center; }
.app-icon svg { width: 1.9cqw; height: 1.9cqw; stroke-width: 2.2; }

/* Steps of the demo */
.stage[data-step="1"] .handle, .stage[data-step="2"] .handle, .stage[data-step="3"] .handle, .stage[data-step="4"] .handle, .stage[data-step="5"] .handle { opacity: 0; }
.stage[data-step="1"] .launcher { opacity: 1; transform: scale(1); }
.stage[data-step="1"] .cursor { left: 95%; top: 46%; }
.stage[data-step="2"] .selection { opacity: 1; width: 38%; height: 26%; box-shadow: 0 0 0 9999px rgba(0,0,0,.3); }
.stage[data-step="2"] .sel-size { opacity: 1; }
.stage[data-step="2"] .cursor { left: calc(39% + 38%); top: calc(50% + 26%); }
.stage[data-step="3"] .bar, .stage[data-step="4"] .bar { opacity: 1; transform: translate(-50%, 0) scale(1); }
.stage[data-step="3"] .cursor { left: 62%; top: 99%; opacity: 0; }
.stage[data-step="4"] .send { transform: scale(.94); }
.stage[data-step="4"] .cursor { left: 66%; top: 93%; opacity: 1; }
.stage[data-step="5"] .sent { opacity: 1; transform: translate(-50%, 0) scale(1); }
.stage[data-step="5"] .check { transform: scale(1) rotate(0); }
.stage[data-step="5"] .cursor, .stage[data-step="6"] .cursor { opacity: 0; }
.stage[data-step="6"] .banner { opacity: 1; transform: translateX(0); }
.stage[data-step="0"] .cursor { opacity: 0; }

/* Floating cards sit in front of the stage, at different depths */
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-float); animation: drift 7s ease-in-out infinite; }
.float-a { left: -40px; top: 18%; transform: translateZ(110px); }
.float-b { right: -48px; bottom: 16%; transform: translateZ(70px); animation-duration: 8s; animation-delay: -3s; }
.float-b .avatar { width: 26px; height: 26px; font-size: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-green { background: var(--success); }

/* Features */
.feature { display: grid; grid-template-columns: 560px 1fr; gap: 72px; align-items: center; }
.feature.flip .feature-media { order: 2; }
.feature-copy { max-width: 440px; }
.feature h2 { font-size: 40px; line-height: 1.1; letter-spacing: -.035em; text-align: left; }
.feature p { margin-top: 20px; }
.media-panel { position: relative; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px; padding: 48px; display: grid; place-items: center; min-height: 380px; box-shadow: var(--shadow-float); }
[data-tilt] { transform: perspective(1100px) rotateX(calc(var(--ty, 0) * 1deg)) rotateY(calc(var(--tx, 0) * 1deg)); transition: transform 260ms var(--ease); will-change: transform; }
[data-tilt] .glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .5), transparent 55%); mix-blend-mode: soft-light; }
[data-tilt]:hover .glare { opacity: 1; }
.media-panel img { max-height: 300px; width: auto; }
/* The launcher picture has no shadow of its own (a baked-in one was cut off at the edge); this one follows its shape. */
.media-panel img.launcher-img { filter: drop-shadow(0 10px 14px rgba(20, 16, 8, .28)); }
.media-panel.wide { padding: 72px 24px; min-height: 0; }
/* The bar runs past both edges of the panel and fades out, so its text stays readable */
.media-panel.wide img { filter: drop-shadow(0 8px 14px rgba(20, 16, 8, .28)); width: 150%; max-width: none; max-height: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }

/* Showcase: three layers (dashboard, open request, capture bar) at different depths */
.showcase { text-align: center; }
.composition { position: relative; max-width: 1100px; margin: 72px auto 0; perspective: 2200px; perspective-origin: 50% 30%; }
.comp-inner { position: relative; transform-style: preserve-3d; transform: rotateX(calc(var(--rx, 12) * 1deg)) rotateY(calc(var(--ry, -6) * 1deg)); will-change: transform; }
.layer { display: block; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-deep); }
.layer img { width: 100%; }
.layer-dash { width: 100%; }
.layer-req { position: absolute; width: 46%; right: -5%; top: 12%; border-radius: 14px; transform: translate3d(calc(var(--spread, 0) * 18px), 0, calc(40px + var(--spread, 0) * 70px)); }
.layer-bar { position: absolute; left: 4%; bottom: -5%; width: 64%; border: 0; border-radius: 0; background: none; overflow: visible; box-shadow: none; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); transform: translate3d(0, calc(var(--spread, 0) * -10px), calc(60px + var(--spread, 0) * 110px)); }

/* Cards */
/* Feature list: plain columns with a hairline above each, no boxes (calmer, like the app itself) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 48px; padding-top: 0 !important; }
.card { border-top: 1px solid var(--line); padding: 24px 0 28px; }
.card svg { width: 20px; height: 20px; color: var(--ink-2); }
.card h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.015em; font-weight: 600; margin: 14px 0 6px; }
.card p { font-size: 16px; line-height: 1.55; }

/* How it works */

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.tier h3 { font-size: 22px; font-weight: 600; margin-top: 6px; }
.price { font-family: var(--display); font-size: 42px; color: var(--ink); font-weight: 600; letter-spacing: -.04em; margin: 12px 0 2px; font-variant-numeric: tabular-nums; }
.price span + span, .price > span:last-child:not([data-price]) { font-size: 15px; color: var(--ink-3); font-weight: 450; letter-spacing: 0; margin-left: 6px; }
.billed { font-size: 14px; color: var(--ink-3); margin: 0 0 22px; min-height: 1.5em; }
.billed.save { color: var(--accent); }
.billing { display: flex; width: fit-content; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-2); margin: 28px auto 0; }
.billing button { border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: 15px; font-weight: 600; padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: background-color 150ms var(--ease), color 150ms; }
.billing button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.price-note { font-size: 14px; color: var(--ink-3); margin-top: 24px; text-align: center; }
.media-panel.shot { padding: 0; background: #1B1A18; }
.media-panel.shot img { max-height: none; width: 100%; }
.tier ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; font-size: 16px; }
.tier li { display: flex; gap: 10px; }
.tier li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background: var(--success); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.tier .btn { width: 100%; }

/* FAQ */
.faq { max-width: 860px !important; }
.faq-list { margin-top: 48px; display: grid; gap: 12px; }
.faq-item { background: var(--surface-2); border-radius: 20px; }
.faq-item h3 { font-size: 17px; font-weight: 600; }
.faq-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; background: none; border: 0; color: var(--ink); font: inherit; text-align: left; cursor: pointer; border-radius: 20px; }
.chev { position: relative; width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 50%; flex: none; transition: transform 200ms ease; }
.chev::before, .chev::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.chev::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity 200ms ease; }
.faq-item button[aria-expanded="true"] .chev::after { opacity: 0; }
.faq-a { overflow: hidden; transition: height 200ms ease; }
.faq-a p { padding: 0 24px 22px; font-size: 16px; color: var(--ink-2); max-width: 680px; }
.faq-a a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Final CTA */
.final { margin: 0 32px 128px !important; padding: 96px 32px !important; text-align: center; background: var(--surface-2); border-radius: 24px; max-width: 1136px !important; }
@media (min-width: 1201px) { .final { margin: 0 auto 128px !important; } }
.final h2 { font-size: 46px; margin-bottom: 32px; }
.final p { margin: 16px 0 32px; }
.final-note { margin: 16px 0 0 !important; font-size: 14px; color: var(--ink-3); }

/* Footer */
.footer { max-width: 1200px; margin: 0 auto; padding: 0 32px 40px; }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-top: 48px; border-top: 1px solid var(--line); }
.foot-top nav { display: grid; gap: 10px; font-size: 15px; align-content: start; }
.foot-top h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.foot-top a:not(.logo) { color: var(--ink-2); }
.foot-top a:not(.logo):hover { color: var(--ink); }
.foot-brand p { font-size: 15px; color: var(--ink-2); margin-top: 12px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* Entrance */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@keyframes drift { 0%, 100% { translate: 0 -6px; } 50% { translate: 0 6px; } }
@keyframes blink { 50% { opacity: 0; } }

/* Responsive */
@media (max-width: 1023px) {
  .nav-links, .nav > .btn { display: none; }
  .menu-btn { display: grid; place-items: center; margin-left: 0; }
  .theme-btn { margin-left: auto; }
  .float-card { display: none; }
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .feature-media { order: 0; }
  .feature-copy { max-width: 640px; }
  .cards, .tiers { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .tiers { gap: 28px; }
  main > section { padding: 80px 20px; }
}
@media (max-width: 767px) {
  h1 { font-size: 46px; }
  h2 { font-size: 36px; }
  .feature h2 { font-size: 30px; }
  .final h2 { font-size: 34px; }
  .lead { font-size: 18px; }
  main > section { padding: 64px 20px; }
  .hero { padding-top: 56px !important; }
  .media-panel { padding: 28px; min-height: 0; }
  .final { margin: 0 20px 64px !important; padding: 56px 20px !important; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .stage-wrap, .composition { margin-top: 48px; }
  .layer-req { width: 52%; right: 0; }
  .layer-bar { width: 86%; left: 2%; }
  .cta-row .btn { width: 100%; }
}

/* Animation plays for everyone. Visitors can pause it with the footer control (WCAG 2.2.2). */
html[data-motion="paused"] .float-card, html[data-motion="paused"] .caret { animation: none; }
html[data-motion="paused"] [data-tilt] { transform: none !important; }
.motion-toggle { margin-left: 14px; padding: 0; background: none; border: 0; color: var(--ink-3); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.motion-toggle:hover { color: var(--ink); }

/* The five steps of a request, shown above the final call to action */

/* Legal pages (privacy.html) */
.legal-layout { max-width: 1080px; margin: 72px auto 0; padding: 0 24px 96px; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc-wrap { position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow: auto; }
.toc-wrap summary { display: none; list-style: none; cursor: pointer; font-weight: 600; color: var(--ink); padding: 12px 16px; }
.toc-wrap summary::-webkit-details-marker { display: none; }
.toc { display: grid; font-size: 14.5px; }
.toc a { padding: 6px 14px; border-left: 2px solid var(--line); color: var(--ink-3); transition: color 150ms, border-color 150ms; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--ink); border-left-color: var(--accent); }

.legal-body section { scroll-margin-top: 104px; margin-bottom: 52px; }
.legal-title { margin-bottom: 48px; }
.legal-title h1 { font-size: clamp(36px, 5vw, 48px); line-height: 1.08; letter-spacing: -.03em; text-align: left; }
.legal-intro { font-size: 19px; line-height: 1.5; color: var(--ink-2); margin-top: 14px; max-width: 56ch; text-align: left; }
.summary { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 8px 0 0; }
.summary > div { border-top: 1px solid var(--line); padding: 16px 0 20px; }
.summary dt { color: var(--ink); font-weight: 600; font-size: 16px; }
.summary dd { margin: 4px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 700px) { .summary { grid-template-columns: 1fr; } }
.legal-body h2 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -.02em; margin-bottom: 14px; text-align: left; }
.legal-body h3, .legal-body p, .legal-body li { text-align: left; }
.legal-body p { margin-bottom: 14px; max-width: 70ch; }
.legal-body ul { margin: 0 0 14px; padding-left: 1.2em; max-width: 70ch; }
.legal-body li { margin-bottom: 8px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-foot { color: var(--ink-3); font-size: 15px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); margin: 18px 0 20px; }
.table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: 14px; }
.table-wrap tr:last-child td { border-bottom: 0; }

.callout { border-left: 2px solid var(--ink-3); padding: 4px 0 4px 18px; color: var(--ink-2); margin: 18px 0; max-width: 70ch; }
.callout a { color: var(--accent); }

/* Details only the owner can fill in. Impossible to miss, so they are never published by accident. */
.todo { background: rgba(255, 196, 0, .28); outline: 1px dashed rgba(170, 110, 0, .75); border-radius: 4px; padding: 0 4px; color: var(--ink); }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .toc-wrap { position: static; max-height: none; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
  .toc-wrap summary { display: block; }
  .toc-wrap[open] summary { border-bottom: 1px solid var(--line); }
  .toc { padding: 8px 0; }
  .legal-layout { margin-top: 40px; }
}
@media print {
  .nav-wrap, .toc-wrap, .footer .foot-top { display: none; }
  .legal-body a::after { content: " (" attr(href) ")"; font-size: 12px; color: var(--ink-3); }
}

/* Waitlist (until the public download exists) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.waitlist { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 520px; margin: 0 auto; }
.waitlist input {
  flex: 1 1 260px; min-width: 0; height: 52px; padding: 0 18px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px; outline: none;
}
.waitlist input:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.waitlist .btn { height: 52px; }
.waitlist[data-state="done"] input, .waitlist[data-state="done"] .btn { display: none; }
