/* Palette: ui-ux-pro-max Architecture/Interior. Type scale + spacing: modelled on localsearch.com.au
   (Circular -> Figtree, a free substitute). See docs/design-system.md. */
:root {
  --bg: #fbf8f2;
  --surface: #ffffff;
  --surface-2: #f4efe6;
  --text: #13222b;
  --muted: #475866;
  --border: #e4ddd1;
  --border-strong: #13222b;
  /* Coastal palette */
  --ocean: #0b4f71;
  --ocean-600: #0e6a93;
  --ocean-soft: #e2f0f6;
  --sand: #f5e9d4;
  --eucalypt: #2f6f5e;
  --eucalypt-soft: #e2f1ec;
  --coral: #b93f12;
  --coral-soft: #fdebe2;
  --primary: var(--ocean);
  --primary-hover: #083b55;
  --on-primary: #ffffff;
  --accent: #a16207;
  --accent-bright: #f2b441;
  --accent-soft: #fbf1dd;
  --success: #15803d;
  --success-soft: #e7f5ea;
  --star: #c98a0b;
  --radius: 1.25rem;          /* LS --card-border-radius */
  --radius-sm: 0.75rem;
  --radius-pill: 100px;
  --max: 1280px;
  --page-padding: 1rem;       /* LS --page-padding */
  --card-padding: 30px;       /* LS --card-padding */
  --row-gap: 1.5rem;          /* LS --row-gap */
  --heading-gap: 1.25rem;     /* LS --section-heading-gap */
  --section-gap: 5rem;        /* LS --section-gap (desktop) */
  --fs-body: 1.125rem;
  --fs-display: 3.75rem;
  --fs-h1: 2.75rem;
  --fs-h2: 2rem;
  --fs-h3: 1.5rem;
  --fs-lg: 1.25rem;
  --fs-sm: 1rem;
  --fs-xs: 0.8125rem;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (max-width: 1024px) { :root { --section-gap: 3rem; --fs-display: 3rem; --fs-h1: 2.25rem; } }
@media (max-width: 549px) {
  :root { --section-gap: 2rem; --card-padding: 1.25rem; --fs-body: 1.0625rem; --fs-display: 2.375rem; --fs-h1: 1.875rem; --fs-h2: 1.5rem; --fs-h3: 1.25rem; --fs-lg: 1.125rem; --fs-sm: 0.9375rem; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1a21;
    --surface: #13242d;
    --surface-2: #1a2e38;
    --text: #eef3f5;
    --muted: #a9bac4;
    --border: #28404c;
    --border-strong: #eef3f5;
    --ocean: #0b4f71;
    --ocean-soft: #133a4c;
    --sand: #2a261d;
    --eucalypt: #6cc3a6;
    --eucalypt-soft: #173229;
    --coral: #f0916a;
    --coral-soft: #3a2118;
    --primary: #3ba7d6;
    --primary-hover: #66bde3;
    --on-primary: #06202d;
    --accent: #f2b441;
    --accent-soft: #3a2c10;
    --success: #4ade80;
    --success-soft: #15291c;
    --star: #f2b441;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-body)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s var(--ease); }
a:hover { color: var(--ocean-600); }
h1, h2, h3 { margin: 0 0 0.5em; font-weight: 700; line-height: 1.25; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font: 700 0.8125rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-bright); margin: 0 0 1.25rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--page-padding); padding-right: var(--page-padding); }
@media (min-width: 820px) { .wrap { padding-left: 2rem; padding-right: 2rem; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--surface); padding: 8px 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font: 800 1.625rem/1 var(--sans); letter-spacing: -0.015em; white-space: nowrap; }
.logo:hover { color: var(--text); }
.logo-mark { width: 48px; height: 48px; flex: none; }
.logo-text { position: relative; display: inline-block; padding-bottom: 10px; }
.logo-underline { position: absolute; left: -3px; bottom: -2px; width: calc(100% + 8px); height: 14px; overflow: visible; }
.logo-underline path { fill: none; stroke: var(--accent-bright); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 300; animation: logo-draw 0.9s var(--ease) 0.1s both; }
.logo-underline path + path { stroke: var(--ocean-600); stroke-width: 2; animation-delay: 0.45s; }
@keyframes logo-draw { from { stroke-dashoffset: 300; } to { stroke-dashoffset: 0; } }
.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 1rem; white-space: nowrap; padding: 10px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent-bright); }
@media (max-width: 640px) { .site-nav { gap: 16px; } .site-nav .hide-sm { display: none; } }
@media (max-width: 480px) { .site-nav .hide-xs { display: none; } }
@media (max-width: 480px) { .site-header .wrap { gap: 10px; min-height: 70px; } .logo { font-size: 1.15rem; gap: 8px; } .logo-mark { width: 36px; height: 36px; } .logo-text { padding-bottom: 7px; } .logo-underline { height: 10px; } .site-nav { gap: 12px; } .site-nav a { font-size: 0.875rem; } }

/* Breadcrumb */
.crumbs { font-size: 0.9375rem; color: var(--muted); padding-top: 18px; padding-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--border-strong); opacity: 0.35; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 0% 0%, #12769f 0%, var(--ocean) 45%, #062f45 100%); color: #fff; padding: var(--section-gap) 0; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: linear-gradient(90deg, var(--accent-bright), var(--coral) 55%, var(--eucalypt)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.hero h1 { color: #fff; font-size: var(--fs-display); line-height: 1.1; letter-spacing: -0.02em; max-width: 16ch; margin-bottom: var(--heading-gap); }
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero .lede { color: rgb(255 255 255 / 0.88); max-width: 52ch; font-size: var(--fs-lg); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-ctas .btn { min-height: 52px; padding: 0 1.5rem; font-size: 1.0625rem; }
.hero-photo { position: relative; margin: 0; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 914; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 60px rgb(0 0 0 / 0.35); }
.hero-photo figcaption { margin-top: 0.625rem; font-size: 0.8125rem; color: rgb(255 255 255 / 0.75); }
.hero-photo figcaption a { color: rgb(255 255 255 / 0.9); }
.hero-photo .photo-tag { position: absolute; left: 1rem; bottom: 3rem; display: inline-flex; align-items: center; gap: 0.5rem; background: rgb(255 255 255 / 0.94); color: var(--text); padding: 0.5rem 0.875rem; border-radius: var(--radius-pill); font-size: 0.875rem; font-weight: 700; }
.hero-photo .photo-tag svg { width: 16px; height: 16px; color: var(--coral); }
.search {
  display: flex; gap: 8px; margin-top: 1.75rem; max-width: 620px;
  background: var(--surface); border: 0; border-radius: var(--radius-pill); padding: 6px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.2);
}
.search:focus-within { outline: 3px solid var(--accent-bright); outline-offset: 2px; }
.search .btn { min-width: 120px; min-height: 48px; }
.search svg { width: 22px; height: 22px; margin: auto 0 auto 14px; flex: none; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 1.0625rem; padding: 10px 8px; outline: none; }
.search input::placeholder { color: var(--muted); }
.trustline { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; color: rgb(255 255 255 / 0.85); font-size: 0.9375rem; }
.trustline li { display: flex; align-items: center; gap: 8px; }
.trustline svg { width: 18px; height: 18px; color: #7ee2a8; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center; min-height: 44px;
  border-radius: var(--radius-pill); padding: 0 1.375rem; font: 700 1rem/1.25 var(--sans);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--border-strong); color: var(--text); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--accent-bright); color: #1d1405; }
.btn-gold:hover { background: #f6c566; color: #1d1405; }
.btn-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.55); }
.btn-light:hover { background: rgb(255 255 255 / 0.12); border-color: #fff; color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.375rem; color: #fff; font-weight: 700; text-decoration: none; min-height: 52px; padding: 0 0.5rem; }
.link-arrow:hover { color: var(--accent-bright); }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* Sections */
.section { padding-top: var(--section-gap); padding-bottom: var(--section-gap); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: var(--heading-gap); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--muted); margin: 0; font-size: var(--fs-sm); }
.rule { border-top: 1px solid var(--border); }
.band-sand { background: var(--sand); }
.band-sand .card { border-color: transparent; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.pad { padding: var(--card-padding); }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--row-gap); }
.tile { display: grid; gap: 0.75rem; padding: var(--card-padding); text-decoration: none; color: var(--text); transition: border-color 0.2s var(--ease); }
.tile:hover { border-color: var(--border-strong); color: var(--text); }
.tile .tile-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--tone-soft, var(--ocean-soft)); color: var(--tone, var(--ocean)); }
.tile svg { width: 28px; height: 28px; }
.tile { border-top: 4px solid var(--tone, var(--ocean)); }
.tone-coral { --tone: var(--coral); --tone-soft: var(--coral-soft); }
.tone-ocean { --tone: var(--ocean-600); --tone-soft: var(--ocean-soft); }
.tone-eucalypt { --tone: var(--eucalypt); --tone-soft: var(--eucalypt-soft); }
.tone-gold { --tone: var(--accent); --tone-soft: var(--accent-soft); }
.tile strong { display: block; font-size: var(--fs-lg); font-weight: 700; line-height: 1.25; }
.tile span { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 549px) { .tiles { grid-template-columns: 1fr 1fr; gap: 0.75rem; } .tile { padding: 1rem; } .tile strong { font-size: 1rem; } }

/* Trust grid */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.trust > div { background: var(--surface); border-radius: var(--radius); padding: var(--card-padding); }
.trust svg { width: 28px; height: 28px; color: var(--ocean-600); margin-bottom: 12px; }
.trust p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }

/* Badges */
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 0.25rem; font-size: var(--fs-xs); font-weight: 600;
  padding: 0.25rem 0.625rem; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--muted); white-space: nowrap;
}
.badge svg { width: 12px; height: 12px; }
.badge-featured { background: var(--accent-soft); color: var(--accent); }
.badge-local { background: var(--success-soft); color: var(--success); }

/* Monogram */
.mono {
  flex: none; width: 64px; height: 64px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: var(--ocean-soft); color: var(--ocean); font: 800 1.375rem var(--sans); border: 0;
}
.mono-lg { width: 104px; height: 104px; font-size: 2.25rem; }
.is-featured .mono { background: var(--accent-soft); color: var(--accent); }

/* Rating */
.rating { display: inline-flex; align-items: center; gap: 0.25rem; font-size: var(--fs-sm); color: var(--muted); }
.rating b { color: var(--text); font-weight: 600; }
.rating svg { width: 14px; height: 14px; fill: var(--star); }

/* Business cards: featured spans the full row, the rest sit side by side */
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--row-gap); }
.result { display: flex; flex-direction: column; padding: 0; overflow: hidden; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.result:hover { border-color: var(--ocean-600); transform: translateY(-3px); box-shadow: 0 14px 30px rgb(11 79 113 / 0.12); }
.logo-tile { display: flex; align-items: center; justify-content: center; height: 150px; padding: 1.25rem 1.5rem; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--border); text-decoration: none; }
.logo-tile.is-dark { background: #13222b; }
.logo-tile img[src$=".svg"] { width: 78%; }
.logo-tile img { display: block; max-width: 78%; max-height: 96px; width: auto; height: auto; object-fit: contain; }
.logo-tile .mono { background: var(--ocean-soft); }
.result-body { flex: 1; padding: var(--card-padding) var(--card-padding) 0; }
.result :is(h2, h3) { margin: 0.625rem 0 0.375rem; font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; }
.result :is(h2, h3) a { color: var(--text); text-decoration: none; }
.result :is(h2, h3) a:hover { color: var(--ocean-600); }
.result .meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 0.9375rem; color: var(--muted); }
.result p { color: var(--muted); font-size: 1rem; margin: 0.875rem 0 0; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.result .actions { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 1.25rem var(--card-padding) var(--card-padding); }
.result .actions .btn { flex: 1 1 auto; }
.sources-count { display: inline-flex; align-items: center; gap: 5px; }
.sources-count svg { width: 14px; height: 14px; color: var(--success); }

/* Featured: full-width, larger, horizontal */
.result.is-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr) auto; align-items: stretch; border: 2px solid var(--accent-bright); background: linear-gradient(120deg, var(--accent-soft), var(--surface) 60%); }
.result.is-featured:hover { transform: none; border-color: var(--accent); }
.result.is-featured .logo-tile { height: auto; min-height: 280px; border-bottom: 0; border-right: 1px solid var(--border); background: var(--surface); }
.result.is-featured .logo-tile img { max-width: 72%; max-height: 220px; }
.result.is-featured .result-body { padding: calc(var(--card-padding) + 6px); align-self: center; }
.result.is-featured :is(h2, h3) { font-size: var(--fs-h1); margin: 0.75rem 0 0.5rem; }
.result.is-featured p { -webkit-line-clamp: 4; line-clamp: 4; font-size: 1.0625rem; max-width: 62ch; }
.result.is-featured .actions { flex-direction: column; justify-content: center; padding: calc(var(--card-padding) + 6px); padding-left: 0; }
.result.is-featured .actions .btn { flex: none; min-width: 170px; }
@media (max-width: 960px) {
  .result.is-featured { grid-template-columns: minmax(0, 1fr); }
  .result.is-featured .logo-tile { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--border); }
  .result.is-featured .logo-tile img { max-height: 150px; }
  .result.is-featured .actions { flex-direction: row; flex-wrap: wrap; padding: 0 var(--card-padding) var(--card-padding); }
  .result.is-featured .actions .btn { flex: 1 1 auto; min-width: 0; }
}
@media (max-width: 549px) { .results { grid-template-columns: minmax(0, 1fr); } .logo-tile { height: 130px; } .logo-tile img { max-height: 84px; } }

/* Profile header logo */
.logo-tile-lg { width: 200px; height: 150px; border-radius: var(--radius-sm); border: 1px solid var(--border); padding: 1rem; }
.logo-tile-lg img { max-width: 88%; max-height: 110px; }
@media (max-width: 640px) { .logo-tile-lg { width: 100%; height: 130px; } .logo-tile-lg img { max-height: 90px; } }

/* Profile */
.profile-head { display: grid; grid-template-columns: auto 1fr; gap: var(--row-gap); align-items: start; }
.profile-head h1 { margin: 0.75rem 0 0.5rem; }
.profile-head .meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; color: var(--muted); font-size: var(--fs-sm); }
.profile-head .actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--heading-gap); }
@media (max-width: 640px) { .profile-head { grid-template-columns: 1fr; gap: 16px; } .mono-lg { width: 64px; height: 64px; font-size: 1.4rem; } }

.tabs { position: sticky; top: 84px; z-index: 4; background: var(--bg); border-bottom: 1px solid var(--border); margin-top: var(--row-gap); }
.tabs ul { list-style: none; display: flex; gap: 0.5rem; padding: 0.5rem 0; overflow-x: auto; scrollbar-width: none; }
.tabs a { display: flex; align-items: center; min-height: 2rem; padding: 0 0.9375rem; border-radius: var(--radius-pill); color: var(--muted); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; }
.tabs a:hover { color: var(--text); background: var(--surface-2); }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--row-gap); align-items: start; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.stack { display: grid; gap: var(--row-gap); min-width: 0; }
section[id] { scroll-margin-top: 160px; }
@media (max-width: 480px) { .tabs { top: 70px; } }
.card h2 { font-size: var(--fs-h2); margin-bottom: var(--heading-gap); }

.checks { list-style: none; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat;
}

.map-band { background: var(--eucalypt-soft); margin-top: var(--row-gap); padding: 3.5rem 0; }
.map-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 2.5rem; align-items: center; }
.map-band .eyebrow { color: var(--eucalypt); }
.map-band h2 { font-size: var(--fs-display); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 1rem; }
.map-band p { margin: 0 0 1rem; }
.map-band a { font-weight: 700; color: var(--eucalypt); }
.map { height: 320px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); z-index: 0; }
.map .leaflet-control-attribution { font-size: 0.75rem; }
@media (max-width: 480px) { .map .leaflet-control-attribution { max-width: calc(100vw - 64px); } }
.map-figure { margin: 0; min-width: 0; }
.map-figure figcaption { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted); text-align: right; }
.map-band .map-figure figcaption a { font-weight: 600; color: inherit; }
@media (max-width: 820px) { .map-band { padding: 2rem 0; } .map-band .wrap { grid-template-columns: 1fr; gap: 1.25rem; } .map { height: 260px; } }

.facts { display: grid; margin: 0; }
.facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts dt { color: var(--muted); font-size: 0.84rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { display: flex; align-items: center; min-height: 2rem; padding: 0 0.9375rem; border-radius: var(--radius-pill); border: 1px solid var(--border); font-size: var(--fs-sm); font-weight: 600; }
.chips a { text-decoration: none; }

.sources { list-style: none; display: grid; gap: 12px; font-size: 0.92rem; }
.sources li { display: grid; gap: 2px; }
.sources small { color: var(--muted); }
.note { font-size: var(--fs-sm); color: var(--muted); background: var(--surface-2); border-radius: var(--radius-sm); padding: 1rem 1.25rem; }
.gaps { color: var(--muted); font-size: 0.92rem; padding-left: 18px; }
.gaps li { margin-bottom: 4px; }
.muted { color: var(--muted); }

/* Sticky CTA bar (mobile) */
.cta-bar { position: sticky; bottom: 0; z-index: 4; background: var(--surface); border-top: 1px solid var(--border); display: none; }
.cta-bar .wrap { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.cta-bar strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
@media (max-width: 720px) { .cta-bar { display: block; } }

/* Footer */
.site-footer { background: #062f45; color: rgb(255 255 255 / 0.85); margin-top: 0; padding: 3rem 0 var(--section-gap); border-top: 6px solid var(--accent-bright); font-size: 0.9375rem; }
.site-footer .wrap { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h2 { font-size: 1.0625rem; font-weight: 700; color: #fff; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #ffffff; text-decoration: none; }
.site-footer a:hover { color: var(--accent-bright); }

.prose { max-width: 68ch; }
/* Info pages */
.page-head { background: var(--sand); padding: var(--section-gap) 0 calc(var(--section-gap) * 0.8); margin-bottom: var(--section-gap); border-bottom: 4px solid var(--accent-bright); }
.page-head .eyebrow { color: var(--accent); }
.page-head h1 { font-size: var(--fs-h1); margin-bottom: 0.75rem; }
.page-head .lede { color: var(--muted); font-size: var(--fs-lg); max-width: 60ch; margin: 0; }
.crumbs + .page-head { margin-top: 0; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 2.5rem; align-items: start; padding-bottom: var(--section-gap); }
.page-grid > .prose { max-width: none; }
.page-grid .prose > :first-child { margin-top: 0; }
.page-grid .prose h2 { font-size: var(--fs-h3); }
.page-grid .prose ol { padding-left: 22px; margin-bottom: 1em; }
.page-grid .prose ol li { margin-bottom: 6px; }
@media (max-width: 960px) { .page-grid { grid-template-columns: minmax(0, 1fr); } }
.side-nav { position: sticky; top: 108px; display: grid; gap: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.side-nav h2 { font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.5rem; }
.side-nav ul { list-style: none; display: grid; gap: 2px; }
.side-nav a { display: block; padding: 0.375rem 0.75rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--text); font-size: 0.9375rem; font-weight: 600; }
.side-nav a:hover { background: var(--surface-2); color: var(--text); }
.side-nav a[aria-current="page"] { background: var(--ocean-soft); color: var(--ocean); }
@media (max-width: 960px) { .side-nav { position: static; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }
.faq { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.125rem 0; font-weight: 700; font-size: var(--fs-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--ocean-soft); color: var(--ocean); font-size: 1.25rem; transition: transform 0.2s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq > div { padding: 0 0 1.125rem; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--row-gap); }
.contact-grid h2 { font-size: var(--fs-h3); }
.cat-index { border-top: 4px solid var(--tone, var(--ocean)); }
.cat-index-head { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 1.25rem; }
.cat-index-head h2 { margin: 0 0 0.25rem; font-size: var(--fs-h3); }
.cat-index-head h2 a { text-decoration: none; color: var(--text); }
.cat-index-head p { margin: 0; }
.cat-index .tile-icon { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--tone-soft); color: var(--tone); }
.cat-index .tile-icon svg { width: 28px; height: 28px; }
.footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr) !important; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .footer-brand { grid-column: 1 / -1; } }
.footer-base { display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.2); font-size: 0.875rem; color: rgb(255 255 255 / 0.78); }
.footer-base p { margin: 0; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 20px; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
