/* visikeep.com — app fonts and colors (constants/theme.ts), Cal AI–style layout.
   Always light (owner's choice, 2026-11-04): no dark-mode overrides. */
@font-face { font-family: 'Jakarta'; src: url('/fonts/PlusJakartaSans-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/fonts/PlusJakartaSans-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/fonts/PlusJakartaSans-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/fonts/PlusJakartaSans-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --bg: #F7F7F8;
  --card: #FFFFFF;
  --surface: #F1F0F6;
  --border: #E9E8EF;
  --text: #0A0A0A;
  --muted: #6B6B6B;
  --inverse: #FFFFFF;
  --band: #EEF0FA;
  --band-text: #0A0A0A;
  --band-muted: #5F6170;
  --shadow: 0 1px 20px 1px rgba(228, 229, 233, 0.6);
  --shadow-lift: 0 24px 60px -20px rgba(16, 16, 32, 0.28);
  --radius: 20px;
  --wrap: 1160px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  /* Soft light in the page background, so it reads as depth, not flat paint */
  --glow-1: rgba(120, 132, 255, 0.12);
  --glow-2: rgba(255, 186, 120, 0.09);
  --grid: rgba(16, 16, 40, 0.07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background:
    radial-gradient(1100px 640px at 80% -8%, var(--glow-1), transparent 62%),
    radial-gradient(820px 560px at -8% 18%, var(--glow-2), transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: 'Jakarta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.7rem); font-weight: 700; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.035em; }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.h1-kicker { display: block; color: var(--muted); }
.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; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--text); color: var(--inverse); padding: 8px 14px; border-radius: 10px; z-index: 10; }

/* Header / footer */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.02em; }
.brand-mark { height: 28px; width: auto; }
/* Header brand: larger logo and name (footer keeps the small one) */
.site-header .brand { gap: 12px; font-size: 1.55rem; letter-spacing: -0.03em; }
.site-header .brand-mark { height: 40px; }
@media (max-width: 420px) { .site-header .brand { font-size: 1.35rem; gap: 10px; } .site-header .brand-mark { height: 34px; } }
.nav { display: flex; gap: 28px; font-size: 0.95rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--text); } }
@media (max-width: 760px) { .nav { display: none; } }

.site-footer { border-top: 1px solid var(--border); margin-top: 32px; padding: 40px 0 48px; font-size: 0.95rem; }
.footer-inner { display: grid; gap: 24px; grid-template-columns: 1fr auto; align-items: start; }
.footer-brand p { color: var(--muted); margin: 8px 0 0; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 32px; }
.footer-links a { text-decoration: none; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .footer-links a:hover { color: var(--text); } }
.footer-meta { grid-column: 1 / -1; color: var(--muted); margin: 8px 0 0; }
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; transition: transform 160ms var(--ease-out), opacity 160ms ease; touch-action: manipulation; }
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }
.btn-primary { background: var(--text); color: var(--inverse); }
.btn-ghost { background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--border); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { opacity: 0.86; }
  .btn-ghost:hover { border-color: var(--muted); }
}
.btn-ghost { transition: transform 160ms var(--ease-out), border-color 160ms ease; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.cta-center { justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 500; color: var(--muted); background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px; }
.chip-dot { width: 7px; height: 7px; border-radius: 50%; background: #2E7D52; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-note { font-size: 0.9rem; color: var(--muted); }

/* Hero: copy left, two tilted phones right */
.hero { padding: 56px 0 32px; overflow-x: clip; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-visual { position: relative; height: 600px; }
.phone { position: absolute; width: 250px; border-radius: 40px; padding: 9px; background: #0A0A0A; box-shadow: var(--shadow-lift); }
.phone img { width: 100%; height: auto; border-radius: 31px; }
.phone-back { top: 10px; left: 6%; transform: rotate(-7deg); }
.phone-front { top: 60px; right: 4%; transform: rotate(5deg); }
.float-card { position: absolute; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; font-weight: 600; font-size: 0.92rem; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-lift); border-radius: 16px; padding: 12px 16px; }
.float-card small { grid-column: 2; font-weight: 500; color: var(--muted); font-size: 0.8rem; }
.float-dot { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: #E8A33A; }
.float-dot-b { background: #3B82F6; }
.float-card-a { top: 300px; left: 0; }
.float-card-b { bottom: 30px; right: 0; }
/* Phones lean back in 3D as the hero scrolls away (--h set by site.js) */
.hero-tilt { position: absolute; inset: 0; transform-origin: 50% 100%; transform: perspective(1400px) rotateX(calc(var(--h, 0) * 18deg)) translateY(calc(var(--h, 0) * -36px)) scale(calc(1 - var(--h, 0) * 0.06)); }

/* 3D scroll scene: scattered screenshots fly into collection stacks.
   --e (0 → 1) is the only value site.js sets; the default 1 shows the
   sorted result (no JS, reduced motion). */
.sort3d { --e: 1; position: relative; }
.sort3d.is-live { height: 290vh; }
.sort3d-stage { display: flex; flex-direction: column; padding: 56px 0 24px; overflow: hidden; }
.sort3d.is-live .sort3d-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: 104px; }
.sort3d-copy { text-align: center; }
.sort3d-copy h2 { display: grid; margin: 0; }
.sort3d-a, .sort3d-b { grid-area: 1 / 1; }
.sort3d-a { opacity: calc(1.1 - var(--e) * 2); transform: translateY(calc(var(--e) * -14px)); }
.sort3d-b { opacity: calc(var(--e) * 2 - 0.9); transform: translateY(calc((1 - var(--e)) * 14px)); }
.sort3d-scene { position: relative; flex: 1; min-height: 380px; container-type: size; }
/* A floor grid receding into the distance, and a soft light over the stacks */
.sort3d-scene::before { content: ''; position: absolute; left: -30%; right: -30%; bottom: -6%; height: 64%; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 52px 52px; transform: perspective(640px) rotateX(70deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 85%); mask-image: linear-gradient(to top, #000 15%, transparent 85%); }
.sort3d-scene::after { content: ''; position: absolute; inset: 10% 15% 20%; background: radial-gradient(closest-side, var(--glow-1), transparent); opacity: calc(0.4 + var(--e) * 0.6); pointer-events: none; }
/* Perspective sits on the cards' parent without preserve-3d: every card
   keeps its depth, but cards never slice through each other mid-flight. */
.sort3d-space { --w: clamp(62px, 10.5cqw, 124px); position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 35%; z-index: 1; }
.sc-card {
  --ie: calc(1 - var(--e));
  position: absolute; left: 50%; top: 46%;
  width: var(--w); aspect-ratio: 9 / 16; margin: calc(var(--w) * -0.889) 0 0 calc(var(--w) / -2);
  display: flex; flex-direction: column; overflow: hidden;
  font-size: clamp(7.5px, 1.1cqw, 12px); line-height: 1.25; letter-spacing: -0.01em;
  background: var(--card); border: 1px solid var(--border); border-radius: clamp(10px, 1.3cqw, 16px);
  box-shadow: 0 22px 44px -20px rgba(10, 10, 30, 0.38);
  backface-visibility: hidden;
  transform:
    translate3d(
      calc((var(--sx) * var(--ie) + var(--ex) * var(--e)) * 1cqw),
      calc((var(--sy) * var(--ie) + var(--ey) * var(--e)) * 1cqh),
      calc((var(--sz) * var(--ie) + var(--ez) * var(--e)) * 1px))
    rotateX(calc(var(--srx) * var(--ie) * 1deg))
    rotateY(calc(var(--sry) * var(--ie) * 1deg))
    rotateZ(calc((var(--srz) * var(--ie) + var(--erz) * var(--e)) * 1deg));
}
.sort3d.is-live .sc-card { will-change: transform; }
/* Each card reads like a real screenshot: a photo, then its text */
.sc-img { flex: none; display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--surface); }
.sc-body { flex: 1; display: flex; flex-direction: column; gap: calc(var(--w) * 0.05); padding: calc(var(--w) * 0.09) calc(var(--w) * 0.09) 0; min-height: 0; }
.sc-bar { flex: none; height: 3px; width: 30%; border-radius: 3px; background: var(--c); }
.sc-card b { font-weight: 700; overflow-wrap: anywhere; }
.sc-card small { font-size: 0.86em; color: var(--muted); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container (max-width: 640px) { .sc-card i, .sc-card small { display: none; } }
.sc-card i { flex: none; display: block; height: 4px; border-radius: 3px; background: var(--surface); margin-top: auto; }
.sc-card .sc-short { width: 62%; margin: 0 0 calc(var(--w) * 0.09); }
.sc-label {
  position: absolute; left: 50%; top: 46%; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; max-width: 22cqw;
  font-size: clamp(10px, 1.35cqw, 15px); font-weight: 600; text-align: center; line-height: 1.2; white-space: nowrap;
  padding: 6px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow);
  opacity: calc((var(--e) - 0.72) * 4);
  transform: translate(calc(var(--x) * 1cqw - 50%), calc(var(--w) * 0.889 + 10cqh + (1 - var(--e)) * 16px));
}
.sc-label-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
@media (max-width: 640px) {
  .sc-label { white-space: normal; padding: 5px 8px; gap: 4px; }
  .sc-label-dot { display: none; }
  .sort3d.is-live { height: 240vh; }
}

/* ---------- "More than sorting": four scroll-animated feature scenes ----------
   site.js sets --p (0 → 1) on each .scene as it rises through the viewport,
   and data-step on scenes with discrete states. Defaults show the finished
   state (no JS, reduced motion). Only transform, opacity and a small blur. */
.scene-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; margin-top: 80px; }
.scene-row:first-of-type { margin-top: 48px; }
.scene-row-flip .scene-copy { order: 2; }
.scene-copy h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 14px; }
.scene-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; max-width: 30em; }
.scene { --p: 1; position: relative; height: 420px; border-radius: 32px; background: var(--scene-bg, var(--card)); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.scene img { display: block; }
@media (max-width: 860px) {
  .scene-row { grid-template-columns: 1fr; gap: 24px; margin-top: 64px; }
  .scene-row-flip .scene-copy { order: 0; }
  .scene { height: 380px; }
}

/* 1 · Reminders: a scan line finds the date, then a reminder appears */
.scene-remind {
  --scene-bg: radial-gradient(120% 90% at 20% 0%, rgba(59, 130, 246, 0.12), transparent 60%), var(--card);
  --a: clamp(0, (var(--p) - 0.05) / 0.4, 1);
  --b: clamp(0, (var(--p) - 0.42) / 0.14, 1);
  --c: clamp(0, (var(--p) - 0.58) / 0.22, 1);
}
.shot { position: relative; width: min(310px, 84%); padding: 18px; font-size: 13px; line-height: 1.45; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 22px 44px -26px rgba(16, 16, 40, 0.4); overflow: hidden; transform: translateY(calc(var(--c) * -34px)); }
.shot-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.shot-top b { display: block; font-size: 13px; }
.shot-top small { display: block; font-size: 11px; color: var(--muted); }
.shot-avatar { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1E3A8A; color: #fff; font-size: 12px; font-weight: 700; }
.shot-title { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.shot-text { margin: 0 0 6px; color: #2B2B33; }
.shot-muted { color: var(--muted); margin: 0; }
.shot-date { position: relative; isolation: isolate; font-weight: 700; white-space: nowrap; padding: 0 3px; }
.shot-date::before { content: ''; position: absolute; inset: -1px -2px; z-index: -1; border-radius: 5px; background: rgba(250, 204, 21, 0.5); transform-origin: left center; transform: scaleX(var(--b)); }
.scan { position: absolute; inset: 0; pointer-events: none; transform: translateY(calc(var(--a) * 100%)); opacity: calc(1 - var(--b)); }
.scan::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #3B82F6; box-shadow: 0 0 14px 3px rgba(59, 130, 246, 0.5); }
.scan::after { content: ''; position: absolute; left: 0; right: 0; top: -46px; height: 46px; background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.1)); }
.notif { position: absolute; left: 50%; bottom: 24px; width: min(320px, 88%); display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: rgba(255, 255, 255, 0.94); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 18px 40px -16px rgba(16, 16, 40, 0.35); opacity: var(--c); transform: translate(-50%, calc((1 - var(--c)) * 26px)) scale(calc(0.96 + var(--c) * 0.04)); }
.notif-icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #3B82F6; color: #fff; }
.notif-icon svg { width: 20px; height: 20px; transform-origin: 50% 15%; transform: rotate(calc((1 - var(--c)) * 24deg)); }
.notif-text b { display: block; font-size: 13.5px; }
.notif-text small { display: block; font-size: 12px; color: var(--muted); }
.notif-pill { margin-left: auto; font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 999px; background: var(--text); color: var(--inverse); }

/* 2 · Languages: the same screen in five languages, one per scroll step */
.scene-lang { --scene-bg: radial-gradient(120% 90% at 80% 0%, rgba(139, 92, 246, 0.12), transparent 60%), var(--card); }
.lang-card { width: min(330px, 86%); padding: 18px; background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 22px 44px -26px rgba(16, 16, 40, 0.4); }
.lang-pills { display: flex; gap: 6px; margin-bottom: 16px; }
.lang-pills span { flex: 1; text-align: center; font-size: 12px; font-weight: 700; padding: 6px 0; border-radius: 999px; background: var(--surface); color: var(--muted); transition: background-color 220ms ease, color 220ms ease; }
.lang-stack { display: grid; }
.lang-face { grid-area: 1 / 1; opacity: 0; filter: blur(4px); transform: translateY(8px); transition: opacity 260ms ease, filter 260ms ease, transform 260ms var(--ease-out); }
.lang-name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.lang-search { display: flex; align-items: center; gap: 8px; padding: 11px 14px; margin-bottom: 12px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 14px; }
.lang-search svg { flex: none; width: 16px; height: 16px; }
.lang-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lang-tile { height: 92px; display: flex; align-items: flex-end; padding: 10px; border-radius: 14px; color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.2; background-size: cover; background-position: center; }
.lang-tile-a { background-image: linear-gradient(to bottom, transparent 35%, rgba(0, 0, 0, 0.62)), url('/img/sort/flight.webp'); }
.lang-tile-b { background-image: linear-gradient(to bottom, transparent 35%, rgba(0, 0, 0, 0.62)), url('/img/sort/chicken-quinoa.webp'); }
.scene-lang[data-step="0"] .lang-face[data-i="0"], .scene-lang[data-step="1"] .lang-face[data-i="1"], .scene-lang[data-step="2"] .lang-face[data-i="2"],
.scene-lang[data-step="3"] .lang-face[data-i="3"], .scene-lang[data-step="4"] .lang-face[data-i="4"] { opacity: 1; filter: none; transform: none; }
.scene-lang[data-step="0"] .lang-pills span:nth-child(1), .scene-lang[data-step="1"] .lang-pills span:nth-child(2), .scene-lang[data-step="2"] .lang-pills span:nth-child(3),
.scene-lang[data-step="3"] .lang-pills span:nth-child(4), .scene-lang[data-step="4"] .lang-pills span:nth-child(5) { background: var(--text); color: var(--inverse); }

/* 3 · Archive: two screenshots fly into the Archived bar */
.scene-archive {
  --scene-bg: radial-gradient(120% 90% at 20% 0%, rgba(16, 16, 40, 0.06), transparent 60%), var(--card);
  --a1: clamp(0, (var(--p) - 0.08) / 0.25, 1);
  --a2: clamp(0, (var(--p) - 0.4) / 0.25, 1);
}
.arch-grid { display: grid; grid-template-columns: repeat(3, 84px); gap: 10px; }
.arch-grid img { width: 84px; height: 84px; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 22px -14px rgba(16, 16, 40, 0.45); }
.arch-go1 { opacity: calc(1 - var(--a1) * 1.1); transform: translate(calc(var(--a1) * -104px), calc(var(--a1) * 196px)) scale(calc(1 - var(--a1) * 0.75)); }
.arch-go2 { opacity: calc(1 - var(--a2) * 1.1); transform: translate(calc(var(--a2) * -198px), calc(var(--a2) * 102px)) scale(calc(1 - var(--a2) * 0.75)); }
.arch-bar { display: flex; align-items: center; gap: 12px; width: 282px; padding: 12px 14px; border-radius: 20px; background: #0A0A0A; color: #fff; box-shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.6); transform: scale(calc(1 + (var(--a1) * (1 - var(--a1)) + var(--a2) * (1 - var(--a2))) * 0.14)); }
.arch-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.arch-icon svg { width: 20px; height: 20px; }
.arch-text b { display: block; font-size: 15px; }
.arch-text small { display: grid; font-size: 12.5px; color: rgba(255, 255, 255, 0.7); }
.arch-n { grid-area: 1 / 1; opacity: 0; transition: opacity 200ms ease; white-space: nowrap; }
.scene-archive[data-step="0"] .arch-n0, .scene-archive[data-step="1"] .arch-n1, .scene-archive[data-step="2"] .arch-n2 { opacity: 1; }
.arch-chev { width: 18px; height: 18px; margin-left: auto; opacity: 0.7; }

/* 4 · Locked collections: the tile blurs, the lock closes, Face ID unlocks */
.scene-lock {
  --scene-bg: radial-gradient(120% 90% at 80% 0%, rgba(34, 160, 107, 0.12), transparent 60%), var(--card);
  --a: clamp(0, (var(--p) - 0.1) / 0.3, 1);
  --b: clamp(0, (var(--p) - 0.42) / 0.14, 1);
  --c: clamp(0, (var(--p) - 0.6) / 0.2, 1);
}
.lock-tile { position: relative; width: 250px; height: 250px; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #4B5563, #1F2937); box-shadow: 0 24px 48px -26px rgba(16, 16, 40, 0.55); }
.lock-thumbs { position: absolute; inset: 14px 14px 66px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; filter: blur(calc(var(--a) * 9px)); transform: scale(calc(1 + var(--a) * 0.04)); }
.lock-thumbs img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: top; border-radius: 12px; }
.lock-shade { position: absolute; inset: 0; background: rgba(15, 17, 22, 0.42); opacity: var(--a); }
.lock-badge { position: absolute; left: 50%; top: 40%; width: 62px; height: 62px; margin: -31px 0 0 -31px; display: grid; place-items: center; border-radius: 20px; background: rgba(255, 255, 255, 0.95); color: #111; opacity: var(--a); transform: scale(calc(0.8 + var(--a) * 0.2)); }
.lock-badge svg { width: 30px; height: 30px; overflow: visible; }
.lock-badge .shackle { transform: translateY(calc((1 - var(--b)) * -3.5px)); }
.lock-name { position: absolute; left: 18px; bottom: 14px; color: #fff; }
.lock-name b { display: block; font-size: 17px; }
.lock-name small { font-size: 12px; opacity: 0.75; }
.lock-auth { display: flex; align-items: center; gap: 10px; padding: 9px 18px 9px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); opacity: var(--c); transform: translateY(calc((1 - var(--c)) * 14px)); }
.lock-auth-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #22A06B; color: #fff; }
.lock-auth-icon svg { width: 20px; height: 20px; }
.lock-auth b { display: block; font-size: 13.5px; }
.lock-auth small { display: block; font-size: 12px; color: var(--muted); }

/* Hand-drawn arrow between the phones */
.squiggle { position: absolute; top: 4px; left: 44%; width: 104px; color: var(--muted); transform: rotate(8deg); }
@media (max-width: 420px) { .squiggle { width: 76px; top: 0; } }
/* The arrow draws itself once, after the phones have settled. */
.squiggle path { stroke-dasharray: 220; stroke-dashoffset: 0; animation: draw 700ms var(--ease-out) 450ms both; }
.squiggle path + path { animation-delay: 950ms; animation-duration: 220ms; }
@keyframes draw { from { stroke-dashoffset: 220; } }

/* Waitlist */
.join { margin: 30px 0 0; max-width: 520px; }
.join-center { margin: 28px auto 0; }
.waitlist-field { display: flex; gap: 6px; padding: 6px; background: var(--card); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow); transition: border-color 160ms ease, box-shadow 160ms ease; }
.waitlist-field:focus-within { border-color: var(--text); }
.waitlist-field input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--text); background: transparent; border: 0; padding: 0 16px; border-radius: 999px; }
.waitlist-field input::placeholder { color: var(--muted); opacity: 1; }
.waitlist-field input:focus-visible { outline: none; }
.waitlist-field .btn { flex: none; min-height: 48px; }
.waitlist[data-state="error"] .waitlist-field { border-color: #C62828; }
.waitlist .btn { position: relative; }
.btn-label { transition: opacity 160ms ease; }
.waitlist[data-state="sending"] .btn-label { opacity: 0; }
.waitlist[data-state="sending"] .btn::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 600ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.waitlist-status { margin: 10px 4px 0; font-size: 0.92rem; font-weight: 500; min-height: 0; }
.waitlist-status:empty { display: none; }
.waitlist[data-state="error"] .waitlist-status { color: #C62828; }
.waitlist-note { margin: 10px 4px 0; font-size: 0.85rem; color: var(--muted); }
.join-center .waitlist-note, .join-center .waitlist-status { text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Success replaces the field in place */
.waitlist-done { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--card); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); font-weight: 600; animation: done-in 260ms var(--ease-out) both; }
.join-center .waitlist-done { justify-content: center; }
.waitlist-done small { display: block; font-weight: 500; color: var(--muted); font-size: 0.88rem; overflow-wrap: anywhere; }
.waitlist-done:focus { outline: none; }
.done-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--text); color: var(--inverse); }
.done-icon svg { width: 18px; height: 18px; }
@keyframes done-in { from { opacity: 0; transform: translateY(6px) scale(0.98); filter: blur(2px); } }
@media (max-width: 480px) {
  .waitlist-field { flex-direction: column; border-radius: 24px; padding: 6px; }
  .waitlist-field input { min-height: 48px; }
  .waitlist-field .btn { width: 100%; }
}
@media (max-width: 940px) {
  .hero { padding-top: 32px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 520px; max-width: 460px; width: 100%; margin: 0 auto; }
  .phone { width: 210px; }
}
@media (max-width: 420px) {
  .hero-visual { height: 440px; }
  .phone { width: 172px; border-radius: 32px; padding: 7px; }
  .phone img { border-radius: 26px; }
  .float-card-a { top: 250px; }
}

/* Sections */
.section { padding: 80px 0; }
.section-tight { padding: 8px 0 24px; }
.section-title { text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin-top: -6px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card + .card { margin-top: 16px; }
.why-grid > .card { margin-top: 0; }
.card h2 { font-size: 1.3rem; letter-spacing: -0.02em; }
.muted { color: var(--muted); }

/* Feature tour: phone on the left, choices on the right */
.tour { display: grid; grid-template-columns: 0.8fr 1fr; gap: 56px; align-items: center; margin-top: 44px; }
.tour-phone { position: relative; justify-self: center; width: 290px; aspect-ratio: 560 / 1227; border-radius: 44px; padding: 10px; background: #0A0A0A; box-shadow: var(--shadow-lift); }
.tour-screen { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); border-radius: 34px; opacity: 0; filter: blur(4px); transform: scale(0.985); transition: opacity 260ms ease, filter 260ms ease, transform 260ms var(--ease-out); }
.tour-screen.is-active { opacity: 1; filter: blur(0); transform: none; }
.tour-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tour-item { width: 100%; }
.tour-item { text-align: left; font: inherit; color: inherit; cursor: pointer; background: transparent; border: 1px solid transparent; border-radius: var(--radius); padding: 20px 24px; transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out); }
.tour-item h3 { margin-bottom: 6px; }
.tour-item p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.tour-item:active { transform: scale(0.99); }
.tour-item.is-active { background: var(--card); border-color: var(--border); box-shadow: var(--shadow); }
@media (hover: hover) and (pointer: fine) { .tour-item:not(.is-active):hover { background: color-mix(in srgb, var(--card) 55%, transparent); } }
@media (max-width: 820px) { .tour { grid-template-columns: 1fr; gap: 32px; } .tour-phone { width: 240px; } }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.why p { color: var(--muted); margin: 0; }
.why-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--surface); margin-bottom: 16px; }
.why-icon svg { width: 22px; height: 22px; }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

.band { background: var(--band); color: var(--band-text); border-radius: 36px; margin: 0 12px; }
.band .lead, .band .eyebrow { color: var(--band-muted); }
.privacy-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.privacy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.privacy-list li, .points li { display: flex; gap: 12px; align-items: flex-start; }
.check { width: 20px; height: 20px; flex: none; margin-top: 3px; }
@media (max-width: 820px) { .privacy-inner { grid-template-columns: 1fr; gap: 24px; } }


.faq { margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; color: var(--muted); font-size: 1.3rem; line-height: 1; transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; }
.faq-more { text-align: center; margin-top: 24px; font-weight: 600; }

.final-inner { text-align: center; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 32px; padding: 64px 24px; }
.final-inner .lead { margin: 0 auto; }

/* Scroll reveal: added by site.js only, so no-JS visitors see everything */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Hero: plays on load (CSS only), never waits for scripts */
.hero-in { animation: hero-in 600ms var(--ease-out) both; }
.hero-visual.hero-in { animation-delay: 80ms; }
@keyframes hero-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) {
  .waitlist-done { animation: none; }
  .squiggle path { animation: none; }
  .js .reveal { transform: none; transition: opacity 300ms ease; }
  .tour-screen { transition: opacity 200ms ease; filter: none; transform: none; }
  .hero-in { animation: none; }
}

/* Inner pages */
.page-head { padding: 64px 0 24px; }
.page-head .lead { margin-bottom: 0; }
.small-page { padding: 96px 0 72px; min-height: 52vh; }
.small-page .lead { margin-bottom: 28px; }
.contact { margin-top: 32px; }
.list-title { font-size: 1.3rem; margin-top: 36px; }
.points { list-style: none; padding: 0; display: grid; gap: 14px; }
.legal { font-size: 1rem; overflow-wrap: anywhere; }
.legal h2 { font-size: 1.25rem; margin-top: 2em; letter-spacing: -0.02em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.4em; }
.legal-meta { color: var(--muted); font-size: 0.92rem; }
.draft-banner { background: #B71C1C; color: #FFFFFF; text-align: center; padding: 8px 16px; font-weight: 600; font-size: 0.9rem; }

/* Generated by website/build.ts — 3D scene poses */
.sc-g0{--c:#3B82F6}
.sc-1{--sx:-46;--sy:28.9;--sz:-181.2;--srx:-22;--sry:21.1;--srz:1.8;--ex:-34;--ey:-4;--ez:0;--erz:-4}
.sc-2{--sx:-15.7;--sy:18.1;--sz:42.4;--srx:3.3;--sry:17;--srz:7.6;--ex:-33.1;--ey:-1.7999999999999998;--ez:14;--erz:2}
.sc-3{--sx:29.1;--sy:-14.5;--sz:-140.4;--srx:15.8;--sry:18.2;--srz:-25;--ex:-32.2;--ey:0.40000000000000036;--ez:28;--erz:-1.5}
.sc-4{--sx:16.9;--sy:-0.1;--sz:122.8;--srx:23.4;--sry:-34.7;--srz:0.7;--ex:-31.3;--ey:2.6000000000000005;--ez:42;--erz:3}
.sc-g1{--c:#E8A33A}
.sc-5{--sx:38.9;--sy:14.1;--sz:-11;--srx:5.9;--sry:37.9;--srz:22.9;--ex:-11.5;--ey:-4;--ez:0;--erz:-4}
.sc-6{--sx:-11.8;--sy:-8.5;--sz:81.8;--srx:-12.7;--sry:-32;--srz:-11.3;--ex:-10.6;--ey:-1.7999999999999998;--ez:14;--erz:2}
.sc-7{--sx:-6.6;--sy:-11.1;--sz:129.9;--srx:4.4;--sry:21.1;--srz:21.2;--ex:-9.7;--ey:0.40000000000000036;--ez:28;--erz:-1.5}
.sc-8{--sx:-40.6;--sy:-12.5;--sz:-50.9;--srx:0.7;--sry:-7.2;--srz:-17.2;--ex:-8.8;--ey:2.6000000000000005;--ez:42;--erz:3}
.sc-g2{--c:#8B5CF6}
.sc-9{--sx:37.6;--sy:-26.5;--sz:-144.6;--srx:-11.8;--sry:15.1;--srz:23.8;--ex:11.5;--ey:-4;--ez:0;--erz:-4}
.sc-10{--sx:1.4;--sy:-19.4;--sz:-125.3;--srx:-16.4;--sry:-12.5;--srz:-4.3;--ex:12.4;--ey:-1.7999999999999998;--ez:14;--erz:2}
.sc-11{--sx:-15.4;--sy:4;--sz:-25.3;--srx:-20.3;--sry:37.4;--srz:-2.4;--ex:13.3;--ey:0.40000000000000036;--ez:28;--erz:-1.5}
.sc-12{--sx:33.4;--sy:10.6;--sz:-15.5;--srx:1.2;--sry:0.5;--srz:10.6;--ex:14.2;--ey:2.6000000000000005;--ez:42;--erz:3}
.sc-g3{--c:#22A06B}
.sc-13{--sx:40.4;--sy:-4.6;--sz:20;--srx:-18.9;--sry:8;--srz:-8.4;--ex:34;--ey:-4;--ez:0;--erz:-4}
.sc-14{--sx:-15.6;--sy:-4.9;--sz:61.5;--srx:28.7;--sry:-35.8;--srz:17.9;--ex:34.9;--ey:-1.7999999999999998;--ez:14;--erz:2}
.sc-15{--sx:-38.8;--sy:-4;--sz:-246.3;--srx:-32.1;--sry:45.7;--srz:-15.7;--ex:35.8;--ey:0.40000000000000036;--ez:28;--erz:-1.5}
.sc-16{--sx:12.2;--sy:-20.8;--sz:-100.6;--srx:7.1;--sry:-33.3;--srz:23.6;--ex:36.7;--ey:2.6000000000000005;--ez:42;--erz:3}
.sc-l0{--x:-32.6}
.sc-l1{--x:-10.1}
.sc-l2{--x:12.9}
.sc-l3{--x:35.4}
