
:root {
  --paper: #faf3df;
  --paper-2: #f3e8c8;
  --terra: #b04a26;
  --terra-deep: #7c2f15;
  --lapis: #1f4e79;
  --lapis-deep: #133453;
  --sepia: #3a2817;
  --sepia-2: #2a1c0e;
  --text: #221a10;
  --line: #d8c898;
  --gold: #c5953a;
  --olive: #5e6a3a;
  --leaf: #4a7c3a;
}
* { box-sizing: border-box; }
html, body { width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Marcellus', Georgia, serif;
  color: var(--sepia);
  margin: 1.7em 0 0.55em;
  line-height: 1.22;
  font-weight: 400;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.4em; margin-top: 0.4em; color: var(--terra-deep); }
h2 {
  font-size: 1.65em;
  position: relative;
  padding-left: 18px;
}
h2::before {
  content: "";
  position: absolute; left: 0; top: 0.32em;
  width: 6px; height: 0.85em;
  background: var(--terra);
  border-radius: 2px;
}
h3 { font-size: 1.22em; color: var(--lapis-deep); }
p { margin: 0 0 1.05em; }
a { color: var(--lapis); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--terra-deep); }
.skip-to-main {
  position: absolute; left: -9999px; top: 0;
  background: var(--sepia); color: var(--paper); padding: 10px 14px; z-index: 100;
}
.skip-to-main:focus { left: 10px; top: 10px; }

/* --- TOPBAR --- */
.topbar {
  background: var(--sepia-2);
  color: var(--paper);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 3px solid var(--gold);
}
.topbar-inner {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 24px; min-height: 64px;
  max-width: 100%;
}
.logo-block {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--paper); text-decoration: none;
  font-family: 'Marcellus', serif;
  font-size: 1.4em;
  letter-spacing: 0.5px;
}
.logo-glyph {
  font-size: 1.3em;
  color: var(--gold);
  text-shadow: 0 0 6px rgba(197,149,58,0.5);
}
.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex; gap: 22px; list-style: none; margin: 0; padding: 0;
}
.primary-nav a {
  color: var(--paper-2); text-decoration: none;
  font-size: 0.96em; font-weight: 500;
  padding: 6px 2px;
  position: relative;
  transition: color 0.15s;
}
.primary-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: transparent;
  transition: background 0.15s;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] {
  color: var(--gold);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  background: var(--gold);
}
.pill-cta {
  background: var(--terra);
  color: var(--paper) !important;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.95em;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  border: 1px solid rgba(255,255,255,0.08);
}
.pill-cta:hover { background: var(--terra-deep); box-shadow: 0 4px 12px rgba(176,74,38,0.35); }
.pill-cta:active { transform: translateY(1px); }
.menu-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  margin-left: auto;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
}
.menu-toggle .bar {
  display: block; width: 26px; height: 2px; background: var(--paper);
  transition: transform 0.2s, opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- CRUMBS --- */
.crumbs {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.crumbs-inner {
  padding: 9px 24px;
  font-size: 0.87em;
  color: var(--sepia);
  max-width: 1100px;
  margin: 0 auto;
}
.crumbs-inner a { color: var(--lapis-deep); text-decoration: none; }
.crumbs-inner a:hover { text-decoration: underline; }
.crumb-sep { margin: 0 9px; color: var(--terra); font-weight: 700; }

/* --- MAIN --- */
main {
  padding: 32px 24px 64px;
  max-width: 1100px;
  margin: 0 auto;
}
main > article { max-width: 100%; }
.updated-line {
  display: inline-block;
  background: var(--paper-2);
  padding: 4px 12px;
  border-radius: 4px;
  color: var(--terra-deep);
  font-size: 0.86em;
  font-weight: 600;
  margin: -0.4em 0 1.1em;
  letter-spacing: 0.02em;
}
.lead-snippet {
  font-size: 1.08em;
  line-height: 1.65;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-left: 5px solid var(--terra);
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  margin: 0 0 1.7em;
}

/* --- CONTENT --- */
article ul, article ol { padding-left: 1.5em; }
article li { margin-bottom: 0.45em; }
article figure {
  margin: 1.7em auto;
  text-align: center;
}
article figure img {
  width: 92%; height: auto;
  max-width: 720px;
  display: block; margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 6px 22px rgba(58,40,23,0.16);
  border: 4px solid var(--paper);
}
article figcaption {
  margin-top: 0.5em;
  font-size: 0.9em; color: var(--lapis-deep);
  font-style: italic;
}

/* --- SPEC GRID (replaces .facts-box in sibling) --- */
.spec-grid {
  background: linear-gradient(135deg, var(--lapis-deep) 0%, var(--lapis) 100%);
  color: var(--paper);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 1.6em 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 36px;
  box-shadow: 0 8px 28px rgba(19,52,83,0.18);
}
.spec-grid dt {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.spec-grid dd {
  margin: 4px 0 0;
  font-size: 1.08em;
  font-weight: 500;
}

/* --- TABLES --- */
.table-frame {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5em 0;
  border-radius: 6px;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;
  font-size: 0.95em;
  background: white;
}
th, td {
  padding: 11px 14px;
  border: 1px solid var(--line);
  text-align: left;
}
th {
  background: var(--paper-2);
  color: var(--sepia);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.86em;
  letter-spacing: 0.04em;
}
tr:nth-child(even) td { background: rgba(243,232,200,0.35); }

/* --- ADVANTAGES (replaces .pros-cons) --- */
.advantages {
  margin: 1.6em 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.adv-card {
  background: white;
  border-radius: 10px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  position: relative;
}
.adv-card.up {
  border-left: 5px solid var(--leaf);
}
.adv-card.down {
  border-left: 5px solid var(--terra);
}
.adv-card h3 {
  margin-top: 0;
  padding-left: 30px;
  position: relative;
}
.adv-card.up h3::before {
  content: "+";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  background: var(--leaf); color: white;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.95em;
}
.adv-card.down h3::before {
  content: "−";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  background: var(--terra); color: white;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.95em;
}
.adv-card ul { padding-left: 1.2em; margin: 0.6em 0 0; }

/* --- HERO CTA (framed, distinct from sibling's gradient bar) --- */
.hero-frame {
  background: var(--paper);
  border: 2px solid var(--terra);
  border-radius: 12px;
  padding: 26px 28px;
  margin: 1.8em 0;
  text-align: center;
  position: relative;
}
.hero-frame::before, .hero-frame::after {
  content: "✦";
  position: absolute;
  color: var(--terra);
  font-size: 1.4em;
}
.hero-frame::before { top: -14px; left: 22px; background: var(--paper); padding: 0 10px; }
.hero-frame::after { bottom: -14px; right: 22px; background: var(--paper); padding: 0 10px; }
.hero-frame h3 {
  margin: 0 0 0.5em;
  color: var(--terra-deep);
}
.hero-frame .frame-sub {
  margin: 0 0 1.1em;
  color: var(--sepia);
  font-size: 0.98em;
}
.hero-cta {
  display: inline-block;
  background: var(--terra);
  color: var(--paper) !important;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.05em;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  letter-spacing: 0.02em;
}
.hero-cta:hover { background: var(--terra-deep); box-shadow: 0 6px 16px rgba(176,74,38,0.35); }
.hero-cta:active { transform: translateY(1px); }

/* --- FAQ (chevron markers, not +/−) --- */
.qa-section { margin: 2.2em 0; }
.qa-section > h2 { padding-left: 18px; }
.qa-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.qa-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 1.02em;
  list-style: none;
  position: relative;
  padding-right: 46px;
  min-height: 44px;
  display: flex; align-items: center;
  color: var(--sepia);
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary::after {
  content: "";
  position: absolute; right: 22px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--terra);
  border-bottom: 2px solid var(--terra);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.qa-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.qa-body { padding: 0 20px 16px; }
.qa-body p:last-child { margin-bottom: 0; }

/* --- STEPS (rectangle markers, not circles) --- */
.step-list {
  list-style: none;
  padding-left: 0;
  counter-reset: stepc;
}
.step-list > li {
  counter-increment: stepc;
  position: relative;
  padding-left: 58px;
  margin-bottom: 22px;
  min-height: 44px;
}
.step-list > li::before {
  content: counter(stepc);
  position: absolute; left: 0; top: 0;
  width: 42px; height: 42px;
  background: var(--terra);
  color: var(--paper);
  border-radius: 6px;
  display: grid; place-items: center;
  font-family: 'Marcellus', serif;
  font-size: 1.15em;
  font-weight: 700;
}
.step-list h3 { margin: 0 0 0.3em; }

/* --- NOTE / CALLOUT --- */
.note {
  background: var(--paper-2);
  border-left: 4px solid var(--lapis);
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  margin: 1.4em 0;
}

/* --- FOOTER --- */
.site-foot {
  background: var(--sepia-2);
  color: var(--paper);
  padding: 40px 24px 24px;
  margin-top: 64px;
  border-top: 3px solid var(--gold);
}
.foot-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 36px;
}
.foot-col h4 {
  color: var(--gold); margin-top: 0; font-size: 1.1em; letter-spacing: 0.04em;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 8px; }
.foot-col a { color: var(--paper-2); text-decoration: none; }
.foot-col a:hover { color: var(--gold); }
.age-marker {
  display: inline-block;
  background: var(--terra); color: white;
  font-weight: 700; padding: 4px 11px; border-radius: 4px;
  margin: 0 0 0.6em;
}
.rg-blurb {
  font-size: 0.92em;
  color: var(--paper-2);
  margin: 0 0 0.9em;
}
.rg-link-row { display: flex; flex-wrap: wrap; gap: 12px; }
.rg-link-row li { margin-bottom: 0; }
.foot-legal {
  max-width: 1100px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(216,200,152,0.18);
  color: var(--paper-2);
  font-size: 0.85em;
  text-align: center;
}

/* --- MOBILE --- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  h1 { font-size: 1.55em; }
  h2 { font-size: 1.22em; padding-left: 14px; }
  h2::before { width: 5px; }
  h3 { font-size: 1.06em; }
  .topbar-inner { padding: 10px 14px; gap: 10px; min-height: 56px; }
  .logo-block { font-size: 1.15em; }
  .menu-toggle { display: flex; }
  .pill-cta { display: none; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--sepia-2);
    padding: 14px 18px 20px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.32);
    margin-left: 0;
    border-bottom: 2px solid var(--gold);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul {
    flex-direction: column; gap: 0;
  }
  .primary-nav li { border-bottom: 1px solid rgba(216,200,152,0.10); }
  .primary-nav a {
    display: block; padding: 12px 4px;
    min-height: 44px;
  }
  main { padding: 20px 14px 44px; max-width: 100%; }
  .crumbs-inner { padding: 8px 14px; }
  article figure img { width: 100%; max-width: 100%; }
  .spec-grid { grid-template-columns: 1fr; gap: 10px; padding: 18px 20px; }
  .advantages { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-foot { padding: 32px 14px 20px; }
  .hero-frame { padding: 20px 18px; }
  .hero-frame::before { left: 14px; }
  .hero-frame::after { right: 14px; }
}
