@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2");
}

:root {
  --paper: #f3eee6;
  --paper-2: #fffdf8;
  --ink: #1c1916;
  --muted: #4a433c;
  --line: #ddd4c6;
  --accent: #1c1916;
  --accent-soft: #e7e2d8;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Atkinson Hyperlegible", "Avenir Next", "Segoe UI", "Liberation Sans", sans-serif;
  color-scheme: light;
}

body[data-app="appointdm"] {
  --accent: #8f2340;
  --accent-soft: #f8e8ec;
}

body[data-app="bidremind"] {
  --accent: #8a4b08;
  --accent-soft: #f8efe3;
}

body[data-app="photoclose"] {
  --accent: #0c5c56;
  --accent-soft: #e6f3f1;
}

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

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  max-width: 100%;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-140%);
  background: var(--paper-2);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  z-index: 5;
  border: 2px solid var(--ink);
}

.skip:focus {
  transform: none;
}

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

.wrap {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.narrow {
  max-width: 40rem;
}

h1,
h2,
.wordmark,
.footer-mark,
.amount {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0.15rem 0 0.85rem;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  line-height: 0.98;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.15;
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

p {
  margin: 0 0 0.9rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.35rem;
}

a {
  color: var(--accent);
}

a:visited {
  color: var(--accent);
}

.wordmark,
nav a,
.wordmark:visited,
nav a:visited {
  color: var(--ink);
}

a.button,
a.button:visited {
  color: #fff;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 1.45rem;
  text-decoration: none;
  line-height: 1;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
}

.nav a {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0;
}

.nav a:hover,
.wordmark:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.nav a[aria-current="page"] {
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
  font-weight: 700;
}

.status {
  margin: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 0;
  font-size: 0.98rem;
}

.status .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
}

.page {
  padding: 2.25rem 0 4rem;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.5;
  max-width: 38rem;
}

.kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 0.85rem 0.9rem;
}

.facts strong {
  display: block;
  font-size: 1rem;
}

.facts span {
  color: var(--muted);
  font-size: 0.95rem;
}

.block {
  margin-top: 3.25rem;
}

.note {
  background: var(--accent-soft);
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
}

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

.fine {
  color: var(--muted);
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 0.4rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--accent);
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  filter: brightness(1.08);
}

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

.button.secondary:visited {
  color: var(--accent);
}

.prices {
  display: grid;
  gap: 0.9rem;
}

.price-card,
.extra,
.flow li,
.compare article,
.rules,
.app-band {
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.price-card,
.extra {
  padding: 1.15rem 1.15rem 1.2rem;
}

.amount {
  margin: 0.2rem 0 0.55rem;
  color: var(--accent);
  font-size: clamp(2.6rem, 7vw, 3.5rem);
  line-height: 1;
}

.extra {
  margin-top: 0.9rem;
}

.extra-actions {
  display: grid;
  gap: 0.6rem;
}

.flow {
  margin: 0;
}

.flow ol,
.compare {
  display: grid;
  gap: 0.75rem;
}

.flow ol {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.flow li,
.compare article {
  margin: 0;
  padding: 1rem;
}

.example {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.bubble {
  margin: 0.55rem 0 0;
  padding: 0.75rem 0.85rem;
  background: var(--accent-soft);
  border-radius: 2px 14px 14px 14px;
}

.slot {
  margin: 0.45rem 0 0;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--line);
  font-weight: 700;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.7rem 0 0;
}

.choices span {
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.3rem 0.55rem;
  font-weight: 700;
}

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

.checks li {
  margin: 0;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
}

.checks li::before {
  content: "Checked. ";
  font-weight: 700;
  color: var(--muted);
}

.shot {
  display: grid;
  place-items: center;
  height: 7.5rem;
  margin-top: 0.75rem;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--accent-soft), #fff);
  color: var(--accent);
  font-weight: 700;
}

.capture {
  display: grid;
  gap: 0.45rem;
  max-width: 36rem;
}

.capture label {
  font-weight: 700;
}

.capture input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.capture .button {
  width: auto;
}

details {
  border-top: 1px solid var(--line);
  padding: 0.15rem 0;
}

details:last-of-type {
  border-bottom: 1px solid var(--line);
}

summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
}

summary:hover {
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
}

.footer-mark {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  line-height: 1.15;
}

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

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}

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

.email {
  overflow-wrap: anywhere;
}

.intro {
  display: grid;
  gap: 1.5rem;
}

.rules {
  padding: 1.1rem 1.15rem 0.4rem;
}

.rules ol {
  padding-left: 1.15rem;
}

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

.app-band {
  padding: 1.1rem 1rem 1.15rem 1rem;
  border-left: 6px solid var(--accent);
}

.app-band.appoint {
  --accent: #8f2340;
}

.app-band.bid {
  --accent: #8a4b08;
}

.app-band.photo {
  --accent: #0c5c56;
}

.band-price {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 700;
}

.band-buy .text-link {
  display: inline-block;
  margin-top: 0.45rem;
}

.text-link {
  font-weight: 700;
}

.aside-note {
  margin-top: 1.25rem;
}

.capture .fine {
  grid-column: 1 / -1;
}

@media (min-width: 700px) {
  .prices,
  .extra-actions,
  .compare {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }

  .capture {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .capture label {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .facts,
  .flow ol {
    grid-template-columns: repeat(4, 1fr);
  }

  .flow ol {
    grid-template-columns: repeat(3, 1fr);
  }

  .intro {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: end;
  }

  .app-band {
    grid-template-columns: 16rem 1fr 14rem;
    display: grid;
    gap: 1.25rem 1.75rem;
    align-items: center;
    padding: 1.35rem 1.4rem;
  }

  .app-band p {
    margin: 0;
  }
}

@media (forced-colors: active) {
  .button,
  .price-card,
  .app-band,
  .status {
    border: 1px solid ButtonText;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .status,
  .site-header,
  .capture,
  .button {
    break-inside: avoid;
  }

  body {
    background: #fff;
  }

  a {
    text-decoration: underline;
  }
}
