:root {
  --bg: #0E0F11;
  --surface: #16181B;
  --surface-2: #22252A;
  --border: #2A2D33;
  --text: #ECEDEF;
  --muted: #B4B8BF;
  --subtle: #8A8F98;
  --accent: #C8F560;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); -webkit-font-smoothing: antialiased; }

a { color: var(--accent); }
a:hover { color: #E2FF9E; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 28px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--accent); text-decoration: none; }
.brand span { color: var(--text); font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.pill { font-size: 13px; font-weight: 500; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; }

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; padding: 72px 0 56px; }
.hero h1 { margin: 0; max-width: 900px; font-family: var(--display); font-weight: 700; font-size: clamp(44px, 7vw, 84px); line-height: 1.02; letter-spacing: -0.035em; }
.accent { color: var(--accent); }
.lede { margin: 0; max-width: 600px; font-size: 19px; line-height: 1.55; color: var(--muted); }

.waitlist { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 500px; margin-top: 8px; }
.waitlist input { flex: 1 1 260px; min-width: 0; height: 52px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 500 16px var(--body); }
.waitlist input::placeholder { color: #7C818A; }
.waitlist input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.waitlist button { height: 52px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--accent); color: var(--bg); font: 600 16px var(--body); cursor: pointer; }
.waitlist button:hover { background: #D6FA80; }
.waitlist button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.fineprint { margin: 0; font-size: 13px; color: var(--subtle); }

/* Demo */
.demo { display: flex; justify-content: center; padding: 8px 0 88px; }
.window { width: 100%; max-width: 920px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.chrome { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--border); opacity: 0.45; }
.dots { display: flex; gap: 7px; }
.dots span { width: 11px; height: 11px; border-radius: 50%; background: #3A3E45; }
.omnibox { flex: 1; height: 26px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; background: var(--surface-2); font-size: 12px; color: var(--subtle); }
.viewport { position: relative; padding: 28px; }
.page { display: flex; flex-direction: column; gap: 16px; padding: 36px; border-radius: 6px; background: var(--text); }
.bar { height: 10px; border-radius: 4px; background: #B9BCC2; }
.bar-title { width: 38%; height: 18px; background: var(--bg); }
.bar-a { width: 72%; }
.bar-b { width: 64%; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.tiles div { height: 110px; border-radius: 6px; background: #D4D7DC; }
.corner { position: absolute; width: 26px; height: 26px; border: 0 solid var(--accent); }
.tl { top: 14px; left: 14px; border-top-width: 3px; border-left-width: 3px; }
.tr { top: 14px; right: 14px; border-top-width: 3px; border-right-width: 3px; }
.bl { bottom: 14px; left: 14px; border-bottom-width: 3px; border-left-width: 3px; }
.br { bottom: 14px; right: 14px; border-bottom-width: 3px; border-right-width: 3px; }
.tag { position: absolute; top: 40px; right: 44px; padding: 6px 10px; border-radius: 6px; background: var(--bg); color: var(--accent); font: 600 12px var(--body); letter-spacing: 0.04em; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding-bottom: 96px; }
.features article { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--border); border-radius: 14px; }
.features h2 { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 600; }
.features p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Footer */
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px 0 40px; border-top: 1px solid var(--surface-2); font-size: 13px; color: var(--subtle); }

@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 48px 0 40px; }
  .lede { font-size: 17px; }
  .page { padding: 20px; }
  .tiles div { height: 64px; }
  .tag { top: 34px; right: 34px; }
}
