:root {
  --bg: #0a0c11;
  --bg-2: #0f1218;
  --surface: #141821;
  --surface-2: #1a1f2b;
  --line: #262c3a;
  --line-2: #323a4c;
  --text: #eef1f7;
  --muted: #9aa4b8;
  --faint: #6b7489;
  --accent: #ffb054;
  --accent-2: #ff7a3d;
  --ice: #6fd3ff;
  --ok: #4fd18b;
  --bad: #ff6b6b;
  --radius: 14px;
  --radius-s: 9px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --maxw: 1180px;
  --gutter: 20px;
}
:root[data-theme='light'] {
  --bg: #f6f7fa;
  --bg-2: #eef0f5;
  --surface: #ffffff;
  --surface-2: #f1f3f8;
  --line: #dde1ea;
  --line-2: #c8cedb;
  --text: #121520;
  --muted: #53607a;
  --faint: #7a859b;
  --accent: #e07a10;
  --accent-2: #c9551a;
  --ice: #0b86c4;
  --shadow: 0 10px 30px rgba(20, 30, 60, 0.12);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg: #f6f7fa; --bg-2: #eef0f5; --surface: #ffffff; --surface-2: #f1f3f8;
    --line: #dde1ea; --line-2: #c8cedb; --text: #121520; --muted: #53607a; --faint: #7a859b;
    --accent: #e07a10; --accent-2: #c9551a; --ice: #0b86c4;
    --shadow: 0 10px 30px rgba(20, 30, 60, 0.12);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--text); letter-spacing: 0.02em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; color: #1a1006; font-weight: 800; font-size: 0.95rem; }
.logo small { color: var(--muted); font-weight: 500; letter-spacing: 0.08em; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { color: var(--muted); padding: 8px 12px; border-radius: 8px; font-size: 0.95rem; }
.nav a:hover, .nav a.on { color: var(--text); background: var(--surface); text-decoration: none; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search { position: relative; }
.search input { width: 220px; background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 9px 14px 9px 38px; font: inherit; font-size: 0.9rem; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--faint); }
.icon-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--line-2); text-decoration: none; }
.icon-btn svg { width: 19px; height: 19px; }
.badge { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #1a1006; font-size: 0.72rem; font-weight: 700; display: grid; place-items: center; }
.badge:empty, .badge[data-n='0'] { display: none; }
.menu-btn { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 11px; padding: 12px 20px; font: inherit; font-weight: 600; cursor: pointer; transition: transform 0.08s, background 0.15s, border-color 0.15s; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1a1006; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { padding: 8px 14px; font-size: 0.9rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-danger { background: transparent; border-color: color-mix(in srgb, var(--bad) 55%, transparent); color: var(--bad); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 70px; border-bottom: 1px solid var(--line); background:
  radial-gradient(900px 420px at 80% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
  radial-gradient(700px 380px at 5% 110%, color-mix(in srgb, var(--ice) 14%, transparent), transparent 70%), var(--bg); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--accent); }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: 0.92rem; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 16px; height: 16px; color: var(--ok); }
.hero-card { background: linear-gradient(160deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.hero-card .stage { aspect-ratio: 4 / 3.2; border-radius: 12px; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 62%), var(--bg-2); display: grid; place-items: center; overflow: hidden; position: relative; }
.hero-card .stage svg { width: 70%; height: 70%; color: var(--accent); filter: drop-shadow(0 0 22px color-mix(in srgb, var(--accent) 55%, transparent)); }
.hero-card .caption { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px 2px; font-size: 0.9rem; color: var(--muted); }
.hero-card .caption b { color: var(--text); }

/* Sections */
section.blk { padding: 70px 0; }
section.blk.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.blk-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.blk-head p { color: var(--muted); margin: 0; max-width: 560px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px; }
.cat { display: block; padding: 20px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: border-color 0.15s, transform 0.15s; }
.cat:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.cat svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
.cat b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; }
.cat span { color: var(--faint); font-size: 0.85rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); display: flex; flex-direction: column; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.thumb { aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 65%), var(--bg-2); display: grid; place-items: center; position: relative; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb svg { width: 46%; height: 46%; color: var(--accent); opacity: 0.9; }
.tag { position: absolute; top: 10px; left: 10px; background: color-mix(in srgb, var(--bg) 80%, transparent); border: 1px solid var(--line-2); color: var(--text); font-size: 0.72rem; padding: 3px 9px; border-radius: 999px; letter-spacing: 0.04em; }
.tag.hot { left: auto; right: 10px; background: var(--accent); color: #1a1006; border-color: transparent; font-weight: 700; }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.05rem; }
.card-body p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; }
.price { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.15rem; }
.price small { color: var(--faint); font-weight: 500; font-size: 0.75rem; margin-right: 4px; }

.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); background: var(--surface); }
.empty h3 { color: var(--text); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { counter-increment: s; content: counter(s); font-family: 'Space Grotesk', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--accent); opacity: 0.9; display: block; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.lic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.lic { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.lic.pro { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), var(--surface)); }
.lic h3 { display: flex; justify-content: space-between; align-items: center; }
.lic ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.lic li { display: flex; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.lic li svg { width: 17px; height: 17px; color: var(--ok); flex: none; margin-top: 3px; }
.pill { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #1a1006; font-weight: 700; }

.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--muted); padding-bottom: 14px; margin: 0; }

.cta-band { text-align: center; padding: 70px 0; background: radial-gradient(700px 300px at 50% 0, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }

/* Catalog */
.page-head { padding: 40px 0 10px; }
.page-head p { color: var(--muted); max-width: 640px; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 18px 0 22px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 0.9rem; cursor: pointer; font-family: inherit; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.on { background: var(--accent); color: #1a1006; border-color: transparent; font-weight: 600; }
select, input[type='text'], input[type='email'], input[type='password'], input[type='number'], textarea {
  background: var(--surface); border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; padding: 11px 13px; font: inherit; width: 100%;
}
select { width: auto; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 1px; }
label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.toolbar .grow { flex: 1; min-width: 180px; }

/* Product page */
.crumbs { font-size: 0.88rem; color: var(--faint); padding: 22px 0 14px; }
.crumbs a { color: var(--muted); }
.pdp { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; padding-bottom: 50px; }
.viewer { background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 65%), var(--bg-2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3.3; position: relative; display: grid; place-items: center; }
.viewer model-viewer, .viewer video, .viewer > img { width: 100%; height: 100%; object-fit: cover; --poster-color: transparent; background: transparent; }
.viewer .hint { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-size: 0.78rem; color: var(--muted); background: color-mix(in srgb, var(--bg) 75%, transparent); padding: 4px 12px; border-radius: 999px; pointer-events: none; }
.viewer svg.ph { width: 40%; height: 40%; color: var(--accent); opacity: 0.8; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 74px; height: 58px; border-radius: 9px; border: 2px solid var(--line); background: var(--surface); overflow: hidden; cursor: pointer; padding: 0; color: var(--muted); font-size: 0.7rem; }
.thumbs button.on { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { position: sticky; top: 84px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.buy h1 { font-size: 1.8rem; margin-bottom: 6px; }
.buy .tagline { color: var(--muted); margin-bottom: 18px; }
.lic-pick { display: grid; gap: 10px; margin-bottom: 18px; }
.lic-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; cursor: pointer; background: var(--bg-2); }
.lic-opt:hover { border-color: var(--accent); }
.lic-opt.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--bg-2)); }
.lic-opt input { margin-top: 4px; accent-color: var(--accent); width: auto; }
.lic-opt b { display: block; }
.lic-opt span { color: var(--muted); font-size: 0.85rem; }
.lic-opt .p { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.25rem; }
.trust { display: grid; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 0.88rem; }
.trust span { display: flex; gap: 9px; align-items: center; }
.trust svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
.chips-s { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.chips-s span { font-size: 0.78rem; padding: 3px 10px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; }
.tabs button { background: none; border: 0; color: var(--muted); font: inherit; padding: 12px 16px; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.on { color: var(--text); border-color: var(--accent); }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.spec span { display: block; color: var(--faint); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.spec b { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; }
.checklist svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 3px; }
.prose { max-width: 760px; color: var(--muted); }
.prose p { white-space: pre-line; }

/* Cart / forms / account */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.cols { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 28px; align-items: start; padding: 20px 0 60px; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line .thumb { aspect-ratio: 4 / 3; border-radius: 10px; }
.line h3 { margin: 0 0 4px; font-size: 1rem; }
.line .ctl { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.line .rm { background: none; border: 0; color: var(--faint); cursor: pointer; font: inherit; font-size: 0.85rem; padding: 0; }
.line .rm:hover { color: var(--bad); }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--muted); }
.sum-row.total { color: var(--text); font-weight: 700; font-size: 1.2rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; }
.notice { border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--line)); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); padding: 12px 16px; border-radius: 12px; font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.err { color: var(--bad); font-size: 0.9rem; min-height: 1.2em; margin: 8px 0; }
.authbox { max-width: 440px; margin: 40px auto 70px; }
.seg { display: flex; gap: 6px; background: var(--bg-2); border: 1px solid var(--line); padding: 4px; border-radius: 11px; margin-bottom: 20px; }
.seg button { flex: 1; border: 0; background: none; color: var(--muted); font: inherit; padding: 9px; border-radius: 8px; cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); }
.lib-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lib-item:last-child { border-bottom: 0; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 0.82rem; color: var(--faint); }

/* Footer */
.ftr { border-top: 1px solid var(--line); padding: 44px 0 30px; background: var(--bg-2); margin-top: 0; }
.ftr .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.ftr h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); margin-bottom: 12px; }
.ftr a:not(.logo) { display: block; color: var(--muted); padding: 3px 0; font-size: 0.95rem; }
.ftr .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; color: var(--faint); font-size: 0.85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); padding: 12px 20px; border-radius: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all 0.25s; z-index: 100; max-width: 90vw; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Admin */
.adm { display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding: 28px 0 70px; }
.adm-nav { display: grid; gap: 4px; align-content: start; position: sticky; top: 84px; }
.adm-nav button { text-align: left; background: none; border: 0; color: var(--muted); font: inherit; padding: 10px 14px; border-radius: 9px; cursor: pointer; }
.adm-nav button.on, .adm-nav button:hover { background: var(--surface); color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.stat span { color: var(--faint); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.stat b { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.tbl th { text-align: left; color: var(--faint); font-weight: 500; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.st { font-size: 0.75rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); }
.st.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.st.bad { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 50%, transparent); }
.form2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form2 .full { grid-column: 1 / -1; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.filelist { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; font-size: 0.88rem; }
.filelist li { display: flex; justify-content: space-between; gap: 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }

.loading { padding: 60px; text-align: center; color: var(--faint); }

@media (max-width: 900px) {
  .hero .wrap, .pdp, .cols, .adm { grid-template-columns: 1fr; }
  .hero { padding: 54px 0 50px; }
  .hero-card { max-width: 440px; }
  .buy { position: static; }
  .steps, .lic-grid { grid-template-columns: 1fr; }
  .ftr .wrap { grid-template-columns: 1fr 1fr; }
  .adm-nav { position: static; display: flex; overflow-x: auto; }
  .adm-nav button { white-space: nowrap; }
  .form2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 16px; margin: 0; }
  .nav.open { display: flex; }
  .menu-btn { display: grid; }
  .search { display: none; }
  .hdr .wrap { gap: 12px; }
  .logo small { display: none; }
  section.blk { padding: 50px 0; }
  .line, .lib-item { grid-template-columns: 64px 1fr; }
  .line > :last-child, .lib-item > :last-child { grid-column: 1 / -1; }
}
