:root {
  --bg: #08111b;
  --bg-alt: #0d1724;
  --surface: #101b2a;
  --surface-raised: #132134;
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.26);
  --text: #e7eef6;
  --text-muted: #b4c0cf;
  --text-subtle: #7f8da0;
  --accent: #57c7f6;
  --accent-strong: #8bd9ff;
  --accent-soft: rgba(87, 199, 246, 0.14);
  --success: #7dd3a6;
  --alert: #f3a76a;
  --shadow: 0 18px 36px rgba(3, 8, 15, 0.24);
  --radius-sm: 0.9rem;
  --radius-md: 1.2rem;
  --radius-lg: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at top, rgba(87, 199, 246, 0.08), transparent 26%),
    linear-gradient(180deg, #08111b 0%, #09121d 48%, #0b1320 100%);
  color: var(--text);
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover,
a:focus {
  color: #b8e7ff;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -999px;
  z-index: 1000;
  padding: 0.85rem 1rem;
  background: #ffffff;
  color: #08111b;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.container.narrow,
.narrow {
  width: min(820px, calc(100% - 2rem));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(8, 17, 27, 0.82);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(87, 199, 246, 0.18), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-name {
  display: block;
  color: #f8fbff;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-tag {
  display: block;
  color: var(--text-subtle);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(148, 163, 184, 0.08);
}

.nav-toggle {
  display: none;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: transparent;
  font-weight: 700;
}

.section {
  padding: 5rem 0;
}

.section-surface {
  background: rgba(16, 27, 42, 0.42);
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-grid,
.footer-grid,
.detail-grid,
.feature-grid,
.use-case-grid,
.pillar-grid {
  display: grid;
  gap: 1.35rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: center;
}

.hero-title,
.page-title {
  margin: 0;
  font-size: clamp(2.7rem, 5.8vw, 4.9rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #f8fbff;
}

.page-title {
  font-size: clamp(2.35rem, 4.6vw, 3.7rem);
}

.hero-copy,
.page-copy,
.section-heading p,
.feature-card p,
.use-case-card p,
.detail-card p,
.pillar-card p,
.timeline-item p,
.callout-card p,
.hero-panel p,
.footer-grid p {
  color: var(--text-muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.45rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button-primary {
  color: #08111b;
  background: linear-gradient(135deg, #57c7f6, #9de5ff);
  box-shadow: 0 12px 30px rgba(87, 199, 246, 0.18);
}

.button-secondary {
  color: var(--text);
  background: rgba(16, 27, 42, 0.85);
  border-color: var(--border-strong);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.trust-strip span {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: #d3e6f3;
  font-weight: 600;
  background: rgba(16, 27, 42, 0.34);
}

.hero-panel,
.feature-card,
.use-case-card,
.detail-card,
.pillar-card,
.callout-card,
.demo-shell {
  background: linear-gradient(180deg, rgba(16, 27, 42, 0.92), rgba(13, 23, 36, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-panel,
.feature-card,
.use-case-card,
.detail-card,
.pillar-card {
  padding: 1.5rem;
}

.panel-label,
.footer-heading {
  margin: 0 0 0.7rem;
  color: var(--text-subtle);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel h2,
.section-heading h2,
.feature-card h3,
.use-case-card h3,
.detail-card h2,
.detail-card h3,
.pillar-card h3,
.timeline-item h2,
.callout-card h3,
.callout-card h2,
.demo-panel h3 {
  margin-top: 0;
  color: #f8fbff;
}

.hero-panel-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
}

.hero-panel-grid article {
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.section-heading {
  max-width: 50rem;
  margin-bottom: 2rem;
}

.feature-grid,
.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.use-case-grid,
.pillar-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-case-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
  margin-bottom: 1rem;
}

.demo-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.9fr);
  gap: 1.5rem;
  padding: 1.5rem;
}

.demo-network {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-height: 320px;
  align-content: center;
}

.demo-link {
  position: absolute;
  inset: auto;
  border-top: 1px dashed rgba(148, 163, 184, 0.22);
}

.demo-link-one {
  top: 34%;
  left: 18%;
  width: 62%;
}

.demo-link-two {
  top: 62%;
  left: 18%;
  width: 62%;
}

.demo-node {
  min-height: 104px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(16, 27, 42, 0.88);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.demo-node-primary {
  border-color: rgba(87, 199, 246, 0.32);
  box-shadow: inset 0 0 0 1px rgba(87, 199, 246, 0.08);
}

.demo-node-primary[data-demo-node-state="tripped"] {
  background: radial-gradient(circle at center, rgba(243, 167, 106, 0.22), rgba(16, 27, 42, 0.95));
  border-color: rgba(243, 167, 106, 0.44);
  box-shadow: 0 0 0 1px rgba(243, 167, 106, 0.35), 0 0 24px rgba(243, 167, 106, 0.18);
  transform: translateY(-2px);
}

.demo-panel {
  padding: 0.5rem 0;
}

.demo-metadata {
  display: grid;
  gap: 0.85rem;
  margin: 1.3rem 0;
}

.demo-metadata div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.demo-metadata dt,
.demo-metadata dd {
  margin: 0;
  color: var(--text-muted);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 1.15rem;
  padding: 1.35rem 1.45rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(16, 27, 42, 0.56);
}

.timeline-item span {
  width: 4rem;
  height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.2rem;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 1.35rem;
  font-weight: 800;
}

.callout-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
}

.callout-card.stacked {
  justify-content: flex-start;
}

.site-footer {
  padding: 2rem 0 1.8rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(8, 17, 27, 0.92);
}

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
  align-items: start;
}

.site-footer ul {
  margin: 0;
  padding-left: 1.1rem;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  color: var(--text-subtle);
  font-size: 0.92rem;
}

@media (max-width: 991.98px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-shell {
    flex-wrap: wrap;
    padding: 1rem 0;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.45rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-grid,
  .demo-shell,
  .footer-grid,
  .feature-grid,
  .detail-grid,
  .use-case-grid,
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 4rem 0;
  }

  .hero-title,
  .page-title {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .callout-card,
  .timeline-item {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .demo-network {
    min-height: auto;
  }
}
