/* style.css — QuickDonut. Night-navy page, dot grid, floating cubes, glass cards, mono headlines. */

@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono-800.woff2?v=a5a4517f') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono-500.woff2?v=35c2a72b') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #0a0b14;
  --fg: #f1f3ff;
  --paper: #11132a;
  --ink: #f1f3ff;
  --muted: #8a90b4;
  --accent: #8b5cf6;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --surface: rgba(19, 21, 44, .78);
  --surface-2: #0e1024;
  --blue: #3b82f6;
  --violet: #7c5cff;
  --purple: #a855f7;
  --green: #34d399;
  --green-2: #10b981;
  --amber: #fbbf24;
  --red: #f87171;
  --grad: linear-gradient(90deg, #3b82f6 0%, #7c5cff 55%, #a855f7 100%);
  --grad-green: linear-gradient(135deg, #6ee7b7 0%, #34d399 45%, #10b981 100%);
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --serif: var(--mono);
  --sans: 'Manrope', Arial, Helvetica, sans-serif;
  --radius: 16px;
  --gutter: clamp(16px, 4vw, 56px);
}

body { font-size: 16px; line-height: 1.6; background: var(--bg); }
code { font: 500 .92em var(--mono); padding: .1em .4em; border-radius: 6px; background: rgba(124, 92, 255, .14); color: #c7bbff; }
.container { max-width: 1240px; }
.muted { color: var(--muted); }
.hide-sm { }

/* ---------- background ---------- */
.fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.fx-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(150, 160, 255, .22) 1px, transparent 1.6px); background-size: 30px 30px; mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 70%, rgba(0, 0, 0, .35)); -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 70%, rgba(0, 0, 0, .35)); }
.fx-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.fx-glow--a { width: 52vw; height: 52vw; right: -14vw; top: -18vw; background: radial-gradient(circle, rgba(124, 92, 255, .55), transparent 65%); }
.fx-glow--b { width: 46vw; height: 46vw; left: -18vw; top: 30vh; background: radial-gradient(circle, rgba(59, 130, 246, .38), transparent 65%); }
.fx-glow--c { width: 40vw; height: 40vw; right: 10vw; bottom: -22vw; background: radial-gradient(circle, rgba(236, 72, 153, .22), transparent 65%); }
.cube { position: absolute; width: var(--s, 12px); height: var(--s, 12px); border-radius: 2px; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .28), inset 2px 2px 0 rgba(255, 255, 255, .22), 0 0 18px color-mix(in srgb, var(--c1) 45%, transparent); opacity: .85; animation: float var(--t, 9s) ease-in-out var(--d, 0s) infinite alternate; }
@keyframes float { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(var(--dx, 10px), var(--dy, -26px), 0) rotate(var(--r, 25deg)); } }

/* ---------- header ---------- */
.site-header { display: block; height: auto; padding: 0; }
.site-header.is-solid { height: auto; }
.topbar { display: flex; justify-content: center; align-items: center; gap: 10px; height: 30px; font: 500 12px/1 var(--mono); letter-spacing: .02em; color: #c9cdf0; background: linear-gradient(90deg, rgba(59, 130, 246, .16), rgba(124, 92, 255, .22), rgba(168, 85, 247, .16)); border-bottom: 1px solid var(--line); }
.topbar-sep { opacity: .45; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 68px; padding-inline: var(--gutter); border-bottom: 1px solid transparent; transition: border-color .4s; }
.site-header.is-solid .head-row { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(145deg, #1b1f45, #11132a); box-shadow: inset 0 0 0 1px var(--line-2), 0 6px 18px rgba(124, 92, 255, .25); }
.brand-mark .px { width: 26px; height: 26px; }
.brand-name { font: 800 19px/1 var(--mono); letter-spacing: -.03em; }
.brand-name b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 8px; }
.nav-pill { padding: 9px 16px; border-radius: 10px; font: 500 12.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #b8bde0; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line); transition: color .3s, background .3s, box-shadow .3s; }
.nav-pill:hover, .nav-pill.is-on { color: #fff; background: rgba(124, 92, 255, .16); box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .55), 0 0 20px rgba(124, 92, 255, .2); }
.head-right { display: flex; align-items: center; gap: 10px; }
.bot-pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px; font: 500 12px/1 var(--mono); color: #c9cdf0; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.bot-pill i, .chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.is-online i, .chip-dot.is-online { background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); animation: pulse 2s ease-in-out infinite; }
.is-offline i, .chip-dot.is-offline { background: var(--amber); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } }
.cart-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s; }
.cart-btn:hover { background: rgba(124, 92, 255, .2); }
.cart-btn svg { width: 21px; height: 21px; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 10px; font: 800 11px/1 var(--mono); color: #fff; background: var(--grad); box-shadow: 0 0 0 2px var(--bg); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- buttons ---------- */
.btn { min-height: 50px; padding: 14px 24px; border-radius: 12px; font: 800 14px/1 var(--mono); letter-spacing: 0; gap: 10px; }
.btn--grad { color: #fff; background: var(--grad); background-size: 140% 100%; box-shadow: 0 10px 30px rgba(124, 92, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .25); transition: background-position .5s var(--ease), box-shadow .4s, transform .2s, gap .4s var(--ease); }
.btn--grad:hover { color: #fff; background: var(--grad); background-size: 140% 100%; background-position: 100% 0; box-shadow: 0 14px 40px rgba(124, 92, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--grad:active { transform: translateY(1px); }
.btn--grad:disabled, .btn--grad[aria-disabled=true] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn--ghost { color: var(--fg); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { min-height: 42px; padding: 10px 16px; font-size: 13px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; font-size: 16px; color: var(--fg); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.icon-btn:hover { background: rgba(255, 255, 255, .1); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(140px, 19vh, 190px) 0 clamp(70px, 10vh, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border-radius: 999px; font: 500 12px/1 var(--mono); color: #a7f3d0; background: rgba(16, 185, 129, .1); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .3); }
.kicker { display: block; margin: 22px 0 10px; font: 800 clamp(15px, 1.4vw, 19px)/1 var(--mono); letter-spacing: .32em; text-transform: uppercase; color: #c8ccef; }
.hero-title { font: 800 clamp(40px, 6.2vw, 84px)/1.03 var(--mono); letter-spacing: -.045em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin-top: 24px; color: #c3c7e6; max-width: 30em; }
.hero-lead b { color: var(--green); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 22px; max-width: 34em; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; color: #b9bee0; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line); }

.hero-cards { position: relative; height: 560px; }
.hcard { position: absolute; border-radius: 20px; background: linear-gradient(180deg, rgba(31, 34, 70, .92), rgba(16, 18, 40, .94)); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px rgba(0, 0, 0, .55); will-change: transform; }
.hcard--main { z-index: 3; left: 17%; top: 40px; width: min(350px, 78%); padding: 16px 16px 18px; transform: rotate(-2.5deg); box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .45), 0 0 60px rgba(124, 92, 255, .28), 0 30px 80px rgba(0, 0, 0, .6); }
.hcard--back { z-index: 1; right: 0; top: 0; width: 250px; padding: 14px; transform: rotate(9deg); opacity: .8; }
.hcard--small { z-index: 4; left: -3%; top: 118px; width: 150px; padding: 10px; transform: rotate(-9deg); }
.hcard--back b, .hcard--small b { display: block; margin-top: 10px; font: 800 13px/1.2 var(--mono); color: #d7daf5; }
.hcard-badges { position: absolute; z-index: 2; top: -13px; left: 14px; right: 14px; display: flex; justify-content: space-between; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 8px; font: 800 11px/1 var(--mono); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.badge--amber { color: #2b1d00; background: linear-gradient(135deg, #fde68a, #fbbf24); box-shadow: 0 6px 18px rgba(251, 191, 36, .35); }
.badge--green { color: #a7f3d0; background: rgba(6, 78, 59, .85); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .5); }
.badge--orange { color: #fff; background: linear-gradient(135deg, #fb923c, #ea580c); }
.badge--blue { color: #fff; background: linear-gradient(135deg, #60a5fa, #2563eb); }
.badge--violet { color: #fff; background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.hcard-art { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.hcard-art .px, .p-art .px { width: 52%; height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); image-rendering: pixelated; }
.art--money { background: radial-gradient(circle at 50% 55%, rgba(52, 211, 153, .35), transparent 60%), linear-gradient(160deg, #1a2c2a, #0d1416); }
.art--spawner { background: radial-gradient(circle at 50% 55%, rgba(251, 146, 60, .45), transparent 62%), linear-gradient(160deg, #2a1d22, #120d12); }
.art--gear { background: radial-gradient(circle at 50% 55%, rgba(139, 92, 246, .42), transparent 62%), linear-gradient(160deg, #1e1b3a, #0f0e1c); }
.hcard-name { margin-top: 16px; font: 800 21px/1.15 var(--mono); letter-spacing: -.03em; }
.hcard-sub { margin-top: 6px; font-size: 13px; color: var(--muted); }
.hcard-price { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; }
.price { font: 800 clamp(30px, 3vw, 40px)/1 var(--mono); letter-spacing: -.04em; background: var(--grad-green); -webkit-background-clip: text; background-clip: text; color: transparent; }
.per { font: 500 12px/1 var(--mono); color: var(--muted); }
.stock { display: flex; align-items: center; gap: 7px; margin: 10px 0 14px; font: 500 12.5px/1 var(--mono); color: var(--green); }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock.is-out { color: var(--muted); }
.stock.is-low { color: var(--amber); }

/* ---------- section heads ---------- */
.section { padding-block: clamp(80px, 12vh, 140px); }
.sec-head { text-align: center; margin-bottom: clamp(32px, 5vh, 52px); }
.sec-eyebrow { display: inline-block; margin-bottom: 14px; font: 500 12px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }
.sec-title { font: 800 clamp(30px, 4.2vw, 52px)/1.1 var(--mono); letter-spacing: -.035em; text-transform: uppercase; }
.boxed { display: inline-block; padding: .04em .32em .08em; border-radius: 12px; color: #c4b5fd; background: rgba(124, 92, 255, .14); box-shadow: inset 0 0 0 2px rgba(139, 92, 246, .65), 0 0 30px rgba(124, 92, 255, .3); }
.sec-lead { margin: 18px auto 0; max-width: 40em; color: #b6bbdd; }

/* ---------- shop ---------- */
.shop-bar { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 30px; }
.search { position: relative; display: flex; align-items: center; width: min(100%, 680px); }
.search svg { position: absolute; left: 16px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 50px; padding: 0 18px 0 46px; border: 0; border-radius: 12px; font: 500 15px/1 var(--mono); color: var(--fg); background: rgba(14, 16, 36, .85); box-shadow: inset 0 0 0 1px var(--line-2); outline: none; transition: box-shadow .3s; }
.search input:focus { box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .8), 0 0 0 4px rgba(124, 92, 255, .15); }
.search input::placeholder { color: #6c7196; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; font: 500 13px/1 var(--mono); color: #b8bde0; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); transition: color .3s, background .3s, box-shadow .3s; }
.chip-btn span { min-width: 22px; padding: 3px 6px; border-radius: 6px; font-size: 11px; background: rgba(255, 255, 255, .07); }
.chip-btn:hover { color: #fff; }
.chip-btn.is-on { color: #fff; background: rgba(59, 130, 246, .16); box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .6); }
.chip-btn.is-on span { background: rgba(96, 165, 250, .35); }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.p-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .5), 0 20px 50px rgba(0, 0, 0, .45), 0 0 40px rgba(124, 92, 255, .15); }
.p-art { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; }
.p-art .px { width: 34%; transition: transform .6s var(--ease); }
.p-card:hover .p-art .px { transform: translateY(-4px) scale(1.06); }
.p-art .badge { position: absolute; top: 12px; right: 12px; }
.p-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; flex: 1; }
.p-name { font: 800 17px/1.25 var(--mono); letter-spacing: -.02em; }
.p-sub { font-size: 13px; color: var(--muted); }
.p-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 8px; }
.p-price { font: 800 22px/1 var(--mono); letter-spacing: -.03em; background: var(--grad-green); -webkit-background-clip: text; background-clip: text; color: transparent; }
.p-price.is-soon { background: none; color: var(--muted); font-size: 15px; letter-spacing: 0; }
.p-stock { font: 500 12px/1 var(--mono); color: var(--muted); text-align: right; }
.p-stock.is-in { color: #9fe7c8; }
.p-stock.is-low { color: var(--amber); }
.p-add { margin-top: 14px; min-height: 44px; font-size: 13px; }
.shop-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: 14px; }
.products-empty { grid-column: 1 / -1; padding: 50px 20px; text-align: center; color: var(--muted); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- how it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 20px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .8s var(--ease), background .8s var(--ease); }
.step.is-lit { box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .55), 0 0 40px rgba(124, 92, 255, .14); }
.step--done.is-lit { box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .55), 0 0 40px rgba(16, 185, 129, .16); }
.step-top { display: flex; flex-direction: column; gap: 12px; }
.step-n { align-self: flex-start; padding: 5px 8px; border-radius: 7px; font: 800 12px/1 var(--mono); color: #fff; background: var(--grad); }
.step--done .step-n { background: var(--grad-green); color: #022c1d; }
.step-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; font-size: 18px; background: rgba(124, 92, 255, .14); box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .35); }
.step--done .step-ico { background: rgba(16, 185, 129, .14); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .4); }
.step h3 { font: 800 18px/1.2 var(--mono); letter-spacing: -.02em; }
.step--done h3 { color: #a7f3d0; }
.step p { font-size: 14.5px; color: #b6bbdd; }
.step p b { color: var(--fg); }
.term { padding: 12px 14px; border-radius: 10px; font: 500 12.5px/1.75 var(--mono); color: #c9cdf0; background: rgba(4, 5, 14, .7); box-shadow: inset 0 0 0 1px var(--line-2); min-height: 66px; overflow-wrap: anywhere; }
.term-k { display: inline-block; min-width: 3.2em; color: var(--amber); }
.term-ok { color: var(--green); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.tags span { padding: 5px 8px; border-radius: 6px; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #b8bde0; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.step--done .tags span { color: #a7f3d0; box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .35); }

/* ---------- payment band ---------- */
.pay-band { padding: 34px 0 40px; border-block: 1px solid var(--line); background: rgba(10, 11, 22, .6); }
.pay-title { text-align: center; margin-bottom: 18px; font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #9fa4c8; }
.pay-title span { opacity: .5; padding: 0 6px; }
.pay-band .marquee-track { gap: 12px; }
.coin { flex: none; padding: 12px 18px; border-radius: 12px; font: 800 14px/1 var(--mono); color: #dfe2ff; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; }
.pay-band .marquee-track > * { padding-inline-end: 0; margin-inline-end: 12px; }

/* ---------- FAQ + tracking ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-side .sec-title { text-align: left; }
.track-card { margin-top: 30px; padding: 20px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: 130px; }
.track-card h3 { font: 800 17px/1.2 var(--mono); margin-bottom: 12px; }
.my-orders { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.my-orders a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 13px; border-radius: 10px; font: 500 13px/1.3 var(--mono); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.my-orders a:hover { box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .55); }
.my-orders small { color: var(--muted); }
.track-form { display: flex; gap: 8px; margin-top: 12px; }
.track-form input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 0; border-radius: 10px; font: 500 13px var(--mono); color: var(--fg); background: rgba(4, 5, 14, .6); box-shadow: inset 0 0 0 1px var(--line-2); outline: none; }
.track-form input:focus { box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .8); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq-list details[open] { box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .45); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font: 800 15.5px/1.35 var(--mono); letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; font: 500 18px/1 var(--mono); color: #c4b5fd; background: rgba(124, 92, 255, .14); transition: rotate .4s var(--ease); }
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list details p { padding: 0 20px 20px; color: #b6bbdd; font-size: 15px; }
.faq-help { margin-top: 8px; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { display: block; padding: 48px 0 30px; border-top: 1px solid var(--line); background: rgba(8, 9, 18, .75); color: var(--fg); font-size: 14px; max-width: none; }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.foot-small { margin-top: 12px; font-size: 14px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; font: 500 13px/1 var(--mono); color: #c3c7e6; }
.foot-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.foot-legal p:first-child { max-width: 60em; }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer-shade, .modal-shade { position: absolute; inset: 0; background: rgba(3, 4, 12, .66); opacity: 0; transition: opacity .35s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: #0d0f22; box-shadow: -1px 0 0 var(--line-2), -30px 0 80px rgba(0, 0, 0, .5); transform: translateX(100%); transition: transform .45s var(--ease); }
.drawer.is-open .drawer-shade, .modal.is-open .modal-shade { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { flex: 1; font: 800 18px/1 var(--mono); letter-spacing: -.02em; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 18px; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.cart-thumb { width: 56px; height: 56px; border-radius: 10px; display: grid; place-items: center; }
.cart-thumb .px { width: 36px; }
.cart-name { font: 800 14px/1.25 var(--mono); }
.cart-price { font: 500 12.5px/1.3 var(--mono); color: var(--muted); margin-top: 3px; }
.qty { display: inline-flex; align-items: center; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line-2); }
.qty button { width: 30px; height: 32px; font: 800 15px/1 var(--mono); color: #c9cdf0; }
.qty button:hover { color: #fff; }
.qty span { min-width: 26px; text-align: center; font: 800 13px/1 var(--mono); }
.cart-empty { padding: 40px 10px; text-align: center; color: var(--muted); }
.drawer-foot { padding: 16px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #0b0d1d; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font: 500 14px/1 var(--mono); color: var(--muted); }
.total-row b { font: 800 24px/1 var(--mono); color: var(--fg); letter-spacing: -.03em; }
.min-note { margin: -4px 0 12px; font-size: 13px; color: var(--amber); }
.checkout { display: grid; gap: 18px; align-content: start; }
.field-q { display: grid; gap: 7px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-q label, .field-q legend { font: 800 13px/1.2 var(--mono); padding: 0; }
.opt { font-weight: 500; color: var(--muted); }
.field-q input[type=text] { height: 48px; padding: 0 14px; border: 0; border-radius: 11px; font: 500 16px var(--mono); color: var(--fg); background: rgba(4, 5, 14, .6); box-shadow: inset 0 0 0 1px var(--line-2); outline: none; }
.field-q input[type=text]:focus { box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .85), 0 0 0 4px rgba(124, 92, 255, .14); }
.field-q input.is-bad { box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .8); }
.field-q small { font-size: 12.5px; color: var(--muted); }
.methods { gap: 8px; }
.methods legend { margin-bottom: 8px; }
.method { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; cursor: pointer; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.method:has(input:checked) { box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .8); background: rgba(124, 92, 255, .1); }
.method:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.method input { accent-color: var(--violet); width: 18px; height: 18px; }
.method b { display: block; font: 800 14px/1.2 var(--mono); }
.method small { font-size: 12.5px; color: var(--muted); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: #b6bbdd; cursor: pointer; }
.agree input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--violet); }
.agree a { color: #c4b5fd; text-decoration: underline; }
.form-error { min-height: 1em; font-size: 13.5px; color: var(--red); }
.form-error:empty { display: none; }

/* ---------- modals ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal-panel { position: relative; width: min(560px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 26px 24px 24px; border-radius: 20px; background: #0e1024; box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .35s, transform .45s var(--ease); }
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-x { position: absolute; top: 14px; right: 14px; }
.modal-panel--text h2 { font: 800 22px/1.2 var(--mono); margin-bottom: 14px; }
.terms { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 14.5px; color: #c3c7e6; }
.terms b { color: var(--fg); }
.o-head { padding-right: 44px; }
.o-head small { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.o-head h2 { margin-top: 6px; font: 800 26px/1.1 var(--mono); letter-spacing: -.03em; }
.o-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 7px 12px; border-radius: 999px; font: 800 12.5px/1 var(--mono); background: rgba(124, 92, 255, .16); color: #d4ccff; }
.o-status.is-green { background: rgba(16, 185, 129, .16); color: #a7f3d0; }
.o-status.is-amber { background: rgba(251, 191, 36, .14); color: #fde68a; }
.o-status.is-mute { background: rgba(255, 255, 255, .07); color: var(--muted); }
.o-track { list-style: none; margin: 22px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.o-track li { font: 500 11.5px/1.3 var(--mono); color: var(--muted); }
.o-track li::before { content: ''; display: block; height: 5px; margin-bottom: 8px; border-radius: 3px; background: rgba(255, 255, 255, .08); }
.o-track li.is-done { color: var(--fg); }
.o-track li.is-done::before { background: var(--grad); }
.o-track li.is-now::before { background: var(--grad); animation: glow 1.4s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .45; } }
.o-box { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: rgba(251, 191, 36, .08); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .35); font-size: 14.5px; color: #fde68a; }
.o-box code { color: #fff3c4; background: rgba(251, 191, 36, .16); font-size: 1em; }
.o-box b { color: #fff; }
.o-box.is-green { background: rgba(16, 185, 129, .1); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .4); color: #a7f3d0; }
.o-lines { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.o-lines li { display: flex; justify-content: space-between; gap: 10px; font: 500 13.5px/1.35 var(--mono); padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.o-lines small { color: var(--muted); }
.o-lines .ok { color: var(--green); }
.o-total { display: flex; justify-content: space-between; margin-top: 12px; font: 800 15px/1 var(--mono); }
.o-events { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 7px; font-size: 13.5px; color: #b6bbdd; }
.o-events time { font: 500 12px var(--mono); color: var(--muted); margin-right: 8px; }
.o-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 90; padding: 12px 18px; border-radius: 12px; font: 800 13.5px/1.2 var(--mono); color: #fff; background: #1c1f45; box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .6), 0 20px 50px rgba(0, 0, 0, .5); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .45s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-cards { height: 500px; max-width: 520px; width: 100%; margin: 10px auto 0; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side .sec-title { text-align: center; }
}

/* ---------- phones ---------- */
@media (max-width: 767px) {
  .hide-sm { display: none; }
  .topbar { font-size: 11px; }
  .head-row { height: 60px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark .px { width: 23px; height: 23px; }
  .brand-name { font-size: 17px; }
  .bot-pill { height: 34px; padding: 0 10px; font-size: 11px; }
  .bot-pill [data-bot-label] { display: none; }
  .bot-pill { width: 34px; justify-content: center; padding: 0; }
  .cart-btn { width: 38px; height: 38px; }
  .hero { padding-top: 116px; }
  .hero-title { font-size: clamp(36px, 11vw, 54px); }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-cards { height: 440px; }
  .hcard--main { left: 50%; width: 270px; margin-left: -135px; top: 34px; }
  .hcard--back { width: 170px; right: -4px; top: 0; }
  .hcard--small { width: 108px; left: -6px; top: 92px; }
  .hcard-name { font-size: 18px; }
  .products { gap: 12px; }
  .p-body { padding: 12px 12px 14px; }
  .p-name { font-size: 14px; }
  .p-sub { font-size: 12px; }
  .p-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .p-price { font-size: 19px; }
  .p-stock { text-align: left; font-size: 11px; }
  .p-art .badge { top: 8px; right: 8px; padding: 5px 7px; font-size: 9.5px; }
  .p-add { min-height: 40px; padding: 10px 8px; font-size: 12px; }
  .steps { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 14.5px; padding: 16px 48px 16px 16px; }
  .faq-list details p { padding: 0 16px 16px; }
  .o-track { grid-template-columns: repeat(2, 1fr); row-gap: 12px; }
  .foot-legal { flex-direction: column; }
}
@media (max-width: 359px) { .products { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .cube, .is-online i, .chip-dot.is-online { animation: none; } }
