/* ==========================================================================
   BinGo — design system
   Rebuilt from bingo-handoff/reference/*.html as responsive components.
   Desktop reference 1440px, mobile reference 390px.
   ========================================================================== */

:root {
  /* colour */
  --ink: #10261F;
  --deep: #0E3B2E;
  --brand: #56BB67;
  --link: #0E6B3A;
  --link-hover: #0A4F2B;
  --lime: #C8F169;
  --page: #F6F8F3;
  --tint: #E8EFE4;
  --chip: #EEF3EA;
  --card: #FFFFFF;
  --line: #E1E8DE;
  --input-line: #D5DED1;
  --muted: #5A6D64;
  --muted-2: #8A9C92;
  --body-2: #44584F;
  --eyebrow: #3C5A4E;
  --on-dark: #D5E4D8;
  --on-dark-2: #DCE8DF;
  --on-dark-3: #C9E6CF;
  --danger: #B4412F;
  --star: #E7A83B;

  /* type */
  --font-display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --font-accent: 'Instrument Serif', Georgia, serif;
  --font-body: 'Figtree', system-ui, -apple-system, sans-serif;
  --tracking-display: -0.02em;

  /* shape */
  --radius-section: 32px;
  --radius-card: 20px;
  --radius-image: 16px;
  --radius-pill: 999px;

  /* spacing */
  --gutter: 48px;
  --section-gap: 112px;
  --btn-h: 52px;
  --btn-h-sm: 44px;
  --maxw: 1440px;
}

@media (max-width: 900px) {
  :root {
    --gutter: 16px;
    --section-gap: 72px;
    --radius-section: 24px;
  }
}

/* --------------------------------------------------------------- base --- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  color: var(--ink);
}
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }

button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
  border-radius: 4px;
}
.on-dark :focus-visible, .hero :focus-visible, .site-footer :focus-visible {
  outline-color: var(--lime);
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--ink);
  padding: 12px 20px; border-radius: var(--radius-pill); font-weight: 700;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------- typography --- */

.it {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--link);
}
.on-dark .it, .hero .it, .site-footer .it { color: var(--lime); }

.h1 { font-size: clamp(38px, 6.2vw, 84px); line-height: .98; }
.h1 .it { font-size: 1.1em; }
.h2 { font-size: clamp(32px, 3.9vw, 52px); line-height: 1.02; }
.h2 .it { font-size: 1.08em; }
.h3 { font-size: clamp(22px, 1.8vw, 26px); line-height: 1.15; }

.lead { font-size: clamp(16px, 1.2vw, 17px); line-height: 1.6; color: var(--body-2); }
.on-dark .lead { color: var(--on-dark-2); }

.eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--eyebrow);
}
.eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand); flex-shrink: 0;
}
.on-dark .eyebrow { color: var(--on-dark-3); }

.muted { color: var(--muted); }

/* ------------------------------------------------------------- layout --- */

.wrap {
  width: 100%; max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-top: var(--section-gap); }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }

/* A scroller that bleeds to the right edge but keeps the left gutter. */
.bleed-right {
  padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  padding-right: var(--gutter);
}

/* ------------------------------------------------------------ buttons --- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: var(--btn-h); padding: 0 6px 0 22px;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 15px; line-height: 1;
  border: 0; cursor: pointer; white-space: nowrap; flex-wrap: nowrap;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(.96); }
.btn:active { transform: translateY(1px); }
.btn .ic {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime .ic { background: var(--ink); color: var(--lime); }
.btn-dark { background: var(--deep); color: #fff; }
.btn-dark .ic { background: var(--lime); color: var(--ink); }
.btn-dark:hover { color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white .ic { background: var(--deep); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border: 1px solid var(--input-line); }
.btn-plain {
  background: transparent; color: inherit; padding: 0 4px;
  height: var(--btn-h-sm);
  text-decoration: underline; text-underline-offset: 4px;
}
.btn-sm { height: var(--btn-h-sm); padding: 0 5px 0 16px; font-size: 14px; }
.btn-sm .ic { width: 34px; height: 34px; }
.btn-solo { padding-inline: 22px; }
.btn-sm.btn-solo { padding-inline: 16px; }
.btn-full { width: 100%; justify-content: space-between; }

.iconbtn {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--input-line); background: #fff; color: var(--ink);
  cursor: pointer; padding: 0;
  transition: background .15s ease, color .15s ease;
}
.iconbtn:hover { background: var(--chip); color: var(--ink); }
.iconbtn.dk { background: var(--deep); border-color: var(--deep); color: var(--lime); }
.iconbtn.dk:hover { background: #0a2d23; color: var(--lime); }
.iconbtn[disabled] { opacity: .4; cursor: not-allowed; }

/* -------------------------------------------------- chips and badges --- */

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px; border-radius: var(--radius-pill);
  background: var(--chip); color: #26463A;
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
a.chip:hover { background: #E2EADD; color: #26463A; }
.chip.on { background: var(--deep); color: #fff; }
.chip.lime { background: var(--lime); color: var(--ink); }
.chip.ghost { background: rgba(255,255,255,.14); color: #fff; }
a.chip.ghost:hover { background: rgba(255,255,255,.24); color: #fff; }

.vbadge {
  display: inline-flex; align-items: center; gap: 4px;
  height: 26px; padding: 0 10px; border-radius: var(--radius-pill);
  background: #E3F5E6; color: var(--link);
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--link); letter-spacing: .02em;
  text-transform: uppercase;
}
.stars { display: inline-flex; gap: 2px; color: var(--star); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ------------------------------------------------------------- fields --- */

.field { display: flex; flex-direction: column; gap: 8px; }
.field > label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  height: 52px; border-radius: 14px;
  border: 1px solid var(--input-line); background: var(--page);
  padding: 0 16px; width: 100%;
}
.field textarea { height: 120px; padding: 14px 16px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2310261F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 42px;
}
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #26463A; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--link); margin: 0; flex-shrink: 0; }

.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-size: 14px; color: #26463A; font-weight: 600; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle .track {
  width: 42px; height: 24px; border-radius: 999px; background: var(--input-line);
  position: relative; flex-shrink: 0; transition: background .15s ease;
}
.toggle .track::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  transition: transform .15s ease;
}
.toggle input:checked + .track { background: var(--brand); }
.toggle input:checked + .track::after { transform: translateX(18px); }
.toggle input:focus-visible + .track { outline: 3px solid var(--link); outline-offset: 2px; }

/* -------------------------------------------------------------- media --- */

.media { position: relative; overflow: hidden; background: #CBD8C8; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--fill { position: absolute; inset: 0; }

/* ------------------------------------------------------------- header --- */

.site-header { padding-top: 16px; }
.site-header--plain { padding-bottom: 8px; }

.navbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border-radius: var(--radius-pill);
  padding: 8px 8px 8px 22px;
  box-shadow: 0 1px 0 rgba(16,38,31,.06);
}
.navbar .brand { display: flex; align-items: center; flex-shrink: 0; }
.navbar .brand img { height: 40px; width: auto; }

.navlinks { display: flex; gap: 4px; align-items: center; }
.navlinks a {
  color: var(--ink); font-size: 14px; font-weight: 600;
  padding: 10px 14px; border-radius: var(--radius-pill);
}
.navlinks a:hover { background: var(--chip); color: var(--ink); }
.navlinks a[aria-current="page"] { background: var(--lime); }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-actions .nav-list-link {
  font-size: 14px; font-weight: 700; color: var(--ink); padding: 10px 14px;
  border-radius: var(--radius-pill); white-space: nowrap;
}
.nav-actions .nav-list-link:hover { background: var(--chip); }
.nav-toggle { display: none; }

@media (max-width: 1100px) {
  .navbar { padding: 6px 6px 6px 16px; }
  .navbar .brand img { height: 32px; }
  .navlinks, .nav-actions .nav-list-link, .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile menu panel */
.nav-panel {
  display: none;
  margin-top: 8px; padding: 16px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 24px;
}
.nav-panel[data-open="true"] { display: block; }
.nav-panel ul { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.nav-panel ul a {
  display: block; padding: 12px 14px; border-radius: 14px;
  font-size: 16px; font-weight: 600; color: var(--ink);
}
.nav-panel ul a:hover { background: var(--chip); }
.nav-panel ul a[aria-current="page"] { background: var(--lime); }
.nav-panel .btn { width: 100%; justify-content: space-between; }
@media (min-width: 1101px) { .nav-panel { display: none !important; } }

/* --------------------------------------------------------------- hero --- */

.hero {
  position: relative; overflow: hidden;
  border-radius: var(--radius-section);
  display: flex; flex-direction: column;
  min-height: 780px;
  color: #fff;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,32,24,.86) 0%, rgba(8,32,24,.5) 48%, rgba(8,32,24,.1) 100%);
}
.hero > *:not(.media) { position: relative; z-index: 1; }
.hero .hero-nav { padding: 20px 20px 0; }
.hero-body {
  margin-top: auto; padding: 0 56px 56px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.hero h1 { color: #fff; }
.hero-sub { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--on-dark-2); max-width: 600px; }
.hero-popular { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hero-popular .label { color: #C9DACD; font-size: 13px; font-weight: 600; }

.hero-cta {
  display: flex; flex-direction: column; gap: 14px;
  width: 290px; flex-shrink: 0; padding: 20px; border-radius: 24px;
  background: rgba(8,32,24,.55); border: 1px solid rgba(255,255,255,.25);
  color: #fff; backdrop-filter: blur(4px);
}
.hero-cta:hover { background: rgba(8,32,24,.7); color: #fff; }
.hero-cta .row { display: flex; align-items: center; gap: 14px; }
.hero-cta img { width: 64px; height: auto; }
.hero-cta .title { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.1; }
.hero-cta p { font-size: 14px; line-height: 1.5; color: var(--on-dark-2); }
.hero-cta .more { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--lime); font-size: 14px; }

@media (max-width: 1100px) {
  .hero { min-height: 0; }
  .hero::after { background: linear-gradient(180deg, rgba(8,32,24,.82) 0%, rgba(8,32,24,.6) 45%, rgba(8,32,24,.9) 100%); }
  .hero .hero-nav { padding: 10px 10px 0; }
  .hero-body { flex-direction: column; align-items: stretch; padding: 56px 20px 24px; gap: 24px; }
  .hero-cta { width: 100%; }
}

/* Search bar (hero + directory) */
.searchbar {
  display: flex; align-items: center; gap: 0;
  background: #fff; border-radius: var(--radius-pill); padding: 6px;
  max-width: 760px; width: 100%;
}
.searchbar .sf {
  display: flex; align-items: center; gap: 10px;
  padding: 0 18px; height: 52px; color: var(--ink); min-width: 0;
}
.searchbar .sf--what { flex: 1 1 auto; }
.searchbar .sf--where { flex: 0 1 190px; }
.searchbar .sf > span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.searchbar .sf .cap {
  font-size: 11px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em;
}
.searchbar input {
  border: 0; outline: 0; font-family: inherit; font-size: 15px;
  padding: 0; width: 100%; background: transparent; color: var(--ink);
  min-width: 0;
}
.searchbar .div { width: 1px; height: 36px; background: var(--line); flex-shrink: 0; }
.searchbar .btn { height: 56px; flex-shrink: 0; }

@media (max-width: 900px) {
  .searchbar { flex-direction: column; align-items: stretch; border-radius: 24px; padding: 8px; gap: 4px; }
  .searchbar .sf { padding: 4px 12px; }
  .searchbar .div { width: auto; height: 1px; align-self: stretch; }
  .searchbar .btn { width: 100%; justify-content: center; height: 52px; }
  .searchbar .sf--where { flex: 1 1 auto; }
}

/* --------------------------------------------------------- city strip --- */

.citystrip { display: flex; align-items: center; gap: 40px; }
.citystrip .label {
  font-size: 13px; font-weight: 700; color: var(--eyebrow);
  white-space: nowrap; text-transform: uppercase; letter-spacing: .1em;
}
.citystrip .cities {
  display: flex; gap: 28px; flex: 1;
  justify-content: space-between; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.citystrip .cities::-webkit-scrollbar { display: none; }
.citystrip .cities a {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600; color: var(--muted-2); white-space: nowrap;
}
.citystrip .cities a:hover { color: var(--link); }
@media (max-width: 900px) {
  .citystrip { flex-direction: column; align-items: flex-start; gap: 12px; }
  .citystrip .cities { justify-content: flex-start; width: 100%; }
}

/* -------------------------------------------------------- about block --- */

.about-grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 72px; align-items: start; }
.about-grid .media { height: 300px; border-radius: 24px; }
.about-col { display: flex; flex-direction: column; gap: 16px; }
.about-body { display: flex; flex-direction: column; gap: 32px; padding-top: 36px; }
.about-statement {
  font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.25; letter-spacing: var(--tracking-display); font-weight: 500;
}
.about-statement .dim { color: var(--muted-2); }
.about-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.socials { display: flex; gap: 8px; }
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-body { padding-top: 0; gap: 24px; }
}

/* ------------------------------------------------------ section header --- */

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}
.section-head .left { display: flex; flex-direction: column; gap: 18px; }
.section-head .right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 18px; max-width: 380px;
}
.section-head .right .lead { text-align: right; }
.carousel-nav { display: flex; gap: 8px; }
@media (max-width: 900px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head .right { align-items: flex-start; max-width: none; }
  .section-head .right .lead { text-align: left; }
}

/* ----------------------------------------------------------- scroller --- */

.scroller {
  display: flex; gap: 16px; margin-top: 40px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; flex-shrink: 0; }

/* ----------------------------------------------------- category card --- */

.cat-card {
  position: relative; width: 268px; height: 400px;
  border-radius: 24px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
}
.cat-card:hover { color: #fff; }
.cat-card:hover img { transform: scale(1.04); }
.cat-card img { transition: transform .4s ease; }
.cat-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,32,24,0) 35%, rgba(8,32,24,.9) 100%);
}
.cat-card .icon {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.cat-card .body { position: relative; z-index: 2; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.cat-card h3 { color: #fff; font-size: 21px; }
.cat-card p { font-size: 14px; line-height: 1.45; color: var(--on-dark-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-card .browse {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  height: 38px; padding: 0 5px 0 14px; border-radius: var(--radius-pill);
  background: #fff; color: var(--ink); font-size: 13px; font-weight: 700;
}
.cat-card .browse i {
  width: 28px; height: 28px; border-radius: 50%; background: var(--deep); color: var(--lime);
  display: flex; align-items: center; justify-content: center;
}
.cat-card .count { font-size: 13px; color: var(--on-dark-3); font-weight: 600; }

/* ------------------------------------------------------- how it works --- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.step { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.step .num { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.step h3 { font-size: 22px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--body-2); }
.step .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.step .media { height: 150px; border-radius: var(--radius-image); margin-top: auto; }

.step-wide {
  margin-top: 16px; background: var(--deep); color: #fff;
  border-radius: 24px; padding: 40px;
  display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 40px; align-items: center;
}
.step-wide h3 { color: #fff; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.step-wide p { color: var(--on-dark-2); font-size: 15px; line-height: 1.6; }
.step-wide .inner { display: flex; flex-direction: column; gap: 16px; }
.step-wide .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.review-preview { background: #fff; color: var(--ink); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.review-preview .who { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.review-preview .who .av { width: 34px; height: 34px; border-radius: 50%; background: var(--chip); display: flex; align-items: center; justify-content: center; color: var(--link); }

@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr; }
  .step-wide { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
}

/* ------------------------------------------------------- article card --- */

.article-card { display: flex; flex-direction: column; gap: 12px; width: 300px; }
.article-card .media { height: 200px; border-radius: var(--radius-image); }
.article-card h3 { font-size: 18px; line-height: 1.25; }
.article-card p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.article-card .meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 24px; }
.article-grid .article-card { width: auto; }

/* ------------------------------------------------------------ pricing --- */

.pricing {
  background: var(--deep); color: #fff; border-radius: var(--radius-section);
  padding: clamp(24px, 4vw, 64px);
}
.pricing .section-head .lead { color: var(--on-dark-2); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.plan {
  background: #fff; border-radius: var(--radius-card); padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.plan.featured { outline: 3px solid var(--lime); }
.plan .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan .name { font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.plan .price { font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1; }
.plan .per { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan .blurb { font-size: 14px; color: var(--body-2); line-height: 1.5; }
.plan ul { display: flex; flex-direction: column; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: #26463A; }
.plan li svg { flex-shrink: 0; margin-top: 2px; color: var(--link); }
.plan .btn { margin-top: auto; }
@media (max-width: 1100px) { .plans { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- faq --- */

.faq-grid { display: grid; grid-template-columns: 340px minmax(0,1fr); gap: 40px; margin-top: 40px; align-items: start; }
.faq-aside { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.faq-aside img { width: 96px; height: auto; }
.faq-aside h3 { font-size: 24px; line-height: 1.15; }
.faq-aside p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); }
.faq-item[open] { outline: 2px solid var(--lime); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 20px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  letter-spacing: var(--tracking-display);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .mark {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--chip); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.faq-item[open] summary .mark { background: var(--deep); color: var(--lime); }
.faq-item[open] summary .mark .v { display: none; }
.faq-item .answer { padding: 0 20px 20px; font-size: 15px; line-height: 1.6; color: var(--body-2); max-width: 70ch; }
@media (max-width: 1100px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- prose box --- */

.knowhow { display: grid; grid-template-columns: 420px minmax(0,1fr); gap: 72px; align-items: start; }
.knowhow .media { height: 360px; border-radius: 24px; }
.knowhow .cols { column-count: 2; column-gap: 40px; }
.knowhow .cols p { font-size: 15px; line-height: 1.7; color: var(--body-2); margin-bottom: 16px; break-inside: avoid; }
@media (max-width: 1100px) { .knowhow { grid-template-columns: 1fr; gap: 24px; } .knowhow .cols { column-count: 1; } }

/* ---------------------------------------------------------- list form --- */

.listform {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-section);
  padding: clamp(24px, 4vw, 56px);
  display: grid; grid-template-columns: 420px minmax(0,1fr); gap: 56px; align-items: start;
}
.listform .intro { display: flex; flex-direction: column; gap: 16px; }
.listform .intro img { width: 120px; height: auto; margin-top: 8px; }
.listform .badges { display: flex; flex-wrap: wrap; gap: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .span2 { grid-column: 1 / -1; }
@media (max-width: 1100px) { .listform { grid-template-columns: 1fr; gap: 24px; } .form-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- footer --- */

.site-footer { margin-top: var(--section-gap); padding-bottom: 16px; }
.footer-inner {
  background: var(--deep); color: var(--on-dark);
  border-radius: var(--radius-section);
  padding: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) 0;
  overflow: hidden;
}
.footer-top { display: grid; grid-template-columns: 340px repeat(4, minmax(0,1fr)); gap: 40px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: var(--on-dark); max-width: 34ch; }
.footer-col h4 { color: var(--lime); font-size: 14px; font-weight: 700; margin-bottom: 14px; letter-spacing: 0; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--on-dark); font-size: 14px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--on-dark); margin-bottom: 10px; }
.footer-socials { display: flex; gap: 8px; margin-top: 16px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); color: var(--on-dark);
  display: flex; align-items: center; justify-content: center;
}
.footer-socials a:hover { background: rgba(255,255,255,.12); color: #fff; }
.footer-legal {
  margin-top: 40px; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #A9C3B2;
}
.wordmark {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(90px, 20vw, 300px); line-height: .78;
  letter-spacing: -0.03em; text-align: center;
  background: linear-gradient(180deg, #56BB67 0%, rgba(86,187,103,0) 88%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  margin-top: 8px; user-select: none;
}
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- newsletter --- */

.newsletter {
  background: var(--lime); border-radius: var(--radius-section);
  padding: clamp(24px, 3vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.newsletter .copy { display: flex; align-items: center; gap: 20px; }
.newsletter img { width: 72px; height: auto; flex-shrink: 0; }
.newsletter h2 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; }
.newsletter .it { color: var(--ink); }
.newsletter p { font-size: 14px; color: #2A4536; margin-top: 6px; }
.newsletter form { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: var(--radius-pill); padding: 6px; flex-shrink: 0; }
.newsletter input { border: 0; outline: 0; font-family: inherit; font-size: 15px; padding: 0 16px; height: 44px; background: transparent; min-width: 200px; }
@media (max-width: 900px) {
  .newsletter { flex-direction: column; align-items: stretch; }
  .newsletter form { flex-direction: column; align-items: stretch; border-radius: 20px; }
  .newsletter input { min-width: 0; }
  .newsletter .btn { justify-content: center; }
}

/* -------------------------------------------------------- promo strip --- */

.promo {
  background: var(--deep); color: #fff; border-radius: 24px;
  padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.promo .copy { display: flex; align-items: center; gap: 16px; }
.promo img { width: 56px; height: auto; flex-shrink: 0; }
.promo h3 { color: #fff; font-size: 20px; }
.promo p { font-size: 14px; color: var(--on-dark-2); margin-top: 4px; }
@media (max-width: 900px) { .promo { flex-direction: column; align-items: stretch; } .promo .btn { justify-content: space-between; } }

/* ========================================================================
   Directory page
   ======================================================================== */

.page-hero {
  background: var(--deep); color: #fff;
  border-radius: var(--radius-section);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 40px) clamp(24px, 3vw, 36px);
  margin-top: 16px;
}
.page-hero .navbar { margin-bottom: clamp(24px, 3vw, 40px); }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.02; }
.page-hero .lead { color: var(--on-dark-2); max-width: 46ch; }
.page-hero-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; margin-top: 20px;
}
.page-hero-row .left { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
@media (max-width: 1100px) { .page-hero-row { flex-direction: column; align-items: stretch; gap: 20px; } }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--link); text-decoration: underline; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: '/'; color: var(--muted-2); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }
.page-hero .breadcrumbs, .page-hero .breadcrumbs a { color: #A9C3B2; }
.page-hero .breadcrumbs [aria-current="page"] { color: #fff; }
.page-hero .breadcrumbs a:hover { color: var(--lime); }

.catpills { display: flex; gap: 8px; margin-top: 24px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.catpills::-webkit-scrollbar { display: none; }

.dir-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 32px; align-items: start; margin-top: 32px; }
@media (max-width: 1100px) { .dir-layout { grid-template-columns: 1fr; gap: 16px; } }

.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; position: sticky; top: 16px; }
.filters .head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.filters .sheet-close { display: none; width: 36px; height: 36px; }
.filters .head h2 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.filters .clear { font-size: 13px; font-weight: 600; background: none; border: 0; color: var(--link); cursor: pointer; padding: 4px; }
.fgroup { padding-bottom: 20px; }
.fgroup h3 { font-size: 13px; font-weight: 700; margin-bottom: 10px; letter-spacing: 0; }
.fgroup .opts { display: flex; flex-direction: column; gap: 9px; max-height: 240px; overflow-y: auto; }
.filters .toggle { padding: 10px 0; border-top: 1px solid var(--line); }
.filters .btn { margin-top: 16px; }

.filters-bar { display: none; gap: 8px; }
.filters-bar .btn { flex: 1; justify-content: center; gap: 8px; }
@media (max-width: 1100px) {
  .filters-bar { display: flex; }
  .filters {
    position: fixed; inset: auto 0 0 0; z-index: 60;
    border-radius: 24px 24px 0 0; max-height: 86vh; overflow-y: auto;
    transform: translateY(100%); transition: transform .25s ease;
    box-shadow: 0 -8px 40px rgba(16,38,31,.2);
  }
  .filters[data-open="true"] { transform: translateY(0); }
  .filters .sheet-close { display: inline-flex; }
  .filters .head { position: sticky; top: 0; background: #fff; padding-bottom: 12px; z-index: 1; }
  .filter-backdrop { position: fixed; inset: 0; background: rgba(16,38,31,.5); z-index: 59; }
  .filter-backdrop[hidden] { display: none; }
}


.results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.results-count { font-size: 15px; }
.results-count strong { font-weight: 700; }
.results-tools { display: flex; align-items: center; gap: 10px; }
.results-tools label { font-size: 13px; font-weight: 600; color: var(--muted); }
.results-tools select { height: 40px; font-size: 14px; border-radius: var(--radius-pill); border: 1px solid var(--input-line); background: #fff; padding: 0 34px 0 14px; font-family: inherit; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2310261F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }

.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1280px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .results-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- listing card --- */

.lcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.lcard .thumb { position: relative; height: 150px; }
.lcard .thumb .vbadge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.lcard .save {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.lcard .save[aria-pressed="true"] { background: var(--lime); }
.lcard .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lcard .toprow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lcard h3 { font-size: 18px; line-height: 1.2; }
.lcard h3 a { color: var(--ink); }
.lcard h3 a:hover { color: var(--link); }
.lcard .where { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.lcard .desc { font-size: 14px; line-height: 1.5; color: var(--body-2); }
.lcard .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lcard .chips .chip { height: 28px; font-size: 12px; padding: 0 10px; }
.lcard .foot {
  margin-top: auto; padding: 12px 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.lcard .foot .status { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.lcard .foot .acts { display: flex; gap: 8px; }
.lcard .foot .iconbtn { width: 38px; height: 38px; }

.lcard--featured {
  grid-column: 1 / -1; outline: 2px solid var(--lime);
  display: grid; grid-template-columns: 300px minmax(0,1fr); overflow: hidden;
}
.lcard--featured .thumb { height: 100%; min-height: 200px; }
.lcard--featured .body { padding: 20px 24px; gap: 10px; }
.lcard--featured h3 { font-size: clamp(22px, 2vw, 28px); }
.lcard--featured .foot { border-top: 0; padding: 0 24px 20px; justify-content: flex-start; }
.lcard--featured .fbadge { position: absolute; top: 10px; left: 10px; z-index: 2; }
@media (max-width: 720px) { .lcard--featured { grid-template-columns: 1fr; } .lcard--featured .thumb { min-height: 150px; height: 150px; } }

.empty-state { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 40px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-state img { width: 90px; height: auto; }
.empty-state h3 { font-size: 22px; }
.empty-state p { color: var(--muted); font-size: 15px; max-width: 46ch; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 32px; }
.pagination button, .pagination a {
  min-width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--input-line);
  background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 12px;
}
.pagination [aria-current="page"] { background: var(--deep); border-color: var(--deep); color: #fff; }

.tips { display: grid; grid-template-columns: 340px repeat(3, minmax(0,1fr)); gap: 24px; align-items: start; }
.tip { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.tip .icon { width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.tip h3 { font-size: 17px; }
.tip p { font-size: 14px; line-height: 1.5; color: var(--body-2); }
@media (max-width: 1100px) { .tips { grid-template-columns: 1fr; } }

.popular-searches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ========================================================================
   Listing detail page
   ======================================================================== */

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 400px; margin-top: 8px; }
.gallery > * { border-radius: var(--radius-image); overflow: hidden; position: relative; }
.gallery > :first-child { grid-row: 1 / 3; }
.gallery--single { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 360px; }
.gallery .more-photos { position: absolute; right: 12px; bottom: 12px; z-index: 2; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 100px; height: auto; }
  .gallery > :first-child { grid-row: 1; grid-column: 1 / -1; }
  .gallery > :nth-child(n+4) { display: none; }
  /* A lone photo keeps one row, or the second row leaves a gap below it. */
  .gallery--single { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 220px; }
}

.listing-head { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.listing-head .badges { display: flex; flex-wrap: wrap; gap: 8px; }
.listing-head h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; }
.listing-head .facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.listing-head .facts span { display: flex; align-items: center; gap: 6px; }
.listing-head .topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.listing-head .topline .acts { display: flex; gap: 8px; flex-shrink: 0; }
/* column-reverse lifts the share/save row above the title so a long business
   name gets the full width instead of wrapping to four lines. */
@media (max-width: 560px) {
  .listing-head .topline { flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
}

.jumpnav { display: flex; gap: 8px; margin-top: 24px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.jumpnav::-webkit-scrollbar { display: none; }

.listing-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 40px; align-items: start; margin-top: 28px; }
@media (max-width: 1100px) { .listing-layout { grid-template-columns: 1fr; gap: 24px; } .listing-aside { order: 2; } }

.lblock { margin-bottom: 40px; scroll-margin-top: 24px; }
.lblock > h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 16px; }
.lblock p { font-size: 15px; line-height: 1.7; color: var(--body-2); max-width: 70ch; }

.accepts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.accepts-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; }
.accepts-col h3 { font-size: 15px; margin-bottom: 12px; color: var(--link); }
.accepts-col.no h3 { color: var(--danger); }
.accepts-col li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: #26463A; margin-bottom: 9px; }
.accepts-col li svg { flex-shrink: 0; margin-top: 2px; color: var(--link); }
.accepts-col.no li svg { color: var(--danger); }
@media (max-width: 720px) { .accepts-grid { grid-template-columns: 1fr; } }

.datatable { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; width: 100%; border-collapse: collapse; }
.datatable td, .datatable th { padding: 14px 20px; font-size: 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.datatable tr:last-child td, .datatable tr:last-child th { border-bottom: 0; }
.datatable th { font-weight: 700; }
.datatable .use { color: var(--muted); }
.datatable .price { text-align: right; font-weight: 700; white-space: nowrap; }
.table-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
@media (max-width: 640px) { .datatable .use { display: none; } }

.arealist { display: flex; flex-wrap: wrap; gap: 8px; }

.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 16px; }
.contact-card h2 { font-size: 19px; }
.contact-card .open { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--link); }
.contact-card .open i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.contact-card .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.contact-card .row2 .btn { justify-content: center; gap: 8px; }
.contact-card .addr { display: flex; gap: 8px; font-size: 13px; color: var(--body-2); line-height: 1.5; }
.contact-card .note { font-size: 12px; color: var(--muted); }
.contact-card .map { height: 160px; border-radius: var(--radius-image); overflow: hidden; border: 1px solid var(--line); }
.contact-card .map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-card .maplink { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
@media (max-width: 1100px) { .contact-card { position: static; } }

.claim {
  background: var(--tint); border-radius: var(--radius-card); padding: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.claim .copy { display: flex; align-items: center; gap: 14px; }
.claim img { width: 48px; height: auto; }
.claim h3 { font-size: 16px; }
.claim p { font-size: 14px; color: var(--muted); margin-top: 2px; }
@media (max-width: 720px) { .claim { flex-direction: column; align-items: stretch; } }

.sourced { font-size: 13px; color: var(--muted); margin-top: 8px; }
.sourced a { text-decoration: underline; }

.notice {
  display: flex; gap: 10px; align-items: flex-start;
  background: #FFF6E8; border: 1px solid #F0DDBC; border-radius: 14px;
  padding: 14px 16px; font-size: 14px; line-height: 1.5; color: #6A4A16;
}
.notice svg { flex-shrink: 0; margin-top: 2px; color: #B0801F; }

/* ========================================================================
   Article page
   ======================================================================== */

.article-hero { text-align: center; max-width: 900px; margin: 0 auto; padding-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.article-hero .breadcrumbs { justify-content: center; margin-bottom: 0; }
.article-hero h1 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.06; }
.article-hero .standfirst { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--body-2); max-width: 62ch; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.article-meta .byline { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.article-meta .byline img { width: 24px; height: auto; }
.article-meta span { display: flex; align-items: center; gap: 6px; }

.article-hero-media { height: clamp(220px, 34vw, 480px); border-radius: 24px; margin-top: 32px; }

.article-layout { display: grid; grid-template-columns: 220px minmax(0,1fr) 300px; gap: 48px; align-items: start; margin-top: 48px; }
/* Selectors here are scoped to .article-layout so they outrank the base
   .article-toc / .article-aside rules declared below. */
@media (max-width: 1240px) {
  .article-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 32px; }
  .article-layout .article-toc { display: none; }
}
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-layout .article-aside { order: 2; position: static; }
}

.article-toc { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 24px; }
.article-toc h2 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 12px; }
.article-toc ul { display: flex; flex-direction: column; gap: 10px; }
.article-toc a { font-size: 14px; color: var(--body-2); line-height: 1.35; display: block; }
.article-toc a:hover, .article-toc a.active { color: var(--link); font-weight: 600; }
.article-share { display: flex; gap: 8px; }
.article-share a, .article-share button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--input-line); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.article-share a:hover, .article-share button:hover { background: var(--chip); }

/* Prose */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 20px; }
.prose p { font-size: 17px; line-height: 1.72; color: #223A31; }
.prose .intro { font-size: 19px; line-height: 1.65; color: var(--ink); }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; margin-top: 44px; scroll-margin-top: 24px; }
.prose h3 { font-size: clamp(19px, 1.7vw, 22px); margin-top: 32px; scroll-margin-top: 24px; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { display: flex; flex-direction: column; gap: 10px; padding-left: 4px; }
.prose li { font-size: 17px; line-height: 1.65; color: #223A31; display: flex; gap: 12px; }
.prose ul li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex-shrink: 0; margin-top: 11px; }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before { content: counter(n) '.'; color: var(--link); font-weight: 700; flex-shrink: 0; }
.prose blockquote, .pullquote {
  background: var(--deep); color: #fff; border-radius: 20px;
  padding: 28px 32px; margin-top: 32px;
  font-family: var(--font-accent); font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.3;
}
.prose blockquote p { color: #fff; font-family: inherit; font-size: inherit; line-height: inherit; }
.prose figure { margin: 32px 0 0; }
.prose figure img { border-radius: var(--radius-image); width: 100%; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Context slider — the sourced background box */
.context-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; margin-top: 32px; }
.context-box h2 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--eyebrow); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.context-box h2::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.context-box ol { counter-reset: c; display: flex; flex-direction: column; gap: 14px; }
.context-box li { counter-increment: c; display: flex; gap: 12px; font-size: 14px; line-height: 1.6; color: var(--body-2); }
.context-box li::before {
  content: counter(c); flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%; background: var(--chip); color: var(--link);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.context-box .src { display: block; margin-top: 4px; font-size: 13px; }
.context-box .src a { text-decoration: underline; word-break: break-word; }

/* Quick-guide three column callout */
.quickguide { background: var(--tint); border-radius: var(--radius-card); padding: 20px; margin-top: 32px; }
.quickguide > h3 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 14px; }
.quickguide .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qcol { background: #fff; border-radius: 14px; padding: 14px; }
.qcol h4 { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 10px; }
.qcol h4 i { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--link); color: #fff; flex-shrink: 0; }
.qcol.warn h4 i { background: var(--danger); }
.qcol.neutral h4 i { background: var(--deep); }
.qcol li { font-size: 13px; line-height: 1.5; color: var(--body-2); margin-bottom: 7px; padding-left: 14px; position: relative; }
.qcol li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--muted-2); }
@media (max-width: 720px) { .quickguide .cols { grid-template-columns: 1fr; } }

/* Services mentioned */
.mentioned { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; margin-top: 32px; }
.mentioned .head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.mentioned .head h3 { font-size: 15px; }
.mentioned ul { display: flex; flex-direction: column; gap: 8px; }
.mentioned li a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; color: var(--ink); }
.mentioned li a:hover { background: var(--chip); color: var(--ink); }
.mentioned .nm { font-weight: 700; font-size: 15px; }
.mentioned .sub { font-size: 13px; color: var(--muted); }
.mentioned .go { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--deep); color: var(--lime); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.author-box { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 16px 20px; margin-top: 24px; }
.author-box img { width: 44px; height: auto; }
.author-box h3 { font-size: 15px; }
.author-box p { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Article sidebar */
.article-aside { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 16px; }
.aside-search { background: var(--deep); color: #fff; border-radius: var(--radius-card); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.aside-search img { width: 44px; height: auto; }
.aside-search h3 { color: #fff; font-size: 20px; line-height: 1.15; }
.aside-search .it, .step-wide .it, .empty-state .it { color: var(--lime); }
.aside-search .field > label { color: var(--on-dark-2); }
.aside-search .field input, .aside-search .field select { background: #fff; border-color: transparent; height: 44px; }
.aside-search .btn { justify-content: space-between; }
.aside-popular { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; }
.aside-popular h3 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 14px; }
.aside-popular ol { counter-reset: p; display: flex; flex-direction: column; gap: 14px; }
.aside-popular li { counter-increment: p; display: flex; gap: 12px; }
.aside-popular li::before { content: counter(p); color: var(--brand); font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.2; }
.aside-popular a { font-size: 14px; line-height: 1.35; color: var(--ink); font-weight: 600; }
.aside-popular a:hover { color: var(--link); }

/* ========================================================================
   Simple content pages (About, Contact, Privacy)
   ======================================================================== */

.content-page { max-width: 760px; margin-inline: auto; padding-top: 40px; }
.content-page h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; margin-bottom: 16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.cat-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 32px; }
.cat-index a { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 18px; color: var(--ink); }
.cat-index a:hover { border-color: var(--brand); color: var(--ink); }
.cat-index .icon { width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-index h2 { font-size: 17px; margin-bottom: 4px; }
.cat-index p { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* JS-off fallback: never hide content when scripts fail */
.no-js [data-requires-js] { display: none; }
