:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #3d3022;
  background: #f5eed8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #3d3022;
  --muted: #554532;
  --accent: #6d451e;
  --line: #b8a17b;
  --paper: #f5eed8;
  --paper-light: #fbf7e9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--paper); }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #8a4c1a; outline-offset: 4px; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px max(5vw, 24px); }
.site-header { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 16px; font-weight: 700; }
.brand img { object-fit: contain; border-radius: 12px; }
.brand b { color: var(--accent); }
nav, .footer-links { display: flex; align-items: center; gap: 28px; }
nav a, .footer-links a { color: var(--muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; font-size: 14px; }
nav a:hover, .footer-links a:hover { color: var(--ink); text-decoration-color: currentColor; }
.header-cta { padding: 10px 18px; border: 1px solid var(--accent); border-radius: 8px; color: var(--accent); text-decoration: none; font-size: 14px; font-weight: 700; }
.header-cta:hover { color: var(--paper-light); background: var(--accent); }
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr); align-items: center; gap: 40px; min-height: 530px; padding: 72px max(10vw, 24px); background: var(--paper-light); border-bottom: 1px solid var(--line); }
.hero-copy { max-width: 700px; }
h1, h2, h3 { color: var(--ink); }
h1, h2 { font-family: "Alegreya SC", Georgia, serif; font-weight: 700; }
h1 { max-width: 670px; margin: 0 0 22px; font-size: clamp(46px, 6vw, 76px); line-height: 1; letter-spacing: -.02em; }
.hero-lead { max-width: 630px; margin: 0 0 28px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid var(--accent); border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 700; transition: background-color .15s ease, color .15s ease; }
.button-primary { color: var(--paper-light); background: var(--accent); }
.button-primary:hover { background: #513314; }
.button-secondary { color: var(--accent); background: transparent; }
.button-secondary:hover { color: var(--paper-light); background: var(--accent); }
.hero-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.hero-emblem { display: grid; min-height: 280px; margin: 0; place-items: center; }
.hero-emblem img { display: block; width: min(100%, 320px); height: auto; object-fit: contain; }
.section { padding: 76px max(10vw, 24px); }
h2 { max-width: 760px; margin: 0 0 34px; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.02em; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 52px; }
.feature-row { padding: 23px 0; border-top: 1px solid var(--line); }
.feature-row h3 { margin: 0 0 9px; font-family: "Alegreya SC", Georgia, serif; font-size: 24px; }
.feature-row p, .start-section p, .faq details p { max-width: 68ch; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.start-section { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: #e9dfc4; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.start-section h2 { margin-bottom: 12px; }
.start-section p { max-width: 680px; }
.faq { max-width: 1080px; margin: 0 auto; }
.faq details { padding: 18px 0; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 16px; font-weight: 700; }
.faq details p { padding: 12px 24px 0 0; }
.site-footer { flex-wrap: wrap; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--ink); font-size: 14px; }
.site-footer p { margin: 0; }

@media (max-width: 850px) {
  .site-header { flex-wrap: wrap; }
  nav { order: 3; width: 100%; justify-content: center; gap: 20px; }
  .hero { grid-template-columns: 1fr; gap: 15px; padding-top: 62px; padding-bottom: 35px; }
  .hero-emblem { min-height: 220px; }
  .hero-emblem img { width: min(55vw, 240px); }
}
@media (max-width: 520px) {
  .site-header, .site-footer { padding: 18px 20px; }
  .brand { font-size: 13px; }
  .brand img { width: 40px; height: 40px; }
  nav { justify-content: space-between; gap: 12px; }
  nav a { font-size: 12px; }
  .hero { min-height: auto; padding: 52px 22px 30px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-emblem { min-height: 180px; }
  .hero-emblem img { width: min(55vw, 190px); }
  .section { padding: 58px 22px; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-row { padding: 20px 0; }
  .start-section { align-items: flex-start; flex-direction: column; }
  .footer-links { width: 100%; flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
