/* Crack the Card: brand system in docs/DESIGN-STANDARDS.md. Mobile first. */

@font-face { font-family: "Zilla Slab"; font-weight: 700; font-style: normal; font-display: swap; src: url("/static/fonts/zilla-slab-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: normal; font-display: swap; src: url("/static/fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 400; font-style: italic; font-display: swap; src: url("/static/fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 600; font-style: normal; font-display: swap; src: url("/static/fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Courier Prime"; font-weight: 400; font-style: normal; font-display: swap; src: url("/static/fonts/courier-prime-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Courier Prime"; font-weight: 700; font-style: normal; font-display: swap; src: url("/static/fonts/courier-prime-latin-700-normal.woff2") format("woff2"); }


/* Stand-ins while the fonts load, sized to take the same space (measured from
   the font files against Times New Roman and Courier New), so the page doesn't
   jump when the real fonts arrive. */
@font-face { font-family: "Zilla Slab Fallback"; font-weight: 700; src: local("Times New Roman Bold"), local("TimesNewRomanPS-BoldMT"), local("Liberation Serif Bold"); size-adjust: 103%; ascent-override: 91.6%; descent-override: 24.9%; line-gap-override: 0%; }
@font-face { font-family: "Source Serif 4 Fallback"; font-weight: 400; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"); size-adjust: 119%; ascent-override: 87.1%; descent-override: 28.2%; line-gap-override: 0%; }
@font-face { font-family: "Source Serif 4 Fallback"; font-weight: 600; src: local("Times New Roman Bold"), local("TimesNewRomanPS-BoldMT"), local("Liberation Serif Bold"); size-adjust: 113.4%; ascent-override: 91.4%; descent-override: 29.5%; line-gap-override: 0%; }
@font-face { font-family: "Courier Prime Fallback"; src: local("Courier New"), local("CourierNewPSMT"), local("Liberation Mono"); size-adjust: 100%; ascent-override: 78.1%; descent-override: 34.2%; line-gap-override: 0%; }
:root {
  --ink: #2e3139;
  --rust: #a7452b;
  --rust-deep: #8c3a23;
  --paper: #f5f0e6;
  --stamp: #fffdf8;
  --muted: #5b5d63;
  --focus: #1f5fa8;

  --display: "Zilla Slab", "Zilla Slab Fallback", Rockwell, "Roboto Slab", Georgia, serif;
  --body: "Source Serif 4", "Source Serif 4 Fallback", Georgia, "Times New Roman", serif;
  --type: "Courier Prime", "Courier Prime Fallback", "Courier New", ui-monospace, monospace;

  /* Type scale (1.25 on mobile, opened up at desktop). */
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: 1.95rem;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --measure: 36rem;
  color-scheme: light;
}

@media (min-width: 960px) {
  :root { --step-0: 1.125rem; --step-1: 1.375rem; --step-2: 1.75rem; --step-3: 2.4rem; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--body);
  text-rendering: optimizeLegibility;
}

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

a { color: var(--rust); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--rust-deep); text-decoration-thickness: 2px; }

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

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; margin: 0; }

.eyebrow {
  font: 700 var(--step--1)/1.2 var(--type);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 0.5rem;
}

.small { font-size: var(--step--1); color: var(--muted); line-height: 1.5; }

/* ---------- Announcement, header, footer ---------- */

.announce {
  margin: 0; padding: 0.55rem var(--gutter); text-align: center;
  background: var(--ink); color: var(--stamp);
  font: 400 var(--step--1)/1.4 var(--type);
}
.announce a { color: var(--stamp); text-decoration-color: var(--rust); text-decoration-thickness: 2px; }
.announce a:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: saturate(1.2);
  border-bottom: 1px solid rgba(46, 49, 57, 0.12);
  padding: 0.6rem var(--gutter);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.5rem 1.5rem;
}
.site-header__logo { display: inline-block; line-height: 0; }
.site-header__logo img { width: 6.5rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; font: 700 var(--step--1)/1 var(--type); letter-spacing: 0.03em; }
.site-nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover { color: var(--rust); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--rust); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
@media (max-width: 719px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; border-top: 1px solid rgba(46, 49, 57, 0.1); }
  .site-header__logo img { width: 5.5rem; }
}
@media (min-width: 1100px) {
  .site-header { padding-left: max(var(--gutter), calc((100vw - 72rem) / 2)); padding-right: max(var(--gutter), calc((100vw - 72rem) / 2)); }
}

.site-footer {
  max-width: 72rem;
  margin: 4rem auto 0;
  padding: 1.5rem var(--gutter) 2.5rem;
  border-top: 1px solid rgba(46, 49, 57, 0.18);
  font: 400 var(--step--1)/1.6 var(--type);
  color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 0.25rem 2rem; justify-content: space-between;
}
.site-footer p { margin: 0; }

/* ---------- Buttons and small parts ---------- */

.button--small { width: auto; min-height: 44px; margin: 0; padding: 0.6rem 0.9rem; font-size: var(--step--1); text-decoration: none; }
.button--small:hover, .button--inline:hover, a.button:hover { color: var(--stamp); }
a.button { text-decoration: none; }
.text-link { font: 700 var(--step-0)/1 var(--type); color: var(--ink); text-decoration-color: var(--rust); text-decoration-thickness: 2px; text-underline-offset: 0.3em; min-height: 44px; display: inline-flex; align-items: center; }
.text-link:hover { color: var(--rust); }
.badge {
  display: inline-block; padding: 0.25rem 0.5rem;
  font: 700 0.75rem/1 var(--type); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--rust); border: 1.5px solid var(--rust);
}

/* ---------- Hero: the card on the table ---------- */

.hero {
  max-width: 72rem; margin: 0 auto; padding: 2rem var(--gutter) 0;
  display: grid; gap: 2rem; align-items: center;
}
.hero__title { font-size: clamp(2.3rem, 7vw, 4rem); line-height: 1.02; letter-spacing: -0.015em; max-width: 13ch; }
.hero__lede { font-size: var(--step-1); line-height: 1.5; max-width: 30rem; margin: 1.1rem 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; margin-top: 1.75rem; }
.hero__actions .button { margin-top: 0; }
.hero__art { margin: 0; display: grid; justify-items: center; }
.hero__logo { width: min(26rem, 80vw); }

/* A card lying on the table: slight turn, soft shadow, a second card under it. */
.table-card { position: relative; display: block; width: min(22rem, 78vw); transform: rotate(2.5deg); transition: transform 0.25s ease; }
.table-card::before {
  content: ""; position: absolute; inset: 0; background: var(--stamp);
  transform: rotate(-6deg) translate(-4%, 2%); box-shadow: 0 10px 30px -12px rgba(46, 49, 57, 0.45); z-index: -1;
}
.table-card img { width: 100%; box-shadow: 0 1px 2px rgba(46, 49, 57, 0.2), 0 22px 40px -18px rgba(46, 49, 57, 0.55); }
.table-card:hover { transform: rotate(1deg) translateY(-4px); }

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); padding-top: 3.5rem; gap: 3rem; }
  .table-card { width: min(25rem, 100%); }
}

/* ---------- Bands (page sections) ---------- */

.band { max-width: 72rem; margin: clamp(4rem, 9vw, 6.5rem) auto 0; padding: 0 var(--gutter); }
.band__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; }
.band__note { margin: 0; color: var(--muted); max-width: 30rem; }

/* ---------- Product grid ---------- */

.product-grid { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.product-tile__link { display: grid; gap: 0.5rem; color: var(--ink); text-decoration: none; }
.product-tile__image { display: block; background: var(--stamp); padding: 1.25rem; border: 1px solid rgba(46, 49, 57, 0.12); overflow: hidden; }
.product-tile__image img { aspect-ratio: 1051 / 1500; object-fit: cover; box-shadow: 0 14px 28px -16px rgba(46, 49, 57, 0.5); transform: rotate(-1.5deg); transition: transform 0.25s ease; }
.product-tile__link:hover .product-tile__image img { transform: rotate(0deg) scale(1.02); }
.product-tile__meta { margin-top: 0.4rem; }
.product-tile__name { font: 700 var(--step-2)/1.1 var(--display); }
.product-tile__text { color: var(--muted); }
.product-tile__cta { font: 700 var(--step--1)/1 var(--type); color: var(--rust); }
.product-tile__link:hover .product-tile__name { color: var(--rust); }
.product-tile--soon {
  display: grid; align-content: center; gap: 0.6rem; padding: 1.75rem 1.5rem; min-height: 14rem;
  border: 1.5px dashed rgba(46, 49, 57, 0.35);
}

/* ---------- FAQ ---------- */

.faq__list { margin-top: 1.25rem; border-top: 1px solid rgba(46, 49, 57, 0.2); }
@media (min-width: 900px) { .faq__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; align-items: start; } }
.faq__list details { border-bottom: 1px solid rgba(46, 49, 57, 0.2); }
.faq__list summary {
  cursor: pointer; list-style: none; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font: 700 var(--step-1)/1.25 var(--display);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font: 700 1.4rem/1 var(--type); color: var(--rust); }
.faq__list details[open] summary::after { content: "\2212"; }
.faq__list details p { margin: 0 0 1.1rem; max-width: 46rem; }

/* ---------- Join (the waitlist stamp) ---------- */

.join { display: grid; gap: 1.5rem; align-items: start; }
.join__copy p { max-width: 26rem; }
.signup-stamp { max-width: 32rem; }
@media (min-width: 900px) { .join { grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); column-gap: 4rem; } .signup-stamp { max-width: none; } }

/* ---------- Product page ---------- */

.crumbs { max-width: 72rem; margin: 0 auto; padding: 1.25rem var(--gutter) 0; font: 400 var(--step--1)/1.4 var(--type); color: var(--muted); }
.crumbs a { color: var(--muted); }
.product { max-width: 72rem; margin: 0 auto; padding: 1.25rem var(--gutter) 0; display: grid; gap: 2rem; }
.product__gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.product__image:not(.product__image--main) img { max-width: min(16rem, 100%); margin: 0 auto; }
.product__image { margin: 0; background: var(--stamp); padding: 1rem; border: 1px solid rgba(46, 49, 57, 0.12); }
.product__image img { box-shadow: 0 14px 28px -16px rgba(46, 49, 57, 0.5); }
.product__image--main { grid-column: 1 / -1; padding: clamp(1rem, 4vw, 2.5rem); }
.product__image--main img { max-width: min(28rem, 100%); margin: 0 auto; }
.product__name { font-size: clamp(2.2rem, 6vw, 3.2rem); line-height: 1.05; margin: 0.5rem 0 0.75rem; }
.product__tagline { font-size: var(--step-1); line-height: 1.45; }
.product__status { font: 700 var(--step--1)/1.4 var(--type); color: var(--rust); margin: 1.5rem 0 0; }
.product__info .button { margin-top: 0.75rem; }
.product__h2 { font-size: var(--step-1); margin: 2.25rem 0 0.75rem; }
.inside-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.inside-list li { padding-left: 1.25rem; position: relative; }
.inside-list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.5rem; height: 0.5rem; background: var(--rust); }
.inside-list strong { font-family: var(--display); }
.product__details { margin-top: 2rem; }
.product__details summary { font-size: var(--step-0); }
@media (min-width: 960px) {
  .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4rem; padding-top: 2rem; }
  .product__info { position: sticky; top: 6rem; align-self: start; }
}

/* ---------- Signature: the perforated stamp ---------- */

/* The wrapper draws an ink outline that follows the perforations; the inner
   panel is the stamp paper with its edge punched out by a mask. */
.stamp {
  filter:
    drop-shadow(1.5px 0 0 var(--ink)) drop-shadow(-1.5px 0 0 var(--ink))
    drop-shadow(0 1.5px 0 var(--ink)) drop-shadow(0 -1.5px 0 var(--ink));
}

.stamp__inner {
  --r: 6px;
  background: var(--stamp);
  padding: calc(var(--r) * 4) calc(var(--r) * 4) calc(var(--r) * 3.5);
  -webkit-mask:
    radial-gradient(circle var(--r) at var(--r) var(--r), #0000 96%, #000) calc(var(--r) * -1) calc(var(--r) * -1) / calc(var(--r) * 3) calc(var(--r) * 3) round,
    linear-gradient(#000 0 0) var(--r) var(--r) / calc(100% - 2 * var(--r)) calc(100% - 2 * var(--r)) no-repeat;
  mask:
    radial-gradient(circle var(--r) at var(--r) var(--r), #0000 96%, #000) calc(var(--r) * -1) calc(var(--r) * -1) / calc(var(--r) * 3) calc(var(--r) * 3) round,
    linear-gradient(#000 0 0) var(--r) var(--r) / calc(100% - 2 * var(--r)) calc(100% - 2 * var(--r)) no-repeat;
}


.signup__title { font-size: var(--step-3); }
.signup__note { margin: 0.75rem 0 1.25rem; color: var(--muted); }

.field { margin-bottom: 1rem; }

label {
  display: block;
  font: 700 var(--step--1)/1.3 var(--type);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.optional { font-weight: 400; color: var(--muted); margin-left: 0.25rem; }

input[type="email"], input[type="text"] {
  width: 100%;
  min-height: 48px;
  font: 400 var(--step-0)/1.3 var(--body);
  padding: 0.65rem 0.75rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
input:focus-visible { outline-offset: 1px; }
input[aria-invalid="true"] { border-color: var(--rust); border-width: 2px; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 0.5rem;
  padding: 0.85rem 1.25rem;
  font: 700 var(--step-0)/1 var(--type);
  letter-spacing: 0.03em;
  color: var(--stamp);
  background: var(--ink);
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.button:hover { background: var(--rust); }

.form-error {
  margin: 0 0 1rem;
  padding: 0.6rem 0.8rem;
  border-left: 4px solid var(--rust);
  background: #fbeee9;
  color: var(--rust-deep);
}

.signup .small { margin: 0.9rem 0 0; }

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- How it works: a real three-step sequence ---------- */


.section-title { font-size: var(--step-2); }

.steps__list {
  list-style: none;
  counter-reset: step;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

.steps__list li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 0.9rem; }
.steps__list li::before {
  content: counter(step);
  display: block;
  font: 700 var(--step-1)/1 var(--type);
  color: var(--rust);
  margin-bottom: 0.6rem;
}
.steps__list h3 { font-size: var(--step-1); }
.steps__list p { margin: 0.5rem 0 0; max-width: 30rem; }

@media (min-width: 768px) {
  .steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
}

/* ---------- Inner pages ---------- */

.page { max-width: 72rem; margin: 0 auto; padding: 2.5rem var(--gutter) 0; }
.page > * { max-width: var(--measure); }
.page__title { font-size: var(--step-3); margin-bottom: 1rem; }
.page__lede { font-size: var(--step-1); line-height: 1.5; }
.prose h2 { font-size: var(--step-1); margin: 2rem 0 0.5rem; }
.prose p { margin: 0 0 1rem; }

/* ---------- Journal ---------- */

.post-list { list-style: none; margin: 2rem 0 0; padding: 0; max-width: 44rem; }
.post-list__item { border-top: 1px solid rgba(46, 49, 57, 0.25); padding: 1.25rem 0 1.4rem; }
.post-list__item time { font: 400 var(--step--1)/1.2 var(--type); color: var(--muted); }
.post-list__item h2, .post-list__item h3 { font-size: var(--step-2); margin: 0.4rem 0 0.4rem; }
.post-list__item h2 a, .post-list__item h3 a { color: var(--ink); text-decoration: none; }
.post-list__item h2 a:hover, .post-list__item h3 a:hover { color: var(--rust); text-decoration: underline; text-decoration-thickness: 2px; }
.post-list__item p { margin: 0; max-width: var(--measure); }

.post-list--compact { margin-top: 1.25rem; }
.post-list--compact h3 { font-size: var(--step-1); }
@media (min-width: 768px) {
  .post-list--compact { max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.5rem; }
}

.post__preview {
  font: 700 var(--step--1)/1.4 var(--type);
  padding: 0.6rem 0.8rem; border: 1.5px dashed var(--rust); color: var(--rust-deep); margin: 0 0 1.5rem;
}
.post__header .eyebrow a { color: inherit; text-decoration: none; }
.post__header .eyebrow a:hover { text-decoration: underline; }
.post__header .eyebrow time { color: var(--muted); }
.post .page__title { font-size: clamp(2rem, 6vw, 3.2rem); max-width: 40rem; }
.page > .post__lead { max-width: 52rem; margin: 2rem 0; }
.post__lead img, .post__body img { width: 100%; }

.post__body { margin-top: 2rem; }
.post__body h2 { font-size: var(--step-2); margin: 2.5rem 0 0.75rem; }
.post__body h3 { font-size: var(--step-1); margin: 2rem 0 0.5rem; }
.post__body ul, .post__body ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.post__body li { margin-bottom: 0.4rem; }
.post__body blockquote { margin: 1.75rem 0; padding: 0 0 0 1.25rem; border-left: 3px solid var(--rust); font-style: italic; font-size: var(--step-1); }
.post__body figure { margin: 2rem 0; }
.post__body figcaption { font: 400 var(--step--1)/1.5 var(--type); color: var(--muted); margin-top: 0.6rem; }
.post__body hr { border: 0; border-top: 1px solid rgba(46, 49, 57, 0.25); margin: 2.5rem 0; }
.post__body code { font-family: var(--type); font-size: 0.92em; }

.post__cta { margin-top: 3rem; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.post__cta p { margin: 0 0 1rem; }
.button--inline { width: auto; text-decoration: none; }
.button--inline:hover { color: var(--stamp); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Ordering ---------- */
.test-mode { margin: 0; padding: 0.6rem var(--gutter); background: #fff3c4; color: var(--ink); font: 400 var(--step--1)/1.4 var(--type); border-bottom: 2px dashed var(--ink); text-align: center; }

.order { max-width: 72rem; margin: 0 auto; padding: 1.25rem var(--gutter) 0; display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .order { grid-template-columns: minmax(0, 1fr) 21rem; gap: 3rem; } .order__summary { position: sticky; top: 1.5rem; } }
.order__title { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.05; }
.order__lede { font-size: var(--step-1); line-height: 1.5; max-width: 38rem; margin: 0.75rem 0 1.5rem; }
.order__step { border: 0; border-top: 2px solid var(--ink); margin: 0 0 2rem; padding: 1rem 0 0; min-width: 0; }
.order__step legend { font: 700 var(--step-1)/1.2 var(--display); padding: 0; margin-bottom: 0.9rem; display: flex; align-items: baseline; gap: 0.6rem; }
.order__num { font: 700 var(--step--1)/1 var(--type); color: var(--rust); }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.keywords { display: grid; gap: 0 0.75rem; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
.keywords input { text-transform: uppercase; font-family: var(--type); letter-spacing: 0.08em; }
.field-hint { font-size: var(--step--1); color: var(--muted); line-height: 1.5; margin: 0.35rem 0 0.9rem; max-width: 38rem; }
.field-label { font: 700 var(--step--1)/1.3 var(--type); margin: 1.25rem 0 0.5rem; }
select, textarea, input[type="date"] {
  width: 100%; font: inherit; font-size: var(--step-0); padding: 0.7rem 0.8rem; color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 0; min-height: 48px;
}
textarea { min-height: 9rem; line-height: 1.5; }
.choice-list { display: grid; gap: 0.5rem; }
.choice { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.8rem 0.9rem; border: 1.5px solid rgba(46, 49, 57, 0.35); background: var(--stamp); cursor: pointer; font: inherit; margin: 0; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 4px 0 0 var(--rust); }
.choice input { margin-top: 0.3rem; accent-color: var(--rust); width: 1.1rem; height: 1.1rem; flex: none; }
.choice .price { font-family: var(--type); color: var(--rust); margin-left: 0.4rem; }
.choice-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
.choice--design { flex-direction: column; align-items: stretch; }
.choice--design img { aspect-ratio: 7 / 5; object-fit: cover; }
.check { display: flex; gap: 0.6rem; align-items: center; font: inherit; margin: 0.6rem 0; min-height: 44px; }
.check input { accent-color: var(--rust); width: 1.15rem; height: 1.15rem; }
.starters { margin-top: 0.5rem; }
.starters summary { cursor: pointer; font: 700 var(--step--1)/1.4 var(--type); color: var(--rust); min-height: 44px; display: flex; align-items: center; }
.starters ul { margin: 0.25rem 0 0; padding-left: 1.1rem; color: var(--muted); }
[data-when-date][hidden] { display: none; }

.summary__title { font-size: var(--step-2); margin-bottom: 1rem; }
.summary__lines { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 0; margin: 0 0 1.25rem; }
.summary__lines dd { padding-left: 1rem; }
.summary__lines dt { margin: 0; }
.summary__lines dd { margin: 0; font-family: var(--type); text-align: right; }
.summary__total { border-top: 1.5px solid var(--ink); padding-top: 0.6rem; font-weight: 700; font-size: var(--step-1); }
.order__summary .button { width: 100%; margin-top: 0; }

/* The buyer's order page */
.timeline { list-style: none; margin: 2rem 0; padding: 0; max-width: 34rem; }
.timeline__step { position: relative; padding: 0 0 1.4rem 2.2rem; display: grid; gap: 0.15rem; }
.timeline__step::before { content: ""; position: absolute; left: 0.35rem; top: 0.3rem; width: 0.85rem; height: 0.85rem; border: 2px solid var(--muted); background: var(--paper); }
.timeline__step:not(:last-child)::after { content: ""; position: absolute; left: 0.74rem; top: 1.3rem; bottom: 0.2rem; width: 2px; background: rgba(46, 49, 57, 0.25); }
.timeline__step--done::before { background: var(--rust); border-color: var(--rust); }
.timeline__step strong { font-family: var(--display); font-size: var(--step-1); }
.your-order__teaser { max-width: 34rem; margin: 1rem 0 2rem; }
.your-order__help { margin-top: 2rem; }
.on-its-way__title { font-size: clamp(2.2rem, 7vw, 3.6rem); line-height: 1.05; max-width: 16ch; margin: 0.5rem 0 1rem; }
.stock-note { font: 700 var(--step--1)/1.3 var(--type); color: var(--rust); margin: 0 0 0.6rem; }

/* Order form v2: keyword ideas, postage off for a date, check-and-pay page */
.idea { margin: 0 0 0.4rem; font-size: var(--step--1); line-height: 1.4; color: var(--muted); min-height: 2.6em; }
.idea__label { font: 700 var(--step--1)/1 var(--type); color: var(--rust); }
.idea__next { background: none; border: 0; padding: 0; margin-left: 0.25rem; font: 700 var(--step--1)/1 var(--type); color: var(--ink); text-decoration: underline; text-decoration-color: var(--rust); text-underline-offset: 0.25em; cursor: pointer; min-height: 32px; }
.idea__next:hover { color: var(--rust); }
.keywords { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 0 1.25rem; }
.choice--off { opacity: 0.55; cursor: not-allowed; }
.order--pay .order__summary { position: static; }
@media (min-width: 960px) { .order--pay { grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); } }
.pay__h2 { font-size: var(--step-1); margin: 1.5rem 0 0.75rem; }
.words-check { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.words-check li { font: 700 clamp(1.3rem, 4vw, 1.8rem)/1 var(--type); letter-spacing: 0.1em; background: var(--stamp); border: 2px solid var(--ink); padding: 0.6rem 0.8rem; }
.pay__facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.25rem; margin: 1.75rem 0 0; }
.pay__facts dt { font: 700 var(--step--1)/1.6 var(--type); color: var(--muted); }
.pay__facts dd { margin: 0; }
.pay__message { white-space: pre-wrap; font-style: italic; }
.checkout { min-height: 22rem; background: #fff; border: 1px solid rgba(46, 49, 57, 0.15); padding: 0.5rem; }
.combo { position: relative; }
.combo__list { position: absolute; z-index: 10; left: 0; right: 0; top: 100%; margin: 0; padding: 0.25rem 0; list-style: none; background: #fff; border: 1.5px solid var(--ink); border-top: 0; max-height: 15rem; overflow-y: auto; box-shadow: 0 10px 20px -12px rgba(46, 49, 57, 0.45); }
.combo__list li { padding: 0.65rem 0.8rem; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.combo__list li:hover, .combo__list li[aria-selected="true"] { background: var(--paper); box-shadow: inset 3px 0 0 var(--rust); }

/* Links to #shop, #how, #faq stop below the sticky header, not under it. */
html { scroll-padding-top: 6.5rem; }
@media (max-width: 720px) { html { scroll-padding-top: 8.5rem; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* The waitlist runs along the bottom of the page. */
.join--bottom { max-width: none; margin-bottom: 0; padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); border-top: 2px solid var(--ink); background: color-mix(in srgb, var(--stamp) 60%, var(--paper)); }
@media (min-width: 1100px) { .join--bottom { padding-left: max(var(--gutter), calc((100vw - 72rem) / 2)); padding-right: max(var(--gutter), calc((100vw - 72rem) / 2)); } }

/* A playtest order: one plain line saying it's free, in the accent. */
.playtest-note { border-left: 3px solid var(--rust); padding: 0.6rem 0.9rem; background: var(--stamp); font-size: var(--step--1); }

/* Down for maintenance: the logo and one line, nothing else to click. */
.maintenance { max-width: 34rem; margin: 0 auto; padding: clamp(3rem, 12vh, 8rem) var(--gutter); }
.maintenance__logo img { width: min(16rem, 70vw); height: auto; display: block; margin-bottom: 2rem; }
