:root {
  color: #252525;
  background: #f7f4ef;
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.6;
  --accent: #f48024;
  --ink-muted: #6c6862;
  --surface: #fffdf9;
  --border: #e5ded4;
}
* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; min-width: 320px; background: #f7f4ef; }
h1, h2, h3 { color: #302b26; line-height: 1.2; }
p { margin: 0 0 1rem; }
a { color: #b84f00; }
a:hover { color: #813800; }
.site-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.site-header__inner, .site-footer__inner { width: min(1100px, calc(100% - 2rem)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.site-brand { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; font-weight: 800; }
.site-nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.site-nav a, .link-button { color: inherit; text-decoration: none; font: inherit; }
.site-nav a:hover, .link-button:hover { color: var(--accent); }
.link-button { border: 0; background: none; cursor: pointer; padding: 0; }
.site-main { width: min(1100px, calc(100% - 2rem)); min-height: calc(100vh - 150px); margin: 0 auto; padding: 3rem 0 4rem; }
.site-footer { border-top: 1px solid var(--border); color: var(--ink-muted); font-size: .9rem; }
.site-footer__inner { align-items: flex-start; }
.site-footer nav a { display: inline-flex; align-items: center; gap: .35rem; }
.button { display: inline-block; border: 1px solid var(--accent); border-radius: .55rem; background: var(--accent); color: #fff; padding: .7rem 1.1rem; text-decoration: none; }
.button:hover { color: #fff; background: #d86913; }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #f8b27a; outline-offset: 2px; }
.button:disabled, button:disabled { cursor: not-allowed; opacity: .65; }
.button--small { padding: .4rem .75rem; }
.hero { padding: 3rem 0; text-align: center; }
.hero h1 { margin: 0 auto 1rem; max-width: 800px; font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1.05; }
.hero p { max-width: 760px; margin: 0 auto 1.5rem; color: var(--ink-muted); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: .8rem; padding: 1.5rem; box-shadow: 0 8px 24px rgba(73, 54, 32, .06); }
.card h2, .card h3 { margin-top: 0; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { margin-top: 0; font-size: clamp(2rem, 5vw, 3rem); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.25rem; }
.prose img, .prose video, .prose iframe, .prose figure { display: block; max-width: 100%; height: auto; margin: 1rem auto; }
.prose figcaption { color: var(--ink-muted); font-size: .9rem; text-align: center; }
.form-card { max-width: 560px; margin: 0 auto; }
.stack > * + * { margin-top: 1rem; }
.form-card > .card { padding: clamp(1rem, 4vw, 2rem); }
label { display: block; margin-bottom: .35rem; font-weight: 700; }
input, textarea, select { width: 100%; border: 1px solid #cfc6ba; border-radius: .45rem; background: #fff; color: inherit; padding: .7rem .8rem; font: inherit; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(244, 128, 36, .15); outline: 0; }
input[type="checkbox"] { width: auto; }
button { font: inherit; }
.form-row { margin-bottom: 1rem; }
.form-errors, .alert { border-radius: .45rem; padding: .75rem 1rem; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }
.form-errors, .alert--error { background: #ffe8e3; color: #8c2419; }
.alert--success { background: #e5f5e9; color: #1e6634; }
.form-row .form-error-message { display: block; margin-top: .35rem; color: #8c2419; font-size: .9rem; }
@media (max-width: 700px) {
  .site-header__inner, .site-footer__inner { align-items: flex-start; flex-direction: column; }
  .site-nav { gap: .7rem; }
  .site-main { padding-top: 2rem; }
  .hero { padding: 1.5rem 0 2.5rem; }
  .hero h1 { font-size: clamp(2rem, 12vw, 3.2rem); }
  .card { padding: 1.1rem; }
}
