:root {
  color-scheme: dark;
  --night: #0f172a;
  --slate: #1e293b;
  --white: #f8fafc;
  --green: #10b981;
  --mint: #65ebba;
  --orange: #fdba74;
  --muted: #b6c3d5;
  --line: #334258;
  --surface: #131e32;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--night);
  color: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.6; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--mint); outline-offset: 5px; }
img { max-width: 100%; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.1vw, 3.35rem); letter-spacing: -.045em; }
h3 { font-size: 1.23rem; letter-spacing: -.018em; }
h2 + p { margin-top: 1rem; color: var(--muted); }
[id] { scroll-margin-top: 6.3rem; }
.container { width: min(100% - 3rem, 74rem); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 4;
  top: .75rem;
  left: .75rem;
  transform: translateY(-170%);
  background: var(--mint);
  color: var(--night);
  padding: .65rem 1rem;
}
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 3; border-bottom: 1px solid var(--line); background: #101827; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.17rem; font-weight: 750; white-space: nowrap; }
.brand img { display: block; flex: none; }
.navigation, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.85rem, 2.4vw, 2rem); }
.navigation a, .site-footer nav a { text-decoration: none; color: var(--muted); font-size: .92rem; }
.navigation a:hover, .site-footer nav a:hover { color: var(--mint); }
.navigation .nav-cta, .menu-button { padding: .45rem .8rem; border: 1px solid #406657; border-radius: .45rem; color: var(--mint); }
.menu-button { background: transparent; font: inherit; cursor: pointer; }

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 77% 53%, #143731 0%, transparent 49%), linear-gradient(120deg, #101727, #101d2e);
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; min-height: 36rem; padding-block: 4.4rem; }
.hero-copy { position: relative; z-index: 1; }
.status { display: inline-flex; align-items: center; gap: .55rem; color: var(--mint); font-size: .9rem; font-weight: 650; }
.status span { width: .48rem; height: .48rem; background: var(--green); border-radius: 50%; flex: none; }
h1 { margin-top: 1.25rem; font-size: clamp(3rem, 5.75vw, 5.9rem); font-weight: 780; letter-spacing: -.072em; line-height: .99; }
h1 em { color: var(--mint); font-style: normal; }
.intro { max-width: 33rem; margin-top: 1.5rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.16rem); }
.project-signature { margin-top: .7rem; color: var(--muted); font-size: .9rem; }
.project-signature a, .legal-grid a { text-underline-offset: .2em; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .5rem .9rem; border: 1px solid transparent; border-radius: .55rem; text-decoration: none; font-size: .95rem; font-weight: 700; transition: background-color .18s, border-color .18s; }
.button.primary { background: var(--green); color: #071c17; }
.button.primary:hover { background: var(--mint); }
.button.secondary { border-color: #506179; color: var(--white); }
.button.secondary:hover { border-color: var(--mint); background: #142d32; }
.hero-visual { display: block; width: 100%; height: auto; animation: appear .6s ease-out both; }
@keyframes appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.band { background: #111c2f; border-block: 1px solid var(--line); }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding: 1.05rem .4rem 0 0; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; color: var(--mint); font-weight: 750; margin-bottom: .75rem; }
.steps p { color: var(--muted); margin-top: .55rem; }
.feature-grid, .legal-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.15rem; }
.feature-grid { margin-top: 1.6rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1rem, 3vw, 1.8rem); }
.label { margin-bottom: .55rem; color: var(--muted); font-size: .87rem; font-weight: 700; }
.accent { color: var(--mint); }
.check-list, .tags, .partner-list { list-style: none; padding: 0; margin: 0; }
.check-list { margin-top: .9rem; color: var(--muted); }
.check-list li { display: flex; align-items: baseline; gap: .65rem; padding-block: .35rem; }
.check-list li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--green); flex: none; }
.check-list.future li::before { background: transparent; border: 1px solid var(--muted); }
.category-section, .demo-layout, .partner-section, .progress { display: grid; grid-template-columns: .9fr 1.25fr; align-items: start; gap: clamp(1.5rem, 4vw, 4.2rem); }
.tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.tags li { padding: .4rem .75rem; border: 1px solid var(--line); background: var(--slate); border-radius: .45rem; font-size: .94rem; }
.demo-card { border-color: #376457; background: linear-gradient(145deg, #172939, #121d30 72%); }
.demo-header { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: .8rem; }
.demo-header h3 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); }
.purchase { color: var(--muted); font-size: .9rem; }
.purchase strong { display: block; color: var(--white); }
.estimates { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; margin: 1.3rem 0; }
.estimates > div { min-width: 0; border: 1px solid var(--line); border-radius: .55rem; padding: .65rem; }
.estimates .central { border-color: #509b81; background: #163631; }
dt { color: var(--muted); font-size: .89rem; }
dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.estimates dd { font-size: clamp(.96rem, 2.6vw, 1.3rem); }
.demo-results, .metrics { display: flex; flex-wrap: wrap; gap: .9rem 2.2rem; margin: 0; }
.demo-results { border-top: 1px solid var(--line); padding-top: .9rem; }
.demo-results dd { color: var(--mint); font-size: 1.3rem; }
.demo-results dd span { color: var(--muted); font-size: .88rem; font-weight: 500; }
.demo-results .confidence-low dd, .demo-results .confidence-low dd span { color: var(--orange); }
.partner-section .button { margin-top: 1.2rem; }
.partner-list li { padding: .65rem .15rem; border-bottom: 1px solid var(--line); }
.partner-list li:first-child { border-top: 1px solid var(--line); }
.metrics { justify-content: space-around; }
.metrics dd { color: var(--mint); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.legal-grid h2 { font-size: 1.8rem; }
.site-footer { padding-block: 1.4rem; border-top: 1px solid var(--line); background: #101827; }
.footer-inner { flex-wrap: wrap; }
.footer-brand { display: grid; gap: .35rem; }
.footer-signature { color: var(--muted); font-size: .9rem; text-underline-offset: .2em; }

@media (max-width: 64rem) {
  .hero-inner { min-height: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 48rem) {
  .container { width: min(100% - 2rem, 74rem); }
  .header-inner { flex-wrap: wrap; min-height: 4rem; padding-block: .65rem; }
  .navigation { width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .navigation a { padding-block: .55rem; }
  .navigation .nav-cta { align-self: start; margin-top: .3rem; }
  .site-header:has(.menu-button[hidden]) { position: static; }
  .site-header:has(.menu-button[aria-expanded="true"]:not([hidden])) .navigation {
    max-height: calc(100dvh - 5rem);
    overflow: auto;
  }
  .hero-inner { grid-template-columns: 1fr; gap: 1.3rem; padding-block: 3rem 1.4rem; }
  .hero-visual { max-width: 34rem; justify-self: center; }
  .feature-grid, .category-section, .demo-layout, .partner-section, .progress, .legal-grid { grid-template-columns: 1fr; }
  .metrics { justify-content: start; }
}

@media (max-width: 26rem) {
  h1 { font-size: clamp(2.35rem, 11vw, 3rem); }
  .steps, .estimates { grid-template-columns: 1fr; }
  .estimates > div { display: flex; justify-content: space-between; align-items: baseline; gap: .3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
