/* Layout concept: a studio that works like a piece of hardware — cool grey chassis, glass bars,
   panel cards with LED price readouts (dot-matrix), spec sheets for every service. */
:root {
  --bg: #E7E8EA;
  --bg-2: #DCDDE0;
  --panel: #F5F5F6;
  --panel-2: #FFFFFF;
  --fg: #101113;
  --fg-2: #2B2D33;
  --muted: #62656D;
  --line: rgba(16, 17, 19, .10);
  --line-2: rgba(16, 17, 19, .20);
  --signal: #F04A10;
  --signal-ink: #B83606;
  --btn: #101113;
  --btn-ink: #F5F5F6;
  --led-bg: #141518;
  --led: #FF5A1F;
  --c1: #E8460D;
  --c2: #2F4BFF;
  --c3: #0B9A70;
  --c4: #7650EE;
  --surface: rgba(16, 17, 19, .035);
  --glass: rgba(245, 245, 246, .66);
  --glass-edge: rgba(255, 255, 255, .75);
  --glass-hi: rgba(255, 255, 255, .95);
  --shadow: rgba(20, 22, 30, .10);
  --shadow-2: rgba(20, 22, 30, .22);
  --ok: #0B9A70;
  --warn: #B26A00;

  --f-display: "Funnel Display", "Geist", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Geist", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-led: "Doto", "Geist Mono", ui-monospace, monospace;

  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --gut: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D0E10; --bg-2: #090A0B; --panel: #15161A; --panel-2: #1B1C21;
    --fg: #F1F1EF; --fg-2: #D3D4D8; --muted: #8E919A; --signal-ink: #FF6A33;
    --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .17);
    --signal: #FF5A1F; --btn: #FF5A1F; --btn-ink: #0D0E10;
    --led-bg: #050506; --led: #FF6A2C;
    --c1: #FF6A2C; --c2: #7189FF; --c3: #2BD9A0; --c4: #B49CFF;
    --surface: rgba(255, 255, 255, .04);
    --glass: rgba(21, 22, 26, .62); --glass-edge: rgba(255, 255, 255, .09); --glass-hi: rgba(255, 255, 255, .14);
    --shadow: rgba(0, 0, 0, .45); --shadow-2: rgba(0, 0, 0, .7);
    --ok: #2BD9A0; --warn: #FFB547;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D0E10; --bg-2: #090A0B; --panel: #15161A; --panel-2: #1B1C21;
  --fg: #F1F1EF; --fg-2: #D3D4D8; --muted: #8E919A; --signal-ink: #FF6A33;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .17);
  --signal: #FF5A1F; --btn: #FF5A1F; --btn-ink: #0D0E10;
  --led-bg: #050506; --led: #FF6A2C;
  --c1: #FF6A2C; --c2: #7189FF; --c3: #2BD9A0; --c4: #B49CFF;
  --surface: rgba(255, 255, 255, .04);
  --glass: rgba(21, 22, 26, .62); --glass-edge: rgba(255, 255, 255, .09); --glass-hi: rgba(255, 255, 255, .14);
  --shadow: rgba(0, 0, 0, .45); --shadow-2: rgba(0, 0, 0, .7);
  --ok: #2BD9A0; --warn: #FFB547;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 16px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { /* faint dot grid on the chassis */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--line) 1px, transparent 1.2px);
  background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000 0, transparent 900px);
}
img, svg, video, canvas { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--signal); color: #fff; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--btn); color: var(--btn-ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.mono { font-family: var(--f-mono); letter-spacing: .01em; }
.small { font-size: 12px; }
.i { width: 18px; height: 18px; flex: none; }
.i.lg { width: 26px; height: 26px; }
.led { font-family: var(--f-led); font-weight: 900; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.sel { user-select: all; }
.kbd { font: 500 11px/1 var(--f-mono); padding: 4px 6px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
.link { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); font-size: inherit; }
.link:hover { text-decoration-color: var(--signal); }

.display { font-family: var(--f-display); font-weight: 700; font-size: clamp(44px, 7.4vw, 96px); line-height: .94; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.display em { font-style: normal; color: var(--signal); position: relative; white-space: nowrap; }
.display em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .08em; background: currentColor; border-radius: 9px; transform-origin: left; animation: underline 1.2s .5s var(--ease) both; }
@keyframes underline { from { transform: scaleX(0); } }
.h2 { font-family: var(--f-display); font-weight: 650; font-size: clamp(30px, 4vw, 50px); line-height: 1.02; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.1; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--signal); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--fg-2); max-width: 34em; margin: 0; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .25s var(--spring), background .2s, box-shadow .25s, color .2s; position: relative; isolation: isolate;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--btn); color: var(--btn-ink); box-shadow: 0 1px 0 var(--glass-hi) inset, 0 10px 24px -10px var(--shadow-2); }
.btn.primary:hover { box-shadow: 0 1px 0 var(--glass-hi) inset, 0 14px 30px -10px var(--signal); }
.btn.primary .i { transition: transform .3s var(--spring); }
.btn.primary:hover .i { transform: translateX(3px); }
.btn.ghost { background: var(--panel); border: 1px solid var(--line-2); color: var(--fg); }
.btn.ghost:hover { border-color: var(--fg); }
.btn.signal { background: var(--signal); color: #0D0E10; }
.btn.block { width: 100%; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; position: relative; color: var(--fg); transition: background .2s; }
.icon-btn:hover { background: var(--surface); }
.icon-btn.sm { width: 28px; height: 28px; border-radius: 8px; }
.count { position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--signal); color: #fff; font: 600 10px/17px var(--f-mono); text-align: center; }
:root[data-theme="dark"] .count { color: #0D0E10; }
.only-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .only-dark { display: block; } :root:not([data-theme="light"]) .only-light { display: none; } }
:root[data-theme="dark"] .only-dark { display: block; }
:root[data-theme="dark"] .only-light { display: none; }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 10px 40px -18px var(--shadow-2);
}

/* ---------- Promo bar ---------- */
.promo-bar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 48px 8px 16px; font-size: 13px; background: var(--fg); color: var(--bg); position: relative; text-align: center; }
.promo-bar b { color: var(--signal); }
.promo-bar .icon-btn { position: absolute; right: 10px; color: var(--bg); }
.promo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px color-mix(in oklab, var(--signal) 30%, transparent); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }

/* ---------- Header ---------- */
.top { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 40; margin: 10px auto 0; width: min(calc(100% - 2 * var(--gut)), var(--max)); border-radius: 20px; }
.top-in { display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 16px; min-height: 58px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--fg); display: grid; place-items: center; }
.logo-mark i { width: 12px; height: 12px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px var(--signal); }
.logo-word { font-family: var(--f-display); font-size: 20px; letter-spacing: -.02em; display: inline-flex; gap: 5px; align-items: baseline; }
.logo-word b { font-weight: 750; }
.brand-suffix { color: var(--muted); font-weight: 500; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 14px; color: var(--fg-2); transition: background .2s, color .2s; }
.nav a:hover { background: var(--surface); color: var(--fg); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.search-trigger { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; margin-right: 4px; min-width: 170px; transition: border-color .2s; }
.search-trigger:hover { border-color: var(--line-2); color: var(--fg); }
.search-trigger .kbd { margin-left: auto; }
.lang-btn span { font-size: 12px; font-weight: 600; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border-radius: 12px; background: var(--btn); color: var(--btn-ink); position: relative; margin-left: 4px; font-weight: 600; transition: transform .3s var(--spring); }
.cart-btn .count { top: -6px; right: -6px; border: 2px solid var(--bg); height: 21px; line-height: 17px; }
.cart-btn.bump { animation: bump .5s var(--spring); }
@keyframes bump { 40% { transform: scale(1.12); } }
.cart-total { font-size: 13px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: clamp(36px, 6vw, 80px) clamp(28px, 4vw, 56px); }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin: 0; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font: 500 13px var(--f-mono); color: var(--fg-2); }
.led-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero-search { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: 0 18px 50px -24px var(--shadow-2); max-width: 560px; transition: border-color .2s, box-shadow .3s; }
.hero-search:focus-within { border-color: var(--fg); box-shadow: 0 0 0 5px color-mix(in oklab, var(--signal) 18%, transparent), 0 18px 50px -24px var(--shadow-2); }
.hero-search > .i { color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 17px; height: 44px; }
.hero-search input::placeholder { color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.spec-row { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; max-width: 520px; }
.spec-row li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--fg-2); }
.spec-row .i { color: var(--signal); }

.hero-screen { margin: 0; min-width: 0; perspective: 1400px; }
.screen-bezel {
  border-radius: 30px; padding: 10px; background: linear-gradient(160deg, var(--panel-2), var(--bg-2));
  border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 var(--glass-hi), 0 40px 80px -40px var(--shadow-2), 0 0 0 1px var(--line);
  transform: rotateY(-6deg) rotateX(3deg); transform-style: preserve-3d; transition: transform 1s var(--ease);
  animation: screenIn 1.2s .15s var(--ease) both;
}
@keyframes screenIn { from { transform: rotateY(-18deg) rotateX(10deg) translateY(30px) scale(.96); } }
.hero-screen:hover .screen-bezel { transform: rotateY(-2deg) rotateX(1deg); }
.screen-top { display: flex; align-items: center; gap: 10px; padding: 6px 8px 10px; font-size: 11px; color: var(--muted); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.screen-title { margin-inline: auto; }
.rec { display: inline-flex; align-items: center; gap: 6px; color: var(--signal); font-weight: 600; letter-spacing: .1em; }
.rec i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.4s infinite; }
.screen { position: relative; aspect-ratio: 16 / 11; border-radius: 20px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); background-image: radial-gradient(120% 80% at 80% 0%, color-mix(in oklab, var(--signal) 10%, transparent), transparent 60%), radial-gradient(90% 70% at 0% 100%, color-mix(in oklab, var(--c2) 10%, transparent), transparent 60%); }
.screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.screen-captions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 10px 2px 2px; }
.screen-captions button { text-align: left; padding: 9px 10px 10px; border-radius: 12px; font-size: 12.5px; line-height: 1.25; color: var(--muted); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 3px; transition: color .3s, background .3s; min-width: 0; }
.screen-captions button::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--line); }
.screen-captions button.on { color: var(--fg); background: var(--surface); }
.screen-captions button.on::before { content: ""; position: absolute; left: 10px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--signal); width: calc(100% - 20px); transform-origin: left; animation: prog var(--dur, 4.5s) linear both; z-index: 1; }
@keyframes prog { from { transform: scaleX(0); } }
.chip-k { font-size: 10px; color: var(--signal); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marq 48s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: 22px; font-weight: 550; letter-spacing: -.01em; color: var(--fg-2); white-space: nowrap; }
.marquee-track span .i { color: var(--signal); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
section { scroll-margin-top: 90px; }
.catalog, .bundles, .plans, .process, .why, .quote, .faq, .news, .recent { padding-block: clamp(48px, 7vw, 96px) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head.slim { margin-bottom: 14px; align-items: center; }
.sec-note { color: var(--muted); margin: 0; max-width: 30em; font-size: 15px; }

/* ---------- Filters ---------- */
.filters { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 78px); z-index: 30; margin: 0 calc(-1 * var(--gut)) 22px; padding: 10px var(--gut); background: color-mix(in oklab, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); display: flex; flex-direction: column; gap: 10px; }
.cat-rail { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; scroll-snap-type: x proximity; }
.cat-rail::-webkit-scrollbar { display: none; }
.cat { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); white-space: nowrap; font-size: 14px; font-weight: 500; scroll-snap-align: start; transition: border-color .2s, background .2s, color .2s, transform .25s var(--spring); }
.cat:hover { border-color: var(--line-2); }
.cat:active { transform: scale(.96); }
.cat .i { color: var(--cat, var(--fg)); width: 17px; height: 17px; }
.cat .n { font: 500 11px var(--f-mono); color: var(--muted); }
.cat.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cat.on .i { color: var(--bg); }
.cat.on .n { color: color-mix(in oklab, var(--bg) 70%, transparent); }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); gap: 2px; }
.seg button { height: 32px; padding: 0 12px; border-radius: 9px; font-size: 13px; color: var(--muted); white-space: nowrap; transition: background .2s, color .2s; display: inline-flex; align-items: center; gap: 6px; }
.seg button.on { background: var(--panel-2); color: var(--fg); box-shadow: 0 1px 3px var(--shadow), inset 0 1px 0 var(--glass-hi); }
.active-q { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 6px 0 12px; border-radius: 10px; background: color-mix(in oklab, var(--signal) 14%, var(--panel)); font-size: 13px; }

/* ---------- Service grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.card {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--r-lg);
  background: var(--panel); border: 1px solid var(--line); cursor: pointer; text-align: left; min-width: 0;
  transition: transform .35s var(--ease), border-color .25s, box-shadow .35s; isolation: isolate;
  animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--k, 0) * 28ms);
}
@keyframes cardIn { from { transform: translateY(14px) scale(.985); } }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx) var(--my), color-mix(in oklab, var(--cat, var(--signal)) 16%, transparent), transparent 60%); }
.card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 24px 50px -30px var(--shadow-2); }
.card:hover::before { opacity: 1; }
.card-top { display: flex; align-items: center; gap: 8px; }
.tile { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--cat); background: color-mix(in oklab, var(--cat) 13%, transparent); border: 1px solid color-mix(in oklab, var(--cat) 22%, transparent); flex: none; }
.tile .i { width: 21px; height: 21px; }
.badge { font: 600 10.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; padding: 6px 8px; border-radius: 7px; background: var(--fg); color: var(--bg); }
.badge.new { background: var(--c2); color: #fff; }
.badge.fast { background: color-mix(in oklab, var(--c3) 20%, transparent); color: var(--fg); }
.badge.bestseller { background: var(--signal); color: #0D0E10; }
.heart { margin-left: auto; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: var(--muted); transition: color .2s, transform .3s var(--spring), background .2s; }
.heart:hover { background: var(--surface); color: var(--fg); }
.heart.on { color: var(--signal); }
.heart.on svg { fill: currentColor; }
.heart.pop { animation: bump .45s var(--spring); }
.card h3 { font-family: var(--f-display); font-size: 21px; font-weight: 620; line-height: 1.12; letter-spacing: -.015em; margin: 4px 0 0; text-wrap: balance; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; flex: 1; text-wrap: pretty; }
.card-foot { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.price-led { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 10px 5px; border-radius: 10px; background: var(--led-bg); color: var(--led); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 -8px 16px rgba(0, 0, 0, .35); }
.price-led small { font: 500 10px var(--f-mono); color: #8E919A; text-transform: uppercase; letter-spacing: .08em; }
.price-led .led { font-size: 21px; line-height: 1; text-shadow: 0 0 10px color-mix(in oklab, var(--led) 55%, transparent); }
.eta { font: 500 12px var(--f-mono); color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.eta .i { width: 14px; height: 14px; }
.quick-add { margin-left: auto; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--fg); color: var(--bg); transition: transform .3s var(--spring); }
.quick-add:hover { transform: rotate(90deg) scale(1.06); }
.quick-add.done { background: var(--ok); color: #fff; transform: none; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); display: grid; gap: 14px; justify-items: center; }

/* ---------- Recent rail ---------- */
.rail { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.mini { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; max-width: 280px; }
.mini .tile { width: 34px; height: 34px; border-radius: 10px; }
.mini .tile .i { width: 17px; height: 17px; }
.mini span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini b { font: 500 12px var(--f-mono); color: var(--muted); }

/* ---------- Bundles ---------- */
.bundle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 14px; }
.bundle { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.bundle::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--signal) 22%, transparent), transparent 70%); pointer-events: none; }
.bundle h3 { margin: 0; font: 650 23px/1.1 var(--f-display); letter-spacing: -.015em; }
.bundle > p { margin: 0; color: var(--muted); font-size: 14.5px; }
.bundle ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.bundle li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.bundle li .i { width: 16px; height: 16px; color: var(--c3); }
.bundle li small { margin-left: auto; font: 500 12px var(--f-mono); color: var(--muted); white-space: nowrap; }
.bundle-price { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); flex-wrap: wrap; }
.strike { text-decoration: line-through; color: var(--muted); font: 500 14px var(--f-mono); }
.save { font: 600 11px var(--f-mono); padding: 5px 8px; border-radius: 7px; background: color-mix(in oklab, var(--ok) 16%, transparent); color: var(--ok); text-transform: uppercase; letter-spacing: .05em; }
.bundle .btn { margin-left: auto; }

/* ---------- Plans ---------- */
.save-tag { font-size: 10px; padding: 3px 6px; border-radius: 6px; background: color-mix(in oklab, var(--ok) 18%, transparent); color: var(--ok); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); position: relative; }
.plan.pop { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.plan.pop p, .plan.pop .per, .plan.pop li { color: color-mix(in oklab, var(--bg) 78%, transparent); }
.plan.pop .btn.primary { background: var(--signal); color: #0D0E10; }
.plan-flag { position: absolute; top: 18px; right: 18px; font: 600 10.5px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; padding: 5px 8px; border-radius: 7px; background: var(--signal); color: #0D0E10; }
.plan h3 { margin: 0; font: 650 22px/1.1 var(--f-display); }
.plan > p { margin: 0; font-size: 14.5px; color: var(--muted); min-height: 3em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .big { font: 700 42px/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.per { font: 500 13px var(--f-mono); color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14px; color: var(--fg-2); }
.plan li .i { width: 16px; height: 16px; color: var(--signal); margin-top: 3px; }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.step { padding: 22px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -14px; width: 14px; height: 1px; background: var(--line-2); }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--led-bg); color: var(--led); font-size: 24px; text-shadow: 0 0 10px var(--led); }
.step h3 { font: 620 20px/1.15 var(--f-display); margin: 16px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(170px, auto); gap: 14px; }
.b { padding: 22px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.b h3 { margin: 6px 0 0; font: 620 19px/1.15 var(--f-display); }
.b p { margin: 0; color: var(--muted); font-size: 14.5px; }
.b .i.lg { color: var(--signal); }
.b-big { grid-column: span 2; grid-row: span 2; gap: 14px; background: var(--fg); color: var(--bg); border-color: var(--fg); }
.b-big p { color: color-mix(in oklab, var(--bg) 75%, transparent); max-width: 36em; }
.b-big .eyebrow { color: color-mix(in oklab, var(--bg) 60%, transparent); }
.spec-sheet { margin-top: auto; border-radius: 16px; overflow: hidden; border: 1px solid color-mix(in oklab, var(--bg) 20%, transparent); font-size: 12.5px; }
.spec-sheet div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px dashed color-mix(in oklab, var(--bg) 18%, transparent); }
.spec-sheet div:last-child { border-bottom: 0; }
.spec-sheet span { color: color-mix(in oklab, var(--bg) 55%, transparent); letter-spacing: .1em; }
.spec-sheet .led { color: var(--led); font-size: 15px; }
.pay-marks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.pay-mark { font: 600 11px var(--f-mono); padding: 5px 8px; border-radius: 7px; border: 1px solid var(--line-2); color: var(--fg-2); }

/* ---------- Quote ---------- */
.quote-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); padding: clamp(22px, 4vw, 44px); border-radius: 32px; background: var(--panel-2); border: 1px solid var(--line); box-shadow: 0 40px 80px -60px var(--shadow-2); }
.quote-copy { display: flex; flex-direction: column; gap: 14px; }
.quote-copy p:last-child { color: var(--muted); margin: 0; }
.quote-form, .co-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--fg-2); font-weight: 500; min-width: 0; }
.field input, .field textarea, .field select { width: 100%; border-radius: 13px; border: 1px solid var(--line-2); background: var(--panel); padding: 12px 14px; font-size: 16px; font-weight: 400; color: var(--fg); outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--fg); box-shadow: 0 0 0 4px color-mix(in oklab, var(--signal) 16%, transparent); }
.field.err input, .field.err textarea, .field.err select { border-color: var(--signal); }
.field .req { color: var(--signal-ink); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-msg { margin: 0; font-size: 14px; color: var(--ok); min-height: 1.2em; }
.form-msg.bad { color: var(--signal-ink); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 880px; }
.faq-list details { border-radius: var(--r-md); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { margin-left: auto; transition: transform .3s var(--ease); color: var(--muted); }
.faq-list details[open] summary .i { transform: rotate(45deg); color: var(--signal); }
.faq-list details p { margin: 0; padding: 0 20px 18px; color: var(--fg-2); max-width: 65ch; }

/* ---------- Newsletter ---------- */
.news { padding-bottom: clamp(48px, 7vw, 96px); }
.news-card { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: clamp(22px, 3.5vw, 36px); border-radius: 28px; background: var(--signal); color: #0D0E10; flex-wrap: wrap; }
.news-card p { margin: 6px 0 0; max-width: 36em; opacity: .82; }
.news-form { display: flex; gap: 8px; flex: 1 1 340px; max-width: 460px; }
.news-form input { flex: 1; min-width: 0; height: 48px; border-radius: 999px; border: 0; padding: 0 18px; background: rgba(255, 255, 255, .92); color: #101113; font-size: 16px; outline: none; }
.news-form input:focus { box-shadow: 0 0 0 3px #101113; }
.news-form .btn.primary { background: #101113; color: #F5F5F6; height: 48px; }

/* ---------- Footer ---------- */
.foot { padding-block: 40px 120px; border-top: 1px solid var(--line); display: grid; gap: 32px; }
.foot-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot-tag { margin: 0; color: var(--muted); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot h4 { margin: 0 0 12px; font: 600 12px var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.foot ul a, .foot ul .link { display: inline-block; padding-block: 4px; min-height: 24px; }
.foot ul a { text-decoration: none; }
.foot ul a:hover { color: var(--signal-ink); }
.foot-small { margin: 0; font-size: 12px; color: var(--muted); }

/* ---------- Mobile bar ---------- */
.mobile-bar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 45; border-radius: 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 18px; animation: up .5s var(--spring); }
.mobile-bar > div { display: grid; line-height: 1.15; }
.mobile-bar .led { font-size: 22px; color: var(--signal); }
@keyframes up { from { transform: translateY(120%); } }

/* ---------- Dialog shared ---------- */
dialog { padding: 0; border: 0; color: var(--fg); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(8, 9, 11, .38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog[open] { animation: dlgIn .45s var(--ease); }
dialog[open]::backdrop { animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } }
@keyframes dlgIn { from { opacity: 0; transform: translateY(18px) scale(.985); } }
.x-btn { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; }
.x-btn:hover { border-color: var(--line-2); }

/* Service sheet: right side panel on desktop, bottom sheet on phones */
.sheet { margin: 0 0 0 auto; height: 100%; width: min(680px, 100%); }
.sheet[open] { animation: slideL .5s var(--ease); }
@keyframes slideL { from { transform: translateX(40px); opacity: 0; } }
.sheet-in, .drawer-in { height: 100%; background: var(--bg); border-left: 1px solid var(--line-2); overflow-y: auto; overscroll-behavior: contain; position: relative; display: flex; flex-direction: column; }
.sheet-head { padding: 26px 24px 18px; display: grid; gap: 12px; border-bottom: 1px solid var(--line); background: var(--panel); }
.sheet-crumb { display: flex; align-items: center; gap: 8px; font: 500 12px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding-right: 50px; }
.sheet-head h2 { margin: 0; font: 700 clamp(28px, 4vw, 38px)/1.02 var(--f-display); letter-spacing: -.025em; text-wrap: balance; padding-right: 40px; }
.sheet-head p { margin: 0; color: var(--fg-2); }
.sheet-tools { display: flex; gap: 8px; }
.sheet-body { padding: 20px 24px 140px; display: grid; gap: 26px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tier { text-align: left; padding: 12px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--panel); display: grid; gap: 4px; position: relative; transition: border-color .2s, background .2s, transform .25s var(--spring); min-width: 0; }
.tier:hover { border-color: var(--line-2); }
.tier.on { border-color: var(--fg); background: var(--panel-2); box-shadow: 0 10px 30px -20px var(--shadow-2); }
.tier .tn { font: 600 13px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; }
.tier .tp { font: 700 22px/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.tier .td { font: 500 12px var(--f-mono); color: var(--muted); }
.tier .pop-flag { position: absolute; top: -9px; right: 10px; font: 600 9.5px var(--f-mono); text-transform: uppercase; letter-spacing: .08em; padding: 3px 6px; border-radius: 6px; background: var(--signal); color: #0D0E10; }
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feat li { display: flex; gap: 10px; font-size: 15px; }
.feat li .i { width: 17px; height: 17px; color: var(--ok); margin-top: 3px; }
.blk h4 { margin: 0 0 12px; font: 600 12px var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.blk > p { margin: 0; color: var(--fg-2); max-width: 62ch; }
.addons { display: grid; gap: 8px; }
.addon { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; transition: border-color .2s, background .2s; }
.addon:hover { border-color: var(--line-2); }
.addon input { appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; margin: 0; flex: none; transition: background .2s, border-color .2s; }
.addon input:checked { background: var(--fg); border-color: var(--fg); }
.addon input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: translateY(-1px) rotate(-45deg); }
.addon .an { flex: 1; font-size: 14.5px; }
.addon .ad { font: 500 12px var(--f-mono); color: var(--muted); }
.addon .ap { font: 600 14px var(--f-mono); }
.addon:has(input:checked) { border-color: var(--fg); background: var(--panel-2); }
.deliv { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px; }
.deliv div { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface); font-size: 14px; }
.deliv .i { color: var(--c2); width: 16px; height: 16px; }
.cmp-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
.cmp { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 460px; }
.cmp th, .cmp td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font: 600 12px var(--f-mono); text-transform: uppercase; letter-spacing: .06em; background: var(--panel); }
.cmp td:first-child { color: var(--muted); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp .yes { color: var(--ok); }
.cmp .no { color: var(--muted); opacity: .5; }
.sheet-faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.sheet-faq summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.sheet-faq p { margin: 8px 0 0; color: var(--fg-2); font-size: 14.5px; }
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.related button { display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); font-size: 14px; min-width: 0; }
.related button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.related .tile { width: 34px; height: 34px; border-radius: 10px; }
.related .tile .i { width: 16px; height: 16px; }
.sheet-bar { position: sticky; bottom: 0; margin-top: auto; padding: 14px 24px calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 12px; align-items: center; background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); border-top: 1px solid var(--line); flex-wrap: wrap; }
.sheet-bar .sum { display: grid; line-height: 1.15; margin-right: auto; }
.sheet-bar .sum .led { font-size: 28px; color: var(--signal); }
.sheet-bar .sum small { font: 500 12px var(--f-mono); color: var(--muted); }
.sheet-bar .acts { display: flex; gap: 8px; }

/* Drawers (cart / my space) */
.drawer { margin: 0 0 0 auto; height: 100%; width: min(460px, 100%); }
.drawer[open] { animation: slideL .45s var(--ease); }
.dr-head { padding: 22px 22px 16px; border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.dr-head h2 { margin: 0; font: 700 28px/1 var(--f-display); letter-spacing: -.02em; padding-right: 48px; }
.dr-body { padding: 16px 22px; display: grid; gap: 12px; align-content: start; flex: 1; }
.dr-foot { position: sticky; bottom: 0; padding: 16px 22px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); display: grid; gap: 10px; }
.line-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding: 12px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); align-items: start; animation: cardIn .4s var(--ease) both; }
.line-item .tile { width: 40px; height: 40px; }
.li-main { display: grid; gap: 3px; min-width: 0; }
.li-main b { font-size: 15px; line-height: 1.25; }
.li-main small { color: var(--muted); font-size: 12.5px; font-family: var(--f-mono); }
.li-side { display: grid; justify-items: end; gap: 6px; }
.li-side .p { font: 600 15px var(--f-mono); }
.li-actions { display: flex; gap: 2px; }
.prog { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: color-mix(in oklab, var(--signal) 9%, var(--panel)); font-size: 13.5px; }
.prog-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.prog-bar i { display: block; height: 100%; border-radius: 6px; background: var(--signal); transition: width .6s var(--ease); }
.totals { display: grid; gap: 6px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; gap: 10px; }
.totals .disc { color: var(--ok); }
.totals .grand { font-size: 17px; font-weight: 700; padding-top: 8px; border-top: 1px dashed var(--line-2); }
.totals .grand .led { color: var(--signal); font-size: 24px; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; height: 40px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--panel); padding: 0 12px; font: 500 14px var(--f-mono); text-transform: uppercase; outline: none; }
.promo-row input:focus { border-color: var(--fg); }
.upsell { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1px dashed var(--line-2); }
.upsell .tile { width: 36px; height: 36px; }
.upsell div { flex: 1; min-width: 0; display: grid; font-size: 14px; }
.upsell small { color: var(--muted); font-size: 12.5px; }
.empty-state { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 40px 10px; color: var(--muted); }
.empty-state .big-ic { width: 64px; height: 64px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; color: var(--fg); }
.tabs { display: flex; gap: 4px; }
.tabs button { height: 34px; padding: 0 12px; border-radius: 10px; font-size: 14px; color: var(--muted); }
.tabs button.on { background: var(--fg); color: var(--bg); }
.order-card { padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 10px; }
.order-card header { display: flex; justify-content: space-between; gap: 10px; font: 500 13px var(--f-mono); color: var(--muted); flex-wrap: wrap; }
.order-card header b { color: var(--fg); }

/* Modals (checkout / quiz / offer / legal) */
.modal { margin: auto; width: min(640px, calc(100% - 24px)); max-height: calc(100% - 24px); }
.modal-in { background: var(--bg); border: 1px solid var(--line-2); border-radius: 28px; box-shadow: 0 50px 120px -40px var(--shadow-2); position: relative; overflow: auto; max-height: calc(100dvh - 24px); }
.co-head { padding: 24px 24px 0; display: grid; gap: 14px; }
.co-head h2 { margin: 0; font: 700 28px/1.05 var(--f-display); letter-spacing: -.02em; padding-right: 48px; }
.stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.stepper div { display: grid; gap: 6px; font: 500 11.5px var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stepper div::before { content: ""; height: 4px; border-radius: 4px; background: var(--line); }
.stepper div.done::before, .stepper div.on::before { background: var(--signal); }
.stepper div.on { color: var(--fg); }
.co-body { padding: 20px 24px 24px; display: grid; gap: 16px; }
.co-item { padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 12px; }
.co-item > b { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.co-item > b .tile { width: 30px; height: 30px; border-radius: 9px; }
.co-item > b .tile .i { width: 15px; height: 15px; }
.paygrid { display: grid; gap: 8px; }
.payopt { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--panel); cursor: pointer; transition: border-color .2s; }
.payopt:has(input:checked) { border-color: var(--fg); background: var(--panel-2); }
.payopt input { accent-color: var(--signal); width: 18px; height: 18px; margin: 0; }
.payopt .pn { flex: 1; display: grid; font-weight: 600; font-size: 15px; }
.payopt .pn small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.payopt .marks { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.co-sum { display: grid; gap: 6px; padding: 14px; border-radius: 16px; background: var(--surface); }
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.secure .i { width: 14px; height: 14px; }
.co-nav { display: flex; gap: 10px; justify-content: space-between; }
.paypal-box { min-height: 50px; }
.processing { display: grid; justify-items: center; gap: 16px; padding: 50px 20px; text-align: center; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--signal); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { display: grid; gap: 18px; padding: 30px 24px 26px; }
.success-ic { width: 64px; height: 64px; border-radius: 20px; background: var(--ok); color: #fff; display: grid; place-items: center; animation: bump .6s var(--spring); }
.success-ic .i { width: 32px; height: 32px; stroke-width: 2.4; }
.success h2 { margin: 0; font: 700 32px/1.05 var(--f-display); letter-spacing: -.02em; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; padding-bottom: 16px; position: relative; font-size: 14.5px; }
.timeline li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg); margin: 4px 0 0 4px; z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done::before { background: var(--ok); border-color: var(--ok); }
.timeline li.now::before { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 5px color-mix(in oklab, var(--signal) 22%, transparent); }
.timeline small { font: 500 12px var(--f-mono); color: var(--muted); white-space: nowrap; }
.ref-box { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--fg); color: var(--bg); flex-wrap: wrap; }
.ref-box div { flex: 1; min-width: 180px; display: grid; gap: 2px; font-size: 14px; }
.ref-box b.mono { font-size: 18px; color: var(--signal-ink); }

/* Quiz */
.quiz-in { padding: 26px 24px 24px; display: grid; gap: 18px; }
.quiz-in h2 { margin: 0; font: 700 clamp(26px, 4vw, 34px)/1.05 var(--f-display); letter-spacing: -.02em; padding-right: 48px; text-wrap: balance; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opt { text-align: left; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--panel); font-weight: 550; font-size: 15px; transition: border-color .2s, transform .25s var(--spring), background .2s; min-height: 64px; }
.opt:hover { border-color: var(--fg); transform: translateY(-2px); }
.opt.on { border-color: var(--signal); background: color-mix(in oklab, var(--signal) 8%, var(--panel)); }
.qprog { display: flex; gap: 6px; }
.qprog i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.qprog i.on { background: var(--signal); }
.results { display: grid; gap: 10px; }
.result { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); text-align: left; width: 100%; }
.result div { flex: 1; min-width: 0; display: grid; }
.result small { color: var(--muted); font-size: 13px; }
.result .match { font: 600 11px var(--f-mono); color: var(--ok); }

/* Offer modal */
.offer { width: min(460px, calc(100% - 24px)); }
.offer-in { padding: 30px 26px 26px; display: grid; gap: 14px; text-align: center; justify-items: center; }
.offer-code { font: 900 34px/1 var(--f-led); color: var(--led); background: var(--led-bg); padding: 16px 22px; border-radius: 16px; letter-spacing: .06em; text-shadow: 0 0 14px var(--led); }
.offer-in h2 { margin: 0; font: 700 30px/1.05 var(--f-display); letter-spacing: -.02em; }
.offer-in p { margin: 0; color: var(--muted); }

/* Legal */
.legal-in { padding: 28px 26px; display: grid; gap: 10px; }
.legal-in h2 { margin: 0 0 6px; font: 700 26px/1.1 var(--f-display); }
.legal-in p { margin: 0; color: var(--fg-2); font-size: 14.5px; }

/* Command palette */
.palette { margin: 10vh auto auto; width: min(640px, calc(100% - 24px)); }
.palette-in { background: var(--bg); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; box-shadow: 0 50px 120px -30px var(--shadow-2); }
.palette-q { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.palette-q .i { color: var(--muted); }
.palette-q input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 17px; }
.palette-list { max-height: min(60vh, 460px); overflow-y: auto; padding: 8px; }
.pal-group { font: 600 11px var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 10px 10px 6px; }
.pal-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; width: 100%; text-align: left; font-size: 15px; }
.pal-item .tile { width: 32px; height: 32px; border-radius: 9px; }
.pal-item .tile .i { width: 16px; height: 16px; }
.pal-item span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pal-item small { font: 500 12px var(--f-mono); color: var(--muted); }
.pal-item.on { background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.pal-empty { padding: 30px; text-align: center; color: var(--muted); }

/* Toasts */
.toasts { position: fixed; z-index: 90; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100% - 32px); }
.toast { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 12px; border-radius: 14px; background: var(--fg); color: var(--bg); font-size: 14px; box-shadow: 0 20px 40px -16px var(--shadow-2); pointer-events: auto; animation: toastIn .45s var(--spring); }
.toast .i { color: var(--signal); }
.toast button { color: var(--signal); font-weight: 600; margin-left: 6px; }
.toast.out { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { transform: translateY(16px) scale(.95); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(10px); opacity: 0; } }

/* Fly-to-cart dot */
.fly { position: fixed; z-index: 95; width: 14px; height: 14px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 16px var(--signal); pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .search-trigger { min-width: 0; }
  .search-trigger span, .search-trigger .kbd { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .screen-bezel { transform: none; }
  .quote-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .top { border-radius: 16px; }
  .top-in { padding: 6px 6px 6px 12px; gap: 6px; min-height: 52px; }
  .logo-word { font-size: 18px; }
  .brand-suffix { display: none; }
  .cart-total { display: none; }
  .cart-btn { padding: 0 11px; }
  .icon-btn { width: 36px; height: 36px; }
  .filters { top: calc(env(safe-area-inset-top, 0px) + 70px); }
  .screen { aspect-ratio: 4 / 4.2; }
  .screen-captions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-row { grid-template-columns: minmax(0, 1fr); }
  .hero-search { padding-left: 14px; }
  .hero-search .btn span { display: none; }
  .hero-search .btn { width: 44px; padding: 0; }
  .steps, .bento, .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .step::after { display: none; }
  .b-big { grid-column: auto; grid-row: auto; }
  .field-row, .opts, .related { grid-template-columns: minmax(0, 1fr); }
  .tiers { gap: 6px; }
  .tier { padding: 10px; }
  .tier .tp { font-size: 18px; }
  .sheet, .drawer { width: 100%; height: 94dvh; margin: auto 0 0; }
  .sheet[open], .drawer[open] { animation: slideU .5s var(--ease); }
  @keyframes slideU { from { transform: translateY(60px); opacity: 0; } }
  .sheet-in, .drawer-in { border-left: 0; border-top: 1px solid var(--line-2); border-radius: 26px 26px 0 0; }
  .sheet-in::before, .drawer-in::before { content: ""; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line-2); z-index: 4; }
  .sheet-head { padding: 24px 18px 16px; }
  .sheet-body { padding: 18px 18px 160px; }
  .sheet-bar { padding-inline: 18px; }
  .sheet-bar .acts { width: 100%; }
  .sheet-bar .acts .btn { flex: 1; }
  .modal { width: 100%; max-height: 96dvh; margin: auto 0 0; }
  .modal-in { border-radius: 26px 26px 0 0; max-height: 96dvh; }
  .palette { margin-top: 12px; }
  .news-form { flex-direction: column; }
  .toasts { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}

/* Theme switch reveal (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
@media (min-width: 901px) { .mobile-bar { display: none !important; } }
.li-side .p small { font-size: 11px; color: var(--muted); margin-left: 2px; }
.heart-btn.on { color: var(--signal); border-color: var(--signal); }
.heart-btn.on svg { fill: currentColor; }
dialog .toasts { position: fixed; }
[hidden] { display: none !important; }
.hero-ctas .btn { white-space: normal; height: auto; min-height: 46px; padding-block: 10px; text-align: left; line-height: 1.25; }
@media (max-width: 640px) {
  .filters { position: static; margin-bottom: 14px; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .filter-row::-webkit-scrollbar { display: none; }
  .seg { flex: none; }
}
.sheet-body, .dr-body, .co-body, .quiz-in, .success { grid-template-columns: minmax(0, 1fr); }
.sheet-body > *, .dr-body > *, .co-body > * { min-width: 0; }
@media (max-width: 640px) { .dr-foot { gap: 8px; } .dr-foot .secure { display: none; } }
.display em { white-space: normal; text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.display em::after { display: none; }
@media (max-width: 400px) {
  .logo-word { display: none; }
  .top-in { gap: 2px; padding-left: 8px; }
  .top-actions { gap: 0; }
  .icon-btn, .search-trigger { width: 34px; height: 34px; padding: 0; justify-content: center; margin: 0; }
  .search-trigger { border: 0; }
  .display { font-size: clamp(36px, 11vw, 44px); }
}
/* Brief uploads */
.hint { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.file-field { gap: 8px; }
.drop { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; border: 1.5px dashed var(--line-2); background: var(--panel); cursor: pointer; font-size: 14px; font-weight: 500; color: var(--fg-2); transition: border-color .2s, background .2s; flex-wrap: wrap; }
.drop:hover, .drop.over { border-color: var(--signal); background: color-mix(in oklab, var(--signal) 6%, var(--panel)); }
.drop .i { color: var(--signal); width: 22px; height: 22px; }
.drop small { margin-left: auto; font-size: 11px; color: var(--muted); }
.field.err .drop { border-color: var(--signal); }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.file-list:empty { display: none; }
.file-list li { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--surface); font-size: 14px; min-width: 0; }
.file-list li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list li small { font: 500 12px var(--f-mono); color: var(--muted); }
.file-list li .i { width: 16px; height: 16px; color: var(--c2); }
.needs { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.needs li { display: flex; gap: 10px; font-size: 15px; }
.needs li .i { width: 17px; height: 17px; color: var(--signal); margin-top: 3px; }
/* Account card */
.acct { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.acct.on { display: flex; align-items: center; gap: 12px; }
.acct.on div { flex: 1; min-width: 0; display: grid; }
.acct.on small, .acct-copy small { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.acct-copy { display: grid; gap: 2px; }
.acct .tile { width: 38px; height: 38px; }
.acct .link { justify-self: start; font-size: 13px; }
/* Work samples: before/after */
.samples { padding-block: clamp(48px, 7vw, 96px) 0; }
.sample-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.sample { border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); overflow: hidden; display: grid; }
.sample-copy { padding: 16px 18px 18px; display: grid; gap: 6px; }
.sample-copy h3 { margin: 0; font: 620 20px/1.15 var(--f-display); }
.sample-copy p { margin: 0; color: var(--muted); font-size: 14.5px; }
.sample-acts { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 6px; }
.muted { color: var(--muted); }
.compare { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); max-width: 100%; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; pointer-events: none; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--signal); pointer-events: none; }
.cmp-handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: var(--signal); color: #0D0E10; display: grid; place-items: center; font-size: 16px; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp-range:focus-visible + .cmp-handle, .compare:focus-within .cmp-handle { outline: none; }
.cmp-tag { position: absolute; top: 10px; padding: 4px 8px; border-radius: 7px; font-size: 11px; background: rgba(13,14,16,.72); color: #F1F1EF; pointer-events: none; }
.cmp-tag.l { left: 10px; } .cmp-tag.r { right: 10px; }
.sheet .sample { border-radius: var(--r-md); }
/* Demo PayPal buttons (the real ones are drawn by PayPal in live mode) */
.paypal-box { display: grid; gap: 10px; }
.pp-btn { height: 50px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px; transition: filter .2s, transform .2s var(--spring); }
.pp-btn:hover { filter: brightness(.96); } .pp-btn:active { transform: scale(.98); }
.pp-btn.pp { background: #FFC439; font: italic 800 20px/1 var(--f-body); letter-spacing: -.02em; }
.pp-btn.pp b:first-child { color: #003087; } .pp-btn.pp b:last-child { color: #009CDE; }
.pp-btn.card { background: #2C2E2F; color: #fff; }
/* Language menu */
html.i18n-wait main, html.i18n-wait .top { visibility: hidden; }
.lang-menu { position: fixed; z-index: 60; display: grid; gap: 2px; padding: 6px; border-radius: 16px; min-width: 190px; animation: dlgIn .25s var(--ease); }
.lang-menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: 15px; text-align: left; }
.lang-menu button:hover { background: var(--surface); }
.lang-menu button.on { background: var(--fg); color: var(--bg); }
.lang-menu small { font-size: 11px; opacity: .7; }
.sheet-bar .sum .pol a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sheet-bar .sum .pol { font-weight: 400; }

/* Portefeuilles Apple Pay / Google Pay (affichés seulement si éligibles) */
.wallet-slot { display: grid; gap: 10px; }
.wallet-slot[hidden] { display: none; }
#ppButtons { min-width: 0; }
.wallet-btn { width: 100%; height: 50px; min-height: 44px; border: 0; border-radius: 999px; cursor: pointer; }
.wallet-btn:focus-visible { outline: 3px solid var(--accent, #2563eb); outline-offset: 2px; }
.apple-pay-btn { -webkit-appearance: -apple-pay-button; -apple-pay-button-type: plain; -apple-pay-button-style: black; background: #000; }
.google-pay-btn { overflow: hidden; }
.google-pay-btn > button, .google-pay-btn .gpay-button { width: 100%; height: 50px; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { .wallet-btn { transition: none; } }
