:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --surface-soft: #eef4f1;
  --surface-warm: #f3e6d6;
  --text: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --accent: #0f172a;
  --accent-2: #0f766e;
  --radius: 24px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

.skip-link { position: absolute; left: 20px; top: -48px; z-index: 100; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.skip-link:focus { top: 16px; }
.container { width: min(1120px, 100%); margin: 0 auto; padding: 0 20px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 241, 0.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; flex-wrap: wrap; }
.nav-shell { position: relative; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 176px; }
.brand > div, .brand > span { display: none; }
.brand-title { margin: 0; font-size: 18px; font-weight: 600; }
.brand-subtitle { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.site-nav a { font-size: 14px; color: var(--muted); }
.site-nav a.active { color: var(--text); font-weight: 600; }
.menu-toggle { display: none; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: inherit; color: var(--text); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 500; transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: #fff; }
.button-secondary { background: #fff; border-color: #94a3b8; color: var(--accent); font-weight: 600; }
.button-soft { background: #fff; border-color: #cbd5e1; color: var(--accent); font-weight: 600; }
.button-small { min-height: 44px; padding: 0 18px; font-size: 13px; }

.site-main section { padding: 72px 0; }
.hero { padding-top: 80px; }
.hero-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); align-items: center; }
.hero-card, .logo-panel, .hero-panel { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-card { background: linear-gradient(135deg, rgba(239, 244, 241, 1), rgba(243, 230, 214, 0.7)); }
.logo-panel, .hero-panel { background: rgba(255,255,255,0.88); }
.logo-panel img { width: min(100%, 420px); }

.eyebrow { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #78716c; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.08; }
h3 { font-size: 19px; line-height: 1.2; }
.lead, .section-copy, .card p, .rich-text p, .table-note, .faq-answer, .article-meta, .footer-copy, .footer-meta { color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tinted { background: var(--surface-soft); }
.warm { background: var(--surface-warm); }

.site-footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1.2fr 0.8fr; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.footer-links a { font-size: 12px; color: #78716c; }

@media (max-width: 900px) {
  .site-header .container, .hero-grid, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-main section { padding: 56px 0; }
  .hero { padding-top: 56px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 8px; }
  .site-nav.is-open { display: flex; }
  .cta-row, .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .lead, .section-copy { font-size: 15px; }
  .brand img { width: 154px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
