:root {
  --bg: #f8f6f1;
  --text: #1e1e1e;
  --muted: #5f5a52;
  --accent: #9b7a3a;
  --accent-dark: #725722;
  --card: #ffffff;
  --border: #e5ded2;
  --soft: #f0ebe2;
  --max: 1120px;
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--border);
  background: rgba(248, 246, 241, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 46%, var(--accent) 46%, var(--accent) 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, var(--accent) 46%, var(--accent) 54%, transparent 54%);
}

.main-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
}

.main-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover,
.main-nav a[aria-current="page"],
.site-footer a[aria-current="page"] {
  color: var(--text);
}

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

.narrow {
  width: min(100% - 36px, 760px);
}

.hero {
  padding: clamp(56px, 9vw, 96px) 0;
  border-bottom: 1px solid var(--border);
}

.hero-home {
  min-height: 72vh;
  display: flex;
  align-items: center;
}

.hero-grid,
.content-layout,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
}

h1 {
  max-width: 920px;
  font-size: clamp(2.05rem, 5vw, 4.4rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

h3 {
  font-size: 1.08rem;
}

p {
  color: var(--muted);
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--border);
  background: var(--card);
  color: var(--text);
}

.microcopy {
  max-width: 560px;
  margin-top: 12px;
  font-size: 0.92rem;
}

.summary-box,
.signal-panel,
.sticky-note,
.card,
.affiliate-notice,
.final-cta {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.summary-box,
.sticky-note,
.final-cta,
.affiliate-notice {
  padding: 24px;
}

.summary-box h2,
.sticky-note h2 {
  font-size: 1.2rem;
}

.signal-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.signal-panel p,
.signal-panel strong {
  display: block;
  margin: 4px 0 0;
}

.signal-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.section {
  padding: clamp(48px, 8vw, 80px) 0;
}

.article-flow {
  display: grid;
  gap: 42px;
}

.content-block p:last-child,
.card p:last-child,
.summary-box p:last-child,
.sticky-note p:last-child,
.affiliate-notice p:last-child,
.final-cta p:last-child {
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.card {
  padding: 20px;
}

.detail-list,
.check-list {
  padding-left: 1.1rem;
  color: var(--muted);
}

.detail-list li,
.check-list li {
  margin: 10px 0;
}

.detail-list strong {
  color: var(--text);
}

.attention {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--soft);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 760;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
}

.affiliate-notice {
  border-left: 4px solid var(--accent);
}

.final-cta {
  background: #29251f;
  color: #ffffff;
}

.final-cta p {
  color: #ebe5da;
}

.sticky-note {
  position: sticky;
  top: 96px;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 760;
}

.legal-page {
  padding: clamp(48px, 8vw, 80px) 0;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  align-items: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid,
  .content-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-home {
    min-height: auto;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .sticky-note {
    position: static;
  }
}

@media (max-width: 520px) {
  .container,
  .narrow {
    width: min(100% - 28px, var(--max));
  }

  .button {
    width: 100%;
  }
}
