:root {
  color-scheme: dark;
  --bg: #07080b;
  --bg-soft: #101217;
  --panel: rgba(17, 19, 25, .86);
  --panel-solid: #12151b;
  --line: rgba(255, 255, 255, .14);
  --line-strong: rgba(255, 255, 255, .3);
  --text: #f4f5f6;
  --muted: #aeb3b8;
  --silver: #d9dde1;
  --silver-bright: #ffffff;
  --steel: #7f878f;
  --graphite: #15181d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(18px, 5vw, 62px);
  background: linear-gradient(180deg, rgba(5, 6, 8, .9), rgba(5, 6, 8, .52) 72%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-logo-shell {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08) 52%, rgba(0, 0, 0, .28) 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .42);
  overflow: visible;
}

.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)) brightness(1.08);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: clamp(12px, 2.2vw, 28px);
  color: #ded8ce;
  font-size: .82rem;
  font-weight: 850;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.16) contrast(1.06);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 6, 8, .58) 0%, rgba(5, 6, 8, .26) 38%, rgba(5, 6, 8, 0) 72%),
    linear-gradient(180deg, rgba(5, 6, 8, .18) 0%, rgba(5, 6, 8, .05) 58%, #07080b 100%);
}

.hero-content {
  width: min(730px, 92%);
  align-self: center;
  padding: 120px clamp(18px, 5vw, 62px) 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--silver-bright);
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 255, 255, .16);
}

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

h1 {
  max-width: 690px;
  margin-bottom: 24px;
  color: var(--silver-bright);
  font-size: clamp(3.3rem, 7vw, 6.45rem);
  line-height: .9;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: #c6beb3;
  font-size: clamp(1.03rem, 1.7vw, 1.28rem);
  line-height: 1.7;
}

.actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(234, 214, 184, .64);
  border-radius: 8px;
  color: var(--silver);
  background: rgba(7, 8, 11, .45);
  font-size: .9rem;
  font-weight: 900;
  text-decoration: none;
}

.button:hover {
  border-color: #fff;
  color: #fff;
}

.button.is-primary {
  border-color: rgba(255, 255, 255, .5);
  color: #0a0b0d;
  background: linear-gradient(135deg, #ffffff, #aeb4ba 58%, #6c737a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .74), 0 18px 42px rgba(0, 0, 0, .26);
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 62px);
  background: #07080b;
}

.section-heading {
  width: min(820px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.join-section h2 {
  margin-bottom: 14px;
  color: var(--silver-bright);
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.join-section p {
  color: var(--muted);
  line-height: 1.7;
}

.stats-section {
  background:
    linear-gradient(180deg, #07080b, #0b0d11),
    radial-gradient(circle at top, rgba(255, 255, 255, .08), transparent 38%);
}

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

.stats-grid article,
.operation-grid article,
.role-list article {
  min-height: 178px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.stats-grid span,
.card-index {
  color: var(--silver-bright);
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.stats-grid strong {
  display: block;
  margin: 18px 0 8px;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1;
}

.stats-grid p,
.operation-grid p,
.role-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  background: #0b0d11;
}

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

.operation-grid h3,
.role-list h3 {
  margin: 22px 0 12px;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.roster-section {
  background:
    linear-gradient(180deg, #0b0d11 0%, #07080b 100%);
}

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

.join-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 0 clamp(18px, 5vw, 62px) clamp(40px, 7vw, 80px);
  padding: clamp(30px, 6vw, 60px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(18, 21, 27, .92)),
    var(--panel-solid);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 62px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
}

@media (max-width: 980px) {
  .stats-grid,
  .operation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .join-section {
    grid-template-columns: 1fr;
  }

  .join-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .brand strong {
    font-size: .92rem;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    width: 100%;
    padding-top: 130px;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 4.5rem);
  }

  .stats-grid,
  .operation-grid,
  .role-list {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }
}
