/* A broker's public site. Colors come from the agency (--primary, --accent),
   defaulting to the Falcon navy and teal of the verify record. */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('/_static/fonts/figtree-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('/_static/fonts/figtree-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 700; font-display: swap; src: url('/_static/fonts/figtree-latin-700-normal.woff2') format('woff2'); }
:root { --primary: #042536; --accent: #006b91; --ink: #142832; --muted: #586c75; --line: #d7e4e8; --wash: #f6fafb; --gold: #fdbb19; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.6 Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul { margin: 0; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.preview-banner { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--gold); color: var(--ink); font: 600 14px/1.35 system-ui, sans-serif; padding: 4px 8px 4px 16px; min-height: 48px; }
.preview-banner a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 6px; background: var(--ink); color: #fff; text-decoration: none; white-space: nowrap; }

.top { background: var(--primary); color: var(--on-primary, #fff); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: .01em; }
.brand img { width: 40px; height: 40px; object-fit: contain; padding: 5px; border-radius: 8px; background: var(--primary); }
.mono { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--on-primary-rule, rgba(255,255,255,.35)); font-size: 13px; letter-spacing: .08em; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.nav a { color: var(--on-primary-soft, #d7eef4); text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 0; }
.nav a:hover { color: var(--on-primary, #fff); }

.hero { background: linear-gradient(180deg, var(--primary), color-mix(in srgb, var(--primary) 82%, #000)); color: var(--on-primary, #fff); padding: 64px 0 72px; border-bottom: 3px solid var(--gold); }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--on-primary-soft, #b9dce6); margin-bottom: 14px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; max-width: 760px; letter-spacing: -.01em; }
.lede { font-size: 17px; max-width: 640px; margin-top: 16px; color: inherit; opacity: .9; }
.band .lede { color: var(--muted); opacity: 1; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 6px; background: var(--gold); color: #142832; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn.ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.band .btn.ghost { color: var(--accent); }

.band { padding: 56px 0; }
.band.alt { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2, .page-h { font-size: 26px; line-height: 1.2; margin-bottom: 24px; color: var(--ink); }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cards li { border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: #fff; }
.cards h3 { font-size: 17px; margin-bottom: 6px; color: var(--accent); }
.cards p { color: var(--muted); font-size: 15px; }
.agents { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 8px; }
.agent { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.agent-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--line); }
.agent-photo.ph { display: grid; place-items: center; background: #e8f0f2; color: var(--accent); font-weight: 700; }
.agent-name { font-weight: 700; font-size: 17px; }
.agent-title, .agent-meta { color: var(--muted); font-size: 14px; }
.link { display: inline-block; margin-top: 8px; font-weight: 600; font-size: 14px; min-height: 24px; }
.states { margin-top: 20px; color: var(--muted); font-size: 14px; }
.contact p { color: var(--muted); }
.search { display: flex; gap: 8px; margin: 24px 0; max-width: 520px; }
.search input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; font: inherit; }
.empty { color: var(--muted); }

.site-foot { background: var(--foot, var(--primary)); color: #d7eef4; padding-top: 40px; margin-top: 0; }
.site-foot a { color: #fff; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.foot-brand { font-weight: 700; color: #fff; font-size: 16px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.fine { font-size: 12px; opacity: .75; padding-top: 24px; padding-bottom: 4px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; }
/* Texting registration (lib/texting.ts): the legal name and address, policy pages, opt-in note. */
.site-foot .legal { margin-top: 24px; font-size: 14px; color: #fff; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.sms-note { max-width: 640px; margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.policy { max-width: 720px; }
.policy h2 { font-size: 19px; margin: 32px 0 10px; }
.policy p { margin: 0 0 12px; line-height: 1.6; }
.policy .muted { color: var(--muted); font-size: 14px; }
.policy-contact { font-style: normal; line-height: 1.6; }

.neutral { background: var(--wash); }
.neutral-in { padding: 96px 16px 48px; text-align: center; }
.neutral-in h1 { font-size: 26px; margin-bottom: 8px; }
.neutral-in p { color: var(--muted); margin-top: 8px; }

/* Look (lib/look.ts): a white header, classic headings, square corners. */
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 600; font-display: swap; src: url('/_static/fonts/source-serif-4-latin-600-normal.woff2') format('woff2'); }
.look-white .top { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.look-white .nav a { color: var(--muted); }
.look-white .nav a:hover { color: var(--accent); }
.look-white .mono { border-color: var(--line); color: var(--primary); }
.look-serif .hero h1, .look-serif .band h2, .look-serif .page-h, .look-serif .cards h3, .look-serif .policy h1, .look-serif .policy h2 { font-family: 'Source Serif 4', 'Iowan Old Style', Georgia, serif; font-weight: 600; letter-spacing: -.01em; }
.look-serif .hero h1 { letter-spacing: -.015em; }
.look-square .btn, .look-square .cards li, .look-square .agent, .look-square .brand img, .look-square .search input, .look-square .preview-banner a { border-radius: 2px; }

@media (max-width: 560px) {
  .hero { padding: 44px 0 52px; }
  .band { padding: 40px 0; }
  .search { flex-direction: column; }
}

/* ---------- Unslop pass (Nov 2026) ----------
   Paper instead of white, the agency's colour as the one dark band, an engraved rosette in the hero,
   ruled lists instead of card grids, no eyebrow labels, no gold. The broker's colours and look still win. */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('/_static/fonts/figtree-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 500; font-display: swap; src: url('/_static/fonts/source-serif-4-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/_static/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
:root { --ink: #10222e; --ink-2: #47545d; --muted: #68737a; --line: rgba(16,34,46,.10); --line-2: rgba(16,34,46,.18); --wash: #f7f4ee; --card: #fdfbf7; --gold: #7d5f1e; --serif: 'Source Serif 4', Georgia, serif; --mono-f: 'IBM Plex Mono', ui-monospace, Menlo, monospace; }
body { background: var(--wash); font-size: 16px; line-height: 1.6; }
a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 4px; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, input:focus-visible { outline-color: var(--primary); }
.wrap { max-width: 1120px; padding: 0 24px; }
.preview-banner { background: #efe9df; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.preview-banner a { background: var(--ink); }

.top-in { min-height: 68px; }
.brand { font-weight: 500; font-size: 17px; letter-spacing: 0; }
.brand img { width: 32px; height: 32px; padding: 4px; border-radius: 6px; }
.mono { width: 32px; height: 32px; font: 500 12px/1 var(--serif); letter-spacing: .02em; }
.nav a { font-weight: 500; font-size: 14px; }

.hero { position: relative; overflow: hidden; background: var(--primary); padding: 88px 0 96px; border-bottom: 0; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: 50%; transform: translateY(-50%); background: url('/_static/guilloche-gold.svg') no-repeat center / contain; opacity: .22; pointer-events: none; }
.hero .wrap { position: relative; }
.eyebrow { display: none; }
.hero h1 { font-weight: 600; font-size: clamp(34px, 6vw, 60px); line-height: 1.06; letter-spacing: -.025em; max-width: 720px; }
.lede { font-size: 18px; line-height: 1.6; max-width: 600px; opacity: .82; }
.cta { gap: 10px; margin-top: 32px; }
.btn { min-height: 44px; padding: 0 18px; border-radius: 8px; background: var(--primary); color: var(--on-primary, #fff); font-weight: 500; font-size: 15px; border: 1px solid var(--primary); }
.hero .btn { background: var(--on-primary, #fff); color: var(--primary); border-color: var(--on-primary, #fff); }
.btn.ghost, .hero .btn.ghost { background: transparent; color: inherit; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 32%, transparent); }
.band .btn.ghost { color: var(--ink); border-color: var(--line-2); background: var(--card); }

.band { padding: 80px 0; }
.band.alt { background: var(--card); border-color: var(--line); }
.band h2, .page-h { font-weight: 600; font-size: clamp(26px, 4vw, 36px); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 28px; color: var(--ink); }
.band .lede { color: var(--ink-2); opacity: 1; }

/* Coverage: a ruled list, not four boxes. */
.cards { display: block; border-top: 1px solid var(--line-2); }
.cards li { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: 8px 32px; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.cards h3 { font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--ink); margin: 0; }
.cards p { color: var(--ink-2); font-size: 15px; max-width: 520px; }

/* Agents: ruled rows with the record link at the end. */
.agents { display: block; border-top: 1px solid var(--line-2); margin-top: 0; }
.agent { align-items: center; gap: 16px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
.agent > div { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: center; flex: 1; min-width: 0; }
.agent > div > * { grid-column: 1; }
.agent .link { grid-column: 2; grid-row: 1 / span 3; margin: 0; font-weight: 500; white-space: nowrap; }
.agent .link::after { content: " \2192"; }
.agent-photo { width: 48px; height: 48px; border: 1px solid var(--line-2); }
.agent-photo.ph { background: var(--card); color: var(--ink-2); font: 500 15px/1 var(--serif); }
.agent-name { font-weight: 600; font-size: 17px; }
.agent-title, .agent-meta { color: var(--muted); }
.agent-meta { font: 400 12.5px/1.6 var(--mono-f); }
.states { color: var(--ink-2); }
.contact p { color: var(--ink-2); }
.search input { border-color: var(--line-2); border-radius: 8px; background: var(--card); min-height: 48px; }
.search .btn { min-height: 48px; }

.site-foot { padding-top: 48px; }
.foot-brand { font-weight: 600; }

/* The serif look: Source Serif 4 at 500, the way the mockups show it. */
.look-serif .hero h1, .look-serif .band h2, .look-serif .page-h, .look-serif .cards h3, .look-serif .policy h1, .look-serif .policy h2, .look-serif .brand, .look-serif .agent-name { font-family: var(--serif); font-weight: 500; }
.look-serif .agent-name { font-size: 18px; }
.look-white .hero::before { opacity: .16; }
.look-square .btn, .look-square .search input { border-radius: 2px; }

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0 64px; }
  .hero::before { width: 560px; height: 560px; right: -300px; }
  .band { padding: 56px 0; }
  .cards li { grid-template-columns: 1fr; padding: 18px 0; }
  .agent > div { grid-template-columns: 1fr; }
  .agent .link { grid-column: 1; grid-row: auto; margin-top: 6px; }
}

/* Hidden pages pass (Nov 17 2026): policy pages keep one title size, a missing page, no site here. */
.band .policy h2 { font-size: 20px; line-height: 1.3; letter-spacing: -.01em; margin: 36px 0 10px; }
.band .policy .page-h { margin-bottom: 8px; }
.policy p, .policy li { color: var(--ink-2); }
.policy .muted { margin-bottom: 24px; }
.nf { max-width: 640px; padding-top: 24px; padding-bottom: 24px; }
.nf .page-h { margin-bottom: 12px; }
.nf-code { margin: 0 0 8px; font: 400 13px/20px 'IBM Plex Mono', ui-monospace, Menlo, monospace; color: var(--muted); }
.nf-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.neutral { min-height: 100vh; display: flex; flex-direction: column; }
.neutral-in { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 480px; margin: 0 auto; padding: 64px 24px 32px; text-align: center; }
.neutral-mark { width: 40px; height: 30px; margin-bottom: 24px; }
.neutral-in h1 { font: 500 30px/1.15 'Source Serif 4', Georgia, serif; letter-spacing: -.015em; color: var(--ink); margin-bottom: 0; }
.neutral-in p { font-size: 16px; line-height: 1.6; }
.neutral-links { margin-top: 24px !important; }
.neutral-links a { color: var(--ink); font-weight: 500; }
.band:has(> .nf) { min-height: calc(100vh - 360px); display: flex; align-items: center; }
