/* Douglas County Local Business Alliance: site styles. Mobile first. */
:root {
  --ink: #102b3b;
  --ink-2: #173e4e;
  --ink-3: #0b2737;
  --muted: #53656e;
  --gold: #f8c627;
  --gold-dark: #d9a90b;
  --red: #c8102e;
  --green: #27744e;
  --line: #dce3e7;
  --tint: #f4f6f7;
  --paper: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 43, 59, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 0.98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; text-align: center; font-family: inherit; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-dark); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: var(--gold); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint); color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.25em 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand img { width: 150px; height: auto; }
.nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 2px solid var(--ink); background: #fff; color: var(--ink); border-radius: 999px; font: 700 0.95rem var(--font); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 20px 20px; max-height: calc(100vh - 68px); overflow-y: auto; }
.site-nav.is-open { display: block; }
.nav-links, .nav-sub { list-style: none; margin: 0; padding: 0; }
.nav-item { border-bottom: 1px solid var(--tint); }
.nav-top { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 6px; font: 600 1rem var(--font); text-decoration: none; color: var(--ink); background: none; border: 0; text-align: left; cursor: pointer; }
.nav-top[aria-current="page"], .nav-item.is-current > .nav-parent { color: var(--green); }
.nav-caret { width: 9px; height: 9px; margin: 0 6px 0 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); flex: none; }
.nav-parent[aria-expanded="true"] .nav-caret { transform: translateY(2px) rotate(-135deg); }
.nav-sub { padding: 0 0 8px 12px; }
.nav-sub[hidden] { display: none; }
.nav-sub a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; font-weight: 600; text-decoration: none; color: var(--ink-2); border-left: 2px solid var(--line); }
.nav-sub a:hover { color: var(--green); background: var(--tint); }
.nav-sub a[aria-current="page"] { color: var(--green); border-left: 4px solid var(--gold); padding-left: 10px; }
.nav-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; position: static; align-items: center; gap: 18px; padding: 0; box-shadow: none; border: 0; background: transparent; max-height: none; overflow: visible; }
  .nav-links { display: flex; gap: 4px; }
  .nav-item { position: relative; border: 0; }
  .nav-top { width: auto; min-height: 44px; padding: 0 12px; border-radius: 8px; font-size: 0.95rem; white-space: nowrap; }
  .nav-top:hover, .nav-parent[aria-expanded="true"] { background: var(--tint); }
  .nav-top[aria-current="page"], .nav-item.is-current > .nav-parent { box-shadow: inset 0 -3px 0 var(--gold); border-radius: 8px 8px 0 0; }
  .nav-caret { width: 7px; height: 7px; margin: 0 0 0 8px; }
  .nav-sub { position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px; margin-top: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(16, 43, 59, 0.16); z-index: 60; }
  .nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
  .nav-sub a { min-height: 44px; border-left: 0; border-radius: 8px; white-space: nowrap; }
  .nav-sub a[aria-current="page"] { border-left: 0; padding-left: 12px; box-shadow: inset 4px 0 0 var(--gold); }
  .nav-cta { display: flex; margin: 0; gap: 8px; }
  .nav-cta .btn { min-height: 44px; padding: 8px 16px; font-size: 0.92rem; white-space: nowrap; }
  .brand img { width: 168px; }
}

/* Hero */
.hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 39, 55, 0.35) 0%, rgba(11, 39, 55, 0.78) 55%, rgba(11, 39, 55, 0.94) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 56px; }
.hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2.4rem, 8vw, 4.4rem); }
.hero-lead { font-size: clamp(1.15rem, 2.6vw, 1.45rem); font-weight: 700; color: var(--gold); margin-bottom: 0.6em; }
.hero-sub { max-width: 60ch; color: rgba(255, 255, 255, 0.92); }
.hero-indep { display: inline-block; margin: 0.5em 0 0; padding: 10px 14px; border-left: 4px solid var(--gold); background: rgba(255, 255, 255, 0.1); font-size: 0.95rem; color: #fff; border-radius: 0 8px 8px 0; }
.hero-credit { position: absolute; right: 14px; bottom: 8px; z-index: 1; margin: 0; font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); }

/* Sections */
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 800; color: var(--green); margin-bottom: 0.6em; }
.eyebrow a { color: inherit; }
.eyebrow-light { color: var(--gold); }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0 64px; }
.section-tint { background: var(--tint); }
.page-head { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; padding: 56px 0 48px; border-bottom: 6px solid var(--gold); }
.page-head h1 { color: #fff; }
.page-head .eyebrow { color: var(--gold); }
.page-head .lead { max-width: 70ch; color: rgba(255, 255, 255, 0.9); font-size: 1.08rem; margin: 0; }
.page-head .post-meta { color: rgba(255, 255, 255, 0.85); }
.lead-sm { font-size: 1.05rem; color: var(--muted); }
.split { display: grid; gap: 24px; }
.prose p { color: #22404f; }
.prose h2 { margin-top: 1.4em; font-size: 1.5rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: #f0f6f4; color: var(--green); border: 1px solid #cfe3d9; padding: 6px 12px; border-radius: 999px; font-size: 0.88rem; font-weight: 700; }
.fine { font-size: 0.88rem; color: var(--muted); }
.note { background: #fff8db; border: 1px solid #f3df8e; border-radius: var(--radius); padding: 20px 22px; margin: 24px 0; }
.note p:last-child { margin: 0; }

/* Cards */
.card-grid { display: grid; gap: 16px; margin-top: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card-link { display: block; text-decoration: none; color: var(--ink); transition: transform 0.15s, border-color 0.15s; }
.card-link:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--ink); }
.card-link p { color: var(--muted); margin-bottom: 0.8em; }
.card-more { font-weight: 700; color: var(--green); }

/* Impact */
.impact-band { background: var(--ink); color: #fff; }
.impact-band h2 { color: #fff; }
.impact-inner { display: grid; gap: 28px; align-items: center; }
.impact-stat { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius); padding: 28px; }
.stat-num { font-family: var(--font-head); font-size: clamp(3rem, 10vw, 4.6rem); font-weight: 800; line-height: 1; color: var(--gold); margin: 0 0 8px; }
.stat-label { font-weight: 700; font-size: 1.2rem; margin: 0; }
.stat-note { color: rgba(255, 255, 255, 0.8); margin: 4px 0 0; }
.impact-page { display: grid; gap: 20px; margin-bottom: 40px; }
.impact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); background: #fff; }
.impact-card .stat-num { color: var(--green); }
.impact-card-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.impact-card-dark .stat-num { color: var(--gold); }
.impact-lead { font-size: 1.25rem; font-weight: 700; }

/* Photos */
.photo-grid { display: grid; gap: 12px; margin-top: 24px; }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-credit { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

/* CTA band */
.cta-band { background: var(--gold); padding: 48px 0; }
.cta-band h2 { margin-bottom: 0.3em; }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-inner { display: grid; gap: 16px; align-items: center; }
.cta-band .btn-light { border-color: var(--ink); }

/* Tiers */
.tier-grid { display: grid; gap: 18px; }
.tier { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.tier-featured { border: 2px solid var(--gold); }
.tier-label { position: absolute; top: -13px; left: 20px; margin: 0; background: var(--ink); color: var(--gold); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tier h3 { font-size: 1.3rem; margin-bottom: 0.2em; }
.tier-tag { color: var(--muted); min-height: 3em; }
.tier-price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; margin: 0; line-height: 1.1; }
.tier-note { color: var(--muted); font-size: 0.92rem; margin: 4px 0 2px; }
.tier-alt { font-weight: 700; color: var(--green); font-size: 0.95rem; }
.tier .checklist { flex: 1; margin-bottom: 20px; }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding: 7px 0 7px 30px; border-bottom: 1px solid var(--tint); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 12px; height: 7px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

/* Qualifications and quiz */
.qual-list { padding-left: 0; list-style: none; counter-reset: q; }
.qual-list li { counter-increment: q; position: relative; padding: 16px 16px 16px 60px; margin-bottom: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.qual-list li::before { content: counter(q); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--gold); font-weight: 800; display: grid; place-items: center; font-size: 0.9rem; }
.quiz-q { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 18px; margin: 0 0 14px; }
.quiz-q legend { font-weight: 700; padding: 0 4px; float: left; width: 100%; margin-bottom: 4px; }
.quiz-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); font-size: 0.85rem; margin-right: 4px; }
.quiz-hint { clear: both; font-size: 0.9rem; color: var(--muted); margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px; border: 2px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; }
.choice input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.choice:has(input:checked) { border-color: var(--ink); background: #f0f6f4; }
.quiz-error { color: var(--red); font-weight: 700; }
.quiz-result { margin-top: 20px; border-radius: var(--radius); padding: 24px; border: 2px solid var(--line); background: #fff; }
.quiz-result.is-fit { border-color: var(--green); background: #f0f6f4; }
.quiz-result.is-nofit { border-color: var(--red); background: #fff1ee; }
.quiz-result.is-unsure { border-color: var(--gold); background: #fff8db; }
.quiz-result ul { margin: 0 0 1em; padding-left: 20px; }

/* Directory */
.dir-search { display: grid; gap: 14px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.field input, .field select { width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.field input:focus, .field select:focus { border-color: var(--ink); outline: none; }
.field-btns { display: flex; gap: 10px; align-items: flex-end; }
.dir-count { margin: 18px 0 10px; font-weight: 700; color: var(--muted); }
.empty-state { text-align: center; border: 2px dashed #b9c6cd; border-radius: var(--radius); padding: 36px 22px; background: #fff; margin: 12px 0 32px; }
.empty-state .btn-row { justify-content: center; }
.empty-badge { display: inline-block; background: var(--ink); color: var(--gold); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.empty-state h2 { font-size: 1.5rem; }
.empty-state p { color: var(--muted); max-width: 60ch; margin-left: auto; margin-right: auto; }

/* Ethics and FAQ */
.ethics-sec { margin-bottom: 32px; }
.ethics-sec h2 { font-size: 1.4rem; padding-bottom: 8px; border-bottom: 3px solid var(--gold); display: inline-block; }
.ethics-home { background: var(--tint); border-radius: var(--radius); padding: 22px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h2 { font-size: 1.25rem; }
.faq-item p { margin: 0; color: #22404f; }

/* Blog */
.post-grid { display: grid; gap: 18px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.post-card h2 { font-size: 1.35rem; }
.post-card h2 a { text-decoration: none; color: var(--ink); }
.post-meta { font-size: 0.9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tag { background: #f0f6f4; color: var(--green); font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; }
.post-nav { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 28px; }
.post-nav a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink-3); color: rgba(255, 255, 255, 0.85); padding: 48px 0 24px; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 28px; }
.footer-name { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.15rem; }
.footer-head { font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; }
.footer-indep { border-left: 3px solid var(--gold); padding-left: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-nav ul { columns: 2; }
.site-footer li a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 28px; padding-top: 18px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }

@media (min-width: 700px) {
  .card-grid, .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-page { grid-template-columns: 1fr 1fr; }
  .dir-search { grid-template-columns: 1fr 1fr; }
  .field-grow { grid-column: 1 / -1; }
  .post-nav { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
}
@media (min-width: 1000px) {
  .card-grid, .photo-grid, .post-grid { grid-template-columns: repeat(3, 1fr); }
  .tier-grid { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1.3fr; gap: 56px; }
  .impact-inner { grid-template-columns: 1.4fr 1fr; }
  .cta-inner { grid-template-columns: 1.3fr 1fr; }
  .cta-inner .btn-row { justify-content: flex-end; margin: 0; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .dir-search { grid-template-columns: 2fr 1fr 1fr auto; align-items: end; }
  .field-grow { grid-column: auto; }
  .hero { min-height: 680px; }
  .section { padding: 88px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.quiz-result { scroll-margin-top: 90px; }

/* On-site join, checkout and member account (staged 2026-11-23) */
[hidden] { display: none !important; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { background: #fdecee; border: 1px solid #f3b8c0; color: #8a0f22; border-radius: 10px; padding: 14px 18px; margin: 0 0 20px; font-weight: 600; }
.notice { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 20px; box-shadow: var(--shadow); }
.notice-soon { border-color: var(--gold); background: #fffaf0; }
.notice h2 { font-size: 1.4rem; }
.join-grid { display: grid; gap: 28px; }
.join-step { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; margin: 0 0 22px; background: var(--paper); min-width: 0; }
.join-step legend { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; padding: 0 8px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--gold); font-size: 0.9rem; margin-right: 6px; }
.plan-options { display: grid; gap: 12px; margin-bottom: 18px; }
.plan-option { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; min-height: 48px; }
.plan-option.is-selected { border-color: var(--gold-dark); background: #fffaf0; }
.plan-option input { margin-top: 5px; width: 20px; height: 20px; flex: none; }
.plan-option-body { display: flex; flex-direction: column; }
.plan-option-name { font-weight: 800; }
.plan-option-price { font-weight: 700; color: var(--green); }
.plan-option-tag { color: var(--muted); font-size: 0.95rem; }
.period-pick .choice { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.period-pick .choice input { width: 20px; height: 20px; }
.choice.is-disabled { opacity: 0.5; }
.field-label { font-weight: 700; margin: 0 0 6px; }
.field-grid { display: grid; gap: 4px 18px; }
.join-step .field, .auth-card .field { display: flex; flex-direction: column; margin: 0 0 14px; }
.join-step label, .auth-card label { font-weight: 600; }
.join-step input[type="text"], .join-step input[type="tel"], .join-step input[type="url"], .join-step select, .join-step textarea,
.auth-card input[type="email"], .auth-card input[type="password"], .auth-card input[type="text"] {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #b9c5cc; border-radius: 10px; min-height: 48px; background: #fff; color: var(--ink); width: 100%; margin-top: 6px; }
.join-step textarea { min-height: 110px; }
.opt { font-weight: 400; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--tint); font-weight: 400 !important; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 2px; }
[aria-invalid="true"] { outline: 2px solid var(--red); outline-offset: 2px; }
.ethics-heading { margin-top: 18px; font-size: 1.05rem; }
.home-service { margin-top: 18px; padding-top: 6px; border-top: 2px solid var(--line); }
.agreement { margin: 12px 0; }
.agreement summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.agreement pre { white-space: pre-wrap; font: 14px/1.6 var(--font); max-height: 340px; overflow: auto; background: var(--tint); padding: 14px; border-radius: 10px; }
.account-note { background: var(--tint); border-radius: 10px; padding: 12px 14px; }
.join-summary { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px; align-self: start; }
.join-summary h3 { color: #fff; }
.join-summary .eyebrow { color: var(--gold); }
.join-summary hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); margin: 16px 0; }
.sum-price { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--gold); margin: 0 0 4px; }
.result-panel, .checkout-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); margin: 0 0 22px; }
.result-success { border-color: var(--green); }
.mode-badge { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 800; border-radius: 999px; padding: 4px 12px; font-size: 0.85rem; }
.checkout-mount { min-height: 200px; }
.auth-grid { display: grid; gap: 22px; }
.auth-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; background: var(--paper); box-shadow: var(--shadow); }
.app-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; margin: 0 0 20px; box-shadow: var(--shadow); }
.app-status { background: var(--tint); border-radius: 10px; padding: 14px; margin: 0 0 14px; }
.account-who { font-weight: 700; }
/* Local preview mock of the Stripe frame (served only by preview/server.py) */
.mock-checkout { border: 2px dashed var(--gold-dark); border-radius: 12px; padding: 20px; background: #fbfcfd; max-width: 520px; }
.mock-checkout label { display: flex; flex-direction: column; font-weight: 600; margin-bottom: 10px; }
.mock-checkout input { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid #b9c5cc; border-radius: 8px; margin-top: 4px; width: 100%; min-width: 0; }
.mock-row label { min-width: 0; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mock-badge { font-weight: 800; color: #8a5a00; }
.mock-amount { font-size: 1.8rem; font-weight: 800; margin: 0 0 12px; }
.mock-amount span { font-size: 1rem; color: var(--muted); }
.mock-pay { width: 100%; min-height: 48px; border: 0; border-radius: 8px; background: #635bff; color: #fff; font: 700 1rem var(--font); cursor: pointer; }
.mock-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
@media (min-width: 700px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
  .plan-options { grid-template-columns: 1fr 1fr; }
  .auth-grid { grid-template-columns: 1fr 1fr; }
  .join-step { padding: 26px 26px; }
}
@media (min-width: 1000px) {
  .join-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .join-summary { position: sticky; top: 100px; }
}
.result-panel, .checkout-panel, .form-alert, .join-step { scroll-margin-top: 110px; }
