:root {
  --bg: #0a0d12;
  --bg-alt: #0f141b;
  --surface: #141b24;
  --surface-hover: #18212c;
  --border: #233040;
  --text: #e9edf3;
  --muted: #9ba7b6;
  --copper: #e8935a;
  --copper-strong: #f4a46d;
  --copper-ink: #1a0e05;
  --blue: #3d8bfd;
  --success: #6fd3a0;
  --danger: #ff8a7a;
  --radius: 14px;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--copper-strong); }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--copper-strong); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.75rem, 7vw, 4.75rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.narrow { max-width: 760px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; left: 16px; top: -100px; background: var(--copper); color: var(--copper-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; color: var(--copper); fill: var(--copper); }
.site-nav { display: none; gap: 24px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover { color: var(--text); }
.header-inner .button-small { margin-left: auto; }
@media (min-width: 900px) {
  .site-nav { display: flex; }
  .header-inner .button-small { margin-left: 8px; }
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--copper); color: var(--copper-ink);
  border: 0; border-radius: 10px;
  font: 600 1rem var(--font-body); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background 0.15s ease, transform 0.15s ease;
}
.button:hover { background: var(--copper-strong); color: var(--copper-ink); }
.button:active { transform: translateY(1px); }
.button[disabled] { opacity: 0.7; cursor: progress; }
.button-small { min-height: 38px; padding: 0 14px; font-size: 0.9rem; }

/* Eyebrows, chips, badges */
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  color: var(--copper); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px;
}
.badge {
  color: var(--text); background: color-mix(in srgb, var(--blue) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue) 45%, transparent);
  border-radius: 999px; padding: 2px 10px; font-size: 0.72rem; letter-spacing: 0.06em;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.chips li {
  color: var(--muted); font-size: 0.85rem;
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px;
}

/* Hero */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero-inner { display: grid; gap: 40px; align-items: center; }
.lede { color: var(--muted); font-size: 1.15rem; max-width: 34em; margin-bottom: 28px; }
.hero-art { position: relative; max-width: 520px; margin: 0 auto; width: 100%; }
.hero-art img {
  position: relative; width: 100%; height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
}
.glow {
  position: absolute; inset: 10% 5%;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--blue) 40%, transparent), transparent 75%),
    radial-gradient(closest-side at 70% 20%, color-mix(in srgb, var(--copper) 26%, transparent), transparent 70%);
  filter: blur(30px);
}
@media (min-width: 900px) {
  .hero { padding: 88px 0 104px; }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}

/* Waitlist form */
.waitlist { max-width: 520px; }
.waitlist-row { display: flex; flex-direction: column; gap: 10px; }
.waitlist input[type="email"] {
  flex: 1; min-height: 48px; min-width: 0; padding: 0 16px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
  font: inherit; font-size: 1rem;
}
.waitlist input[type="email"]::placeholder { color: #6c7889; }
.waitlist input[type="email"]:focus-visible { border-color: var(--copper); outline-offset: 1px; }
@media (min-width: 520px) { .waitlist-row { flex-direction: row; } }
.checkbox { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 0.95rem; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--copper); margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; margin: 12px 0 0; font-size: 0.95rem; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--danger); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section h2 { max-width: 20em; margin-bottom: 36px; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.card p { color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.step-number {
  display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px;
  border-radius: 50%; border: 1px solid var(--copper); color: var(--copper);
  font-family: var(--font-display); font-weight: 700;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Features */
.feature-grid { display: grid; gap: 16px; }
.feature svg {
  width: 28px; height: 28px; margin-bottom: 18px;
  fill: none; stroke: var(--copper); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.feature:hover { border-color: color-mix(in srgb, var(--copper) 45%, var(--border)); background: var(--surface-hover); }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Split layouts */
.split { display: grid; gap: 40px; align-items: center; }
.split > div > p { color: var(--muted); max-width: 34em; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }

.callout {
  border-left: 3px solid var(--blue);
  background: color-mix(in srgb, var(--blue) 8%, var(--surface));
  border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin-top: 28px;
}
.callout p { color: var(--muted); margin: 0; }
.callout-copper {
  border-left-color: var(--copper);
  background: color-mix(in srgb, var(--copper) 9%, var(--surface));
  margin-top: 0;
}

/* Flow diagram */
.flow { margin: 0; display: flex; flex-direction: column; align-items: center; }
.flow-node {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 100%; max-width: 280px; padding: 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600;
}
.flow-node svg { width: 30px; height: 30px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow-node small { color: var(--muted); font-family: var(--font-body); font-weight: 400; font-size: 0.85rem; }
.flow-node-main { border-color: var(--copper); box-shadow: 0 0 40px -12px color-mix(in srgb, var(--copper) 60%, transparent); }
.flow-node-main svg { color: var(--copper); stroke: none; width: 40px; height: 40px; }
.flow-wire {
  width: 3px; height: 36px; border-radius: 2px;
  background: linear-gradient(var(--copper), color-mix(in srgb, var(--copper) 40%, transparent));
}

/* Specs */
.specs { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--border); }
.specs th { color: var(--muted); font-weight: 500; width: 42%; padding-right: 16px; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
@media (max-width: 520px) {
  .specs th, .specs td { display: block; width: 100%; padding: 0; border: 0; }
  .specs th { padding-top: 14px; font-size: 0.85rem; }
  .specs td { padding-bottom: 14px; border-bottom: 1px solid var(--border); }
}

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--copper); font-size: 1.5rem; line-height: 1; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; max-width: 40em; }

/* Final call to action */
.cta { text-align: center; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--copper) 14%, transparent), transparent 60%), var(--bg-alt); border-top: 1px solid var(--border); }
.cta h2 { margin: 0 auto 12px; }
.cta p { color: var(--muted); }
.cta .waitlist { margin: 28px auto 0; text-align: left; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* Simple standalone pages */
.page-message { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.page-message p { color: var(--muted); }
