:root {
  --bg: #07111f;
  --bg-elevated: #0d1728;
  --bg-card: #101d31;
  --bg-card-alt: #14233b;
  --surface: rgba(255, 255, 255, 0.03);
  --line: rgba(148, 163, 184, 0.18);
  --line-strong: rgba(120, 145, 183, 0.36);
  --text: #edf3ff;
  --text-soft: #99a6bf;
  --text-dim: #75829a;
  --navy: #dbe9ff;
  --accent: #59c8ff;
  --accent-strong: #249bff;
  --accent-soft: rgba(89, 200, 255, 0.14);
  --cta: #ff7b4d;
  --cta-hover: #ff6a37;
  --success: #59f4b1;
  --shadow-card: 0 22px 60px rgba(1, 7, 16, 0.4);
  --shadow-card-hover: 0 28px 80px rgba(1, 7, 16, 0.52);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1280px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(36, 155, 255, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 123, 77, 0.1), transparent 28%),
    linear-gradient(180deg, #050c18 0%, #081120 28%, #091223 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 145, 183, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 145, 183, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 92%);
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

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

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

button,
a {
  transition: 180ms ease;
}

.section {
  position: relative;
  padding: 112px 0;
}

.grid-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent 38%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(circle at 20% 20%, rgba(89, 200, 255, 0.18), transparent 16%), radial-gradient(circle at 80% 0%, rgba(255, 123, 77, 0.14), transparent 18%);
}

.section-label,
.eyebrow,
.stack-label,
.signal-kicker,
.proof-label,
.pill,
.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(89, 200, 255, 0.8);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.02;
}

h1,
h2 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
}

h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

h1 span,
h2 span {
  color: var(--accent);
}

p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.76;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(6, 13, 25, 0.72);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(89, 200, 255, 0.28);
  background: linear-gradient(180deg, rgba(89, 200, 255, 0.14), rgba(16, 29, 49, 0.6));
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.brand-copy span {
  margin-top: 5px;
  color: var(--text-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  position: relative;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 180ms ease;
}

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

.nav a:hover::after {
  width: 100%;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-cta,
.btn-primary {
  background: var(--cta);
  color: white;
  box-shadow: 0 16px 34px rgba(255, 123, 77, 0.2);
}

.header-cta:hover,
.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: rgba(89, 200, 255, 0.24);
  background: rgba(89, 200, 255, 0.06);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(89, 200, 255, 0.42);
  background: rgba(89, 200, 255, 0.1);
}

.hero {
  padding-top: 72px;
  padding-bottom: 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 64px;
  align-items: start;
}

.hero-copy {
  padding-top: 22px;
}

.hero-copy .eyebrow {
  margin-bottom: 24px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 7vw, 92px);
}

.hero-lead {
  max-width: 640px;
  margin-top: 28px;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}

.hero-stats article {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.hero-stats strong {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.04em;
}

.hero-stats span {
  display: block;
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.55;
}

.hero-panel {
  width: 100%;
}

.panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(89, 200, 255, 0.14);
  background: linear-gradient(180deg, rgba(16, 29, 49, 0.96), rgba(10, 18, 34, 0.94));
  box-shadow: var(--shadow-card);
}

.window-panel {
  overflow: hidden;
}

.window-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.window-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.window-topbar p {
  margin-left: 6px;
  color: var(--text-dim);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-stack {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.stack-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.accent-card {
  border-color: rgba(89, 200, 255, 0.35);
  background: linear-gradient(180deg, rgba(89, 200, 255, 0.08), rgba(255,255,255,0.02));
}

.stack-card h3 {
  margin-top: 8px;
  color: var(--text);
  font-size: 29px;
}

.stack-card p {
  margin-top: 10px;
  font-size: 15px;
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 20px 20px;
}

.panel-metrics > div {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.panel-metrics span {
  display: block;
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.panel-metrics strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 16px;
}

.demo-caption {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.signal-section {
  padding-top: 56px;
}

.signal-grid,
.blueprint-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
}

.section-copy .section-label,
.section-head .section-label,
.contact-card .section-label {
  margin-bottom: 22px;
}

.section-copy h2,
.section-head h2,
.blueprint-grid h2,
.faq-grid h2,
.contact-card h2 {
  font-size: clamp(34px, 5vw, 60px);
}

.signal-board,
.blueprint-flow,
.faq-list,
.proof-grid {
  display: grid;
  gap: 16px;
}

.signal-board article,
.blueprint-flow article,
.faq-list details,
.proof-card,
.module-card,
.price-card,
.contact-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-card);
}

.signal-board article,
.blueprint-flow article,
.proof-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.signal-board h3,
.blueprint-flow h3,
.proof-card h3,
.module-card h3,
.step h3,
.price-card h3,
.faq-list summary {
  color: var(--text);
}

.signal-board h3,
.blueprint-flow h3,
.proof-card h3 {
  margin-top: 10px;
  font-size: 28px;
}

.signal-board p,
.blueprint-flow p,
.proof-card p {
  margin-top: 10px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 52px;
}

.section-head > p {
  max-width: 420px;
  font-size: 18px;
}

.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head.narrow {
  margin-bottom: 70px;
}

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

.module-card {
  position: relative;
  min-height: 240px;
  padding: 24px;
  border-radius: 24px;
  overflow: hidden;
}

.module-card--wide {
  grid-column: span 2;
}

.module-card--accent {
  border-color: rgba(89, 200, 255, 0.3);
  background: linear-gradient(180deg, rgba(89, 200, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.module-card:hover,
.price-card:hover,
.proof-card:hover,
.signal-board article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(89, 200, 255, 0.24);
}

.module-index {
  display: inline-flex;
  color: rgba(89, 200, 255, 0.42);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
}

.module-card h3 {
  margin-top: 28px;
  font-size: 34px;
}

.module-card p {
  margin-top: 12px;
  font-size: 15px;
}

.blueprint-flow article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
}

.blueprint-flow span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  border: 1px solid rgba(89, 200, 255, 0.24);
  background: rgba(89, 200, 255, 0.08);
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 16px;
  font-weight: 600;
}

.process-section {
  overflow: hidden;
}

.steps {
  display: grid;
  gap: 28px;
}

.step {
  display: grid;
  grid-template-columns: 140px 1fr 120px;
  align-items: start;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.step-no {
  color: rgba(89, 200, 255, 0.18);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(72px, 10vw, 132px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.06em;
}

.step h3 {
  font-size: clamp(30px, 4vw, 44px);
}

.step p {
  margin-top: 12px;
  max-width: 760px;
  font-size: 18px;
}

.step-tag {
  justify-self: end;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(89, 200, 255, 0.24);
  background: rgba(89, 200, 255, 0.08);
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-card {
  padding: 24px;
  border-radius: 24px;
}

.proof-label {
  color: var(--success);
}

.pricing-section {
  padding-top: 72px;
}

.billing-toggle {
  display: inline-flex;
  align-self: center;
  margin: 0 auto 36px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.pricing-section .container {
  display: flex;
  flex-direction: column;
}

.billing-toggle button {
  min-width: 150px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.billing-toggle button.is-active {
  background: var(--text);
  color: #081120;
}

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

.price-card {
  padding: 28px;
  border-radius: 26px;
}

.price-card.featured {
  border-color: rgba(89, 200, 255, 0.34);
  background: linear-gradient(180deg, rgba(89, 200, 255, 0.08), rgba(255,255,255,0.04));
  transform: translateY(-8px);
}

.pill {
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(89, 200, 255, 0.2);
  background: rgba(89, 200, 255, 0.08);
}

.pill.accent {
  color: var(--cta);
  border-color: rgba(255, 123, 77, 0.24);
  background: rgba(255, 123, 77, 0.12);
}

.price-card h3 {
  margin-top: 18px;
  font-size: 36px;
}

.price {
  margin-top: 18px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.price-card p {
  margin-top: 14px;
  font-size: 15px;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.faq-list {
  gap: 14px;
}

.faq-list details {
  padding: 22px 24px;
  border-radius: 22px;
}

.faq-list details[open] {
  border-color: rgba(89, 200, 255, 0.24);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-size: 26px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin-top: 14px;
  font-size: 16px;
}

.contact-section {
  padding-top: 52px;
  padding-bottom: 120px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(16, 29, 49, 0.94), rgba(10, 18, 34, 0.98));
}

.contact-card p {
  margin-top: 20px;
  max-width: 720px;
}

.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 1120px) {
  .hero-grid,
  .signal-grid,
  .blueprint-grid,
  .faq-grid,
  .pricing-grid,
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-card--wide {
    grid-column: span 2;
  }

  .step {
    grid-template-columns: 96px 1fr;
  }

  .step-tag {
    justify-self: start;
    margin-left: 96px;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 840px) {
  .nav,
  .header-cta {
    display: none;
  }

  .section {
    padding: 84px 0;
  }

  .hero {
    padding-top: 36px;
    padding-bottom: 70px;
  }

  .hero-grid,
  .signal-grid,
  .blueprint-grid,
  .faq-grid,
  .pricing-grid,
  .proof-grid,
  .modules-grid {
    grid-template-columns: 1fr;
  }

  .module-card--wide {
    grid-column: span 1;
  }

  .hero-stats,
  .panel-metrics {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
  }

  .section-head > p {
    max-width: none;
    font-size: 16px;
  }

  .stack-card h3,
  .signal-board h3,
  .blueprint-flow h3,
  .module-card h3,
  .price-card h3,
  .faq-list summary,
  .proof-card h3 {
    font-size: 28px;
  }

  .price {
    font-size: 38px;
  }

  .blueprint-flow article,
  .step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-tag {
    margin-left: 0;
  }

  .billing-toggle {
    width: 100%;
  }

  .billing-toggle button {
    flex: 1;
    min-width: 0;
  }

  .contact-card {
    padding: 28px;
  }
}
