:root {
  --black: #08070b;
  --surface: #111017;
  --surface-2: #17131e;
  --line: #33263f;
  --muted: #b8afc0;
  --white: #f8f5fb;
  --gold: #f4c95d;
  --gold-soft: #ffe4a0;
  --purple: #a855f7;
  --purple-bright: #c084fc;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: var(--gold-soft); text-decoration-color: var(--purple); text-underline-offset: .22em; }
a:hover, a:focus-visible { color: var(--white); }
img { max-width: 100%; height: auto; }
.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 7, 11, .94);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--white); text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 50%; }
.brand span { line-height: 1.05; }
.brand small { display: block; margin-top: .25rem; color: var(--gold); font-size: .62rem; letter-spacing: .16em; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .2rem .8rem; font-size: .86rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }

main { overflow: hidden; }
.hero { padding: clamp(4rem, 11vw, 8.5rem) 0 4rem; position: relative; }
.hero::after { content: ""; width: 22rem; height: 22rem; position: absolute; right: -10rem; top: 2rem; border-radius: 50%; background: var(--purple); opacity: .12; filter: blur(60px); pointer-events: none; }
.eyebrow { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin: 0 0 1rem; line-height: 1.1; letter-spacing: -.035em; }
h1 { max-width: 850px; font-size: clamp(2.8rem, 9vw, 6.5rem); }
h2 { font-size: clamp(1.8rem, 5vw, 3rem); }
h3 { font-size: 1.2rem; color: var(--gold-soft); }
.lede { max-width: 690px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.32rem); }
.slogan { display: inline-block; margin: 1.3rem 0; color: var(--purple-bright); font-weight: 900; letter-spacing: .14em; font-size: .86rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.15rem; border: 1px solid var(--gold); border-radius: 999px; background: var(--gold); color: #17110a; font-weight: 850; text-decoration: none; box-shadow: 0 0 28px rgba(244, 201, 93, .12); }
.button:hover, .button:focus-visible { background: var(--gold-soft); color: #17110a; }
.button.secondary { border-color: var(--purple); background: transparent; color: var(--gold-soft); box-shadow: none; }
.button.secondary:hover, .button.secondary:focus-visible { background: var(--purple); color: var(--white); }

.section { padding: 4.3rem 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.8rem; }
.section-heading p { max-width: 520px; margin: 0; color: var(--muted); }
.grid { display: grid; gap: 1rem; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.card { padding: 1.35rem; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, var(--surface-2), var(--surface)); }
.card::before { content: ""; display: block; width: 2rem; height: 3px; margin-bottom: 1rem; background: var(--purple); }
.card p { margin: 0; color: var(--muted); }
.number { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
.trust-strip { padding: 1rem 1.15rem; border-block: 1px solid var(--line); color: var(--muted); font-size: .94rem; }
.trust-strip strong { color: var(--gold-soft); }
.callout { padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid var(--purple); border-radius: 18px; background: linear-gradient(115deg, rgba(168,85,247,.13), rgba(244,201,93,.06)); }
.callout p { max-width: 650px; margin: 0; color: var(--muted); }
.page-head { padding: 4.5rem 0 2.6rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.7rem, 7vw, 5.3rem); }
.page-head .lede { margin-bottom: 0; }
.prose { max-width: 760px; }
.prose p { color: var(--muted); font-size: 1.08rem; }
.detail-list { display: grid; grid-template-columns: max-content 1fr; gap: .7rem 1.2rem; margin: 0; }
.detail-list dt { color: var(--gold); font-weight: 800; }
.detail-list dd { margin: 0; color: var(--muted); }

.site-footer { margin-top: 3rem; padding: 2.5rem 0 1.5rem; border-top: 1px solid var(--line); background: #0d0b11; }
.footer-grid { display: grid; gap: 1.4rem; }
.footer-trust { list-style: none; margin: 1rem 0; padding: 1rem 1.1rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; border: 1px solid var(--line); border-top: 1px solid rgba(244, 201, 93, .55); border-radius: 14px; background: linear-gradient(180deg, #120f18, #09080c); box-shadow: inset 0 1px 0 rgba(168, 85, 247, .18); }
.trust-item { display: flex; align-items: flex-start; gap: .7rem; min-width: 0; }
.trust-item + .trust-item { border-left: 1px solid var(--line); padding-left: 1rem; }
.trust-icon { flex: 0 0 28px; width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(168, 85, 247, .35)); }
.trust-item strong { display: block; color: var(--white); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.trust-item span { display: block; margin-top: .2rem; color: var(--muted); font-size: .76rem; line-height: 1.35; }
.trust-item:last-child strong { color: var(--gold); }
@media (max-width: 900px) {
  .footer-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item + .trust-item { border-left: 0; padding-left: 0; }
  .trust-item:last-child { grid-column: 1 / -1; padding-top: .9rem; border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .footer-trust { grid-template-columns: 1fr; gap: .85rem; }
  .trust-item:last-child { grid-column: auto; }
}
.footer-brand { color: var(--white); font-weight: 850; font-size: 1.1rem; }
.footer-copy { max-width: 670px; margin: .5rem 0 0; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; }
.footer-links a { font-weight: 750; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: #857b8c; font-size: .78rem; }

@media (max-width: 680px) {
  .header-inner { align-items: flex-start; padding: .8rem 0; flex-direction: column; }
  .nav { justify-content: flex-start; gap: .35rem .7rem; }
  .hero { padding-top: 3.8rem; }
  .section-heading { display: block; }
  .section-heading p { margin-top: .8rem; }
  .detail-list { grid-template-columns: 1fr; gap: .15rem; }
  .detail-list dd { margin-bottom: .7rem; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: .35rem; }
}

/* Stock page (stock.html, generated by build_stock.py) */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stock-section { padding-top: 2.5rem; }
.stock-tools { display: grid; gap: .9rem; margin-bottom: .6rem; position: sticky; top: 76px; z-index: 5; padding: .8rem 0; background: rgba(8, 7, 11, .94); backdrop-filter: blur(10px); }
.stock-search input { width: 100%; min-height: 48px; padding: .75rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--white); font: inherit; font-size: 1rem; }
.stock-search input:focus { outline: 2px solid var(--purple); outline-offset: 2px; border-color: var(--purple); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .8rem; text-decoration: none; white-space: nowrap; }
.chip span { color: var(--gold); font-weight: 800; }
.chip:hover { border-color: var(--purple); color: var(--white); }
.stock-status { color: #857b8c; font-size: .85rem; margin: .4rem 0 1rem; }
.stock-group { margin-top: 2.2rem; scroll-margin-top: 220px; }
.stock-group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: .4rem 1rem; flex-wrap: wrap; padding-bottom: .7rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.stock-group-head h2 { margin: 0; font-size: clamp(1.35rem, 3.5vw, 2rem); }
.stock-rel { display: block; margin-top: .25rem; color: var(--purple-bright); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.stock-count { color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.stock-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.stock-item { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, var(--surface-2), var(--surface)); transition: border-color .15s, transform .15s; }
.stock-item:hover { border-color: rgba(168, 85, 247, .7); transform: translateY(-2px); }
.stock-media { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: .8rem; background: #f7f5f9; }
.stock-media img { position: absolute; inset: .8rem; width: calc(100% - 1.6rem); height: calc(100% - 1.6rem); object-fit: contain; }
.stock-badges { position: absolute; top: .5rem; left: .5rem; display: flex; gap: .3rem; }
.badge { padding: .1rem .45rem; border-radius: 6px; font-size: .66rem; font-weight: 850; letter-spacing: .08em; line-height: 1.5; }
.badge-lang { background: rgba(8, 7, 11, .85); color: var(--white); border: 1px solid rgba(168, 85, 247, .7); }
.badge-case { background: var(--gold); color: #17110a; }
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; padding: 1rem; text-align: center; background: radial-gradient(circle at 50% 35%, rgba(168, 85, 247, .35), transparent 60%), #0b0910; border-bottom: 1px solid var(--line); }
.ph-mark { display: grid; place-items: center; width: 54px; height: 54px; border: 2px solid var(--gold); border-radius: 50%; color: var(--gold); font-weight: 900; letter-spacing: .04em; box-shadow: 0 0 22px rgba(168, 85, 247, .45); }
.ph-type { color: var(--gold-soft); font-weight: 850; font-size: .9rem; line-height: 1.2; }
.ph-set { color: var(--purple-bright); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.stock-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: .6rem; padding: .8rem .9rem .9rem; }
.stock-name { color: var(--white); font-weight: 700; font-size: .9rem; line-height: 1.3; }
.stock-qty { color: var(--muted); font-size: .78rem; }
.stock-qty b { color: var(--gold); font-size: 1.05rem; }
.stock-empty { color: var(--muted); }
[hidden] { display: none !important; }
@media (max-width: 680px) {
  .stock-tools { top: 0; position: static; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -1rem; padding: 0 1rem .3rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .stock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .stock-media { padding: .5rem; }
  .stock-media img { inset: .5rem; width: calc(100% - 1rem); height: calc(100% - 1rem); }
  .ph-mark { width: 42px; height: 42px; font-size: .85rem; }
  .ph-type { font-size: .78rem; }
  .stock-body { padding: .6rem .65rem .7rem; }
  .stock-name { font-size: .8rem; }
  .stock-group { scroll-margin-top: 1rem; }
}
