:root {
  color-scheme: dark;
  --background: #080b12;
  --surface: #0f1422;
  --surface-raised: #151c2d;
  --text: #f5f7ff;
  --muted: #a6b0c5;
  --quiet: #74809a;
  --border: #273148;
  --accent: #8ea6ff;
  --accent-ink: #091126;
  --success: #63d6a1;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 72% 4%, rgba(71, 96, 177, .22), transparent 32rem),
    var(--background);
}
a { color: inherit; }
.site-header, main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 740; text-decoration: none; }
.wordmark img { width: 34px; height: 34px; border-radius: 9px; }
nav { display: flex; align-items: center; gap: 24px; }
nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--text); }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  padding: 92px 0 78px;
}
.status, .eyebrow { color: var(--accent); font-size: 12px; font-weight: 760; letter-spacing: .11em; text-transform: uppercase; }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; }
.status span { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(99, 214, 161, .11); }
h1 { max-width: 690px; margin: 0; font-size: clamp(48px, 7vw, 82px); line-height: .98; letter-spacing: -.062em; }
.lede { max-width: 630px; margin: 26px 0 0; color: var(--muted); font-size: clamp(19px, 2.1vw, 24px); line-height: 1.5; letter-spacing: -.018em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 19px; border: 1px solid var(--border); border-radius: 13px; font-size: 14px; font-weight: 700; text-decoration: none; }
.button.primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.button.secondary { background: rgba(255, 255, 255, .025); }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible { outline: 3px solid rgba(142, 166, 255, .44); outline-offset: 3px; }
.beta-note { margin: 16px 0 0; color: var(--quiet); font-size: 13px; }

.demo { position: relative; padding-bottom: 92px; }
.terminal { overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: rgba(9, 13, 23, .92); box-shadow: 0 34px 90px rgba(0, 0, 0, .38); }
.terminal-bar { min-height: 44px; display: flex; align-items: center; gap: 7px; padding: 0 15px; border-bottom: 1px solid var(--border); color: var(--quiet); }
.terminal-bar span { width: 8px; height: 8px; border-radius: 50%; background: #3b4355; }
.terminal-bar b { margin-left: 7px; font-size: 11px; font-weight: 600; }
pre { margin: 0; padding: 25px 23px 31px; overflow-x: auto; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace; font-size: 13px; line-height: 1.8; }
.prompt { color: var(--accent); }
.accepted { color: var(--success); }
.notification {
  position: absolute;
  right: -22px;
  bottom: 0;
  width: min(330px, 88%);
  display: flex;
  gap: 13px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background: rgba(31, 37, 51, .92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
  backdrop-filter: blur(24px);
}
.notification img { width: 39px; height: 39px; border-radius: 10px; }
.notification div { flex: 1; min-width: 0; }
.notification p { display: flex; justify-content: space-between; margin: 0 0 3px; font-size: 13px; }
.notification time { color: var(--quiet); font-size: 11px; }
.notification span { display: block; color: #d6dbea; font-size: 13px; }
.notification small { display: block; margin-top: 4px; color: var(--quiet); }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--border); }
.trust-strip span { padding: 22px 12px; color: var(--quiet); font-size: 12px; text-align: center; }
.trust-strip span + span { border-left: 1px solid var(--border); }
.section { padding: 122px 0; border-bottom: 1px solid var(--border); }
.eyebrow { margin: 0 0 13px; }
h2 { max-width: 720px; margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.04; letter-spacing: -.052em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 58px; }
.steps article { min-width: 0; padding: 25px; border: 1px solid var(--border); border-radius: 18px; background: rgba(15, 20, 34, .58); }
.steps b, .feature-list > li > span { color: var(--accent); font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
h3 { margin: 30px 0 8px; font-size: 20px; }
.steps p, .split > div > p:last-child, .feature-list p, .beta-card > p { color: var(--muted); line-height: 1.65; }
.steps p { min-height: 52px; margin: 0 0 24px; font-size: 14px; }
.steps code { display: block; overflow-x: auto; padding-top: 18px; border-top: 1px solid var(--border); color: #dbe2f8; font-size: 12px; white-space: nowrap; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(56px, 10vw, 130px); }
.split > div > p:last-child { margin-top: 24px; font-size: 16px; }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 25px 0; border-top: 1px solid var(--border); }
.feature-list li:last-child { border-bottom: 1px solid var(--border); }
.feature-list strong { font-size: 16px; }
.feature-list p { margin: 8px 0 0; font-size: 14px; }
.beta-card { display: grid; grid-template-columns: .85fr 1fr auto; align-items: end; gap: 44px; margin: 96px 0; padding: 38px; border: 1px solid #35436a; border-radius: 22px; background: linear-gradient(135deg, rgba(37, 49, 84, .72), rgba(15, 20, 34, .76)); }
.beta-card h2 { font-size: clamp(30px, 4vw, 44px); }
.beta-card > p { margin: 0; font-size: 14px; }
.beta-card > a { color: var(--accent); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 38px 0 54px; border-top: 1px solid var(--border); }
footer p { justify-self: end; margin: 0; color: var(--quiet); font-size: 12px; }

@media (max-width: 860px) {
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 70px; }
  .demo { max-width: 650px; }
  .notification { right: 8px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip span:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
  .trust-strip span:nth-child(4) { border-top: 1px solid var(--border); }
  .steps, .split, .beta-card { grid-template-columns: 1fr; }
  .steps p { min-height: 0; }
  .beta-card { align-items: start; gap: 22px; }
  footer { grid-template-columns: 1fr auto; }
  footer p { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 560px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .site-header nav { gap: 14px; }
  .site-header nav a:first-child { display: none; }
  .hero { padding-top: 56px; }
  h1 { font-size: clamp(46px, 16vw, 64px); }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip span + span { border-left: 0; border-top: 1px solid var(--border); }
  .section { padding: 88px 0; }
  .steps { grid-template-columns: 1fr; }
  .beta-card { margin: 70px 0; padding: 27px; }
  footer { grid-template-columns: 1fr; }
  footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --background: #f8faff;
    --surface: #ffffff;
    --surface-raised: #f0f4ff;
    --text: #10182b;
    --muted: #4e5d79;
    --quiet: #71809c;
    --border: #dbe2f1;
    --accent: #3157d5;
    --accent-ink: #ffffff;
    --success: #16734b;
  }
  body { background: radial-gradient(circle at 72% 4%, rgba(130, 158, 239, .2), transparent 32rem), var(--background); }
  .site-header { border-bottom-color: rgba(16, 24, 43, .09); }
  .terminal { background: #0c1120; color: #f5f7ff; }
  .notification { border-color: rgba(16, 24, 43, .09); background: rgba(255, 255, 255, .92); box-shadow: 0 24px 60px rgba(49, 70, 118, .18); }
  .notification span { color: #34405a; }
  .steps article { background: rgba(255, 255, 255, .76); }
  .steps code { color: #243451; }
  .beta-card { border-color: #c5d0ed; background: linear-gradient(135deg, #eef3ff, #f9fbff); }
}
