/* Anything with the hidden attribute stays hidden, whatever its display style. */
[hidden] { display: none !important; }

/* Keepsake Post: tokens */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.75rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
  --space-20: 5rem; --space-24: 6rem;

  --color-bg: oklch(0.975 0.012 85);
  --color-surface: oklch(0.995 0.004 85);
  --color-paper: oklch(0.955 0.018 82);
  --color-text: oklch(0.24 0.035 255);
  --color-muted: oklch(0.47 0.025 255);
  --color-line: oklch(0.24 0.035 255 / 0.12);
  --color-line-strong: oklch(0.24 0.035 255 / 0.22);
  --color-primary: oklch(0.53 0.165 30);
  --color-primary-hover: oklch(0.47 0.16 30);
  --color-primary-soft: oklch(0.93 0.04 30);
  --color-ink: oklch(0.24 0.035 255);
  --color-good: oklch(0.5 0.11 150);
  --color-warn: oklch(0.55 0.13 70);
  --tint-kids: oklch(0.9 0.09 92);
  --tint-pets: oklch(0.9 0.045 150);
  --tint-club: oklch(0.91 0.04 25);

  --font-display: 'Gambetta', 'Iowan Old Style', Georgia, serif;
  --font-body: 'General Sans', system-ui, -apple-system, sans-serif;

  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 22px;
  --shadow-sm: 0 1px 2px oklch(0.3 0.04 60 / 0.08);
  --shadow-md: 0 6px 18px -6px oklch(0.3 0.04 60 / 0.18), 0 2px 4px oklch(0.3 0.04 60 / 0.06);
  --shadow-lg: 0 24px 48px -16px oklch(0.3 0.04 60 / 0.28);
  --transition-interactive: 160ms cubic-bezier(.2,.7,.3,1);
  --wrap: 1200px;
}

/* base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: none; text-size-adjust: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scroll-behavior: smooth; scroll-padding-top: var(--space-24); }
body { min-height: 100dvh; line-height: 1.6; font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text); background: var(--color-bg); }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.12; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }
p, li, figcaption { text-wrap: pretty; max-width: 68ch; }
::selection { background: oklch(0.53 0.165 30 / 0.22); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }
button { cursor: pointer; background: none; border: none; }
a, button, input, textarea, select { transition: color var(--transition-interactive), background var(--transition-interactive), border-color var(--transition-interactive), box-shadow var(--transition-interactive), transform var(--transition-interactive); }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--color-ink); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { left: 12px; }

/* test-mode strip */
.testbar { background: var(--color-ink); color: oklch(0.95 0.01 85); font-size: var(--text-xs); text-align: center; padding: 7px 16px; }
.testbar strong { color: oklch(0.88 0.1 85); font-weight: 600; }

/* header */
.site-head { position: sticky; top: 0; z-index: 40; background: oklch(0.975 0.012 85 / 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 68px; }
.brand { padding-block: 10px; margin-block: -10px; display: inline-flex; align-items: baseline; gap: 2px; text-decoration: none; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.brand span { color: var(--color-primary); font-style: italic; font-weight: 500; }
.nav { display: flex; align-items: center; gap: var(--space-1); }
.nav a { text-decoration: none; font-size: var(--text-sm); font-weight: 500; padding: 10px 14px; border-radius: 999px; color: var(--color-muted); }
.nav a:hover { color: var(--color-text); background: var(--color-paper); }
.nav a[aria-current='page'] { color: var(--color-text); background: var(--color-paper); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; align-items: center; justify-content: center; }
.menu-btn:hover { background: var(--color-paper); }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--color-surface); border-bottom: 1px solid var(--color-line); padding: var(--space-3) var(--space-5) var(--space-5); display: none; box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; font-size: var(--text-base); border-radius: var(--radius-md); }
  .nav .btn { margin-top: var(--space-2); justify-content: center; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: var(--text-sm); text-decoration: none; background: var(--color-primary); color: #fff; border: 1px solid transparent; white-space: nowrap; }
.btn:hover { background: var(--color-primary-hover); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--color-text); border-color: var(--color-line-strong); }
.btn--ghost:hover { background: var(--color-paper); }
.btn--ink { background: var(--color-ink); }
.btn--ink:hover { background: oklch(0.32 0.04 255); }
.btn--sm { min-height: 40px; padding: 0 16px; }
.nav .btn { color: #fff; padding: 0 18px; min-height: 42px; }
.nav .btn:hover { color: #fff; background: var(--color-primary-hover); }
.link { color: var(--color-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { color: var(--color-primary-hover); }

.eyebrow { font-size: var(--text-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-primary); }
.lede { font-size: var(--text-lg); color: var(--color-muted); line-height: 1.5; }

/* hero */
.hero { padding-block: clamp(2.5rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero h1 { font-size: var(--text-3xl); margin-block: var(--space-4) var(--space-5); }
.hero h1 em { font-style: italic; color: var(--color-primary); }
.hero .lede { margin-bottom: var(--space-8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-figure { position: relative; }
.hero-figure img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.hero-note { position: absolute; left: -18px; bottom: 28px; background: var(--color-surface); border-radius: var(--radius-md); padding: 12px 16px; box-shadow: var(--shadow-md); font-size: var(--text-sm); display: flex; gap: 12px; align-items: center; max-width: 270px; }
.hero-note svg { flex: none; color: var(--color-good); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin-top: var(--space-8); font-size: var(--text-sm); color: var(--color-muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-note { left: 12px; bottom: 12px; } }

/* sections */
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--paper { background: var(--color-paper); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { font-size: var(--text-2xl); }
.section-head p { color: var(--color-muted); }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; gap: var(--space-4); } }

/* product showcase: asymmetric */
.products { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: var(--space-5); }
.prod { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-xl); overflow: hidden; text-decoration: none; background: var(--color-surface); box-shadow: var(--shadow-sm); border: 1px solid var(--color-line); }
.prod:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.prod img { width: 100%; object-fit: cover; aspect-ratio: 3/2; }
.prod--lead { grid-row: span 2; }
/* Two products (Photo Club hidden): equal cards side by side */
.products--two { grid-template-columns: 1fr 1fr; }
.products--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .products--three { grid-template-columns: 1fr; } }
.products--two .prod--lead { grid-row: auto; }
.products--two .prod--lead img { aspect-ratio: 3/2; flex: none; }
.products--two .prod-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.products--two .prod-meta { align-self: stretch; }
.products--two .prod-meta { margin-top: auto; }
.prod--lead img { aspect-ratio: 4/3.2; flex: 1; }
.prod-body { padding: var(--space-6) var(--space-6) var(--space-6); display: grid; gap: var(--space-2); }
.prod-body h3 { font-size: var(--text-xl); }
.prod-body p { color: var(--color-muted); font-size: var(--text-sm); }
.prod-meta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-3); }
.price { font-weight: 600; }
.price small { font-weight: 400; color: var(--color-muted); }
.arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: var(--text-sm); color: var(--color-primary); }
.prod:hover .arrow svg { transform: translateX(3px); }
.arrow svg { transition: transform var(--transition-interactive); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-xs); font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--color-paper); width: fit-content; }
.chip--kids { background: var(--tint-kids); }
.chip--pets { background: var(--tint-pets); }
.chip--club { background: var(--tint-club); }
.chip--color { background: var(--tint-color, #E8E4F1); }
.prod--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
.prod--wide img { aspect-ratio: auto; height: 100%; }
@media (max-width: 800px) { .products { grid-template-columns: 1fr; } .prod--lead { grid-row: auto; } .prod--wide { grid-template-columns: 1fr; } }

/* steps narrative */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--color-line-strong); }
.step { padding: var(--space-6) var(--space-6) 0 0; counter-increment: s; }
.step::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-primary); margin-bottom: var(--space-3); }
.step h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--text-base); margin-bottom: var(--space-2); letter-spacing: 0; }
.step p { color: var(--color-muted); font-size: var(--text-sm); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: var(--space-8); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* split callout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split img { border-radius: var(--radius-xl); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.split h2 { font-size: var(--text-2xl); margin-block: var(--space-3) var(--space-5); }
.split p + p { margin-top: var(--space-4); }
.split .muted { color: var(--color-muted); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.ticks { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: var(--text-sm); }
.ticks svg { color: var(--color-good); margin-top: 3px; }

/* pricing table */
.price-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); background: var(--color-surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--color-line); vertical-align: top; }
.price-table thead th { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--color-muted); font-weight: 600; background: var(--color-paper); }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table strong { font-weight: 600; }
.table-scroll { overflow-x: auto; border-radius: var(--radius-lg); }

/* faq */
.faq { display: grid; gap: 0; border-top: 1px solid var(--color-line-strong); }
.faq details { border-bottom: 1px solid var(--color-line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-5) 0; font-weight: 600; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform var(--transition-interactive); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--space-5); color: var(--color-muted); }

/* footer */
.site-foot { background: var(--color-ink); color: oklch(0.88 0.01 85); padding-block: var(--space-16) var(--space-10); margin-top: 0; }
.site-foot .brand { color: #fff; }
.site-foot .brand span { color: oklch(0.78 0.12 35); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-10); }
.foot-grid h2 { font-family: var(--font-body); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; color: oklch(0.75 0.02 85); margin-bottom: var(--space-4); font-weight: 600; }
.foot-grid ul { display: grid; gap: var(--space-2); }
.foot-grid a { text-decoration: none; font-size: var(--text-sm); }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-grid p { font-size: var(--text-sm); color: oklch(0.8 0.015 85); margin-top: var(--space-3); }
.foot-base { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid oklch(1 0 0 / 0.12); font-size: var(--text-xs); color: oklch(0.72 0.015 85); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- product page ---------- */
.p-hero { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.p-hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.p-hero h1 { font-size: var(--text-2xl); margin-block: var(--space-3) var(--space-4); }
.p-hero img { border-radius: var(--radius-xl); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.p-facts { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.p-facts span { font-size: var(--text-xs); font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--color-surface); border: 1px solid var(--color-line); }
@media (max-width: 860px) { .p-hero .wrap { grid-template-columns: 1fr; } .p-hero figure { order: -1; } }

/* maker */
.maker { padding-block: var(--space-8) clamp(3rem, 6vw, 5rem); }
.maker-shell { background: var(--color-surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); border: 1px solid var(--color-line); overflow: hidden; }
.stepper { display: flex; border-bottom: 1px solid var(--color-line); background: var(--color-paper); overflow-x: auto; }
.stepper button { flex: 1; min-width: 120px; display: flex; align-items: center; gap: 10px; padding: 16px 20px; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.stepper button .n { width: 26px; height: 26px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--color-surface); border: 1px solid var(--color-line-strong); flex: none; }
.stepper button[aria-current='step'] { color: var(--color-text); border-bottom-color: var(--color-primary); }
.stepper button[aria-current='step'] .n { background: var(--color-primary); color: #fff; border-color: transparent; }
.stepper button.done .n { background: var(--color-ink); color: #fff; border-color: transparent; }
.stepper button:disabled { cursor: not-allowed; opacity: .6; }
.stepper button:not(:disabled):hover { color: var(--color-text); }

.panel { padding: clamp(1.25rem, 3vw, 2.5rem); }
.panel[hidden] { display: none; }
.panel-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-6); margin-bottom: var(--space-6); flex-wrap: wrap; }
.panel-head h2 { font-size: var(--text-xl); }
.panel-head p { color: var(--color-muted); font-size: var(--text-sm); margin-top: 4px; }
.panel-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--color-line); flex-wrap: wrap; }
.panel-foot .sum { font-size: var(--text-sm); color: var(--color-muted); }
.panel-foot .sum strong { color: var(--color-text); font-size: var(--text-base); }

.drop { display: grid; place-items: center; text-align: center; gap: var(--space-3); padding: clamp(2rem, 5vw, 3.5rem) var(--space-6); border: 2px dashed var(--color-line-strong); border-radius: var(--radius-lg); background: var(--color-bg); cursor: pointer; }
.drop:hover { border-color: var(--color-primary); background: oklch(0.985 0.012 40); }
.drop.over { border-color: var(--color-primary); background: var(--color-primary-soft); }
.drop svg { color: var(--color-primary); }
.drop strong { font-size: var(--text-lg); font-family: var(--font-display); font-weight: 500; }
.drop p { color: var(--color-muted); font-size: var(--text-sm); }
.drop-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; margin-top: var(--space-2); }

.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: var(--space-3); margin-top: var(--space-6); }
.thumb { position: relative; border-radius: var(--radius-md); overflow: hidden; background: var(--color-paper); aspect-ratio: 1; border: 1px solid var(--color-line); cursor: grab; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.dragging { opacity: .4; }
.thumb.drop-target { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.thumb .idx { position: absolute; top: 6px; left: 6px; font-size: 11px; font-weight: 600; background: oklch(1 0 0 / 0.9); padding: 2px 7px; border-radius: 999px; }
.thumb .warn { position: absolute; bottom: 6px; left: 6px; font-size: 10.5px; font-weight: 600; background: oklch(0.96 0.06 80); color: oklch(0.4 0.09 65); padding: 2px 7px; border-radius: 999px; }
.thumb .tools { position: absolute; top: 4px; right: 4px; display: flex; gap: 2px; }
.thumb .tools button { width: 30px; height: 30px; border-radius: 999px; background: oklch(1 0 0 / 0.92); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.thumb .tools button:hover { background: #fff; color: var(--color-primary); }
.thumbs-note { font-size: var(--text-xs); color: var(--color-muted); margin-top: var(--space-3); }

.empty { text-align: center; color: var(--color-muted); font-size: var(--text-sm); padding: var(--space-6) 0 0; }

/* arrange: preview */
.arrange { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 900px) { .arrange { grid-template-columns: 1fr; } }
.fields { display: grid; gap: var(--space-5); }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: var(--text-sm); font-weight: 600; }
.field .hint { font-size: var(--text-xs); color: var(--color-muted); }
.field input[type=text], .field input[type=email], .field input[type=date], .field input[type=number], .field select, .field textarea, .field input[type=tel] { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--radius-md); border: 1px solid var(--color-line-strong); background: var(--color-surface); font-size: var(--text-sm); }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px oklch(0.53 0.165 30 / 0.18); }
.field input[aria-invalid='true'], .field select[aria-invalid='true'] { border-color: oklch(0.55 0.2 25); }
.field .err { font-size: var(--text-xs); color: oklch(0.5 0.19 25); font-weight: 500; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-4); }
@media (max-width: 560px) { .row3 { grid-template-columns: 1fr 1fr; } .row3 .field:first-child { grid-column: 1 / -1; } }
fieldset { border: 0; }
.options { display: grid; gap: var(--space-3); }
.opt { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid var(--color-line-strong); cursor: pointer; background: var(--color-surface); }
.opt:hover { border-color: var(--color-text); }
.opt:has(input:checked) { border-color: var(--color-primary); box-shadow: 0 0 0 3px oklch(0.53 0.165 30 / 0.14); background: oklch(0.985 0.012 30); }
.opt input { margin-top: 4px; accent-color: var(--color-primary); width: 18px; height: 18px; }
.opt strong { display: block; font-size: var(--text-sm); font-weight: 600; }
.opt span.d { font-size: var(--text-xs); color: var(--color-muted); }
.opt .p { font-size: var(--text-sm); font-weight: 600; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--color-line-strong); border-radius: 999px; overflow: hidden; width: fit-content; }
.qty button { width: 44px; height: 44px; display: grid; place-items: center; }
.qty button:hover { background: var(--color-paper); }
.qty output { min-width: 36px; text-align: center; font-weight: 600; }

.preview { background: oklch(0.93 0.015 80); border-radius: var(--radius-lg); padding: clamp(1rem, 3vw, 2rem); }
.preview-main { display: grid; place-items: center; min-height: 340px; }
.preview-main canvas { box-shadow: var(--shadow-lg); border-radius: 3px; max-height: 560px; width: auto; max-width: 100%; background: #fff; }
.preview-main.spread canvas { border-radius: 2px; }
.preview-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); margin-top: var(--space-5); flex-wrap: wrap; }
.pager { display: inline-flex; align-items: center; gap: var(--space-2); }
.pager button { width: 44px; height: 44px; border-radius: 999px; background: var(--color-surface); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.pager button:hover:not(:disabled) { color: var(--color-primary); }
.pager button:disabled { opacity: .4; cursor: not-allowed; }
.pager output { font-size: var(--text-sm); font-weight: 600; min-width: 120px; text-align: center; }
.strip { display: flex; gap: 8px; overflow-x: auto; padding: var(--space-4) 2px 4px; scroll-snap-type: x mandatory; }
.strip button { flex: none; scroll-snap-align: start; border-radius: 3px; overflow: hidden; outline: 2px solid transparent; outline-offset: 2px; background: #fff; box-shadow: var(--shadow-sm); }
.strip button[aria-current='true'] { outline-color: var(--color-primary); }
.strip canvas { height: 64px; width: auto; display: block; }
.caption-edit { margin-top: var(--space-4); display: grid; gap: 6px; }
.caption-edit label { font-size: var(--text-xs); font-weight: 600; color: var(--color-muted); }
.caption-edit input { min-height: 44px; padding: 8px 12px; border-radius: var(--radius-md); border: 1px solid var(--color-line-strong); background: var(--color-surface); font-size: var(--text-sm); width: 100%; }

/* review */
.review { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .review { grid-template-columns: 1fr; } }
.card { background: var(--color-bg); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: var(--space-6); }
.card h3 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 600; margin-bottom: var(--space-4); letter-spacing: 0; }
.lines { display: grid; gap: 10px; font-size: var(--text-sm); }
.lines div { display: flex; justify-content: space-between; gap: var(--space-4); }
.lines .muted { color: var(--color-muted); }
.lines .total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--color-line-strong); font-weight: 600; font-size: var(--text-base); }
.mini-preview { display: flex; gap: 8px; margin-bottom: var(--space-5); overflow: hidden; }
.mini-preview canvas { height: 92px; width: auto; border-radius: 2px; box-shadow: var(--shadow-sm); background: #fff; }
.pay-status { font-size: var(--text-xs); color: var(--color-muted); margin-top: var(--space-3); text-align: center; min-height: 1.2em; }
.test-card { display: flex; gap: 12px; align-items: start; background: oklch(0.96 0.04 85); border-radius: var(--radius-md); padding: 12px 14px; font-size: var(--text-xs); color: oklch(0.38 0.06 70); margin-bottom: var(--space-4); }
.test-card svg { flex: none; margin-top: 1px; }
.form-err { color: oklch(0.5 0.19 25); font-size: var(--text-sm); font-weight: 500; margin-top: var(--space-3); }

/* confirmation */
.confirm { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 900px) { .confirm { grid-template-columns: 1fr; } }
.confirm h1, .confirm h2 { font-size: var(--text-2xl); margin-block: var(--space-2) var(--space-4); }
.order-id { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: var(--text-sm); background: var(--color-paper); padding: 4px 10px; border-radius: var(--radius-sm); }
.track { display: grid; gap: 0; margin-top: var(--space-2); }
.track li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; position: relative; padding-bottom: var(--space-5); }
.track li::before { content: ''; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--color-line-strong); }
.track li:last-child::before { display: none; }
.track .dot { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: var(--color-surface); border: 2px solid var(--color-line-strong); color: transparent; transition: all 300ms ease; }
.track li.done .dot { background: var(--color-good); border-color: var(--color-good); color: #fff; }
.track li.now .dot { border-color: var(--color-primary); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px oklch(0.53 0.165 30 / 0.15); } }
.track strong { display: block; font-size: var(--text-sm); }
.track span { font-size: var(--text-xs); color: var(--color-muted); }
.confirm-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--color-ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: var(--text-sm); opacity: 0; pointer-events: none; transition: all 220ms ease; z-index: 90; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.cross { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
@media (max-width: 700px) { .cross { grid-template-columns: 1fr; } }
.cross a { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-5); align-items: center; text-decoration: none; background: var(--color-surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-line); }
.cross a:hover { box-shadow: var(--shadow-md); }
.cross img { width: 120px; height: 100%; object-fit: cover; aspect-ratio: 1; }
.cross h3 { font-size: var(--text-lg); }
.cross p { font-size: var(--text-sm); color: var(--color-muted); }
.cross div { padding: var(--space-4) var(--space-4) var(--space-4) 0; }

/* maker extras */
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; }
.swatch span:not(.sr-only) { display: block; width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--color-surface); box-shadow: 0 0 0 1px var(--color-line-strong); transition: box-shadow var(--transition-interactive); }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--color-primary); }
.swatch input:focus-visible + span { outline: 2px solid var(--color-primary); outline-offset: 4px; }
.check { display: inline-flex; gap: 10px; align-items: center; font-size: var(--text-sm); font-weight: 500; min-height: 44px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--color-primary); }
.form-h { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; letter-spacing: .02em; margin-top: var(--space-2); }
.form-h:first-child { margin-top: 0; }
.opt .p small { font-weight: 400; color: var(--color-muted); }
.maker-intro { display: flex; justify-content: space-between; align-items: end; gap: var(--space-6); flex-wrap: wrap; margin-bottom: var(--space-6); }
.maker-intro h2 { font-size: var(--text-xl); }
.maker-intro p { color: var(--color-muted); font-size: var(--text-sm); }
.stepper[hidden] { display: none; }
.thumb .tools button:disabled { opacity: .35; cursor: not-allowed; }
.preview-bar .chip { background: var(--color-surface); }
.order-id { display: inline-block; }
.p-hero--tall img { aspect-ratio: 4 / 5; max-height: 560px; width: auto; max-width: 100%; margin-inline: auto; }
.howto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.howto h2 { font-size: var(--text-2xl); margin-block: var(--space-3) var(--space-4); }
.howto > div > p { color: var(--color-muted); }
.howto .ticks { margin-top: 0; }
.howto .ticks li { font-size: var(--text-base); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-line); }
@media (max-width: 800px) { .howto { grid-template-columns: 1fr; } }
.drop .btn svg { color: currentColor; }
.caption-edit[hidden] { display: none; }
.thumb .tools { top: auto; bottom: 4px; right: 4px; }
.thumb .warn { bottom: auto; top: 32px; left: 6px; }
.hint-p { font-size: var(--text-xs); color: var(--color-muted); }
.order-id { margin-bottom: var(--space-3); }
@media (max-width: 860px) { .p-hero--tall img { aspect-ratio: 4 / 3; width: 100%; max-height: none; object-position: center 30%; } }
.toast { width: max-content; max-width: calc(100vw - 32px); text-align: center; border-radius: 18px; }
@media (max-width: 600px) {
  .stepper button { min-width: 0; flex: 0 0 auto; padding: 14px 14px; }
  .stepper button[aria-current='step'] { flex: 1 1 auto; }
  .stepper button:not([aria-current='step']) .l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .opt span.d { line-height: 1.45; display: block; margin-top: 2px; }
}
@media (max-width: 900px) { .arrange .preview { order: -1; } }

/* refinements: draft note, options preview, gift, sticky summary */
.saved-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: var(--space-3); font-size: var(--text-xs); color: var(--color-muted); }
.saved-note svg { color: oklch(0.55 0.11 150); flex: none; }
.link-btn { background: none; border: 0; padding: 6px 2px; min-height: 32px; font-size: var(--text-xs); font-weight: 600; color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--color-text); }
.link-btn[data-armed] { color: oklch(0.5 0.19 25); }
.opt-wrap { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.opt-preview { margin: 0; display: grid; gap: 10px; justify-items: center; padding: var(--space-5); background: oklch(0.93 0.015 75); border-radius: var(--radius-lg); }
.opt-canvas canvas { display: block; max-width: 100%; height: auto; border-radius: 2px; box-shadow: var(--shadow-md); background: #fff; }
.opt-preview figcaption { font-size: var(--text-xs); color: var(--color-muted); text-align: center; }
@media (max-width: 700px) {
  .opt-wrap { grid-template-columns: 1fr; }
  .opt-preview { padding: var(--space-4); }
  .opt-canvas canvas { max-height: 170px; width: auto; }
}
.gift-note { margin-top: var(--space-1); }
.gift-note textarea { min-height: 80px; }
@media (min-width: 901px) { .review > aside { position: sticky; top: 92px; } }
.opt-preview figcaption strong { display: block; color: var(--color-text); font-weight: 600; }

/* shared cart */
.head-right { display: flex; align-items: center; gap: var(--space-2); }
.cart-link { position: relative; width: 44px; height: 44px; border-radius: 999px; display: inline-grid; place-items: center; color: var(--color-text); text-decoration: none; }
.cart-link:hover, .cart-link[aria-current='page'] { background: var(--color-paper); }
.cart-link .count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--color-primary); color: #fff; font-size: 11px; font-weight: 600; line-height: 19px; text-align: center; font-variant-numeric: tabular-nums; }
.cart-link .count[hidden] { display: none; }
.cart-link.bump .count { animation: bump 380ms ease; }
@keyframes bump { 40% { transform: scale(1.3); } }

.incart { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px clamp(1.25rem, 3vw, 2.5rem); background: var(--color-primary-soft); font-size: var(--text-xs); color: oklch(0.36 0.09 30); border-bottom: 1px solid var(--color-line); }
.incart[hidden] { display: none; }
.incart svg { flex: none; }
.incart span { flex: 1 1 260px; }
.panel-foot .sum-sub { display: block; font-size: var(--text-xs); margin-top: 2px; }

.added { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.added-main { display: grid; grid-template-columns: auto 1fr; gap: var(--space-6); align-items: start; }
.added-thumb canvas, .ci-thumb canvas { display: block; max-width: 100%; height: auto; border-radius: 2px; box-shadow: var(--shadow-md); background: #fff; }
.added-thumb { padding: var(--space-4); background: oklch(0.93 0.015 75); border-radius: var(--radius-lg); }
.added .eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--color-good); }
.added h2 { font-size: var(--text-xl); margin-block: var(--space-2) var(--space-1); }
.added-meta { color: var(--color-muted); font-size: var(--text-sm); }
.added-side h3 { margin-bottom: var(--space-3); }
.added-side .link-btn { margin-top: var(--space-3); }
.meter { height: 8px; border-radius: 999px; background: var(--color-paper); overflow: hidden; border: 1px solid var(--color-line); }
.meter span { display: block; height: 100%; background: var(--color-good); border-radius: inherit; transition: width 400ms ease; }
.meter-note { display: flex; align-items: center; gap: 8px; font-size: var(--text-sm); margin-top: var(--space-3); }
.meter-note svg { flex: none; color: var(--color-good); }
.upsell { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; margin-top: var(--space-4); padding: var(--space-4); border-radius: var(--radius-md); border: 1px dashed var(--color-line-strong); background: var(--color-surface); text-decoration: none; }
.upsell:hover { border-color: var(--color-primary); }
.upsell strong { font-size: var(--text-sm); }
.upsell span { grid-column: 1; font-size: var(--text-xs); color: var(--color-muted); }
.upsell svg { grid-row: 1 / span 2; grid-column: 2; color: var(--color-primary); }

.cart-head { margin-bottom: var(--space-8); }
.cart-head h1 { font-size: var(--text-2xl); }
.cart-head p { color: var(--color-muted); margin-top: var(--space-2); }
.cart-items { display: grid; border-top: 1px solid var(--color-line); }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: var(--space-5); align-items: center; padding-block: var(--space-5); border-bottom: 1px solid var(--color-line); }
.ci-thumb { display: grid; place-items: center; }
.ci-kind { font-size: var(--text-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); }
.ci-body h2 { font-family: var(--font-display); font-size: var(--text-lg); margin-top: 2px; overflow-wrap: anywhere; }
.ci-detail { font-size: var(--text-sm); color: var(--color-muted); margin-top: 2px; }
.ci-actions { display: flex; gap: var(--space-4); margin-top: var(--space-1); }
.link-btn--muted { color: var(--color-muted); }
.ci-side { display: grid; justify-items: end; gap: var(--space-3); }
.ci-price { font-variant-numeric: tabular-nums; }
.qty--sm button { width: 38px; height: 38px; }
.qty--sm output { min-width: 28px; }
.ship-meter { margin-block: var(--space-6) var(--space-8); }
.cart-fields .form-h:first-child { margin-top: 0; }
.club-note { margin-top: var(--space-4); }
.cart-empty { margin-top: var(--space-2); }
.dl-list { display: grid; gap: var(--space-3); margin-block: var(--space-6) var(--space-3); }
.dl-list li { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--space-4); align-items: center; padding: var(--space-3); border: 1px solid var(--color-line); border-radius: var(--radius-md); background: var(--color-surface); }
.dl-list strong { display: block; font-size: var(--text-sm); overflow-wrap: anywhere; }
.dl-list span { font-size: var(--text-xs); color: var(--color-muted); }
.dl-list .ci-thumb canvas { max-height: 56px; width: auto; }
.dl-btns { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: flex-end; }
.dl-list--files li { grid-template-columns: 56px 1fr; }
.dl-list--files .dl-btns { grid-column: 1 / -1; justify-content: flex-start; }

@media (max-width: 900px) { .added { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .added-main { grid-template-columns: 1fr; }
  .added-thumb { justify-self: start; }
  .added-thumb canvas { max-height: 180px; width: auto; }
  .cart-item { grid-template-columns: 72px 1fr; gap: var(--space-4); align-items: start; }
  .ci-side { grid-column: 2; grid-auto-flow: column; justify-content: space-between; align-items: center; justify-items: start; }
  .dl-list li { grid-template-columns: 48px 1fr; }
  .dl-list li .btn { grid-column: 1 / -1; }
  .dl-list li .dl-btns { grid-column: 1 / -1; justify-content: flex-start; }
  .dl-list li .dl-btns .btn { grid-column: auto; }
  .site-head .wrap { gap: var(--space-3); }
}
.lines [hidden] { display: none; }
.gift-note[hidden], .field[hidden] { display: none; }
/* calendar: one photo spot per month */
.drop--compact { padding: var(--space-6); }
.slots { display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--space-3); margin-top: var(--space-6); }
.slot { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; border: 1.5px dashed var(--color-line-strong); background: var(--color-bg); }
.slot--full { border: 1px solid var(--color-line); background: var(--color-paper); cursor: grab; }
.slot--cover { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.slot-img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; cursor: pointer; }
.slot-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot-img:hover img { filter: brightness(.92); }
.slot-name { position: absolute; top: 6px; left: 6px; z-index: 1; max-width: calc(100% - 38px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; font-weight: 600; background: oklch(1 0 0 / 0.92); padding: 2px 8px; border-radius: 999px; pointer-events: none; }
.slot--cover .slot-name { background: var(--color-primary); color: #fff; }
.slot-add { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 4px; width: 100%; font-size: var(--text-xs); font-weight: 600; color: var(--color-muted); padding-top: 18px; }
.slot-add svg { color: var(--color-primary); }
.slot-add:hover, .slot-add:focus-visible { background: var(--color-primary-soft); color: var(--color-ink); }
.slot-x { position: absolute; top: 4px; right: 4px; z-index: 1; width: 28px; height: 28px; border-radius: 999px; background: oklch(1 0 0 / 0.92); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.slot .tools { position: absolute; bottom: 4px; right: 4px; z-index: 1; display: flex; gap: 2px; }
.slot .tools button { width: 28px; height: 28px; border-radius: 999px; background: oklch(1 0 0 / 0.92); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.slot .tools button:hover, .slot-x:hover { background: #fff; color: var(--color-primary); }
.slot .tools button:disabled { opacity: .35; cursor: not-allowed; }
.slot .warn { position: absolute; bottom: 6px; left: 6px; z-index: 1; font-size: 10px; font-weight: 600; background: oklch(0.96 0.06 80); color: oklch(0.4 0.09 65); padding: 2px 6px; border-radius: 999px; pointer-events: none; }
.slot.dragging { opacity: .4; }
.slot.drop-target { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.cal-photo-edit { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-3); }
.cal-photo-edit[hidden] { display: none; }
@media (max-width: 1000px) { .slots { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) {
  .slots { grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
  .slot--cover { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 2 / 1; }
  .slot-name { font-size: 10px; padding: 2px 5px; }
  .slot-x, .slot .tools button { width: 26px; height: 26px; }
}
/* Lulu sandbox (test mode) */
.lulu-quote { margin-top: var(--space-4); padding: var(--space-3) var(--space-4); border: 1px dashed var(--color-line-strong); border-radius: var(--radius-md); background: var(--color-bg); font-size: var(--text-xs); }
.lq-h { display: flex; align-items: center; gap: 6px; font-weight: 600; margin: 0 0 6px; flex-wrap: wrap; }
.lq-h span { font-weight: 500; color: var(--color-muted); }
.lq-body { margin: 0; color: var(--color-muted); display: grid; gap: 3px; }
.lq-row { display: flex; justify-content: space-between; gap: var(--space-3); color: var(--color-ink); }
.lq-total { font-weight: 600; border-top: 1px solid var(--color-line); padding-top: 4px; margin-top: 2px; }
.lq-note { margin-top: 4px; }
.lulu-panel { margin: var(--space-6) 0; padding: var(--space-5); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-paper); }
.lp-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.lp-head h3 { margin: 0; font-size: var(--text-lg); }
.lp-tag { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: oklch(0.96 0.06 80); color: oklch(0.4 0.09 65); }
.lp-lede { color: var(--color-muted); font-size: var(--text-sm); margin: var(--space-2) 0 var(--space-4); max-width: 60ch; }
.lp-item + .lp-item { border-top: 1px solid var(--color-line); padding-top: var(--space-4); margin-top: var(--space-4); }
.lp-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.lp-na { font-size: var(--text-xs); color: var(--color-muted); }
.lp-steps { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.lp-steps li { display: grid; grid-template-columns: 18px 1fr; gap: var(--space-3); align-items: start; font-size: var(--text-sm); }
.lp-steps b { display: block; font-weight: 600; }
.lp-d { display: block; color: var(--color-muted); font-size: var(--text-xs); overflow-wrap: anywhere; }
.lp-dot { width: 14px; height: 14px; margin-top: 3px; border-radius: 999px; border: 2px solid var(--color-line-strong); }
.lp-steps [data-st="run"] .lp-dot { border-color: var(--color-primary); border-right-color: transparent; animation: lpspin .8s linear infinite; }
.lp-steps [data-st="done"] .lp-dot { background: oklch(0.6 0.12 155); border-color: oklch(0.6 0.12 155); }
.lp-steps [data-st="fail"] .lp-dot { background: var(--color-primary); border-color: var(--color-primary); }
.lp-steps [data-st="fail"] .lp-d { color: var(--color-primary); }
.lp-steps [data-st="wait"] b { color: var(--color-muted); font-weight: 500; }
@keyframes lpspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lp-steps [data-st="run"] .lp-dot { animation: none; } }
.lp-job { margin-top: var(--space-4); padding: var(--space-3) var(--space-4); background: var(--color-bg); border-radius: var(--radius-md); display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); flex-wrap: wrap; font-size: var(--text-sm); }
.lp-job p { margin: 0; }
.lp-job[hidden] { display: none; }
.lp-pay { font-size: var(--text-sm); font-weight: 600; margin: 0 0 var(--space-4); padding: var(--space-2) var(--space-3); background: var(--color-bg); border-radius: var(--radius-md); }
.lp-release { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--color-border, rgba(0,0,0,.1)); font-size: var(--text-sm); }
.lp-release[hidden] { display: none; }
.lp-release p { margin: 0 0 var(--space-3); color: var(--color-muted); }
.confirm .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; overflow-wrap: anywhere; }

/* Policy pages */
.prose { max-width: 68ch; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: var(--space-2); }
.prose h2 { font-size: 1.25rem; margin-top: var(--space-8); margin-bottom: var(--space-3); }
.prose p, .prose li { line-height: 1.65; }
.prose ul { padding-left: 1.25rem; display: grid; gap: var(--space-2); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose .updated { color: var(--color-muted); font-size: .9rem; margin-bottom: var(--space-6); }
.prose .note { background: var(--color-primary-soft); border-radius: 10px; padding: var(--space-4); margin-bottom: var(--space-6); }
.foot-base a { text-decoration: underline; text-underline-offset: 2px; color: inherit; }
.prose ul + p, .prose p + p { margin-top: var(--space-4); }
.foot-base a { display: inline-block; padding-block: 10px; }
.stripe-card { min-height: 96px; margin-bottom: var(--space-4); }
.stripe-card[hidden] { display: none; }
