/* Layout: single centered column (max 68rem), orbit diagram beside the hero on wide screens, stacked on phones. */
:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --ink: #14213a;
  --muted: #56627a;
  --line: #d6dce6;
  --accent: #2f55c4;
  --gold: #b07a12;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1424; --surface: #151e33; --ink: #e6ebf5; --muted: #9aa6bf;
    --line: #26324d; --accent: #8aa8ff; --gold: #e2b04a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1424; --surface: #151e33; --ink: #e6ebf5; --muted: #9aa6bf;
  --line: #26324d; --accent: #8aa8ff; --gold: #e2b04a; color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--body);
}
.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 650; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0; max-width: 65ch; }
.eyebrow {
  font: 500 0.75rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.muted { color: var(--muted); }

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-block: 18px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font: 700 1.05rem/1 var(--display); color: var(--ink); text-decoration: none;
}
.brand svg { flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.95rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* Hero */
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px; align-items: center; padding-block: 64px 48px;
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero-copy .lede { font-size: 1.15rem; color: var(--muted); }
.orbit { width: 100%; max-width: 420px; justify-self: center; }
.orbit text { font: 500 13px var(--mono); fill: var(--muted); }
.orbit .lp { fill: var(--gold); }
.orbit .lp-label { fill: var(--ink); font-weight: 600; }
.orbit .path { fill: none; stroke: var(--line); stroke-width: 1.5; }
.orbit .sun { fill: var(--gold); }
.orbit .earth { fill: var(--accent); }

/* Sections */
section.block .wrap { padding-block: 48px; display: flex; flex-direction: column; gap: 24px; }
section.block + section.block .wrap { border-top: 1px solid var(--line); }
.products {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.product {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  min-width: 0;
}
.product.featured { border-color: var(--accent); }
.product .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.status {
  font: 500 0.72rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted);
  white-space: nowrap;
}
.status.live { border-color: var(--accent); color: var(--accent); }
.product .more { margin-top: auto; font-weight: 600; }

.button {
  display: inline-block; align-self: flex-start;
  background: var(--accent); color: var(--bg); text-decoration: none; font-weight: 600;
  padding: 12px 20px; border-radius: 6px;
}
.button.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.steps .n { font: 600 0.85rem/1 var(--mono); color: var(--gold); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin: 0; }
.facts div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.facts dt { font-weight: 650; font-family: var(--display); font-size: 1.05rem; }
.facts dd { margin: 0; color: var(--muted); }

.notice {
  padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--gold);
  background: var(--surface); display: flex; flex-direction: column; gap: 8px;
}
.prose { display: flex; flex-direction: column; gap: 16px; }
.prose h2 { margin-top: 12px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 24px; }
.site-foot .wrap {
  padding-block: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  font-size: 0.9rem; color: var(--muted);
}
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot a { color: var(--muted); }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 32px; }
  .orbit { max-width: 320px; }
  .products, .facts, .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .orbit .earth-group { transform-origin: 200px 200px; animation: drift 14s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
}
