/* Mighty Pieces - product UI styles. Mobile-first. Every value is a token; raw literals live only in :root. */
:root {
  --paper: #fff8ef;      /* milk — page */
  --sand: #f3e4d0;       /* alt section band */
  --board: #d7c2a6;      /* cardboard */
  --ink: #2b1f3b;        /* plum ink — text */
  --ink-2: #5a4e6b;      /* secondary text */
  --ink-3: #8c819b;      /* hints */
  --line: #e6d6c2;       /* hairlines */
  --sun: #f4a62a;        /* marigold — primary action */
  --sun-deep: #c97e0c;
  --sun-soft: #ffe7bd;
  --berry: #d8476b;      /* raspberry — small accents */
  --sea: #2a6f8f;        /* deep teal — links */
  --leaf: #4c9a64;       /* success */
  --snow: #ffffff;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Figtree', system-ui, -apple-system, Segoe UI, sans-serif;

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 104px;
  --shadow-1: 0 1px 2px rgba(43,31,59,.06), 0 6px 18px rgba(43,31,59,.08);
  --shadow-2: 0 10px 30px rgba(43,31,59,.14), 0 2px 6px rgba(43,31,59,.08);
  --focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--sea);
  --max: 1160px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--sea); text-underline-offset: 3px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, .display {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.08; margin: 0;
  font-variation-settings: 'SOFT' 80, 'opsz' 72;
}
h1 { font-size: clamp(2.4rem, 7.6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); }
h3 { font-size: 1.25rem; font-variation-settings: 'SOFT' 80, 'opsz' 24; }
p { margin: 0; }
.lede { color: var(--ink-2); font-size: 1.1rem; max-width: 34em; }
.muted { color: var(--ink-2); }
.hint { color: var(--ink-3); font-size: .92rem; }

.wrap { width: min(100% - 2 * var(--s-5), var(--max)); margin-inline: auto; }
.section { padding-block: var(--s-8); }
.section-head { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); max-width: 38em; }
.band { background: var(--sand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 52px; padding: 0 var(--s-5); border-radius: var(--r-pill); border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; padding-block: var(--s-2);
  transition: transform .18s var(--ease), background .18s, box-shadow .18s, border-color .18s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--sun); color: var(--ink); box-shadow: 0 2px 0 var(--sun-deep); }
.btn-primary:hover { background: #ffb43a; }
.btn-primary:disabled { background: var(--sun-soft); color: var(--ink-3); box-shadow: none; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--snow); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #3b2c52; }
.btn-lg { min-height: 58px; padding-inline: var(--s-6); font-size: 1.06rem; }
.btn-sm { min-height: 40px; padding-inline: var(--s-4); font-size: .92rem; }
.btn-block { width: 100%; }
.linkish { background: none; border: 0; padding: 0; color: var(--sea); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-stuck { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: var(--s-4); }
.brand { display: inline-flex; align-items: center; gap: var(--s-2); text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; font-variation-settings: 'SOFT' 100, 'opsz' 24; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand, .top .btn-sm { white-space: nowrap; }
@media (max-width: 420px) { .brand { font-size: 1.15rem; gap: 6px; } .brand svg { width: 28px; height: 28px; } .top .btn-sm { padding-inline: var(--s-3); font-size: .88rem; } }
.nav { display: none; gap: var(--s-5); }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--ink); }
@media (min-width: 760px) { .nav { display: flex; } }

/* ---------- Hero ---------- */
.hero { padding-block: var(--s-6) var(--s-7); }
.hero .wrap { display: grid; gap: var(--s-6); align-items: center; }
.hero-copy { display: grid; gap: var(--s-5); }
.hero h1 em { font-style: italic; font-weight: 400; font-variation-settings: 'SOFT' 100, 'opsz' 144; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero-facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); color: var(--ink-2); font-size: .95rem; }
.hero-facts span { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero-facts i { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); display: inline-block; }
.hero-art { position: relative; padding: 4% 8% 12%; max-width: 360px; margin-inline: auto; width: 100%; }
.hero-art::before { content: ''; position: absolute; inset: 10% -4% 0; background: radial-gradient(60% 60% at 50% 60%, var(--sun-soft), transparent 70%); z-index: 0; }
.hero-art .jigsaw { position: relative; z-index: 1; border-radius: 18px; box-shadow: var(--shadow-2); overflow: visible; transition: opacity .5s; }
.hero-art .jigsaw.is-fading { opacity: 0; }
.hero-art .jigsaw-lifted { transform-box: fill-box; }
.hero-caption { position: relative; z-index: 2; display: flex; gap: var(--s-2); align-items: baseline; justify-content: center; margin-top: var(--s-3); font-size: .9rem; color: var(--ink-2); }
.hero-caption strong { font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
@media (min-width: 900px) {
  .hero { padding-block: var(--s-7) var(--s-8); }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: var(--s-7); }
  .hero-art { padding: 2% 6% 8% 2%; max-width: 470px; margin: 0; justify-self: end; }
  .hero-caption { position: absolute; left: -2%; bottom: 2%; margin: 0; display: grid; gap: 2px; background: var(--snow); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); box-shadow: var(--shadow-1); max-width: 220px; color: var(--ink-2); }
}

/* ---------- How it works ---------- */
.how { padding-block: var(--s-8); }
.steps { display: grid; gap: var(--s-6); position: relative; }
.step { display: grid; grid-template-columns: 96px 1fr; gap: var(--s-4); align-items: center; }
.step-art { width: 96px; height: 96px; position: relative; }
.step-copy h3 { margin-bottom: var(--s-1); }
.step-copy p { color: var(--ink-2); }
.step-no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 700; font-size: .85rem; margin-bottom: var(--s-2); }
/* step 1: tilted snapshot */
.art-photo { position: absolute; inset: 8px; background: var(--snow); border-radius: 6px; padding: 6px 6px 16px; box-shadow: var(--shadow-1); transform: rotate(-6deg); }
.art-photo::after { content: ''; display: block; height: 100%; border-radius: 3px; background: linear-gradient(160deg, #cfe3ef, #8fb8d1 60%, #e9c88f); }
.art-photo i { position: absolute; left: 50%; top: 42%; width: 20px; height: 20px; border-radius: 50%; background: var(--sun); transform: translate(-50%, -50%); box-shadow: 0 0 0 4px var(--snow); }
/* step 2: fanned world tiles */
.art-fan { position: absolute; inset: 0; }
.art-fan img { position: absolute; width: 44px; height: 66px; left: 26px; top: 14px; border-radius: 5px; box-shadow: var(--shadow-1); transform-origin: 50% 115%; object-fit: cover; }
.art-fan img:nth-child(1) { transform: rotate(-18deg); }
.art-fan img:nth-child(2) { transform: rotate(0deg) translateY(-5px); z-index: 1; }
.art-fan img:nth-child(3) { transform: rotate(18deg); }
/* step 3: small puzzle */
.art-puzzle { position: absolute; inset: 4px 22px; }
.art-puzzle .jigsaw { border-radius: 6px; overflow: visible; box-shadow: var(--shadow-1); }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
  .step { grid-template-columns: 1fr; text-align: center; justify-items: center; align-content: start; gap: var(--s-4); }
  .step-art { width: 120px; height: 120px; z-index: 1; }
  .art-fan img { width: 54px; height: 81px; left: 33px; top: 18px; }
  .art-puzzle { inset: 4px 28px; }
  .step-no { margin-bottom: var(--s-2); }
}

/* ---------- Worlds (theme gallery) ---------- */
.worlds-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); align-items: start; } /* start, not stretch: Safari centers a <button>'s content vertically inside its box (UA RenderButton, immune to align-content), so a stretched tile drifts its title down by half the row slack */
.tile { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: var(--s-2); text-decoration: none; color: inherit; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; } /* plain <a> + flex column: image, fixed --s-2 gap, title, blurb. No <button>: WebKit centres a button's content in its box (UA RenderButton), which drifted titles per card on iPhone */
.tile:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: var(--r-md); }
.tile-art { position: relative; width: 100%; flex: none; aspect-ratio: 2 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--board); box-shadow: var(--shadow-1); transition: transform .25s var(--ease), box-shadow .25s; }
.tile-art > svg, .tile-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile:hover .tile-art { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.tile h3 { font-size: 1.1rem; margin: 0; }
.tile p { color: var(--ink-2); font-size: .92rem; margin: 0; }
@media (min-width: 760px) { .worlds-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }

/* ---------- Sizes / pricing ---------- */
.sizes-grid { display: grid; gap: var(--s-4); }
.size-card { display: grid; gap: var(--s-3); background: var(--snow); border: 2px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); text-align: left; cursor: pointer; transition: border-color .2s, transform .2s var(--ease); }
.size-card:hover { border-color: var(--ink-3); }
.size-card[aria-pressed="true"], .size-card[aria-checked="true"], .size-card.is-selected { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.size-card .thumb { width: 100%; aspect-ratio: 11 / 14; max-height: 150px; border-radius: var(--r-sm); justify-self: start; }
.sizes-grid .size-card { grid-template-columns: 96px 1fr; grid-template-areas: 'thumb text' 'thumb price' 'thumb tag'; align-items: start; column-gap: var(--s-4); }
.sizes-grid .size-card .thumb { grid-area: thumb; width: 96px; height: auto; max-height: none; }
.sizes-grid .size-card .price { grid-area: price; display: flex; align-items: baseline; gap: 6px; }
.sizes-grid .size-card .price small { font-weight: 500; font-size: .85rem; color: var(--ink-2); }
.sizes-grid .size-card .tag { grid-area: tag; }
.size-card .note { color: var(--ink-2); font-size: .92rem; margin-top: 2px; }
.size-card .pieces { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.size-card .pieces small { font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: var(--ink-2); margin-left: 4px; }
.size-card .price { font-weight: 700; font-size: 1.15rem; }
.size-card .dims { color: var(--ink-2); font-size: .92rem; }
.size-card .tag { justify-self: start; font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: var(--r-pill); background: var(--sun-soft); color: var(--sun-deep); }
@media (min-width: 760px) {
  .sizes-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
  .sizes-grid .size-card { grid-template-columns: 1fr; grid-template-areas: 'thumb' 'text' 'price' 'tag'; }
  .sizes-grid .size-card .thumb { width: 60%; max-width: 150px; }
}
.sizes-note { margin-top: var(--s-5); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: .95rem; }

/* ---------- Gift band ---------- */
.gift .wrap { display: grid; gap: var(--s-6); align-items: center; }
.gift-list { display: grid; gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.gift-list li { display: grid; grid-template-columns: 44px 1fr; gap: var(--s-3); align-items: start; }
.gift-list svg { width: 44px; height: 44px; }
.gift-list strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-variation-settings: 'SOFT' 80, 'opsz' 24; }
.gift-list span { color: var(--ink-2); }
.gift-box { position: relative; aspect-ratio: 4 / 5; max-width: 420px; width: 100%; margin-inline: auto; }
.gift-box img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
@media (min-width: 900px) { .gift .wrap { grid-template-columns: .9fr 1.1fr; gap: var(--s-8); } .gift-box { max-width: 480px; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; border-top: 1px solid var(--line); max-width: 760px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: var(--s-4) 0; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.faq-list details[open] summary::after { transform: rotate(-135deg); }
.faq-list details p { color: var(--ink-2); padding: 0 0 var(--s-4); max-width: 60ch; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: var(--s-6); color: var(--ink-2); font-size: .95rem; }
.foot .wrap { display: grid; gap: var(--s-4); }
.foot nav { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.foot a { color: var(--ink-2); }
@media (min-width: 760px) { .foot .wrap { grid-template-columns: auto 1fr auto; align-items: center; } .foot nav { justify-content: center; } }

/* ---------- Creator ---------- */
.creator { padding-block: var(--s-5) var(--s-8); }
.creator .wrap { max-width: 820px; }
.creator-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); }
.crumbs { display: flex; gap: var(--s-2); align-items: center; font-size: .9rem; color: var(--ink-3); font-weight: 600; flex-wrap: wrap; }
.crumbs span { display: inline-flex; align-items: center; gap: 6px; }
.crumbs span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.crumbs span.is-done::before { background: var(--leaf); }
.crumbs span.is-current { color: var(--ink); }
.crumbs span.is-current::before { background: var(--sun); }
.card { background: var(--snow); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: var(--s-5); display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .card { padding: var(--s-6); } }
.card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.field { display: grid; gap: var(--s-2); }
.field label, .field .label { font-weight: 600; }
.input { width: 100%; min-height: 50px; border: 2px solid var(--line); border-radius: var(--r-md); padding: 0 var(--s-4); background: var(--paper); }
.input:focus { border-color: var(--sea); outline: none; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; justify-content: space-between; }
.actions .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .actions .btn { flex: 0 0 auto; } }
.error { background: #fde8ec; color: #8a1d38; border-radius: var(--r-md); padding: var(--s-3) var(--s-4); font-weight: 500; }

/* dropzone */
.drop { position: relative; border: 2px dashed var(--board); border-radius: var(--r-lg); background: var(--paper); min-height: 240px; display: grid; place-items: center; text-align: center; padding: var(--s-5); transition: border-color .2s, background .2s; cursor: pointer; }
.drop.is-over { border-color: var(--sea); background: #eef6fa; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.drop-inner { display: grid; gap: var(--s-3); justify-items: center; }
.drop-inner svg { width: 64px; height: 64px; }
.drop-inner strong { font-size: 1.05rem; }
.photo-preview { display: grid; gap: var(--s-4); }
.photo-frame { position: relative; justify-self: center; max-width: 360px; width: 100%; background: var(--snow); padding: 10px 10px 14px; border-radius: 8px; box-shadow: var(--shadow-2); transform: rotate(-1.5deg); }
.photo-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; background: var(--sand); }
.photo-meta { display: flex; justify-content: space-between; gap: var(--s-3); align-items: center; flex-wrap: wrap; }

/* theme picker */
.pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); align-items: start; }
.pick { position: relative; display: grid; grid-template-rows: auto 1fr; align-content: start; gap: var(--s-1); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; }
.pick .tile-art { border-radius: var(--r-md); border: 3px solid transparent; transition: border-color .2s, transform .2s var(--ease); }
.pick[aria-checked="true"] .tile-art { border-color: var(--ink); }
.pick[aria-checked="true"]::after { content: ''; position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff8ef' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center/14px no-repeat; }
.pick strong { font-size: .95rem; }
@media (min-width: 560px) { .pick-grid { grid-template-columns: repeat(4, 1fr); } }

/* orientation toggle */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.seg button { display: grid; justify-items: center; align-content: center; gap: var(--s-2); padding: var(--s-4); border: 2px solid var(--line); border-radius: var(--r-md); background: var(--paper); cursor: pointer; font-weight: 600; }
.seg button[aria-checked="true"] { border-color: var(--ink); background: var(--snow); }
.seg button small { display: block; font-weight: 500; color: var(--ink-3); font-size: .82rem; }
.seg i { display: block; background: var(--board); border-radius: 4px; }
.seg .land { width: 48px; height: 32px; }
.seg .port { width: 32px; height: 48px; }

/* loading */
.making { display: grid; gap: var(--s-5); justify-items: center; text-align: center; }
.making .jigsaw { border-radius: 18px; box-shadow: var(--shadow-2); max-width: 520px; width: 100%; height: auto; }
.making .jigsaw[viewBox="0 0 800 1200"] { max-width: min(100%, 320px); }
.making .jp { opacity: 0; transition: opacity .6s var(--ease); }
.making .jp.is-on { opacity: 1; }
.progress { width: 100%; max-width: 420px; height: 8px; background: var(--sand); border-radius: var(--r-pill); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--sun); border-radius: inherit; transition: width .8s linear; }
.making-msg { min-height: 2.4em; color: var(--ink-2); max-width: 36ch; }

/* preview + order */
.preview { display: grid; gap: var(--s-5); }
.preview-stage { position: relative; padding: 4% 8% 10%; }
.preview-stage::before { content: ''; position: absolute; inset: 15% 0 0; background: radial-gradient(60% 60% at 50% 60%, var(--sun-soft), transparent 70%); }
.preview-stage .jigsaw { position: relative; border-radius: 18px; box-shadow: var(--shadow-2); overflow: visible; }
.preview-stage.is-vertical { padding-inline: 14%; }
@media (min-width: 760px) { .preview-stage.is-vertical { padding-inline: 22%; } }
.preview-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3); }
.order-sizes { display: grid; gap: var(--s-3); }
.order-sizes .size-card { grid-template-columns: 72px 1fr auto; align-items: center; padding: var(--s-3) var(--s-4); border-radius: var(--r-md); }
.order-sizes .size-card .thumb { width: 56px; height: auto; max-height: 72px; justify-self: center; }
.size-card .thumb.is-h { aspect-ratio: 14 / 11; } /* landscape designs show landscape thumbs (Ofir 11.11) */
.order-sizes .size-card .thumb.is-h { width: 60px; max-height: 48px; }
.order-sizes .size-card { grid-template-columns: 60px 1fr auto; }
.order-sizes .size-card .pieces { font-size: 1.25rem; }
.order-sizes .size-card .tag { display: none; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: var(--s-4); }
.total strong { font-family: var(--font-display); font-size: 1.6rem; }
.trust { display: grid; gap: var(--s-2); color: var(--ink-2); font-size: .92rem; }
.trust span { display: flex; gap: var(--s-2); align-items: center; }
.trust svg { width: 18px; height: 18px; flex: none; color: var(--leaf); }

/* ---------- Status / small pages ---------- */
.page { padding-block: var(--s-6) var(--s-7); }
.page .wrap { max-width: 720px; display: grid; gap: var(--s-4); }
.page .status { margin-block: var(--s-2); }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page h2 { font-size: 1.35rem; margin-top: var(--s-4); }
.page p, .page li { color: var(--ink-2); }
.status { display: grid; gap: var(--s-4); background: var(--snow); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--shadow-1); }
.status dl { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-4); margin: 0; }
.status dt { color: var(--ink-3); }
.status dd { margin: 0; font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill); font-weight: 700; font-size: .95rem; background: var(--sand); }
.pill.ok { background: #e3f2e7; color: #23633a; }
.pill.warn { background: var(--sun-soft); color: var(--sun-deep); }
.pill.bad { background: #fde8ec; color: #8a1d38; }
.piece-mark { width: 76px; height: 76px; }
.success-art { max-width: 420px; padding: 2% 6% 8% 0; }
.foot-compact { padding-block: var(--s-5); font-size: .88rem; }
.foot-compact .wrap { gap: var(--s-2); }

/* ---------- Gift calendar (deadline strip) — a dated ticket row, not an urgency banner ---------- */
.deadline { background: var(--ink); color: var(--paper); font-size: .92rem; }
.deadline .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); min-height: 44px; padding-block: var(--s-2); }
.deadline-label { font-family: var(--font-display); font-weight: 600; font-variation-settings: 'SOFT' 100, 'opsz' 24; color: var(--sun); letter-spacing: .01em; }
.deadline-item { display: inline-flex; align-items: center; gap: 8px; }
.deadline-item strong { font-weight: 700; color: var(--snow); }
.deadline-item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.deadline-item.is-late::before { background: var(--berry); }
.deadline-note { color: var(--ink-3); margin-left: auto; }
@media (max-width: 759px) { .deadline-note { display: none; } .deadline .wrap { gap: var(--s-1) var(--s-4); } }
.deadline-inline { margin: 0; }
/* each holiday = one unbreakable unit (icon + text); stacked one per line on phones (Ofir 10.11) */
.deadline-text { display: flex; flex-wrap: wrap; gap: 4px var(--s-4); }
.deadline-text .dl { white-space: nowrap; }
.deadline-text .dl-long { white-space: normal; } /* one-sentence states (from Nov 20) may wrap, but stay one unit */
@media (max-width: 759px) { .deadline-text { flex: 1 1 100%; flex-direction: column; align-items: flex-start; gap: 2px; } } /* full row on every phone (430 fitted beside the label and indented the stack) */

/* ---------- Privacy strip ---------- */
.privacy-strip { padding-block: var(--s-6); }
.privacy-strip .wrap { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-3); align-items: start; max-width: 760px; margin-inline: auto; color: var(--ink-2); font-size: .98rem; }
.privacy-strip h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); color: var(--ink); margin-bottom: var(--s-2); }
.privacy-points { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-weight: 600; color: var(--ink); font-size: .92rem; }
.privacy-points li { display: inline-flex; align-items: center; gap: 6px; }
.privacy-points li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); align-items: start; color: var(--ink-2); font-size: .95rem; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.deadline-text strong { color: var(--snow); }
.privacy-strip svg { width: 28px; height: 28px; color: var(--leaf); }
.privacy-strip strong { color: var(--ink); }

/* ---------- Pre-launch capture at the pay step ---------- */
.soon { display: grid; gap: 4px; background: var(--sun-soft); border-radius: var(--r-md); padding: var(--s-4); color: var(--ink-2); }
.soon strong { color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; font-variation-settings: 'SOFT' 80, 'opsz' 24; }
.soon.is-done { grid-template-columns: 28px 1fr; gap: var(--s-3); background: #e3f2e7; align-items: start; }
.soon.is-done svg { width: 28px; height: 28px; color: var(--leaf); }
.soon.is-done div { display: grid; gap: 4px; }
.soon.is-done strong { font-family: var(--font-body); font-size: 1rem; }
.making .jigsaw.is-photo image { filter: saturate(.85); }
.sibling { display: grid; gap: var(--s-3); justify-items: center; }
.sibling .photo-frame { max-width: 200px; transform: rotate(1.5deg); }

/* ship-to on our page, so gift buyers can send to anyone (Ofir 11.11: PayPal used his saved Israeli address, no place to type one) */
.shipto { border: 0; padding: 0; margin: 0; min-width: 0; }
.shipto legend { padding: 0; margin-bottom: var(--s-2); }
.shipto-row { display: grid; grid-template-columns: 1fr 92px 104px; gap: var(--s-2); }
.shipto select.input { padding: 0 var(--s-2); }
