:root {
  --bg: #070604;
  --bg-deep: #050403;
  --panel: #24180f;
  --panel-2: #2a1c12;
  --ink: #f3e6d0;
  --muted: #c9b392;
  --line: #5a4224;
  --line-soft: #5a422466;
  --brass: #b8862a;
  --brass-light: #e4c898;
  --red: #c81e1e;
  --brass-deep: #8a6418;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", Arial, Helvetica, sans-serif;
  --header-h: 68px;
  --wrap: 1120px;
  --gutter: 20px;
  --space: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #050403;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brass-light); }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--brass);
  color: var(--bg-deep);
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 36px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 11, 7, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(90, 66, 36, 0.55);
}

.header-inner {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: 44px;
}

.nav-toggle { display: none; }

.nav-burger {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid #3d2a16;
  border-radius: 8px;
  place-items: center;
  cursor: pointer;
  background: #1a120c;
}

.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--brass-light);
  position: relative;
}
.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-burger span::before { top: -5px; }
.nav-burger span::after { top: 5px; }

.main-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  min-width: 0;
}

.main-nav a {
  color: #e4c898;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 11px;
  border-radius: 8px;
  background: #1a120c;
  border: 1px solid #3d2a16;
  white-space: nowrap;
}

.main-nav a:hover {
  background: #2a1c12;
  color: #f3e6d0;
}

.main-nav a.is-active {
  background: #2a1c12;
  color: #f3e6d0;
  border-color: var(--brass);
}

.header-cta {
  margin-left: auto;
  text-decoration: none;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

.header-cta:hover { background: var(--brass-light); color: var(--bg-deep); }

/* Page body */
main { flex: 1 0 auto; }

.page-hero,
.hero-block,
.section,
.download-band,
.proof-strip {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

.hero-block { padding: var(--space) 0 0; }

.page-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: var(--space) 0 0;
}

.page-hero.solo { grid-template-columns: 1fr; max-width: 760px; margin-left: 0; }

.hero-copy { padding: 18px 0 0; }
.hero-copy .btn-row { margin-top: 14px; }

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: 22px; }

.section {
  padding: var(--space) 0 0;
}

.section-head { max-width: none; margin: 0 0 14px; }
.section-head.center { text-align: center; margin-inline: auto; }

.lead,
.hero-lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 70ch;
  margin: 12px 0 0;
}

.hero-note {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}

.muted { color: var(--muted); margin: 6px 0 0; }

.faq-list { display: grid; gap: 10px; }
.faq-list details {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.faq-list summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 20px;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { margin: 10px 0 0; color: var(--muted); }

.slot {
  min-height: 64px;
  margin-top: 12px;
  border: 1px dashed var(--line-soft);
  border-radius: 10px;
  background: #00000018;
}

.slot.sm { min-height: 40px; }
.slot.lg { min-height: 120px; }

.hero-visual {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #100b07;
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.article-panel {
  width: 100%;
  background: #16100b;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.article-split {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  align-items: start;
  margin-top: 16px;
}

.article-figure {
  margin: 0;
  border: 0;
  background: transparent;
  position: sticky;
  top: 88px;
}

.article-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.article { max-width: none; width: 100%; }
.article h2 { margin: 0 0 14px; }
.article h2 + h2,
.article p + h2 { margin-top: 28px; }
.article p {
  color: var(--muted);
  margin: 0 0 16px;
  font-size: 16.5px;
  line-height: 1.75;
}
.article p:last-child { margin-bottom: 0; }

.article-wide {
  width: 100%;
  margin-top: 24px;
  columns: 2;
  column-gap: 28px;
}
.article-wide h2 {
  break-after: avoid;
  column-span: all;
}
.article-wide p { break-inside: avoid; }

.hero-visual.contain img {
  object-fit: contain;
  background: #100b07;
}

.proof-strip {
  margin-top: var(--space);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.proof-strip article,
.card,
.platform,
.faq-item {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.proof-strip article { padding: 12px 14px; }
.proof-strip h2,
.proof-strip h3 { font-size: 16px; }

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 12px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card,
.platform,
.faq-item { padding: 14px 16px; }

.card a,
.platform a { display: inline-block; margin-top: 8px; font-size: 13px; }

.platform {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.num {
  font-family: var(--font-serif);
  color: var(--red);
  font-size: 22px;
  line-height: 1;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-2);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

th {
  color: var(--brass-light);
  font-weight: 600;
}

tr:last-child td { border-bottom: 0; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--brass-light);
}

.download-band {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: var(--space) auto 40px;
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
}

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #a01818; }
.btn-ghost {
  border: 1px solid var(--brass);
  color: var(--brass-light);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 36px 0 22px;
}

.footer-grid {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-brand img { height: 72px; width: auto; margin-bottom: 10px; }

.site-footer h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--brass-light);
}

.site-footer a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 3px 0;
}

.site-footer a:hover { color: var(--ink); }

.age-note,
.footer-bottom {
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  margin: 22px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1080px) {
  .header-inner { position: relative; }
  .header-cta { display: none; }
  .nav-burger {
    display: grid;
    margin-left: auto;
    order: 20;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0;
    padding: 10px 12px 12px;
    background: rgba(16, 11, 7, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(90, 66, 36, 0.55);
  }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav a {
    display: block;
    text-align: left;
    padding: 11px 12px;
    background: #1a120c;
  }
}

@media (max-width: 900px) {
  .page-hero,
  .article-split,
  .grid-3,
  .grid-4,
  .proof-strip,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .article-wide { columns: 1; }
  .article-figure { position: static; }
  .article-panel { padding: 18px; }
}

@media (max-width: 640px) {
  .page-hero,
  .article-split,
  .grid-2,
  .grid-3,
  .grid-4,
  .proof-strip,
  .footer-grid,
  .download-band {
    grid-template-columns: 1fr;
  }
  .download-band { flex-direction: column; align-items: flex-start; }
  .brand img { height: 40px; }
  :root { --gutter: 16px; --space: 20px; }
  .article-panel { padding: 16px; }
}
