/* ── Reset & base ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --navy: #0d1b2a;
  --navy-mid: #1a2e42;
  --red: #c41e3a;
  --red-light: #e63355;
  --cream: #f5f0e8;
  --text: #eef0f4;
  --muted: #8fa3b8;
  --max-w: 760px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--navy);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

/* ── Typography ───────────────────────────────────────────── */
h1,
h2,
h3 {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin: 0 0 1rem;
}
h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin: 0 0 1rem;
  color: var(--red-light);
}

p {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.5rem;
  margin: 0 0 1rem;
}

li {
  margin-bottom: 0.35rem;
}

/* ── Layout wrapper ───────────────────────────────────────── */
header,
main,
footer {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 2rem;
}

/* ── Header / Hero ────────────────────────────────────────── */
header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding-block: 4rem;
  border-bottom: 4px solid var(--red);
  text-align: center;
}

header h1 {
  color: #fff;
}

header h1 span,
header strong {
  color: var(--red-light);
}

header p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

header p:last-child {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  margin-top: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Main sections ────────────────────────────────────────── */
main {
  padding-block: 5rem;
}

section {
  margin-bottom: 6rem;
}

section p,
section li {
  font-size: 1.1rem;
}

/* ── Contract section ─────────────────────────────────────── */
#contract {
  background-color: var(--cream);
  color: #222;
  font-family: "Courier New", Courier, monospace;
  border: 2px solid #aaa;
  border-top: 8px solid #555;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.4);
  max-width: 600px;
  margin-inline: auto;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 6rem;
}

#contract h2 {
  color: #111;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

#contract p {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0;
}

/* ── Footer / CTA ─────────────────────────────────────────── */
footer {
  background-color: var(--red);
  color: #fff;
  max-width: 100%;
  padding-block: 4rem;
  border-top: 4px solid var(--navy);
  text-align: center;
}

footer > * {
  max-width: var(--max-w);
  margin-inline: auto;
}

footer h2 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

footer p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  header,
  main {
    padding-inline: 1.25rem;
  }

  #contract {
    padding: 1.5rem;
  }
}
