:root {
  color-scheme: dark;
  --bg-deep: #0a0e14;
  --bg-panel: #111822;
  --bg-elevated: #17202f;
  --border: rgba(120, 180, 255, 0.18);
  --border-strong: rgba(120, 200, 255, 0.35);
  --text: #e8f0ff;
  --text-muted: #8fa4c3;
  --accent: #5ae3ff;
  --accent-dim: rgba(90, 227, 255, 0.15);
  --accent-glow: rgba(90, 227, 255, 0.55);
  --success: #4ade80;
  --radius: 10px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max-width: 1120px;
  --header-h: 4rem;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(90, 227, 255, 0.28) #0d1219;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(900px 700px at 8% -12%, rgba(90, 227, 255, 0.18) 0%, transparent 62%),
    radial-gradient(1100px 820px at 100% 0%, rgba(180, 140, 255, 0.14) 0%, transparent 58%),
    linear-gradient(180deg, rgba(21, 34, 56, 0.92) 0%, var(--bg-deep) 62%, #080a0f 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow-x: clip;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 14, 20, 0.88);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.brand__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), rgba(180, 140, 255, 0.9));
  box-shadow: 0 0 20px var(--accent-dim);
}

.brand__sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-toggle {
  display: none;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--accent-dim);
  color: var(--accent);
  font: inherit;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(90, 227, 255, 0.08);
  text-decoration: none;
}

.site-nav a.is-active {
  color: var(--accent);
  background: var(--accent-dim);
}

.site-nav .nav-cta {
  margin-left: 0.35rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(90, 227, 255, 0.45);
  background: rgba(90, 227, 255, 0.12);
  color: var(--accent);
}

.site-nav .nav-cta:hover {
  background: rgba(90, 227, 255, 0.22);
  box-shadow: 0 0 24px var(--accent-dim);
}

.sandbox-intro p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  max-width: 52rem;
}

.sandbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.sandbox-tile {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-panel);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.sandbox-tile:hover {
  border-color: rgba(90, 227, 255, 0.45);
  box-shadow: 0 0 32px var(--accent-dim);
  transform: translateY(-2px);
  text-decoration: none;
}

.sandbox-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent);
}

.sandbox-tile__icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.sandbox-tile__title {
  margin: 0;
  font-size: 1.05rem;
}

.sandbox-tile__text {
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.sandbox-tile__cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}

/* Main */
main {
  padding-block: 2.5rem 4rem;
}

.page-hero {
  padding-block: 2rem 2.5rem;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-hero .lead {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 1.12rem;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-home {
  padding-block: 3rem 3.5rem;
  text-align: center;
}

.hero-home h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  line-height: 1.1;
}

.hero-home .lead {
  margin: 0 auto 2rem;
  max-width: 38rem;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn--primary {
  background: rgba(90, 227, 255, 0.2);
  border-color: rgba(90, 227, 255, 0.5);
  color: var(--accent);
}

.btn--primary:hover {
  background: rgba(90, 227, 255, 0.3);
  box-shadow: 0 0 28px var(--accent-dim);
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.section {
  padding-block: 2.5rem;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  font-weight: 700;
}

.section-intro {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: var(--text-muted);
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-panel);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--accent);
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.card--highlight {
  border-color: rgba(90, 227, 255, 0.35);
  background: linear-gradient(145deg, rgba(23, 32, 47, 0.95), rgba(17, 24, 34, 0.98));
}

.ramp-pillars {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pillar {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-panel);
}

.pillar__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 700;
}

.pillar h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.pillar p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split--align-center {
    align-items: center;
  }
}

.product-editor-figure {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.product-editor-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.product-editor-block {
  width: min(100%, 1000px);
  margin-inline: auto;
}

.product-editor-text {
  margin-top: 1.5rem;
}

.product-segments.card-grid {
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}

.home-consequences {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .home-consequences {
    grid-template-columns: 1fr 1fr;
  }
}

.insight-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.insight-table th,
.insight-table td {
  border: 1px solid var(--border);
  padding: 0.75rem 0.8rem;
  vertical-align: top;
  text-align: left;
}

.insight-table th {
  background: rgba(90, 227, 255, 0.08);
  color: var(--accent);
  font-weight: 600;
}

.insight-table td {
  color: var(--text-muted);
}

.sources-list {
  margin: 0;
  padding-left: 1.15rem;
}

.sources-list li {
  margin-bottom: 0.55rem;
  color: var(--text-muted);
}

.panel {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-panel);
}

.panel h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.panel ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.panel li + li {
  margin-top: 0.4rem;
}

.stat-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(17, 24, 34, 0.8);
}

.stat__value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}

.stat__label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.team-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.team-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-panel);
}

.team-card__photo {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  margin: 0 0 1rem;
  border: 1px solid var(--border);
}

.team-card__role {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.team-card h3 {
  margin: 0 0 0.15rem;
  font-size: 1.2rem;
}

.team-card__title {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.team-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-form {
  max-width: 32rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-deep);
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-status {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.form-status--success {
  color: var(--success);
}

.form-status--error {
  color: #f87171;
}

.cta-band {
  margin-top: 3rem;
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid rgba(90, 227, 255, 0.3);
  background: linear-gradient(135deg, rgba(90, 227, 255, 0.1), rgba(180, 140, 255, 0.08));
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.cta-band p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: rgba(8, 10, 15, 0.6);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
}

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

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    background: rgba(10, 14, 20, 0.98);
  }

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

  .site-nav a {
    padding: 0.65rem 0.85rem;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .site-header__inner {
    position: relative;
    flex-wrap: wrap;
  }
}
