:root {
  --bg: #f8f1e6;
  --paper: rgba(253, 251, 247, 0.86);
  --line: rgba(33, 25, 21, 0.12);
  --text: #211915;
  --muted: #6a5a50;
  --accent: #7d3e20;
  --forest: #211915;
  --shadow: none;
}

body {
  color: var(--text);
  background: #f8f1e6;
}

.topnav,
.topbar,
.hero,
.panel,
.content-card,
.faq-card,
.category-card,
.info-card,
.route-card,
.signal-card,
.cta-strip {
  border-color: var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: none;
}

.contact-card,
.source-card,
.article-link,
.first-visit-step,
.hero-point,
.map-frame,
.widget-frame {
  border-radius: 8px;
  background: rgba(33, 25, 21, 0.05);
  box-shadow: none;
}

.button:not(.is-ghost):not(.is-line),
.button.is-forest {
  border: 1px solid #211915;
  background: #211915;
  color: #fdfbf7;
  box-shadow: none;
}

.button.is-ghost,
.nav-pill,
.back-link,
.nav-link,
.topnav-link {
  border: 1px solid rgba(33, 25, 21, 0.12);
  background: rgba(253, 251, 247, 0.72);
  color: #211915;
  box-shadow: none;
}

.eyebrow,
.panel-label {
  border-radius: 999px;
  background: rgba(184, 142, 94, 0.14);
  color: #7d3e20;
}

.hero-fee-note,
.hero p,
h1,
h2,
h3,
.button,
.nav-link,
.topnav-link,
.back-link,
.nav-pill {
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .shell,
  .hub-shell {
    width: calc(100vw - 16px);
    max-width: calc(100vw - 16px);
  }

  .topnav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .topnav-brand,
  .brand-block {
    grid-column: 1 / -1;
    margin-right: 0;
    text-align: center;
  }

  .topnav a,
  .back-link,
  .nav-link,
  .topnav-link,
  .nav-pill {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }

  .hero-fee-note {
    max-width: 100%;
  }

  .hero-fee-note strong,
  .button,
  .nav-link,
  .topnav-link,
  .back-link,
  .nav-pill {
    white-space: normal;
  }
}
