:root {
  --bg: #f7f1e8;
  --surface: #fffaf2;
  --tint: #efe6d8;
  --text: #2b2118;
  --muted: #6b5b4b;
  --accent: #c2562f;
  --accent-hover: #a14321;
  --gold: #e0a03a;
  --border: rgba(43, 33, 24, 0.14);
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--text);
  font-weight: 700;
}
h1 { font-size: 48px; letter-spacing: -0.02em; }
h2 { font-size: 28px; letter-spacing: -0.01em; }
h3 { font-size: 22px; }
p { margin: 0 0 16px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--text);
  color: var(--surface);
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 100;
}
.skip-link:focus { left: 16px; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.royal-stripe {
  height: 4px;
  background: var(--gold);
  border-bottom: 2px solid var(--accent);
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
}
.brand:hover { text-decoration: none; }
.brand-mark { flex: none; display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.hero-band {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(194, 86, 47, 0.1);
  border: 1px solid rgba(194, 86, 47, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 70ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 16px;
}
.hero-meta {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline[data-gf-liked], .btn-outline[aria-pressed="true"] {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}



.fact-sheet {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.fact-head {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.fact-list { margin: 0; }
.fact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.fact-row dt { color: var(--muted); font-weight: 600; }
.fact-row dd { margin: 0; text-align: right; color: var(--text); font-weight: 600; }
.fact-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
}

.band { padding: 48px 0; }
.band-tint {
  background: var(--tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head { margin-bottom: 24px; }
.section-head p { color: var(--muted); max-width: 70ch; }

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.compare-table th, .compare-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare-table th {
  font-weight: 600;
  color: var(--muted);
  background: rgba(43, 33, 24, 0.03);
}
.compare-table tr:last-child td { border-bottom: none; }

.numbered-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.numbered-item {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.num-badge {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.numbered-item p { margin: 0; color: var(--muted); font-size: 16px; }

.prose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.prose { max-width: 70ch; }
.prose h2 { margin-top: 32px; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose code {
  font-size: 14px;
  background: var(--tint);
  padding: 2px 6px;
  border-radius: 4px;
}

.guide-rail {
  position: sticky;
  top: 84px;
}
.guide-rail h2 { font-size: 22px; margin-bottom: 16px; }
.guide-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.guide-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.guide-card strong { font-size: 16px; color: var(--text); }
.guide-card span:last-child { font-size: 14px; color: var(--muted); }
.guide-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 70ch;
}

.community-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.engage-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.engage-bar .muted { color: var(--muted); margin: 0; }
.engage-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.share-msg, .comment-msg { font-size: 14px; color: var(--accent); font-weight: 600; }
.comment-form { margin-bottom: 24px; }
.form-row { margin-bottom: 12px; }
.comment-form input, .comment-form textarea {
  width: 100%;
  max-width: 680px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
}
.form-actions { display: flex; align-items: center; gap: 16px; }
.comments-empty { display: none; color: var(--muted); font-size: 14px; margin: 0; }
.comments-list[data-gf-empty] .comments-empty { display: block; }
.comment-item {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.comment-item[data-gf-owner] {
  background: rgba(224, 160, 58, 0.1);
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(224, 160, 58, 0.35);
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 8px;
}
.comment-head time { color: var(--muted); font-size: 12px; }
.owner-pill {
  display: none;
  font-size: 12px;
  font-weight: 600;
  background: var(--gold);
  color: var(--text);
  padding: 2px 8px;
  border-radius: var(--radius);
}
.comment-item[data-gf-owner] .owner-pill { display: inline-block; }
.comment-text { margin: 0 0 8px; max-width: 70ch; }
.reply-btn {
  background: none;
  border: none;
  padding: 4px 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.comment-replies { margin-left: 24px; }

.subpage { padding: 32px 0 64px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.page-head { margin-bottom: 32px; }
.answer-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
  max-width: 780px;
}
.answer-box strong { display: block; margin-bottom: 8px; color: var(--accent); font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.answer-box p { margin: 0; }
.sub-faq { margin-top: 48px; }
.legal-prose { max-width: 70ch; }
.not-found { padding: 32px 0; max-width: 640px; }

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-note { color: var(--muted); font-size: 14px; max-width: 70ch; margin: 8px 0 0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 14px;
  font-weight: 600;
}
.footer-copy { color: var(--muted); font-size: 12px; margin: 8px 0 0; }

@media (max-width: 860px) {
  .hero-grid, .prose-layout, .numbered-list {
    grid-template-columns: 1fr;
  }
  .guide-rail { position: static; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
  .hero-band, .band { padding: 32px 0; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .header-inner { flex-wrap: wrap; padding: 12px 0; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  .site-nav.is-open { display: flex; }
  .hero-actions .btn, .engage-actions .btn, .form-actions .btn { width: 100%; }
  .community-box { padding: 24px 16px; }
}