/* Public site. Tokens come from estates.css; the dark bands stay dark in both themes. */
.wrap { width: min(1140px, 100% - 40px); margin: 0 auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }
.site-head { position: sticky; top: 0; z-index: 900; background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--band-line); }
.site-head .wrap { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.site-head .brand { padding: 0; } .site-nav { display: flex; gap: 22px; flex: 1; }
.site-nav a { color: var(--band-muted); text-decoration: none; font-weight: 600; font-size: 14.5px; } .site-nav a:hover { color: var(--band-ink); }
.site-head .head-btn { background: transparent; border-color: var(--band-line); color: var(--band-ink); } .site-head .head-btn:hover { background: var(--band-hover); }
.btn.brass { background: #E0B552; border-color: #E0B552; color: #0B2F3B; } .btn.brass:hover { background: #EBC670; border-color: #EBC670; }
.btn.lg { min-height: 50px; padding: 12px 22px; font-size: 16px; }
.btn.onband { background: transparent; border-color: var(--band-line); color: var(--band-ink); } .btn.onband:hover { background: var(--band-hover); }

.hero { background: var(--band); color: var(--band-ink); padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); font-stretch: 114%; font-weight: 800; line-height: 1.02; letter-spacing: -.02em; max-width: 13ch; }
.hero p { font-size: 18px; color: var(--band-muted); max-width: 46ch; margin: 18px 0 26px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; color: var(--band-muted); font-size: 14.5px; }
.hero-points li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: #E0B552; margin-right: 10px; }

/* The animated scene: a plan of an estate filling up with payments, then a car at the gate. */
.scene { position: relative; }
.plan { width: 100%; height: auto; display: block; }
.plan .ground { fill: #0E3A47; stroke: #1C4957; }
.plan .boundary { stroke: #E0B552; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s ease; }
.plan .road { stroke: #EAF1EF; stroke-opacity: .13; stroke-width: 26; stroke-linecap: round; }
.plan .plot { stroke: #7FA5B0; stroke-width: 1.6; fill: #7FA5B0; fill-opacity: 0; opacity: 0; transition: opacity .5s ease, fill .5s ease, fill-opacity .5s ease, stroke .5s ease; }
.plan .houses rect { fill: #EAF1EF; fill-opacity: 0; transition: fill-opacity .6s ease .9s; }
.scene.drawn .boundary { stroke-dashoffset: 0; } .scene.drawn .plot { opacity: 1; } .scene.drawn .houses rect { fill-opacity: .2; }
.plan .plot.paid { fill: #22A05B; stroke: #4CCB86; fill-opacity: .62; } .plan .plot.owing { fill: #E04A38; stroke: #FF7A68; fill-opacity: .66; }
.plan .post { stroke: #E0B552; stroke-width: 6; stroke-linecap: round; }
.plan .arm { stroke: #F5F1E8; stroke-width: 5; stroke-linecap: round; transform-origin: 236px 347px; transition: transform .6s cubic-bezier(.3,.8,.3,1); }
.scene.open .arm { transform: rotate(-78deg); }
.plan .car { transform: translateY(410px); transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity .5s ease; }
.plan .car rect { fill: #F5F1E8; } .plan .car .glass { fill: #0B2F3B; fill-opacity: .7; }
.scene.car-gate .car { transform: translateY(356px); } .scene.car-in .car { transform: translateY(214px); opacity: 0; }
.scene.car-reset .car { transition: none; transform: translateY(410px); opacity: 1; }
.chip-total { position: absolute; left: 5%; top: -14px; background: #F5F1E8; color: #0E2A32; border-radius: 10px; padding: 8px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.chip-total span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #566469; }
.chip-total b { font-size: 22px; font-stretch: 92%; font-variant-numeric: tabular-nums; }
.vcard { position: absolute; right: -6px; bottom: -22px; width: 196px; border-radius: 16px; padding: 14px 14px 12px; text-align: center; color: #fff; background: #5F6B70;
  box-shadow: 0 16px 40px rgba(0,0,0,.45); border: 3px solid #061318; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .35s ease, transform .35s ease, background .3s ease; overflow: hidden; }
.vcard.show { opacity: 1; transform: none; } .vcard.paid { background: #157A45; } .vcard.owing { background: #BF3A2B; }
.vplate { display: inline-block; background: #fff; color: #0E2A32; border: 2px solid #0E2A32; border-radius: 5px; padding: 2px 9px; font-weight: 800; font-stretch: 80%; letter-spacing: .06em; font-size: 15px; }
.vword { font-size: 30px; font-weight: 800; font-stretch: 78%; line-height: 1; margin-top: 8px; letter-spacing: .01em; }
.vhouse { font-size: 12.5px; font-weight: 600; margin-top: 6px; } .vnote { font-size: 11.5px; opacity: .9; margin-top: 2px; }
.vscan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #E0B552; opacity: 0; }
.vcard.scanning .vscan { opacity: 1; animation: scan 1s ease-in-out infinite alternate; } .vcard.scanning .vword { opacity: .55; }
@keyframes scan { from { top: 6px; } to { top: calc(100% - 9px); } }

.band-light { background: var(--surface); padding: 72px 0; } .band-paper { background: var(--paper); padding: 72px 0; }
.band-dark { background: var(--band); color: var(--band-ink); padding: 72px 0; }
.sec-title { font-size: clamp(26px, 3.2vw, 38px); font-stretch: 110%; font-weight: 800; letter-spacing: -.015em; text-align: center; max-width: 24ch; margin: 0 auto 14px; }
.sec-title.left { text-align: left; margin-left: 0; } .sec-title.onband, .lead.onband, .onband { color: var(--band-ink); } .onband a { color: #E0B552; }
.sec-sub { text-align: center; color: var(--muted); max-width: 62ch; margin: 0 auto 34px; font-size: 17px; }
.lead { font-size: 17px; color: var(--muted); max-width: 54ch; } .lead.onband { color: var(--band-muted); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; } .two.flip > :first-child { order: 0; }
.jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.job { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.job-no { width: 36px; height: 36px; border-radius: 8px; background: var(--brass-soft); color: var(--brass-text); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.job h3 { font-size: 20px; margin-bottom: 8px; } .job p { color: var(--muted); } .job ul, .ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: 14.5px; }
.job li, .ticks li { padding-left: 24px; position: relative; }
.job li::before, .ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 6px; border-left: 2.5px solid var(--paid); border-bottom: 2.5px solid var(--paid); transform: rotate(-45deg); }
.rules { display: grid; gap: 10px; margin-top: 22px; } .rule { display: flex; gap: 14px; align-items: baseline; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.rule b { min-width: 62px; font-stretch: 108%; color: var(--brass-text); } .rule span { color: var(--muted); font-size: 14.5px; }
.phones { display: flex; gap: 18px; justify-content: center; }
.phone { width: min(232px, 46%); border-radius: 26px; border: 6px solid #061318; padding: 18px 14px 16px; color: #fff; text-align: center; box-shadow: var(--shadow); }
.phone.paid { background: #157A45; } .phone.owing { background: #BF3A2B; margin-top: 34px; }
.p-top { font-size: 10.5px; opacity: .85; margin-bottom: 22px; } .p-word { font-size: 40px; font-weight: 800; font-stretch: 78%; line-height: .95; }
.p-plate { display: inline-block; background: #fff; color: #0E2A32; border: 2px solid #0E2A32; border-radius: 6px; padding: 3px 10px; font-weight: 800; font-stretch: 80%; letter-spacing: .06em; margin: 14px 0 10px; }
.p-house { font-size: 12.5px; font-weight: 700; } .p-name { font-size: 12px; opacity: .9; }
.p-btn { margin-top: 22px; background: rgba(255,255,255,.94); color: #0E2A32; border-radius: 9px; padding: 9px; font-weight: 700; font-size: 13px; }
.res-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; max-width: 420px; justify-self: center; width: 100%; }
.res-state { background: var(--signal-paid); color: #fff; border-radius: 12px; padding: 18px; font-size: 30px; font-weight: 800; font-stretch: 84%; text-transform: uppercase; }
.res-where { font-weight: 600; margin: 12px 0 8px; } .res-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.res-row b { color: var(--paid); } .res-code { margin-top: 14px; background: var(--brass-soft); border-radius: 10px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; }
.res-code b { font-size: 22px; font-stretch: 82%; letter-spacing: .08em; color: var(--brass-text); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; display: flex; flex-direction: column; }
.plan-card.best { border: 2px solid var(--brass); box-shadow: var(--shadow); } .plan-card h3 { font-size: 21px; margin-bottom: 4px; }
.price { font-size: 34px; font-weight: 800; font-stretch: 92%; font-variant-numeric: tabular-nums; margin-top: 14px; } .price-note { color: var(--muted); font-size: 13.5px; }
.plan-card .ticks { margin: 18px 0 24px; flex: 1; align-content: start; }
.faq { border-bottom: 1px solid var(--line); padding: 4px 0; } .faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--brass-text); font-size: 22px; line-height: 1; } .faq[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; } .faq p { color: var(--muted); margin: 0 0 16px; max-width: 66ch; }
.enquiry { color: var(--ink); } .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.site-foot { background: var(--band); color: var(--band-muted); padding: 40px 0 28px; border-top: 1px solid var(--band-line); font-size: 14px; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; } .site-foot .brand { padding: 0; margin-bottom: 10px; }
.site-foot p { max-width: 52ch; margin: 0; } .site-foot nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: start; } .site-foot a { color: var(--band-ink); text-decoration: none; }
.site-foot .small { margin-top: 26px; opacity: .8; }
.doc { background: var(--surface); padding: 56px 0 72px; } .doc h1 { font-size: 34px; font-stretch: 110%; margin-bottom: 8px; } .doc h2 { margin: 28px 0 8px; } .doc p, .doc li { color: var(--muted); max-width: 70ch; }

@media (max-width: 900px) {
  .hero { padding: 36px 0 60px; } .hero-grid, .two, .jobs, .plans { grid-template-columns: 1fr; gap: 28px; } .site-nav { display: none; } .site-head .wrap { justify-content: space-between; }
  .band-light, .band-paper, .band-dark { padding: 52px 0; } .vcard { right: 4px; width: 172px; } .two.flip > :first-child { order: 2; }
}
@media (max-width: 420px) { .head-btn[data-theme-toggle] { display: none; } .phone { width: 48%; border-width: 4px; } .p-word { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { .vcard.scanning .vscan { animation: none; } }
