@font-face { font-family: "Onest"; src: url("/static/fonts/Onest-var-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f3f3f0;
  --card: #ffffff;
  --ink: #16171b;
  --ink-2: #65676f;
  --line: #e5e5e0;
  --brand: #ff5a1f;
  --brand-d: #e84a10;
  --brand-soft: #fff0e8;
  --brand-ink: #b8400f;
  --ok: #0f7f42;
  --bad: #c62a1c;
  --warn: #8f5400;
  --t-stars: #fff1d4;
  /* gift tiles (dark values below) */
  --t-g-heart: #ffe3ea;
  --t-g-bear: #f7ecdd;
  --t-g-box: #e3edff;
  --t-g-rose: #ffe5e7;
  --t-g-cake: #fff0dc;
  --t-g-bouquet: #eaf7dd;
  --t-g-rocket: #e8eef6;
  --t-g-champagne: #e4f3ea;
  --t-g-trophy: #fff3d1;
  --t-g-ring: #fff7dd;
  --t-g-diamond: #e2f4fd;
  --t-premium: #efebff;
  --t-number: #eaeef3;
  --hdr-bg: rgba(255, 255, 255, .94);
  --hover: #e8e8e3;
  --on-ink: #fff;
  --on-ink-2: #d9d4c8;
  --hero-tag: #8a5a00;
  --hero-2: #5f5440;
  --hero-3: #7d6a47;
  --pick-bg: rgba(255, 255, 255, .7);
  --pick-line: #efd9a6;
  --pick-hover: #d9b260;
  --brand-off: #f6bea9;
  --brand-soft-h: #ffe2d2;
  --trust-bg: #16171b;
  --grab: #dcdcd6;
  --seg-hover: rgba(255, 255, 255, .6);
  --field: #fff;
  --bad-soft: #fff6f5;
  --ok-soft: #e9f6ee;
  --ph: #6a6b72;
  --cta: #d1400a;
  --cta-h: #b8360a;
  --cta-ink: #fff;
  --scroll: #c9c9c3;
  color-scheme: light;
  --sans: "Onest", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: 14px;
}
:root[data-theme="dark"] {
  --bg: #111113;
  --card: #1b1b1e;
  --ink: #f3f2ee;
  --ink-2: #a3a4ab;
  --line: #2b2b30;
  --brand: #ff6a2c;
  --brand-d: #ff8150;
  --brand-soft: #2d1c14;
  --brand-ink: #ffa47a;
  --ok: #52c98a;
  --bad: #ff7b6b;
  --warn: #f0b552;
  --t-stars: #261f12;
  --t-g-heart: #33202a;
  --t-g-bear: #2c241b;
  --t-g-box: #1d2638;
  --t-g-rose: #331f23;
  --t-g-cake: #2f2619;
  --t-g-bouquet: #202e1b;
  --t-g-rocket: #1f2633;
  --t-g-champagne: #1b2e24;
  --t-g-trophy: #302917;
  --t-g-ring: #2d2819;
  --t-g-diamond: #182a35;
  --t-premium: #1f1b31;
  --t-number: #1c2026;
  --hdr-bg: rgba(27, 27, 30, .92);
  --hover: #2a2a2f;
  --on-ink: #141416;
  --on-ink-2: #55524b;
  --hero-tag: #ffc35a;
  --hero-2: #c9bda3;
  --hero-3: #a8997b;
  --pick-bg: rgba(255, 255, 255, .04);
  --pick-line: #4a3c20;
  --pick-hover: #7a6231;
  --brand-off: #5a3322;
  --brand-soft-h: #3a2419;
  --trust-bg: #1b1b1e;
  --grab: #3a3a40;
  --seg-hover: rgba(255, 255, 255, .05);
  --field: #232327;
  --bad-soft: #2e1a18;
  --ok-soft: #15291e;
  --ph: #95969d;
  --cta: #ff6a2c;
  --cta-h: #ff8150;
  --cta-ink: #141416;
  --scroll: #3a3a40;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--scroll) var(--bg); scroll-padding-top: 130px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
a { color: inherit; text-underline-offset: .2em; }
button, input { font: inherit; color: inherit; }
svg { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* header */
.hdr { position: sticky; top: 0; z-index: 20; background: var(--hdr-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { max-width: 76rem; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "logo orders" "search search"; gap: 10px 12px; align-items: center; padding: max(10px, env(safe-area-inset-top)) var(--pad) 10px; }
.logo { grid-area: logo; display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.logo-mark svg { width: 19px; height: 19px; }
.search { grid-area: search; display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 12px; padding: 0 12px; border: 1.5px solid transparent; transition: border-color .15s, background-color .15s; }
.search:focus-within { border-color: var(--brand); background: var(--card); }
.search svg { width: 20px; height: 20px; color: var(--ink-2); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 0; }
.search input:focus { outline: none; }
.search input::placeholder, .other input::placeholder { color: var(--ph); opacity: 1; }
.search input::-webkit-search-cancel-button { filter: grayscale(1); }
.orders-btn { grid-area: orders; justify-self: end; appearance: none; border: 0; background: transparent; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .9rem; cursor: pointer; min-width: 44px; height: 44px; justify-content: center; padding: 0 10px; border-radius: 12px; position: relative; color: var(--ink); }
.orders-btn:hover { background: var(--bg); }
.orders-btn svg { width: 22px; height: 22px; }
.orders-btn span { display: none; }
.dot { position: absolute; top: 9px; left: 26px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2px var(--card); }
.cats { max-width: 76rem; margin: 0 auto; display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--pad) 12px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { appearance: none; border: 0; background: var(--bg); min-height: 44px; padding: 9px 15px; border-radius: 999px; font-weight: 600; font-size: .92rem; white-space: nowrap; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.cat:hover { background: var(--hover); }
.cat[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }

.page { max-width: 76rem; margin: 0 auto; padding: 14px 12px 8px; }
.sec + .sec { margin-top: 30px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin: 0 4px 12px; }
.sec-head h2 { margin: 0; font-size: 1.4rem; letter-spacing: -.025em; font-weight: 800; }
.sec-head p { margin: 0; color: var(--ink-2); font-size: .9rem; }

/* hero = stars product, buyable in place */
/* phones: tag/title/lede on the left, the star centred beside them (its own column, so it never crowds the text
   or hugs a corner whatever the language/font size); picks + buy span the full width below */
.hero { background: var(--t-stars); border-radius: 24px; padding: 22px 18px 20px; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 128px; column-gap: 4px; }
.hero-copy { display: contents; }
.hero-tag, .hero h1, .hero-lede { grid-column: 1; }
.hero-pick, .hero-buy { grid-column: 1 / -1; }
.hero-tag { margin: 0 0 6px; font-weight: 700; font-size: .85rem; color: var(--hero-tag); }
.hero h1 { margin: 0; font-size: clamp(1.9rem, 8.4vw, 3.2rem); line-height: 1; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
.hero-lede { margin: 12px 0 18px; color: var(--hero-2); max-width: 36ch; }
.hero-pick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 14px; max-width: 30rem; }
.hero-pick:empty { min-height: 120px; } /* two rows of picks reserved before the script fills them: no layout jump */
.pick { grid-column: span 2; appearance: none; border: 1.5px solid var(--pick-line); background: var(--pick-bg); border-radius: 14px; padding: 9px 10px 8px; cursor: pointer; text-align: left; line-height: 1.15; transition: border-color .15s, background-color .15s, transform .1s; }
.pick:nth-child(n+4) { grid-column: span 3; }
.pick b { display: block; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.pick span { font-size: .78rem; color: var(--hero-3); font-variant-numeric: tabular-nums; }
.pick:hover { border-color: var(--pick-hover); }
.pick:active { transform: scale(.98); }
.pick[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.pick[aria-checked="true"] span { color: var(--on-ink-2); }
.hero-buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-total { color: var(--hero-2); font-size: .92rem; font-variant-numeric: tabular-nums; }
.hero-art { grid-column: 2; grid-row: 1 / 4; align-self: start; width: 140px; height: 140px; margin: -8px -10px 0 -2px; translate: -5px 5px; }
.hero-art svg, .hero-art img.clay { width: 100%; height: 100%; }

.btn { appearance: none; border: 0; cursor: pointer; border-radius: 13px; font-weight: 700; padding: 14px 22px; transition: background-color .15s var(--ease), transform .1s; }
.btn:active { transform: scale(.98); }
.btn--main { background: var(--cta); color: var(--cta-ink); }
.btn--main:hover { background: var(--cta-h); }
.btn--main:disabled { background: var(--brand-off); cursor: not-allowed; transform: none; }
.btn--soft { background: var(--brand-soft); color: var(--brand-ink); }
.btn--soft:hover { background: var(--brand-soft-h); }
.btn--wide { width: 100%; padding: 16px; font-size: 1.05rem; }

/* premium plans */
.plans { display: grid; gap: 10px; }
.plan { appearance: none; border: 0; text-align: left; cursor: pointer; background: var(--card); border-radius: 18px; padding: 12px 14px 12px 12px; display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; transition: box-shadow .2s var(--ease), transform .2s var(--ease); position: relative; }
.plan:hover { box-shadow: 0 12px 26px -16px rgba(20, 20, 30, .35); transform: translateY(-1px); }
.plan .tile { width: 64px; height: 64px; border-radius: 14px; background: var(--t-premium); padding: 2px; }
.plan .tile svg, .plan .tile img.clay { width: 100%; height: 100%; }
.plan .n { font-weight: 700; font-size: 1.05rem; }
.plan .s { color: var(--ink-2); font-size: .85rem; font-variant-numeric: tabular-nums; }
.plan .p { font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.plan .p small { display: block; font-size: .78rem; font-weight: 700; color: var(--brand-ink); margin-top: 2px; letter-spacing: 0; }
.badge { position: absolute; top: -9px; left: 14px; background: var(--ok); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }

/* gifts */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.card { appearance: none; border: 0; text-align: left; cursor: pointer; background: var(--card); border-radius: 18px; padding: 8px 8px 12px; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.card:hover { box-shadow: 0 12px 26px -16px rgba(20, 20, 30, .35); transform: translateY(-2px); }
.card .tile { aspect-ratio: 1; border-radius: 13px; display: grid; place-items: center; padding: 5%; margin-bottom: 4px; }
.card .tile svg, .card .tile img.clay { width: 100%; height: 100%; transition: transform .35s var(--ease); }
.card:hover .tile svg, .card:hover .tile img.clay { transform: scale(1.06) rotate(-3deg); }
.card .price { font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; padding: 0 4px; }
.card .name { font-size: .95rem; font-weight: 600; padding: 0 4px; line-height: 1.2; }
.card .sub { font-size: .8rem; color: var(--ink-2); padding: 0 4px; }
.card .cta { display: block; width: calc(100% - 8px); margin: auto 4px 0; background: var(--brand-soft); color: var(--brand-ink); border-radius: 11px; padding: 9px; text-align: center; font-weight: 700; font-size: .92rem; transition: background-color .15s; }
.card:hover .cta { background: var(--cta); color: var(--cta-ink); }

.soon { background: var(--card); border-radius: 18px; padding: 14px; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.soon-art { width: 64px; height: 64px; border-radius: 14px; background: var(--t-number); padding: 2px; filter: grayscale(.4); }
.soon-art svg, .soon-art img.clay { width: 100%; height: 100%; }
.soon h2 { margin: 0; font-size: 1.05rem; }
.soon p { margin: 2px 0 0; color: var(--ink-2); font-size: .9rem; }
.soon--live { grid-template-columns: 64px 1fr auto; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .1s; }
.soon--live .soon-art { filter: none; }
.soon--live:hover { box-shadow: 0 0 0 1px var(--line), 0 14px 28px -18px rgba(0, 0, 0, .35); }
.soon--live:active { transform: scale(.99); }
.soon-go { font-size: 1.3rem; font-weight: 700; color: var(--brand); padding-right: 4px; }
.empty { color: var(--ink-2); padding: 20px 4px; text-align: center; }

/* how / trust / faq */
.how { margin-top: 40px; }
.how h2, .faq h2 { margin: 0 4px 14px; font-size: 1.4rem; letter-spacing: -.025em; font-weight: 800; }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.how li { background: var(--card); border-radius: 18px; padding: 14px 16px; display: grid; grid-template-columns: 60px 1fr; gap: 2px 14px; align-items: center; }
.how-ico { grid-row: 1 / span 2; width: 60px; height: 60px; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; }
.how-ico img.clay { width: 100%; height: 100%; }
.how li span:last-child { color: var(--ink-2); font-size: .9rem; }
.trust { margin-top: 12px; background: var(--trust-bg); color: #fff; border-radius: 18px; padding: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trust div { display: grid; }
.trust b { font-size: clamp(1.1rem, 4.6vw, 1.5rem); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.trust span { color: #b9bac2; font-size: .8rem; line-height: 1.3; }
.trust p { grid-column: 1 / -1; margin: 0; color: #8b8d96; font-size: .76rem; }
.faq { margin-top: 40px; }
.faq details { background: var(--card); border-radius: 14px; margin-bottom: 8px; }
.faq summary { cursor: pointer; list-style: none; padding: 15px 44px 15px 16px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--ink-2); }
.faq a { color: var(--brand-ink); }

.ftr { max-width: 76rem; margin: 0 auto; padding: 22px 16px calc(28px + env(safe-area-inset-bottom)); color: var(--ink-2); font-size: .88rem; }
.ftr p { margin: 4px 0; }
.ftr-legal a { color: var(--ink-2); }

/* sheets */
.scrim { position: fixed; inset: 0; background: rgba(15, 15, 20, .45); z-index: 40; animation: fade .28s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.sheet { position: fixed; z-index: 41; left: 0; right: 0; bottom: 0; max-height: 94dvh; background: var(--card); border-radius: 24px 24px 0 0; display: flex; flex-direction: column; animation: up .44s var(--ease); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 40px -20px rgba(0,0,0,.4); }
@keyframes up { from { transform: translateY(100%); } }
.grab { width: 40px; height: 5px; border-radius: 3px; background: var(--grab); margin: 8px auto 0; }
.buy-head { display: grid; grid-template-columns: 56px 1fr 40px; gap: 12px; align-items: center; padding: 10px 18px 12px; }
.buy-head--plain { grid-template-columns: 1fr 40px; }
.buy-head h2 { margin: 0; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.15; }
.buy-kind { margin: 0; color: var(--ink-2); font-size: .82rem; font-weight: 600; }
.buy-art { width: 56px; height: 56px; border-radius: 14px; padding: 2px; }
.buy-art svg, .buy-art img.clay { width: 100%; height: 100%; }
.x { appearance: none; border: 0; background: var(--bg); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.x svg { width: 18px; height: 18px; }
.x:hover { background: var(--hover); }
.buy-body { overflow-y: auto; padding: 4px 18px 10px; flex: 1; }
.buy-foot { padding: 12px 18px 16px; border-top: 1px solid var(--line); }
.lbl { margin: 0 0 8px; font-weight: 700; font-size: .9rem; display: block; }
.opt { margin-bottom: 18px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: var(--bg); padding: 5px; border-radius: 14px; }
.seg--wrap { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); }
.seg button { appearance: none; border: 0; background: transparent; border-radius: 10px; min-height: 44px; padding: 10px 4px; font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; line-height: 1.15; transition: background-color .15s, box-shadow .15s; }
.seg button small { display: block; font-weight: 500; font-size: .74rem; color: var(--ink-2); }
.seg button:hover { background: var(--seg-hover); }
.seg button[aria-checked="true"] { background: var(--card); box-shadow: 0 1px 3px rgba(0,0,0,.12); color: var(--brand-ink); }
.other { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: .9rem; color: var(--ink-2); }
.other input { width: 9rem; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; background: var(--field); }
.other input:focus { outline: none; border-color: var(--brand); }
.other input.is-on { border-color: var(--brand); background: var(--brand-soft); }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--bg); border-radius: 14px; padding: 4px; }
.stepper button { appearance: none; border: 0; background: var(--card); width: 42px; height: 42px; border-radius: 11px; font-size: 1.3rem; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper output { min-width: 3ch; text-align: center; font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.u-field { display: block; }
.u-in { display: flex; align-items: center; background: var(--bg); border-radius: 14px; padding: 0 14px; border: 1.5px solid transparent; transition: border-color .15s, background-color .15s; }
.u-in:focus-within { border-color: var(--brand); background: var(--field); }
.u-in.is-bad { border-color: var(--bad); background: var(--bad-soft); }
.u-in.is-ok { border-color: var(--ok); }
.u-in.is-ok.is-warn { border-color: var(--warn); }
.u-in b { color: var(--ink-2); font-weight: 600; font-size: 1.05rem; }
.u-in input { flex: 1; min-width: 0; border: 0; background: transparent; font-weight: 600; font-size: 1.05rem; padding: 14px 3px; }
.u-in input:focus { outline: none; }
.u-in input::placeholder { color: var(--ph); font-weight: 400; }
.u-hint { margin: 7px 2px 0; font-size: .82rem; color: var(--ink-2); }
.u-hint.bad { color: var(--bad); }
.u-hint.warn { color: var(--warn); }
.u-hint b { color: var(--ink); font-weight: 650; overflow-wrap: anywhere; }
.u-hint.warn b { color: inherit; }
.sum { display: flex; justify-content: space-between; align-items: baseline; margin: 2px 0 12px; }
.sum span { color: var(--ink-2); }
.sum b { font-size: 1.6rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.demo { margin: 0 0 10px; font-size: .82rem; background: var(--ok-soft); color: var(--ok); padding: 8px 11px; border-radius: 10px; }
.err { margin: 0 0 10px; color: var(--bad); font-size: .9rem; }
.fine { margin: 10px 0 0; text-align: center; font-size: .78rem; color: var(--ink-2); }
.ord { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.ord b { font-weight: 600; }
.ord span { color: var(--ink-2); font-size: .85rem; white-space: nowrap; }
.ord:hover b { color: var(--brand-ink); }
.ord-empty { color: var(--ink-2); text-align: center; padding: 28px 0 30px; }
.ord-empty b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .how ol { grid-template-columns: repeat(3, 1fr); }
  .how li { grid-template-columns: 1fr; gap: 6px; align-content: start; }
  .how-ico { grid-row: auto; }
}
@media (min-width: 960px) {
  :root { --pad: 28px; }
  .hdr-in { grid-template-columns: auto minmax(0, 34rem) 1fr; grid-template-areas: "logo search orders"; padding: 14px var(--pad); gap: 28px; }
  .page { padding: 22px 28px 8px; }
  .sec + .sec { margin-top: 44px; }
  .hero { grid-template-columns: 1fr 260px; align-items: center; padding: 40px 44px; }
  .hero-copy { display: block; }
  .hero h1 { font-size: 3.4rem; }
  .hero-art { grid-column: 2; grid-row: auto; width: 260px; height: 260px; margin: 0; translate: none; }
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .plans { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .plan { padding: 18px 18px 18px 16px; }
  .hero-pick { max-width: 34rem; }
  .trust { padding: 24px 28px; }
  .faq { max-width: 52rem; }
  .sheet { left: 50%; right: auto; top: 50%; bottom: auto; width: 460px; max-height: 88vh; border-radius: 24px; transform: translate(-50%, -50%); animation: pop .34s var(--ease); }
  @keyframes pop { from { opacity: 0; transform: translate(-50%, -47%) scale(.97); } }
  .grab { display: none; }
  .buy-head { padding-top: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

img.clay { display: block; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.card .price:first-child { margin-top: 10px; }

/* day / night */
/* header actions: one row of equal 44px controls, same gap, same hover; no mixed pills/borders */
.hdr-act { grid-area: orders; justify-self: end; display: flex; align-items: center; gap: 4px; margin-right: -6px; }
.theme-btn { appearance: none; border: 0; background: transparent; color: var(--ink); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; transition: background-color .15s; }
.theme-btn:hover { background: var(--bg); }
.theme-btn svg { width: 22px; height: 22px; }
.theme-btn .i-sun, :root[data-theme="dark"] .theme-btn .i-moon { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
.trust { box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] .card:hover, :root[data-theme="dark"] .plan:hover { box-shadow: 0 0 0 1px var(--line), 0 14px 28px -16px rgba(0, 0, 0, .8); }
:root[data-theme="dark"] .seg button[aria-checked="true"] { background: var(--hover); box-shadow: none; }
:root[data-theme="dark"] .stepper button { background: var(--hover); box-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
  .theme-switching *, .theme-switching *::before, .theme-switching *::after { transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease) !important; }
}
:root[data-theme="dark"] .badge { color: #0b2216; }
p { text-wrap: pretty; }
.closed-notice { margin: 0 0 14px; padding: 14px 16px; border-radius: 16px; background: var(--bad-soft, rgba(255, 138, 115, .12)); color: var(--bad); font-weight: 600; }
.announce { margin: 0 0 14px; padding: 12px 16px; border-radius: 16px; font-weight: 600; background: var(--card); color: var(--ink); }
.announce--warn { background: var(--t-stars); color: var(--hero-tag); }
.announce--promo { background: var(--cta); color: var(--cta-ink); }
/* notifications bell + sheet */
.bell-btn { position: relative; }
.bell-btn.is-on svg path:first-child { fill: currentColor; }
.bell-dot { top: 9px; left: 27px; }
.nt-body { padding-bottom: 18px; }
.nt-body p { margin: 0 0 10px; }
.nt-list { margin: 0 0 14px; padding-left: 1.2em; color: var(--ink-2); display: grid; gap: 6px; font-size: .94rem; }
.nt-on { color: var(--ok); font-weight: 700; }
/* account */
.acct-btn { appearance: none; border: 0; background: transparent; color: var(--ink); height: 44px; min-width: 44px; border-radius: 12px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.acct-btn svg { width: 22px; height: 22px; }
.acct-btn span { max-width: 6.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-btn.is-in { background: var(--brand-soft); color: var(--brand-ink); }
.acct-btn:hover { background: var(--bg); }
.ac-body { padding-bottom: 18px; }
.ac-tg { display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.ac-tg svg { width: 22px; height: 22px; }
.ac-tg[aria-disabled="true"] { opacity: .6; pointer-events: none; }
.ac-msg { margin: 10px 0 0; color: var(--ink-2); font-size: .92rem; min-height: 1.2em; }
.ac-note { background: var(--brand-soft); color: var(--brand-ink); padding: 10px 12px; border-radius: 12px; font-weight: 600; font-size: .92rem; }
.ac-kv { margin: 0 0 14px; display: grid; }
.ac-kv div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ac-kv dt { color: var(--ink-2); }
.ac-bal dd { font-weight: 800; font-variant-numeric: tabular-nums; }
.ac-kv dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.ac-sub { margin: 4px 0 8px; font-size: 1rem; }
.ac-orders { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.ac-orders a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg); text-decoration: none; color: inherit; }
.ac-orders a b { font-size: .95rem; overflow-wrap: anywhere; }
.ac-orders a small { grid-row: 2; color: var(--ink-2); font-size: .8rem; }
.ac-orders a span { grid-row: 1 / 3; grid-column: 2; align-self: center; font-weight: 800; white-space: nowrap; }
.logo span { white-space: nowrap; }
@media (max-width: 479px) {
  /* phones: 5 equal 40px controls with no gaps, so logo + actions fit from 360px up */
  .hdr-act { gap: 0; }
  .hdr-act .lang-btn, .acct-btn, .theme-btn, .orders-btn { width: 40px; min-width: 40px; height: 40px; padding: 0; }
  .acct-btn { width: 40px; padding: 0; }
  .acct-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .acct-btn.is-in { background: var(--brand-soft); border-radius: 12px; }
}
/* gift pictures (official Telegram gift stickers) */
.card--gift .tile { padding: 8%; }
.gift-img { width: 100%; height: 100%; object-fit: contain; display: block; user-select: none; -webkit-user-drag: none; }
.card--gift:hover .tile .gift-img { transform: none; }
.buy-art .gift-img { width: 100%; height: 100%; }
.gift-anim { width: 100%; height: 100%; }
.gift-anim svg { display: block; width: 100% !important; height: 100% !important; }

/* ---------- motion (see public/m/motion.js) ---------- */
/* Press feedback: every tappable thing gives a little under the finger. */
.btn, .pick, .cat, .seg button, .x, .theme-btn, .acct-btn, .orders-btn, .n-row, .stepper button, .soon--live, .chip { transition-property: background-color, color, border-color, box-shadow, transform; transition-duration: .15s; transition-timing-function: var(--ease); }
.btn:active:not(:disabled), .pick:active, .cat:active, .seg button:active, .x:active, .theme-btn:active, .acct-btn:active, .orders-btn:active, .stepper button:active:not(:disabled) { transform: scale(.96); transition-duration: .08s; }
.card:active, .plan:active, .soon--live:active { transform: scale(.98); transition-duration: .08s; }
.n-row:active { background: var(--bg); transform: scale(.99); }
/* The chosen option settles into place. */
.seg button[aria-checked="true"], .pick[aria-checked="true"] { animation: settle .32s var(--ease); }
@keyframes settle { from { transform: scale(.9); } }
/* Category switch: the shown section eases in instead of popping. */
main .sec:not([hidden]) { animation: secin .34s var(--ease); }
@keyframes secin { from { opacity: .3; transform: translateY(8px); } }
/* Below-the-fold sections rise once when reached (class added by JS only). */
.rv { opacity: 0; transform: translateY(22px); }
.rv.rv-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease); }
/* Totals: a soft bump when the number changes (the count itself is tweened in JS). */
.num-bump { animation: bump .38s var(--ease); display: inline-block; }
@keyframes bump { 30% { transform: scale(1.05); } }
/* Recipient name / hints appear rather than blink in. */
.u-hint b, .u-hint, .ac-msg, .nt-on { animation: fadein .3s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(-3px); } }
/* Sheets can be pulled down by the handle on phones. */
.drag-handle { touch-action: none; }
.grab.drag-handle { cursor: grab; padding: 6px 0; margin-top: 2px; }
/* Gift tile: the picture lifts a little while hovered (desktop). */
@media (hover: hover) { .card--gift:hover .tile { transform: translateY(-2px); transition: transform .3s var(--ease); } }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; }
}


/* Promo code (buy sheet) */
.promo { margin-top: 12px; }
.promo-open { background: none; border: 0; padding: 4px 2px; color: var(--brand-ink, var(--brand)); font: inherit; font-size: .88rem; font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.promo-in { display: flex; gap: 8px; margin-top: 6px; }
.promo-in input { flex: 1; min-width: 0; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 0 12px; font: inherit; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.promo-in input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.promo-in .btn { height: 44px; }
.promo-msg { margin: 7px 2px 0; font-size: .84rem; color: var(--ink-2); animation: fadein .3s var(--ease); }
.promo-msg.ok { color: var(--ok, #12804a); font-weight: 600; }
.promo-msg.bad { color: var(--warn); }
.sum-v { display: inline-flex; align-items: baseline; gap: 8px; }
.sum-v s { color: var(--ink-2); font-size: .95rem; font-variant-numeric: tabular-nums; }

/* UZ / RU switch (added by m/i18n.js) */
.lang-btn { appearance: none; border: 0; background: transparent; color: var(--ink); height: 44px; min-width: 44px; padding: 0 8px; border-radius: 12px; font: 700 .84rem/1 var(--sans, inherit); letter-spacing: .04em; cursor: pointer; align-self: center; transition: background-color .15s; }
.lang-btn:hover { background: var(--bg); }

/* "Find my order" (orders sheet) */
.find { margin-top: 16px; padding: 14px; border-radius: 16px; background: var(--hover); display: grid; gap: 10px; }
.find-h { margin: 0; display: grid; gap: 3px; }
.find-h span { font-size: .84rem; color: var(--ink-2); }
.find-f { display: grid; gap: 5px; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.find-f > input, .find-f .u-in { height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 1rem; font-weight: 600; }
.find-f > input { padding: 0 12px; letter-spacing: .05em; }
.find-f .u-in { display: flex; align-items: center; padding: 0 12px; gap: 2px; }
.find-f .u-in input { flex: 1; min-width: 0; border: 0; background: none; color: inherit; font: inherit; outline: none; }
.find-f > input:focus, .find-f .u-in:focus-within { outline: 2px solid var(--brand); outline-offset: 1px; }
.find-msg { margin: 0; font-size: .84rem; color: var(--warn); }
/* pay from balance (logged-in buyers) */
.bal-opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin: 0 0 10px; border-radius: 14px; background: var(--brand-soft, var(--soft)); cursor: pointer; font-weight: 700; }
.bal-opt input { width: 20px; height: 20px; accent-color: var(--brand); margin: 0; flex: none; }
.bal-opt small { margin-left: auto; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bal-opt span { display: grid; gap: 1px; }
.bal-opt span small { margin-left: 0; font-size: .8rem; }
