/* Small additions for the static rebuild (everything else is the original compiled stylesheet). */
html { scroll-behavior: smooth; }
section[id], [id="landowners"], [id="members"] { scroll-margin-top: 6rem; }
[hidden] { display: none !important; }

/* Native dropdowns styled like the original shadcn select */
.ognc-select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23958e82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .6rem center; background-size: 1rem;
  text-overflow: ellipsis;
}
.ognc-select:invalid, .ognc-select.is-empty { color: var(--muted-foreground); }
.ognc-select option { color: var(--foreground); background: var(--background); }

/* Native checkboxes styled like the original */
.ognc-check { width: 1rem; height: 1rem; flex-shrink: 0; accent-color: var(--primary); cursor: pointer; }

/* Highlight a field the user still needs to fill in */
.ognc-invalid { border-color: var(--destructive) !important; box-shadow: 0 0 0 3px color-mix(in oklab, var(--destructive) 20%, transparent); }

/* Spam honeypot – never visible */
.ognc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Club document modals */
.doc-panel { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: min(42rem, calc(100% - 2rem)); max-height: 90vh; animation: ognc-zoom .2s ease-out; }
.doc-scroll { max-height: 70vh; overflow-y: auto; }
.doc-modal > .fixed.inset-0 { animation: ognc-fade .2s ease-out; }
@keyframes ognc-zoom { from { opacity: 0; transform: translate(-50%, -50%) scale(.95); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes ognc-fade { from { opacity: 0; } to { opacity: 1; } }
body.ognc-lock { overflow: hidden; }

/* Keep the 4-step form inside narrow phone screens */
#landowner-form .grid > * { min-width: 0; }
@media (max-width: 480px) {
  #landowner-form { padding: 1.25rem; }
  #landowner-form [data-line] { width: 1.25rem; margin-left: .35rem; margin-right: .35rem; }
  #landowner-form .grid.grid-cols-2.gap-3 { grid-template-columns: 1fr; }
}

/* Complaints & Concerns section */
#complaints .space-y-8 > :not(:last-child) { margin-bottom: 2rem; }

/* Multi-page layout helpers (not in the original compiled stylesheet) */
.max-w-4xl { max-width: 56rem; }
.pb-24 { padding-bottom: 6rem; }
.mt-20 { margin-top: 5rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:pt-36 { padding-top: 9rem; }
  .md\:pb-32 { padding-bottom: 8rem; }
}
/* Active page in the menu */
nav a.font-medium.text-foreground, #mobile-menu a.font-medium.text-foreground { color: var(--foreground); }
.faq-item summary{list-style:none}.faq-item summary::-webkit-details-marker{display:none}
.faq-item[open] .faq-icon{transform:rotate(45deg)}.faq-icon{transition:transform .2s}
.border-t{border-top-width:1px}.border-b{border-bottom-width:1px}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.mt-8{margin-top:2rem}.mt-10{margin-top:2.5rem}.mt-3{margin-top:.75rem}
/* hero breathing room */
#hero .max-w-2xl{max-width:46rem}
#hero p.uppercase{margin-bottom:2rem}
#hero h1{line-height:1.12;margin-bottom:2rem}
#hero h1+p{max-width:36rem;font-size:1.2rem;line-height:1.8;margin-bottom:3rem}
#hero a[data-slot=button]{height:3rem;padding-left:2rem;padding-right:2rem;font-size:.95rem}
#hero .gap-4{gap:1rem}
@media (min-width:1024px){#hero h1{font-size:5rem}}
@media (max-width:639px){#hero h1+p{font-size:1.05rem;line-height:1.7;margin-bottom:2.5rem}#hero h1{margin-bottom:1.5rem}}
#hero h1{font-size:2.6rem;line-height:1.15}
@media (min-width:768px){#hero h1{font-size:3.6rem}}
@media (min-width:1024px){#hero h1{font-size:4.25rem}}
#hero h1{margin-bottom:2.75rem}
/* centred hero */
#hero .max-w-2xl{max-width:72rem;margin-left:auto;margin-right:auto;text-align:center}
#hero .flex.flex-col{justify-content:center;align-items:center}
#hero .bg-gradient-to-r{background:radial-gradient(ellipse at center,rgba(249,247,243,.88) 0%,rgba(249,247,243,.7) 40%,rgba(249,247,243,.25) 75%,rgba(249,247,243,.1) 100%)}
@media (max-width:639px){#hero h1{font-size:2.2rem}#hero .flex.flex-col a{width:100%}}
.hero-br{display:none}
@media (min-width:900px){.hero-br{display:inline}#hero h1{font-size:3.6rem}}
@media (min-width:1200px){#hero h1{font-size:4.4rem}}
/* tighter vertical rhythm */
main section.py-24{padding-top:4rem;padding-bottom:4rem}
@media (min-width:768px){main section.py-24{padding-top:6rem;padding-bottom:6rem}}
main section.pt-32{padding-top:7rem}
main section.pb-24{padding-bottom:4rem}
@media (min-width:768px){main section.pt-32{padding-top:8.5rem}main section.pb-24{padding-bottom:6rem}}
main .mb-16{margin-bottom:3rem}
/* mobile hero: no tall empty band */
@media (max-width:767px){#hero{min-height:auto}#hero>div.relative{padding-top:9rem;padding-bottom:5rem}}
@media (max-width:639px){#about .p-8,#off-grid .p-8,#get-started .p-8{padding:1.5rem}}
