:root {
  --bg: #07111b;
  --bg-soft: #0d1825;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #edf4fb;
  --muted: #aab8c7;
  --muted-strong: #cad7e5;
  --accent: #4ecdc4;
  --accent-2: #ff9f68;
  --accent-3: #ffe6a7;
  --shadow: 0 26px 80px rgba(3, 11, 20, 0.45);
  --radius: 24px;
  --container: min(1180px, calc(100vw - 40px));
  --heading: "Space Grotesk", sans-serif;
  --body: "Public Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(78, 205, 196, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 159, 104, 0.18), transparent 24%),
    linear-gradient(180deg, #09131f 0%, #07111b 48%, #081725 100%);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  margin: 0;
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--heading);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.3rem;
}

.site-shell {
  overflow: clip;
}

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

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-tinted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.section-accent {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 230, 167, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 159, 104, 0.06), rgba(78, 205, 196, 0.05));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 27, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 10px rgba(78, 205, 196, 0.12);
  transform: rotate(12deg);
}

.brand-copy {
  display: grid;
  gap: 0.15rem;
}

.brand-copy strong {
  font-family: var(--heading);
  font-size: 1.05rem;
}

.brand-copy span:last-child {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a,
.menu-toggle {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.95rem;
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.active,
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font: inherit;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent-3);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.lede {
  max-width: 48rem;
  font-size: 1.14rem;
}

.section-head,
.section-copy,
.detail-copy,
.proof-copy {
  display: grid;
  gap: 1rem;
}

.left-aligned {
  text-align: left;
}

.hero {
  padding-top: 6rem;
}

.hero-grid,
.detail-grid,
.split-layout,
.contact-grid,
.governance-grid,
.compare-grid,
.proof-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.35rem;
}

.cta-row,
.cta-actions,
.signal-row,
.footer-row,
.metric-strip {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #062532;
  box-shadow: 0 20px 45px rgba(78, 205, 196, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.signal-row {
  list-style: none;
  padding: 0;
}

.signal-row li {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.hero-panel,
.feature-card,
.portal-panel,
.contact-card,
.deploy-card,
.governance-card,
.compare-card,
.callout-card,
.diagram-card,
.cta-band,
.timeline-shell,
.detail-visual,
.contact-note {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.hero-panel,
.timeline-shell,
.cta-band,
.callout-card,
.detail-visual,
.contact-note {
  padding: 1.5rem;
}

.orbit-panel {
  position: relative;
}

.orbit-panel::before,
.orbit-panel::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  filter: blur(24px);
}

.orbit-panel::before {
  top: -40px;
  right: -30px;
  width: 180px;
  height: 180px;
  background: rgba(255, 159, 104, 0.25);
}

.orbit-panel::after {
  bottom: -30px;
  left: -20px;
  width: 160px;
  height: 160px;
  background: rgba(78, 205, 196, 0.18);
}

.orbit-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.orbit-node,
.orbit-line {
  border-radius: 999px;
}

.orbit-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0.8rem 1rem;
  background: rgba(4, 10, 16, 0.72);
  border: 1px solid var(--border);
  font-weight: 700;
}

.orbit-node.accent {
  color: #082a27;
  background: linear-gradient(135deg, rgba(255, 230, 167, 0.95), rgba(78, 205, 196, 0.9));
}

.orbit-line {
  width: 2px;
  height: 34px;
  justify-self: center;
  background: linear-gradient(180deg, rgba(78, 205, 196, 0.2), rgba(255, 159, 104, 0.8));
}

.metric-strip {
  position: relative;
  z-index: 1;
}

.metric-strip article {
  flex: 1 1 160px;
  min-width: 0;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(6, 17, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-strip strong {
  display: block;
  font-family: var(--heading);
  font-size: 1.8rem;
  color: var(--accent-3);
}

.metric-strip span {
  font-size: 0.92rem;
  color: var(--muted);
}

.card-grid,
.portal-grid,
.capability-grid,
.deploy-grid {
  display: grid;
  gap: 1.25rem;
}

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

.portal-grid,
.capability-grid,
.deploy-grid,
.governance-grid,
.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.portal-panel,
.deploy-card,
.contact-card,
.governance-card,
.compare-card {
  padding: 1.45rem;
  display: grid;
  gap: 0.85rem;
}

.portal-panel img,
.detail-visual img,
.diagram-card img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 8, 12, 0.8);
}

.portal-panel a {
  color: var(--accent-3);
  font-weight: 700;
}

.chip {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 230, 167, 0.11);
  border: 1px solid rgba(255, 230, 167, 0.22);
  color: var(--accent-3);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.split-layout,
.detail-grid,
.compare-grid,
.proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.reverse-on-wide > :first-child {
  order: 2;
}

.reverse-on-wide > :last-child {
  order: 1;
}

.stack-list,
.proof-list {
  display: grid;
  gap: 1rem;
}

.stack-list article,
.proof-list article {
  padding: 1.15rem 1.2rem;
  border-left: 3px solid rgba(78, 205, 196, 0.4);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 18px 18px 0;
}

.timeline {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.timeline article {
  padding: 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline span {
  display: inline-flex;
  margin-bottom: 0.9rem;
  font-family: var(--heading);
  font-size: 0.95rem;
  color: var(--accent-3);
}

.detail-list {
  display: grid;
  gap: 0.7rem;
  color: var(--muted-strong);
}

.detail-list.compact {
  gap: 0.55rem;
}

.page-hero {
  padding-top: 5rem;
}

.compare-card.muted-card {
  background: linear-gradient(180deg, rgba(255, 159, 104, 0.06), rgba(255, 255, 255, 0.03));
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-row {
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-row nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.callout-card.emphasis {
  background: linear-gradient(135deg, rgba(255, 230, 167, 0.13), rgba(78, 205, 196, 0.08));
}

.contact-note .callout-card {
  height: 100%;
}

.align-start {
  align-items: start;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal-delay-3 {
  transition-delay: 260ms;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero-grid,
  .detail-grid,
  .split-layout,
  .proof-grid,
  .compare-grid,
  .portal-grid,
  .capability-grid,
  .deploy-grid,
  .governance-grid,
  .contact-grid,
  .card-grid-4,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4.2rem 0;
  }

  .hero,
  .page-hero {
    padding-top: 4rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem;
    background: rgba(9, 19, 31, 0.97);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero-grid,
  .detail-grid,
  .split-layout,
  .proof-grid,
  .compare-grid,
  .portal-grid,
  .capability-grid,
  .deploy-grid,
  .governance-grid,
  .contact-grid,
  .card-grid-4,
  .timeline {
    grid-template-columns: 1fr;
  }

  .reverse-on-wide > :first-child,
  .reverse-on-wide > :last-child {
    order: initial;
  }

  .nav-row {
    position: relative;
  }

  .footer-row {
    align-items: flex-start;
  }
}