:root {
  color-scheme: light;
  --accent: #9a3412; --hero-accent: #f0b15a; --hero-ink: #1c140c;
  --ink: #1c1914; --on-photo: #f7f2e8; --muted: #5e574c;
  --bg: #f3efe6; --panel: #fffdf8; --line: #ddd4c4;
  --hero-a: rgba(28,22,16,.9); --hero-b: rgba(28,22,16,.5); --hero-c: rgba(28,22,16,.18);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Barlow, "Segoe UI", sans-serif; background: var(--bg); color: var(--ink); }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.bar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 12px 4vw; border-bottom: 1px solid var(--line); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.bar-start { display: flex; align-items: center; gap: 14px; }
.bar .logo-link { display: inline-flex; line-height: 0; }
.bar .logo-link:hover { opacity: .82; }
.bar .logo { height: 32px; width: auto; max-width: none; flex: none; }
.bar-end { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-left: auto; }
.bar a { color: var(--muted); text-decoration: none; }
.bar a:hover { color: var(--accent); }
.bar .draw-link { color: var(--ink); border: 2px solid var(--hero-accent); border-radius: 999px; padding: 6px 12px; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.bar .draw-link:hover { color: var(--hero-accent); }
.lang { font: inherit; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.lang:hover { border-color: var(--accent); color: var(--accent); }
.hero { min-height: 72vh; display: grid; align-items: end; padding: 8vh 4vw 48px; background: linear-gradient(100deg, var(--hero-a) 0%, var(--hero-b) 48%, var(--hero-c) 100%), url("assets/hero.jpg") center/cover no-repeat; }
.kicker { letter-spacing: .18em; text-transform: uppercase; color: var(--hero-accent); font-size: .78rem; margin: 0 0 12px; }
h1 { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: clamp(3.2rem, 9vw, 7rem); line-height: .88; letter-spacing: .01em; margin: 0; color: var(--on-photo); padding-top: .04em; }
.rule { width: min(280px, 40vw); height: 4px; background: var(--hero-accent); margin: 18px 0 16px; }
.lede { max-width: 38rem; font-size: 1.12rem; color: var(--on-photo); margin: 0 0 22px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn, .btn-ghost { text-decoration: none; border-radius: 999px; padding: 12px 18px; font-weight: 600; }
.btn { background: var(--hero-accent); color: var(--hero-ink); }
.btn-ghost { border: 1px solid var(--hero-accent); color: var(--hero-accent); }
.btn:focus-visible, .btn-ghost:focus-visible, .bar a:focus-visible, .lang:focus-visible, .versions a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.versions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.versions a, .versions span {
  display: inline-block; border: 1.5px solid var(--accent); border-radius: 999px;
  padding: 8px 14px; font-weight: 600; text-decoration: none; color: var(--accent); background: transparent; line-height: 1.2;
}
.versions a:hover { background: rgba(154, 52, 18, .08); }
.versions .is-on { background: var(--accent); color: var(--panel); }
section { padding: 64px 4vw; }
h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: .01em; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 44rem; }
.boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
article { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.shots { display: grid; gap: 8px; padding: 8px; }
.shots img { width: 100%; height: 210px; object-fit: contain; }
.pad { padding: 18px 18px 22px; }
.tag { color: var(--accent); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
ul { margin: 12px 0 0; padding: 0; list-style: none; }
li { padding: 7px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 9.2rem 1fr; gap: 8px; }
li > span:first-child { color: var(--muted); }
.soon { margin-top: 16px; border: 1px dashed var(--line); border-radius: 16px; padding: 18px 20px; }
.soon h2 { font-size: 1.4rem; }
.soon p { margin: 6px 0 0; color: var(--muted); }
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 920px; }
.phones img { width: 100%; aspect-ratio: 1440 / 3120; object-fit: contain; border-radius: 22px; border: 1px solid var(--line); background: #1a1a1a; }
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.downloads a { display: block; text-decoration: none; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.downloads a strong { display: block; color: var(--accent); margin-bottom: 4px; }
.downloads a:hover { border-color: var(--accent); }
footer { padding: 28px 4vw 48px; color: var(--muted); border-top: 1px solid var(--line); }
.blurb { margin: 10px 0 0; }
a.block { display: block; text-decoration: none; color: inherit; }
.boards article:has(a.block:hover), .boards article:has(a.block:focus-visible) { border-color: var(--accent); }
.page-head { padding: 48px 4vw 0; }
.page-head h1, .page-head .lede { color: var(--ink); }
.page-head .kicker { color: var(--accent); }
.page-head .rule { background: var(--accent); }
.detail { max-width: 980px; }
.detail .shots { grid-template-columns: 1fr 1fr; }
.detail .shots img { height: 340px; }
@media (max-width: 1100px) {
  .boards { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .downloads, li, .shots, .detail .shots { grid-template-columns: 1fr; }
  .phones { grid-template-columns: 1fr 1fr; }
  section { padding: 42px 4vw; }
  .detail .shots img { height: 240px; }
}
button.btn { border: 0; font: inherit; cursor: pointer; }
button.btn:disabled { cursor: wait; opacity: .65; }
.pdf-brand { margin: 0 0 4mm; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; color: var(--muted); }
.pdf-host {
  position: fixed; left: -240vw; top: 0; width: 210mm; padding: 10mm 12mm 12mm;
  background: var(--bg); z-index: 1;
}
.pdf-host .page-head { padding: 0; }
.pdf-host .page-head h1 { font-size: 32pt; line-height: .9; }
.pdf-host .page-head .lede { font-size: 12pt; max-width: none; }
.pdf-host .kicker { margin-bottom: 2mm; }
.pdf-host .rule { margin: 3mm 0; }
.pdf-host section { padding: 4mm 0 0; }
.pdf-host .detail { max-width: none; }
.pdf-host .detail .shots, .pdf-host .shots { grid-template-columns: 1fr 1fr !important; }
.pdf-host .detail .shots img, .pdf-host .shots img { height: 58mm !important; }
.pdf-host .pad { padding: 4mm 0 0; }
.pdf-host li { grid-template-columns: 42mm 1fr !important; padding: 1.3mm 0; }
.pdf-host footer { padding: 4mm 0 0; }
.pdf-host .actions { display: none !important; }
@page { size: A4 portrait; margin: 8mm; }
@media print {
  .product .bar, .product .actions, .product .versions, .pdf-host { display: none !important; }
  .product { background: #fff; }
  .product .page-head { padding: 0; }
  .product .page-head h1 { font-size: 28pt; }
  .product section { padding: 0; }
  .product footer { padding: 4mm 0 0; }
  .product .detail { max-width: none; }
  .product .detail .shots { grid-template-columns: 1fr 1fr !important; }
  .product .detail .shots img { height: 52mm !important; }
  .product li { break-inside: avoid; }
  .product #sheet { break-inside: avoid; page-break-inside: avoid; }
}
