/* ===== Steady Validator — tokens ===== */
:root {
  --navy-950: #070c15;
  --navy-900: #0b1322;
  --navy-850: #0e1a2c;
  --navy-800: #12233a;
  --navy-700: #1f385b;
  --line: rgba(146, 178, 220, 0.16);
  --line-strong: rgba(146, 178, 220, 0.3);

  --ink: #eaf1fa;
  --ink-soft: #a9bdd6;
  --ink-mute: #7b90ab;

  --brand: #1c83d5;
  --brand-lift: #4aa8ec;
  --brand-glow: rgba(28, 131, 213, 0.35);

  --font-display: 'Cabinet Grotesk', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.6rem, 2.4vw, 2.15rem);
  --text-2xl: clamp(2.1rem, 4vw, 3.1rem);
  --text-hero: clamp(2.5rem, 6.2vw, 4.6rem);

  --shell: 1180px;
  --radius: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { max-width: 100%; display: block; }

[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--brand); color: #fff; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: 0.6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--brand-lift);
  outline-offset: 3px;
  border-radius: 6px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.shell--narrow { max-width: 820px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 12, 21, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 12, 21, 0.92);
}
.header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 72px;
}
.brand { display: flex; align-items: center; }
.brand__mark { height: 26px; width: auto; }
.brand__mark--sm { height: 22px; }

.nav {
  display: flex; gap: 1.75rem; margin-left: auto;
  font-size: var(--text-sm); color: var(--ink-soft);
}
.nav a { position: relative; padding: 0.25rem 0; transition: color 0.2s; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--brand-lift); transition: right 0.35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }

.header__cta { margin-left: 0.25rem; }

.menu-btn {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 10px; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-btn span {
  display: block; width: 17px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-btn[aria-expanded='true'] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded='true'] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-nav {
  display: none; gap: 0.25rem;
  padding: 0.75rem clamp(1.25rem, 5vw, 2.5rem) 1.25rem;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  padding: 0.7rem 0; font-size: var(--text-sm); color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: 0; color: var(--brand-lift); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; font-family: var(--font-body); font-size: var(--text-sm);
  font-weight: 700; letter-spacing: -0.01em;
  padding: 0.8rem 1.4rem; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn--sm { padding: 0.55rem 1rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: var(--text-base); }
.btn--primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 8px 24px -10px var(--brand-glow);
}
.btn--primary:hover {
  background: var(--brand-lift); transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px var(--brand-glow);
}
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand-lift); color: var(--brand-lift); transform: translateY(-2px); }

/* ===== Hero ===== */
.hero { position: relative; padding: clamp(4.5rem, 11vh, 8rem) 0 clamp(3.5rem, 7vh, 5.5rem); overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.hero__glow {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: min(1100px, 130vw); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(28, 131, 213, 0.2), transparent 62%);
  pointer-events: none;
}
.hero__inner { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: 0.04em; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 0.85rem; background: rgba(18, 35, 58, 0.5);
  white-space: nowrap;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #3ddc97;
  box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); }
}

.hero__title {
  font-size: var(--text-hero);
  margin: 1.5rem 0 0;
  max-width: 24ch;
}
.grad {
  background: linear-gradient(100deg, var(--brand-lift), #8ed0f7 55%, #cfe6fa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede {
  margin-top: 1.35rem; max-width: 58ch;
  color: var(--ink-soft); font-size: var(--text-lg); line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; margin: clamp(3rem, 7vw, 4.5rem) 0 0;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: rgba(11, 19, 34, 0.72); padding: 1.35rem 1.4rem; }
.stat dt {
  font-family: var(--font-mono); font-size: var(--text-xs);
  color: var(--ink-mute); letter-spacing: 0.02em; text-transform: lowercase;
}
.stat dd {
  margin: 0.5rem 0 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem); letter-spacing: -0.02em; line-height: 1.1;
}
.stat__unit { font-size: var(--text-sm); font-weight: 500; color: var(--ink-soft); font-family: var(--font-body); letter-spacing: 0; }

/* ===== Strip ===== */
.strip {
  border-block: 1px solid var(--line); background: var(--navy-900);
  overflow: hidden; padding: 0.9rem 0;
}
.strip__track {
  display: flex; align-items: center; gap: 2rem; width: max-content;
  animation: slide 42s linear infinite;
  font-family: var(--font-mono); font-size: var(--text-xs);
  color: var(--ink-mute); letter-spacing: 0.03em; white-space: nowrap;
}
.strip__track i { width: 4px; height: 4px; border-radius: 50%; background: var(--brand); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: clamp(4rem, 10vw, 7.5rem) 0; }
.section--alt { background: var(--navy-900); border-block: 1px solid var(--line); }

.kicker {
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-lift);
  margin-bottom: 0.9rem;
}
.section__head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section__title { font-size: var(--text-2xl); }
.section__lede { margin-top: 1.1rem; color: var(--ink-soft); max-width: 60ch; }

/* ===== Cards ===== */
.grid { display: grid; gap: 1.25rem; }
.grid--features { grid-template-columns: repeat(4, 1fr); }

.card {
  grid-column: span 2;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 35, 58, 0.55), rgba(11, 19, 34, 0.35));
  padding: clamp(1.5rem, 2.6vw, 2rem);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card--lead { grid-column: span 4; }
.card h3 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 700; letter-spacing: -0.015em; }
.card p { margin-top: 0.7rem; color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.68; }
.card__icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  color: var(--brand-lift); border: 1px solid var(--line-strong);
  background: rgba(28, 131, 213, 0.1);
}
.card__icon svg { width: 22px; height: 22px; }

.ticks { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.ticks li {
  position: relative; padding-left: 1.6rem;
  font-size: var(--text-sm); color: var(--ink-soft);
}
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.5em;
  width: 9px; height: 9px; border-radius: 3px;
  background: var(--brand); box-shadow: 0 0 0 3px rgba(28, 131, 213, 0.16);
}
.ticks--lg { margin-top: 1.75rem; gap: 0.85rem; }
.ticks--lg li { font-size: var(--text-base); }

/* ===== Steps ===== */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.step { background: var(--navy-950); padding: clamp(1.6rem, 3vw, 2.35rem); }
.step__num {
  font-family: var(--font-mono); font-size: var(--text-xs);
  color: var(--brand-lift); letter-spacing: 0.08em;
}
.step h3 {
  margin-top: 0.85rem; font-size: var(--text-lg);
  font-family: var(--font-body); font-weight: 700; letter-spacing: -0.015em;
}
.step p { margin-top: 0.7rem; color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.68; }

.callout {
  margin-top: 1.75rem; padding: 1.5rem 1.75rem;
  border: 1px solid var(--line-strong); border-left: 3px solid var(--brand);
  border-radius: 12px; background: rgba(28, 131, 213, 0.07);
}
.callout__label {
  font-family: var(--font-mono); font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand-lift);
  margin-bottom: 0.6rem;
}
.callout p:last-child { color: var(--ink-soft); font-size: var(--text-sm); line-height: 1.7; }

/* ===== Infra ===== */
.infra {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.panel {
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--navy-900); overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
  position: sticky; top: 100px;
}
.panel__bar {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line);
  background: var(--navy-850);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.panel__title {
  margin-left: 0.6rem; font-family: var(--font-mono);
  font-size: var(--text-xs); color: var(--ink-mute);
}
.panel__body { padding: 1.1rem 1.25rem 1.35rem; }
.row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.62rem 0; border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono); font-size: var(--text-xs);
}
.row span { color: var(--ink-mute); }
.row b { color: var(--ink); font-weight: 500; text-align: right; }
.row b.ok { color: #3ddc97; }

.bars {
  display: flex; align-items: flex-end; gap: 5px; height: 84px; margin-top: 1.4rem;
}
.bars i {
  flex: 1; height: var(--h); border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--brand-lift), rgba(28, 131, 213, 0.25));
  animation: grow 1.1s var(--ease) both;
}
@keyframes grow { from { transform: scaleY(0.15); transform-origin: bottom; opacity: 0; } }
.panel__foot {
  margin-top: 1rem; font-size: var(--text-xs); color: var(--ink-mute);
}

/* ===== FAQ ===== */
.faq { display: grid; gap: 0.75rem; max-width: 860px; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(18, 35, 58, 0.4); padding: 0 1.35rem;
  transition: border-color 0.3s var(--ease);
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0;
  font-weight: 700; font-size: var(--text-base); letter-spacing: -0.012em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 0.15rem; top: 1.55rem;
  width: 9px; height: 9px; border-right: 1.8px solid var(--brand-lift);
  border-bottom: 1.8px solid var(--brand-lift);
  transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p {
  padding: 0 0 1.35rem; color: var(--ink-soft);
  font-size: var(--text-sm); line-height: 1.7; max-width: 68ch;
}

/* ===== CTA ===== */
.cta {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(28, 131, 213, 0.22), transparent 70%),
    var(--navy-950);
}
.cta__inner { text-align: center; max-width: 720px; margin-inline: auto; }
.cta__title { font-size: var(--text-2xl); }
.cta__lede { margin: 1.1rem auto 2rem; color: var(--ink-soft); max-width: 52ch; }
.cta__note { margin-top: 1.5rem; font-size: var(--text-xs); color: var(--ink-mute); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); background: var(--navy-900); padding: 2.75rem 0; }
.footer__inner { display: grid; gap: 1.5rem; }
.footer__brand { display: grid; gap: 0.75rem; }
.footer__brand p { color: var(--ink-mute); font-size: var(--text-sm); max-width: 40ch; }
.footer__links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem;
  font-size: var(--text-sm); color: var(--ink-soft);
}
.footer__links a:hover { color: var(--brand-lift); }
.footer__legal {
  border-top: 1px solid var(--line); padding-top: 1.4rem;
}
.footer__legal p {
  font-size: var(--text-xs); color: var(--ink-mute); max-width: 72ch;
}

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .infra { grid-template-columns: 1fr; }
  .panel { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: flex; }
  .mobile-nav { display: grid; }
  .grid--features { grid-template-columns: 1fr; }
  .card, .card--lead { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .hero__title { max-width: none; }
}

@media (max-width: 520px) {
  .eyebrow__long { display: none; }
  .stats { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .brand__mark { height: 26px; }
}
