/* ==========================================================================
   Hardened Pixel Co. — shared stylesheet (v4, "clean white")
   Light, airy and high-contrast: near-white page, white cards, ink-black type,
   one teal accent, pill buttons and soft shadows. The neon product images sit
   in dark rounded tiles as the only "night" element.
   No external fonts, CDNs or inline styles (the CSP in _headers forbids them).
   Edit the variables in :root to re-theme the whole site. Contrast ratios in
   the comments are against white; all text pairs meet WCAG AA.
   ========================================================================== */
:root {
  --bg: #f5f6f8;
  --bg-alt: #eef0f3;
  --surface: #ffffff;
  --surface-2: #f3f5f7;
  --border: #dfe3e8;
  --border-strong: #c3cbd4;
  --ink: #0d1117;         /* headings, primary buttons, ~19:1 */
  --text: #1b222b;        /* body text, ~16:1 */
  --text-muted: #535d68;  /* ~6.9:1 (~6.4:1 on --bg) */
  --accent: #0f766e;      /* teal, ~5.5:1 — links, eyebrows, icons */
  --accent-hover: #0b5d56;
  --accent-soft: #e6f4f1;
  --accent-line: #b7e0d8;
  --violet: #6d28d9;      /* ~7:1, crypto pill and small accents only */
  --violet-soft: #f1ebfd;
  --violet-line: #d9c9f7;
  --warn: #8a4b08;        /* ~7:1 */
  --warn-bg: #fff8eb;
  --warn-line: #f0d5a0;
  --danger: #b42318;      /* ~6.5:1 */
  --danger-bg: #fef3f2;
  --info-bg: #f0f7f6;
  --shadow-sm: 0 1px 2px rgba(13,17,23,.06), 0 1px 1px rgba(13,17,23,.04);
  --shadow: 0 10px 30px -12px rgba(13,17,23,.18);
  --shadow-lg: 0 40px 80px -40px rgba(13,17,23,.45);
  --radius: 22px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin-top: 1.6em; font-weight: 800; letter-spacing: -0.035em; }
h3 { font-size: 1.18rem; margin-top: 1.4em; }
p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: .35em; }
code, kbd { font-family: var(--mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: .08em .35em; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
strong { color: var(--ink); }
::selection { background: #c9ece5; color: var(--ink); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; font-weight: 700; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 1rem; top: 1rem; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 800px; }
.text-gradient { color: var(--text-muted); } /* second line of a headline, in grey */

/* ---------- Top notice bar ---------- */
.topbar { background: var(--ink); font-size: .82rem; color: #c8d0d8; text-align: center; padding: .45rem 1rem; }
.topbar a { color: #fff; }
.topbar-pay { color: #7ee0c8; font-weight: 700; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,246,248,.86); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand small { display: block; font-weight: 500; font-size: .72rem; color: var(--text-muted); letter-spacing: 0; }
.nav-toggle { display: none; background: var(--surface); color: var(--ink); border: 1px solid var(--border-strong); border-radius: 999px; padding: .5rem 1rem; font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; }
.nav-toggle:hover { border-color: var(--ink); }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .1rem; margin: 0; padding: 0; align-items: center; }
.site-nav li { margin: 0; }
.site-nav a { display: block; padding: .45rem .75rem; border-radius: 999px; color: var(--text-muted); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color .2s, background-color .2s; }
.site-nav a:hover { color: var(--ink); background: var(--surface); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); }
.site-nav .nav-cta { background: var(--ink); color: #fff; font-weight: 700; padding-left: 1.1rem; padding-right: 1.1rem; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { background: #2a3340; color: #fff; }
@media (max-width: 1100px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--border); padding: .75rem 1.5rem 1.25rem; box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .no-js .site-nav { display: block; position: static; padding: 0 0 1rem; border: 0; box-shadow: none; background: transparent; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: .7rem .9rem; font-size: 1.05rem; }
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { margin-left: auto; }
}
@media (min-width: 1101px) { .site-nav ul { flex-wrap: nowrap; } .site-nav a { padding: .4rem .6rem; font-size: .9rem; white-space: nowrap; } .brand { flex: none; } }
@media (min-width: 1101px) and (max-width: 1280px) { .brand small { display: none; } .site-nav a { padding: .4rem .45rem; font-size: .86rem; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3.25rem); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1; letter-spacing: -0.05em; margin-bottom: .3em; }
.hero-media { position: relative; margin: 0; border-radius: 28px; overflow: hidden; background: #05060b; box-shadow: var(--shadow-lg); }
.hero-media img { display: block; width: 100%; height: auto; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; }
.lead { font-size: clamp(1.08rem, 1.8vw, 1.25rem); color: var(--text-muted); max-width: 46ch; }
.benefit-chips { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; max-width: 560px; }
.benefit-chips li { margin: 0; display: flex; align-items: center; gap: .55rem; padding: .6rem .8rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); font-size: .92rem; font-weight: 600; line-height: 1.3; color: var(--ink); box-shadow: var(--shadow-sm); }
.benefit-chips svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
@media (max-width: 480px) { .benefit-chips { gap: .4rem; margin-top: 1rem; } .benefit-chips li { font-size: .8rem; padding: .5rem .6rem; gap: .4rem; } .benefit-chips svg { width: 15px; height: 15px; } .hero .lead { font-size: 1.02rem; } }
.hero-note { font-size: .88rem; color: var(--text-muted); margin-top: 1.1rem; }
.page-hero { padding: clamp(2.25rem, 5vw, 3.75rem) 0 2rem; border-bottom: 1px solid var(--border); }
.page-hero .lead { max-width: 62ch; }
.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-muted); }
.hero-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.4rem; font-family: var(--mono); font-size: .86rem; color: var(--text-muted); margin: 0; box-shadow: var(--shadow-sm); }
.hero-card .line { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--border); margin: 0; }
.hero-card .line:last-child { border-bottom: 0; }
.hero-card dt, .hero-card dd { margin: 0; }
.hero-card .ok { color: var(--accent); text-align: right; font-weight: 600; }

/* ---------- Model page hero ---------- */
.model-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 860px) { .model-hero { grid-template-columns: 1fr; } }
.model-shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: #05060b; box-shadow: var(--shadow-lg); }
.model-shot img { display: block; width: 100%; height: auto; }
.support-line { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--ink); background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 999px; padding: .3rem .85rem; margin: .25rem 0 1rem; }
.support-line::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.support-line.ending { background: var(--warn-bg); border-color: var(--warn-line); }
.support-line.ending::before { background: #d97706; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.45rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid transparent; font-size: 1rem; cursor: pointer; font-family: inherit; line-height: 1.2; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -10px rgba(13,17,23,.6); }
.btn-primary:hover { background: #2a3340; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " \2192"; display: inline-block; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Sections & grids ---------- */
.section { padding: clamp(2.75rem, 6vw, 5rem) 0; }
.section-tight { padding-top: clamp(1.25rem, 3vw, 2rem); }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 2rem; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s var(--ease); }
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 1rem; }
.card .icon svg { width: 22px; height: 22px; }
.card.lift:hover, .product:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.muted { color: var(--text-muted); }
.small { font-size: .9rem; }

/* ---------- Benefit / feature grid ---------- */
.feature-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { padding: 1.4rem 1.4rem; }
.feature h3 { font-size: 1.1rem; margin: 0 0 .3rem; }
.feature p { color: var(--text-muted); font-size: .96rem; margin: 0; }
.feature .learn { display: inline-block; margin-top: .65rem; font-size: .9rem; font-weight: 700; }
.feature.accent-m .icon { color: var(--ink); background: var(--surface-2); }

/* ---------- Product cards ---------- */
.product { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.product > :not(.device):not(.product-img) { margin-left: 1.35rem; margin-right: 1.35rem; }
.product .badge-row { margin-top: 1.1rem; }
.product .foot { margin-bottom: 1.3rem; }
.product .device { aspect-ratio: 4 / 3; background: var(--surface-2); border-bottom: 1px solid var(--border); display: grid; place-items: center; }
.product .device svg { width: 30%; height: auto; }
.product-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #05060b; transition: transform .5s var(--ease); }
.product:hover .product-img { transform: scale(1.03); }
.product h3 { margin: 0 0 .25rem; font-size: 1.25rem; }
.product .tagline { color: var(--text-muted); font-size: .93rem; margin-bottom: .6rem; }
.product ul { padding-left: 1.1rem; font-size: .93rem; color: var(--text-muted); }
.product .foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.product .foot .price { flex: 1 1 100%; }
.product .foot .btn { flex: 0 0 auto; }
.price { font-size: 1.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price small { display: block; font-size: .75rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.badge { display: inline-block; font-size: .74rem; font-weight: 700; padding: .22rem .65rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); margin-bottom: .6rem; }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-m { background: var(--ink); color: #fff; }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem; }
.badge-row .badge { margin: 0; }
.price-breakdown { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; letter-spacing: 0; }
.support-mini { font-size: .84rem; color: var(--text-muted); }

/* Compact model row on the homepage */
.model-row { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .model-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .model-row { grid-template-columns: 1fr; } }
.model-card { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.model-card .product-img { aspect-ratio: 16 / 10; }
.model-card .body { padding: 1.1rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.model-card h3 { margin: 0; font-size: 1.25rem; }
.model-card h3 a { color: var(--ink); text-decoration: none; }
.model-card h3 a::after { content: ""; position: absolute; inset: 0; }
.model-card .spec { color: var(--text-muted); font-size: .9rem; margin: 0; }
.model-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-top: auto; padding-top: .8rem; }
.model-card .from { font-weight: 800; color: var(--ink); font-size: 1.25rem; letter-spacing: -.02em; }
.model-card .badge { position: absolute; top: .8rem; left: .8rem; margin: 0; background: rgba(255,255,255,.94); color: var(--ink); }
.model-card .badge-m { background: var(--ink); color: #fff; }
.model-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.model-card:hover .product-img { transform: scale(1.04); }
.model-card:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Sandbox visual ("vaults") ---------- */
.vault-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 900px) { .vault-wrap { grid-template-columns: 1fr; } }
.vault-phone { position: relative; max-width: 440px; margin: 0 auto; width: 100%; padding: 1.1rem; border-radius: 44px; border: 1px solid var(--border-strong); background: var(--surface); box-shadow: var(--shadow-lg); }
.vault-phone::before { content: ""; display: block; width: 22%; height: 6px; margin: 0 auto .9rem; border-radius: 999px; background: var(--border); }
.vault-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.vault { position: relative; margin: 0; border-radius: 22px; padding: 1rem 1.1rem 1rem 3.5rem; border: 1px solid var(--border); background: var(--surface-2); }
.vault h3 { margin: 0; font-size: 1.02rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; }
.vault p { margin: .2rem 0 0; font-size: .9rem; color: var(--text-muted); line-height: 1.45; }
.vault .v-icon { position: absolute; left: .95rem; top: 1.05rem; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; }
.vault .v-icon svg { width: 18px; height: 18px; }
.vault .tag { font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .14rem .5rem; border-radius: 999px; }
.vault-main { background: var(--ink); border-color: var(--ink); }
.vault-main h3 { color: #fff; }
.vault-main p { color: #b8c2cc; }
.vault-main .v-icon { background: rgba(255,255,255,.1); color: #7ee0c8; }
.vault-main .tag { background: rgba(126,224,200,.16); color: #7ee0c8; }
.vault-bank { background: var(--surface); border-color: var(--accent-line); }
.vault-bank .v-icon { background: var(--accent-soft); color: var(--accent); }
.vault-bank .tag { background: var(--accent-soft); color: var(--accent); }
.vault-extra { border-style: dashed; background: var(--surface); }
.vault-extra .v-icon { background: var(--violet-soft); color: var(--violet); }
.vault-extra .tag { background: var(--violet-soft); color: var(--violet); }
.vault-wall { display: flex; align-items: center; gap: .6rem; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin: 0; padding: 0 .4rem; }
.vault-wall::before, .vault-wall::after { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 10px); }
.vault-legend { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .7rem; }
.vault-legend li { display: flex; gap: .75rem; align-items: flex-start; margin: 0; }
.vault-legend .n { flex: none; width: 1.8rem; height: 1.8rem; border-radius: 999px; display: grid; place-items: center; font-size: .78rem; font-weight: 800; color: #fff; background: var(--ink); }

/* ---------- Callouts ---------- */
.callout { border: 1px solid var(--border); border-left: 4px solid var(--accent); background: var(--surface); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.5rem 0; box-shadow: var(--shadow-sm); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout-title { font-weight: 800; display: block; margin-bottom: .3rem; color: var(--ink); }
.callout.warn { border-left-color: #d97706; background: var(--warn-bg); border-color: var(--warn-line); border-left-color: #d97706; }
.callout.warn .callout-title { color: var(--warn); }
.callout.danger { border-left-color: var(--danger); background: var(--danger-bg); }
.callout.danger .callout-title { color: var(--danger); }
/* "What no phone can do": compact and calm, not alarming */
.limits-note { display: flex; gap: .9rem; align-items: flex-start; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); padding: 1rem 1.2rem; margin: 1.5rem 0; }
.limits-note .li-icon { flex: none; width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; color: var(--text-muted); background: var(--surface-2); }
.limits-note .li-icon svg { width: 18px; height: 18px; }
.limits-note p { margin: 0; color: var(--text-muted); font-size: .94rem; }
.limits-note strong { color: var(--ink); }
.limits-note ul { margin: .5rem 0 0; padding-left: 1.1rem; color: var(--text-muted); font-size: .94rem; }
.limits-note ul:last-child { margin-bottom: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); margin: 1.25rem 0 1.75rem; background: var(--surface); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-2); color: var(--ink); font-weight: 700; white-space: nowrap; }
tbody th { background: var(--surface); }
tbody tr { transition: background-color .2s; }
tbody tr:hover, tbody tr:hover th { background: #f8faf9; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
td.yes { color: var(--accent); } td.no { color: var(--danger); } td.maybe { color: var(--warn); }

/* ---------- Steps & lists ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps > li { position: relative; padding: 0 0 1.25rem 3.25rem; margin: 0; }
.steps > li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .9rem; font-weight: 800; }
.steps > li strong { display: block; margin-bottom: .15rem; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.8rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: .1rem; top: .45em; width: 1rem; height: .55rem; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.xlist { list-style: none; padding: 0; }
.xlist li { padding-left: 1.8rem; position: relative; }
.xlist li::before { content: "\2013"; position: absolute; left: .25rem; top: 0; color: #d97706; font-weight: 800; }

/* ---------- Layout with sidebar ---------- */
.with-toc { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.toc { position: sticky; top: 92px; font-size: .9rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); }
.toc strong { display: block; margin-bottom: .5rem; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a { color: var(--text-muted); text-decoration: none; display: block; padding: .28rem 0 .28rem .65rem; border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
@media (max-width: 900px) { .with-toc { grid-template-columns: 1fr; gap: 1.5rem; } .toc { position: static; } }
.prose { max-width: 75ch; min-width: 0; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Spec list ---------- */
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin: 1rem 0 1.5rem; background: var(--surface); }
.specs dt, .specs dd { margin: 0; padding: .7rem 1rem; border-bottom: 1px solid var(--border); }
.specs dt { background: var(--surface-2); font-weight: 700; color: var(--ink); font-size: .93rem; }
.specs dd { background: var(--surface); color: var(--text-muted); }
.specs dt:nth-last-of-type(1), .specs dd:last-of-type { border-bottom: 0; }
@media (max-width: 520px) { .specs { grid-template-columns: 1fr; } .specs dt { border-bottom: 0; padding-bottom: .2rem; } }
.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .model-grid { grid-template-columns: 1fr; } }
.model-grid > div { min-width: 0; }
.buy-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.buy-box .price { font-size: 2.2rem; }
.option-list { list-style: none; padding: 0; margin: 1rem 0; }
.option-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--border); margin: 0; }
.option-list li:last-child { border-bottom: 0; }
.option-list strong { color: var(--ink); }
.mini-features { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .5rem; grid-template-columns: repeat(2, minmax(0,1fr)); }
.mini-features li { margin: 0; display: flex; gap: .5rem; align-items: center; font-size: .92rem; font-weight: 600; padding: .55rem .7rem; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); }
.mini-features svg { width: 17px; height: 17px; flex: none; color: var(--accent); }
@media (max-width: 420px) { .mini-features { grid-template-columns: 1fr; } }

/* ---------- details / summary (FAQ and "Learn more") ---------- */
.faq-group h2 { font-size: 1.4rem; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: .65rem; transition: border-color .2s, box-shadow .2s; }
details:hover { border-color: var(--border-strong); }
details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
summary { cursor: pointer; padding: 1rem 2.9rem 1rem 1.15rem; font-weight: 700; color: var(--ink); list-style: none; position: relative; border-radius: var(--radius-sm); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1.15rem; top: .8rem; font-size: 1.35rem; color: var(--ink); font-weight: 400; }
details[open] > summary::after { content: "\2212"; }
details .answer, details .more-body { padding: 0 1.15rem 1.05rem; color: var(--text-muted); }
details .answer p:last-child, details .more-body > :last-child { margin-bottom: 0; }
details.more { background: transparent; border-style: dashed; border-color: var(--border-strong); }
details.more > summary { font-size: .95rem; color: var(--accent); }
.more-body h3 { color: var(--ink); font-size: 1.02rem; margin-top: 1rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--ink); }
.hint { display: block; font-weight: 400; font-size: .85rem; color: var(--text-muted); }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: .75rem .9rem; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 3px solid rgba(15,118,110,.2); outline-offset: 0; }
textarea { min-height: 160px; resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.check input { width: auto; margin-top: .35rem; accent-color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; color: var(--accent); min-height: 1.5em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 3rem 0 2rem; margin-top: 3rem; font-size: .95rem; color: var(--text-muted); }
.footer-notice { background: var(--warn-bg); border: 1px solid var(--warn-line); border-left: 4px solid #d97706; border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 2rem; color: var(--text); font-size: .9rem; }
.footer-notice strong { color: var(--warn); }
.footer-notice p { margin: 0; }
.footer-notice a { color: var(--accent); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); margin: 0 0 .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 2rem; padding-top: 1.25rem; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* ---------- Misc ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.stat b { display: block; font-size: 1.4rem; color: var(--ink); }
.stat span { font-size: .88rem; color: var(--text-muted); }
.cta-band { background: var(--ink); color: #c8d0d8; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; box-shadow: var(--shadow-lg); }
.cta-band h2 { margin: 0 0 .3rem; color: #fff; }
.cta-band p { margin: 0; color: #c8d0d8; max-width: 60ch; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: #e6ebef; color: var(--ink); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.placeholder-note { font-size: .8rem; color: var(--warn); }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .split-2 { grid-template-columns: 1fr; } }

/* ---------- Utilities (used instead of inline styles so the CSP can stay strict) ---------- */
.jc-center { justify-content: center; }
.mx-auto-mb { margin: 0 auto 1.5rem; }
.ai-start { align-items: start; }
.border-warn { border-left: 4px solid #d97706; }
.m-0 { margin: 0; } .my-1 { margin: 1rem 0; }
.mt-075 { margin-top: .75rem; } .mt-1 { margin-top: 1rem; } .mt-125 { margin-top: 1.25rem; } .mt-15 { margin-top: 1.5rem; } .mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.p-2 { padding: 2rem; } .w-full { width: 100%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 440px) { .brand small { display: none; } }

/* ---------- Estimator, figures, notes ---------- */
.no-js .js-only { display: none !important; }
.estimator { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; margin: 1rem 0; }
.estimator h3 { margin-top: 0; font-size: 1.02rem; }
.estimator .est-controls { display: grid; gap: .6rem; margin-bottom: .8rem; }
.estimator label { display: block; font-size: .85rem; color: var(--text-muted); font-weight: 600; }
.estimator select { width: 100%; margin-top: .2rem; background: var(--surface); color: var(--ink); border: 1px solid var(--border-strong); border-radius: 10px; padding: .5rem .6rem; font: inherit; font-size: .92rem; }
.estimator select:disabled { opacity: .6; }
.est-out { display: grid; grid-template-columns: 1fr auto; gap: .25rem .8rem; margin: 0; font-size: .95rem; }
.est-out dt { color: var(--text-muted); }
.est-out dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.est-out dt { min-width: 0; }
.est-out .total { font-weight: 800; color: var(--ink); border-top: 1px solid var(--border-strong); padding-top: .4rem; margin-top: .25rem; font-size: 1.1rem; }
.est-out .total-v { color: var(--accent); }
.shot { margin: 0; text-align: center; }
.shot img { width: 100%; max-width: 260px; height: auto; border-radius: 26px; border: 1px solid var(--border); background: #000; display: block; margin: 0 auto; box-shadow: var(--shadow); }
.shot.wide img { max-width: 560px; border-radius: var(--radius-sm); }
.shot figcaption { font-size: .78rem; color: var(--text-muted); margin-top: .55rem; line-height: 1.45; }
.shot figcaption a { color: var(--text-muted); }
.shot figcaption strong { color: var(--ink); font-weight: 600; display: block; font-size: .85rem; }
.shots { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: start; margin: 1.5rem 0; }
.feature-split { display: grid; gap: 2rem; grid-template-columns: 1.3fr 1fr; align-items: center; }
@media (max-width: 860px) { .feature-split { grid-template-columns: 1fr; } }
.section-feature { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.profile-diagram { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 1.5rem 0; }
.profile-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem; background: var(--surface); }
.profile-box h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.profile-box .role { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 700; }
.profile-box ul { margin: .5rem 0 0; padding-left: 1.1rem; font-size: .92rem; }
.profile-box.is-owner { border-color: var(--ink); }
.profile-box.is-bank { border-color: var(--accent); }
.limits { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; border-left: 4px solid var(--text-muted); }
.limits h3 { margin-top: 0; }
.limits.callout.danger { border-left-color: var(--text-muted); background: var(--surface); border-color: var(--border); }
.limits.callout.danger .callout-title { color: var(--ink); }
.page-notes { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: .85rem; }
.page-notes h2 { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 .5rem; }
.page-notes p { margin: 0 0 .6rem; max-width: 75ch; }
.page-notes strong { color: inherit; font-weight: 600; }

/* ---------- Payment methods (highlighted) ---------- */
.pay-strip { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1.3rem 0 0; }
.pay-label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-right: .15rem; }
.pay-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .95rem; border-radius: 999px; font-size: .95rem; font-weight: 800; color: var(--ink); background: var(--surface); border: 1px solid var(--accent-line); box-shadow: var(--shadow-sm); }
.pay-pill svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.pay-pill.pay-crypto { border-color: var(--violet-line); }
.pay-pill.pay-crypto svg { color: var(--violet); }
.pay-compact { margin: .6rem 0 .5rem; }
.pay-compact .pay-pill { font-size: .88rem; padding: .35rem .75rem; }
@media (max-width: 480px) {
  .pay-strip { gap: .35rem; }
  .pay-label { font-size: .68rem; letter-spacing: .08em; margin-right: 0; white-space: nowrap; }
  .pay-pill { font-size: .82rem; padding: .34rem .65rem; gap: .32rem; white-space: nowrap; }
  .pay-pill svg { width: 15px; height: 15px; }
  .pay-compact .pay-pill { font-size: .76rem; padding: .28rem .5rem; gap: .28rem; }
  .pay-compact .pay-pill svg { width: 14px; height: 14px; }
  .pay-compact .pay-label { font-size: .64rem; }
}

/* ---------- Model page: buy box in the first screen ---------- */
.model-page-top { padding-top: clamp(1.25rem, 3vw, 2.25rem); }
.model-top { display: grid; gap: 1.25rem 2.75rem; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); grid-template-areas: "intro buy" "media buy" "feat buy"; grid-template-rows: auto auto 1fr; align-items: start; }
.mt-intro { grid-area: intro; }
.mt-intro h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: .3em; }
.mt-intro .support-line { margin-bottom: 0; }
.mt-buy { grid-area: buy; }
.mt-media { grid-area: media; }
.mt-feat { grid-area: feat; }
.mt-feat .mini-features { margin-bottom: 0; }
.mt-buy .buy-box { margin: 0; }
.mt-buy .estimator { margin-bottom: 0; }
@media (max-width: 900px) {
  .model-top { grid-template-columns: 1fr; grid-template-areas: "intro" "buy" "media" "feat"; grid-template-rows: none; }
  .model-shot.mt-media img { aspect-ratio: 16 / 9; object-fit: cover; }
}

/* ---------- Shop: checkout, order pages, admin ---------- */
[hidden] { display: none !important; }
.h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); } .h3 { font-size: 1.2rem; } .h4 { font-size: 1rem; margin: 1.2rem 0 .5rem; }
.page-hero-compact { padding: clamp(1.5rem, 4vw, 2.5rem) 0 1.5rem; }
.page-hero-compact h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: .25em; }
.form-error { color: var(--danger); font-weight: 600; min-height: 1.2em; margin: .6rem 0 0; }
.textarea-sm { min-height: 90px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; } }
.checkout-summary { position: sticky; top: 88px; }
@media (max-width: 960px) { .checkout-summary { position: static; } }
.co-step { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 1.25rem 1.35rem 1.4rem; margin: 0 0 1rem; box-shadow: var(--shadow-sm); min-width: 0; }
.co-step legend { float: left; width: 100%; padding: 0; margin: 0 0 1rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); display: flex; align-items: center; gap: .6rem; }
.co-step legend + * { clear: both; }
.co-num { width: 1.8rem; height: 1.8rem; border-radius: 999px; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-size: .85rem; flex: none; }
.choice-list { display: grid; gap: .5rem; }
.choice { display: flex; align-items: center; gap: .75rem; margin: 0; padding: .8rem 1rem; border: 1px solid var(--border-strong); border-radius: 14px; cursor: pointer; font-weight: 600; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.choice:hover { border-color: var(--ink); }
.choice input { width: auto; margin: 0; accent-color: var(--ink); flex: none; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--ink); }
.choice:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice-body { display: flex; flex: 1; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; }
.choice-title { color: var(--ink); }
.choice-sub { color: var(--text-muted); font-weight: 600; font-size: .9rem; }
.choice.is-disabled { opacity: .55; cursor: not-allowed; }

.status-badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: .22rem .7rem; border-radius: 999px; vertical-align: middle; }
.status-wait { background: var(--warn-bg); color: var(--warn); }
.status-warn { background: var(--danger-bg); color: var(--danger); }
.status-ok { background: var(--accent-soft); color: var(--accent-hover); }
.status-off { background: var(--surface-2); color: var(--text-muted); }

.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 960px) { .order-layout { grid-template-columns: 1fr; } }
.order-main > * + *, .order-side > * + * { margin-top: 1rem; }
.order-main > .callout:first-child { margin-top: 0; }
.progress { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: 0; margin: 0; counter-reset: p; }
.progress li { position: relative; margin: 0; padding: .7rem .8rem .7rem 2.6rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: .92rem; color: var(--text-muted); }
.progress li::before { counter-increment: p; content: counter(p); position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); width: 1.5rem; height: 1.5rem; border-radius: 999px; display: grid; place-items: center; font-size: .78rem; background: var(--surface-2); color: var(--text-muted); }
.progress li.done { color: var(--ink); border-color: var(--accent-line); }
.progress li.done::before { content: "\2713"; background: var(--accent); color: #fff; }
.progress li.current { color: var(--ink); border-color: var(--ink); }
.progress li.current::before { background: var(--ink); color: #fff; }
.progress.is-closed li { opacity: .55; }
@media (max-width: 520px) { .progress { grid-template-columns: 1fr; } }
.pay-panel h2 { margin-bottom: .4rem; }
.pay-row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: .5rem 1rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.pay-row:last-of-type { border-bottom: 0; }
.pay-row-label { color: var(--text-muted); font-size: .92rem; }
.pay-row-value { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.pay-code { font-size: .95rem; background: var(--surface-2); padding: .3rem .55rem; border-radius: 8px; overflow-wrap: anywhere; word-break: break-all; flex: 1; min-width: 0; }
@media (max-width: 520px) { .pay-row { grid-template-columns: 1fr; gap: .25rem; } }
.copy-btn { flex: none; font: inherit; font-size: .8rem; font-weight: 700; padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
.copy-btn:hover { border-color: var(--ink); }
.crypto-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1.25rem; align-items: start; margin-top: .75rem; }
@media (max-width: 640px) { .crypto-grid { grid-template-columns: 1fr; } }
.qr { width: 240px; max-width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--border); background: #fff; }
.quote-timer { margin: 1rem 0 0; padding: .6rem .8rem; border-radius: 10px; background: var(--surface-2); font-size: .92rem; }
.quote-timer.is-expired { background: var(--warn-bg); color: var(--warn); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; gap: .1rem; padding: .55rem 0 .55rem 1rem; border-left: 2px solid var(--border); margin: 0; font-size: .92rem; }
.timeline time { font-size: .78rem; color: var(--text-muted); }
.order-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.order-item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding: 1rem 1.2rem; margin: 0; }
.order-id { font-weight: 700; color: var(--ink); }

body.admin .site-header { position: static; }
.admin-login { max-width: 420px; margin: 2rem auto; }
.admin-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.admin-status { margin-bottom: 1rem; }
.admin-pools { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.pool-chip { font-size: .82rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-hover); }
.pool-chip.is-low { background: var(--warn-bg); color: var(--warn); }
.pool-chip.is-empty { background: var(--danger-bg); color: var(--danger); }
.admin-warn { margin: .75rem 0 0; padding: .75rem 1rem .75rem 2rem; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius-sm); color: var(--warn); font-size: .92rem; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: 1rem; }
.admin-tabs [role=tab] { font: inherit; font-size: .9rem; font-weight: 600; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-muted); cursor: pointer; }
.admin-tabs [aria-selected=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
.admin-tabs input[type=search] { flex: 1 1 220px; width: auto; padding: .5rem .8rem; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 1000px) { .admin-grid { grid-template-columns: 1fr; } }
.admin-list { margin: 0; }
.admin-list tbody tr { cursor: pointer; }
.admin-list tbody tr.is-selected, .admin-list tbody tr.is-selected th { background: var(--accent-soft); }
.admin-list td, .admin-list th { font-size: .88rem; padding: .6rem .75rem; white-space: nowrap; }
.admin-detail { position: sticky; top: 1rem; }
.admin-detail-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.admin-kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .35rem .9rem; font-size: .9rem; margin: .75rem 0 1rem; }
.admin-kv dt { color: var(--text-muted); }
.admin-kv dd { margin: 0; overflow-wrap: anywhere; display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.admin-buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
.admin-buttons .btn { padding: .6rem 1rem; font-size: .9rem; }
.admin-ship { display: grid; grid-template-columns: 1fr 1fr auto; gap: .5rem; width: 100%; }
@media (max-width: 560px) { .admin-ship { grid-template-columns: 1fr; } }
.admin-note { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1rem; }
.admin-note input[type=text] { flex: 1 1 200px; width: auto; }
.admin-note .check { margin: 0; font-size: .88rem; }
.admin-inline { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.admin-inline input { width: 8rem; }

/* ---------- Motion: scroll reveal (only when JS is on and motion is OK) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal-stagger > * { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
  .js .reveal-stagger.is-visible > :nth-child(2) { transition-delay: .06s; }
  .js .reveal-stagger.is-visible > :nth-child(3) { transition-delay: .12s; }
  .js .reveal-stagger.is-visible > :nth-child(4) { transition-delay: .18s; }
  .js .reveal-stagger.is-visible > :nth-child(5) { transition-delay: .24s; }
  .js .reveal-stagger.is-visible > :nth-child(6) { transition-delay: .3s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card.lift:hover, .product:hover, .model-card:hover, .btn-primary:hover { transform: none; }
  .product:hover .product-img, .model-card:hover .product-img { transform: none; }
}
@media print {
  body { background: #fff; color: #000; }
  .site-header, .topbar { display: none; }
}
