/* Static pages (guides, FAQ, legal) — same night / star theme as the garage. */
:root {
  --bg: #090c16; --panel: #10152a; --line: rgba(255,255,255,.09);
  --text: #eef0f5; --muted: #9aa3b5; --gold: #e9b252; --gold-2: #f6d58f;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: radial-gradient(circle at 80% -10%, rgba(233,178,82,.10), transparent 40%), var(--bg); color: var(--text); font: 16px/1.65 Inter, system-ui, sans-serif; }
a { color: var(--gold-2); }
h1, h2, .brand-mark { font-family: "Space Grotesk", Inter, sans-serif; }
.brand-mark { text-transform: none; font-weight: 700; }
.brand-mark sup { font-size: .45em; vertical-align: super; font-weight: 500; }
.muted { color: var(--muted); }

.site-head { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 24px; padding: 14px 24px; background: rgba(9,12,22,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-size: 20px; }
.site-head .brand svg { width: 22px; height: 22px; fill: var(--gold); }
.site-nav { display: flex; gap: 18px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.site-nav a[aria-current] , .site-nav a:hover { color: var(--text); }
.lang-links { display: flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.lang-links a { padding: 5px 10px; font-size: 12px; font-weight: 600; color: var(--muted); text-decoration: none; }
.lang-links a[aria-current] { background: rgba(255,255,255,.1); color: var(--text); }

.page { max-width: 820px; margin: 0 auto; padding: 48px 24px 72px; }
.page h1 { font-size: clamp(28px, 4.5vw, 42px); line-height: 1.15; margin: 0 0 14px; }
.lead { font-size: 18px; color: #c9cfdb; }
.post h2 { font-size: 22px; margin: 36px 0 8px; }
.post ul { padding-left: 20px; }
.post li { margin: 6px 0; }
.meta, .crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.ph { margin: 28px 0; }
.ph div { aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 20px; border-radius: 18px; border: 1px dashed rgba(233,178,82,.4); background: linear-gradient(135deg, #141a30, #0d1122); color: var(--muted); font-size: 14px; }
.ph div span { display: block; font-size: 28px; color: var(--gold); }
.ph figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.btn { display: inline-block; padding: 11px 18px; border-radius: 12px; background: linear-gradient(135deg, var(--gold), #d6913a); color: #1a1406; font-weight: 600; text-decoration: none; }
.cta-row { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.buy-soon { display: inline-block; padding: 9px 14px; border-radius: 12px; border: 1px dashed rgba(233,178,82,.5); font-size: 14px; }
.buy-soon em { font-style: normal; color: var(--gold-2); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 28px; }
.card { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: rgba(255,255,255,.025); }
.card-ph { aspect-ratio: 16 / 10; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #182041, #0e1224); color: var(--gold); font-size: 26px; }
.card h2 { font-size: 18px; line-height: 1.3; margin: 14px 0 6px; }
.card h2 a { color: var(--text); text-decoration: none; }
.card p { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.more { font-size: 14px; text-decoration: none; }

.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; background: rgba(255,255,255,.025); }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: 8px 0 0; color: #c9cfdb; }
.legal h2 { font-size: 18px; margin-top: 28px; }
.draft { padding: 10px 14px; border-radius: 10px; background: rgba(255,155,138,.12); color: #ffb3a6; font-weight: 600; }

.site-foot { border-top: 1px solid var(--line); padding: 36px 24px 48px; font-size: 14px; color: #c9cfdb; }
.foot-grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot-h { font-weight: 600; color: var(--text); margin-bottom: 6px; }
.brand-mark.big { font-size: 22px; margin: 0 0 6px; }

@media (max-width: 720px) {
  .site-head { flex-wrap: wrap; gap: 10px 16px; padding: 12px 16px; }
  .site-nav { order: 3; width: 100%; margin: 0; }
  .lang-links { margin-left: auto; }
  .page { padding: 32px 16px 56px; }
  .foot-grid { grid-template-columns: 1fr; }
}
.tbl { overflow-x: auto; margin: 14px 0; }
.tbl table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.tbl code { color: var(--gold-2); }
.card .tag { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.photo { margin: 28px 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: 18px; }
img.card-ph.has-img { width: 100%; height: auto; object-fit: cover; padding: 0; }

/* ---------- product page ---------- */
main.page:has(> .product) { max-width: 1060px; }
.p-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin: 8px 0 40px; }
.p-hero h1 { margin: 6px 0 14px; }
.p-cat { color: var(--gold); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.p-sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.p-sizes span { padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(233,178,82,.4); font-size: 13px; }
.p-buy { margin-top: 18px; } .p-buy.end { margin: 40px 0 0; text-align: center; }
.buy-btn em { font-style: normal; font-size: 12px; margin-left: 8px; padding: 2px 9px; border-radius: 99px; background: rgba(233,178,82,.16); color: var(--gold); }
.buy-btn.soon { background: rgba(255,255,255,.06); color: var(--text); border: 1px dashed rgba(233,178,82,.55); cursor: default; }
.pfig { margin: 28px 0; } .pfig img { display: block; width: 100%; height: auto; border-radius: 18px; background: #fff; }
.pfig.square.small { max-width: 520px; margin-left: auto; margin-right: auto; }
.p-hero .pfig { margin: 0; }
.p-facts, .p-table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 15px; }
.p-facts th, .p-facts td, .p-table th, .p-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.p-facts th { width: 28%; color: var(--muted); font-weight: 500; }
.p-table thead th { color: var(--muted); font-weight: 500; font-size: 13px; }
.p-table tbody th { color: var(--gold); font-size: 18px; }
.p-how { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.p-how div { padding: 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.p-how dt { color: var(--gold); font-weight: 600; margin-bottom: 6px; } .p-how dd { margin: 0; }
.p-steps li { margin: 8px 0; } .p-safety li::marker { color: var(--gold); }
@media (max-width: 760px) {
  .p-hero { grid-template-columns: 1fr; gap: 20px; } .p-how { grid-template-columns: 1fr; }
  .p-facts th { width: 38%; } .p-table { font-size: 14px; } .p-table th, .p-table td { padding: 8px 6px; }
}

/* anchor targets (e.g. #montage from the printed QR code) clear the sticky header */
.post h2[id], .product h2[id] { scroll-margin-top: 84px; }
