/* Alpha Desk public landing page (www). Same tokens as the app. */
:root {
  color-scheme: dark;
  --bg: #08090a; --surface: #0f1113; --surface-2: #15181b; --line: #1f2328; --line-2: #2b3037;
  --text: #eceef0; --text-2: #a3a9b0; --muted: #6c737b; --accent: #f5a524;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.mono { font-family: var(--mono); }
.dim { color: var(--text-2); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; height: 60px; padding: 0 max(20px, calc((100vw - 1200px) / 2));
       background: rgba(8, 9, 10, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; font: 600 14px var(--mono); letter-spacing: .14em; white-space: nowrap; }
.brand i { width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); border-radius: 1px; }
.brand.sm { font-size: 12px; }
.nav nav { display: flex; gap: 4px; margin-left: auto; }
.nav nav a { padding: 6px 12px; border-radius: 8px; color: var(--text-2); font-size: 14px; font-weight: 500; }
.nav nav a:hover { color: var(--text); background: var(--surface); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 16px; border-radius: 9px; border: 1px solid var(--line-2);
       font-weight: 600; font-size: 14px; color: var(--text); background: var(--surface); transition: border-color .15s, filter .15s; white-space: nowrap; }
.btn:hover { border-color: var(--accent); }
.btn.primary { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 11px; }

main { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 88px 0; border-bottom: 1px solid var(--line); }
section:last-child { border-bottom: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; font-weight: 700; max-width: 16ch; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; font-weight: 650; }
h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 14px 0 0; color: var(--text-2); }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.sub { font-size: 17px; margin-bottom: 36px; }

/* hero */
.hero { padding-top: 96px; }
.lead { font-size: clamp(17px, 2vw, 20px); max-width: 60ch; margin-top: 22px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.cta.center { justify-content: center; margin-top: 40px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 36px 0 0; font-size: 13px; color: var(--muted); }
.facts b { color: var(--text); font-weight: 600; }
.shot { margin: 0; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--surface);
        box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .02); }
.hero-shot { margin-top: 56px; }
.shot .bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.shot .bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.shot .bar em { margin-left: 12px; font-style: normal; font-size: 12px; color: var(--muted); }

/* features grid */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid article { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.grid article p { font-size: 15px; margin-top: 8px; }
.grid .k { display: block; font-size: 12px; color: var(--accent); margin-bottom: 14px; letter-spacing: .1em; }

/* split rows */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.split.rev .copy { order: 2; }
.split .copy p { font-size: 16.5px; }

/* access */
.access { text-align: center; }
.access .grid { text-align: left; margin-top: 36px; }
.note { font-size: 14px; color: var(--muted); }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 28px max(20px, calc((100vw - 1200px) / 2));
        border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .split.rev .copy { order: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .nav { gap: 12px; padding: 0 16px; }
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  main { padding: 0 16px; }
  .grid, .grid.three { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 56px; }
  .hero-shot { margin-top: 40px; }
  .cta .btn { flex: 1 1 auto; }
  .foot { padding: 24px 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* request-access page */
[hidden] { display: none !important; }
.req { display: grid; place-items: center; min-height: calc(100vh - 60px); padding-top: 0; }
.req-card { width: 100%; max-width: 520px; padding: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin: 48px 0; }
.req-card h1 { font-size: 30px; max-width: none; margin-top: 6px; }
.req-card .who { font-size: 12px; color: var(--muted); margin: 0 0 18px; }
.req-card .who b { color: var(--text-2); font-weight: 500; }
.req-card label { display: block; margin: 22px 0 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.req-card textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; font: 14px var(--sans); resize: vertical; }
.req-card textarea:focus { outline: none; border-color: var(--accent); }
.req-card .btn { margin-top: 18px; }
.req-card .btn:disabled { opacity: .6; cursor: wait; }
.req-card .err { color: #f2564b; font-size: 14px; min-height: 0; }
@media (max-width: 640px) { .req-card { padding: 24px; border-radius: 14px; } .req-card .btn { width: 100%; } }
.req-card section { padding: 0; border: 0; }
