:root {
  color-scheme: dark;
  --canvas: #07070A;
  --chrome: #0A0A0D;
  --sidebar: #09090D;
  --surface: #15151B;
  --raised: #101015;
  --border: #292932;
  --text: #F4F4F7;
  --secondary: #B8B7C0;
  --muted: #777682;
  --accent: #9B84FF;
  --accent-soft: #252039;
  --page-width: 1160px;
  --section-space: clamp(58px, 5.7vw, 78px);
  --hero-space-top: clamp(54px, 4.4vw, 60px);
  --hero-space-bottom: clamp(68px, 5.7vw, 78px);
  --system-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  background: var(--canvas);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--canvas);
  font-family: var(--system-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
a:hover { color: var(--text); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 12px max(24px, calc((100vw - var(--page-width)) / 2));
  border-bottom: 1px solid var(--border);
  background: rgb(10 10 13 / 94%);
  backdrop-filter: blur(16px);
}

.brand, .footer-brand { display: inline-flex; width: fit-content; align-items: center; }
.brand img { display: block; width: min(220px, 100%); height: auto; }
.site-header nav, .footer-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.site-header nav a, .footer-links a {
  color: var(--secondary);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.site-header nav a:hover, .footer-links a:hover { color: var(--text); }
.header-status {
  justify-self: end;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-wrap { width: min(var(--page-width), calc(100% - 56px)); margin-inline: auto; }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  min-height: 0;
  padding-block: var(--hero-space-top) var(--hero-space-bottom);
  column-gap: 42px;
}
.hero-copy { position: relative; z-index: 1; max-width: 620px; min-width: 0; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--secondary); letter-spacing: .08em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
h1 { margin-bottom: 20px; font-size: clamp(52px, 7.2vw, 88px); font-weight: 600; line-height: .99; }
h1 span { color: var(--secondary); }
.tagline { margin-bottom: 18px; color: var(--accent); font-size: 12px; font-weight: 650; letter-spacing: .22em; }
.hero-description { max-width: 440px; margin-bottom: 28px; color: var(--secondary); font-size: clamp(17px, 2vw, 20px); line-height: 1.6; }
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid #443c65;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #D5CCFF;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-art { display: grid; place-items: center; min-width: 0; }
.hero-art img { display: block; width: min(100%, 394px); height: auto; }
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.scroll-cue span { color: var(--accent); font-size: 18px; }

.section-block { padding-block: var(--section-space); border-top: 1px solid var(--border); }
.section-heading { max-width: 660px; margin-bottom: 46px; }
.section-heading h2, .pricing-copy h2, .closing h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 560;
  line-height: 1.08;
}
.section-heading > p:last-child { max-width: 560px; margin-bottom: 0; color: var(--secondary); font-size: 17px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, var(--surface), var(--raised));
  transition: border-color 160ms ease, transform 160ms ease;
}
.feature-card:hover { transform: translateY(-2px); border-color: #51496D; }
.card-index { display: block; margin-bottom: 26px; color: var(--accent); font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.feature-card h3 { margin-bottom: 10px; font-size: 21px; font-weight: 560; letter-spacing: -.025em; }
.feature-card p { margin-bottom: 0; color: var(--secondary); font-size: 15px; line-height: 1.65; }

.features-section { background: radial-gradient(ellipse at 50% 10%, rgb(37 32 57 / 28%), transparent 56%); }
.product-list { border-top: 1px solid var(--border); }
.product-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 92px;
  padding: 16px 8px;
  border-bottom: 1px solid var(--border);
}
.product-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #39344C;
  border-radius: 13px;
  background: var(--accent-soft);
  color: #D5CCFF;
  font-size: 13px;
  font-weight: 650;
}
.product-row h3 { margin: 0 0 3px; font-size: 17px; font-weight: 570; letter-spacing: -.02em; }
.product-row p { margin: 0; color: var(--secondary); font-size: 15px; line-height: 1.55; }
.state-label { color: var(--secondary); font-size: 11px; font-weight: 650; letter-spacing: .1em; text-align: right; text-transform: uppercase; white-space: nowrap; }
.state-dev { color: #D5CCFF; }
.development-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; }

.platforms-section { background: var(--chrome); }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.platform-grid li {
  display: flex;
  min-height: 100px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--raised);
}
.platform-name { font-size: 18px; font-weight: 560; letter-spacing: -.02em; }
.platform-grid .state-label { text-align: left; }

.pricing-section { padding-block: var(--section-space); }
.pricing-card {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 48px;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid #403A56;
  border-radius: 20px;
  background: linear-gradient(125deg, var(--surface), #100F16 66%);
}
.pricing-copy h2 { margin-bottom: 20px; font-size: clamp(34px, 4vw, 48px); }
.price { margin-bottom: 4px; color: var(--secondary); font-size: 16px; }
.price span { color: var(--text); font-size: clamp(42px, 6vw, 64px); font-weight: 580; letter-spacing: -.06em; line-height: 1; }
.price-note { color: var(--muted); font-size: 13px; }
.pricing-details { align-self: center; }
.pricing-details ul { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.pricing-details li { position: relative; padding-left: 23px; color: var(--secondary); font-size: 14px; }
.pricing-details li::before { position: absolute; top: 0; left: 0; color: var(--accent); content: "—"; }
.status-pill-muted { border-color: #403A56; background: #17151F; color: var(--secondary); letter-spacing: .045em; }
.small-print { max-width: 390px; margin: 16px 0 0; color: var(--muted); font-size: 12px; }

.closing { display: grid; justify-items: center; padding-block: 82px 90px; text-align: center; }
.closing img { display: block; width: 52px; height: 52px; object-fit: contain; margin-bottom: 28px; }
.closing .eyebrow { margin-bottom: 14px; }
.closing h2 { margin-bottom: 14px; }
.closing > p:not(.eyebrow) { margin-bottom: 24px; color: var(--secondary); font-size: 17px; }

.site-footer { border-top: 1px solid var(--border); background: var(--chrome); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px 32px;
  width: min(var(--page-width), calc(100% - 56px));
  margin-inline: auto;
  padding-block: 30px;
}
.footer-brand img { display: block; width: 176px; height: auto; }
.footer-status, .copyright { margin: 0; color: var(--muted); font-size: 12px; }
.footer-status { grid-column: 1; }
.footer-links { grid-column: 2; grid-row: 1 / span 2; gap: 22px; }
.footer-links a { font-size: 13px; }
.draft-tag { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.copyright { grid-column: 1; }

.draft-page .site-header { display: flex; justify-content: space-between; }
.back-link, .footer-home { color: var(--secondary); font-size: 13px; text-decoration: none; }
.draft-content { min-height: calc(100svh - 170px); padding-block: 92px 120px; }
.draft-content h1 { margin-block: 24px 18px; font-size: clamp(42px, 7vw, 72px); }
.draft-content h2 { margin-block: 46px 12px; font-size: 22px; font-weight: 570; letter-spacing: -.025em; }
.draft-content > p { max-width: 700px; color: var(--secondary); }
.draft-content .draft-lead { color: var(--text); font-size: 19px; line-height: 1.65; }
.draft-content .draft-date { margin-top: 52px; color: var(--muted); font-size: 12px; }
.draft-banner { display: inline-flex; padding: 8px 12px; border: 1px solid #403A56; border-radius: 8px; background: #15131B; color: #D5CCFF; font-size: 12px; font-weight: 600; }

@media (max-width: 760px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 10px 18px; min-height: auto; padding: 14px 20px; }
  .brand { grid-column: 1; grid-row: 1; min-width: 0; }
  .brand img { width: min(180px, 100%); }
  .header-status { grid-column: 2; grid-row: 1; font-size: 10px; white-space: nowrap; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; min-width: 0; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 9px; border-top: 1px solid var(--border); }
  .site-header nav a { font-size: 12px; }
  .section-wrap { width: min(var(--page-width), calc(100% - 40px)); }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 54px 68px; }
  .hero-copy { order: 1; }
  .hero-art { order: 0; justify-content: start; margin: 0 0 38px; }
  .hero-art { width: 100%; }
  .hero-art img { width: min(68vw, 300px); max-width: 100%; }
  h1 { font-size: clamp(38px, 12vw, 52px); }
  .section-heading h2 { font-size: clamp(30px, 8vw, 40px); }
  .scroll-cue { bottom: 18px; }
  .section-block { padding-block: 58px; }
  .section-heading { margin-bottom: 30px; }
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 20px; }
  .card-index { margin-bottom: 18px; }
  .product-row { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding-block: 15px; }
  .product-mark { width: 38px; height: 38px; }
  .product-row .state-label { grid-column: 2; text-align: left; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid li { min-height: 90px; }
  .pricing-section { padding-block: 54px; }
  .pricing-card { grid-template-columns: 1fr; gap: 30px; padding: 26px 22px; }
  .closing { padding-block: 62px 68px; }
  .footer-inner { grid-template-columns: 1fr; width: calc(100% - 40px); gap: 13px; }
  .footer-links { grid-column: 1; grid-row: auto; flex-wrap: wrap; gap: 18px; padding-block: 8px; }
  .footer-status, .copyright { grid-column: 1; }
  .draft-content { min-height: calc(100svh - 150px); padding-block: 68px 90px; }
  .draft-page .site-header { padding-inline: 20px; }
}

@media (max-width: 380px) {
  .site-header { padding-inline: 16px; }
  .brand img { width: min(150px, 100%); }
  .site-header nav a { font-size: 11px; }
  .section-wrap, .footer-inner { width: calc(100% - 32px); }
  .hero .eyebrow { align-items: flex-start; font-size: 10px; }
  .platform-grid li { padding: 15px; }
  .state-label { font-size: 10px; letter-spacing: .07em; }
  .pricing-card { padding-inline: 18px; }
  .status-pill { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
