:root {
  --paper: #f3f0e8;
  --ink: #1e2428;
  --muted: #5c656c;
  --line: #d8d2c4;
  --card: #fcfbf7;
  --sage: #355e57;
  --sage-hover: #2a4c46;
  --focus: #1e2428;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 10;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main:focus {
  outline: none;
}

.page {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
}

.hero-banner {
  display: flex;
  justify-content: center;
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto 1rem;
}

.banner {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(38vh, 20rem);
  max-height: min(38dvh, 20rem);
  object-fit: contain;
  object-position: center;
}

.brand {
  margin: 0 0 1rem;
  color: var(--sage);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 22ch;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 6.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.card {
  padding: 1.4rem 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--card);
  box-shadow: 0 1px 0 rgba(30, 36, 40, 0.04);
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.blurb {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.05rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--sage);
  color: #f7f6f1;
  font-weight: 600;
  text-decoration: none;
}

.cta:hover {
  background: var(--sage-hover);
}

.cta-secondary {
  background: transparent;
  border-color: var(--sage);
  color: var(--sage);
}

.cta-secondary:hover {
  background: var(--sage);
  color: #f7f6f1;
}

.price {
  font-variant-numeric: tabular-nums;
}

.cta:focus-visible,
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

footer a {
  color: var(--ink);
}

footer p {
  margin: 0;
}

@media (max-width: 39.99rem) {
  .hero-banner {
    margin-bottom: 0.85rem;
  }

  .banner {
    max-height: min(28vh, 12.5rem);
    max-height: min(28dvh, 12.5rem);
  }

  .actions .cta {
    flex: 1 1 12rem;
  }
}

@media (min-width: 40rem) {
  .page {
    padding-top: 1.15rem;
    padding-bottom: 3.5rem;
  }

  .card {
    padding: 1.7rem 1.7rem 1.8rem;
  }
}
