:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --ink: #1f2328;
  --ink-soft: #57606a;
  --line: #e4e0da;
  --accent: #8a6d3b;
  --accent-ink: #fffdf8;
  --accent-soft: #f4ede1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181c;
    --surface: #1e2126;
    --ink: #e6e3de;
    --ink-soft: #9aa3ad;
    --line: #32363d;
    --accent: #c9a865;
    --accent-ink: #16181c;
    --accent-soft: #2a2620;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 10px; }
h2 { font-size: 22px; margin: 40px 0 14px; }
.lede { color: var(--ink-soft); max-width: 62ch; font-size: 17px; }
.soft { color: var(--ink-soft); font-size: 14px; }

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--bg); z-index: 10; flex-wrap: wrap;
}
.brand { font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; }
.top nav a { color: var(--ink-soft); text-decoration: none; font-size: 14.5px; }
.top nav a:hover { color: var(--accent); }

main { max-width: 1020px; margin: 0 auto; padding: 36px 24px 80px; }

.hero { padding: 28px 0 8px; }
.hero h1 { font-size: 40px; }

.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  border: 1px solid var(--accent); border-radius: 8px; padding: 10px 18px;
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.disabled { opacity: .55; cursor: default; }

.capture { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; max-width: 520px; }
.capture input[type="email"] {
  flex: 1 1 220px; padding: 10px 14px; font-size: 15px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--ink);
}
.capture .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { flex-basis: 100%; margin: 4px 0 0; color: var(--accent); font-size: 14.5px; }

.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px; margin: 18px 0;
}
.card {
  position: relative; display: block; background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  text-decoration: none; color: var(--ink);
}
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-t { display: block; padding: 10px 12px 12px; font-weight: 600; font-size: 15px; }
.badge {
  position: absolute; top: 10px; left: 10px; background: var(--surface);
  border: 1px solid var(--line); color: var(--ink); border-radius: 999px;
  padding: 3px 10px; font-size: 12.5px; font-weight: 650;
}
.badge.free { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.crumb { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 6px; }
.crumb a { color: var(--ink-soft); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 20px 0; }
.gallery img { border: 1px solid var(--line); border-radius: 10px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 24px 0; }
@media (max-width: 720px) { .split { grid-template-columns: 1fr; } }

.info { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.info th, .info td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.info th { color: var(--ink-soft); font-weight: 600; white-space: nowrap; padding-right: 18px; }

.action { background: var(--accent-soft); border: 1px solid var(--line); border-radius: 12px; padding: 18px; height: fit-content; }
.rot-note { margin: 0 0 8px; font-size: 14px; color: var(--ink-soft); }
.price-line { font-weight: 700; font-size: 19px; margin: 0 0 10px; }

.video { aspect-ratio: 16/9; margin: 20px 0; }
.video iframe { width: 100%; height: 100%; border: 0; border-radius: 10px; }

.ar-block { margin-top: 16px; }
model-viewer { width: 100%; height: 300px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }

.bottom {
  border-top: 1px solid var(--line); padding: 22px 24px 40px;
  color: var(--ink-soft); font-size: 13.5px; text-align: center;
}
.bottom p { margin: 4px 0; }
