:root {
  --bg: #020202;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f7f2;
  --muted: #a9aca5;
  --muted-strong: #d5d8d0;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: min(1180px, calc(100vw - 40px));
  --display-font: "Avenir Next Condensed", "Arial Narrow", "Franklin Gothic Medium",
    sans-serif;
  --body-font: "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  line-height: 1.6;
}

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

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

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

.site-shell {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 22%),
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(180deg, #050505 0%, #010101 100%);
}

.background__halo {
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.42;
}

.background__halo--left {
  top: 4rem;
  left: -10rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 62%);
}

.background__halo--right {
  right: -12rem;
  bottom: 4rem;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(204, 210, 205, 0.11), transparent 60%);
}

.background__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 96%);
}

.topbar,
.hero,
.section {
  width: var(--content-width);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 24px 0 18px;
  background: linear-gradient(
    180deg,
    rgba(2, 2, 2, 0.96) 0%,
    rgba(2, 2, 2, 0.78) 72%,
    rgba(2, 2, 2, 0) 100%
  );
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__logo {
  width: 30px;
  height: auto;
}

.brand__wordmark {
  font-family: var(--display-font);
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: grid;
  grid-template-columns: repeat(2, 8ch);
  align-items: center;
  justify-self: center;
  column-gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar__cta {
  justify-self: end;
}

.nav a {
  text-align: center;
}

.nav a,
.team-card__link,
.contact-link {
  transition: color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.team-card__link:hover,
.team-card__link:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: linear-gradient(180deg, #fafaf5 0%, #d7dad2 100%);
  color: #060606;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: #ffffff;
}

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

.button--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.hero {
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: calc(100vh - 92px);
  padding: 6px 0 48px;
  text-align: center;
}

.hero__logo-stage {
  display: grid;
  place-items: center;
  width: min(100%, 1140px);
  min-height: min(58vh, 720px);
}

.hero__logo {
  width: min(62vw, 500px);
  filter: drop-shadow(0 0 56px rgba(255, 255, 255, 0.18));
}

.hero__copy {
  display: grid;
  gap: 14px;
  width: min(900px, 100%);
  margin-top: 2px;
}

.hero__purpose,
.hero__tagline,
.cta-panel__copy {
  color: var(--muted-strong);
}

.hero__purpose {
  font-family: var(--display-font);
  letter-spacing: 0.04em;
  max-width: 44rem;
  margin: 0 auto;
}

.hero__purpose-primary,
.hero__purpose-secondary {
  display: block;
  text-transform: uppercase;
}

.hero__purpose-primary {
  font-size: clamp(1rem, 4vw, 4.15rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.hero__purpose-secondary {
  margin-top: clamp(3rem, 4.5vw, 4.25rem);
  font-size: clamp(1.8rem, 3vw, 2.95rem);
  font-weight: 500;
  line-height: 1.02;
}

.hero__tagline {
  max-width: 44rem;
  margin: 0 auto;
  font-size: clamp(0.96rem, 1.35vw, 1.08rem);
}

.section {
  padding: 18px 0 48px;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section h2 {
  font-family: var(--display-font);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 0.96;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#team .section-heading h2 {
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.75rem);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.team-card,
.cta-panel {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.team-card {
  padding: 22px 20px;
}

.team-card__header {
  display: grid;
  gap: 18px;
}

.team-card h3 {
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-card__title {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-card__link,
.contact-link {
  color: var(--muted);
  font-size: 0.94rem;
}

.section--cta {
  padding-bottom: 78px;
}

.cta-panel {
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
}

.cta-panel__copy {
  max-width: 42rem;
  margin: 18px auto 0;
  font-size: 1.04rem;
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.cta-panel__disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.site-meta {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 18px;
}

.site-meta__link {
  color: var(--muted-strong);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-meta__link:hover,
.site-meta__link:focus-visible {
  color: var(--text);
}

.terms-main {
  width: var(--content-width);
  margin: 0 auto;
  padding: 38px 0 84px;
}

.terms-hero,
.terms-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.terms-hero {
  padding: clamp(28px, 4vw, 48px);
}

.terms-hero h1,
.terms-card h2 {
  font-family: var(--display-font);
  font-weight: 600;
  text-transform: uppercase;
}

.terms-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: 0.04em;
}

.terms-hero__updated {
  margin-top: 18px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.terms-hero__intro {
  max-width: 60rem;
  margin-top: 20px;
  color: var(--muted-strong);
  font-size: 1.05rem;
}

.terms-stack {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.terms-card {
  padding: clamp(24px, 3vw, 34px);
}

.terms-card h2 {
  font-size: clamp(1.5rem, 2.1vw, 2.05rem);
  letter-spacing: 0.05em;
}

.terms-card p,
.terms-card li {
  color: var(--muted-strong);
}

.terms-card p + p,
.terms-card ul,
.terms-card ol {
  margin-top: 16px;
}

.terms-card ol,
.terms-card ul {
  padding-left: 1.3rem;
}

.terms-card li + li {
  margin-top: 12px;
}

.terms-card strong {
  color: var(--text);
}

.terms-footer {
  margin-top: 22px;
  text-align: center;
}

.terms-footer a {
  color: var(--muted-strong);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.terms-footer a:hover,
.terms-footer a:focus-visible {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .hero__logo-stage {
    min-height: 48vh;
  }

  .hero__logo {
    width: min(68vw, 420px);
  }

  .hero__purpose-primary {
    font-size: clamp(0.95rem, 3.9vw, 2.9rem);
  }

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

@media (max-width: 720px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 18px;
  }

  .nav {
    width: 100%;
    grid-template-columns: repeat(2, 8ch);
    justify-content: center;
  }

  .topbar__cta {
    width: 100%;
    justify-self: stretch;
  }

  .hero {
    min-height: auto;
    padding-top: 12px;
  }

  .hero__logo-stage {
    min-height: 38vh;
  }

  .hero__logo {
    width: min(76vw, 320px);
  }

  .hero__purpose-primary {
    font-size: clamp(0.9rem, 4.45vw, 1.65rem);
    letter-spacing: 0.02em;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel__actions {
    flex-direction: column;
    align-items: center;
  }

  .terms-main {
    padding-top: 22px;
  }
}

.hero,
.hero__copy,
.hero__purpose,
.section-heading,
.section-heading h2,
.cta-panel {
  text-align: center;
}

.hero__copy,
.section-heading {
  justify-items: center;
}

.hero__purpose,
.section-heading h2,
.cta-panel__copy {
  margin-left: auto;
  margin-right: auto;
}

.hero__purpose {
  width: 100%;
  text-align: center;
}

.hero__purpose-primary {
  display: block;
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero__purpose {
  width: 100%;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero__purpose-primary {
  display: block;
  width: 100%;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  margin-left: auto;
  margin-right: auto;
}

.hero__purpose-secondary {
  display: block;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-wrap: balance;
}