:root {
  color-scheme: dark;
  --bg: #07090d;
  --panel: #111620;
  --panel-2: #161c27;
  --line: #263042;
  --line-strong: #3b4d68;
  --text: #eef4fb;
  --muted: #a9b4c1;
  --dim: #748294;
  --accent: #31c7ff;
  --accent-2: #2d80ff;
  --ok: #43e6a4;
  --warn: #ffc857;
  --radius: 8px;
  --max: 1160px;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(49,199,255,.08), transparent 420px),
    radial-gradient(circle at 80% 8%, rgba(45,128,255,.14), transparent 32%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 3vw, 40px);
  background: rgba(7, 9, 13, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.03);
}

.button.primary,
.header-action {
  border-color: rgba(49,199,255,.6);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #03111d;
}

.button.secondary {
  color: var(--text);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .86fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(44px, 8vw, 96px) 24px 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 74px);
  line-height: .95;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 16px;
}

.hero-visual img {
  width: 100%;
  max-width: 430px;
  justify-self: center;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 28px 80px rgba(0,0,0,.4);
}

.ops-card {
  width: min(100%, 430px);
  justify-self: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17,22,32,.86);
}

.ops-card strong {
  display: block;
  margin-bottom: 6px;
}

.ops-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 18px var(--ok);
}

.proof-band {
  max-width: var(--max);
  margin: 0 auto 28px;
  padding: 0 24px 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.proof-band div {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.proof-band strong {
  display: block;
  font-size: 24px;
}

.proof-band span,
.section-heading p,
.service-card p,
.tier-grid p,
.platform-row span,
.contact-section p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading.compact {
  max-width: 820px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.04;
  letter-spacing: 0;
  margin-bottom: 14px;
}

h3 {
  font-size: 20px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.tier-grid article,
.platform-panel,
.checklist,
.contact-card,
.legal-card {
  background: linear-gradient(180deg, rgba(22,28,39,.96), rgba(13,17,24,.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.service-card {
  min-height: 220px;
  padding: 22px;
}

.service-card span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
}

.split.reverse .section-heading {
  order: 2;
}

.platform-panel {
  padding: 10px;
}

.platform-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.platform-row:last-child {
  border-bottom: 0;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tier-grid article {
  padding: 22px;
  border-top: 3px solid var(--accent);
}

.checklist {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.checklist div {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.checklist span {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(49,199,255,.6);
}

.contact-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 24px 96px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(320px, .72fr);
  gap: 40px;
  align-items: start;
}

.contact-card {
  padding: 22px;
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #080c12;
  color: var(--text);
  padding: 12px;
  font: inherit;
}

textarea { resize: vertical; }
input:focus,
textarea:focus {
  outline: 2px solid rgba(49,199,255,.35);
  border-color: var(--accent);
}

.form-note {
  margin: 0;
  color: var(--dim);
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 3vw, 40px);
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal-card {
  padding: clamp(24px, 4vw, 44px);
}

.legal-card h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.legal-card h2 {
  margin-top: 32px;
  font-size: 24px;
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
  }
  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }
  .hero,
  .split,
  .split.reverse,
  .contact-section {
    grid-template-columns: 1fr;
  }
  .split.reverse .section-heading {
    order: 0;
  }
  .proof-band,
  .card-grid,
  .tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .header-action {
    width: 100%;
  }
  .hero {
    min-height: auto;
    padding-top: 44px;
  }
  .proof-band,
  .card-grid,
  .tier-grid {
    grid-template-columns: 1fr;
  }
  .platform-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .site-footer {
    flex-direction: column;
  }
}
