:root {
  color-scheme: light;
  --background: #f8f5ef;
  --surface: #fffdf9;
  --surface-soft: #f2eadc;
  --text: #29251f;
  --muted: #665f54;
  --line: #e5dac9;
  --accent: #8a5a24;
  --accent-dark: #694016;
  --highlight: #f7ead2;
  --shadow: 0 18px 48px rgb(79 58 31 / 10%);
}

* { box-sizing: border-box; }
html { background: var(--background); scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgb(225 179 111 / 18%), transparent 30rem),
    var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  line-height: 1.75;
}
a { color: var(--accent-dark); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
a:focus-visible, .button:focus-visible { outline: 3px solid #d29b4b; outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 10; padding: 10px 14px; background: var(--text); color: white; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid rgb(229 218 201 / 92%); background: rgb(248 245 239 / 94%); }
.header-inner, main, .site-footer { width: min(980px, calc(100% - 32px)); margin: 0 auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 760; text-decoration: none; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 12px; background: linear-gradient(145deg, #b77a34, #774816); color: white; font-size: 16px; }
.header-actions, .footer-links, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.header-link, .language-link { font-size: 14px; font-weight: 680; text-decoration: none; }
main { padding: 64px 0; }
.eyebrow { margin: 0 0 8px; color: var(--accent-dark); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.35; }
h1 { max-width: 780px; margin: 0; font-size: clamp(34px, 7vw, 58px); letter-spacing: -.035em; }
.lead { max-width: 780px; margin: 18px 0 0; color: var(--muted); font-size: clamp(17px, 2.5vw, 20px); }
.meta-line { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.summary { margin-top: 32px; padding: 22px 24px; border: 1px solid #e8cfa8; border-radius: 18px; background: var(--highlight); }
.summary strong { display: block; margin-bottom: 5px; }
.content { display: grid; gap: 18px; margin-top: 36px; }
section { padding: 28px 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
section h2 { margin: 0 0 14px; font-size: clamp(21px, 3vw, 27px); letter-spacing: -.015em; }
section h3 { margin: 24px 0 8px; font-size: 18px; }
section p, section ul { margin: 12px 0 0; }
section ul { padding-left: 1.4em; }
section li + li { margin-top: 7px; }
.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.tip-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); }
.tip-card h3 { margin: 0 0 7px; }
.tip-card p { margin: 0; color: var(--muted); }
.note, blockquote { margin: 18px 0 0; padding: 14px 16px; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--surface-soft); color: var(--muted); }
blockquote p { margin: 0; }
.actions { margin-top: 20px; gap: 12px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid var(--accent); border-radius: 999px; padding: 10px 18px; background: var(--accent); color: white; font-weight: 750; text-decoration: none; }
.button:hover { background: var(--accent-dark); color: white; }
.button.secondary { background: transparent; color: var(--accent-dark); }
.button.secondary:hover { background: var(--surface-soft); }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 0 0 40px; color: var(--muted); font-size: 13px; }
@media (max-width: 700px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .header-actions { width: 100%; justify-content: space-between; }
  main { padding-top: 44px; }
  .data-grid { grid-template-columns: 1fr; }
  section { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
