/* Within storefront — recreated from the Claude Design project "RalexLab - Tracker".
   No inline styles anywhere (CSP): every visual state is a class. Fonts are self-hosted (SIL OFL). */

/* ── Fonts ─────────────────────────────────────────────────────────────────── */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/jost-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/jost-latin-ext-300-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jost-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/jost-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/jost-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/jost-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/spectral-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/spectral-latin-ext-300-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/spectral-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/spectral-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 300; font-display: swap; src: url("/fonts/spectral-latin-300-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 300; font-display: swap; src: url("/fonts/spectral-latin-ext-300-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/spectral-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/spectral-latin-ext-400-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poiret One"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/poiret-one-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poiret One"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/poiret-one-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Caveat (SIL OFL): the handwriting on the example tracking pages */
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/caveat-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/caveat-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ── Tokens ────────────────────────────────────────────────────────────────── */
:root {
  --clay: #d49384;
  --clay-soft: #edd3cb;
  --clay-deep: #b87566;
  --clay-text: #95584b; /* clay for small text: 5:1 on paper (WCAG AA) */
  --apricot: #e8bd8a;
  --apricot-soft: #f3e3cc;
  --sage: #a9c6b2;
  --sage-soft: #d9e6dc;
  --sky: #a7c1dc;
  --sky-soft: #e3eaf3;
  --plum: #cb9fb0;
  --ink: #33302b;
  --ink-soft: #6b655c;
  --ink-faint: #9a9388;
  --paper: #f7f2ea;
  --paper-2: #f1eadd;
  --card: #fdfbf7;
  --line: #e6dfd3;
  --danger: #a94a3c;
  --ok: #4f7d5c;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wordmark: "Poiret One", "Jost", sans-serif;
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --shadow: 0 30px 60px -30px rgba(51, 48, 43, 0.35), 0 12px 24px -16px rgba(51, 48, 43, 0.2);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Base ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--clay-deep); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.12; margin: 0; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
.eyebrow { font: 400 0.72rem/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 1.2rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 34rem; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.85rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 52px; padding: 0 2rem; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 400 0.78rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease); }
.btn:hover { background: #1f1d1a; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(51, 48, 43, 0.35); }
.btn-ghost:hover { background: rgba(51, 48, 43, 0.06); }
.btn-block { width: 100%; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: inherit; }

/* ── Logo ──────────────────────────────────────────────────────────────────── */
/* Logo: looped W (SVG) + "ithin", sized like the design (34 × 30 px mark, 27 px text). */
.logo { display: inline-flex; align-items: flex-end; font-size: 27px; }
.logo-w { width: 1.26em; height: 1.11em; overflow: visible; flex: none; }
.logo-text { font-family: var(--wordmark); font-size: 1em; letter-spacing: 0.13em; line-height: 0.8; margin-left: 1px; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(32px, 6vw, 80px); padding-block: clamp(48px, 9vw, 110px); }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 4.6rem); margin-bottom: 1.6rem; }

/* Tracker cover (SVG) */
.cover { position: relative; width: min(340px, 72vw); aspect-ratio: 1 / 2; background: #fff; box-shadow: var(--shadow); }
.cover svg { width: 100%; height: 100%; }
.cover-sm { width: 64px; box-shadow: none; border: 1px solid var(--line); }

/* ── Home (follows "Within Website" in Claude Design) ──────────────────────── */
:root {
  --home-eyebrow: #7f6559;    /* design #8A6F62, darkened to 4.6:1 for 12px text */
  --home-body: #4e4841;
  --home-unfold-bg: #efe7da;
  --home-sage-bg: #e3ebe4;
  --home-cream: #fffdf9;
}
.home-eyebrow { font: 400 0.75rem/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--home-eyebrow); margin: 0; }

/* Unfold: scroll-driven 3D accordion (geometry set by site.js; without JS it shows the folded cover). */
.unfold { background: var(--home-unfold-bg); position: relative; }
.unfold.is-live { height: 360vh; }
.unfold-sticky { position: relative; min-height: 640px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 44px; padding-block: 48px; }
.unfold.is-live .unfold-sticky { position: sticky; top: 72px; height: calc(100vh - 72px); min-height: 0; padding-block: 0; }
.unfold-hint { position: absolute; top: 22px; margin: 0; font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.unfold-viewport { display: flex; align-items: center; justify-content: center; width: 100%; height: 400px; }
.unfold-book { position: relative; width: 150px; height: 300px; transform-style: preserve-3d; transform-origin: center center; }
.unfold-panel { position: absolute; top: 0; background-color: #fff; background-size: 100% 100%; display: none; }
.unfold.is-live .unfold-panel, .unfold.is-static .unfold-panel { display: block; }
.unfold-shade { position: absolute; inset: 0; }
.unfold-panel-1 { background-image: url("/img/design/mist-01.webp"); }
.unfold-panel-2 { background-image: url("/img/design/mist-02.webp"); }
.unfold-panel-3 { background-image: url("/img/design/mist-03.webp"); }
.unfold-panel-4 { background-image: url("/img/design/mist-04.webp"); }
.unfold-panel-5 { background-image: url("/img/design/mist-05.webp"); }
.unfold-panel-6 { background-image: url("/img/design/mist-06.webp"); }
.unfold-panel-7 { background-image: url("/img/design/mist-07.webp"); }
.unfold-panel-8 { background-image: url("/img/design/mist-08.webp"); }
.unfold-cover { position: absolute; top: 0; left: 50%; width: 150px; height: 300px; margin-left: -75px; background: #fff url("/img/design/cover-front.webp") 0 0 / 100% 100%; transform: translateZ(2px); box-shadow: 2px 2px 0 #ede6da, 4px 4px 0 #e4dbcd, 0 18px 36px rgba(51, 48, 43, 0.16); pointer-events: none; }
.unfold-captions { position: relative; width: 100%; max-width: 760px; height: 210px; }
.unfold-caption { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; pointer-events: none; opacity: 0; }
.unfold-caption[data-caption="1"] { opacity: 1; }
.unfold-caption p { margin: 0; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: #7a6155; }
.unfold-caption h3 { margin: 0; font-weight: 300; font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.1; }
.unfold-caption span { font-size: 1rem; line-height: 1.6; color: var(--home-body); max-width: 460px; padding: 0 12px; }

/* ── Sections ──────────────────────────────────────────────────────────────── */
.section-tight { padding-block: clamp(40px, 6vw, 72px); }

/* ── Forms ─────────────────────────────────────────────────────────────────── */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.8rem; color: var(--ink-soft); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color 0.15s; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(51, 48, 43, 0.08); }
.textarea { min-height: 96px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; } /* a message under one field mustn't stretch its neighbour */
.check { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.field-error, .validation-summary-errors, .field-validation-error { color: var(--danger); font-size: 0.82rem; }
.input[aria-invalid="true"], .input.input-validation-error { border-color: var(--danger); }
.validation-summary-errors ul { margin: 0 0 14px; padding-left: 18px; }
/* With no errors the tag helper renders an empty list hidden by an inline style, which the CSP blocks: hide it here. */
.validation-summary-valid { display: none; }
.input-validation-error { border-color: var(--danger); }
.notice { padding: 14px 18px; border-radius: var(--radius); background: var(--sage-soft); margin-bottom: 18px; font-size: 0.92rem; }
.notice.warn { background: var(--apricot-soft); }
.notice.error { background: #f3dcd7; color: #6e2e24; }

/* ── Page head (cart, cookies) ─────────────────────────────────────────────── */
.page-head { padding-block: clamp(48px, 8vw, 96px) 24px; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4rem); }

/* ── Cart page ─────────────────────────────────────────────────────────────── */
.drawer-empty { display: grid; place-items: center; align-content: center; gap: 20px; height: 100%; text-align: center; font: italic 300 1.2rem/1 var(--serif); }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.cart-line h3 { font-size: 1.15rem; }
.cart-line .sub { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 12px; }
.cart-line .controls { display: flex; align-items: center; gap: 16px; }
.cart-line .remove { font-size: 0.8rem; }
.totals-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
body.drawer-open { overflow: hidden; }

/* ── Test payment (dev) ────────────────────────────────────────────────────── */
.methods { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }

/* ── Status card (account, lookup, withdraw, review, 404) ──────────────────── */
.status-card { background: var(--card); padding: clamp(28px, 5vw, 56px); margin: clamp(32px, 6vw, 64px) auto; max-width: 720px; }
.status-card h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.status-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.status-meta dt { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.status-meta dd { margin: 0; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .row-2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ── Customer account ── */
.account-card { max-width: 560px; }
.account-card form { margin-top: 1.4rem; }
.account-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 18px; }
.account-actions a { font-size: 0.9rem; }
.account-switch { margin-top: 1.6rem; font-size: 0.9rem; }
.account { padding-block: clamp(32px, 6vw, 64px); }
.account-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.account-header h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.3rem; }
.account-nav { display: flex; gap: 20px; align-items: center; font-size: 0.9rem; }
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; align-items: start; }
.account .card { background: var(--card); padding: clamp(22px, 4vw, 36px); }
.account .card h2 { font-size: 1.5rem; margin-bottom: 0.8rem; }
.order-list { list-style: none; margin: 0; padding: 0; }
.order-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.order-list li:last-child { border-bottom: 0; }
.order-list li > div { display: grid; gap: 4px; }
.order-meta { text-align: right; font-size: 0.9rem; }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: #8e3b30; }
@media (max-width: 640px) { .order-meta { text-align: left; } }
.pow-status { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; font-size: 0.8rem; color: var(--ink-soft); }
.pow-icon { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.pow-status[data-state="working"] .pow-icon { border-right-color: transparent; animation: pow-spin 0.8s linear infinite; }
.pow-status[data-state="done"] { color: #3f5a3c; }
.pow-status[data-state="done"] .pow-icon { background: var(--sage-soft); border-color: #3f5a3c; position: relative; }
.pow-status[data-state="done"] .pow-icon::after { content: ""; position: absolute; left: 3.5px; top: 0.5px; width: 3px; height: 7px; border: solid #3f5a3c; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.pow-status[data-state="failed"] { color: var(--danger); }
@keyframes pow-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pow-status[data-state="working"] .pow-icon { animation: none; } }

/* ── Maintenance page (bare layout) ───────────────────────────────────────── */
.maintenance { max-width: 640px; min-height: 60vh; margin: 0 auto; padding: clamp(64px, 10vw, 120px) 24px clamp(72px, 10vw, 128px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; }
.maintenance h1 { margin: 0; font-weight: 300; font-size: clamp(2.5rem, 5.6vw, 4.25rem); line-height: 1.08; text-wrap: balance; }
.maintenance-message { display: flex; flex-direction: column; gap: 14px; }
.maintenance-message p { margin: 0; font-size: 1.125rem; line-height: 1.75; color: var(--home-body); font-weight: 300; text-wrap: pretty; }
.maintenance-back { margin: 8px 0 0; padding: 14px 22px; background: var(--home-sage-bg); font-size: 0.9375rem; color: var(--ink); }
.maintenance-back strong { font-weight: 400; }
.maintenance-contact { margin: 0; font-size: 0.875rem; color: var(--ink-soft); }
.maintenance-contact a { color: var(--ink); text-underline-offset: 3px; }

/* ── Pre-launch page (landing layout; "Within Website - pre-launch page", version B · Split) ── */
.prelaunch { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; }
.prelaunch-photo { position: relative; height: 46vh; overflow: hidden; background: var(--home-sage-bg); display: flex; align-items: center; justify-content: center; padding: 6vh 24px; box-sizing: border-box; }
/* The tracker, sized to the panel: --u is 1% of the panel's height, or less when the panel is narrow, so the cover
   and the folded pages always fit side by side. Container units (cqh/cqw) refer to .prelaunch-stage. */
.prelaunch-stage { position: relative; width: 100%; height: 100%; max-height: 760px; container-type: size; }
.prelaunch-fold, .prelaunch-cover { --u: min(1cqh, 0.78cqw); }
.prelaunch-fold { position: absolute; z-index: 1; left: calc(50cqw - var(--u) * 24); top: calc(50cqh - var(--u) * 29); height: calc(var(--u) * 62); display: flex; perspective: calc(var(--u) * 150); }
.prelaunch-page { position: relative; flex: none; width: calc(var(--u) * 31); height: 100%; background: #fff; transform: rotateY(-38deg); box-shadow: 0 18px 34px rgba(51, 48, 43, 0.12); }
.prelaunch-page + .prelaunch-page { margin-left: calc(var(--u) * -6.6); }
.prelaunch-page:nth-child(2) { transform: rotateY(38deg); }
.prelaunch-page img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* Light falls from the left: the middle page, turned away, is in shade. */
.prelaunch-page::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(51, 48, 43, 0), rgba(51, 48, 43, 0.05)); }
.prelaunch-page:nth-child(2)::after { background: linear-gradient(90deg, rgba(51, 48, 43, 0.2), rgba(51, 48, 43, 0.1)); }
.prelaunch-cover { position: absolute; z-index: 2; left: calc(50cqw - var(--u) * 60); top: 50%; transform: translateY(-50%); height: calc(var(--u) * 80); width: auto; display: block; background: #fff; box-shadow: 2px 2px 0 #ede6da, 4px 4px 0 #e4dbcd, 0 24px 48px rgba(51, 48, 43, 0.16); }
.prelaunch-caption { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; margin: 0; text-align: center; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(15px, 1.6vw, 19px); color: #4a5a4f; }
.prelaunch-main { display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: clamp(32px, 5vw, 72px) clamp(20px, 5vw, 72px); max-width: 620px; width: 100%; box-sizing: border-box; }
@media (min-width: 900px) {
  .prelaunch { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .prelaunch-photo { position: sticky; top: 0; height: 100vh; }
}
.prelaunch-logo { color: var(--ink); }
.prelaunch-logo .logo { font-size: 27px; }
.prelaunch-intro { display: flex; flex-direction: column; gap: 18px; }
.prelaunch-intro .home-eyebrow { margin: 0; }
.prelaunch-intro h1 { margin: 0; font-weight: 300; font-size: clamp(2.25rem, 4.6vw, 3.625rem); line-height: 1.06; letter-spacing: -0.01em; text-wrap: balance; }
.prelaunch-intro p:not(.home-eyebrow) { margin: 0; font-size: 1.0625rem; line-height: 1.7; color: var(--home-body); font-weight: 300; text-wrap: pretty; }
.prelaunch-points { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 32px; }
.prelaunch-points > div { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid rgba(51, 48, 43, 0.22); padding-top: 16px; }
.prelaunch-points h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.3125rem; }
.prelaunch-points p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--home-body); }
.prelaunch-form fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.prelaunch-field { display: flex; flex-direction: column; gap: 7px; }
.prelaunch-field > span { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.prelaunch-field .input, .prelaunch-field .select { height: 52px; border-radius: 10px; border-color: rgba(51, 48, 43, 0.22); background: var(--home-cream); font-size: 1rem; }
.prelaunch-form .btn { width: 100%; min-height: 56px; }
.prelaunch-form .pow-status { margin: 0; font-size: 0.75rem; color: var(--ink-soft); }
.prelaunch-form .pow-status[data-state="idle"] { display: none; }
.prelaunch-error { margin: 0; font-size: 0.8125rem; color: #a2463f; }
.prelaunch-note { margin: 0; font-size: 0.8125rem; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.prelaunch-note a { color: inherit; text-underline-offset: 3px; }
.prelaunch-thanks { background: var(--home-sage-bg); padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; }
.prelaunch-thanks p { margin: 0; font-size: 0.9375rem; line-height: 1.65; color: #3f4a43; text-wrap: pretty; }
.prelaunch-thanks .prelaunch-thanks-title { font-family: var(--serif); font-size: 1.625rem; line-height: 1.2; color: var(--ink); }
.prelaunch-footer { margin: 0; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px 18px; font-size: 0.75rem; color: #8a8074; letter-spacing: 0.04em; }
.prelaunch-footer a { color: inherit; text-underline-offset: 3px; }

/* ── Cookie banner and settings ────────────────────────────────────────────── */
/* Doesn't block the page (only necessary cookies run before a choice), stays below the cart drawer. */
.cookie-banner { position: fixed; z-index: 50; left: var(--gutter); right: var(--gutter); bottom: 16px; max-width: 760px; margin-inline: auto; display: grid; grid-template-columns: 1fr auto; gap: 16px 28px; align-items: center; padding: 20px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cookie-banner h2 { font-size: 1.3rem; margin: 0 0 0.3rem; }
.cookie-banner p { margin: 0; font-size: 0.88rem; line-height: 1.55; color: var(--ink-soft); }
.cookie-banner p a { color: var(--ink); text-underline-offset: 3px; }
.cookie-banner-actions { display: flex; gap: 10px; }
.cookie-banner-actions .btn { min-height: 44px; padding: 0 1.3rem; white-space: nowrap; }
@media (max-width: 640px) {
  .cookie-banner { left: 16px; right: 16px; grid-template-columns: 1fr; padding: 18px; }
  .cookie-banner-actions .btn { flex: 1; padding: 0 0.8rem; }
}
.cookie-category { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 18px 20px 6px; margin: 0 0 18px; min-width: 0; }
.cookie-category legend { font: 400 1.25rem/1.2 var(--serif); padding: 0 6px; margin-left: -6px; }
.cookie-category p { font-size: 0.92rem; color: var(--ink-soft); }
.cookie-category .check input[disabled] { cursor: not-allowed; }
.table-scroll { overflow-x: auto; margin-bottom: 14px; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-top: 1px solid var(--line); }
.cookie-table th { font-weight: 400; color: var(--ink-soft); letter-spacing: 0.04em; }
.cookie-table code { font-size: 0.8rem; white-space: nowrap; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 28px; }
@media (max-width: 560px) {
  .cookie-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cookie-table tr { display: block; border-top: 1px solid var(--line); padding: 10px 0; }
  .cookie-table td { display: block; border: 0; padding: 2px 0; }
  .cookie-table td:last-child { color: var(--ink-faint); }
}

/* ── Searchable select (country, site.js) ──────────────────────────────────── */
/* The text box keeps the field's own look (it copies the select's classes); the list matches the site's cards. */
.combo { position: relative; }
.combo::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-soft); border-bottom: 1.5px solid var(--ink-soft); transform: translateY(-70%) rotate(45deg); pointer-events: none; transition: transform 0.2s var(--ease); }
.combo:has(.combo-input[aria-expanded="true"])::after { transform: translateY(-25%) rotate(-135deg); }
.combo-input { padding-right: 44px; text-overflow: ellipsis; cursor: pointer; }
.combo-input:focus { cursor: text; }
.combo-input::placeholder { color: var(--ink-faint); }
.combo-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; max-height: 288px; overflow-y: auto; overscroll-behavior: contain; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.combo-option { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 7px; font-size: 0.95rem; line-height: 1.3; cursor: pointer; }
.combo-option.active { background: var(--paper-2); }
.combo-option[aria-selected="true"] { color: var(--ink); font-weight: 400; }
.combo-option[aria-selected="true"]::after { content: "✓"; color: var(--clay-text); }
.combo-empty { padding: 10px 12px; color: var(--ink-faint); font-size: 0.9rem; }
@media (hover: hover) { .combo-option:hover { background: var(--paper-2); } }
