:root {
  --bg: #0a0a0a;
  --bg-raised: #111111;
  --bg-card: #161616;
  --line: #2a2a2a;
  --text: #f5f5f7;
  --muted: #86868b;
  --faint: #6e6e73;
  --accent: #d4722c;
  --accent-soft: rgba(212, 114, 44, 0.14);
  --white: #ffffff;
  --measure: 40rem;
  --wide: 52rem;
  --radius: 14px;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #f0a050; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 12px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(16px);
  z-index: 20;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--white); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 980px;
  background: var(--white);
  color: var(--bg);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-cta:hover { color: var(--bg); transform: translateY(-1px); }

.nav-secondary {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

/* Page frame */
.wrap {
  width: min(var(--wide), calc(100% - 48px));
  margin: 0 auto;
}

.prose { width: min(var(--measure), 100%); }

/* Hero */
.hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 22px;
}

.subhead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 40rem;
}

.notice {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--bg-raised);
  color: var(--text);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 22ch;
}

.section p,
.section li { color: #d5d5d8; }

.section p + p { margin-top: 1em; }

.workflows {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.workflows li {
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.workflows strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
}

/* Scarcity */
.cite {
  margin-top: 24px;
  padding: 22px 24px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cite .as-of {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 16px;
}

/* Data / not */
.facts {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.facts div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.facts div:last-child { border-bottom: 0; padding-bottom: 0; }

.facts dt {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}

.facts dd { color: #d5d5d8; }

.not-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.not-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: #d5d5d8;
}

.not-list li:first-child { padding-top: 0; }
.not-list li:last-child { border-bottom: 0; }

/* Pricing */
.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.price {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price.featured { border-color: var(--accent); background: var(--accent-soft); }

.price .tier {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.price .amount {
  font-family: var(--serif);
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price .period {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 8px 0 12px;
}

.capacity {
  padding: 16px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.95rem;
}

/* FAQ */
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--white);
  font: inherit;
  font-weight: 550;
  padding: 18px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-item button span { color: var(--accent); font-family: var(--mono); }

.faq-item .answer {
  display: none;
  padding: 0 0 18px;
  color: #d5d5d8;
}

.faq-item.open .answer { display: block; }

/* CTA */
.cta {
  padding: 80px 0 88px;
  text-align: left;
}

.cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  max-width: 18ch;
  margin-bottom: 16px;
}

.cta p { color: var(--muted); max-width: 36rem; margin-bottom: 28px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 980px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary { background: var(--white); color: var(--bg); }
.btn-primary:hover { color: var(--bg); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { color: var(--white); border-color: var(--muted); }

/* Forms */
.form {
  display: grid;
  gap: 16px;
  max-width: 32rem;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--white);
  font: inherit;
}

textarea { min-height: 120px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.alert {
  display: none;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
}

.alert.show { display: block; }
.alert.ok { background: rgba(48, 209, 88, 0.12); color: #30d158; }
.alert.err { background: rgba(255, 69, 58, 0.12); color: #ff453a; }

/* Hub */
.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.hub-card {
  display: block;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
}

.hub-card:hover { border-color: var(--accent); color: inherit; }

.hub-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.hub-card p { color: var(--muted); font-size: 0.95rem; }

/* Footer */
footer {
  padding: 40px 32px 48px;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  list-style: none;
}

.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--white); }
.footer-links a.control { color: #4cc2ff; }

.legal {
  margin-top: 22px;
  color: var(--faint);
  font-size: 0.78rem;
  max-width: 52rem;
  line-height: 1.55;
}

/* Breadcrumb */
.crumbs {
  font-size: 0.82rem;
  color: var(--faint);
  margin-bottom: 28px;
}

.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--white); }

@media (max-width: 800px) {
  .nav { padding: 14px 16px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 24px;
    gap: 14px;
  }
  .nav-links.open { display: flex; }
  .menu-btn { display: grid; place-items: center; }
  .nav-cta { display: none; }
  .wrap { width: min(var(--wide), calc(100% - 32px)); }
  .prices, .hub-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .section { padding: 48px 0; }
}

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