@font-face {
  font-family: "Geist";
  src: url(/fonts/geist-latin-wght-normal.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url(/fonts/geist-mono-latin-wght-normal.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --void: #070708;
  --ink: #101012;
  --lift: #1a1a1e;
  --line: #2a2a2f;
  --paper: #f3f2ef;
  --mist: #a3a39a;
  /* 5.9:1 on --void; the app's darker #6e6e73 is too faint for body text here. */
  --dim: #8a8a90;
  --signal: #ff4f3a;
  --signal-ink: #1c0a07;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --max: 1160px;
  /* Light sections: the brand's paper as background, ink as text. */
  --paper-bg: #f3f2ef;
  --paper-card: #ffffff;
  --paper-line: #e2e0da;
  --paper-text: #141416;
  --paper-mute: #5b5b55;
  /* Signal darkened so small red text passes AA on paper (5.3:1). */
  --signal-deep: #b8321f;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--void); color: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: color-mix(in oklab, var(--signal) 35%, transparent); }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.signal { color: var(--signal); }
.mist { color: var(--mist); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in oklab, var(--void) 82%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { height: 26px; width: 17px; flex: none; }
.brand .w1 { font-weight: 500; font-size: 14px; letter-spacing: .2em; }
.brand .w2 { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--signal); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav a.link { color: var(--mist); text-decoration: none; font-size: 14px; padding: 10px 12px; border-radius: 999px; }
.nav a.link:hover { color: var(--paper); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 500 15px/1 var(--sans); text-decoration: none; border: 1px solid var(--line); color: var(--paper); background: transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { border-color: var(--mist); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.btn.primary:hover { background: #ff6450; border-color: #ff6450; }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* Hero */
.hero { position: relative; padding: 88px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, color-mix(in oklab, var(--signal) 16%, transparent), transparent 70%); pointer-events: none; }
.orbits { position: absolute; right: -180px; top: -160px; width: 640px; height: 640px; opacity: .55; pointer-events: none; }
.hero .eyebrow { margin: 0 0 20px; }
.hero h1 { margin: 0; font-weight: 500; font-size: clamp(44px, 8vw, 96px); line-height: .98; letter-spacing: -0.035em; max-width: 11ch; }
.hero h1 span { color: var(--signal); }
.hero .lede { margin: 28px 0 0; max-width: 56ch; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--mist); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.shot { position: relative; margin-top: 72px; }
.window { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--ink); box-shadow: 0 40px 120px -40px rgb(0 0 0 / .9), 0 0 0 1px rgb(255 255 255 / .02) inset; }
.window .bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.window .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--lift); }
.window img { width: 100%; height: auto; }
.phone { position: absolute; right: 4%; bottom: -48px; width: min(24%, 240px); border: 1px solid var(--line); border-radius: 30px; overflow: hidden; background: var(--ink); box-shadow: 0 30px 80px -20px rgb(0 0 0 / .95); }
.phone img { width: 100%; height: auto; }

/* Sections: dark and light alternate so the page has rhythm and depth. */
section.block { padding: 112px 0; }
section.block.tint { background: linear-gradient(180deg, var(--void), #0d0d10 40%, var(--void)); }
section.block.light { background: var(--paper-bg); color: var(--paper-text); color-scheme: light; }
.light .signal { color: var(--signal-deep); }
.light .intro, .light .row .copy p:not(.kicker) { color: var(--paper-mute); }
.light .grid { background: transparent; border: 0; gap: 16px; }
.light .card { background: var(--paper-card); border: 1px solid var(--paper-line); border-radius: 16px; box-shadow: 0 1px 2px rgb(20 20 22 / .04), 0 12px 32px -18px rgb(20 20 22 / .18); transition: transform .2s ease, box-shadow .2s ease; }
.light .card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgb(20 20 22 / .05), 0 18px 40px -18px rgb(20 20 22 / .26); }
.light .card .num { color: var(--signal-deep); }
.light .card p { color: var(--paper-mute); }
.light .card code { background: #f0eee9; color: var(--paper-text); }
.light .window { border-color: #2a2a2f; box-shadow: 0 30px 70px -30px rgb(20 20 22 / .45); }
.light .ticks li { color: var(--paper-mute); }
.light .ticks li strong { color: var(--paper-text); }
.light .address { background: var(--paper-card); border-color: var(--paper-line); color: var(--paper-text); }
.light .address .you { color: var(--signal-deep); }
.light .btn { border-color: #cfcdc6; color: var(--paper-text); }
.light .btn:hover { border-color: var(--paper-text); }
.kicker { margin: 0 0 16px; }
.block h2 { margin: 0; font-weight: 500; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.03em; max-width: 18ch; }
.block .intro { margin: 18px 0 0; color: var(--mist); font-size: 18px; line-height: 1.6; max-width: 60ch; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.card { background: var(--void); padding: 28px; }
.card .num { color: var(--dim); }
.card h3 { margin: 18px 0 10px; font-weight: 500; font-size: 20px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--mist); font-size: 15px; line-height: 1.6; }
.card code { font-family: var(--mono); font-size: 13px; color: var(--paper); background: var(--lift); padding: 2px 6px; border-radius: 6px; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; margin-top: 48px; }
.split .window { border-radius: 14px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 16px; line-height: 1.55; color: var(--mist); }
.ticks li strong { color: var(--paper); font-weight: 500; }
.ticks svg { width: 20px; height: 20px; margin-top: 2px; color: var(--paper); }
.light .ticks svg { color: var(--paper-text); }

.address { margin-top: 40px; display: inline-flex; align-items: center; gap: 0; font-family: var(--mono); font-size: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; background: var(--ink); }
.address .you { color: var(--signal); }

/* Closing call to action: a bold band in the brand colour. */
.closing { text-align: center; padding: 112px 0; background: var(--signal); color: var(--signal-ink); color-scheme: light; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(closest-side, rgb(255 255 255 / .22), transparent 70%); pointer-events: none; }
.closing .wrap { position: relative; }
.closing p.sub { margin: 16px auto 0; max-width: 46ch; font-size: 18px; line-height: 1.55; color: color-mix(in oklab, var(--signal-ink) 80%, var(--signal)); }
.closing .btn.primary { background: var(--void); border-color: var(--void); color: var(--paper); }
.closing .btn.primary:hover { background: #1a1a1e; border-color: #1a1a1e; }
.closing svg.mark { width: 52px; height: 82px; margin: 0 auto 28px; color: var(--signal-ink); }
.closing h2 { margin: 0 auto; max-width: 16ch; }
.closing .ctas { justify-content: center; display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .brand svg { height: 20px; width: 13px; }
footer nav { margin-left: auto; display: flex; gap: 20px; }
footer a { text-decoration: none; color: var(--mist); }
footer a:hover { color: var(--paper); }

.row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.row + .row { margin-top: 96px; }
.row.flip .window { order: 2; }
.row .window { border-radius: 14px; }
.row h3 { margin: 0; font-weight: 500; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; letter-spacing: -0.02em; }
.row .copy p:not(.kicker) { margin: 16px 0 0; color: var(--mist); font-size: 17px; line-height: 1.6; }

/* Works with your assistant */
.assistants { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.assistants span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--ink); font-weight: 500; }
.assistants span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.prompt { margin-top: 28px; max-width: 640px; border: 1px solid var(--line); border-radius: 16px; background: var(--ink); padding: 20px 22px; font-size: 16px; line-height: 1.6; }
.prompt .you { color: var(--dim); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.prompt p { margin: 6px 0 0; }
.prompt p + .you { display: block; margin-top: 16px; }
.prompt .ai { color: var(--mist); }

/* Sign-in page */
.center { min-height: calc(100dvh - 64px); display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 48px 0; }
.center-wrap { display: flex; justify-content: center; min-width: 0; }
.center-wrap > * { min-width: 0; }
.panel { width: min(440px, 100%); border: 1px solid var(--line); border-radius: 20px; background: var(--ink); padding: 36px 28px; }
.panel svg.mark { width: 30px; height: 47px; }
.panel h1 { margin: 22px 0 8px; font-weight: 500; font-size: 28px; letter-spacing: -0.02em; }
.panel p { margin: 0; color: var(--mist); line-height: 1.6; font-size: 15px; }
.field { display: flex; align-items: center; margin-top: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--void); overflow: hidden; }
.field:focus-within { border-color: var(--signal); }
.field input { flex: 1; min-width: 0; height: 48px; padding: 0 0 0 14px; border: 0; background: transparent; color: var(--paper); font: 16px var(--mono); outline: none; }
.field span { padding-right: 14px; color: var(--dim); font: 16px var(--mono); white-space: nowrap; }
.panel .btn { width: 100%; margin-top: 14px; }
.panel .error { min-height: 22px; margin-top: 10px; color: var(--signal); font-size: 14px; }
.panel .fine { margin-top: 18px; font-size: 13px; color: var(--dim); }

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .split, .row { grid-template-columns: 1fr; gap: 28px; }
  .row.flip .window { order: 0; }
  .row + .row { margin-top: 72px; }
  .phone { width: 34%; right: 2%; bottom: -36px; border-radius: 22px; }
}
@media (max-width: 600px) {
  .nav a.link { display: none; }
  .brand .w1, .brand .w2 { font-size: 12px; }
  .hero { padding-top: 56px; }
  .grid { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  section.block { padding-top: 88px; }
  .shot { margin-top: 48px; }
  .window .bar { padding: 9px 10px; }
  .orbits { width: 420px; height: 420px; right: -220px; top: -120px; }
}
@media (max-width: 600px) { section.block { padding: 80px 0; } .closing { padding: 88px 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .light .card { transition: none; } .light .card:hover { transform: none; } }
