@font-face { font-family: Manrope; font-weight: 200; font-display: swap; src: url(/fonts/Manrope-ExtraLight.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 300; font-display: swap; src: url(/fonts/Manrope-Light.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(/fonts/Manrope-Regular.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url(/fonts/Manrope-Medium.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(/fonts/Manrope-SemiBold.woff2) format("woff2"); }

:root {
  --bg: #000;
  --surface: #0a0f11;
  --field: #05080b;
  --line: #1e2a2a;
  --line-strong: #2a3634;
  --text: #e6f1ee;
  --muted: #9fb0ad;
  --faint: #7a8b88;
  --dim: #5c6b69;
  --accent: #7ce3b1;
  --on-accent: #03130c;
  --warn: #ffc266;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Manrope, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.3vw, 60px); letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.01em; max-width: 18em; }
h3 { font-size: 20px; font-weight: 500; }
p { margin: 0; }
code { font: 500 0.92em ui-monospace, Menlo, monospace; color: var(--text); }

.eyebrow {
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.cap {
  display: block;
  color: var(--faint);
  font-size: 0.62em;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.fine { color: var(--faint); font-size: 14px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 18px 24px;
  background: linear-gradient(#000 60%, rgba(0,0,0,0));
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 500; letter-spacing: 0.02em; }
.brand .eye { width: 26px; height: 26px; }
.nav nav { display: flex; align-items: center; gap: 24px; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav nav a:hover { color: var(--text); }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 56px 24px 96px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center;
}
.lede { color: var(--muted); font-size: 19px; margin-top: 24px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 36px; }
.button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px;
  border-radius: 999px; background: var(--accent); color: var(--on-accent);
  font-weight: 600; font-size: 16px; text-decoration: none;
}
.button:hover { filter: brightness(1.08); }
.soon { display: inline-flex; align-items: center; gap: 10px; color: var(--faint); font-size: 14px; }
a.soon { color: var(--muted); text-decoration: none; }
a.soon:hover { color: var(--text); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* The phone on the desk */
.stage { position: relative; }
.phone {
  --accent: #7ce3b1;
  position: relative; aspect-ratio: 19.5 / 9; width: 100%;
  border: 10px solid #121718; border-radius: 38px; background: #000;
  /* The glow beneath takes the phone's accent, so it follows Customise. */
  box-shadow: 0 0 0 1px #242c2d, 0 40px 80px -30px color-mix(in srgb, var(--accent) 22%, transparent);
  overflow: hidden; container-type: inline-size;
}
.desk {
  height: 28px; margin: -6px 6% 0;
  background: radial-gradient(ellipse at top, rgba(124, 227, 177, 0.10), transparent 70%);
}
/* Fade the old Screen out before the new one fades in, so they never overlap. */
.screen { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.45s ease; }
.screen.is-on { opacity: 1; transition: opacity 0.6s ease 0.45s; }
.dots { position: absolute; left: 0; right: 0; bottom: 4%; display: flex; justify-content: center; gap: 8px; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: #2a3634; transition: background 0.4s; }
.dots span.is-on { background: #7a8b88; }

.clock { text-align: center; }
.clock-time { font-size: 26cqw; font-weight: 200; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.clock-date { color: var(--muted); font-size: 3.2cqw; margin-top: 2cqw; letter-spacing: 0.04em; }

.system, .focus { display: flex; align-items: center; gap: 8cqw; font-size: 4cqw; }
.ring-wrap { position: relative; width: 34cqw; aspect-ratio: 1; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: #161c1c; stroke-width: 1.8; }
.ring-fill { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; transition: stroke-dasharray 0.9s cubic-bezier(.2,.7,.2,1), stroke 0.4s; }
.ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.big { font-size: 10cqw; font-weight: 200; line-height: 1.05; font-variant-numeric: tabular-nums; }
.big small { font-size: 0.34em; color: var(--dim); }
.mono { font-variant-numeric: tabular-nums; }
.metrics { width: 32cqw; display: flex; flex-direction: column; gap: 3cqw; }
.metric .cap { white-space: nowrap; }
.metric .val { display: block; font-size: 6cqw; font-weight: 200; line-height: 1.15; }
.bar { display: block; height: 2px; background: #161c1c; margin-top: 1cqw; }
.bar-fill { display: block; height: 2px; background: var(--accent); transition: width 0.9s cubic-bezier(.2,.7,.2,1), background 0.4s; }
.w61 { width: 61%; } .w82 { width: 82%; }
.focus-task { font-size: 4.2cqw; max-width: 30cqw; }
.focus-task .cap { margin-bottom: 1cqw; }

.dev { font-size: 3.6cqw; display: flex; flex-direction: column; gap: 1.6cqw; }
.dev-project { font-size: 9cqw; font-weight: 200; line-height: 1.1; margin-bottom: 1cqw; }
.dev-row { display: flex; align-items: center; gap: 2cqw; color: var(--muted); }
.dev-row svg { width: 3.8cqw; height: 3.8cqw; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dev-row.agent svg { stroke: var(--accent); }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 88px 24px; border-top: 1px solid #0f1516; }
.section > h2 { margin-bottom: 48px; }
.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.card {
  padding: 26px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--field);
  cursor: pointer; transition: border-color 0.3s, transform 0.3s;
}
.card:hover, .card.is-on { border-color: var(--accent); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split h2 { margin-bottom: 22px; }
.split p + p { margin-top: 16px; }
.split > div > p:not(.eyebrow) { color: var(--muted); }

/* Agent alert */
.phone-alert { display: flex; align-items: center; justify-content: center; }
.alert-glow {
  position: absolute; inset: 0; border-radius: 28px;
  box-shadow: inset 0 0 0 3px var(--warn), inset 0 0 60px rgba(255, 194, 102, 0.45);
}
@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.alert { position: relative; text-align: center; font-size: 4cqw; display: flex; flex-direction: column; gap: 1cqw; color: var(--muted); }
.alert strong { color: var(--text); font-size: 8cqw; font-weight: 300; }
.cap.warn { color: var(--warn); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step-n {
  display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 50%; color: var(--accent); font-weight: 500; margin-bottom: 20px;
}
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Customise */
.reverse > .phone { order: 0; }
.phone-custom { display: flex; align-items: center; justify-content: center; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.principles h3 { margin-bottom: 12px; }
.principles p { color: var(--muted); font-size: 16px; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); max-width: 760px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 0; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 40em; }

/* Footer */
.footer { max-width: var(--max); margin: 0 auto; padding: 56px 24px 64px; border-top: 1px solid #0f1516; display: flex; flex-direction: column; gap: 12px; }
.footer p { color: var(--muted); }

/* The eye glances when the page loads */
.nav .pupil { animation: glance 0.8s cubic-bezier(.6,0,.2,1) 0.3s both; }
@keyframes glance {
  0%, 12% { transform: translate(-26px, 6px); }
  70% { transform: translate(2px, 6px); }
  100% { transform: translate(0, 0); }
}

/* Narrow screens */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 24px; gap: 48px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps, .principles { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .section { padding: 64px 20px; }
}
@media (max-width: 560px) {
  .nav nav { display: none; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .phone { border-width: 7px; border-radius: 26px; }
  .lede { font-size: 17px; }
}


/* Pro ------------------------------------------------------------------ */
.pro-lede { color: var(--muted); font-size: 19px; max-width: 36em; margin: -28px 0 36px; }
.i { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }


/* Extras */
.extras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.extras > div { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--field); }
.extras .i { width: 22px; height: 22px; color: var(--accent); }
.extras h4 { margin: 14px 0 6px; font-size: 16px; font-weight: 500; }
.extras p { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pro-lede { margin-top: -20px; } }
@media (max-width: 560px) { .extras { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------------
   Motion. Everything below is skipped under prefers-reduced-motion.   */

/* Scroll reveal: only once JS has marked the page, so it never hides content. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Phones tilt under the cursor, like an object you could pick up. The
   hero phone rests at a slight desk angle; the others rest flat. */
.phone {
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--lift, 1));
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1), box-shadow 0.7s ease;
}
.stage .phone { --rx: 6deg; --ry: -8deg; }
.phone.is-tilting {
  transition: transform 0.12s linear, box-shadow 0.3s ease;
  box-shadow: 0 0 0 1px #2c3536, 0 60px 90px -30px color-mix(in srgb, var(--accent) 32%, transparent);
}
.glare {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.14), transparent 45%);
  opacity: 0; transition: opacity 0.5s ease;
}
.phone.is-tilting .glare { opacity: 1; }
.js .stage .phone { animation: wake 1.4s ease 0.5s both; }
@keyframes wake {
  0% { filter: brightness(0.2); }
  40% { filter: brightness(1.25); }
  100% { filter: none; }
}

/* Cards lift a little. */
.card { transition: border-color 0.3s, transform 0.3s, background 0.3s; }
.card:hover { transform: translateY(-4px); background: #070c0e; }

/* Agent story: working → needs you → done. */
.agent-state { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1cqw; text-align: center; font-size: 4cqw; color: var(--muted); opacity: 0; transform: scale(0.97); transition: opacity 0.4s ease, transform 0.4s ease; }
.agent-state.is-on { opacity: 1; transform: none; transition: opacity 0.5s ease 0.35s, transform 0.5s ease 0.35s; }
.agent-state strong { color: var(--text); font-size: 8cqw; font-weight: 300; }
.cap.ok { color: var(--accent); }
.thinking { display: inline-flex; gap: 1.2cqw; margin-top: 1.5cqw; }
.thinking i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: var(--accent); animation: think 1.2s ease-in-out infinite; }
.thinking i:nth-child(2) { animation-delay: 0.15s; }
.thinking i:nth-child(3) { animation-delay: 0.3s; }
@keyframes think { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-0.8cqw); } }
.alert-glow { opacity: 0; animation: none; transition: opacity 0.4s; }
.phone-alert.is-needs .alert-glow { opacity: 1; animation: pulse 1.1s ease-in-out infinite; }
.phone-alert.is-done .alert-glow { opacity: 1; box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 60px rgba(124, 227, 177, 0.4); animation: flash 1.2s ease-out both; }
@keyframes flash { 0% { opacity: 1; } 100% { opacity: 0; } }

/* How it works: data flows, then the same code lands on both screens. */
.how-visual { display: flex; align-items: center; justify-content: center; gap: 0; margin: -8px 0 56px; }
.mini-laptop { width: 200px; }
.mini-screen { height: 124px; border: 6px solid #121718; border-bottom-width: 8px; border-radius: 12px 12px 4px 4px; background: #000; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px #242c2d; }
.mini-base { height: 10px; margin: 0 -18px; border-radius: 0 0 10px 10px; background: #1a2122; box-shadow: 0 0 0 1px #242c2d; }
.mini-phone { width: 180px; aspect-ratio: 19.5 / 9; border: 6px solid #121718; border-radius: 18px; background: #000; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px #242c2d; }
.code { font-size: 22px; font-weight: 300; letter-spacing: 0.12em; color: var(--accent); font-variant-numeric: tabular-nums; opacity: 0; transform: translateY(6px); transition: opacity 0.6s ease 1.6s, transform 0.6s ease 1.6s; }
.how-visual.in .code { opacity: 1; transform: none; }
.wire { position: relative; flex: 0 1 220px; height: 2px; margin: 0 20px; background: repeating-linear-gradient(90deg, #2a3634 0 8px, transparent 8px 16px); overflow: visible; }
.packet { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); opacity: 0; }
.how-visual.in .packet { animation: travel 1.8s cubic-bezier(.5,0,.5,1) infinite; }
.how-visual.in .packet:nth-child(2) { animation-delay: 0.6s; }
.how-visual.in .packet:nth-child(3) { animation-delay: 1.2s; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

/* Styles: the phone eases between looks. */
.phone-custom .ring-fill, .phone-custom .bar-fill { transition: stroke 0.6s ease, background 0.6s ease; }
.phone-custom {
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1), box-shadow 0.6s ease;
  /* Stronger here: the glow changing colour is the point of this section. */
  box-shadow: 0 0 0 1px #242c2d, 0 36px 110px -24px color-mix(in srgb, var(--accent) 38%, transparent);
}

@media (max-width: 700px) {
  .how-visual { transform: scale(0.72); margin: -30px -40px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .stage .phone { transform: none; }
  .code { opacity: 1; transform: none; }
}

/* AI Usage in the hero demo */
.usage { display: flex; align-items: center; gap: 8cqw; font-size: 3.6cqw; }
.usage .big { display: block; font-size: 14cqw; }
.usage-rows { display: grid; grid-template-columns: auto auto; gap: 1.4cqw 5cqw; color: var(--muted); }
.usage-rows span:nth-child(even) { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.usage-rows .ok { color: var(--accent); }
.tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--faint); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; vertical-align: middle; }

/* Styles: pick one, the phone changes */
.styles { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 14px; }
.style-pick { font: 500 14px Manrope, system-ui, sans-serif; color: var(--muted); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: color 0.2s, background 0.2s, border-color 0.2s; }
.style-pick:hover { color: var(--text); border-color: var(--faint); }
.style-pick.is-on { color: var(--on-accent); background: var(--accent); border-color: var(--accent); font-weight: 600; }
.style-pick:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.phone-custom .system { transition: color 0.4s; }
.phone-custom, .phone-custom .ring-track, .phone-custom .ring-fill, .phone-custom .bar, .phone-custom .bar-fill, .phone-custom .metric { transition: background 0.5s, stroke 0.5s, border-color 0.5s, box-shadow 0.5s, color 0.5s; }
.phone-custom .d { display: inline-block; }

/* Instrument: monospaced, ticked ring, segmented meters */
.style-instrument .big, .style-instrument .val, .style-instrument .cap { font-family: ui-monospace, Menlo, monospace; }
.style-instrument .big { font-weight: 300; }
.style-instrument .cap { letter-spacing: 0.3em; }
.style-instrument .ring-track { stroke: #3a4644; stroke-width: 5; stroke-dasharray: 0.5 1.6; }
.style-instrument .bar, .style-instrument .bar-fill { height: 1.6cqw; }
.style-instrument .bar-fill, .style-instrument .bar {
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 4%, transparent 4% 5%);
  mask: repeating-linear-gradient(90deg, #000 0 4%, transparent 4% 5%);
}
.style-instrument .bar { background: #1e2a2a; }

/* Split-flap: a departure board */
.phone.style-splitflap { --accent: #f5c542; background: #0b0b0a; }
.style-splitflap .ring { visibility: hidden; }
.style-splitflap .big .d {
  position: relative; margin: 0 0.4cqw; padding: 0 1.2cqw; border-radius: 0.8cqw;
  background: #1a1a18; color: #f2eee3; font-weight: 600; font-stretch: condensed;
}
.style-splitflap .big .d::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 0.35cqw; background: #0b0b0a; }
.style-splitflap .cap { color: #8c887c; }
.style-splitflap .val { font-weight: 600; font-stretch: condensed; color: #f2eee3; }
.style-splitflap .bar, .style-splitflap .bar-fill { height: 1.4cqw; }
.style-splitflap .bar { background: #1a1a18; }
.style-splitflap .bar-fill, .style-splitflap .bar {
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 4%, transparent 4% 5%);
  mask: repeating-linear-gradient(90deg, #000 0 4%, transparent 4% 5%);
}

/* Modular: everything on its own tile */
.style-modular .ring-wrap, .style-modular .metric { background: #0c1214; border: 1px solid #1e2a2a; border-radius: 3cqw; }
.style-modular .ring-wrap { padding: 2.4cqw; }
.style-modular .metric { padding: 2.2cqw 2.6cqw; }
.style-modular .metrics { gap: 1.6cqw; }
.style-modular .bar, .style-modular .bar-fill { height: 0.9cqw; border-radius: 1cqw; }

/* Print: serif and ruled, cream ink on warm black */
.phone.style-paper { --accent: #79c99a; background: #110f0c; }
.style-paper .system { color: #ede5d3; }
.style-paper .big, .style-paper .val { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.style-paper .big small { color: #978f7f; }
.style-paper .cap { color: #978f7f; }
.style-paper .ring-track { stroke: #2c2821; }
.style-paper .bar { background: #2c2821; }
.style-paper .bar-fill.b2 { background: #e0a06a; }

/* Neon: a colour for each metric, softly glowing */
.phone.style-neon { --accent: #ff8fc7; background: #050507; }
.style-neon .ring-track { stroke: rgba(255, 143, 199, 0.14); stroke-width: 5; }
.style-neon .ring-fill { stroke-width: 5; filter: drop-shadow(0 0 1.6px #ff8fc7); }
.style-neon .big { color: #7ce3b1; text-shadow: 0 0 3cqw rgba(124, 227, 177, 0.55); }
.style-neon .bar, .style-neon .bar-fill { height: 1.2cqw; border-radius: 1cqw; }
.style-neon .bar { background: #1d1c2a; }
.style-neon .bar-fill { background: #7ce3b1; box-shadow: 0 0 2cqw rgba(124, 227, 177, 0.6); }
.style-neon .bar-fill.b2 { background: #b69cff; box-shadow: 0 0 2cqw rgba(182, 156, 255, 0.6); }

/* Pro */
.extras.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pro-next { margin-top: 28px; color: var(--faint); }
@media (max-width: 900px) { .extras.three { grid-template-columns: minmax(0, 1fr); } }

/* Documents: privacy, account deletion */
.doc { max-width: 720px; margin: 0 auto; padding: 48px 24px 32px; }
.doc h1 { margin-bottom: 12px; }
.doc h2 { font-size: 24px; font-weight: 500; margin: 44px 0 12px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0 0; }
.doc li + li { margin-top: 8px; }
.doc strong { color: var(--text); font-weight: 500; }
.doc > .fine { margin-bottom: 28px; }


/* Deck, On air, Words -------------------------------------------------- */
@font-face { font-family: "DM Serif Display"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/DMSerifDisplay-Italic.ttf) format("truetype"); }
.serif { font-family: "DM Serif Display", Georgia, serif; font-style: italic; font-weight: 400; }

.deck-keys { position: absolute; inset: 5cqw 4cqw; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1.8cqw; }
.key {
  --tone: #e6f1ee;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8cqw;
  border-radius: 2.6cqw; color: var(--tone);
  background: linear-gradient(180deg, #121a1d, #080d0f);
  border: 1px solid #1b2626;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1.2cqw 2.4cqw rgba(0, 0, 0, 0.6);
  transition: transform 0.15s ease, box-shadow 0.4s ease;
}
.key svg { width: 3.4cqw; height: 3.4cqw; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.key b { font-weight: 500; font-size: 1.9cqw; }
.key small { font: 1.2cqw ui-monospace, Menlo, monospace; letter-spacing: 0.12em; opacity: 0.75; }
.key.lit, .key.lit-red {
  background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 16%, #080d0f), #080d0f);
  border-color: color-mix(in srgb, var(--tone) 40%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 1.4cqw 4cqw color-mix(in srgb, var(--tone) 22%, transparent);
}
.key.lit { --tone: #7ce3b1; }
.key.lit-red { --tone: #ff6b6b; }
.key.press { transform: scale(0.95); box-shadow: 0 0 5cqw color-mix(in srgb, #7ce3b1 35%, transparent); }

.phone-onair {
  --accent: #ff5a5f;
  background: radial-gradient(ellipse 70% 85% at 50% 125%, rgba(255, 72, 66, 0.62), rgba(255, 52, 62, 0.22) 38%, rgba(120, 10, 30, 0.06) 62%, transparent 78%), #000;
}
.onair { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4cqw; }
.onair-label { display: flex; align-items: center; gap: 1.2cqw; color: #ff9a9d; font-size: 1.4cqw; font-weight: 500; letter-spacing: 0.5em; }
.onair-label i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #ff5a5f; box-shadow: 0 0 1.4cqw #ff3b30; animation: breathe 4s ease-in-out infinite; }
.onair-time { font-size: 17cqw; font-weight: 200; line-height: 1.05; letter-spacing: -0.03em; color: #fff4f2; font-variant-numeric: tabular-nums; }
.onair-note { font: italic 400 3.6cqw "DM Serif Display", Georgia, serif; color: #ffe1dd; }
.onair-pills { display: flex; gap: 1.2cqw; margin-top: 2.4cqw; }
.onair-pills span { padding: 0.7cqw 1.8cqw; border: 1px solid rgba(255, 220, 215, 0.28); border-radius: 999px; font-size: 1.4cqw; color: #f2d6d3; }
@keyframes breathe { 50% { opacity: 0.5; } }

.phone-words { background: radial-gradient(circle at 34% 50%, #0d1a15, #000 55%); }
.words { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 7cqw; }
.words-grid { position: relative; display: grid; grid-template-columns: repeat(11, 3.3cqw); grid-auto-rows: 3.5cqw; padding: 2cqw; font-weight: 600; font-size: 2.2cqw; text-align: center; align-items: center; }
.words-grid .l { display: block; color: #152020; transition: color 1.2s ease, text-shadow 1.2s ease; }
.words-grid .l.on { color: #f2fff9; text-shadow: 0 0 1.2cqw rgba(124, 227, 177, 0.9), 0 0 2.8cqw rgba(124, 227, 177, 0.45); }
/* Falling away, then held above the screen, then landing with a bounce. */
.words-grid .l.fall { transform: translate(var(--dx), 60cqw) rotate(var(--spin)); opacity: 0; transition: transform 0.9s cubic-bezier(0.55, 0, 1, 0.45) var(--delay), opacity 0.4s ease calc(var(--delay) + 0.5s); }
.words-grid .l.above { transform: translateY(-50cqw); opacity: 0; transition: none; }
.words-grid .l.land { transition: transform 0.75s cubic-bezier(0.3, 1.3, 0.5, 1) var(--delay), opacity 0.2s ease var(--delay), color 1.2s ease, text-shadow 1.2s ease; }
.words-grid .dot { position: absolute; width: 0.7cqw; height: 0.7cqw; border-radius: 50%; background: #7ce3b1; opacity: 0.12; transition: opacity 0.9s ease, box-shadow 0.9s ease; }
.words-grid .dot.on { opacity: 1; box-shadow: 0 0 1.2cqw rgba(124, 227, 177, 0.8); }
.words-grid .dot:nth-of-type(1) { left: 0; top: 0; }
.words-grid .dot:nth-of-type(2) { right: 0; top: 0; }
.words-grid .dot:nth-of-type(3) { right: 0; bottom: 0; }
.words-grid .dot:nth-of-type(4) { left: 0; bottom: 0; }
.words-day { display: flex; flex-direction: column; gap: 0.8cqw; color: var(--muted); font-size: 1.8cqw; }
.words-day .serif { font-size: 4.6cqw; color: var(--text); line-height: 1.1; }
.words-day .mono { font: 1.4cqw ui-monospace, Menlo, monospace; letter-spacing: 0.3em; color: var(--dim); margin-top: 1.4cqw; }

.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.extras > .extras-trial { border-style: dashed; background: transparent; }
.extras > .extras-trial h4 { margin-top: 0; color: var(--accent); }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.link-button { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Download: nav button, hero by device, and the Get Glancio section */
.nav nav a.nav-cta {
  color: var(--on-accent); background: var(--accent); font-weight: 600;
  padding: 7px 16px; border-radius: 999px; margin-left: 4px;
}
.nav nav a.nav-cta:hover { color: var(--on-accent); filter: brightness(1.08); }
.hidden { display: none !important; }
.quiet-link { color: var(--muted); text-decoration: none; font-size: 15px; }
.quiet-link:hover { color: var(--text); }
.hero-fine { color: var(--faint); font-size: 13px; margin-top: 14px; }
.button.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.button.ghost:hover { background: rgba(124, 227, 177, .08); filter: none; }
.get-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.get-card {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface);
}
.get-card h3 { margin: 0; }
.get-card p { margin: 0; color: var(--muted); font-size: 15px; }
.get-card p.fine { color: var(--faint); font-size: 13px; }
.get-card .button { margin-top: auto; }
@media (max-width: 900px) { .get-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .nav nav { display: flex; }
  .nav nav a:not(.nav-cta) { display: none; }
}
