:root {
  --night: #120818;
  --plum: #2a123c;
  --purple: #692b7e;
  --purple-deep: #4c1d63;
  --magenta: #be4ee4;
  --lilac: #c9b0d2;
  --blush: #f6f0f8;
  --mist: #f7f5f8;
  --paper: #ffffff;
  --ink: #1c1428;
  --slate: #334155;
  --muted: #5d6678;
  --line: #e6e0ec;
  --header: 76px;
  --shadow: 0 16px 40px rgba(36, 16, 51, 0.08);
  --radius: 16px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: var(--purple);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--purple-deep);
}

h1,
h2,
h3,
.metric-value {
  font-family: "Inter Tight", Inter, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

p {
  margin: 0 0 1rem;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  z-index: 80;
}

.skip:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  color: #fff;
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.is-solid {
  background: rgba(18, 8, 24, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  height: 28px;
  width: auto;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
}

.nav .mob {
  display: none;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 14px/1 Inter, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-light {
  background: #e8eef5;
  color: #1c1428;
}

.btn-light:hover {
  background: #fff;
  color: #1c1428;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  color: #fff;
  border-color: #fff;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
}

.btn-primary:hover {
  background: var(--purple-deep);
  color: #fff;
}

.btn-header {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-header:hover {
  background: #fff;
  color: var(--night);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header) + 72px) 20px 0;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 60% at 82% 42%, rgba(190, 78, 228, 0.42), transparent 58%),
    radial-gradient(ellipse 50% 70% at 8% 90%, rgba(105, 43, 126, 0.85), transparent 55%),
    linear-gradient(165deg, #160920 0%, #3b1558 46%, #120818 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/globe.jpg") center right / cover no-repeat;
  opacity: 0.16;
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent 10%, #000 62%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -6%;
  top: 12%;
  width: min(680px, 72vw);
  height: min(680px, 72vw);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.9) 1.15px, transparent 1.35px);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle at 50% 50%, #000 28%, transparent 72%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin: 0 auto;
  max-width: 760px;
  margin-left: max(20px, calc((100% - var(--max)) / 2));
  padding-bottom: 56px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--lilac);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 600;
  max-width: 12ch;
}

.hero-sub {
  margin: 0 0 28px;
  max-width: 38rem;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.metrics {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.metric {
  padding: 28px 12px 36px;
}

.metric + .metric {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.metric-value {
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
}

.metric-label {
  margin: 6px 0 0;
  color: var(--lilac);
  font-size: 14px;
  font-weight: 500;
}

.section {
  padding: 88px 20px;
  scroll-margin-top: 76px;
}

.section--mist {
  background: var(--mist);
}

.wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
}

.prose {
  color: var(--slate);
  font-size: 17px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ledger-wrap {
  margin-top: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 24px;
  box-shadow: var(--shadow);
}

.ledger {
  width: 100%;
  border-collapse: collapse;
}

.ledger td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.ledger td:last-child {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.ledger tr:last-child td {
  border-bottom: 0;
}

.ledger .group td {
  padding-top: 22px;
  font-weight: 700;
  color: var(--ink);
}

.ledger .detail td {
  color: var(--slate);
  font-weight: 400;
}

.ledger .detail td:first-child {
  padding-left: 16px;
}

.ledger .detail td:last-child {
  font-weight: 500;
}

.ledger .grand td {
  font-size: 18px;
  font-weight: 700;
  color: var(--purple);
  padding-top: 18px;
  padding-bottom: 18px;
}

.note {
  margin-top: 18px;
  color: var(--slate);
}

.steps {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--purple);
  font-family: "Inter Tight", Inter, sans-serif;
  font-weight: 700;
  border: 1px solid var(--line);
}

.section--mist .step-num {
  background: var(--blush);
  border-color: transparent;
}

.step p {
  margin: 8px 0 0;
  color: var(--slate);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.logo-card {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.logo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.logo-card img {
  max-height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 8px;
}

.chip {
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
}

.press-list {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.press-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.press-meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.press-item a {
  font-weight: 600;
  text-decoration: none;
}

.press-item a:hover {
  text-decoration: underline;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.board-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
}

.board-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.board-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.board-card .org {
  margin-top: 4px;
  color: var(--slate);
  font-weight: 600;
}

.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.person {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px 14px 18px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.section--mist .person {
  background: #fff;
}

.person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  background: var(--blush);
}

.person h3 {
  margin: 14px 4px 4px;
  font-size: 18px;
}

.person .role {
  margin: 0 4px 12px;
  color: var(--muted);
  font-size: 14px;
  min-height: 2.6em;
}

.bio-btn {
  margin-left: 4px;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--purple);
  font: 600 14px/1.3 Inter, sans-serif;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
}

.field label span {
  color: var(--purple);
}

.field input,
.field select {
  height: 46px;
  border-radius: 12px;
  border: 1px solid #d9d2e2;
  padding: 0 12px;
  font: 400 15px/1 Inter, sans-serif;
  color: var(--ink);
  background: #fff;
}

.field input:focus,
.field select:focus {
  outline: 2px solid rgba(105, 43, 126, 0.35);
  border-color: var(--purple);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--slate);
}

.check input {
  margin-top: 3px;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-note,
.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status {
  color: var(--purple-deep);
  font-weight: 600;
}

.site-footer {
  background: var(--night);
  color: #cbd5e1;
  padding: 36px 20px;
}

.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.site-footer p {
  margin: 0 0 8px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}

.social img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 8, 24, 0.94);
  color: #e8e4ee;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.cookie p {
  margin: 0;
  font-size: 14px;
  max-width: 820px;
}

.cookie a {
  color: #fff;
}

.cookie[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(18, 8, 24, 0.62);
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal-card {
  width: min(640px, 100%);
  max-height: min(80vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.modal-card h2 {
  margin: 0 0 4px;
  font-size: 28px;
}

.modal-role {
  margin: 0 0 16px;
  color: var(--muted);
}

.modal-bio p {
  color: var(--slate);
}

.modal-close {
  margin-top: 8px;
}

.legal-main {
  padding: calc(var(--header) + 48px) 20px 80px;
  background:
    radial-gradient(ellipse 50% 30% at 90% 0%, rgba(190, 78, 228, 0.16), transparent 60%),
    var(--mist);
}

.legal {
  width: min(820px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 36px;
}

.legal h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4vw, 42px);
}

.legal h2 {
  margin: 28px 0 10px;
  font-size: 22px;
}

.legal p,
.legal li {
  color: var(--slate);
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.error-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 20px 60px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(190, 78, 228, 0.35), transparent 60%),
    linear-gradient(165deg, #160920, #120818);
  color: #fff;
  text-align: left;
}

.error-main h1 {
  font-size: 56px;
  margin: 0 0 12px;
}

.error-main p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 36rem;
}

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

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 20px 20px;
    background: #14081c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

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

  .nav .mob {
    display: inline;
  }

  .nav .btn-header {
    margin-top: 6px;
  }

  .metrics,
  .logo-grid,
  .board,
  .people,
  .contact-grid,
  .form,
  .press-item {
    grid-template-columns: 1fr;
  }

  .metric + .metric {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .logo-grid,
  .board,
  .people {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 640px) {
  .logo-grid,
  .board,
  .people {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .legal {
    padding: 28px 18px;
  }

  .section {
    padding: 64px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .logo-card {
    transition: none;
  }
}
