:root {
  --ink: #0d1117;
  --ice: #f5f7fb;
  --white: #ffffff;
  --steel: #6c7687;
  --line: #d8dee8;
  --red: #c9272f;
  --gold: #d7a84a;
  --black: #05070a;
  --panel: #151b23;
  --panel-2: #202832;
  --focus: #95c8ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ice);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(5, 7, 10, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  min-width: 0;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 2px solid var(--white);
  border-radius: 8px;
  background: var(--red);
  font-size: 0.85rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.96) 0%, rgba(5, 7, 10, 0.78) 35%, rgba(5, 7, 10, 0.18) 78%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.28) 0%, rgba(5, 7, 10, 0.02) 52%, rgba(5, 7, 10, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding: 132px clamp(20px, 5vw, 72px) 84px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--red);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.95;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.hero-copy,
.wide-copy,
.form-copy p,
.split-layout p {
  max-width: 680px;
  color: rgba(13, 17, 23, 0.78);
  font-size: 1.08rem;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 18px;
}

.button,
.signup-form button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button-primary,
.signup-form button {
  color: var(--white);
  background: var(--red);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.36);
}

.proof-line {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.intro-band {
  background: var(--red);
  color: var(--white);
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 96px;
}

.intro-grid p {
  margin: 0;
  font-weight: 800;
}

.text-link {
  font-weight: 900;
  white-space: nowrap;
}

.section {
  padding: clamp(64px, 9vw, 116px) 0;
}

.split-layout,
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.feature-grid,
.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feature-item,
.program-card,
.signup-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-item {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 18px;
  font-weight: 900;
}

.section-dark {
  color: var(--white);
  background: var(--panel);
}

.section-dark .split-layout p {
  color: rgba(255, 255, 255, 0.72);
}

.rule-list {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: var(--panel-2);
}

.rule-row {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 18px;
  padding: 22px;
}

.rule-row + .rule-row {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.rule-row span {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 800;
}

.rule-row strong {
  color: var(--white);
}

.program-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.program-card {
  min-height: 160px;
  padding: 22px;
}

.program-card p {
  margin: 0;
  color: var(--steel);
}

.forms-section {
  background: #e7ebf2;
}

.forms-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.signup-form {
  padding: 20px;
}

.signup-form label {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: #303846;
  font-size: 0.94rem;
  font-weight: 800;
}

.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  border: 1px solid #b7c0cd;
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.signup-form textarea {
  resize: vertical;
}

.signup-form button {
  width: 100%;
  margin-top: 18px;
  border: 0;
}

.signup-form button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-status[data-state="success"] {
  color: #196f3d;
}

.form-status[data-state="error"] {
  color: var(--red);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-footer {
  padding: 32px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
}

.site-footer p {
  max-width: 960px;
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 7, 10, 0.92) 0%, rgba(5, 7, 10, 0.7) 58%, rgba(5, 7, 10, 0.26) 100%),
      linear-gradient(180deg, rgba(5, 7, 10, 0.35) 0%, rgba(5, 7, 10, 0.14) 50%, rgba(5, 7, 10, 0.88) 100%);
  }

  .hero-content {
    padding-top: 156px;
  }

  .intro-grid,
  .split-layout,
  .form-layout,
  .program-grid {
    grid-template-columns: 1fr;
  }

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

  .rule-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    font-size: 0.95rem;
  }

  .nav-links a {
    font-size: 0.86rem;
  }

  h1 {
    font-size: 3rem;
  }

  .button {
    width: 100%;
  }
}
