:root {
  color-scheme: light;
  --paper: #f7f7f4;
  --ink: #13221f;
  --muted: #52685f;
  --line: #dce3de;
  --accent: #17624b;
  --header: #12372d;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 system-ui, sans-serif; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #be6417;
  outline-offset: 3px;
}
.skip { position: absolute; top: -80px; left: 10px; background: white; padding: 12px; z-index: 2; }
.skip:focus { top: 10px; }
.preview { background: #e8eee8; text-align: center; padding: 7px 16px; font-size: .875rem; color: #24473e; }
header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px max(5%, calc((100% - 1200px) / 2)); background: #fff; }
.brand { font-weight: 850; letter-spacing: -.055em; font-size: 1.4rem; color: var(--header); text-decoration: none; white-space: nowrap; }
.brand span { color: #4b725f; font-weight: 650; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
nav a { font-weight: 650; text-decoration: none; }
.outline { border: 1px solid var(--line); padding: 6px 12px; border-radius: 8px; }
main { min-height: 65vh; }
.hero { background: linear-gradient(90deg, #102a23 5%, #102a23dc 35%, #102a2355 100%), url("https://www.thefavis.com/hero-fast.webp") center 60% / cover, var(--header); color: #fff; }
.hero > div { width: min(90%, 1200px); margin: auto; padding: 62px 0 95px; }
.hero p:last-child { max-width: 400px; font-size: 1.125rem; }
.eyebrow { font-size: .875rem; font-weight: 750; color: var(--accent); letter-spacing: .045em; }
.hero .eyebrow { color: #dcf0dd; }
h1,h2,h3 { line-height: 1.14; letter-spacing: -.035em; margin: 0 0 12px; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 10px; }
.search { width: min(90%, 1200px); margin: -45px auto 0; position: relative; padding: 18px; display: grid; align-items: end; gap: 12px; grid-template-columns: repeat(4, minmax(0,1fr)) auto; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 10px 25px #16392a13; }
.search p { grid-column: 1 / -1; margin: 0; font-size: .875rem; color: var(--muted); }
.section { width: min(90%, 1200px); margin: 36px auto; }
.panel { width: min(90%, 580px); margin: 30px auto; padding: clamp(16px, 4vw, 30px); border-radius: 16px; border: 1px solid var(--line); background: white; }
details.panel { width: 100%; }
summary { cursor: pointer; font-weight: 700; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 16px; }
article { border-radius: 14px; padding: 22px; border: 1px solid var(--line); background: white; min-width: 0; }
article .price { font-size: 1.4rem; font-weight: 750; }
.price span { font-size: .95rem; font-weight: 600; color: var(--muted); }
label { display: grid; gap: 4px; font-weight: 650; font-size: .95rem; min-width: 0; }
input, select, button, .button { font: inherit; }
input, select { background: #fff; color: var(--ink); border: 1px solid #a5b8af; border-radius: 8px; padding: 8px; width: 100%; min-width: 0; min-height: 44px; }
input[type=checkbox] { width: 18px; min-height: 18px; margin: 0; }
label.check { display: flex; align-items: center; gap: 8px; }
button, .button { border: 0; border-radius: 8px; padding: 10px 16px; color: white; background: var(--accent); font-weight: 700; cursor: pointer; display: inline-block; min-height: 44px; text-decoration: none; }
button:hover, .button:hover { background: var(--header); }
.panel form, article form { display: grid; gap: 12px; margin: 14px 0; }
.panel form button, article form button { justify-self: start; }
footer { width: min(90%, 1200px); margin: 55px auto 0; padding: 20px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); }
@media (max-width: 1050px) { .search { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 540px) { header { align-items: flex-start; flex-direction: column; gap: 8px; } .search { grid-template-columns: 1fr; } .hero > div { padding-top: 38px; } }
