/* Send Santa Mail: shared site styles (landing, order form, order page, legal pages).
   Mobile-first. Warm, elegant Christmas: deep evergreen, ivory parchment, gold foil, wax and berry red.
   (The living letter page keeps its own midnight-navy look in letter.css.) */

:root {
  --pine-0: #06170F;          /* deep evergreen, darkest */
  --pine-1: #0D2A1E;
  --pine-2: #1A4430;
  --berry: #B3262C;
  --ivory: #F7EEDC;
  --parchment: #FBF3E2;
  --parchment-2: #F3E4C4;
  --gold: #C9A04E;
  --gold-lt: #F3D98F;
  --gold-hi: #FFF3C8;
  --gold-dk: #7A5418;         /* gold for text on ivory (passes 4.5:1) */
  --red: #A3241C;
  --red-deep: #7E1712;
  --ink: #2B2320;
  --ink-soft: #5E4E44;
  --letter-ink: #3A2418;
  --line: rgba(150, 118, 60, .28);
  --card: #FFFCF4;            /* cream card stock */
  --frame: inset 0 0 0 1px rgba(184, 145, 58, .6), inset 0 0 0 5px var(--card), inset 0 0 0 6px rgba(184, 145, 58, .32);
  --ok: #1F5C46;
  --err: #A3241C;
  --foil: linear-gradient(100deg, #9C7430 0%, #E7C46F 20%, #FFF1C4 33%, #D2A957 47%, #F5DC94 63%, #A77D32 80%, #E2BE68 100%);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(52, 30, 12, .12), 0 1px 2px rgba(52, 30, 12, .08);
  --f-ui: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-caps: 'Cinzel', Georgia, serif;
  --f-head: 'Cormorant Garamond', Georgia, serif;
  --f-script: 'Great Vibes', cursive;
  --focus: 0 0 0 3px var(--pine-1), 0 0 0 6px var(--gold-lt);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--f-ui); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: url("/assets/grain.svg") repeat, var(--parchment); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--red-deep); text-underline-offset: 3px; }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

/* One clearly visible focus ring everywhere (gold on a navy halo works on light and dark backgrounds). */
:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-radius: 10px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 99px;
  background: var(--gold-lt); color: var(--pine-1); font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 720px; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 5; background: var(--pine-1); color: var(--ivory);
  border-bottom: 0;
}
.site-header::after, .site-footer::before { content: ""; display: block; height: 7px; background: var(--ribbon); }
:root { --ribbon: linear-gradient(180deg, #C9A04E 0 1px, #7E1712 1px 2px, #A3241C 2px 5px, #7E1712 5px 6px, #C9A04E 6px 7px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-lt); text-decoration: none; }
.brand:hover { color: var(--gold-hi); }
.brand img, .brand svg { width: 30px; height: 30px; flex: none; }
.brand span { font-family: var(--f-caps); font-weight: 600; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; }
.header-cta {
  font-family: var(--f-caps); font-weight: 600; font-size: 13px; letter-spacing: .08em;
  color: var(--gold-hi); text-decoration: none; padding: 8px 16px; border-radius: 99px; border: 1px solid rgba(243, 217, 143, .55);
}
.header-cta:hover { color: #fff; border-color: var(--gold-lt); background: rgba(243, 217, 143, .08); }
/* Keep the brand and the button on one line each on phones: tighten the type in steps. */
.site-header .brand span, .header-cta { white-space: nowrap; }
@media (max-width: 440px) {
  .site-header .brand { gap: 8px; }
  .site-header .brand span { font-size: 13px; letter-spacing: .1em; }
  .header-cta { padding: 7px 12px; letter-spacing: .04em; }
}
@media (max-width: 374px) {
  .site-header .wrap { gap: 10px; }
  .site-header .brand img { width: 26px; height: 26px; }
  .site-header .brand span { font-size: 12px; letter-spacing: .06em; }
  .header-cta { font-size: 12px; padding: 6px 10px; letter-spacing: .02em; }
}
@media (max-width: 339px) { .site-header .brand img { display: none; } }

/* ---------- Type ---------- */
.eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 12px;
  font-family: var(--f-caps); font-weight: 600; font-size: 12px; line-height: 1.2; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-dk); padding-left: .32em;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; flex: none; }
.eyebrow::before { background: linear-gradient(90deg, transparent, currentColor); }
.eyebrow::after { background: linear-gradient(90deg, currentColor, transparent); }
.dark .eyebrow { color: var(--gold-lt); }
.eyebrow.left { justify-content: flex-start; padding-left: 0; }
.eyebrow.left::before { display: none; }

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; }
.h-display, .section-title {
  font-family: var(--f-head); font-style: italic; font-weight: 500; color: var(--pine-1);
}
.section-title { font-size: clamp(30px, 6vw, 44px); text-align: center; margin-bottom: 14px; }
.dark .section-title, .dark .h-display { color: var(--ivory); }
.section-lede { max-width: 620px; margin: 0 auto 34px; text-align: center; color: var(--ink-soft); font-size: 18px; }
.dark .section-lede { color: rgba(247, 238, 220, .82); }
.script { font-family: var(--f-script); font-weight: 400; font-style: normal; }
.foil-text {
  background: var(--foil); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: foilSheen 8s ease-in-out infinite;
}
@keyframes foilSheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  min-height: 48px; padding: 13px 26px; border-radius: 99px; border: 1px solid var(--gold);
  background: linear-gradient(180deg, var(--red), var(--red-deep)); color: var(--gold-hi);
  font-family: var(--f-caps); font-weight: 600; font-size: 15px; letter-spacing: .07em; line-height: 1.2; text-decoration: none;
  box-shadow: 0 4px 0 #4E0907, 0 8px 18px rgba(78, 9, 7, .25);
  transition: transform .1s, box-shadow .1s, filter .15s;
}
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #4E0907; }
.btn:disabled, .btn[aria-disabled="true"] { filter: grayscale(.5) brightness(.9); cursor: not-allowed; transform: none; }
.btn.big { min-height: 56px; padding: 16px 32px; font-size: 16px; }
.btn.block { display: flex; width: 100%; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: 99px; border: 1.5px solid rgba(122, 84, 24, .45); background: transparent; color: var(--ink);
  font-weight: 800; font-size: 15px; text-decoration: none;
}
.btn-ghost:hover { border-color: var(--gold-dk); background: rgba(201, 160, 78, .1); color: var(--ink); }
.dark .btn-ghost { color: var(--ivory); border-color: rgba(243, 217, 143, .5); }
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: 99px; border: 1px solid #8A6424; background: linear-gradient(180deg, #F3D98F, #C9A04E); color: var(--pine-1);
  font-weight: 800; font-size: 15px; text-decoration: none; box-shadow: 0 3px 0 #7A5418;
}
.btn-gold:active { transform: translateY(2px); box-shadow: 0 1px 0 #7A5418; }
.btn-link { background: none; border: 0; padding: 4px 2px; color: var(--red-deep); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Night sky (hero, dark sections) ---------- */
.dark {
  color: var(--ivory);
  background:
    radial-gradient(42% 38% at 88% 12%, rgba(255, 196, 110, .13), transparent 70%),
    radial-gradient(36% 34% at 6% 92%, rgba(179, 38, 44, .14), transparent 70%),
    radial-gradient(120% 80% at 50% 0%, var(--pine-2) 0%, var(--pine-1) 52%, var(--pine-0) 100%);
}
/* A swag of Christmas lights along the top edge of a dark section. */
.string-lights, .sky > .string-lights {
  position: absolute; left: 0; right: 0; top: 0; height: 48px; z-index: 2; pointer-events: none;
  background: url("/assets/lights.svg") repeat-x 0 0 / 260px 48px;
}
.string-lights + .wrap { padding-top: 14px; }
/* Holly sprig above a section heading. */
.sprig { display: block; width: 86px; height: auto; margin: 0 auto 8px; filter: drop-shadow(0 2px 2px rgba(60, 34, 12, .25)); }
.sky { position: relative; overflow: hidden; }
.sky::before, .sky::after {
  content: ""; position: absolute; inset: -220px 0 0 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 80px 120px, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 150px 60px, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 220px 160px, #fff 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 300px 20px, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 360px 110px, #fff 50%, transparent 51%);
  background-size: 400px 220px; opacity: .55; animation: snowfall 14s linear infinite;
}
.sky::after { background-size: 300px 180px; opacity: .3; animation-duration: 22s; }
@keyframes snowfall { to { transform: translateY(220px); } }
@media (prefers-reduced-motion: reduce) {
  .sky::before, .sky::after, .foil-text, .bob, .seal-breathe { animation: none !important; }
}
.sky > * { position: relative; z-index: 1; }

/* ---------- Landing: hero ---------- */
.hero { padding: 48px 0 64px; text-align: center; }
.hero .crest { display: block; width: 132px; height: 22px; margin: 0 auto 12px; }
.hero h1 { font-family: var(--f-head); font-style: italic; font-weight: 500; font-size: clamp(36px, 8.5vw, 64px); line-height: 1.06; color: var(--ivory); margin: 0 0 18px; }
.hero h1 .script { display: block; font-size: 1.35em; line-height: 1.05; margin-top: 2px; }
.hero .lede { max-width: 560px; margin: 0 auto 28px; font-size: 18px; color: rgba(247, 238, 220, .86); }
.hero .cta-row { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero .cta-note { font-size: 14px; color: rgba(247, 238, 220, .7); margin: 0; }
/* Santa's painting in a gilt frame, with the envelope tucked over its lower corner.
   padding-bottom leaves room for the part of the envelope that hangs below the frame. */
.hero-art { position: relative; margin: 40px auto 0; max-width: 360px; width: 100%; padding-bottom: 20%; }
.painting {
  margin: 0; padding: 11px; border-radius: 3px;
  background: linear-gradient(135deg, #7A5418, #E9CF8A 22%, #A57B2E 46%, #F3DC9C 70%, #8A6424);
  box-shadow: inset 0 0 0 1px rgba(255, 241, 205, .55), inset 0 0 0 3px rgba(110, 76, 22, .45),
    0 0 0 1px rgba(30, 18, 4, .7), 0 28px 54px rgba(0, 0, 0, .5), 0 4px 10px rgba(0, 0, 0, .35);
}
.painting img { display: block; width: 100%; height: auto; box-shadow: 0 0 0 2px #3A240C, 0 0 0 3px rgba(243, 220, 156, .5); }
/* The envelope is a size container, so its wrapper must have a width of its own. */
.hero-envelope { position: absolute; z-index: 2; left: 2%; bottom: 0; width: 60%; transform: rotate(-5deg); }
@media (min-width: 900px) {
  .hero { padding: 64px 0 84px; text-align: left; }
  .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
  .hero .crest { margin-left: 0; }
  .hero .lede { margin-left: 0; }
  .hero .cta-row { align-items: flex-start; }
  .hero .eyebrow { justify-content: flex-start; padding-left: 0; }
  .hero .eyebrow::before { display: none; }
  .hero-art { margin: 0 auto; max-width: 440px; }
  .hero-envelope { left: -6%; }
}

/* ---------- Gilded envelope (static version of the living-letter envelope) ---------- */
.envelope {
  position: relative; width: 100%; aspect-ratio: 1.4; container-type: inline-size;
  --u: calc(100cqw / 343);
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .5)) drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
}
.envelope::before {
  content: ""; position: absolute; left: -14%; right: -14%; top: 18%; bottom: -28%; z-index: -1;
  background: radial-gradient(closest-side, rgba(243, 205, 128, .18), transparent); pointer-events: none;
}
.env-paper {
  background-color: var(--ivory);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 29px, rgba(120, 88, 34, .055) 29px 30px),
    repeating-linear-gradient(0deg, rgba(120, 88, 34, .04) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #FAF3E4, #EFE3C7);
}
.env-body { position: absolute; inset: 0; border-radius: 6px; box-shadow: inset 0 -14px 24px rgba(120, 88, 34, .1), inset 0 0 0 1px rgba(150, 118, 60, .22); }
.env-flap {
  position: absolute; left: 0; right: 0; top: 0; height: 48%; z-index: 2;
  clip-path: polygon(0 0, 100% 0, 50% 100%); border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #FCF7EC 0%, #F1E5CA 100%);
  filter: drop-shadow(0 2px 2px rgba(90, 62, 20, .25));
}
.envelope svg.trim { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 3; pointer-events: none; }
.env-to {
  position: absolute; z-index: 3; left: 50%; bottom: calc(22 * var(--u)); width: calc(160 * var(--u)); transform: translateX(-50%);
  text-align: center; color: var(--letter-ink);
}
.env-to .to-name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--f-script); font-size: calc(42 * var(--u)); line-height: 1.12; padding: 0 4px; }
.env-to .to-pre { font-family: var(--f-head); font-style: italic; font-weight: 500; font-size: .38em; color: #8A6424; vertical-align: .55em; margin-right: .1em; }
.env-to .to-line {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--f-caps); font-size: calc(7.5 * var(--u)); font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: #8A6424; padding-left: .26em;
}
.env-to .to-line::before, .env-to .to-line::after { content: ""; width: 14px; height: 1px; background: currentColor; opacity: .6; }
.env-label {
  position: absolute; z-index: 3; left: calc(20 * var(--u)); bottom: calc(24 * var(--u)); width: calc(66 * var(--u));
  padding: calc(5 * var(--u)) 2px calc(4 * var(--u)); border: 3px double rgba(154, 116, 50, .75); border-radius: 2px;
  font-family: var(--f-caps); font-weight: 600; text-transform: uppercase; color: #8A6424; line-height: 1.25; text-align: center; transform: rotate(-2deg);
}
.env-label b { display: block; font-size: calc(8 * var(--u)); letter-spacing: .14em; padding-left: .14em; }
.env-label i { display: block; font-style: normal; font-size: calc(6 * var(--u)); letter-spacing: .3em; padding-left: .3em; opacity: .85; }
.env-stamp {
  position: absolute; z-index: 3; right: calc(18 * var(--u)); bottom: calc(20 * var(--u)); width: calc(54 * var(--u)); height: calc(64 * var(--u));
  padding: calc(4 * var(--u)); background: #FBF5E6; transform: rotate(3deg); outline: 1px dashed rgba(138, 100, 36, .5); outline-offset: -2px;
  box-shadow: 0 1px 2px rgba(60, 35, 10, .35);
}
.env-stamp .field {
  width: 100%; height: 100%; display: grid; justify-items: center; align-content: start; padding-top: calc(5 * var(--u));
  background: radial-gradient(120% 90% at 40% 30%, #9A221C, #6A0F0C 70%, #4E0907);
  box-shadow: inset 0 0 0 1px rgba(232, 196, 111, .75), inset 0 0 0 3px #6A0F0C, inset 0 0 0 3.6px rgba(232, 196, 111, .45);
}
.env-stamp img { width: calc(34 * var(--u)); height: calc(34 * var(--u)); }
.env-stamp span { font-family: var(--f-caps); font-size: calc(6.5 * var(--u)); font-weight: 600; letter-spacing: .2em; padding-left: .2em; color: var(--gold-lt); margin-top: calc(3 * var(--u)); }
.env-seal {
  position: absolute; z-index: 4; left: 50%; top: 48%; width: calc(76 * var(--u)); height: calc(76 * var(--u));
  transform: translate(-50%, -50%); filter: drop-shadow(0 3px 2.5px rgba(45, 4, 2, .45));
}
.env-holly { position: absolute; z-index: 3; left: 50%; top: calc(48% - 51 * var(--u)); width: calc(168 * var(--u)); transform: translateX(-50%); pointer-events: none; filter: drop-shadow(0 1.5px 1.5px rgba(50, 30, 5, .3)); }
.bob { animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-1deg); } }

/* ---------- Generic sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: url("/assets/grain.svg") repeat, linear-gradient(180deg, #F6EBD3, #F3E4C6); }
.section.tight { padding: 44px 0; }
.divider { display: block; width: 132px; height: 22px; margin: 0 auto 16px; }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.steps li {
  position: relative; background: var(--card); border: 0; border-radius: var(--radius); padding: 22px 20px 20px 74px;
  box-shadow: var(--frame), var(--shadow);
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 20px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--f-caps); font-weight: 600; font-size: 18px; color: var(--gold-hi);
  background: radial-gradient(circle at 38% 32%, #C93A2F, #7E1511 70%, #5E0C09); box-shadow: 0 2px 4px rgba(45, 4, 2, .35), inset 0 0 0 2px rgba(243, 217, 143, .5);
}
.steps h3 { font-family: var(--f-head); font-style: italic; font-weight: 600; font-size: 24px; margin: 0 0 4px; color: var(--pine-1); }
.steps p { margin: 0; color: var(--ink-soft); }
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 78px 22px 24px; text-align: center; }
  .steps li::before { left: 50%; transform: translateX(-50%); top: 22px; }
}

/* Letter peek */
.peek { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .peek { grid-template-columns: 1.05fr .95fr; gap: 48px; } }
.peek-copy h2 { text-align: left; }
.peek-copy ul { padding-left: 1.1em; color: var(--ink-soft); }
.peek-copy li { margin: 6px 0; }
.peek-copy li::marker { color: var(--gold); }
.sample-stack { position: relative; max-width: 460px; margin: 0 auto; padding-bottom: 36px; }
.sample-letter {
  position: relative; z-index: 2; background: #FDF4E3; border-radius: 3px; overflow: hidden;
  box-shadow: 0 24px 50px rgba(52, 30, 12, .28), 0 2px 4px rgba(52, 30, 12, .12);
  transform: rotate(-1.2deg);
}
.sample-letter .st-body {
  padding: 2px 11% 6px;
  background:
    repeating-linear-gradient(to bottom, transparent 0 27px, rgba(150, 128, 95, .4) 27px 28px, transparent 28px 32px) content-box,
    url("/assets/stationery-body.jpg") top center / 100% auto;
}
.sample-letter .greet { font-family: var(--f-script); font-size: 40px; line-height: 64px; color: var(--red-deep); margin: 0; }
.sample-letter p { font-family: 'Dancing Script', cursive; font-weight: 500; font-size: 19px; line-height: 32px; color: var(--letter-ink); margin: 0 0 32px; }
.sample-letter p:last-child { margin-bottom: 0; }
.sample-letter mark { background: linear-gradient(transparent 62%, rgba(246, 210, 122, .75) 62%); color: inherit; padding: 0 2px; }
.sample-candy {
  position: absolute; z-index: 1; right: -6px; bottom: 0; width: 46%; aspect-ratio: .78; border-radius: 14px;
  border: 9px solid transparent; transform: rotate(5deg); box-shadow: 0 14px 30px rgba(52, 30, 12, .25);
  background:
    radial-gradient(circle at 20% 30%, rgba(214, 40, 40, .18) 0 2px, transparent 2.5px) 0 0 / 30px 30px padding-box,
    radial-gradient(circle at 70% 65%, rgba(30, 123, 79, .18) 0 2px, transparent 2.5px) 0 0 / 30px 30px padding-box,
    linear-gradient(#FFFDF6, #FFF6E6) padding-box,
    repeating-linear-gradient(45deg, #D62828 0 7px, #fff 7px 14px, #1E7B4F 14px 21px, #fff 21px 28px) border-box;
  display: grid; align-content: start; justify-items: center; padding-top: 12%; text-align: center;
}
.sample-candy b { font-family: var(--f-ui); font-weight: 800; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: #1E7B4F; }
.sample-candy span { font-family: var(--f-script); font-size: 30px; line-height: 1.1; color: #C1121F; }
.sample-candy i { display: block; width: 70%; height: 1px; margin-top: 12px; background: rgba(30, 123, 79, .3); box-shadow: 0 14px 0 rgba(30, 123, 79, .3), 0 28px 0 rgba(30, 123, 79, .3), 0 42px 0 rgba(30, 123, 79, .3); }
.sample-tag { position: absolute; z-index: 3; left: 0; bottom: 0; font-size: 13px; color: var(--ink-soft); font-style: italic; }

/* What's inside */
.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(201, 160, 78, .35); border-radius: var(--radius); padding: 22px 20px;
}
.feature .icon { width: 46px; height: 46px; margin-bottom: 12px; color: var(--gold-lt); }
.feature h3 { font-family: var(--f-head); font-style: italic; font-weight: 600; font-size: 23px; color: var(--gold-hi); margin: 0 0 6px; }
.feature p { margin: 0; color: rgba(247, 238, 220, .8); font-size: 16px; }

/* Pricing */
.pricing { display: grid; gap: 18px; max-width: 760px; margin: 0 auto; }
@media (min-width: 720px) { .pricing { grid-template-columns: 1fr 1fr; } }
.price-card {
  position: relative; display: flex; flex-direction: column; background: var(--card); border: 0; border-radius: 18px;
  padding: 30px 24px 26px; text-align: center; box-shadow: var(--frame), var(--shadow);
}
.price-card.featured { box-shadow: inset 0 0 0 2px var(--gold), inset 0 0 0 6px var(--card), inset 0 0 0 7px rgba(184, 145, 58, .45), 0 16px 34px rgba(52, 30, 12, .18); }
.price-card .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: linear-gradient(180deg, var(--red), var(--red-deep)); color: var(--gold-hi); border: 1px solid var(--gold); border-radius: 99px; padding: 3px 14px;
  font-family: var(--f-caps); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.price-card h3 { font-family: var(--f-caps); font-weight: 600; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dk); margin: 0 0 6px; }
.price-card .price { font-family: var(--f-head); font-weight: 600; font-size: 64px; line-height: 1; color: var(--pine-1); margin: 4px 0 2px; }
.price-card .price small { font-size: 22px; vertical-align: top; position: relative; top: 10px; margin-right: 2px; }
.price-card .per { color: var(--ink-soft); margin: 0 0 18px; }
.price-card ul { list-style: none; margin: 0 0 22px; padding: 0; text-align: left; flex: 1; }
.price-card li { position: relative; padding: 6px 0 6px 28px; border-top: 1px dashed var(--line); font-size: 16px; }
.price-card li:first-child { border-top: 0; }
.price-card li::before {
  content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 12px;
  background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.guarantee {
  display: flex; gap: 16px; align-items: center; max-width: 760px; margin: 28px auto 0; padding: 18px 20px;
  background: var(--parchment); border: 1px solid var(--gold); border-radius: var(--radius);
}
.guarantee svg { width: 56px; height: 56px; flex: none; }
.guarantee p { margin: 0; }
.guarantee strong { font-family: var(--f-head); font-style: italic; font-size: 21px; color: var(--pine-1); display: block; line-height: 1.2; margin-bottom: 2px; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid rgba(184, 145, 58, .45); border-radius: 12px; margin: 0 0 10px; box-shadow: 0 2px 6px rgba(52, 30, 12, .05); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; position: relative; font-weight: 800; font-size: 17px; color: var(--pine-1);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--gold-dk); border-bottom: 2px solid var(--gold-dk); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 18px 16px; color: var(--ink-soft); }
.faq details > div p { margin: 0 0 10px; }

/* Closing CTA */
.closing { text-align: center; padding: 64px 0; }
.closing .h-display { font-size: clamp(30px, 6vw, 46px); margin-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-0); color: rgba(247, 238, 220, .72); font-size: 14px; padding: 0 0 40px; }
.site-footer::before { margin-bottom: 34px; }
.site-footer .wrap { display: grid; gap: 14px; }
.site-footer a { color: var(--gold-lt); }
.site-footer a:hover { color: var(--gold-hi); }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer p { margin: 0; }
.site-footer .brand { margin-bottom: 4px; }

/* ---------- Forms (write.html) ---------- */
.page-head { text-align: center; padding: 34px 0 22px; }
.page-head h1 { font-family: var(--f-head); font-style: italic; font-weight: 500; font-size: clamp(32px, 7vw, 46px); color: var(--ivory); margin: 0 0 6px; }
.page-head p { margin: 0 auto; max-width: 520px; color: rgba(247, 238, 220, .8); }

.progress { list-style: none; display: flex; justify-content: center; gap: 0; margin: 22px auto 0; padding: 0; max-width: 420px; }
.progress li { flex: 1; position: relative; text-align: center; font-size: 13px; font-weight: 700; color: rgba(247, 238, 220, .6); }
.progress li::before {
  content: ""; display: block; width: 16px; height: 16px; margin: 0 auto 6px; border-radius: 50%;
  border: 2px solid rgba(243, 217, 143, .55); background: transparent; position: relative; z-index: 1;
}
.progress li + li::after { content: ""; position: absolute; top: 7px; right: 50%; width: 100%; height: 2px; background: rgba(243, 217, 143, .25); z-index: 0; }
.progress li.done::before { background: var(--gold); border-color: var(--gold); }
.progress li[aria-current="step"] { color: var(--gold-hi); }
.progress li[aria-current="step"]::before { background: var(--red); border-color: var(--gold-lt); box-shadow: 0 0 0 4px rgba(243, 217, 143, .2); }

.form-layout { display: grid; gap: 24px; padding: 28px 0 48px; }
@media (min-width: 960px) {
  .form-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; padding-bottom: 64px; }
  .form-aside { position: sticky; top: 20px; }
}
.panel { background: var(--card); border: 0; border-radius: 18px; box-shadow: var(--frame), var(--shadow); padding: 24px 18px; }
@media (min-width: 560px) { .panel { padding: 28px 28px; } }
.step-title { font-family: var(--f-head); font-style: italic; font-weight: 600; font-size: 30px; color: var(--pine-1); margin: 0 0 4px; }
.step-title:focus-visible { box-shadow: none; text-decoration: underline; text-decoration-color: var(--gold); }
.step-intro { margin: 0 0 20px; color: var(--ink-soft); }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.field { margin: 0 0 18px; }
.field > label, .field > .label, fieldset.field > legend {
  display: block; font-weight: 800; font-size: 15px; color: var(--ink); margin: 0 0 6px;
}
.req { color: var(--red); font-weight: 800; }
.opt { font-weight: 600; color: var(--ink-soft); font-size: 13px; }
.hint { display: block; font-size: 14px; color: var(--ink-soft); margin: -2px 0 8px; font-weight: 400; }
.input, .select, .textarea {
  display: block; width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #D8CCB4; border-radius: 10px;
  background: #FFFDF8; font-size: 17px; line-height: 1.4; transition: border-color .15s, background .15s;
}
.textarea { min-height: 84px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--gold-dk) 50%), linear-gradient(135deg, var(--gold-dk) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; }
.input:hover, .select:hover, .textarea:hover { border-color: #C2AF8A; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold-dk); background: #fff; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--err); background: #FFF6F4; }
.field-error { display: block; margin-top: 6px; color: var(--err); font-size: 14px; font-weight: 700; }
.field-error:empty { display: none; }
.counter { display: block; text-align: right; font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
.row-2 { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; } }

/* chips (radio/checkbox styled as pills) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span, .example-chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 99px; border: 1.5px solid #D8CCB4;
  background: #FFFDF8; font-weight: 700; font-size: 15px; cursor: pointer; user-select: none;
}
.chip input:checked + span { background: var(--pine-1); color: var(--gold-hi); border-color: var(--pine-1); }
.chip input:focus-visible + span { box-shadow: var(--focus); }
.chip input[aria-invalid="true"] + span { border-color: var(--err); }
.example-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.example-chip { min-height: 34px; padding: 5px 12px; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); border-style: dashed; }
.example-chip:hover { border-color: var(--gold-dk); color: var(--ink); }

/* child card */
.child-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px 16px 4px; margin: 0 0 18px; background: var(--parchment); }
@media (min-width: 560px) { .child-card { padding: 22px 22px 6px; } }
.child-card > legend {
  float: left; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px;
}
.child-card > legend + * { clear: both; }
.child-card .child-title { font-family: var(--f-script); font-size: 34px; line-height: 1; color: var(--red-deep); }
.remove-child { background: none; border: 0; color: var(--ink-soft); font-weight: 700; font-size: 14px; text-decoration: underline; padding: 6px 4px; }
.remove-child:hover { color: var(--err); }
.add-child { width: 100%; border: 2px dashed rgba(122, 84, 24, .45); background: transparent; border-radius: 14px; padding: 16px; font-weight: 800; color: var(--gold-dk); font-size: 16px; }
.add-child:hover { background: rgba(201, 160, 78, .08); }
.add-child:disabled { opacity: .6; cursor: not-allowed; }

details.gentle { border: 1px dashed var(--gold); border-radius: 12px; background: #FFF9EC; margin: 0 0 18px; }
details.gentle > summary { cursor: pointer; padding: 12px 14px; font-weight: 800; color: var(--gold-dk); list-style: none; }
details.gentle > summary::-webkit-details-marker { display: none; }
details.gentle > summary::before { content: "+ "; }
details.gentle[open] > summary::before { content: "\2212  "; }
details.gentle > div { padding: 0 14px 4px; }
details.gentle p { margin: 0 0 10px; font-size: 15px; color: var(--ink-soft); }

/* choice cards (paper, handwriting, wording, delivery) */
.choices { display: grid; gap: 10px; }
.choices.two { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .choices.three { grid-template-columns: repeat(3, 1fr); } .choices.four { grid-template-columns: repeat(2, 1fr); } }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice .card {
  display: block; height: 100%; border: 1.5px solid #D8CCB4; border-radius: 14px; padding: 12px 14px; background: #FFFDF8; cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.choice .card:hover { border-color: #C2AF8A; }
.choice input:checked + .card { border-color: var(--gold-dk); box-shadow: 0 0 0 2px var(--gold), 0 6px 16px rgba(122, 84, 24, .14); background: #fff; }
.choice input:focus-visible + .card { box-shadow: var(--focus); }
.choice .card b { display: block; font-size: 15.5px; }
.choice .card small { display: block; color: var(--ink-soft); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.choice .thumb { display: block; aspect-ratio: 1.7; border-radius: 8px; margin: 0 0 10px; overflow: hidden; }
.thumb.stationery { background: #FDF4E3 url("/assets/stationery-head.jpg") top center / 100% auto no-repeat; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.thumb.stationery::after { content: ""; position: absolute; left: 12%; right: 12%; top: 46%; height: 1px; background: rgba(150, 128, 95, .45); box-shadow: 0 10px 0 rgba(150, 128, 95, .45), 0 20px 0 rgba(150, 128, 95, .45); }
.thumb.colorful {
  border: 6px solid transparent;
  background:
    radial-gradient(circle at 20% 30%, rgba(214, 40, 40, .2) 0 2px, transparent 2.5px) 0 0 / 22px 22px padding-box,
    radial-gradient(circle at 70% 65%, rgba(30, 123, 79, .2) 0 2px, transparent 2.5px) 0 0 / 22px 22px padding-box,
    linear-gradient(#FFFDF6, #FFF6E6) padding-box,
    repeating-linear-gradient(45deg, #D62828 0 6px, #fff 6px 12px, #1E7B4F 12px 18px, #fff 18px 24px) border-box;
  display: grid; place-items: center; font-family: var(--f-script); color: #C1121F; font-size: 24px;
}
.hw-sample { display: block; font-size: 26px; line-height: 1.25; color: var(--letter-ink); margin: 2px 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw-print { font-family: 'Patrick Hand', 'Comic Neue', sans-serif; font-size: 25px; }
.hw-script { font-family: 'Dancing Script', cursive; font-weight: 500; }
.hw-copperplate { font-family: 'Petit Formal Script', cursive; font-size: 19px; }
.hw-parisienne { font-family: 'Parisienne', cursive; font-size: 24px; }
.date-pick { margin: 10px 0 0; }

.check { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; cursor: pointer; }
/* Gift code (order form step 3): a quiet link that opens one short field. */
.gift-code { margin: 2px 0 16px; }
.gift-code .btn-link { padding-left: 0; }
.gift-code .field { margin: 8px 0 0; }
.code-input { max-width: 16ch; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.code-input::placeholder { letter-spacing: .14em; font-weight: 600; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red-deep); }
.check span { font-size: 15.5px; }
.check.consent { padding: 14px; border-radius: 12px; background: var(--parchment); border: 1px solid var(--line); }
.check.consent[data-invalid="true"] { border-color: var(--err); background: #FFF6F4; }

.typo-hint { margin-top: 6px; font-size: 14.5px; }
.typo-hint button { background: none; border: 0; padding: 0; color: var(--red-deep); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.form-nav { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.form-nav .btn { flex: 1 1 220px; }
.form-error {
  margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--err); background: #FFF6F4; color: var(--err); font-weight: 700;
}
.form-error:empty { display: none; }
.fine { font-size: 13.5px; color: var(--ink-soft); margin: 14px 0 0; }

/* live preview + price summary */
.preview-card {
  border-radius: 6px; overflow: hidden; background: #FDF4E3; box-shadow: 0 16px 36px rgba(52, 30, 12, .25); transform: rotate(-1deg);
  margin: 0 4px; /* room for the tilted corners, so phones don't scroll sideways */
}
.preview-card .pv-body {
  padding: 0 10% 16px;
  background: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(150, 128, 95, .4) 27px 28px, transparent 28px 32px) content-box;
}
.preview-card .pv-greet { font-family: var(--f-script); color: var(--red-deep); font-size: 34px; line-height: 64px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview-card .pv-line { font-size: 17px; line-height: 32px; color: var(--letter-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview-card .pv-line.hw-print { font-size: 19px; }
.preview-card[data-hw="print"] .pv-greet { font-family: 'Patrick Hand', 'Comic Neue', sans-serif; font-size: 30px; }
.preview-card .pv-cf { display: none; }
.preview-card.colorful {
  border: 9px solid transparent; border-radius: 14px;
  background:
    radial-gradient(circle at 20% 30%, rgba(214, 40, 40, .16) 0 2px, transparent 2.5px) 0 0 / 34px 34px padding-box,
    radial-gradient(circle at 70% 65%, rgba(30, 123, 79, .16) 0 2px, transparent 2.5px) 0 0 / 34px 34px padding-box,
    linear-gradient(#FFFDF6, #FFF6E6) padding-box,
    repeating-linear-gradient(45deg, #D62828 0 7px, #fff 7px 14px, #1E7B4F 14px 21px, #fff 21px 28px) border-box;
}
.preview-card.colorful .pv-head { display: none; }
.preview-card.colorful .pv-cf { display: block; text-align: center; padding: 12px 0 0; }
.preview-card.colorful .pv-cf b { display: block; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: #1E7B4F; font-weight: 800; }
.preview-card.colorful .pv-cf span { font-family: var(--f-script); font-size: 34px; color: #C1121F; line-height: 1.1; }
.preview-card.colorful .pv-greet { color: #C1121F; }
.preview-card.colorful .pv-body { background: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(30, 123, 79, .28) 27px 28px, transparent 28px 32px) content-box; }
.preview-card[data-hw="copperplate"] .pv-greet { font-family: 'Pinyon Script', cursive; font-size: 30px; }
.preview-caption { text-align: center; font-size: 13px; color: var(--ink-soft); margin: 12px 0 18px; }

.summary { background: var(--pine-1); color: var(--ivory); border-radius: 16px; padding: 18px 18px; border: 1px solid rgba(201, 160, 78, .45); }
.summary h2 { font-family: var(--f-caps); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lt); margin: 0 0 10px; font-weight: 600; }
.summary dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 15px; }
.summary dt { color: rgba(247, 238, 220, .78); }
.summary dd { margin: 0; text-align: right; font-weight: 700; }
.summary .total { border-top: 1px solid rgba(201, 160, 78, .4); margin-top: 8px; padding-top: 8px; font-size: 18px; color: var(--gold-hi); }
.summary p { margin: 10px 0 0; font-size: 13px; color: rgba(247, 238, 220, .7); }

/* sticky price bar on phones */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--pine-1); color: var(--ivory); border-top: 1px solid rgba(201, 160, 78, .5);
  font-size: 15px;
}
.mobile-bar strong { color: var(--gold-hi); font-size: 19px; }
@media (min-width: 960px) { .mobile-bar { display: none; } }
@media (max-width: 959px) { body.has-mobile-bar { padding-bottom: 60px; } }

.turnstile-box { margin: 6px 0 14px; min-height: 0; }

/* ---------- Order page ---------- */
.order-main { padding: 28px 0 64px; }
.notice {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin: 0 0 16px;
  background: #FFF9EC; border: 1px solid rgba(201, 160, 78, .7); font-size: 15.5px;
}
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--gold-dk); }
.notice p { margin: 0; }
.letters { display: grid; gap: 18px; margin: 18px 0 0; }
.share-card { margin: 28px 0 0; padding: 22px 18px; text-align: center; background: var(--card); border: 1px dashed rgba(184, 145, 58, .8); border-radius: 18px; }
.share-card h2 { font-family: var(--f-head); font-style: italic; font-weight: 600; font-size: 25px; line-height: 1.2; color: var(--pine-1); margin: 0 0 6px; }
.share-card p { margin: 0 0 16px; color: var(--ink-soft); font-size: 15.5px; }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.share-card .fine { margin: 12px 0 0; font-weight: 700; }
.share-card .fine:empty { display: none; }
@media (min-width: 760px) { .letters.multi { grid-template-columns: 1fr 1fr; } }
.letter-card { background: var(--card); border: 1px solid rgba(184, 145, 58, .5); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.letter-card .lc-head { background: #FDF4E3 url("/assets/stationery-head.jpg") top center / 100% auto no-repeat; aspect-ratio: 3.18; position: relative; }
.letter-card .lc-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.letter-card h2 { font-family: var(--f-script); font-weight: 400; font-size: 40px; line-height: 1.05; color: var(--red-deep); margin: 0; }
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; padding: 6px 12px; border-radius: 99px; align-self: flex-start; background: var(--parchment); border: 1px solid var(--line); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }
.status.working::before { animation: pulse 1.2s ease-in-out infinite; }
.status.ready { background: #FFF6D8; border-color: var(--gold); }
.status.ready::before { background: var(--red); }
.status.sent { background: #EAF4EE; border-color: #9CC7AE; color: var(--ok); }
.status.sent::before { background: var(--ok); }
.status.problem { background: #FFF6F4; border-color: #E2A9A2; color: var(--err); }
.status.problem::before { background: var(--err); }
@keyframes pulse { 50% { opacity: .25; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .status.working::before { animation: none; } }
.lc-detail { margin: 0; color: var(--ink-soft); font-size: 15px; }
.lc-actions { display: grid; gap: 10px; margin-top: 4px; }
.lc-actions .btn, .lc-actions .btn-ghost, .lc-actions .btn-gold { width: 100%; }
.lc-date { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.lc-date label { font-size: 14px; font-weight: 800; display: block; margin-bottom: 4px; }
.lc-date .input { min-height: 44px; }
.lc-msg { font-size: 14px; font-weight: 700; color: var(--err); margin: 0; }
.lc-msg:empty { display: none; }
.spinner {
  width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(122, 84, 24, .25); border-top-color: var(--gold-dk);
  animation: spin .9s linear infinite; flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.state-box { text-align: center; padding: 40px 20px; }
.state-box .h-display { font-size: 32px; }

/* ---------- Legal pages ---------- */
.prose { padding: 34px 0 64px; }
.prose h1 { font-family: var(--f-head); font-style: italic; font-weight: 500; font-size: clamp(34px, 7vw, 46px); color: var(--pine-1); margin: 0 0 6px; }
.prose h2 { font-family: var(--f-head); font-style: italic; font-weight: 600; font-size: 26px; color: var(--pine-1); margin: 32px 0 8px; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--gold-dk); }
.draft-banner {
  margin: 0 0 22px; padding: 12px 16px; border-radius: 10px; background: #FFF6D8; border: 2px dashed var(--red);
  color: var(--red-deep); font-weight: 800;
}
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--f-caps); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dk); }
