@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}

:root {
  --paper: #faf8f3;
  --ink: #1f2a44;
  --muted: #5c6578;
  --line: #e4dfd4;
  --accent: #c8553d;
  --card: #ffffff;
  --serif: "Source Serif 4", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --measure: 40rem;
  --wrap: 68rem;
  color-scheme: light;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  text-wrap: pretty;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

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

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

.skip:focus {
  top: 0.5rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  padding-top: env(safe-area-inset-top);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.rule {
  border-top: 1px solid var(--ink);
  border-bottom: 3px solid var(--accent);
  height: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo img {
  width: 36px;
  height: 36px;
  flex: none;
}

.menu {
  position: relative;
}

.menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu summary::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.55rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.menu nav {
  display: none;
}

.menu[open] nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 15.5rem;
  padding: 0.35rem 0;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(31, 42, 68, 0.08);
}

.menu nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 1rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.menu nav a:hover {
  background: rgba(31, 42, 68, 0.04);
}

.menu nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.hero {
  padding: 2.4rem 0 0.5rem;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.15rem, 1.15rem + 3.4vw, 3.45rem);
}

.lede {
  max-width: 38rem;
  margin: 1.1rem 0 0;
  font-size: 1.2rem;
  line-height: 1.45;
}

.hero-link {
  display: inline-block;
  margin-top: 0.85rem;
  color: inherit;
  font-weight: 600;
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  max-width: 38rem;
}

.countdown[hidden] {
  display: none;
}

.countdown-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 2rem + 2vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  color: var(--muted);
}

.band {
  padding-top: 2.75rem;
}

.band h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 1.2rem + 1vw, 2rem);
}

.featured {
  background: var(--ink);
  color: var(--paper);
  padding: 1.6rem 1.35rem 1.45rem;
}

.featured h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem);
  color: var(--paper);
}

.featured p {
  margin: 0;
  max-width: 38rem;
}

.featured .kicker {
  color: #e4dfd4;
}

.featured .button {
  margin-top: 1.15rem;
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.featured .button:hover {
  background: #ffffff;
}

.price-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.product {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem 1rem;
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
}

.product h3 {
  margin: 0;
  font-size: 1.28rem;
}

.product h3 a {
  color: inherit;
  text-decoration: none;
}

.product h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.price {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.price small {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  max-width: 14rem;
}

.product-desc {
  margin: 0.55rem 0 0.7rem;
  color: var(--ink);
}

.text-link {
  color: inherit;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
}

.button:hover {
  background: #2a3858;
}

.button:active {
  transform: translateY(1px);
}

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

.button-secondary:hover {
  background: rgba(31, 42, 68, 0.05);
}

.sample {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-top: 0.4rem;
  padding: 1.1rem 0 0.2rem;
  border-top: 1px solid var(--line);
}

.sample p {
  margin: 0;
  max-width: 36rem;
}

.guides {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.guides a {
  display: block;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.guides strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.guides span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
}

.guides a:hover strong {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.about {
  max-width: var(--measure);
  padding-bottom: 0.5rem;
}

.about p:last-child {
  margin-bottom: 0;
}

.prose {
  width: min(var(--measure), calc(100% - 2.5rem));
  margin-inline: auto;
  padding-top: 1.6rem;
  padding-bottom: 0.5rem;
}

.crumb {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.crumb a {
  color: inherit;
  font-weight: 600;
}

.prose h1 {
  margin: 0.45rem 0 0.8rem;
  font-size: clamp(2rem, 1.35rem + 2.1vw, 2.75rem);
}

.standfirst {
  margin-top: 0;
  font-size: 1.18rem;
  line-height: 1.45;
}

.prose h2 {
  margin: 2.2rem 0 0.55rem;
  font-size: 1.55rem;
}

.prose h3 {
  margin: 1.25rem 0 0.3rem;
  font-size: 1.18rem;
}

.prose p,
.prose li {
  line-height: 1.55;
}

.prose a {
  color: var(--ink);
  text-underline-offset: 0.16em;
}

.prose a:hover {
  text-decoration-thickness: 2px;
}

.note {
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  background: var(--card);
  border-left: 3px solid var(--accent);
}

.note p {
  margin: 0.4rem 0;
}

.note p:first-child {
  margin-top: 0;
}

.note p:last-child {
  margin-bottom: 0;
}

.steps,
.records {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.steps li,
.records li {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0 0.2rem;
}

.steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 0.75rem;
}

.steps li::before {
  counter-increment: item;
  content: counter(item);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.steps h3,
.records h3 {
  margin: 0 0 0.25rem;
}

.records {
  counter-reset: rec;
}

.records li {
  padding-left: 0;
}

.records h3::before {
  counter-increment: rec;
  content: counter(rec) ". ";
  font-variant-numeric: tabular-nums;
}

.checks {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.checks li {
  border-top: 1px solid var(--line);
}

.checks label {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0;
  cursor: pointer;
}

.checks input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  accent-color: var(--ink);
}

.check-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.flag {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.08rem 0.35rem;
  border: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}

.flag-if {
  border-color: #c9c3b6;
  color: var(--muted);
}

.item-note {
  display: block;
  margin-top: 0.3rem;
}

.check-tools {
  display: block;
  margin: 0.25rem 0 0.5rem;
}

.linkish {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  cursor: pointer;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 0.4rem;
}

.site-footer {
  margin-top: 3.5rem;
  padding: 2rem 0 calc(2.4rem + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--paper);
  font-size: 0.98rem;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-footer p {
  margin: 0 0 0.7rem;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--paper);
  text-underline-offset: 0.15em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.error-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(36rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2rem 0;
}

.error-shell h1 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-size: 2rem;
}

@media (min-width: 800px) {
  .menu summary {
    display: none;
  }

  .menu nav,
  .menu[open] nav {
    display: flex;
    flex-direction: row;
    position: static;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    gap: 0.15rem;
  }

  .menu nav a {
    padding: 0.35rem 0.7rem;
  }

  .menu nav a:hover {
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 0.3em;
  }

  .price-list {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.1fr 2fr 0.8fr;
    gap: 2rem;
    align-items: start;
  }

  .product .price {
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button:active {
    transform: none;
  }
}

@media print {
  .site-header,
  .skip,
  .button,
  .sample,
  .check-tools {
    display: none;
  }

  body,
  .site-footer {
    background: #fff;
    color: #000;
  }

  .site-footer a,
  .prose a {
    color: #000;
  }

  .featured {
    background: #fff;
    color: #000;
    border: 1px solid #000;
  }

  .featured h3,
  .featured .kicker {
    color: #000;
  }

  .countdown-num,
  .steps li::before {
    color: #000;
  }
}

.featured .price {
  margin: 0 0 0.6rem;
}

.featured .price small {
  color: #e4dfd4;
}
