/* Renticore styles. Brand: forest green #102e03 and gold #ffc242. */

@font-face { font-family: 'DM Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('../assets/fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('../assets/fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('../assets/fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-style: normal; font-display: swap; src: url('../assets/fonts/manrope-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-style: normal; font-display: swap; src: url('../assets/fonts/manrope-latin-800-normal.woff2') format('woff2'); }

:root {
  --green: #0f2e04;
  --green-ink: #091f02;
  --green-700: #1a4508;
  --green-500: #25600c;
  --gold: #ffc242;
  --gold-600: #f2a900;
  --gold-100: #fff2cc;
  --paper: #ffffff;
  --mist: #f4f8f0;
  --mist-2: #e6eee0;
  --line: #dfe6d8;
  --field-line: #7c8a6e;
  --card-line: #d3dccb;
  --text: #13200a;
  --muted: #475739;
  --danger: #c4261c;
  --danger-bg: #fdeceb;
  --ok: #17740a;
  --ok-bg: #e3f6dc;
  --warn: #7a4e00;
  --header-h: 68px;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 46, 3, .05), 0 10px 24px -8px rgba(16, 46, 3, .12);
  --shadow-lg: 0 2px 4px rgba(16, 46, 3, .08), 0 22px 44px -12px rgba(16, 46, 3, .25);
  --surface: #ffffff;
  --ink: #0f2e04;
  --focus: #0f2e04;
  --link: #1a4508;
  --action: #0f2e04;
  --action-hover: #1a4508;
  --accent-line: #1f7a0a;
  --danger-ink: #c4261c;
  --ok-line: #9fd48f;
  --bad-line: #efb1ad;
  --notice-ink: #4a3000;
  color-scheme: light;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Manrope', 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Dark theme (chosen with the header switch, or follows the device) ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0a1506; --surface: #12230b; --mist: #162a0e; --mist-2: #1e3814;
  --line: #2a4320; --card-line: #36552a; --field-line: #86a073;
  --text: #edf3e4; --muted: #b8c8a7; --ink: #f3f8ec; --focus: #ffc242; --link: #a6e07f;
  --action: #2d7a12; --action-hover: #38901a; --accent-line: #86c466;
  --danger-ink: #ff9a91; --danger-bg: #3b1714; --bad-line: #7a2f2a;
  --ok: #9be896; --ok-bg: #16331a; --ok-line: #2f6b31;
  --gold-100: #3a2d0a; --warn: #ffd27a; --notice-ink: #ffe3a0;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .3);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .35), 0 16px 36px rgba(0, 0, 0, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.1; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.6vw, 3.9rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: 1.18rem; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; margin: 0 0 1em; }
.icon { flex: none; vertical-align: middle; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; box-shadow: 0 0 0 2px var(--paper); }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .section.dark :focus-visible { outline-color: var(--gold); box-shadow: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--green); padding: 10px 14px; border-radius: 8px; z-index: 200; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 16px; }
.hidden { display: none !important; }

/* ---------- Header (stays fixed while scrolling) ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); background: var(--green); color: #fff; z-index: 100; box-shadow: 0 2px 0 var(--gold); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.brand-logo { height: 30px; width: auto; display: block; }
.brand-mark { display: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav button.linklike { color: #fff; text-decoration: none; padding: 10px 14px; border-radius: 10px; font-weight: 500; background: none; border: 0; font: inherit; font-weight: 500; cursor: pointer; }
.nav a:hover, .nav button.linklike:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav a[aria-current="page"] { background: rgba(255, 255, 255, .16); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; background: none; border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; place-items: center; }
main { padding-top: var(--header-h); min-height: 70vh; }
main:focus { outline: none; }

@media (max-width: 860px) {
  .menu-btn { display: grid; }
  /* The menu slides in from the right and covers 80% of the screen; the rest is dimmed */
  .nav { position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: 80%; z-index: 2; background: var(--green); flex-direction: column; align-items: stretch; padding: 0 16px 28px; gap: 2px; border-left: 2px solid var(--gold); transform: translateX(100%); visibility: hidden; transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s; overflow-y: auto; overscroll-behavior: contain; box-shadow: -14px 0 36px rgba(0, 0, 0, .4); }
  .nav.open { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
  .nav-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .15); color: #fff; font-weight: 700; }
  .nav-close { background: none; border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
  .nav-close:hover { background: rgba(255, 255, 255, .12); }
  .scrim { display: block; position: fixed; inset: 0; z-index: 1; background: rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility 0s linear .28s; }
  .scrim.open { opacity: 1; visibility: visible; transition: opacity .28s ease, visibility 0s; }
  body.nav-open { overflow: hidden; }
  .nav a, .nav button.linklike { padding: 14px; text-align: left; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; text-align: center; justify-content: center; }
}
@media (min-width: 861px) { .nav-top, .scrim { display: none; } }
@media (prefers-reduced-motion: reduce) { .nav, .nav.open, .scrim, .scrim.open { transition: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 13px 24px; border-radius: 14px; border: 1.5px solid transparent; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; line-height: 1.2; transition: transform .14s ease, background .14s ease, box-shadow .14s ease; min-height: 48px; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--green); }
.btn-gold:hover { background: var(--gold-600); color: var(--green); }
.btn-dark { background: var(--action); color: #fff; }
.btn-dark:hover { background: var(--action-hover); color: #fff; }
.btn-lg { min-height: 56px; padding: 16px 32px; font-size: 1.05rem; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--card-line); }
.btn-ghost:hover { background: var(--mist); color: var(--ink); border-color: var(--ink); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #a01d15; color: #fff; }
.btn-sm { padding: 8px 16px; min-height: 44px; font-size: .92rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.iconbtn:hover { background: var(--mist); }
.iconbtn.on { background: var(--gold); border-color: var(--gold-600); }
.iconbtn.on svg { fill: var(--ink); }

/* ---------- Hero (fits the screen) ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; background: var(--green); color: #fff; overflow: hidden; }
.hero.has-photo { background-size: cover; background-position: center; }
.hero.has-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 31, 2, .92) 20%, rgba(10, 31, 2, .55)); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-block: 28px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 1.15rem; color: #dcebc9; max-width: 34em; }
.hero-art { display: grid; place-items: center; }
.hero-art svg { width: min(460px, 100%); height: auto; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgba(255, 194, 66, .16); color: var(--gold); border: 1px solid rgba(255, 194, 66, .5); font-weight: 700; font-size: .85rem; letter-spacing: .02em; margin-bottom: 18px; }
.searchbox { background: var(--surface); color: var(--text); border-radius: 18px; padding: 14px; display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 10px; align-items: end; box-shadow: var(--shadow-lg); margin-top: 24px; max-width: 760px; }
.searchbox label { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; display: block; margin-bottom: 4px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 0; padding: 0; list-style: none; color: #dcebc9; font-size: .95rem; }
.hero-points li { display: flex; gap: 8px; align-items: center; }
.hero-points svg { color: var(--gold); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .searchbox { grid-template-columns: 1fr 1fr; }
  .searchbox > :first-child { grid-column: 1 / -1; }
  .searchbox .btn { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .hero p.lead { font-size: 1.02rem; }
  .hero-points { display: none; }
  .eyebrow { margin-bottom: 12px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(44px, 7vw, 84px) 0; }
.section.mist { background: var(--mist); }
.section.dark { background: var(--green); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section.dark .section-head p { color: #dcebc9; }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.feature { display: grid; gap: 10px; }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--gold); color: var(--green); display: grid; place-items: center; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 0; list-style: none; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 18px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--action); color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.steps strong { display: block; color: var(--ink); margin-bottom: 4px; font-size: 1.05rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.band { background: var(--gold); color: var(--green); border-radius: 24px; padding: clamp(24px, 5vw, 48px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.band h2 { color: var(--green); margin-bottom: .3em; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* ---------- Chips and badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--ink); font-size: .82rem; font-weight: 700; border: 1px solid var(--line); white-space: nowrap; }
.chip.gold { background: var(--gold-100); border-color: var(--gold-600); color: var(--warn); }
.chip.ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.chip.bad { background: var(--danger-bg); border-color: var(--bad-line); color: var(--danger-ink); }
.chip.plain { background: var(--surface); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Listing cards ---------- */
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .listing-grid { grid-template-columns: 1fr; } }
.lcard { position: relative; background: var(--surface); border: 1px solid var(--card-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.lcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lcard a.cover { position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.lcard .save { position: absolute; top: 12px; right: 12px; z-index: 2; }
.media { aspect-ratio: 16 / 10; background: var(--mist); display: grid; place-items: center; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.nophoto { width: 100%; height: 100%; display: grid; place-items: center; gap: 6px; align-content: center; text-align: center; color: var(--ink); background: repeating-linear-gradient(135deg, var(--mist) 0 14px, var(--mist-2) 14px 28px); font-weight: 700; font-size: .9rem; }
.lbody { padding: 16px 18px 18px; display: grid; gap: 8px; }
.lbody h2, .lbody h3 { margin: 0; font-size: 1.12rem; line-height: 1.25; }
.price { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.price small { font-family: var(--font); font-size: .85rem; font-weight: 500; color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .92rem; }
.facts span { display: inline-flex; align-items: center; gap: 6px; }
.where { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .92rem; }

/* ---------- Forms ---------- */
label.field, .field { display: block; }
.field > span, .field > label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1.5px solid var(--field-line); border-radius: 12px; padding: 12px 14px; min-height: 48px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.form-error { background: var(--danger-bg); color: var(--danger-ink); border: 1.5px solid var(--bad-line); padding: 10px 14px; border-radius: 10px; font-weight: 500; }
.notice { background: var(--gold-100); border: 1.5px solid var(--gold-600); color: var(--notice-ink); padding: 12px 16px; border-radius: 12px; }
.notice.ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.notice.info { background: var(--mist); border-color: var(--line); color: var(--ink); }
.rolepick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rolepick label { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; display: grid; gap: 2px; background: var(--surface); }
.rolepick input { position: absolute; opacity: 0; pointer-events: none; }
.rolepick label:has(input:checked) { border-color: var(--ink); background: var(--mist); outline: 2px solid var(--green); }
.rolepick strong { color: var(--ink); }
.rolepick span { font-size: .85rem; color: var(--muted); }
@media (max-width: 520px) { .rolepick { grid-template-columns: 1fr; } }
.chipcheck { display: flex; flex-wrap: wrap; gap: 8px; }
.chipcheck label { cursor: pointer; }
.chipcheck input { position: absolute; opacity: 0; pointer-events: none; }
.chipcheck span { display: inline-block; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .9rem; font-weight: 500; }
.chipcheck input:checked + span { background: var(--action); color: #fff; border-color: var(--action); }
.chipcheck input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.costrow { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 8px; align-items: end; }
@media (max-width: 620px) { .costrow { grid-template-columns: 1fr 1fr; } .costrow .field:first-child { grid-column: 1 / -1; } }

/* ---------- Stepper (listing form) ---------- */
.stepper { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.stepper button { flex: 1 1 120px; border: 1.5px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 12px; padding: 10px 12px; font: inherit; font-weight: 700; cursor: pointer; display: flex; gap: 8px; align-items: center; justify-content: center; }
.stepper button.active { background: var(--action); color: #fff; border-color: var(--action); }
.stepper button.done { color: var(--ink); border-color: var(--accent-line); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.photo-tile { position: relative; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--line); aspect-ratio: 4 / 3; background: var(--mist); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile button { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--action); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* ---------- Listing detail ---------- */
.detail { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; padding-block: 28px 64px; }
@media (max-width: 980px) { .detail { grid-template-columns: 1fr; } .detail aside { order: -1; } }
.gallery .main { border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--line); aspect-ratio: 16 / 9; background: var(--mist); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.gallery .thumbs button { border: 2px solid transparent; border-radius: 10px; padding: 0; overflow: hidden; width: 88px; height: 64px; flex: none; cursor: pointer; background: var(--mist); }
.gallery .thumbs button[aria-current="true"] { border-color: var(--ink); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.costtable { width: 100%; border-collapse: collapse; }
.costtable td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.costtable td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 12px; }
.costtable tr.total td { border-bottom: 0; font-size: 1.08rem; color: var(--ink); }
.infolist { display: grid; gap: 14px; }
.infolist .info { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.infolist .info svg { color: var(--accent-line); margin-top: 3px; }
.infolist .info h3 { font-size: 1rem; margin: 0 0 2px; font-family: var(--font); }
.infolist .info p { margin: 0; color: var(--text); }
.crumbs { font-size: .9rem; color: var(--muted); padding-top: 18px; }
.crumbs a { color: var(--muted); }

/* ---------- Dashboards ---------- */
.dash-head { padding: 28px 0 8px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 22px; }
.tabs button { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 9px 16px; font: inherit; font-weight: 700; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.tabs button.active { background: var(--action); color: #fff; border-color: var(--action); }
.tabs .count { background: var(--gold); color: var(--green); border-radius: 999px; padding: 0 8px; font-size: .8rem; }
.list { display: grid; gap: 14px; }
.item { background: var(--surface); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 10px; }
.item h3 { margin: 0; font-size: 1.08rem; }
.item .meta { color: var(--muted); font-size: .9rem; }
.empty { text-align: center; padding: 40px 20px; background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty svg { color: var(--accent-line); margin-bottom: 8px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 14px 16px; }
.stat b { display: block; font-family: var(--display); font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .88rem; }
.review-box { background: var(--mist); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 10px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 4px 12px; font-size: .95rem; }
.kv dt { color: var(--muted); font-weight: 700; }
.kv dd { margin: 0; word-break: break-word; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; } .kv dt { margin-top: 6px; } }

/* ---------- Content pages ---------- */
.prose { padding: 36px 0 72px; }
.prose h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }
.draftnote { background: var(--gold-100); border: 1.5px solid var(--gold-600); border-radius: 12px; padding: 12px 16px; margin-bottom: 24px; color: #4a3000; }

/* ---------- Footer, toasts, dialog ---------- */
.site-footer { background: var(--green-ink); color: #cfe0bb; padding: 48px 0 28px; }
.site-footer a { color: #fff; }
.site-footer h2, .site-footer h3 { color: var(--gold); font-family: var(--font); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.legal { border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 28px; padding-top: 18px; font-size: .88rem; }

#toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 300; display: grid; gap: 8px; width: min(440px, calc(100% - 24px)); pointer-events: none; }
.toast { background: var(--green); color: #fff; border: 2px solid var(--gold); padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); transition: all .25s ease; font-weight: 500; }
.toast.show { opacity: 1; transform: none; }
.toast-err { background: var(--danger); border-color: #fff; }

dialog { border: 0; border-radius: 20px; padding: 0; width: min(560px, calc(100% - 24px)); max-height: calc(100svh - 24px); box-shadow: var(--shadow-lg); color: var(--text); }
dialog::backdrop { background: rgba(10, 31, 2, .6); }
.dialog-body { padding: 22px; overflow: auto; max-height: calc(100svh - 24px); }
.dialog-body h2 { font-size: 1.5rem; }

.demo-pill { position: fixed; left: 12px; bottom: 12px; z-index: 150; background: var(--gold); color: var(--green); border: 2px solid var(--green); border-radius: 999px; padding: 6px 8px 6px 14px; font-size: .85rem; font-weight: 700; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); }
.demo-pill button { border: 0; background: var(--green); color: #fff; border-radius: 999px; padding: 5px 12px; font: inherit; font-weight: 700; cursor: pointer; }
.loading { padding: 80px 0; text-align: center; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Admin area (light by default, dark with the switch) ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.admin-mode .site-header, body.admin-mode .site-footer { display: none; }
body.admin-mode main { padding-top: 0; min-height: 100vh; }
.adm {
  --a-bg: #f7f3e6; --a-panel: #ffffff; --a-side: #ffffff; --a-line: #ddd5ba; --a-text: #13200a; --a-mute: #526247;
  --a-accent: #0f2e04; --a-accent-ink: #ffc242; --a-hover: #f1ebd6; --a-gold-bg: #fff2cc; --a-gold-line: #f2a900; --a-red-bg: #fdeceb; --a-red-line: #efb1ad; --a-red: #c4261c; --a-field: #ffffff; --a-ok-bg: #e3f6dc;
  display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; background: var(--a-bg); color: var(--a-text);
}
.adm[data-theme="dark"] {
  --a-bg: #081504; --a-panel: #0e2005; --a-side: #0a1a03; --a-line: #24400f; --a-text: #e8efe3; --a-mute: #93a08c;
  --a-accent: #ffc242; --a-accent-ink: #0f2e04; --a-hover: #163308; --a-gold-bg: #2a2108; --a-gold-line: #6b5314; --a-red-bg: #2a0f0e; --a-red-line: #6b231f; --a-red: #ff7a70; --a-field: #0a1a03; --a-ok-bg: #163308;
}
.adm h1 { color: var(--a-text); font-family: var(--font); font-size: 1.8rem; margin: 0 0 4px; }
.adm a { color: var(--a-accent); }
.adm-side { background: var(--a-side); border: 1px solid var(--a-line); display: flex; flex-direction: column; padding: 16px 12px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.adm-brand { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--a-text) !important; padding: 4px 8px 16px; }
.adm-brand b { display: block; font-family: var(--display); font-size: 1.25rem; }
.adm-brand small { color: var(--a-mute); }
.adm-sec { font-size: .72rem; letter-spacing: .1em; color: var(--a-mute); padding: 16px 10px 6px; font-weight: 700; }
.adm-link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 10px; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--a-text) !important; font: inherit; cursor: pointer; text-decoration: none; text-align: left; }
.adm-link:hover { background: var(--a-hover); }
.adm-link.active { background: var(--a-accent); color: var(--a-accent-ink) !important; font-weight: 700; }
.adm-foot { margin-top: auto; padding-top: 12px; }
.adm-badge { font-style: normal; font-size: .75rem; font-weight: 700; background: var(--gold); color: var(--green); border-radius: 999px; padding: 1px 8px; margin-left: auto; }
.adm-main { min-width: 0; }
.adm-top { display: flex; align-items: center; gap: 12px; padding: 12px 24px; border: 1px solid var(--a-line); background: var(--a-side); position: sticky; top: 0; z-index: 20; }
.adm-search { flex: 1; max-width: 460px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--a-line); background: var(--a-field); border-radius: 12px; padding: 0 12px; color: var(--a-mute); }
.adm-search input { border: 0; background: none; color: var(--a-text); min-height: 42px; padding: 0; outline: none; }
.adm-search:focus-within { outline: 2px solid var(--a-accent); }
.adm-icon, .adm-menu { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--a-line); background: var(--a-field); color: var(--a-text); display: grid; place-items: center; cursor: pointer; }
.adm-icon:hover { background: var(--a-hover); }
.adm-menu { display: none; }
.adm-user { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.adm-user small { display: block; color: var(--a-mute); }
.adm-av { width: 38px; height: 38px; border-radius: 50%; background: var(--a-accent); color: var(--a-accent-ink); display: grid; place-items: center; font-weight: 700; }
.adm-body { padding: 24px; }
.adm-sub { color: var(--a-mute); margin: 0; }
.adm-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 20px 0; }
.adm-card { background: var(--a-panel); border: 1px solid var(--a-line); border-radius: 16px; padding: 16px; display: grid; gap: 2px; }
.adm-card b { font-family: var(--display); font-size: 2rem; line-height: 1.1; }
.adm-card span { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.adm-card small { color: var(--a-mute); }
.adm-card.gold { background: var(--a-gold-bg); border-color: var(--a-gold-line); }
.adm-card.red { background: var(--a-red-bg); border-color: var(--a-red-line); }
.adm-card.green { border-color: var(--a-accent); }
.adm-card svg { color: var(--a-accent); }
.adm-card.gold svg { color: var(--gold-600); }
.adm-card.red svg { color: var(--a-red); }
.adm-panel { background: var(--a-panel); border: 1px solid var(--a-line); border-radius: 16px; overflow: hidden; }
.adm-tabs { display: flex; gap: 4px; padding: 8px 12px 0; border-bottom: 1px solid var(--a-line); overflow-x: auto; }
.adm-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; color: var(--a-mute); padding: 12px 14px; font: inherit; font-weight: 700; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.adm-tabs button.active { color: var(--a-text); border-bottom-color: var(--a-accent); }
.adm-tools { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 16px 0; }
.adm-tools:empty { display: none; }
.adm .adm-tools select { width: auto; min-height: 42px; background: var(--a-field); color: var(--a-text); border-color: var(--a-line); }
.adm-btn { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--a-line); background: var(--a-field); color: var(--a-text) !important; border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; text-decoration: none; }
.adm-btn:hover { background: var(--a-hover); }
.adm-btn.gold { background: var(--gold); color: var(--green) !important; border-color: var(--gold-600); }
.adm-btn[disabled] { opacity: .5; }
.adm-tablewrap { overflow-x: auto; padding: 14px 16px 16px; }
.adm-table { width: 100%; border-collapse: collapse; min-width: 860px; }
.adm-table th { text-align: left; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--a-mute); padding: 10px; border-bottom: 1px solid var(--a-line); }
.adm-table td { padding: 12px 10px; border-bottom: 1px solid var(--a-line); vertical-align: top; }
.adm-table tr:last-child td { border-bottom: 0; }
.adm-num { white-space: nowrap; font-weight: 700; }
.adm-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.adm-meta { color: var(--a-mute); font-size: .85rem; margin-top: 3px; }
.adm-mono { font-family: ui-monospace, Menlo, monospace; font-size: .8rem; }
.adm-tag { background: var(--a-hover); border-radius: 6px; padding: 1px 7px; color: var(--a-text); }
.adm-pill { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: .78rem; font-weight: 700; border: 1px solid var(--a-line); white-space: nowrap; }
.adm-pill.ok { background: var(--a-ok-bg); color: var(--a-accent); border-color: var(--a-accent); }
.adm-pill.warn { background: var(--a-gold-bg); color: var(--warn); border-color: var(--a-gold-line); }
.adm[data-theme="dark"] .adm-pill.warn { color: var(--gold); }
.adm-pill.bad { background: var(--a-red-bg); color: var(--a-red); border-color: var(--a-red-line); }
.adm-pill.mute { color: var(--a-mute); }
.adm-empty { text-align: center; padding: 40px; color: var(--a-mute); }
.adm .loading { color: var(--a-mute); }
@media (max-width: 1180px) { .adm-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .adm { grid-template-columns: 1fr; }
  .adm-side { position: fixed; z-index: 60; width: 270px; transform: translateX(-105%); visibility: hidden; transition: transform .2s ease, visibility 0s linear .2s; }
  .adm-side.open { transform: none; visibility: visible; transition: transform .2s ease, visibility 0s; box-shadow: var(--shadow-lg); }
  .adm-menu { display: grid; }
  .adm-user span:last-child { display: none; }
  .adm-top { padding: 10px 12px; }
  .adm-body { padding: 16px 12px; }
  .adm-cards { grid-template-columns: repeat(2, 1fr); }
}

.adm-search { min-width: 0; }
.adm-search input { min-width: 0; width: 100%; }
.adm-body, .adm-top { min-width: 0; }
.adm-main { overflow-x: clip; }
body.admin-mode .demo-pill { left: auto; right: 12px; }

.adm-brand img { height: 26px; width: auto; display: block; }
.adm .logo-on-dark { display: none; }
.adm[data-theme="dark"] .logo-on-dark { display: block; }
.adm[data-theme="dark"] .logo-on-light { display: none; }
.adm-brand small { margin-top: 6px; display: block; }
.hero-art img { width: min(380px, 70%); height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); }
.footer-logo { height: 30px; width: auto; display: block; margin-bottom: 12px; }
.adm-pill.ok { color: var(--a-text); }
.adm-badge { background: var(--gold); color: var(--green); }

.hero-art img.hero-photo { width: min(500px, 100%); height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; border: 3px solid var(--gold); filter: none; box-shadow: 0 24px 50px rgba(0,0,0,.4); }

/* ---------- Week 2 additions ---------- */
/* One sharper gold for urgent actions only (green text on it, never gold text on white) */
.btn-gold { background: var(--gold-600); color: var(--green); }
.btn-gold:hover { background: var(--gold); color: var(--green); }

/* Dialog close icon */
dialog { position: fixed; overflow: visible; }
.dialog-x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.dialog-x:hover { background: var(--mist); }
.dialog-body h2 { padding-right: 52px; }

/* Show-password button and inline field errors */
.pwwrap { position: relative; }
.pwwrap input { padding-right: 92px; }
.pwtoggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 44px; padding: 0 14px; border-radius: 8px; border: 0; background: var(--mist); color: var(--ink); font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; }
.pwtoggle:hover { background: var(--mist-2); }
.field-error { color: var(--danger-ink); font-weight: 700; font-size: .9rem; margin: 6px 0 0; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }

/* Inspection dialog */
.quickdays { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 10px; }
.qd { padding: 9px 14px; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--field-line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; }
.qd:hover { background: var(--mist); }
.qd[aria-pressed="true"] { background: var(--action); color: #fff; border-color: var(--action); }
#day-label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; color: var(--ink); }
.sent { text-align: left; }
.sent-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin-bottom: 10px; }
.next { padding-left: 1.3em; }
.next li { margin-bottom: .5em; }

/* Gallery: swipe on phones, arrows and thumbnails everywhere */
.gallery .stage { position: relative; }
.gallery:focus-visible { outline-offset: 4px; }
.gallery .main.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.gallery .main.track::-webkit-scrollbar { display: none; }
.gallery .slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; aspect-ratio: 16 / 9; }
.gallery .slide img { width: 100%; height: 100%; object-fit: cover; }
.gnav { position: absolute; top: calc(50% - 22px); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(15, 46, 4, .78); color: #fff; display: grid; place-items: center; cursor: pointer; }
.gnav:hover { background: var(--green); }
.gnav.prev { left: 10px; }
.gnav.next { right: 10px; }
.gcount { position: absolute; right: 10px; top: 10px; background: rgba(15, 46, 4, .8); color: #fff; font-size: .82rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
@media (hover: none) { .gnav { display: none; } }

/* Mobile listing page: details first, then a fixed bar with price and the main action */
.mbar { display: none; }
@media (max-width: 980px) {
  .detail aside { order: 0; }
  .only-desk { display: none !important; }
  .detail .sticky { position: static; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 2px solid var(--green); box-shadow: 0 -6px 18px rgba(16, 46, 3, .14); }
  .mbar-price b { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--ink); line-height: 1.1; }
  .mbar-price small { color: var(--muted); font-size: .8rem; }
  body.has-mbar .site-footer { padding-bottom: 96px; }
  body.has-mbar #toasts { bottom: 88px; }
  body.has-mbar .demo-pill { bottom: 84px; }
}

/* FAQ */
.faq details { border: 1px solid var(--card-line); border-radius: 14px; background: var(--surface); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--accent-line); flex: none; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 16px 14px; margin: 0; }
.prose .lead { font-size: 1.15rem; color: var(--muted); }
.founder { display: flex; gap: 16px; align-items: center; margin: 20px 0; }
.founder img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }

/* Header button: the nav link styles must not flatten it */
.nav a.btn-gold { background: var(--gold-600); color: var(--green); font-weight: 700; padding: 8px 16px; }
.nav a.btn-gold:hover { background: var(--gold); color: var(--green); }
.nav a.btn-gold[aria-current="page"] { background: var(--gold-600); }
@media (max-width: 860px) { .nav a.btn-gold { padding: 14px; } }

/* Theme switch in the header */
.hdr-tools { display: flex; align-items: center; gap: 8px; }
.themebtn { background: none; border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.themebtn:hover { background: rgba(255, 255, 255, .12); }
.themebtn .moon { display: none; }
:root[data-theme="dark"] .themebtn .sun { display: none; }
:root[data-theme="dark"] .themebtn .moon { display: block; }
@media (min-width: 861px) { .site-header .wrap > .nav { order: 1; } .site-header .wrap > .hdr-tools { order: 2; } }
:root[data-theme="dark"] .brand-logo { filter: none; }
:root[data-theme="dark"] img.hero-photo, :root[data-theme="dark"] .lcard img { filter: brightness(.92); }

/* Named checks (listing page and cards) */
.checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.checks .cico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mist-2); color: var(--ink); }
.checks .done .cico { background: var(--ok-bg); color: var(--ok); border: 1.5px solid var(--ok-line); }
.checks strong { color: var(--ink); }
.checks .tick { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; font-size: .82rem; font-weight: 700; color: var(--ok); }
.checks .tick.no { color: var(--muted); }
.checks p { margin: 2px 0 0; font-size: .92rem; color: var(--muted); }
.checkrow { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.checkrow li { display: inline-flex; align-items: center; gap: 5px; font-size: .84rem; font-weight: 700; color: var(--ok); }
.nocheck { margin: 10px 0 0; }

/* Tap targets: at least 44 by 44 px */
.photo-tile button::after { content: ''; position: absolute; inset: -8px; }
.site-footer a { display: inline-block; padding: 10px 0; }
.legal a { padding: 0; }
.pwtoggle { right: 2px; }

/* ---------- v6 refresh: sharper surfaces, one clear main action, better rhythm ---------- */
.btn-gold { box-shadow: 0 10px 18px -6px rgba(242, 169, 0, .55); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 14px 22px -8px rgba(242, 169, 0, .6); }
.btn-dark:hover { transform: translateY(-1px); }
.site-header .btn-gold, .nav .btn-gold { box-shadow: none; }

.kicker { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-line); margin-bottom: 10px; font-family: var(--display); }
.section.dark .kicker, .hero .kicker { color: var(--gold); }
.section-head.center { margin-inline: auto; text-align: center; max-width: 700px; }
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section.tight { padding-top: 0; }

/* Hero: real photo with a checklist card on it */
.hero-art { position: relative; }
.hero-art img.hero-photo { border-radius: 26px; border: 0; box-shadow: 0 30px 60px -16px rgba(0, 0, 0, .55), 0 0 0 1.5px rgba(255, 194, 66, .7); }
.hero-card { position: absolute; left: -28px; bottom: 26px; width: min(300px, 78%); background: var(--surface); color: var(--text); border: 1px solid var(--card-line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-lg); }
.hero-card b { display: block; font-family: var(--display); font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.hero-card li { display: flex; gap: 8px; align-items: flex-start; }
.hero-card svg { color: var(--ok); margin-top: 2px; }
.searchbox { border-radius: 20px; box-shadow: var(--shadow-lg); }
.searchbox .btn { min-height: 50px; }

/* Trust strip under the hero: only things that are true on day one */
.truststrip { background: var(--surface); border-bottom: 1px solid var(--line); }
.truststrip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.truststrip .ts { padding: 22px 20px; border-right: 1px solid var(--line); }
.truststrip .ts:last-child { border-right: 0; }
.truststrip b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.truststrip span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) {
  .truststrip .wrap { grid-template-columns: repeat(2, 1fr); }
  .truststrip .ts { border-bottom: 1px solid var(--line); padding: 16px 14px; }
  .truststrip .ts:nth-child(2n) { border-right: 0; }
  .truststrip .ts:nth-last-child(-n+2) { border-bottom: 0; }
}

/* Feature cards: one rounded container with hairline dividers */
.featuregrid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--card-line); border-radius: 22px; background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.featuregrid .feature { padding: 28px 26px; border-right: 1px solid var(--line); gap: 10px; align-content: start; }
.featuregrid .feature:last-child { border-right: 0; }
.featuregrid .feature p { margin: 0; color: var(--muted); }
.featuregrid .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--gold); color: var(--green); display: grid; place-items: center; }
@media (max-width: 900px) {
  .featuregrid { grid-template-columns: 1fr; }
  .featuregrid .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .featuregrid .feature:last-child { border-bottom: 0; }
}

/* Listing grid: a friendly "list yours" tile when there are few listings */
.ctacard { background: var(--green); color: #fff; border: 1px solid var(--green); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 26px; gap: 10px; min-height: 280px; box-shadow: var(--shadow); }
.ctacard h3 { color: #fff; margin: 0; }
.ctacard p { color: #dcebc9; margin: 0 0 6px; }

/* Steps with a connecting line */
.steps li { border-radius: 18px; }
.steps li::before { background: var(--gold); color: var(--green); }

/* Owners band */
.band { background: var(--gold); border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(242, 169, 0, .65); }
.band .btn-dark { background: var(--green); }

/* ---------- Sign in, sign up and password pages ---------- */
.auth { display: grid; grid-template-columns: minmax(300px, 5fr) 6fr; min-height: calc(100svh - var(--header-h)); }
.auth-side { background: var(--green); color: #fff; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 20px; position: relative; overflow: hidden; }
.auth-side::after { content: ''; position: absolute; right: -120px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 194, 66, .22), rgba(255, 194, 66, 0) 70%); pointer-events: none; }
.auth-side h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0; }
.auth-side h2 em { font-style: normal; color: var(--gold); }
.auth-side p { color: #dcebc9; margin: 0; }
.auth-points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.auth-points li { display: flex; gap: 10px; align-items: flex-start; color: #eef6e4; }
.auth-points svg { color: var(--gold); margin-top: 3px; }
.auth-note { margin-top: auto; font-size: .88rem; color: #b9d0a3; }
.auth-main { display: grid; place-items: center; padding: clamp(28px, 5vw, 56px) 16px; background: var(--paper); }
.auth-card { width: min(440px, 100%); }
.auth-card h1 { font-size: clamp(1.7rem, 3vw, 2.1rem); margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin: 0 0 22px; }
.auth-card .labelrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.auth-card .labelrow label { margin: 0; }
.auth-card .labelrow a { font-size: .88rem; font-weight: 700; }
.auth-card .alt { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 18px; }
.btn-lg.btn-block { min-height: 54px; }
.progress { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 18px; }
.progress i { height: 5px; border-radius: 99px; background: var(--mist-2); }
.progress i.on { background: var(--gold-600); }
.stepline { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-line); margin-bottom: 6px; font-family: var(--display); }
.rolepick label { border: 1px solid var(--card-line); border-radius: 16px; padding: 16px 14px; gap: 6px; transition: border-color .14s ease, transform .14s ease, box-shadow .14s ease; }
.rolepick label:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--shadow); }
.rolepick label:has(input:checked) { border-color: var(--gold-600); background: var(--gold-100); outline: 2px solid var(--gold-600); }
.rolepick .rico { width: 40px; height: 40px; border-radius: 12px; background: var(--mist); color: var(--ink); display: grid; place-items: center; margin-bottom: 4px; }
.rolepick label:has(input:checked) .rico { background: var(--gold-600); color: var(--green); }
.chosen { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--mist); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; margin-bottom: 4px; }
.chosen button { background: none; border: 0; color: var(--link); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 6px; min-height: 44px; }
.auth-icon { width: 56px; height: 56px; border-radius: 18px; background: var(--gold); color: var(--green); display: grid; place-items: center; margin-bottom: 16px; }
.auth-solo { min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; padding: 32px 16px; background: var(--mist); }
.auth-solo .auth-card { background: var(--surface); border: 1px solid var(--card-line); border-radius: 24px; padding: clamp(24px, 5vw, 36px); box-shadow: var(--shadow-lg); }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; min-height: 0; }
  .auth-side { padding: 26px 20px; }
  .auth-points, .auth-note { display: none; }
  .auth-side p { display: none; }
}
:root[data-theme="dark"] .rolepick label:has(input:checked) { background: var(--gold-100); }
.rolepick label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.auth-solo .auth-card.center { text-align: center; }
.auth-solo .auth-card.center .auth-icon { margin-inline: auto; }
.auth-card .alt a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.hero-art .hero-card svg { width: 18px; height: 18px; min-width: 18px; flex: none; }
.auth-side .kicker { color: var(--gold); }
.field .labelrow label { display: block; font-weight: 700; font-size: .92rem; color: var(--ink); margin: 0; }

/* Google button and divider */
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; margin: 18px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.btn-google { background: var(--surface); color: var(--ink); border: 1.5px solid var(--card-line); gap: 12px; }
.btn-google:hover { background: var(--mist); border-color: var(--ink); color: var(--ink); }

/* Stand-alone pages: no header, no footer */
body.bare { --header-h: 0px; }
body.bare .site-header, body.bare .site-footer { display: none; }
body.bare main { min-height: 100svh; }
.auth-brand { display: inline-flex; align-self: flex-start; padding: 6px 0; margin-bottom: 8px; min-height: 44px; align-items: center; }
.auth-brand img { display: block; height: 24px; width: auto; }
.auth-solo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.auth-brand-solo { align-self: center; background: var(--green); border-radius: 14px; padding: 10px 18px; margin: 0; box-shadow: 0 10px 24px -14px rgba(15, 46, 4, .6); }
.auth-solo .auth-card { width: min(440px, 100%); }
@media (max-width: 860px) { .auth-side { gap: 12px; } .auth-brand { margin-bottom: 4px; } }
@media (min-width: 861px) { .auth-side .auth-brand { position: absolute; top: clamp(24px, 4vw, 44px); left: clamp(32px, 5vw, 64px); margin: 0; } }

/* ---------- v7: inner pages (find, listing, dashboard, forms) ---------- */
.pagehead { background: var(--green); color: #fff; padding: clamp(28px, 5vw, 52px) 0 clamp(52px, 7vw, 76px); position: relative; overflow: hidden; }
.pagehead::after { content: ''; position: absolute; right: -140px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 194, 66, .2), rgba(255, 194, 66, 0) 70%); pointer-events: none; }
.pagehead > .wrap, .pagehead > .narrow { position: relative; z-index: 1; }
.pagehead .kicker, .pagehead .kicker a { color: var(--gold); }
.pagehead h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin: 6px 0 8px; }
.pagehead p { color: #dcebc9; margin: 0; max-width: 56ch; }
.pagehead .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: transparent; }
.pagehead .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.pagehead .dash-head { align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.narrow .pagehead, .pagehead .narrow { width: min(720px, calc(100% - 32px)); margin-inline: auto; }

/* Find page */
.findbody { padding-bottom: 72px; }
.filterbar { margin-top: -38px; position: relative; z-index: 2; padding: 18px 20px; border-radius: 20px; box-shadow: var(--shadow-lg); }
.filtergrid { grid-template-columns: 2fr 1.2fr 1.4fr 1fr 1.3fr auto; gap: 14px; align-items: end; }
.filtergrid .field > label { font-size: .8rem; letter-spacing: .02em; margin-bottom: 4px; color: var(--muted); }
.fsubmit .btn { min-height: 48px; padding-inline: 26px; }
.resulthead { margin: 26px 0 16px; font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
@media (max-width: 1000px) { .filtergrid { grid-template-columns: 1fr 1fr 1fr; } .filtergrid > .field:first-child { grid-column: 1 / -1; } .fsubmit { grid-column: 1 / -1; } }
@media (max-width: 620px) { .filterbar { padding: 14px; margin-top: -30px; } .filtergrid { grid-template-columns: 1fr 1fr; gap: 10px; } .filtergrid > .field:first-child { grid-column: 1 / -1; } }

/* Cards */
.lcard { border-radius: 20px; }
.lcard .media { aspect-ratio: 4 / 3; }
.lcard .lbody { padding: 18px 20px 20px; gap: 9px; }
.lcard .price { font-size: 1.55rem; letter-spacing: -.01em; }
.lcard h2, .lcard h3 { font-size: 1.1rem; }
.badge-rev { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; background: var(--green); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .02em; padding: 6px 11px; border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6); }
.badge-rev svg { color: var(--gold); }

/* Listing page */
.crumbs { padding-top: 16px; padding-bottom: 6px; }
.detail { gap: clamp(24px, 3vw, 44px); padding-top: 16px; grid-template-columns: 1fr 380px; }
.gallery .main { border: 0; border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.gallery .slide { aspect-ratio: 16 / 10; }
h2.sect { font-size: 1.35rem; margin: 0 0 6px; }
.detail h1 { letter-spacing: -.015em; }
.detail .card { border-radius: 20px; }
.costtable tr.total td { background: var(--mist); font-family: var(--display); font-weight: 800; padding: 14px 12px; }
.costtable tr.total td:first-child { border-radius: 12px 0 0 12px; }
.costtable tr.total td:last-child { border-radius: 0 12px 12px 0; }
.infolist { gap: 0; background: var(--surface); border: 1px solid var(--card-line); border-radius: 20px; padding: 6px 20px; }
.infolist .info { padding: 16px 0; border-bottom: 1px solid var(--line); }
.infolist .info:last-child { border-bottom: 0; }
.infolist .info svg { color: var(--green); background: var(--gold-100); border-radius: 10px; padding: 6px; width: 34px; height: 34px; margin-top: 0; box-sizing: border-box; }
.infolist .info { grid-template-columns: 38px 1fr; gap: 14px; }
.sticky.card { border-radius: 22px; box-shadow: var(--shadow-lg); padding: 24px; }
.sticky .price { font-size: 2rem; letter-spacing: -.01em; }
.nopay { display: flex; gap: 10px; align-items: flex-start; background: var(--mist); border-radius: 14px; padding: 12px 14px; margin: 14px 0 0; font-size: .9rem; color: var(--text); }
.nopay svg { flex: none; color: var(--green); margin-top: 2px; }
.mbar { border-radius: 20px 20px 0 0; box-shadow: 0 -12px 30px -12px rgba(15, 46, 4, .35); }

/* Dashboard, forms, account */
.tabs { margin-top: 18px; }
.tabs button { border-radius: 999px; }
.list .item { border-radius: 18px; }
.stepper button { border-radius: 999px; }
.narrow > .card, .narrow form.card { border-radius: 22px; }

/* Phones */
@media (max-width: 860px) {
  .detail { grid-template-columns: 1fr; }
  .gallery .main, .gallery .slide { aspect-ratio: 4 / 3; border-radius: 20px; }
  .pagehead { padding-bottom: 56px; }
  .pagehead .dash-head .btn { width: 100%; }
}
@media (max-width: 420px) {
  .lcard .price { font-size: 1.4rem; }
  .infolist { padding: 2px 14px; }
}
