:root {
  color-scheme: light;
  --ink: #151719;
  --muted: #5d625f;
  --paper: #f7f2e9;
  --panel: #ffffff;
  --panel-soft: #eee5d8;
  --line: #d5c9ba;
  --blue: #2d7588;
  --rust: #b9502a;
  --gold: #d89a26;
  --shadow: 0 18px 40px rgba(20, 20, 20, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: 0;
}

:focus-visible {
  outline: 3px solid rgba(45, 117, 136, 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--panel);
  border: 2px solid var(--blue);
  padding: 10px 13px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 44px);
  background: rgba(247, 242, 233, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--blue);
  color: #fff;
  font-weight: 950;
}

.brand span:last-child {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  font-size: 1.03rem;
  font-weight: 950;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.page-header nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.page-header nav a,
.header-contact {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.page-header nav a:hover,
.header-contact:hover {
  color: var(--rust);
  text-decoration: underline;
}

.header-contact {
  padding: 9px 12px;
  background: var(--ink);
  color: #fff;
}

.header-contact:hover {
  background: var(--rust);
  color: #fff;
  text-decoration: none;
}

.hero,
.section,
.help-section,
.page-footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: end;
  padding: clamp(54px, 9vw, 104px) 0 clamp(42px, 7vw, 78px);
}

.hero-copy h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.6rem);
}

.hero-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
}

.hero-copy p:first-of-type {
  color: var(--ink);
  font-weight: 750;
}

.hero-actions,
.card-actions,
.help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--blue);
  color: #fff;
}

.button.primary:hover {
  background: var(--ink);
}

.button.secondary {
  background: var(--panel);
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--gold);
}

.hero-note {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-note h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.hero-note p {
  color: var(--muted);
}

.hero-note a {
  font-weight: 900;
}

.section {
  padding: clamp(42px, 7vw, 82px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.7fr);
  gap: clamp(18px, 4vw, 58px);
  align-items: end;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
}

.choice-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid #171717;
  box-shadow: 10px 10px 0 rgba(21, 23, 25, 0.12);
}

.choice-card::before {
  content: "";
  display: block;
  height: 8px;
  background: var(--accent);
}

.choice-image {
  display: block;
  height: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #181818;
  border-bottom: 1px solid #171717;
}

.choice-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 240ms ease;
}

.choice-image:hover img {
  transform: scale(1.025);
}

.choice-body {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.choice-body h3 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.choice-body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.14rem);
}

.choice-body dl {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
}

.choice-body dl div {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.choice-body dt {
  color: var(--ink);
  font-weight: 950;
}

.choice-body dd {
  margin-left: 0;
  color: var(--muted);
}

.card-actions {
  align-self: end;
  padding-top: 4px;
}

.text-link {
  color: var(--ink);
  font-weight: 900;
}

.text-link:hover {
  color: var(--rust);
}

.included-section {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100% - var(--max)) / 2));
  padding-left: max(18px, calc((100% - var(--max)) / 2));
  background: #ece2d3;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.included-grid article {
  min-height: 178px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--panel);
}

.included-grid h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

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

.help-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(44px, 7vw, 76px);
  padding: clamp(30px, 5vw, 48px);
  background: var(--ink);
  color: #fff;
}

.help-section h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.8vw, 4.4rem);
}

.help-section p {
  max-width: 820px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.help-section .button {
  border-color: #fff;
}

.help-section .button.secondary {
  background: transparent;
  color: #fff;
}

.help-section .button.secondary:hover {
  background: #fff;
  color: var(--ink);
}

.page-footer {
  padding: 34px 0 44px;
  color: var(--muted);
}

.page-footer p {
  margin-bottom: 0;
}

.page-footer a {
  color: var(--ink);
  font-weight: 950;
}

@media (max-width: 980px) {
  .page-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .brand {
    min-width: 0;
    flex: 1 1 100%;
  }

  .page-header nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding-top: 4px;
  }

  .header-contact {
    position: absolute;
    top: 18px;
    right: 18px;
  }

  .hero,
  .section-heading,
  .help-section {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
  }

  .hero-note {
    box-shadow: 8px 8px 0 rgba(21, 23, 25, 0.12);
  }

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

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

  .help-actions {
    width: 100%;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .page-header {
    position: static;
    padding: 12px 16px 14px;
  }

  .brand {
    padding-right: 110px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  .header-contact {
    top: 15px;
    right: 16px;
    padding: 8px 9px;
    font-size: 0.78rem;
  }

  .page-header nav {
    gap: 14px;
  }

  .hero,
  .section,
  .help-section,
  .page-footer {
    width: min(100% - 28px, var(--max));
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 4.4rem);
  }

  .hero-actions,
  .card-actions,
  .help-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .text-link {
    display: inline-flex;
    justify-content: center;
    padding: 8px 0;
  }

  .choice-card {
    box-shadow: 7px 7px 0 rgba(21, 23, 25, 0.12);
  }

  .choice-image {
    aspect-ratio: 1.2 / 1;
  }

  .choice-body dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .included-section {
    padding-right: 14px;
    padding-left: 14px;
  }

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

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

  .help-section {
    padding: 24px;
  }
}
