/* ==========================================================================
   CVP Market — design system
   Minimal dark glass: neutral greys, white as the only accent, colour only
   where it carries meaning (order status). Geist + Geist Mono.
   ========================================================================== */

@font-face {
  font-family: 'Geist';
  src: url('../fonts/geist-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-display: swap;
  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: 'Geist';
  src: url('../fonts/geist-cyrillic-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-display: swap;
  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: 'Geist Mono';
  src: url('../fonts/geist-mono-cyrillic-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  --bg: #0a0a0a;
  --bg-2: #101010;
  --bg-3: #161616;

  --surface: rgba(255, 255, 255, .025);
  --surface-2: rgba(255, 255, 255, .045);
  --surface-3: rgba(255, 255, 255, .075);
  --border: rgba(255, 255, 255, .08);
  --border-2: rgba(255, 255, 255, .13);
  --border-3: rgba(255, 255, 255, .26);

  --text: #ededed;
  --text-2: #a1a1a1;
  --text-3: #6b6b6b;

  /* The only accent is white. Colours below are used for meaning only. */
  --accent: #ededed;
  --accent-ink: #0a0a0a;
  --green: #4cc38a;
  --amber: #e2b250;
  --red: #e5484d;

  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 48px -24px rgba(0, 0, 0, .85);

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --blur: 18px;
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur: .3s;

  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 64px;
}
@media (max-width: 640px) { :root { --blur: 14px; --header-h: 58px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 600; letter-spacing: -.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(255, 255, 255, .2); color: #fff; }
:focus-visible { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Author `display` rules outrank the UA sheet's [hidden], so restate it. */
[hidden] { display: none !important; }
.mono { font-family: var(--mono); letter-spacing: -.01em; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.nowrap { white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--accent); color: var(--accent-ink); font-weight: 600; transition: top var(--dur) var(--ease); }
.skip-link:focus { top: 12px; }

/* One soft neutral light from above gives the glass something to sit on. */
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 45% at 50% -8%, rgba(255, 255, 255, .075), transparent 70%),
    radial-gradient(40% 30% at 85% 105%, rgba(255, 255, 255, .03), transparent 70%),
    var(--bg);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.container--auth { max-width: calc(440px + var(--gutter) * 2); }
main { flex: 1; padding-bottom: clamp(56px, 9vw, 112px); }
.section { padding-top: clamp(64px, 10vw, 128px); }
.section--tight { padding-top: clamp(32px, 5vw, 56px); }
.stack > * + * { margin-top: var(--stack, 16px); }
.grid { display: grid; gap: var(--gap, 16px); }
.row { display: flex; align-items: center; gap: var(--gap, 12px); }
.row--wrap { flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.spacer { flex: 1; }

/* ---------- Glass ---------- */
.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(120%);
  backdrop-filter: blur(var(--blur)) saturate(120%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: #121212; } }
.glass--pad { padding: clamp(20px, 3vw, 28px); }

/* Glass that lifts on hover must not also run a backdrop-filter: the compositor
   resamples the backdrop while the layer is transformed and leaves a seam down
   the card's edge. Only flat page background sits behind these, so dropping the
   blur costs nothing visible - the translucent surface and border stay. */
.product-card, .feature, .showcase__item, .order-row {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* ---------- Type ---------- */
.eyebrow { display: inline-block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.h1 { font-size: clamp(40px, 5.6vw, 66px); letter-spacing: -.045em; line-height: 1.02; font-weight: 600; }
.h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.035em; }
.h3 { font-size: clamp(18px, 2vw, 20px); letter-spacing: -.02em; font-weight: 600; }
.lead { font-size: clamp(16px, 1.5vw, 18px); color: var(--text-2); line-height: 1.65; max-width: 60ch; }
.muted-line { color: var(--text-3); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 4vw, 40px); flex-wrap: wrap; }
.section-head .stack { --stack: 10px; }
.page-head { padding-top: clamp(32px, 6vw, 64px); margin-bottom: clamp(24px, 4vw, 40px); }
.page-head .lead { margin-top: 12px; }
.page-head .h1 { font-size: clamp(34px, 5vw, 52px); margin-top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 44px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 500; font-size: 15px; letter-spacing: -.01em; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform .2s var(--ease), opacity var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn .icon { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn.is-loading { opacity: .5; pointer-events: none; }
.btn--sm { --h: 36px; padding: 0 13px; font-size: 14px; border-radius: 10px; }
.btn--lg { --h: 50px; padding: 0 24px; font-size: 15.5px; border-radius: 13px; }
.btn--block { width: 100%; }
.btn--icon { width: var(--h); padding: 0; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #fff; }
.btn--glass { background: var(--surface-2); border-color: var(--border-2); color: var(--text); }
.btn--glass:hover { background: var(--surface-3); border-color: var(--border-3); }
.btn--ghost { background: transparent; color: var(--text-2); }
.btn--ghost:hover { color: var(--text); background: var(--surface-2); }
.btn--success { background: var(--surface-2); border-color: color-mix(in srgb, var(--green) 45%, transparent); color: var(--text); }
.btn--success .icon { color: var(--green); }
.btn--success:hover { background: color-mix(in srgb, var(--green) 10%, transparent); }

.link { color: var(--text); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-decoration-color: var(--border-3); text-underline-offset: 4px; transition: text-decoration-color var(--dur) var(--ease), gap var(--dur) var(--ease); }
.link:hover { text-decoration-color: var(--text); gap: 8px; }
.link .icon { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease); }
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(10, 10, 10, .72);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  transition: opacity var(--dur) var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--border); }
.header.is-scrolled::before { opacity: 1; }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -.02em; flex-shrink: 0; }
.logo__mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.logo__mark .icon { width: 17px; height: 17px; stroke-width: 2; }
.logo__text span { color: var(--text-3); margin-left: 3px; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link { padding: 7px 12px; border-radius: 9px; color: var(--text-2); font-weight: 500; font-size: 14.5px; transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.nav__link:hover { color: var(--text); }
.nav__link.is-active { color: var(--text); background: var(--surface-2); }
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.lang-switch { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--border); }
.lang-switch a { padding: 3px 8px; border-radius: 7px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--text-3); transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.lang-switch a:hover { color: var(--text); }
.lang-switch a.is-active { color: var(--text); background: var(--surface-3); }

.burger { display: none; }
.mobile-nav { display: none; }
@media (max-width: 860px) {
  .header .nav, .header__actions .btn--desktop { display: none; }
  .burger { display: inline-flex; }
  .mobile-nav {
    display: block; position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; padding: 8px var(--gutter) 18px;
    background: rgba(10, 10, 10, .9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .25s var(--ease), visibility 0s linear .35s;
  }
  .mobile-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .35s var(--ease), opacity .25s var(--ease); }
  .mobile-nav a, .mobile-nav button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 10px; border-radius: 10px; font-weight: 500; font-size: 16px; color: var(--text); background: none; border: 0; text-align: left; }
  .mobile-nav a:hover, .mobile-nav button:hover { background: var(--surface-2); }
  .mobile-nav .icon { color: var(--text-3); }
  .mobile-nav hr { border: 0; border-top: 1px solid var(--border); margin: 6px 0; }
}
.burger__lines { position: relative; width: 16px; height: 11px; }
.burger__lines span { position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 4.75px; }
.burger__lines span:nth-child(3) { top: 9.5px; }
.burger[aria-expanded='true'] .burger__lines span:nth-child(1) { transform: translateY(4.75px) rotate(45deg); }
.burger[aria-expanded='true'] .burger__lines span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] .burger__lines span:nth-child(3) { transform: translateY(-4.75px) rotate(-45deg); }

/* ---------- Footer ---------- */
.footer { margin-top: auto; border-top: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding: 56px 0 36px; }
.footer__title { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer__links li + li { margin-top: 8px; }
.footer__links a { color: var(--text-2); font-size: 15px; transition: color var(--dur) var(--ease); }
.footer__links a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 13.5px; }
.footer__coins { display: flex; flex-wrap: wrap; gap: 6px; }
.footer__coins .coin { --s: 26px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; } }

/* ---------- Coins (monochrome) ---------- */
.coin { --s: 34px; position: relative; display: inline-block; width: var(--s); height: var(--s); flex-shrink: 0; }
.coin > svg { width: 100%; height: 100%; }
.coin__net { position: absolute; right: -3px; bottom: -3px; width: 46%; height: 46%; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 2px var(--bg); }
.coin__net svg { width: 100%; height: 100%; }

/* ---------- Chips / status ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 500; white-space: nowrap;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2);
}
.chip .icon { width: 13px; height: 13px; }
.chip--mono { font-family: var(--mono); font-size: 12px; }
.chip--ok { color: var(--text); }
.chip--ok .icon { color: var(--green); }
.chip--err { border-color: color-mix(in srgb, var(--red) 40%, transparent); }

.dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.dot--live { color: var(--green); }
.dot--live::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(3); opacity: 0; } }

.status { color: var(--text); }
.status .dot { background: var(--text-2); }
.status--pending_payment .dot { background: var(--amber); }
.status--underpaid .dot { background: var(--red); }
.status--sent .dot { background: var(--green); }
.status--confirming .dot, .status--processing .dot, .status--delivering .dot { background: var(--text); }
.status--expired, .status--cancelled { color: var(--text-3); }
.status--expired .dot, .status--cancelled .dot { background: var(--text-3); }
.status--pending_payment .dot::after, .status--confirming .dot::after, .status--processing .dot::after, .status--delivering .dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s var(--ease) infinite;
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 13.5px; font-weight: 500; color: var(--text-2); display: flex; justify-content: space-between; gap: 8px; }
.field__label small { font-weight: 400; color: var(--text-3); }
.input-wrap { position: relative; }
.input-wrap > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--text-3); pointer-events: none; transition: color var(--dur) var(--ease); }
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 15px; border-radius: 12px;
  background: rgba(255, 255, 255, .02); border: 1px solid var(--border-2); color: var(--text);
  font-size: 16px; -webkit-appearance: none; appearance: none;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input-wrap > .icon + .input { padding-left: 42px; }
.textarea { height: auto; min-height: 104px; padding: 13px 15px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--border-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .035); box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.input-wrap:focus-within > .icon { color: var(--text); }
.input.is-invalid, .textarea.is-invalid { border-color: color-mix(in srgb, var(--red) 70%, transparent); }
.select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a1a1a1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.select option { background: var(--bg-3); }
.field-error { color: #f0868a; font-size: 13px; font-weight: 500; }
.field-hint { color: var(--text-3); font-size: 13px; }
.input-action { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.input-action .btn { --h: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.alert { display: flex; gap: 12px; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; line-height: 1.5; color: var(--text-2); }
.alert .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--text-2); }
.alert b { color: var(--text); font-weight: 600; }
.alert--warn .icon { color: var(--amber); }
.alert--error { border-color: color-mix(in srgb, var(--red) 30%, transparent); }
.alert--error .icon { color: var(--red); }
.alert--success .icon { color: var(--green); }

.stepper { display: inline-flex; align-items: center; height: 48px; border-radius: 12px; border: 1px solid var(--border-2); overflow: hidden; }
.stepper button { width: 44px; height: 100%; border: 0; background: none; color: var(--text-2); display: grid; place-items: center; transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.stepper button:hover { color: var(--text); background: var(--surface-2); }
.stepper input { width: 44px; height: 100%; border: 0; background: none; text-align: center; font-family: var(--mono); font-weight: 500; font-size: 15px; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; z-index: 100; top: calc(var(--header-h) + 12px); right: 16px; display: grid; gap: 8px; width: min(360px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  pointer-events: auto; position: relative; overflow: hidden; display: flex; gap: 10px; align-items: flex-start;
  padding: 13px 15px; border-radius: 14px; background: rgba(22, 22, 22, .92); border: 1px solid var(--border-2);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow);
  animation: toast-in .45s var(--ease) both; font-size: 14px; font-weight: 500;
}
.toast .icon { width: 18px; height: 18px; color: var(--text-2); }
.toast--success .icon { color: var(--green); }
.toast--error .icon { color: var(--red); }
.toast__bar { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: rgba(255, 255, 255, .35); transform-origin: left; animation: toast-bar 4.5s linear forwards; }
.toast.is-leaving { animation: toast-out .35s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(24px); } }
@keyframes toast-bar { to { transform: scaleX(0); } }

/* ---------- Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
main { animation: page-in .5s var(--ease) both; }
@keyframes page-in { from { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Home
   ========================================================================== */
.hero { position: relative; padding-top: clamp(40px, 8vw, 104px); overflow-x: clip; }
.hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__title { margin: 22px 0 20px; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.hero__stats { display: flex; gap: clamp(24px, 5vw, 48px); margin-top: 48px; flex-wrap: wrap; }
.hero__stat b { display: block; font-family: var(--mono); font-size: clamp(20px, 2.6vw, 24px); font-weight: 500; letter-spacing: -.03em; }
.hero__stat span { color: var(--text-3); font-size: 13.5px; }
.live-badge { display: inline-flex; align-items: center; gap: 9px; height: 30px; padding: 0 13px 0 11px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 13px; font-weight: 500; }

.hero__visual { position: relative; display: grid; place-items: center; }
.terminal { width: 100%; max-width: 440px; border-radius: var(--r-lg); overflow: hidden; }
.terminal__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.terminal__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.terminal__bar span { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.terminal__bar .icon { margin-left: auto; width: 15px; height: 15px; color: var(--text-3); }
.terminal__body { padding: 20px 20px 22px; font-family: var(--mono); font-size: 13.5px; line-height: 2; }
.terminal__line { display: flex; gap: 10px; white-space: nowrap; overflow: hidden; }
.terminal__line .k { color: var(--text-3); min-width: 76px; }
.terminal__line .v { color: var(--text-2); }
.terminal__line .v--strong { color: var(--text); }
.terminal__line .v--ok { color: var(--green); }
.terminal__line .tail { color: var(--text); background: rgba(255, 255, 255, .1); border-radius: 4px; padding: 0 2px; }
.js .terminal__line { opacity: 0; transform: translateY(4px); }
.js .terminal.is-in .terminal__line { animation: line-in .5s var(--ease) forwards; animation-delay: calc(var(--i) * .35s + .2s); }
@keyframes line-in { to { opacity: 1; transform: none; } }
.caret { display: inline-block; width: 7px; height: 1.05em; vertical-align: -3px; background: var(--text-2); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.terminal__progress { height: 2px; margin-top: 16px; border-radius: 2px; background: var(--surface-3); overflow: hidden; }
.terminal__progress span { display: block; height: 100%; background: var(--text-2); transform-origin: left; animation: progress-loop 3.4s var(--ease-in-out) infinite; }
@keyframes progress-loop { 0% { transform: scaleX(0); } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } .hero__visual { margin-top: 8px; } .terminal { max-width: none; } }
@media (max-width: 480px) {
  .terminal__body { font-size: 12.5px; padding: 16px; }
  .terminal__line .k { min-width: 64px; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero__actions .btn { flex: 1; }
}

.marquee { position: relative; overflow: hidden; padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 10px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.coin-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: var(--r-pill); border: 1px solid var(--border); white-space: nowrap; transition: border-color var(--dur) var(--ease); }
.coin-pill:hover { border-color: var(--border-3); }
.coin-pill .coin { --s: 28px; }
.coin-pill b { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.coin-pill span { color: var(--text-3); font-size: 13px; }
.accept-row { display: flex; align-items: center; gap: 20px; margin-top: clamp(48px, 7vw, 80px); }
.accept-row .eyebrow { flex-shrink: 0; }
@media (max-width: 560px) { .container.accept-row { flex-direction: column; align-items: flex-start; gap: 4px; } .accept-row .marquee { width: 100%; } }

.features { grid-template-columns: repeat(4, 1fr); }
.feature { padding: 24px; transition: border-color var(--dur) var(--ease), transform .4s var(--ease); }
.feature:hover { border-color: var(--border-2); transform: translateY(-2px); }
.feature__icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid var(--border-2); color: var(--text); background: var(--surface-2); transition: transform .5s var(--ease); }
.feature:hover .feature__icon { transform: rotate(-6deg); }
.feature__icon .icon { width: 19px; height: 19px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--text-2); font-size: 14.5px; }
@media (max-width: 1024px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .feature { display: grid; grid-template-columns: 40px 1fr; gap: 2px 16px; padding: 18px; }
  .feature__icon { grid-row: span 2; margin: 0; }
  .feature h3 { margin: 1px 0 3px; }
}

.steps { grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before { content: ''; position: absolute; left: 6%; right: 6%; top: 22px; height: 1px; background: var(--border-2); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num { position: relative; z-index: 1; width: 44px; height: 44px; margin: 0 auto 18px; border-radius: 12px; display: grid; place-items: center; font-family: var(--mono); font-weight: 500; font-size: 14px; background: var(--bg); border: 1px solid var(--border-2); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 14.5px; max-width: 26ch; margin: 0 auto; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; } .steps::before { display: none; } }
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; text-align: left; }
  .step { display: grid; grid-template-columns: 44px 1fr; gap: 2px 16px; text-align: left; padding: 0; }
  .step__num { grid-row: span 2; margin: 0; }
  .step p { margin: 0; }
}

.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 5vw, 44px); }
.cta p { color: var(--text-2); margin-top: 8px; }

/* ---------- Showcase ---------- */
.showcase__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 28px); }
.showcase__tag {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 13px 0 10px;
  border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--surface);
  font-size: 13px; font-weight: 500; color: var(--text-2); white-space: nowrap;
}
.showcase__tag .icon { width: 14px; height: 14px; color: var(--green); }
.showcase__tag--cvp { border-color: color-mix(in srgb, #d97757 25%, var(--border)); }
.showcase__tag--daybreak { border-color: color-mix(in srgb, #10a37f 25%, var(--border)); }

/* Each row pairs a desktop shot with a phone shot. The desktop shots are 16:10
   and must not crop - they are what proves the point - so the phone frames take
   the one ratio that makes both cards in a row exactly as tall: the wide column
   is --wide phone columns, so phone ratio = 16/10 / --wide. Both scale with the
   fr unit, so the match holds at every width. */
.showcase__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 14px;
}
.showcase__item--gpt .showcase__frame,
.showcase__item--setup .showcase__frame { aspect-ratio: 16 / 10; }
/* 1.6 / 1.55 - keep in sync with the column ratio above. */
.showcase__item--claude .showcase__frame,
.showcase__item--mail .showcase__frame { aspect-ratio: calc(1.6 / 1.55); }

.showcase__item {
  position: relative; display: flex; flex-direction: column; margin: 0;
  border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  border: 1px solid var(--border);
  transition: border-color var(--dur) var(--ease), transform .45s var(--ease);
}
.showcase__item:hover { border-color: var(--border-2); transform: translateY(-2px); }

.showcase__frame { display: block; overflow: hidden; }
.showcase__frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.showcase__item:hover .showcase__frame img { transform: scale(1.02); }

/* Keep the part that proves the point in view when the frame crops. */
.showcase__item--claude img { object-position: 50% 100%; }
.showcase__item--mail img { object-position: 50% 0; }

.showcase__cap {
  flex-shrink: 0; display: flex; align-items: center; min-height: 44px;
  padding: 10px 15px;
  font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--text-2);
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, .3);
}

.showcase__note {
  margin-top: clamp(16px, 2.5vw, 24px);
  font-family: var(--mono); font-size: 12.5px; color: var(--text-3);
  letter-spacing: -.01em; line-height: 1.65; max-width: 76ch;
}

/* Tablet: desktop shots go full width, the two phone shots share a row. */
@media (max-width: 900px) {
  .showcase__grid { grid-template-columns: 1fr 1fr; }
  .showcase__item--gpt { grid-column: 1 / -1; grid-row: 1; }
  .showcase__item--setup { grid-column: 1 / -1; grid-row: 2; }
  .showcase__item--claude { grid-column: 1; grid-row: 3; }
  .showcase__item--mail { grid-column: 2; grid-row: 3; }
  .showcase__item--claude .showcase__frame, .showcase__item--mail .showcase__frame { aspect-ratio: 4 / 5; }
}

/* Phone: one column, so each shot can keep its native ratio and show in full. */
@media (max-width: 560px) {
  .showcase__grid { grid-template-columns: 1fr; gap: 12px; }
  .showcase__item { grid-column: 1 !important; grid-row: auto !important; }
  .showcase__item--claude .showcase__frame { aspect-ratio: 589 / 625; }
  .showcase__item--mail .showcase__frame { aspect-ratio: 576 / 700; }
  .showcase__cap { font-size: 12.5px; padding: 10px 14px; min-height: 40px; }
}

/* ==========================================================================
   Products
   ========================================================================== */
.products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 258px), 1fr)); --gap: 16px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; transition: border-color var(--dur) var(--ease), transform .45s var(--ease); }
.product-card:hover { border-color: var(--border-2); transform: translateY(-3px); }
.product-card__art { position: relative; aspect-ratio: 16 / 10; margin: 6px 6px 0; border-radius: 15px; overflow: hidden; border: 1px solid var(--border); }
.product-card__body { display: flex; flex-direction: column; gap: 7px; padding: 15px 17px 16px; flex: 1; }
.product-card__cat { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); }
.product-card__title { font-size: 16.5px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.product-card__title a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.6em; }
.product-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.product-card__summary {
  color: var(--text-2); font-size: 13.5px; line-height: 1.5;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 3em;
}
.product-card__meta { display: flex; align-items: center; gap: 14px; color: var(--text-3); font-size: 12.5px; margin-top: auto; padding-top: 4px; min-height: 18px; }
.product-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.product-card__meta .icon { width: 13px; height: 13px; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; row-gap: 10px; margin-top: 12px; padding-top: 13px; border-top: 1px solid var(--border); }
.product-card__foot .btn { position: relative; z-index: 2; flex-shrink: 0; }
.price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; min-width: 0; }
.price b { font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.price s { color: var(--text-3); font-size: 14px; }
.price--muted b { color: var(--text-3); font-weight: 500; letter-spacing: 0; font-size: 14px; }
.product-card.is-soon .product-card__art { opacity: .72; }
.product-card.is-soon .product-card__title a::after { pointer-events: none; }
.btn.is-disabled { opacity: .5; pointer-events: none; cursor: not-allowed; }
.product__buy--soon { display: grid; gap: 14px; }
.badge-corner { position: absolute; left: 10px; top: 10px; z-index: 1; }
@media (max-width: 560px) { .product-card__art { aspect-ratio: 16 / 10; } }

/* 4-card teaser rows (home, related): 4 / 3 / 2x2 / 1 columns, so no card is ever left alone in a row. */
.products--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1143px) { .products--row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .products--row > :nth-child(n+4) { display: none; } }
@media (max-width: 869px) { .products--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .products--row > :nth-child(n+4) { display: flex; } }
@media (max-width: 560px) { .products--row { grid-template-columns: 1fr; } }

/* Product artwork: calm surface + brand/line icon */
.art {
  position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(90% 80% at 50% 0%, rgba(255, 255, 255, .07), transparent 70%), var(--bg-2);
}
.art--brand {
  background:
    radial-gradient(72% 68% at 50% 8%, color-mix(in srgb, var(--art-accent) 16%, transparent), transparent 70%),
    radial-gradient(90% 80% at 50% 0%, rgba(255, 255, 255, .05), transparent 70%), var(--bg-2);
}
.art__icon {
  position: relative; width: 29%; aspect-ratio: 1; max-width: 84px; border-radius: 24%; display: grid; place-items: center;
  border: 1px solid var(--border-2); background: rgba(255, 255, 255, .04); color: var(--text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 16px 32px -16px rgba(0, 0, 0, .9);
  transition: transform .6s var(--ease), border-color var(--dur) var(--ease);
}
.art--brand .art__icon { border-color: color-mix(in srgb, var(--art-accent) 30%, var(--border-2)); background: color-mix(in srgb, var(--art-accent) 8%, rgba(255, 255, 255, .03)); }
.art__icon .icon { width: 52%; height: 52%; stroke-width: 1.5; }
.product-card:hover .art__icon { transform: translateY(-3px); border-color: var(--border-3); }
.product-card:hover .art--brand .art__icon { border-color: color-mix(in srgb, var(--art-accent) 50%, var(--border-2)); }

.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.toolbar .input-wrap { flex: 1 1 280px; }
.toolbar .select { width: auto; min-width: 200px; }
.toolbar__count { color: var(--text-3); font-size: 13px; margin-left: auto; font-family: var(--mono); }
@media (max-width: 560px) { .toolbar .select { flex: 1; min-width: 0; } .toolbar__count { width: 100%; margin: 0; } }

.empty { text-align: center; padding: clamp(40px, 8vw, 72px) 24px; }
.empty__icon { width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text-2); }
.empty__icon .icon { width: 22px; height: 22px; }
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--text-2); margin-bottom: 20px; }

.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-3); padding-top: clamp(24px, 4vw, 40px); }
.crumbs a { color: var(--text-2); transition: color var(--dur) var(--ease); }
.crumbs a:hover { color: var(--text); }
.crumbs .icon { width: 13px; height: 13px; }

.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 48px); margin-top: 24px; align-items: stretch; }
.product__art { padding: 8px; display: flex; min-width: 0; }
.product__art .art { flex: 1; height: auto; min-height: 340px; border-radius: 14px; }
.product__info { min-width: 0; }
.product__art .art__icon { max-width: 120px; }
.product__info .h1 { font-size: clamp(32px, 4.2vw, 48px); margin: 14px 0; }
.product__buy { margin-top: 26px; padding: 20px; display: grid; gap: 18px; }
.product__buy-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.product__price b { font-size: clamp(28px, 3.6vw, 36px); }
.product__total { text-align: right; }
.product__total small { display: block; color: var(--text-3); font-size: 12.5px; }
.product__total span { font-family: var(--mono); font-weight: 500; font-size: 17px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.fact { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); font-size: 13px; color: var(--text-3); line-height: 1.35; }
.fact .icon { width: 18px; height: 18px; color: var(--text-2); }
.fact b { display: block; color: var(--text); font-size: 13.5px; font-weight: 500; }
.prose { color: var(--text-2); line-height: 1.75; }
.prose p + p { margin-top: 12px; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.checklist .icon { width: 18px; height: 18px; color: var(--text); margin-top: 3px; }
.coin-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.coin-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px 5px 5px; border-radius: var(--r-pill); border: 1px solid var(--border); font-family: var(--mono); font-size: 12.5px; color: var(--text-2); }
.coin-tag .coin { --s: 22px; }
.coin-tag .coin__net { box-shadow: 0 0 0 1.5px var(--bg); }
@media (max-width: 960px) { .product { grid-template-columns: 1fr; } .product__art { display: block; } .product__art .art { aspect-ratio: 16 / 10; min-height: 0; } }
/* Description / included / payment: one equal column per card; in the 2-column range an odd last card takes the full row. */
.product-more { --gap: 20px; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
@media (max-width: 1100px) {
  .product-more { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-more > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 760px) { .product-more { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* ==========================================================================
   Checkout
   ========================================================================== */
.checkout { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: stretch; }
.checkout > .stack { display: flex; flex-direction: column; min-width: 0; }
.checkout > .stack > :last-child { flex-grow: 1; }
.checkout__aside { display: flex; flex-direction: column; min-width: 0; }
.checkout__aside > .summary { flex-grow: 1; }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; } .summary__inner { position: static; } }
.card-title { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.card-title .num { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--text-3); }
.card-sub { color: var(--text-2); font-size: 14px; margin-bottom: 20px; }
.progress-steps { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13.5px; font-weight: 500; color: var(--text-3); }
.progress-steps span { display: inline-flex; align-items: center; gap: 8px; }
.progress-steps span.is-active { color: var(--text-2); }
.progress-steps i { width: 24px; height: 1px; background: var(--border-2); }

.networks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr)); gap: 8px; }
.net {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform .25s var(--ease);
}
.net:hover { border-color: var(--border-2); background: var(--surface-2); }
.net:active { transform: scale(.985); }
.net input { position: absolute; opacity: 0; pointer-events: none; }
.net__name { display: block; font-weight: 500; font-size: 14.5px; line-height: 1.3; }
.net__assets { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); margin-top: 2px; }
.net .coin { --s: 32px; }
.net.is-selected, .net:has(input:checked) { border-color: rgba(255, 255, 255, .55); background: var(--surface-3); }
.net input:focus-visible ~ span .net__name { text-decoration: underline; }
.net__check { position: absolute; right: 11px; top: 11px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); transform: scale(0); opacity: 0; transition: transform .35s var(--ease), opacity .2s var(--ease); }
.net__check .icon { width: 11px; height: 11px; stroke-width: 3; }
.net.is-selected .net__check, .net:has(input:checked) .net__check { transform: scale(1); opacity: 1; }
@media (max-width: 480px) { .net { padding: 12px; gap: 10px; } .net .coin { --s: 30px; } }

.assets { margin-top: 14px; }
.assets__group { display: none; padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, .015); }
.assets__group.is-active { display: block; animation: fade-up .4s var(--ease); }
.no-js .assets__group { display: block; margin-top: 10px; }
.assets__title { font-size: 13px; font-weight: 500; color: var(--text-3); margin-bottom: 10px; }
.assets__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 8px; }
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } }
.asset-opt {
  position: relative; display: inline-flex; align-items: center; gap: 11px; padding: 9px 14px 9px 9px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--border-2); transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.asset-opt:hover { border-color: var(--border-3); }
.asset-opt input { position: absolute; opacity: 0; pointer-events: none; }
.asset-opt .coin { --s: 30px; }
.asset-opt b { display: block; font-family: var(--mono); font-size: 13.5px; font-weight: 500; }
.asset-opt small { display: block; color: var(--text-3); font-size: 12px; }
.asset-opt:has(input:checked), .asset-opt.is-selected { border-color: rgba(255, 255, 255, .55); background: var(--surface-3); }
.asset-opt input:focus-visible + .coin { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 3px; border-radius: 50%; }
.asset-opt.is-disabled { opacity: .4; pointer-events: none; }
.tag-warn { color: var(--amber); font-size: 11.5px; font-weight: 500; }

.summary__inner { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary__product { display: flex; gap: 14px; align-items: center; }
.summary__thumb { width: 56px; height: 56px; border-radius: 13px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--border); }
.summary__thumb .art__icon { width: 58%; border-radius: 28%; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); font-size: 14.5px; }
.summary__row b { color: var(--text); font-family: var(--mono); font-weight: 500; }
.summary__total { padding-top: 14px; border-top: 1px solid var(--border); }
.summary__total b { font-size: 20px; }
.estimate { padding: 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, .015); }
.estimate__label { font-size: 12.5px; color: var(--text-3); }
.estimate__value { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-family: var(--mono); font-size: 18px; font-weight: 500; }
.estimate__value .coin { --s: 24px; }
.estimate__note { margin-top: 8px; font-size: 12.5px; color: var(--text-3); line-height: 1.5; }

/* ==========================================================================
   Order / payment
   ========================================================================== */
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: clamp(28px, 5vw, 48px); margin-bottom: 24px; }
.order-head h1 { font-size: clamp(26px, 3.4vw, 36px); }
.order-head h1 .mono { color: var(--text-2); font-weight: 500; }
.order-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: stretch; }
.order-main { display: flex; flex-direction: column; min-width: 0; }
.order-main > .status-hero { flex-grow: 1; }
.order-main:not(:has(> .status-hero)) > :last-child { flex-grow: 1; }
.order-layout > aside { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.order-details { display: flex; flex-direction: column; flex-grow: 1; }
.order-details .kv { margin-bottom: 18px; }
.order-details__support { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13.5px; }
/* Two cards per column: rows are shared, so each card matches the height of its neighbour. */
@media (min-width: 1025px) {
  .order-layout--split { grid-template-rows: auto auto; }
  .order-layout--split > .order-main, .order-layout--split > aside { grid-row: 1 / span 2; display: grid; grid-template-rows: subgrid; row-gap: normal; }
  .order-layout--split > .order-main > * + * { margin-top: 0; }
}
@media (max-width: 1024px) { .order-layout { grid-template-columns: 1fr; } }

.pay__grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(20px, 3vw, 32px); align-items: start; }
@media (max-width: 760px) { .pay__grid { grid-template-columns: 1fr; } .pay__grid > :first-child { order: 2; } }
.pay__head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.pay__head .coin { --s: 40px; }
.pay__head h2 { font-size: 18px; }
.pay__head small { display: block; color: var(--text-3); font-family: var(--mono); font-size: 12px; }

.qr { width: 100%; max-width: 240px; margin: 0 auto; }
.qr__frame { padding: 12px; border-radius: 16px; background: #fff; }
.qr__frame svg { width: 100%; height: auto; }
.qr__hint { text-align: center; color: var(--text-3); font-size: 12.5px; margin-top: 12px; }

.copy-field { display: grid; gap: 6px; }
.copy-field__label { font-size: 12.5px; font-weight: 500; color: var(--text-3); display: flex; align-items: center; gap: 7px; }
.copy-field__label .icon { width: 14px; height: 14px; }
.copy-field__box { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 15px; border-radius: 12px; border: 1px solid var(--border-2); background: rgba(255, 255, 255, .02); transition: border-color var(--dur) var(--ease); }
.copy-field__box:hover { border-color: var(--border-3); }
.copy-field__value { flex: 1; min-width: 0; font-family: var(--mono); font-size: 14px; word-break: break-all; line-height: 1.5; padding: 6px 0; }
.copy-field--amount .copy-field__value { font-size: clamp(22px, 3vw, 28px); font-weight: 500; letter-spacing: -.03em; word-break: normal; overflow-wrap: anywhere; }
.copy-field--amount .copy-field__value small { font-size: .5em; color: var(--text-3); font-weight: 500; margin-left: 6px; letter-spacing: 0; }
.copy-field--required .copy-field__box { border-color: color-mix(in srgb, var(--amber) 45%, transparent); }
.amount-tail { background: rgba(255, 255, 255, .12); border-radius: 5px; padding: 0 2px; margin-left: 1px; }
.copy-btn { position: relative; width: 38px; height: 38px; flex-shrink: 0; border-radius: 9px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text-2); display: grid; place-items: center; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform .2s var(--ease); }
.copy-btn:hover { color: var(--text); border-color: var(--border-3); }
.copy-btn:active { transform: scale(.92); }
.copy-btn .icon { width: 16px; height: 16px; position: absolute; transition: transform .35s var(--ease), opacity .2s var(--ease); }
.copy-btn .icon--done { opacity: 0; transform: scale(.5); color: var(--green); }
.copy-btn.is-done .icon--copy { opacity: 0; transform: scale(.5); }
.copy-btn.is-done .icon--done { opacity: 1; transform: none; }

.pay__fields { display: grid; gap: 16px; }
.pay__status { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, .015); }
.pay__status b { display: block; font-size: 14.5px; font-weight: 500; }
.pay__status small { display: block; color: var(--text-3); font-size: 13px; line-height: 1.45; }
.pulse { position: relative; width: 8px; height: 8px; margin: 0 6px; flex-shrink: 0; border-radius: 50%; background: var(--text-2); }
.pulse::before, .pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2.2s var(--ease) infinite; }
.pulse::after { animation-delay: 1.1s; }
.pay__status.is-confirming .pulse { background: var(--text); }
.conf-bar { height: 3px; border-radius: 3px; background: var(--surface-3); overflow: hidden; margin-top: 10px; }
.conf-bar span { display: block; height: 100%; background: var(--text); border-radius: inherit; transition: width .8s var(--ease); }

.timer { display: inline-flex; align-items: center; gap: 10px; }
.timer__ring { position: relative; width: 38px; height: 38px; }
.timer__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer__ring circle { fill: none; stroke-width: 2.5; }
.timer__ring .track { stroke: var(--surface-3); }
.timer__ring .bar { stroke: var(--text); stroke-linecap: round; stroke-dasharray: 113.1; transition: stroke-dashoffset 1s linear; }
.timer__ring .icon { position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; color: var(--text-2); }
.timer__text small { display: block; color: var(--text-3); font-size: 11.5px; }
.timer__text b { font-family: var(--mono); font-size: 16px; font-weight: 500; }
.timer.is-low .timer__text b { color: var(--amber); }

.details-toggle { margin-top: 14px; border-radius: 12px; border: 1px solid var(--border); }
.details-toggle summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 13px 15px; font-weight: 500; font-size: 14px; color: var(--text-2); transition: color var(--dur) var(--ease); }
.details-toggle summary::-webkit-details-marker { display: none; }
.details-toggle summary:hover { color: var(--text); }
.details-toggle summary .icon { width: 16px; height: 16px; }
.details-toggle summary .icon:last-child { margin-left: auto; transition: transform var(--dur) var(--ease); }
.details-toggle[open] summary .icon:last-child { transform: rotate(180deg); }
.details-toggle__body { padding: 0 15px 15px; }

.status-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(28px, 5vw, 48px) 20px; }
.status-hero .h2 { max-width: 22ch; }
.status-hero__text { margin-top: 8px; max-width: 46ch; }
.status-hero__meta { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.status-hero .btn { margin-top: 18px; }
.status-hero__icon { width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); }
.status-hero__icon .icon { width: 28px; height: 28px; }
.status-hero__icon--ok .icon { color: var(--green); }
.status-hero--warn .status-hero__icon { color: var(--amber); border-color: color-mix(in srgb, var(--amber) 35%, var(--border-2)); }
.check-anim { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-2); background: var(--surface-2); }
.check-anim svg { width: 30px; height: 30px; }
.check-anim path { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.timeline { display: grid; }
.tl-item { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding-bottom: 20px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: 15.5px; top: 34px; bottom: 2px; width: 1px; background: var(--border-2); }
.tl-item:last-child::before { display: none; }
.tl-item.is-done::before { background: rgba(255, 255, 255, .4); }
.tl-icon { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--text-3); background: var(--bg); border: 1px solid var(--border-2); }
.tl-icon .icon { width: 15px; height: 15px; }
.tl-item.is-done .tl-icon { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.tl-item.is-current .tl-icon { color: var(--text); border-color: rgba(255, 255, 255, .55); }
.tl-item.is-current .tl-icon::after { content: ''; position: absolute; inset: -4px; border-radius: 13px; border: 1px solid rgba(255, 255, 255, .35); animation: ring-pulse 2.2s var(--ease) infinite; }
@keyframes ring-pulse { 0% { opacity: .9; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.2); } }
.tl-item.is-current[data-step='processing'] .tl-icon .icon { animation: spin 2.4s linear infinite; }
.tl-item.is-current[data-step='delivering'] .tl-icon .icon { animation: drive 1.6s var(--ease-in-out) infinite; }
@keyframes drive { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(2px); } }
.tl-body b { display: block; font-size: 14.5px; font-weight: 500; padding-top: 4px; }
.tl-body small { display: block; color: var(--text-3); font-size: 12.5px; }
.tl-item:not(.is-done):not(.is-current) .tl-body b { color: var(--text-3); }

.kv { display: grid; gap: 11px; margin: 0; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; text-align: right; font-weight: 500; overflow-wrap: anywhere; }

.stars { display: inline-flex; gap: 2px; color: var(--text); }
.stars .icon { width: 14px; height: 14px; fill: currentColor; stroke-width: 1.5; }
.stars .icon.is-off { color: rgba(255, 255, 255, .16); }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.rating-input label { cursor: pointer; color: rgba(255, 255, 255, .16); transition: color .2s var(--ease), transform .3s var(--ease); }
.rating-input label .icon { width: 28px; height: 28px; fill: currentColor; }
.rating-input label:hover, .rating-input label:hover ~ label, .rating-input input:checked ~ label { color: var(--text); }
.rating-input label:hover { transform: scale(1.1); }
.rating-input input:focus-visible + label { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 2px; border-radius: 6px; }

.dev-panel { border: 1px dashed var(--border-2); border-radius: 14px; padding: 14px; }
.order-dev { width: 340px; max-width: 100%; margin: 16px 0 0 auto; }
@media (max-width: 1024px) { .order-dev { width: auto; } }
.dev-panel h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }

/* ==========================================================================
   Account
   ========================================================================== */
.account-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avatar { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-weight: 600; font-size: 22px; color: var(--text); background: var(--surface-3); border: 1px solid var(--border-2); flex-shrink: 0; text-transform: uppercase; }
.avatar--sm { width: 38px; height: 38px; border-radius: 12px; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.stat { padding: 16px 18px; }
.stat b { display: block; font-family: var(--mono); font-size: clamp(20px, 2.6vw, 24px); font-weight: 500; letter-spacing: -.03em; }
.stat span { color: var(--text-3); font-size: 13px; }
@media (max-width: 480px) { .stats { gap: 8px; } .stat { padding: 13px; } }

.tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; border: 1px solid var(--border); margin: 28px 0 20px; }
.tabs a { padding: 7px 16px; border-radius: 9px; font-weight: 500; font-size: 14px; color: var(--text-2); transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.tabs a:hover { color: var(--text); }
.tabs a.is-active { color: var(--text); background: var(--surface-3); }

.order-list { display: grid; gap: 8px; }
.order-row { position: relative; display: grid; grid-template-columns: 48px 1fr auto auto 20px; gap: 16px; align-items: center; padding: 12px 16px 12px 12px; transition: border-color var(--dur) var(--ease), transform .3s var(--ease); }
.order-row:hover { border-color: var(--border-2); transform: translateX(3px); }
.order-row__thumb { width: 48px; height: 48px; border-radius: 13px; overflow: hidden; border: 1px solid var(--border); }
.order-row__thumb .art__icon { width: 60%; border-radius: 28%; }
.order-row__title { font-weight: 500; }
.order-row__title a::after { content: ''; position: absolute; inset: 0; }
.order-row__meta { font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-top: 2px; }
.order-row__sum { font-family: var(--mono); font-weight: 500; text-align: right; }
.order-row > .icon { color: var(--text-3); width: 16px; height: 16px; transition: color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.order-row:hover > .icon { color: var(--text); transform: translateX(2px); }
@media (max-width: 640px) {
  .order-row { grid-template-columns: 44px 1fr auto; gap: 6px 14px; }
  .order-row__thumb { width: 44px; height: 44px; grid-row: span 2; }
  .order-row .status { grid-column: 2 / -1; justify-self: start; }
  .order-row__sum { grid-column: 3; grid-row: 1; }
  .order-row > .icon { display: none; }
}

/* ==========================================================================
   Auth
   ========================================================================== */
.auth { padding-top: clamp(32px, 7vw, 80px); }
.auth__card { padding: clamp(24px, 5vw, 36px); }
.auth__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid var(--border-2); background: var(--surface-2); }
.auth__icon .icon { width: 20px; height: 20px; }
.auth__card h1 { font-size: clamp(26px, 3.6vw, 30px); }
.auth__card .lead { margin: 6px 0 24px; font-size: 15px; }
.auth__alt { text-align: center; margin-top: 22px; color: var(--text-2); font-size: 14.5px; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-top { display: grid; grid-template-columns: 300px 1fr; gap: 16px; margin-bottom: 20px; }
.rating-sum { display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 26px; }
.rating-sum__value { font-family: var(--mono); font-size: 56px; font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.rating-sum .stars { justify-content: center; margin: 12px 0 6px; }
.rating-sum .stars .icon { width: 18px; height: 18px; }
.bars { display: grid; gap: 10px; padding: 24px 26px; align-content: center; }
.bar-row { display: grid; grid-template-columns: 32px 1fr 36px; gap: 12px; align-items: center; font-size: 13px; color: var(--text-3); font-family: var(--mono); }
.bar-row__track { height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.bar-row__track span { display: block; height: 100%; border-radius: inherit; background: var(--text); transform-origin: left; }
.js [data-reveal] .bar-row__track span { transform: scaleX(0); transition: transform 1.1s var(--ease) .15s; }
.js [data-reveal].is-in .bar-row__track span { transform: scaleX(1); }
@media (max-width: 760px) { .reviews-top { grid-template-columns: 1fr; } }

.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-chips a { padding: 6px 13px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 500; color: var(--text-2); border: 1px solid var(--border); transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); display: inline-flex; align-items: center; gap: 6px; }
.filter-chips a:hover { color: var(--text); border-color: var(--border-2); }
.filter-chips a.is-active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.filter-chips .icon { width: 13px; height: 13px; }

.reviews { columns: 3 300px; column-gap: 16px; }
.review { break-inside: avoid; margin-bottom: 16px; padding: 20px; display: grid; gap: 12px; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__who b { display: block; font-size: 14.5px; font-weight: 500; }
.review__who small { color: var(--text-3); font-size: 12px; font-family: var(--mono); }
.review__body { color: var(--text-2); line-height: 1.65; font-size: 14.5px; white-space: pre-line; }
.review__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.review__foot .link { font-size: 13.5px; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px; display: inline-grid; place-items: center; font-family: var(--mono); font-size: 13.5px; border: 1px solid var(--border); color: var(--text-2); transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.pagination a:hover { border-color: var(--border-3); color: var(--text); }
.pagination .is-active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.pagination .icon { width: 15px; height: 15px; }
.pagination__gap { border-color: transparent !important; color: var(--text-3); min-width: 24px !important; padding: 0 !important; }

/* ==========================================================================
   Owner tool
   ========================================================================== */
.owner-grid { display: grid; gap: 10px; }
.owner-order { padding: 18px; display: grid; grid-template-columns: 1.3fr 1fr 1.6fr; gap: 18px; align-items: start; }
.owner-order__code { font-family: var(--mono); font-weight: 500; }
.owner-order__meta { color: var(--text-3); font-size: 12.5px; font-family: var(--mono); margin-top: 4px; line-height: 1.6; }
.owner-order__contact a { color: var(--text); display: inline-flex; gap: 6px; align-items: center; }
.owner-order__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.owner-order__contact .icon { width: 14px; height: 14px; color: var(--text-3); }
.owner-order form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.owner-order form .input { grid-column: 1 / -1; height: 40px; font-size: 14px; }
.owner-order form .select { height: 40px; font-size: 14px; }
.owner-order form .btn { --h: 40px; }
@media (max-width: 960px) { .owner-order { grid-template-columns: 1fr; } }
.health { display: flex; flex-wrap: wrap; gap: 6px; }
.health .chip { height: 28px; }
.owner-section-title { display: flex; align-items: center; gap: 12px; margin: 48px 0 6px; font-size: clamp(22px, 2.8vw, 28px); }
.owner-section-title .icon { width: 22px; height: 22px; color: var(--text-3); }
.owner-tx { padding: 14px 16px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.owner-tx__main { flex: 1; min-width: 220px; }
.owner-tx__main b { font-family: var(--mono); font-weight: 500; }
.owner-tx form { display: flex; gap: 8px; }
.owner-tx form .input { height: 38px; width: 150px; font-size: 14px; }
.owner-tx form .btn { --h: 38px; }

/* ==========================================================================
   Review photos
   ========================================================================== */

/* Thumbnails under a review. One photo gets a wide strip, several share a row
   of squares, so a single shot never looks like a stray tile. */
.shots { display: grid; gap: 6px; grid-template-columns: repeat(4, 1fr); }
.shots--1 { grid-template-columns: minmax(0, 260px); }
.shots--2 { grid-template-columns: repeat(2, 1fr); }
.shots--3 { grid-template-columns: repeat(3, 1fr); }
.shots__item { min-width: 0; }
.shots__btn {
  display: block; width: 100%; padding: 0; overflow: hidden; cursor: zoom-in;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px;
  transition: border-color var(--dur) var(--ease), transform .35s var(--ease);
}
.shots__btn:hover { border-color: var(--border-3); transform: translateY(-2px); }
.shots__btn img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: opacity var(--dur) var(--ease); }
.shots--1 .shots__btn img { aspect-ratio: 16 / 10; }
.shots__btn:hover img { opacity: .88; }

/* ---------- Upload field ---------- */
.dropzone {
  position: relative; display: grid; gap: 12px; padding: 22px 18px; text-align: center;
  border: 1px dashed var(--border-2); border-radius: 12px; background: rgba(255, 255, 255, .02);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.dropzone:hover, .dropzone.is-over { border-color: var(--border-3); background: rgba(255, 255, 255, .04); }
.dropzone--sm { padding: 16px 14px; }
.dropzone__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone__face { display: grid; justify-items: center; gap: 5px; pointer-events: none; }
.dropzone__face .icon { width: 22px; height: 22px; color: var(--text-3); }
.dropzone__face b { font-weight: 500; font-size: 14.5px; }
.dropzone__face small { color: var(--text-3); font-size: 12.5px; }
.dropzone--sm .dropzone__face { grid-auto-flow: column; justify-content: center; align-items: center; gap: 8px; }
.dropzone__preview { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; pointer-events: none; }
.dropzone__preview:empty { display: none; }
.dropzone__preview li {
  position: relative; width: 62px; height: 62px; border-radius: 9px; overflow: hidden;
  border: 1px solid var(--border-2); background: var(--bg-2);
}
.dropzone__preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: clamp(16px, 4vw, 48px);
  background: rgba(6, 6, 6, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s linear .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .25s var(--ease); }
.lightbox img {
  max-width: 100%; max-height: 100%; border-radius: var(--r); border: 1px solid var(--border-2);
  transform: scale(.98); transition: transform .3s var(--ease);
}
.lightbox.is-open img { transform: none; }
.lightbox__close {
  position: absolute; top: clamp(12px, 3vw, 24px); right: clamp(12px, 3vw, 24px);
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-3); border: 1px solid var(--border-2); color: var(--text);
  transition: background-color var(--dur) var(--ease);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .16); }

/* ==========================================================================
   Owner: reviews
   ========================================================================== */
.rv-new { margin-top: 16px; padding: 0; overflow: hidden; }
.rv-new__summary, .rv-edit__summary { display: flex; align-items: center; gap: 10px; padding: 16px 18px; cursor: pointer; list-style: none; user-select: none; }
.rv-new__summary::-webkit-details-marker, .rv-edit__summary::-webkit-details-marker { display: none; }
.rv-new__summary .icon, .rv-edit__summary .icon { width: 17px; height: 17px; color: var(--text-3); transition: transform var(--dur) var(--ease); }
.rv-new[open] > .rv-new__summary .icon { transform: rotate(45deg); }
.rv-new__summary:hover, .rv-edit__summary:hover { background: var(--surface-2); }
.rv-new__summary small { margin-left: auto; font-size: 12.5px; }

.rv-list { display: grid; gap: 12px; margin-top: 16px; }
.rv-row { padding: 16px 18px; display: grid; gap: 10px; }
.rv-row.is-hidden { opacity: .55; }
.rv-row__head { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.rv-row__who { min-width: 0; flex: 1; }
.rv-row__who b { font-size: 15px; }
.rv-row__who .dim { display: block; font-size: 12.5px; margin-top: 2px; }
/* svg is display:block globally, so icons sitting inside a text line need this. */
.rv-row__who .icon { display: inline-block; width: 12px; height: 12px; vertical-align: -2px; }
.rv-row__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.rv-row__body { color: var(--text-2); font-size: 14.5px; line-height: 1.6; white-space: pre-line; }
.rv-del:hover { color: #f0868a; }

.rv-edit { border-top: 1px solid var(--border); margin: 4px -18px -16px; }
.rv-edit__summary { font-size: 14px; color: var(--text-2); }
.rv-form { padding: 4px 18px 18px; }
.rv-new .rv-form { border-top: 1px solid var(--border); padding-top: 18px; }
.rv-form__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rv-form__check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.rv-form__check input { width: 17px; height: 17px; accent-color: #ededed; }

.rv-shots { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-shots li { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border-2); }
.rv-shots img { width: 100%; height: 100%; object-fit: cover; }
.rv-shots__del {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(10, 10, 10, .82); border: 1px solid var(--border-2); color: var(--text);
  transition: background-color var(--dur) var(--ease);
}
.rv-shots__del:hover { background: var(--red); border-color: var(--red); }
.rv-shots__del .icon { width: 13px; height: 13px; }

@media (max-width: 900px) { .rv-form__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .rv-form__grid { grid-template-columns: 1fr; }
  .rv-row__actions { width: 100%; }
  .rv-row__actions form, .rv-row__actions .btn { flex: 1; }
}

/* ==========================================================================
   Error page
   ========================================================================== */
.error-page { text-align: center; padding-top: clamp(56px, 10vw, 120px); }
.error-code { font-family: var(--mono); font-weight: 500; font-size: clamp(88px, 16vw, 160px); line-height: 1; letter-spacing: -.08em; color: var(--text-3); }
.error-page p { color: var(--text-2); margin: 14px auto 28px; max-width: 46ch; }

/* ---------- Utilities ---------- */
.only-touch { display: none !important; }
@media (hover: none) and (pointer: coarse) { .only-touch { display: inline-flex !important; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .terminal__line { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track [aria-hidden='true'] { display: none; }
}
