/* Self-hosted Poppins (4 vikter) + Quicksand som WOFF2 — ~67% mindre än TTF */
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Quicksand';
  src: url('/fonts/Quicksand-Variable.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0c1f1a;
  --ink-soft: #4b5e57;
  --ink-faint: #8a978f;
  --line: #e2dfd2;
  --paper: #faf7f2;
  --paper-warm: #f5ebe1;
  --surface: #ffffff;
  --primary: #003223;
  --primary-dark: #00201a;
  --primary-soft: #e7efe9;
  --accent: #c96f3c;
  --accent-dark: #a8552a;
  --accent-soft: #f9ebe0;
  --green: #8cc850;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(12,31,26,.06), 0 1px 3px rgba(12,31,26,.08);
  --shadow-md: 0 8px 24px rgba(12,31,26,.08);
  --shadow-lg: 0 24px 60px rgba(12,31,26,.14);
  --t-fast: 120ms ease;
  --t: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }

h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); font-weight: 700; }
h1, h2 { font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.05rem); letter-spacing: -.02em; }
h3, h4, h5 { font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }
b, strong { color: var(--ink); font-weight: 600; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.lead { font-size: 1.05rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: var(--accent); margin-bottom: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,242,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; }
.logo {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.4rem; color: var(--ink); text-decoration: none; font-weight: 600;
  justify-self: start;
}
.logo u { text-decoration: none; }
.logo-light { color: var(--paper); }

.logo-symbol {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  text-decoration: none;
  justify-self: center;
}
.logo-symbol img { width: 100%; height: 100%; display: block; }

.header-end {
  display: flex; align-items: center; gap: 4px; height: 100%;
  justify-self: end;
}

.site-nav { display: flex; gap: 4px; align-items: center; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; font-size: .95rem; font-weight: 500;
  color: var(--ink); text-decoration: none; background: none; border: none; cursor: pointer;
  font-family: inherit;
  transition: transform var(--t-fast), color var(--t-fast);
}
.nav-link:hover { transform: translateY(-1.5px); color: var(--accent); }
.caret { font-size: .7em; opacity: .7; }

.dropdown-panel {
  position: absolute; top: calc(100% - 6px); right: 0;
  min-width: 280px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px; z-index: 50;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity var(--t-fast), visibility var(--t-fast), transform var(--t-fast);
}
.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink);
  transition: background var(--t-fast);
}
.dropdown-panel a:hover { background: var(--primary-soft); }
.dropdown-panel a strong { font-size: .95rem; font-weight: 600; }
.dropdown-panel a span { font-size: .8rem; color: var(--ink-soft); }

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; gap: 4px; flex-direction: column;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.mobile-nav { padding: 8px 24px 16px; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav a, .mobile-nav summary {
  display: block; padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav details a { padding-left: 12px; font-weight: 400; font-size: .95rem; color: var(--ink-soft); }
.mobile-nav summary { cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }

@media (max-width: 820px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
}

/* Hero */
.hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(900px 480px at 50% -10%, var(--paper-warm), transparent 60%),
    var(--paper);
  text-align: center;
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero h1 { margin-bottom: 12px; }
.hero-h1 { line-height: 1.05; letter-spacing: -.03em; font-size: clamp(2rem, 5.5vw, 3.2rem); }
.hero-h1 span { display: block; }
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 460px; margin: 0 auto 32px; }

/* Quiz card */
.quiz-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px 32px 24px;
  text-align: center;
  position: relative;
}
@media (max-width: 600px) { .quiz-card { padding: 28px 20px 20px; } }

.quiz-progress { display: flex; gap: 6px; justify-content: center; margin-bottom: 18px; }
.quiz-progress .dot {
  height: 4px; width: 24px; background: var(--line); border-radius: 2px;
  transition: all var(--t);
}
.quiz-progress .dot.active { width: 32px; background: var(--accent); }
.quiz-progress .dot.filled { background: var(--accent); }

.quiz-meta {
  display: flex; gap: 8px; justify-content: center; align-items: center;
  font-size: .75rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-soft); margin-bottom: 12px;
}
.dot-sep { color: var(--ink-faint); }

.quiz-step { display: none; border: none; padding: 0; margin: 0; animation: fadeUp .25s ease; }
.quiz-step.active { display: block; }
.quiz-step legend { display: contents; }
.quiz-step h2 { font-weight: 700; font-size: 1.45rem; max-width: 480px; margin: 0 auto 18px; }
.quiz-hint { color: var(--ink-soft); font-size: .9rem; max-width: 380px; margin: -8px auto 18px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Cards */
.cards-grid { display: grid; gap: 10px; max-width: 460px; margin: 0 auto; }
.cards-2 { grid-template-columns: 1fr 1fr; }
.cards-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 480px) { .cards-3 { grid-template-columns: 1fr 1fr; } }

.card-option {
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 16px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; font-family: inherit;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t), background var(--t);
}
.card-option:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--accent); }
.card-option .ico { font-size: 1.6rem; }
.card-option .lbl { font-size: .92rem; font-weight: 600; color: var(--ink); }
.card-option.selected {
  border-color: var(--accent); background: var(--accent-soft); border-width: 2px;
}
.card-option.selected .lbl { color: var(--accent-dark); }

/* List options */
.list-options { display: flex; flex-direction: column; gap: 8px; max-width: 420px; margin: 0 auto; }
.list-option {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper); border: 1.3px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px;
  cursor: pointer; font-family: inherit; font-size: .95rem; color: var(--ink);
  text-align: left;
  transition: transform var(--t), border-color var(--t), background var(--t);
}
.list-option:hover { transform: translateX(3px); border-color: var(--accent); }
.list-option .bullet {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--ink-faint); flex-shrink: 0;
  transition: all var(--t-fast);
}
.list-option.selected {
  border-color: var(--accent); background: var(--accent-soft); border-width: 2px;
  font-weight: 600;
}
.list-option.selected .bullet { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--accent-soft); }

/* Form step */
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  max-width: 440px; margin: 0 auto;
}
@media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid label { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.form-grid label span {
  font-size: .8rem; color: var(--ink-soft); font-weight: 500;
}
.form-grid input {
  padding: 11px 13px; font-family: inherit; font-size: .95rem;
  border: 1.3px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-grid input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.form-grid input.invalid { border-color: var(--accent-dark); }

.consent {
  display: flex; gap: 10px; align-items: flex-start;
  text-align: left; max-width: 440px; margin: 16px auto 0;
  font-size: .85rem; color: var(--ink-soft); cursor: pointer;
}
.consent input { margin-top: 3px; flex-shrink: 0; accent-color: var(--primary); }
.consent a { color: var(--accent); }

/* Quiz footer */
.quiz-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px; padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: .8rem;
}
.back-link {
  background: none; border: none; cursor: pointer;
  font-family: inherit; color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 3px; font-size: .85rem;
}
.back-link:hover { color: var(--accent); }
.trust-mini { color: var(--ink-soft); margin-left: auto; }

/* Quiz done */
.quiz-done { padding: 16px 0 8px; }
.check-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 16px; font-weight: 700;
}
.quiz-done h2 { font-size: 1.7rem; margin-bottom: 8px; }
.quiz-done > p { max-width: 380px; margin: 0 auto 24px; }
.next-steps {
  background: var(--accent-soft); color: var(--accent-dark);
  padding: 16px 20px; border-radius: var(--radius);
  max-width: 400px; margin: 0 auto 20px; text-align: left;
}
.next-steps strong { color: var(--accent-dark); display: block; margin-bottom: 8px; }
.next-steps ol { margin: 0; padding-left: 20px; font-size: .9rem; }
.next-steps li { color: var(--ink); padding: 2px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 1rem;
  padding: 14px 24px; border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.btn-primary { background: var(--primary); color: var(--paper); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; margin-top: 18px; }
.btn-on-dark { background: var(--paper); color: var(--primary); }
.btn-on-dark:hover { background: var(--paper-warm); transform: translateY(-1px); }

/* Trust strip */
.trust-strip {
  background: var(--primary); color: var(--paper);
  padding: 18px 0;
}
.trust-grid {
  display: flex; justify-content: center; gap: 36px; flex-wrap: wrap;
  font-size: .9rem; font-weight: 500;
}
@media (max-width: 720px) { .trust-grid { gap: 18px; } }
.trust-grid .check { color: var(--accent); margin-right: 6px; font-weight: 700; }

/* SEO sections */
.seo-section { padding: 72px 0; }
.seo-alt { background: var(--paper-warm); }
.seo-section h2 { margin-bottom: 16px; }
.seo-section .lead { margin-bottom: 28px; }

/* Hero-bg section (image background with overlay) */
.section-hero-bg {
  position: relative;
  padding: 72px 0;
  background-image: url('img/cabin-hero.jpg');
  background-image: image-set(url('img/cabin-hero.webp') type('image/webp'), url('img/cabin-hero.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--paper);
  isolation: isolate;
}
.section-hero-bg::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,32,26,.62) 0%, rgba(0,32,26,.30) 60%, rgba(0,32,26,.05) 100%);
}
.section-hero-bg h2 { color: var(--paper); text-shadow: 0 2px 14px rgba(0,0,0,.3); }
.section-hero-bg p { color: rgba(255,255,255,.94); text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.section-hero-bg b { color: var(--paper); }
@media (max-width: 720px) {
  .section-hero-bg::before {
    background: linear-gradient(180deg, rgba(0,32,26,.35) 0%, rgba(0,32,26,.75) 100%);
  }
}

/* Type cards */
.type-list { display: grid; gap: 24px; margin-top: 28px; }
.type-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.type-card h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; font-size: 1.15rem; }
.type-card p { margin: 12px 0 0; font-size: .95rem; line-height: 1.6; }
.badge-small {
  background: var(--accent); color: var(--paper);
  font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 8px; border-radius: 100px;
}
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  display: inline-block; padding: 6px 12px; border-radius: 100px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: .82rem; color: var(--ink); text-decoration: none; font-weight: 500;
  transition: all var(--t-fast);
}
a.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill-accent { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); font-weight: 600; }

/* Price table */
.price-table {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin: 20px 0 12px; background: var(--surface);
}
.price-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; padding: 14px 18px; border-top: 1px solid var(--line); font-size: .95rem; }
.price-row:first-child { border-top: none; }
.price-head { background: var(--primary); color: var(--paper); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.price-row .save { color: var(--accent-dark); font-weight: 600; }

/* ROT band */
.rot-band { background: var(--primary-soft); }
.rot-band h2 { color: var(--primary); }

/* How it works */
.how-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .how-grid { grid-template-columns: 1fr; } }
.how-step h3 { margin-top: 12px; font-size: 1.05rem; }
.how-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.05rem;
}

/* FAQ */
.faq-list details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0; margin-bottom: 10px;
  overflow: hidden;
}
.faq-list summary {
  padding: 18px 22px; font-weight: 600; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 1rem; color: var(--ink);
  transition: color var(--t-fast), letter-spacing var(--t-fast);
}
.faq-list summary .q { transition: transform var(--t) ease; transform-origin: left center; display: inline-block; }
.faq-list summary:hover { color: var(--accent); }
.faq-list summary:hover .q { transform: scale(1.04); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .plus {
  color: var(--accent); font-size: 1.4rem; flex-shrink: 0;
  transition: transform 180ms ease;
  display: inline-block;
}
.faq-list details[open] .plus { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 18px; margin: 0; line-height: 1.65; }

/* City pills */
.city-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* Deep-dive (hub → cluster CTAs) */
.deep-dive { text-align: center; }
.deep-dive h2 { margin-bottom: 28px; }
.deep-dive-grid { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.deep-dive-grid .btn { min-width: 220px; }
@media (max-width: 640px) {
  .deep-dive-grid { flex-direction: column; align-items: stretch; }
  .deep-dive-grid .btn { width: 100%; min-width: 0; }
}

/* CTA band */
.cta-band {
  position: relative;
  background-image: url('img/cta-interior.jpg');
  background-image: image-set(url('img/cta-interior.webp') type('image/webp'), url('img/cta-interior.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--paper);
  padding: 96px 0;
  text-align: center;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, rgba(0,32,26,.72) 0%, rgba(0,32,26,.45) 60%, rgba(0,32,26,.15) 100%);
}
.cta-band h2 { color: var(--paper); margin-bottom: 8px; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.cta-band p { color: var(--paper); opacity: .95; margin-bottom: 24px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
@media (max-width: 720px) {
  .cta-band { padding: 64px 0; }
  .cta-band::before {
    background: linear-gradient(180deg, rgba(0,32,26,.5) 0%, rgba(0,32,26,.8) 100%);
  }
}

/* Footer */
.site-footer { background: var(--ink); color: #b9c5be; padding: 56px 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid #1c2e28;
}
.footer-grid > div { text-align: left; }
.footer-grid > .footer-brand { grid-column: 1 / 3; }
.footer-brand p { color: #8e9b94; font-size: .9rem; margin-top: 12px; max-width: 320px; }
.site-footer h5 { color: var(--paper); margin-bottom: 12px; font-size: .9rem; font-weight: 600; }
.site-footer a { display: block; color: #8e9b94; text-decoration: none; padding: 4px 0; font-size: .9rem; transition: color var(--t-fast); }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 20px;
  font-size: .82rem; color: #6b7872; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { display: inline; color: #8e9b94; }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* ============ Article subpage ============ */
.breadcrumbs { padding: 18px 0; font-size: .85rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); background: var(--paper); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; transition: color var(--t-fast); }
.breadcrumbs a:hover { color: var(--accent); }
.bc-sep { margin: 0 8px; color: var(--ink-faint); }
.bc-current { color: var(--ink); font-weight: 500; }

.article-page { background: var(--paper); }

.article-hero { padding: 56px 0 40px; background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%); text-align: center; }
.article-hero h1 { margin-bottom: 16px; }
.article-hero .lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 620px; margin: 0 auto 24px; }
.article-hero .btn { margin-top: 8px; }

.answer-box {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 20px 24px; margin: 28px auto;
  text-align: left; max-width: 680px; font-size: .98rem; line-height: 1.65;
  box-shadow: var(--shadow-sm);
}
.answer-box strong { color: var(--accent-dark); }

/* Inline TOC bar (sticky jump-nav under hero) */
.toc-bar {
  position: sticky; top: 64px; z-index: 40;
  background: rgba(250,247,242,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.toc-bar-inner {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.toc-bar-inner::-webkit-scrollbar { display: none; }
.toc-label {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-soft); font-weight: 700; flex-shrink: 0;
}
.toc-bar ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 6px; flex-wrap: nowrap;
}
.toc-bar li { flex-shrink: 0; }
.toc-bar a {
  display: inline-block; padding: 6px 12px;
  font-size: .88rem; color: var(--ink-soft); text-decoration: none;
  border-radius: 100px;
  transition: background var(--t-fast), color var(--t-fast);
}
.toc-bar a:hover { background: var(--primary-soft); color: var(--primary); }
@media (max-width: 600px) {
  .toc-bar { top: 0; }
  .toc-label { display: none; }
}

.fact-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
.fact-list h3 { margin-top: 0; color: var(--primary); }
.fact-list ul { margin: 0; padding-left: 20px; }
.fact-list li { padding: 4px 0; color: var(--ink); }

.def-list { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 20px 0; }
.def-list dt { font-weight: 700; color: var(--primary); margin-top: 8px; font-size: 1.05rem; }
.def-list dd { margin: 4px 0 0; color: var(--ink-soft); }

.step-list { padding-left: 20px; margin: 16px 0; }
.step-list li { padding: 8px 0; line-height: 1.6; }

.cta-inline {
  background: var(--primary-soft); border-radius: var(--radius);
  padding: 28px; margin-top: 32px; text-align: center;
}
.cta-inline h3 { color: var(--primary); margin-bottom: 8px; }
.cta-inline p { margin-bottom: 16px; }

.type-card h4 { margin-top: 14px; margin-bottom: 6px; font-size: .95rem; color: var(--primary); }
.type-card ul { margin: 0; padding-left: 20px; }
.type-card li { padding: 3px 0; font-size: .95rem; }

/* Sitemap page */
.sitemap-grid { display: grid; gap: 32px; margin-top: 24px; }
.sitemap-grid h2 { margin-bottom: 12px; font-size: 1.2rem; color: var(--primary); }
.sitemap-list { list-style: none; padding: 0; margin: 0; }
.sitemap-list li { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .95rem; }
.sitemap-list li:last-child { border-bottom: none; }
.sitemap-list a { color: var(--ink); text-decoration: none; font-weight: 600; transition: color var(--t-fast); }
.sitemap-list a:hover { color: var(--accent); }

/* ============ Cookie consent ============ */
.cookie-banner {
  position: fixed; left: 16px; bottom: 16px; right: auto; z-index: 9999;
  width: 340px; max-width: calc(100vw - 32px);
  background: #0f1a15; color: #e8e4de; border: 1px solid #1c2e28; border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  padding: 18px 20px;
  transform: translateY(16px); opacity: 0; transition: transform .25s ease, opacity .25s ease;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner-inner { display: flex; flex-direction: column; gap: 14px; }
.cookie-banner-text strong { display: block; font-size: 1rem; margin-bottom: 4px; color: #fff; }
.cookie-banner-text p { margin: 0; font-size: .88rem; color: #bcc7c1; line-height: 1.5; }
.cookie-banner-text a { color: var(--accent); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 9px 14px; font-size: .85rem; white-space: nowrap; flex: 1 1 auto; }
.cookie-banner .btn-ghost {
  background: transparent; color: #e8e4de; border: 1px solid #2d4339;
}
.cookie-banner .btn-ghost:hover { background: #1c2e28; }
.cookie-banner .btn-secondary {
  background: #1c2e28; color: #e8e4de; border: 1px solid #2d4339;
}
.cookie-banner .btn-secondary:hover { background: #253a33; }
@media (max-width: 640px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; padding: 16px; }
}

.cookie-fab {
  position: fixed; left: 16px; bottom: 16px; z-index: 9998;
  width: 44px; height: 44px; border-radius: 50%;
  background: #0f1a15; color: #e8e4de; border: 1px solid #2d4339;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  opacity: 0; transform: translateY(8px);
  transition: transform .2s ease, opacity .2s ease, background .15s ease;
  padding: 0;
}
.cookie-fab.is-visible { opacity: 1; transform: translateY(0); }
.cookie-fab:hover { background: #1c2e28; transform: translateY(-2px); }
.cookie-fab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 640px) {
  .cookie-fab { left: 12px; bottom: 12px; }
}

.cookie-modal-backdrop {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(15, 26, 21, .55);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; transition: opacity .2s ease;
}
.cookie-modal-backdrop.is-visible { opacity: 1; }
.cookie-modal {
  background: var(--paper, #faf6f0); color: var(--ink, #1a1a1a);
  border-radius: 14px; max-width: 560px; width: 100%;
  max-height: calc(100vh - 32px); overflow: auto;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  transform: scale(.96); transition: transform .2s ease;
}
.cookie-modal-backdrop.is-visible .cookie-modal { transform: scale(1); }
.cookie-modal h2 { margin: 0 0 12px; font-size: 1.4rem; }
.cookie-modal-lead { margin: 0 0 20px; color: var(--ink-soft, #5a544c); font-size: .95rem; }
.cookie-modal-lead a { color: var(--accent); }
.cookie-toggles { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.cookie-toggle {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px; border: 1px solid var(--line, #e8e4de); border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.cookie-toggle:hover { border-color: var(--accent); }
.cookie-toggle.is-locked { cursor: default; background: #f5f1ea; opacity: .75; }
.cookie-toggle.is-locked:hover { border-color: var(--line, #e8e4de); }
.cookie-toggle input[type=checkbox] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.cookie-toggle-body { display: flex; flex-direction: column; gap: 4px; }
.cookie-toggle-body strong { font-size: .98rem; }
.cookie-toggle-body span { font-size: .85rem; color: var(--ink-soft, #5a544c); line-height: 1.45; }
.cookie-modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-modal-actions .btn { padding: 10px 18px; font-size: .92rem; }
@media (max-width: 480px) {
  .cookie-modal { padding: 20px; }
  .cookie-modal-actions { flex-direction: column-reverse; }
  .cookie-modal-actions .btn { width: 100%; }
}
