:root {
  --ink: #172b29;
  --paper: #fbfaf5;
  --surface: #fff;
  --tint: #edf2e8;
  --line: #bac8bd;
  --accent: #d4ee94;
  --link: #175d53;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --ink: #eef4ed;
  --paper: #11221f;
  --surface: #1b332d;
  --tint: #203b32;
  --line: #789486;
  --link: #d4ee94;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: system-ui, sans-serif; line-height: 1.8; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.4; }
h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
a { color: var(--link); text-underline-offset: .22em; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 5px; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.section, .hero { padding-block: clamp(48px, 7vw, 88px); }
.site-header { padding-block: 20px; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand { color: var(--ink); font-size: 1.2rem; font-weight: 800; text-decoration: none; margin-right: auto; }
.brand span { color: #607d20; }
nav { display: flex; flex-wrap: wrap; gap: 18px; width: 100%; }
nav a { color: var(--ink); padding-block: 6px; }
.eyebrow { font-size: .8rem; letter-spacing: .15em; font-weight: 700; }
.hero { background: var(--tint); }
.hero-grid, .about-grid, .cards { display: grid; grid-template-columns: 1fr; gap: 24px; }
.hero-grid, .about-grid { align-items: center; gap: 40px; }
.hero img { border-radius: 24px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 20px; border: 1px solid transparent; border-radius: 8px; background: var(--accent); color: #172b29; font-weight: 700; text-decoration: none; }
.button-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.button:disabled { opacity: .55; cursor: not-allowed; }
.card { background: var(--surface); border: 1px solid var(--line); padding: 28px; border-radius: 16px; display: flex; flex-direction: column; }
.card a { margin-top: auto; }
.badge { font-size: .75rem; letter-spacing: .12em; margin-bottom: 20px; }
.section-tint { background: var(--tint); }
form { max-width: 640px; margin-top: 28px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
label { font-weight: 700; }
input, select { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); }
#form-result { margin-top: 20px; overflow-wrap: anywhere; }
.site-footer { padding-block: 28px; border-top: 1px solid var(--line); }
.site-footer .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 12px; background: var(--surface); z-index: 10; }
.skip-link:focus { top: 12px; }
@media (min-width: 48rem) {
  nav { width: auto; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid, .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .button { transition: transform .15s ease; }
  .button:hover:not(:disabled) { transform: translateY(-2px); }
}
