:root {
  --bg: #07110d;
  --bg-soft: #0d1d16;
  --surface: #10251c;
  --surface-strong: #143225;
  --text: #f4fbf7;
  --muted: #b8c8bf;
  --muted-strong: #d7e5dc;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #35d087;
  --accent-strong: #7af0b3;
  --accent-soft: rgba(53, 208, 135, 0.14);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(53, 208, 135, 0.16), transparent 34rem),
    radial-gradient(circle at 80% 0%, rgba(122, 240, 179, 0.12), transparent 30rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.65), transparent 70%);
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #06100c;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a,
.nav-cta {
  border-radius: 999px;
  padding: 10px 14px;
  transition: 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  color: #06100c;
  background: var(--accent);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(53, 208, 135, 0.22);
}

.nav-cta:hover,
.button.primary:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
}

.section {
  padding: 96px 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  padding: clamp(110px, 14vh, 160px) 0 clamp(110px, 14vh, 170px);
  background-image:
    linear-gradient(
      90deg,
      rgba(7, 17, 13, 0.98) 0%,
      rgba(7, 17, 13, 0.9) 38%,
      rgba(7, 17, 13, 0.45) 70%,
      rgba(7, 17, 13, 0.15) 100%
    ),
    url("../img/hero.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: clamp(64px, 8vw, 140px);
  align-items: center;
}

.hero-copy {
  max-width: 820px;
  transform: translateY(clamp(34px, 4.5vh, 58px));
}

.hero-copy h1,
.legal-copy h1 {
  margin-top: 18px;
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.hero-copy h1 {
  max-width: 820px;
  font-size: clamp(3.6rem, 6vw, 6.2rem);
}

.legal-copy h1 {
  max-width: 900px;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.hero-copy h1 span {
  display: block;
}

.nowrap {
  white-space: nowrap;
}

.hero-lede {
  max-width: 760px;
  margin-top: 28px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted-strong);
}

.eyebrow,
.tag,
.card-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(53, 208, 135, 0.28);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 8px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-actions.centered {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  transition: 180ms ease;
}

.button.primary {
  background: var(--accent);
  color: #06100c;
  box-shadow: 0 16px 34px rgba(53, 208, 135, 0.2);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-panel {
  position: relative;
  min-height: 540px;
}

.platform-card,
.mini-card,
.info-card,
.principle-card,
.team-card,
.update-card,
.cta-card,
.legal-copy {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.platform-card {
  min-height: 360px;
  border-radius: 34px;
  padding: 34px;
}

.platform-card h2 {
  margin-top: 76px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.platform-card p {
  margin-top: 20px;
  color: var(--muted-strong);
  font-size: 1.02rem;
}

.mini-card {
  position: absolute;
  max-width: 310px;
  border-radius: 24px;
  padding: 20px;
}

.mini-card strong,
.mini-card span {
  display: block;
}

.mini-card strong {
  font-size: 1.05rem;
}

.mini-card span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.mini-card-one {
  left: -22px;
  bottom: 72px;
}

.mini-card-two {
  right: 12px;
  bottom: 0;
}

.stats {
  padding: 32px 0;
  border-block: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
}

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

.stats-grid div {
  padding: 12px 0;
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  color: var(--accent-strong);
  letter-spacing: -0.06em;
}

.stats-grid span {
  margin-top: 8px;
  color: var(--muted);
}

.split-section h2,
.section-heading h2,
.updates-grid h2,
.cta-card h2 {
  margin-top: 14px;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.rich-copy {
  display: grid;
  gap: 20px;
  color: var(--muted-strong);
  font-size: 1.04rem;
}

.surface-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  border-block: 1px solid rgba(255,255,255,0.06);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 760px;
}

.values-heading {
  margin-inline: auto;
  text-align: center;
}

.values-heading .eyebrow {
  margin-inline: auto;
}

.section-heading p:not(.eyebrow),
.section-copy {
  margin-top: 18px;
  color: var(--muted-strong);
  font-size: 1.04rem;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

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

.info-card,
.principle-card,
.team-card,
.update-card {
  border-radius: 28px;
  padding: 26px;
}

.info-card,
.update-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
}

.featured-card {
  background: linear-gradient(160deg, rgba(53,208,135,0.16), rgba(255,255,255,0.045));
}

.info-card h3,
.principle-card h3,
.team-card h3,
.update-card h3 {
  margin-top: 18px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.info-card p,
.principle-card p,
.team-card p,
.update-card p {
  margin-top: 12px;
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--accent-strong);
  font-weight: 800;
}

.card-link::after {
  content: "->";
  transition: 180ms ease;
}

.card-link:hover::after {
  transform: translateX(3px);
}

.avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 900;
  font-size: 1.15rem;
}

.updates-section {
  background: radial-gradient(circle at 20% 0%, rgba(53, 208, 135, 0.12), transparent 28rem);
}

.updates-grid {
  display: grid;
  grid-template-columns: 0.95fr minmax(320px, 0.7fr);
  gap: 28px;
  align-items: stretch;
}

.update-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(53,208,135,0.08));
}

.cta-section {
  text-align: center;
}

.cta-card {
  border-radius: 36px;
  padding: 56px;
}

.cta-card .eyebrow {
  margin-inline: auto;
}

.cta-card p:not(.eyebrow) {
  max-width: 780px;
  margin: 20px auto 0;
  color: var(--muted-strong);
}

.site-footer {
  padding: 54px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1fr;
  gap: 32px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer h2 {
  margin-bottom: 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text);
}

.site-footer a {
  display: block;
  width: fit-content;
  margin-top: 8px;
}

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

.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(184, 200, 191, 0.72);
  font-size: 0.9rem;
}

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

.legal-copy {
  max-width: 860px;
  border-radius: 32px;
  padding: 48px;
}

.legal-copy .updated {
  margin-top: 14px;
  color: var(--muted);
}

.legal-copy h2 {
  margin-top: 34px;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.legal-copy p:not(.eyebrow),
.legal-copy a {
  margin-top: 16px;
  color: var(--muted-strong);
}

.legal-copy a {
  color: var(--accent-strong);
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 760px;
    padding: 96px 0 112px;
  }

  .hero-grid,
  .split-grid,
  .card-grid.three,
  .card-grid.four,
  .stats-grid,
  .updates-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .split-grid,
  .updates-grid {
    gap: 34px;
  }

  .hero-panel {
    min-height: 440px;
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav-cta {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: 720px;
    padding: 76px 0 96px;
    background-position: 64% center;
  }

  .hero-copy {
    transform: translateY(18px);
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .legal-copy h1 {
    font-size: clamp(2.65rem, 16vw, 4rem);
  }

  .card-grid.three,
  .card-grid.four,
  .stats-grid,
  .updates-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
  }

  .platform-card {
    min-height: 0;
  }

  .platform-card h2 {
    margin-top: 56px;
  }

  .mini-card {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .cta-card,
  .legal-copy {
    padding: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }
}
