:root {
  --ink: #172033;
  --muted: #596579;
  --navy: #12305c;
  --blue: #1d4e89;
  --red: #b7192b;
  --cream: #f7f4ef;
  --line: #d8dde6;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(14, 29, 54, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 4px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 76px));
  overflow: hidden;
  background: var(--navy);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(10, 22, 44, 0.82), rgba(10, 22, 44, 0.48) 45%, rgba(10, 22, 44, 0.05));
}

.hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(720px, 100%);
  min-height: min(720px, calc(100vh - 76px));
  padding: 70px clamp(22px, 6vw, 80px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffcf55;
}

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

h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(46px, 8vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2.6vw, 24px);
  color: rgba(255, 255, 255, 0.92);
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  margin-top: 34px;
  padding: 13px 20px;
  color: var(--white);
  background: var(--red);
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.section {
  padding: 68px clamp(20px, 5vw, 72px);
}

.section-muted {
  background: var(--cream);
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 26px;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.statement,
.principles-grid,
.join-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.statement {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  font-size: 19px;
}

.statement p,
.join-layout p {
  margin: 0;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.principles-grid article {
  min-height: 220px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
}

.principles-grid p {
  margin: 0;
  color: var(--muted);
}

.join-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 30px;
  align-items: start;
}

.join-layout > div {
  padding-right: 16px;
  font-size: 19px;
}

.fine-print,
.form-note {
  color: var(--muted);
  font-size: 14px;
}

.fine-print {
  margin-top: 18px !important;
}

.signup-form {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: var(--navy);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.signup-form label {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.signup-form input {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
}

.signup-form button {
  min-height: 48px;
  margin-top: 8px;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-weight: 800;
}

.signup-form button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.form-note {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  background: #0d203e;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 780px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .hero-overlay {
    min-height: 620px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(10, 22, 44, 0.86), rgba(10, 22, 44, 0.54));
  }

  .hero-overlay {
    padding-top: 52px;
  }

  .statement,
  .principles-grid,
  .join-layout {
    grid-template-columns: 1fr;
  }

  .principles-grid article {
    min-height: 0;
  }

  .join-layout > div {
    padding-right: 0;
  }
}
