/* Listings Junkie 2.0 — design system.
   Headings: Bricolage Grotesque. Body: Geist. Labels: Geist Mono.
   Blue (#1D4ED8) is the public call-to-action color; purple (#1D4ED8) is used inside sign-in and the account. */

:root {
  --bg: #F8FAFC;
  --fg: #0F172A;
  --muted: #64748B;
  --muted-light: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --primary: #1D4ED8;
  --primary-hover: #1E40AF;
  --accent: #1D4ED8;
  --accent-hover: #1E40AF;
  --highlight: #F59E0B;
  --success: #16A34A;
  --surface: #FFFFFF;
  --dark: #070B16;
  --dark-2: #0B1220;
  --dark-soft: #111827;
  --font-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius-card: 22px;
  --shadow-card: 0 20px 40px -24px rgba(15, 23, 42, .18);
  --header-h: 78px;
}

/* ---------- 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(--bg); color: var(--fg); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.nav-open { overflow: hidden; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; font-optical-sizing: none; }
p, ul, ol { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--fg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.container { max-width: 1280px; margin: 0 auto; }
.section { padding: 80px 20px; }
.section--white { background: #fff; }
.section--soft { background: var(--bg); }
.section--line-t { border-top: 1px solid var(--border); }
.section--line-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--line-b { border-bottom: 1px solid var(--border); }
.section--dark { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: #fff; }
@media (min-width: 768px) { .section { padding-top: 112px; padding-bottom: 112px; } }
@media (min-width: 1024px) { .section { padding-left: 32px; padding-right: 32px; } }

/* ---------- Type helpers ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--primary); }
.kicker::before { content: ""; height: 1px; width: 24px; background: currentColor; }
.kicker--plain::before { display: none; }
.kicker--light { color: #CBD5E1; }
.h2 { margin-top: 16px; font-size: 30px; line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.lead { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 640px; }
.section--dark .lead { color: #94A3B8; }
.section-head { display: flex; flex-direction: column; gap: 24px; }
.section-head__action { flex: none; }
@media (min-width: 768px) {
  .h2 { font-size: 48px; }
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 14px 24px; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff !important; box-shadow: 0 10px 15px -3px rgba(29, 78, 216, .25), 0 4px 6px -4px rgba(29, 78, 216, .25); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 20px 25px -5px rgba(29, 78, 216, .25), 0 8px 10px -6px rgba(29, 78, 216, .25); }
.btn-white { background: #fff; color: var(--fg) !important; }
.btn-white:hover { box-shadow: 0 10px 40px -10px rgba(255, 255, 255, .5); }
.btn-outline { background: #fff; color: var(--fg); border: 1px solid var(--border); }
.btn-outline:hover { border-color: #CBD5E1; box-shadow: 0 10px 24px -16px rgba(15, 23, 42, .25); }
.btn-ghost-dark { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .12); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .1); }
.btn-accent { background: var(--accent); color: #fff !important; border-radius: 12px; padding: 15px 24px; font-size: 15px; font-weight: 800; box-shadow: 0 10px 20px -10px rgba(29, 78, 216, .5); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-danger-outline { background: #fff; color: #DC2626; border: 1px solid #FECACA; border-radius: 12px; padding: 13px 24px; font-weight: 700; }
.btn-danger-outline:hover { background: #FEF2F2; transform: none; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-xs { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); }
.header__bar { height: var(--header-h); background: var(--dark-2); display: flex; align-items: center; transition: background-color .3s ease, padding .3s ease; }
.header__inner { width: 100%; height: var(--header-h); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: max-width .35s ease, height .35s ease, background-color .35s ease, border-radius .35s ease, box-shadow .35s ease, padding .35s ease; }
@media (min-width: 1024px) { .header__inner { padding: 0 32px; display: grid; grid-template-columns: 1fr auto 1fr; } }
.header.is-scrolled .header__bar { background: transparent; padding-top: 6px; }
.header.is-scrolled .header__inner { max-width: 1160px; height: 62px; background: rgba(17, 24, 39, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .75); padding: 0 12px 0 10px; }
.header.is-scrolled .brand__tag { max-height: 0; opacity: 0; margin-top: 0; }
.header.is-scrolled .brand__mark { width: 36px; height: 36px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #1D4ED8, #1D4ED8); display: grid; place-items: center; box-shadow: 0 8px 24px -6px rgba(30, 64, 175, .6), inset 0 0 0 1px rgba(255, 255, 255, .2); transition: transform .3s ease, width .3s ease, height .3s ease; }
.brand:hover .brand__mark { transform: scale(1.05) rotate(-4deg); }
.brand__mark img { width: 26px; height: 26px; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-display); font-size: 15px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #fff; }
.brand__tag { display: none; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; color: #94A3B8; margin-top: 4px; max-height: 16px; overflow: hidden; transition: max-height .3s ease, opacity .3s ease, margin .3s ease; }
@media (min-width: 640px) { .brand__name { font-size: 17px; } .brand__tag { display: block; } }

.nav { display: none; justify-content: center; gap: 2px; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav a { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #94A3B8; transition: color .2s ease, background-color .2s ease; }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a.is-active { background: rgba(255, 255, 255, .06); }

.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.header__signin { display: none; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #CBD5E1; white-space: nowrap; transition: color .2s ease; }
.header__signin:hover { color: #fff; }
@media (min-width: 640px) { .header__signin { display: inline-flex; } }
.header__cta { padding: 10px 20px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.header__burger { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .05); color: #fff; }
.header__burger:hover { background: rgba(255, 255, 255, .1); }
@media (min-width: 1024px) { .header__burger { display: none; } }

/* The phone menu: the hero's navy and dot grid, the six pages as a numbered list in the display face, the
   secondary links as pills, and the two actions pinned to the bottom. Items fade up in order when it opens. */
.mobile-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 49; overflow-y: auto; color: #fff; background-color: var(--dark);
  background-image: radial-gradient(60% 40% at 50% 0%, rgba(29, 78, 216, .35), transparent 70%), radial-gradient(rgba(148, 163, 184, .16) 1px, transparent 1.5px);
  background-size: 100% 100%, 28px 28px; }
.mobile-nav[hidden] { display: none; }
.mobile-nav__inner { min-height: 100%; display: flex; flex-direction: column; padding: 22px 20px 28px; }
.mobile-nav__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #94A3B8; animation: navIn .4s ease both; }
.mobile-nav__main { display: grid; margin-top: 16px; }
.mobile-nav__main a { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: #E2E8F0; animation: navIn .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(60ms + var(--i, 0) * 45ms); }
.mobile-nav__num { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #475569; }
.mobile-nav__main svg { color: #475569; transition: transform .2s ease, color .2s ease; }
.mobile-nav__main a.is-active { color: #fff; }
.mobile-nav__main a.is-active .mobile-nav__num, .mobile-nav__main a.is-active svg { color: #60A5FA; }
.mobile-nav__main a:active svg { transform: translateX(4px); color: #fff; }
.mobile-nav__extra { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 0; animation: navIn .5s ease both; animation-delay: 360ms; }
.mobile-nav__extra a { font-size: 13px; font-weight: 700; color: #CBD5E1; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 8px 14px; background: rgba(255, 255, 255, .04); }
.mobile-nav__actions { margin-top: auto; padding-top: 26px; display: grid; gap: 10px; animation: navIn .5s ease both; animation-delay: 420ms; }
.mobile-nav__actions .btn { justify-content: center; padding: 15px 20px; font-size: 15px; }
.mobile-nav__fine { margin: 4px 0 0; text-align: center; font-size: 12px; color: #64748B; }
@keyframes navIn { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .mobile-nav__kicker, .mobile-nav__main a, .mobile-nav__extra, .mobile-nav__actions { animation: none; } }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: #fff; padding: 88px 20px 72px; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(55% 45% at 50% 0%, rgba(29, 78, 216, .38), transparent 70%),
  radial-gradient(35% 35% at 85% 25%, rgba(29, 78, 216, .18), transparent 70%),
  radial-gradient(30% 30% at 10% 60%, rgba(29, 78, 216, .12), transparent 70%); }
@media (min-width: 768px) { .hero { padding: 104px 32px 88px; } }
@media (max-width: 767px) { .hero { padding-top: 28px; padding-bottom: 56px; } .hero__title { margin-top: 16px; } .hero__lead { margin-top: 16px; } .search { margin-top: 28px; } }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: #CBD5E1; background: rgba(255, 255, 255, .03); }
.hero__dot { position: relative; width: 8px; height: 8px; }
.hero__dot::before, .hero__dot::after { content: ""; position: absolute; inset: 0; border-radius: 999px; background: #22C55E; }
.hero__dot::before { opacity: .6; animation: ping 1.4s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
.hero__title { margin: 24px auto 0; max-width: 1024px; font-size: clamp(2.9rem, 7vw, 6.6rem); font-weight: 800; line-height: .95; letter-spacing: -.04em; }
.hero__title .grad { background: linear-gradient(90deg, #3B82F6, #2563EB, #3B82F6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title-line { display: block; }
.hero__title-line--grad .fold-text-piece { background: linear-gradient(90deg, #3B82F6, #2563EB, #3B82F6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin: 24px auto 0; max-width: 620px; color: #94A3B8; font-size: 17px; line-height: 1.65; }
@media (min-width: 768px) { .hero__lead { font-size: 18px; } }

.search { margin: 40px auto 0; max-width: 1024px; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .1); background: #fff; padding: 10px; box-shadow: 0 30px 100px rgba(29, 78, 216, .35); display: flex; flex-direction: column; gap: 6px; color: var(--fg); text-align: left; }
.search__field { flex: 1; display: flex; align-items: center; gap: 12px; padding: 10px 18px; min-height: 60px; }
.search__field + .search__field { border-top: 1px solid var(--border); }
.search__icon { color: var(--primary); flex: none; }
.search__meta { flex: 1; min-width: 0; }
.search__label { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.search__input { margin-top: 2px; width: 100%; background: transparent; border: 0; outline: 0; font-size: 14px; font-weight: 600; color: var(--fg); padding: 0; }
.search__input::placeholder { color: #94A3B8; font-weight: 500; }
.search__btn { min-height: 60px; border-radius: 19px; background: var(--primary); padding: 0 32px; font-size: 14px; font-weight: 900; color: #fff; transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease; }
.search__btn:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 20px 25px -5px rgba(37, 99, 235, .3); }
@media (min-width: 768px) {
  .search { flex-direction: row; align-items: stretch; gap: 0; }
  .search__field { min-height: 66px; }
  .search__field + .search__field { border-top: 0; border-left: 1px solid var(--border); }
  .search__btn { min-height: 66px; min-width: 155px; margin-left: 10px; }
}

.popular { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.popular__label { margin-right: 4px; font-family: var(--font-mono); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: #64748B; }
.chip { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); padding: 8px 16px; font-size: 14px; font-weight: 600; color: #CBD5E1; transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.chip:hover { border-color: rgba(59, 130, 246, .5); color: #fff; }
.chip--sm { padding: 6px 14px; font-size: 13px; }

.stats { margin: 56px auto 0; max-width: 1024px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.stat { border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; background: rgba(255, 255, 255, .03); padding: 22px 16px; }
.stat__value { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat__label { margin-top: 8px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #64748B; }

/* ---------- Category marquee ---------- */
.marquee { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); background: var(--dark); padding: 20px 0; overflow: hidden; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(24px, 8%, 120px); z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(to right, var(--dark), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--dark), transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track .chip svg { color: #3B82F6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Trust strip ---------- */
/* Trust strip (the reference): four cells divided by hairlines, a round pale-blue check, bold title, muted line. */
.trust { border-bottom: 1px solid var(--border); background: #fff; }
.trust__grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr; }
.trust__item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-top: 1px solid var(--border); }
.trust__item:first-child { border-top: 0; }
.trust__icon { flex: none; width: 36px; height: 36px; border-radius: 999px; background: #EFF6FF; color: var(--primary); display: grid; place-items: center; }
.trust__icon svg { stroke-width: 2.5; }
.trust__title { font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.trust__text { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 3px; max-width: 200px; }
@media (min-width: 640px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(2) { border-top: 0; }
  .trust__item:nth-child(even) { border-left: 1px solid var(--border); }
}
@media (min-width: 1024px) {
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .trust__item { padding: 28px 30px; border-top: 0; }
  .trust__item + .trust__item { border-left: 1px solid var(--border); }
}

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: #CBD5E1; }
.card__arrow { position: absolute; top: 20px; right: 20px; color: #CBD5E1; transition: color .2s ease, transform .2s ease; }
a.card:hover .card__arrow { color: var(--primary); transform: translate(2px, -2px); }
.icon-sq { width: 44px; height: 44px; border-radius: 14px; background: #F1F5F9; color: var(--primary); display: grid; place-items: center; flex: none; }
.icon-sq--dark { background: var(--dark); color: #fff; }
.icon-sq--violet { background: #E2E8F0; color: var(--accent); }
.icon-sq--lime { background: #ECFCCB; color: #4D7C0F; }
.icon-sq--lg { width: 48px; height: 48px; border-radius: 16px; }

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.cat-card .cat-card__name { margin-top: 20px; font-weight: 700; font-size: 15px; line-height: 1.3; padding-right: 20px; }
.cat-card .cat-card__count { font-size: 13px; color: var(--muted); margin-top: 4px; }
.cat-hero { grid-column: span 2; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; color: #fff; background: linear-gradient(135deg, #0B1220 0%, #111A33 55%, #172554 100%); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-card); padding: 28px; transition: transform .3s ease, box-shadow .3s ease; }
.cat-hero::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; bottom: -160px; border-radius: 999px; background: radial-gradient(circle, rgba(29, 78, 216, .45), transparent 65%); pointer-events: none; }
.cat-hero:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(29, 78, 216, .5); }
@media (min-width: 1024px) { .cat-hero { grid-row: span 2; min-height: 100%; } }
.cat-hero__pill { align-self: flex-start; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; padding: 5px 11px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #CBD5E1; }
.cat-hero__count { margin-top: 40px; font-family: var(--font-display); font-size: 64px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.cat-hero__name { margin-top: 10px; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cat-hero__go { flex: none; width: 40px; height: 40px; border-radius: 999px; background: #fff; color: var(--dark); display: grid; place-items: center; transition: transform .2s ease; }
.cat-hero:hover .cat-hero__go { transform: translateX(4px); }
.cat-more { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; background: var(--primary); color: #fff; border-radius: var(--radius-card); padding: 24px; transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease; }
.cat-more:hover { background: var(--primary-hover); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(29, 78, 216, .7); }
.cat-more__small { font-size: 13px; font-weight: 600; color: #CBD5E1; }
.cat-more__big { font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* Why section */
.why { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .why { grid-template-columns: 1.15fr 1fr; gap: 72px; } }
.why__text { margin-top: 20px; color: #94A3B8; font-size: 16px; line-height: 1.75; }
.why__text + .why__text { margin-top: 14px; }
.checks { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; padding: 0; }
.checks li { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; color: #E2E8F0; }
.checks svg { color: #4ADE80; flex: none; }
.free-card { position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 32px; background: rgba(255, 255, 255, .04); padding: 40px; }
.free-card::before { content: ""; position: absolute; width: 320px; height: 320px; right: -100px; top: -120px; border-radius: 999px; background: radial-gradient(circle, rgba(29, 78, 216, .4), transparent 65%); pointer-events: none; }
.free-card__big { margin-top: 16px; font-family: var(--font-display); font-size: 88px; font-weight: 800; letter-spacing: -.05em; line-height: 1; background: linear-gradient(90deg, #3B82F6, #2563EB, #3B82F6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.free-card__text { margin-top: 16px; color: #94A3B8; font-size: 15px; line-height: 1.65; }

/* Business cards */
.grid-3 { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
/* The reference's business card: wide logo box, name, place, two lines of text, a rule, tag and arrow. */
.biz { padding: 24px; border-radius: 24px; border-color: rgba(24, 24, 27, .1); box-shadow: 0 1px 2px rgba(24, 24, 27, .04), 0 18px 40px -20px rgba(24, 24, 27, .16); }
a.biz:hover { transform: none; border-color: rgba(24, 24, 27, .1); box-shadow: 0 1px 2px rgba(24, 24, 27, .04), 0 18px 40px -20px rgba(24, 24, 27, .16); }
.biz__logo { flex: none; width: 128px; height: 64px; border-radius: 16px; border: 1px solid var(--border); background: #fff; overflow: hidden; display: grid; place-items: center; }
.biz__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.biz__logo--letter { background: linear-gradient(135deg, #F1F5F9, #E2E8F0); color: var(--primary); font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.biz__name { margin-top: 20px; font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.biz__loc { margin-top: 6px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.biz__desc { margin-top: 16px; font-size: 14px; line-height: 24px; color: #475569; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.biz__spacer { flex: 1; min-height: 24px; }
.biz__foot { padding-top: 20px; border-top: 1px solid #F1F5F9; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { display: inline-flex; align-items: center; border-radius: 999px; background: #F1F5F9; color: #475569; padding: 4px 12px; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag--blue { background: #F1F5F9; color: var(--primary); }

/* Steps */
.steps { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .steps { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.steps__list { position: relative; display: grid; gap: 18px; }
.steps__list::before { content: ""; position: absolute; left: 23px; top: 28px; bottom: 28px; width: 2px; background: var(--border); }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; }
.step__icon { position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--bg); }
.step__card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 22px 24px; box-shadow: var(--shadow-card); }
.step__label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); }
.step__title { margin-top: 6px; font-size: 18px; font-weight: 800; }
.step__text { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.65; padding-right: 48px; }
.step__num { position: absolute; right: 22px; top: 16px; font-family: var(--font-display); font-size: 36px; font-weight: 800; color: #E2E8F0; letter-spacing: -.04em; line-height: 1; }

/* Industries */
.industries { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .industries { grid-template-columns: 1fr 1fr; gap: 72px; } }
.ind-list { display: grid; gap: 12px; }
.ind { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 16px 20px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ind:hover { transform: translateX(4px); border-color: #CBD5E1; box-shadow: var(--shadow-card); }
.ind__name { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.ind__blurb { font-size: 13px; color: var(--muted); margin-top: 2px; }
.ind__arrow { margin-left: auto; color: #CBD5E1; flex: none; transition: color .2s ease; }
.ind:hover .ind__arrow { color: var(--primary); }

/* Blog cards */
.blog-grid { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } .blog-grid > .post-hero { grid-column: span 2; grid-row: span 2; } }
.post-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; background: var(--dark); color: #fff; border-radius: 28px; padding: 32px; transition: transform .3s ease, box-shadow .3s ease; }
.post-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 90% 0%, rgba(29, 78, 216, .45), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(29, 78, 216, .4), transparent 70%); }
.post-hero--img::before { background: linear-gradient(to top, rgba(7, 11, 22, .95) 30%, rgba(7, 11, 22, .35)); }
.post-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.post-hero:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(29, 78, 216, .5); }
.post-hero > * { position: relative; }
.post-hero__meta { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #CBD5E1; }
.post-hero__meta .pill-sm { border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 4px 10px; color: #fff; }
.post-hero__title { margin-top: 14px; font-size: 28px; line-height: 1.1; letter-spacing: -.03em; max-width: 560px; }
@media (min-width: 768px) { .post-hero__title { font-size: 34px; } }
.post-hero__excerpt { margin-top: 12px; color: #94A3B8; font-size: 15px; line-height: 1.65; max-width: 540px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-hero__more { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #CBD5E1; }
.post { padding: 16px; flex-direction: row; gap: 16px; align-items: stretch; }
.post__thumb { flex: none; width: 96px; min-height: 96px; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #1D4ED8, #1D4ED8); }
.post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post__body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.post__date { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post__title { margin-top: 6px; font-family: var(--font-display); font-weight: 800; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post__excerpt { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* FAQ */
.faq { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .faq { grid-template-columns: 1fr 1.25fr; gap: 72px; } }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--border); border-radius: 18px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq__item.is-open { border-color: #CBD5E1; box-shadow: var(--shadow-card); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 15px; text-align: left; line-height: 1.35; }
.faq__icon { flex: none; width: 28px; height: 28px; border-radius: 999px; background: #F1F5F9; display: grid; place-items: center; color: var(--muted); transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.is-open .faq__icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq__a { display: none; padding: 0 22px 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.faq__a p + p, .faq__a ul { margin-top: 10px; }
.faq__a ul { padding-left: 20px; }
.faq__a a { color: var(--primary); font-weight: 600; }
.is-open .faq__a { display: block; }
.faq__more { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); font-size: 14px; }

/* Closing banner */
.cta-wrap { padding: 80px 24px; }
.cta { position: relative; overflow: hidden; max-width: 1280px; margin: 0 auto; background: var(--dark); color: #fff; border-radius: 32px; padding: 48px 32px; display: flex; flex-direction: column; gap: 28px; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 80% at 85% 50%, rgba(29, 78, 216, .4), transparent 70%), radial-gradient(30% 60% at 10% 0%, rgba(29, 78, 216, .25), transparent 70%); pointer-events: none; }
.cta > * { position: relative; }
@media (min-width: 768px) { .cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 56px 64px; } }
.cta__title { margin-top: 12px; font-size: 30px; line-height: 1.05; letter-spacing: -.03em; }
@media (min-width: 768px) { .cta__title { font-size: 40px; } }
.cta__text { margin-top: 12px; color: #94A3B8; max-width: 520px; line-height: 1.65; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ---------- Footer ---------- */
.footer { background: var(--dark-2); color: #fff; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__inner { max-width: 1280px; margin: 0 auto; padding: 64px 20px 32px; }
@media (min-width: 1024px) { .footer__inner { padding-left: 32px; padding-right: 32px; } }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 48px; } }
.footer__blurb { margin-top: 20px; color: #94A3B8; font-size: 14px; line-height: 1.75; max-width: 380px; }
.footer__btn { margin-top: 24px; }
.footer__h { font-size: 15px; font-weight: 800; margin-bottom: 18px; }
.footer__links { list-style: none; padding: 0; display: grid; gap: 12px; }
.footer__links a { color: #94A3B8; font-size: 14px; transition: color .2s ease; }
.footer__links a:hover { color: #fff; }
.footer__bottom { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: 8px; justify-content: space-between; font-size: 12px; color: #64748B; }
.footer__bottom a { color: #94A3B8; }
@media (min-width: 768px) { .footer__bottom { flex-direction: row; align-items: center; } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .8s cubic-bezier(.215, .61, .355, 1), transform .8s cubic-bezier(.215, .61, .355, 1); }
.js [data-reveal].in-view { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: .1s; }
.js [data-reveal][data-delay="2"] { transition-delay: .2s; }
.js [data-reveal][data-delay="3"] { transition-delay: .3s; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); padding: 56px 20px 40px; border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .page-hero { padding: 72px 32px 48px; } }
.page-hero__inner { max-width: 1280px; margin: 0 auto; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__lead { margin-left: auto; margin-right: auto; }
.page-hero__count { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.page-hero__title { margin-top: 14px; font-size: 36px; line-height: 1.02; letter-spacing: -.035em; }
@media (min-width: 768px) { .page-hero__title { font-size: 56px; } }
.page-hero__lead { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 640px; }
.page-hero--dark { background: var(--dark); color: #fff; border-bottom: 0; position: relative; isolation: isolate; overflow: hidden; }
.page-hero--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 0%, rgba(29, 78, 216, .35), transparent 70%); }
.page-hero--dark .page-hero__lead { color: #94A3B8; }
.page-hero--dark .page-hero__count { color: #CBD5E1; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.back:hover { text-decoration: underline; }
.page-hero .back { display: flex; width: fit-content; margin-bottom: 18px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--fg); }
.crumbs svg { color: #CBD5E1; }
.crumbs span { color: var(--fg); }

/* Searchable hero input (categories / locations / faqs) */
.hero-search { margin: 28px auto 0; max-width: 640px; position: relative; }
.hero-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted-light); }
.hero-search input { width: 100%; border: 1px solid var(--border); border-radius: 999px; background: #fff; padding: 16px 20px 16px 50px; font-size: 15px; font-weight: 500; outline: 0; box-shadow: 0 10px 30px -20px rgba(15, 23, 42, .2); transition: border-color .2s ease, box-shadow .2s ease; }
.hero-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(29, 78, 216, .12); }

.page-hero--glow { position: relative; isolation: isolate; overflow: hidden; }
.page-hero--glow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 50% 0%, rgba(29, 78, 216, .14), transparent 70%); }
.grad-text--ink { background-image: linear-gradient(90deg, #1D4ED8, #1E40AF, #1D4ED8); }

/* Tiles (categories, locations) */
.tile-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .tile-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .tile-grid--5 { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.tile-grid--top { margin-top: 40px; text-align: left; }
.tile { align-items: center; text-align: center; padding: 24px 18px 20px; }
.tile__badge { width: 44px; height: 44px; border-radius: 12px; background: #F1F5F9; color: var(--primary); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.tile__badge--grad { background: linear-gradient(135deg, #1D4ED8, #1D4ED8); color: #fff; box-shadow: 0 10px 20px -10px rgba(30, 64, 175, .7); }
.tile__rank { margin-top: 14px; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.tile__label { margin-top: 14px; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.tile__name { margin-top: 12px; font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -.01em; line-height: 1.3; }
.tile__rank + .tile__name, .tile__label + .tile__name { margin-top: 6px; }
.tile__count { margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.tile__bar { display: block; width: 100%; height: 4px; border-radius: 999px; background: var(--border-light); margin-top: 14px; overflow: hidden; }
.tile__bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #1D4ED8, #1D4ED8); }
.tile__bar + .tile__count { margin-top: 10px; }
.tile .card__arrow { top: 16px; right: 16px; }

/* Ranked top cards */
.top-grid { display: grid; gap: 16px; margin-top: 36px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .top-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.top-grid--5 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .top-grid--5 { grid-template-columns: repeat(5, 1fr); } }
.top-card { text-align: left; }
.top-card__rank { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.top-card__badge { width: 48px; height: 48px; border-radius: 14px; background: var(--dark); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.top-card__name { margin-top: 18px; font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.top-card__count { margin-top: 4px; font-size: 13px; color: var(--muted); }

/* Sort toggle + list cards */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.seg { display: inline-flex; gap: 4px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.seg button { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); transition: background-color .2s ease, color .2s ease; }
.seg button.is-active { background: var(--primary); color: #fff; }
.seg--dark button.is-active { background: var(--dark); }
.list-grid { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 640px) { .list-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .list-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.row-card { padding: 18px 20px; flex-direction: row; align-items: center; gap: 16px; }
.row-card__body { min-width: 0; flex: 1; }
.row-card__label { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.row-card__name { font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.row-card__count { font-size: 13px; color: var(--muted); margin-top: 2px; }
.row-card__badge { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--fg); }
.row-card .card__arrow { position: static; }
.letter-bar { display: flex; flex-wrap: wrap; gap: 6px; }
.letter-bar a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); background: #fff; font-size: 12px; font-weight: 800; color: var(--primary); }
.letter-bar a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.tile[id^="letter-"] { scroll-margin-top: 100px; }
.letter-head { grid-column: 1 / -1; margin-top: 12px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted-light); scroll-margin-top: 100px; }
.letter-head:first-child { margin-top: 0; }
.empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--border); border-radius: 18px; }

/* ---------- Alerts / pills ---------- */
.alert { border-radius: 12px; padding: 13px 16px; font-size: 14px; font-weight: 600; line-height: 1.5; border: 1px solid transparent; }
.alert--error { background: #FEF2F2; color: #B91C1C; border-color: #FECACA; }
.alert--success { background: #F0FDF4; color: #15803D; border-color: #BBF7D0; }
.alert--info { background: #F1F5F9; color: #1E3A8A; border-color: #CBD5E1; font-weight: 500; }
.alert--info strong { display: block; font-weight: 800; color: var(--fg); margin-bottom: 4px; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 12px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border: 1px solid; }
.pill--pending { background: #FEFCE8; color: #A16207; border-color: #FEF08A; }
.pill--approved { background: #F0FDF4; color: #15803D; border-color: #BBF7D0; }
.pill--unverified { background: #F1F5F9; color: #475569; border-color: #E2E8F0; }
.pill--rejected { background: #FEF2F2; color: #B91C1C; border-color: #FECACA; }
.pill--new { background: #F1F5F9; color: var(--primary); border-color: #CBD5E1; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; text-align: left; grid-template-columns: minmax(0, 1fr); }
.field label, .field__label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.field label .req { color: #DC2626; margin-left: 2px; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; }
.field__row a { font-size: 13px; font-weight: 700; color: var(--accent); }
.input { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 13px 16px; font-size: 15px; background: #fff; outline: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.input::placeholder { color: #94A3B8; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(29, 78, 216, .12); }
.input[disabled], .input[readonly] { background: #F8FAFC; color: var(--muted); }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2.5' 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: 40px; }
textarea.input { min-height: 140px; resize: vertical; line-height: 1.6; }
.input--code { font-family: var(--font-mono); font-size: 28px; letter-spacing: .4em; text-align: center; padding: 16px; }
.hint { font-size: 12px; color: var(--muted-light); margin-top: 6px; line-height: 1.5; }
.hint a { color: var(--accent); font-weight: 600; }
.form-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .form-grid .span-2 { grid-column: 1 / -1; } }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 8px; }
.form-divider { border: 0; border-top: 1px solid var(--border-light); margin: 6px 0; }
.form-section__title { font-weight: 800; font-size: 15px; }
.form-section__sub { font-size: 13px; color: var(--muted-light); margin-top: 2px; }
.upload { display: flex; gap: 16px; align-items: center; border: 1px dashed #CBD5E1; border-radius: 14px; padding: 18px 20px; background: #FAFBFC; }
.upload__preview { flex: none; width: 72px; height: 72px; border-radius: 12px; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; overflow: hidden; color: var(--muted-light); }
.upload__preview img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.upload__text { font-size: 13px; color: var(--muted); }
.upload input { margin-top: 8px; font-size: 13px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #334155; line-height: 1.5; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); }
.honey { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- Auth ---------- */
.auth { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 60px 20px; }
.auth__card { width: 100%; max-width: 448px; background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 36px 32px; box-shadow: 0 30px 60px -40px rgba(15, 23, 42, .35); text-align: center; }
.auth__mark { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto; background: linear-gradient(135deg, #1D4ED8, #1E40AF); display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(29, 78, 216, .6); }
.auth__mark img { width: 34px; height: 34px; }
.auth__title { margin-top: 20px; font-size: 28px; letter-spacing: -.03em; }
.auth__sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.auth .form { margin-top: 28px; }
.auth__or { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: #94A3B8; font-size: 12px; font-weight: 600; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth__alt { font-size: 14px; color: var(--muted); }
.auth__alt a { color: var(--accent); font-weight: 700; }
.auth__fine { margin-top: 22px; font-size: 12px; color: var(--muted-light); line-height: 1.6; }
.auth__fine a { color: var(--muted); text-decoration: underline; }

/* ---------- Account ---------- */
.account { max-width: 1120px; margin: 0 auto; padding: 48px 20px 96px; }
@media (min-width: 768px) { .account { padding: 56px 32px 112px; } }
.account--narrow { max-width: 640px; }
.account__kicker { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.account__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; }
.account__title { margin-top: 8px; font-size: 32px; letter-spacing: -.03em; }
.account__sub { margin-top: 8px; color: var(--muted); font-size: 15px; }
.account .back { color: var(--accent); }
.tiles { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { border-radius: 20px; }
.tile__title { margin-top: 20px; font-size: 18px; }
.tile__text { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.account__row { display: grid; gap: 20px; margin-top: 20px; }
@media (min-width: 768px) { .account__row { grid-template-columns: 2.4fr 1fr; } }
.panel { border-radius: 20px; }
.panel__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.panel__value { margin-top: 8px; font-weight: 800; font-size: 16px; word-break: break-all; }
.panel .btn-danger-outline { margin-top: 12px; width: 100%; }
.biz-rows { display: grid; gap: 16px; margin-top: 28px; }
.biz-row { flex-direction: row; align-items: center; gap: 20px; padding: 20px; border-radius: 20px; }
.biz-row__logo { flex: none; width: 80px; height: 80px; border-radius: 14px; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; overflow: hidden; }
.biz-row__logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.biz-row__body { flex: 1; min-width: 0; }
.biz-row__name { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.biz-row__meta { color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.5; }
.biz-row .pill { margin-top: 10px; }
.biz-row__actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 639px) { .biz-row { flex-wrap: wrap; } .biz-row__actions { width: 100%; } .biz-row__actions .btn { flex: 1; } }
.form-card { border-radius: 24px; padding: 28px; margin-top: 28px; }
@media (min-width: 768px) { .form-card { padding: 36px; } }
.form-card .form { gap: 22px; }
.status-line { margin-top: 10px; font-size: 14px; color: var(--muted); }
.status-line strong { color: var(--accent); letter-spacing: .04em; }

/* ---------- Simple page (legal, notices) ---------- */
.notice { max-width: 560px; margin: 0 auto; padding: 80px 20px 120px; text-align: center; }
.notice__icon { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto; display: grid; place-items: center; background: #ECFCCB; color: #4D7C0F; }
.notice__icon--info { background: #F1F5F9; color: var(--primary); }
.notice__icon--warn { background: #FEF2F2; color: #DC2626; }
.notice__title { margin-top: 24px; font-size: 30px; letter-spacing: -.03em; }
.notice__text { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.notice__actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Utilities ---------- */
.mt-4 { margin-top: 16px !important; } .mt-6 { margin-top: 24px !important; } .mt-8 { margin-top: 32px !important; }
.result-count { font-size: 14px; color: var(--muted); }
.result-count a { color: var(--primary); font-weight: 600; }
.grad-text { background: linear-gradient(90deg, #3B82F6, #2563EB, #3B82F6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pagination { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.pagination a, .pagination .is-current, .pagination__gap { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 14px; font-weight: 700; }
.pagination a { background: #fff; border: 1px solid var(--border); color: var(--fg); }
.pagination a:hover { border-color: #CBD5E1; }
.pagination .is-current { background: var(--dark); color: #fff; }
.pagination__gap { color: var(--muted-light); }
.pagination__step { gap: 6px; }

/* ---------- Businesses page ---------- */
.hero-counters { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13px; font-weight: 600; color: #94A3B8; }
.hero-counters strong { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.biz-search-wrap { background: var(--bg); padding: 0 20px; }
@media (min-width: 1024px) { .biz-search-wrap { padding: 0 32px; } }
.biz-search { margin-top: -34px; position: relative; z-index: 2; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 10px; display: grid; gap: 8px; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .3); }
@media (min-width: 900px) { .biz-search { grid-template-columns: 1.2fr 1fr 1fr auto; align-items: center; } }
.biz-search__field { display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 52px; border-radius: 14px; background: var(--bg); color: var(--muted-light); }
.biz-search__field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 14px; font-weight: 600; color: var(--fg); }
.biz-search__field input::placeholder { color: #94A3B8; font-weight: 500; }
.biz-search__select { min-height: 52px; border-radius: 14px; border: 0; background: var(--bg); padding: 0 40px 0 14px; font-size: 14px; font-weight: 600; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' 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; outline: 0; }
.biz-search .btn { min-height: 52px; border-radius: 14px; }
.cat-blocks { display: grid; gap: 56px; }
.cat-block__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.cat-block__title { margin-top: 6px; font-size: 26px; letter-spacing: -.03em; }
.cat-block__count { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ---------- Listing page ---------- */
.listing-head { position: relative; isolation: isolate; background: var(--dark); color: #fff; padding: 28px 20px 150px; }
.listing-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 0%, rgba(29, 78, 216, .3), transparent 70%); }
@media (min-width: 1024px) { .listing-head { padding: 32px 32px 150px; } }
.crumbs--light, .crumbs--light a { color: #94A3B8; }
.crumbs--light a:hover { color: #fff; }
.crumbs--light span { color: #fff; }
.crumbs--light svg { color: #475569; }
.listing-body { padding: 0 20px 56px; }
@media (min-width: 1024px) { .listing-body { padding: 0 32px 64px; } }
.listing-top { position: relative; z-index: 1; margin-top: -122px; padding: 28px; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .35); }
@media (min-width: 768px) { .listing-top { padding: 32px 36px; } }
.listing-top__main { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 900px) { .listing-top__main { flex-direction: row; align-items: center; gap: 28px; } }
.listing-top__logo { flex: none; width: 120px; height: 120px; border-radius: 24px; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 10px 30px -20px rgba(15, 23, 42, .3); }
@media (min-width: 768px) { .listing-top__logo { width: 152px; height: 152px; border-radius: 28px; } }
.listing-top__logo img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.listing-top__logo--letter { background: linear-gradient(135deg, #F1F5F9, #E2E8F0); color: var(--primary); font-family: var(--font-display); font-weight: 800; font-size: 48px; }
.listing-top__body { flex: 1; min-width: 0; }
.listing-top__title { margin-top: 12px; font-size: 32px; letter-spacing: -.035em; line-height: 1.05; }
@media (min-width: 768px) { .listing-top__title { font-size: 44px; } }
.listing-top__meta { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.listing-top__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.listing-top__rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--muted); }
.listing-top__rating:hover { color: var(--fg); }
.listing-top__actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.facts { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border-light); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 0; }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { display: flex; align-items: center; gap: 12px; padding: 4px 18px; min-width: 0; border-left: 1px solid var(--border-light); }
.fact:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 767px) { .fact:nth-child(3) { border-left: 0; padding-left: 0; } }
.fact__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #F1F5F9; color: var(--primary); display: grid; place-items: center; }
.fact__text { min-width: 0; }
.fact__label { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.fact__value { display: block; font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
a.fact:hover .fact__value { color: var(--primary); }
.fact__value--muted { color: var(--muted-light); font-weight: 500; }
.btn-dark { background: var(--dark); color: #fff !important; }
.btn-dark:hover { background: #1E293B; }
.review-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; }
.review-score { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 1px solid var(--border); border-radius: 16px; padding: 12px 20px; font-size: 12px; font-weight: 600; color: var(--muted); }
.review-score strong { font-family: var(--font-display); font-size: 22px; color: var(--fg); line-height: 1; }
.reviews-empty { margin-top: 22px; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg); text-align: left; }
.icon-sq--amber { background: #FEF3C7; color: #D97706; }
.review-form { margin-top: 28px; background: var(--bg); border: 1px solid var(--border); border-radius: 22px; padding: 24px; }
@media (min-width: 768px) { .review-form { padding: 28px 32px; } }
.review-form .kicker--plain { font-size: 11px; letter-spacing: .16em; }
.review-form .listing-card__title { font-size: 22px; margin-top: 8px; }
.review-form .input { background: #fff; }
.counter { display: block; text-align: right; font-size: 12px; color: var(--muted-light); margin-top: 6px; }
.listing-card--ask { position: relative; overflow: hidden; background: linear-gradient(145deg, #0B1220, #111A33 60%, #172554); color: #fff; border-color: rgba(255, 255, 255, .1); }
.listing-card--ask::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -120px; border-radius: 999px; background: radial-gradient(circle, rgba(29, 78, 216, .45), transparent 65%); }
.listing-card--ask > * { position: relative; }
.listing-card--ask .lead { color: #94A3B8; }
.biz__go { flex: none; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border); display: grid; place-items: center; color: #94A3B8; transition: color .3s ease, border-color .3s ease, background-color .3s ease; }
a.card:hover .biz__go { color: #fff; border-color: var(--primary); background: var(--primary); }
.listing-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .listing-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; } }
.listing-main { display: grid; gap: 24px; min-width: 0; }
.listing-aside { display: grid; gap: 20px; }
@media (min-width: 1024px) { .listing-aside { position: sticky; top: 96px; } }
.listing-card { padding: 28px; border-radius: 24px; }
@media (min-width: 768px) { .listing-card { padding: 32px; } }
.listing-card__title { margin-top: 12px; font-size: 24px; letter-spacing: -.03em; }
.socials { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-light { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--fg); background: #fff; }
.chip-light:hover { border-color: #CBD5E1; }
.stars { display: inline-flex; gap: 2px; color: #CBD5E1; }
.stars .star.is-on { color: var(--highlight); fill: var(--highlight); }
.review-summary { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.review-summary strong { font-size: 18px; color: var(--fg); }
.reviews { margin-top: 20px; display: grid; gap: 16px; }
.review { border-top: 1px solid var(--border-light); padding-top: 20px; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__head .stars { margin-left: auto; }
.review__avatar { width: 40px; height: 40px; border-radius: 12px; background: #F1F5F9; color: var(--primary); display: grid; place-items: center; font-weight: 800; }
.review__name { font-weight: 700; font-size: 14px; }
.review__date { font-size: 12px; color: var(--muted-light); }
.review__title { margin-top: 12px; font-size: 16px; }
.review__body { margin-top: 8px; font-size: 14px; line-height: 1.7; color: #334155; white-space: pre-line; }
.reviews-empty { margin-top: 18px; padding: 28px; border: 1px dashed var(--border); border-radius: 16px; text-align: center; }
.reviews-empty h3 { font-size: 17px; }
.reviews-empty p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.star-pick { display: inline-flex; gap: 4px; }
.star-pick button { color: #CBD5E1; padding: 2px; transition: transform .15s ease, color .15s ease; }
.star-pick button.is-on { color: var(--highlight); }
.star-pick button.is-on svg { fill: var(--highlight); }
.star-pick button:hover { transform: scale(1.15); }
.contact-list { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 6px; }
.contact-list a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; font-size: 14px; font-weight: 600; line-height: 1.45; word-break: break-word; transition: background-color .2s ease; }
.contact-list a:hover { background: var(--bg); }
.contact-list__icon { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #F1F5F9; color: var(--primary); display: grid; place-items: center; }
.contact-list__label { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 2px; }

/* ---------- Prose ---------- */
.prose { margin-top: 18px; font-size: 16px; line-height: 1.8; color: #334155; }
.prose p + p { margin-top: 16px; }
.prose a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose h2, .prose h3, .prose h4 { color: var(--fg); margin-top: 36px; margin-bottom: 12px; }
.prose h2 { font-size: 26px; letter-spacing: -.03em; }
.prose h3 { font-size: 20px; }
.prose h4 { font-size: 17px; }
.prose ul, .prose ol { margin: 14px 0 14px 22px; padding: 0; }
.prose li + li { margin-top: 6px; }
.prose blockquote { margin: 20px 0; padding: 14px 20px; border-left: 3px solid var(--primary); background: var(--bg); border-radius: 0 12px 12px 0; font-style: italic; }
.prose img { border-radius: 16px; margin: 20px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg); font-weight: 700; }
.prose code { font-family: var(--font-mono); font-size: 13px; background: var(--bg); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--dark); color: #E2E8F0; padding: 18px 20px; border-radius: 14px; overflow: auto; font-size: 13px; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
.prose strong { color: var(--fg); }
.prose--post { font-size: 17px; }
.prose--post > :first-child { margin-top: 0; }

/* ---------- Blog post ---------- */
.post-head { background: var(--bg); padding: 48px 20px 36px; }
@media (min-width: 1024px) { .post-head { padding: 56px 32px 44px; } }
.post-head__inner { max-width: 860px; margin: 0 auto; }
.post-head__title { font-size: 34px; letter-spacing: -.035em; line-height: 1.05; }
@media (min-width: 768px) { .post-head__title { font-size: 50px; } }
.post-head__lead { margin-top: 16px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.post-head__meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; font-weight: 600; color: var(--muted); }
.post-head__meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-cover { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .post-cover { padding: 0 32px; } }
.post-cover > img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 28px; }
.post-cover--grad { padding-top: 0; }
.post-cover--grad .post-cover__mark { display: grid; place-items: center; height: 260px; border-radius: 28px; background: linear-gradient(120deg, #0B1220, #172554 50%, #1D4ED8); }
.post-cover__mark img { opacity: .85; }
.post-layout { display: grid; gap: 40px; padding: 40px 20px 96px; align-items: start; }
@media (min-width: 1024px) { .post-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding: 48px 32px 120px; } }
.post-body { min-width: 0; max-width: 760px; }
.post-aside { display: grid; gap: 20px; }
@media (min-width: 1024px) { .post-aside { position: sticky; top: 96px; } }
.toc ol { margin: 12px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.5; color: #334155; display: grid; gap: 8px; }
.post-aside__cta h3 { margin-top: 10px; font-size: 18px; }
.post-aside__cta p + p, .post-aside__cta p:not(.row-card__label) { margin-top: 8px; font-size: 14px; color: var(--muted); }
.post-aside__cta .btn { margin-top: 16px; }
.post-aside__more ul { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 14px; }
.post-aside__more a { display: grid; gap: 4px; }
.post-aside__title { font-weight: 700; font-size: 14px; line-height: 1.4; }
.post-aside__more a:hover .post-aside__title { color: var(--primary); }
.post-cta { position: relative; overflow: hidden; margin-top: 48px; background: var(--dark); color: #fff; border-radius: 28px; padding: 36px; }
.post-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 90% 50%, rgba(29, 78, 216, .4), transparent 70%); pointer-events: none; }
.post-cta > * { position: relative; }
.post-cta h2 { margin-top: 12px; font-size: 28px; letter-spacing: -.03em; }
.post-cta p { margin-top: 12px; color: #94A3B8; line-height: 1.65; max-width: 520px; }

/* ---------- About / content pages ---------- */
/* About page, laid out like the reference: mission with stat tiles, a leadership card, lifting cards, a gradient quote. */
.kicker--violet { color: var(--accent); }
.about-h2 { margin-top: 12px; font-size: 32px; line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
@media (min-width: 768px) { .about-h2 { font-size: 46px; } }
.about-lead { margin-top: 20px; font-size: 17px; line-height: 1.65; color: #475569; }
.about-head { max-width: 768px; margin: 0 auto 56px; text-align: center; }
.about-copy { margin-top: 28px; font-size: 16px; line-height: 2; color: #475569; }
.about-copy p + p { margin-top: 20px; }
.about-copy--offset { margin-top: 0; }
.about-mission { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .about-mission { grid-template-columns: 1.15fr 1fr; } }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-stat { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 28px; text-align: center; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.about-stat__n { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; background: linear-gradient(90deg, #1D4ED8, #1D4ED8); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (min-width: 768px) { .about-stat__n { font-size: 36px; } }
.about-stat__l { display: block; margin-top: 8px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #64748B; }
.about-narrow { max-width: 1152px; }
.about-grid-3 { display: grid; gap: 24px; }
@media (min-width: 640px) { .about-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .about-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.about-grid-2 { display: grid; gap: 24px; }
@media (min-width: 768px) { .about-grid-2 { grid-template-columns: 1fr 1fr; } }
.about-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 28px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.about-card:hover { transform: translateY(-4px); border-color: #CBD5E1; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1); }
.about-card--row { display: flex; gap: 20px; align-items: flex-start; }
.about-card--row:hover { border-color: #CBD5E1; }
.about-card__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #F1F5F9; color: var(--primary); box-shadow: inset 0 0 0 1px #E2E8F0; }
.about-card__title { margin-top: 24px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; transition: color .3s ease; }
.about-card--row .about-card__title { margin-top: 0; }
.about-card:hover .about-card__title { color: var(--primary); }
.about-card--row:hover .about-card__title { color: var(--accent); }
.about-card__text { margin-top: 12px; font-size: 15px; line-height: 28px; color: #475569; }
.about-card--row .about-card__text { margin-top: 8px; }
.about-story { display: grid; gap: 48px; }
@media (min-width: 1024px) { .about-story { grid-template-columns: 1fr 1.1fr; } .about-copy--offset { padding-top: 40px; } }
.about-quote { margin-top: 32px; border-radius: 28px; background: linear-gradient(135deg, #1D4ED8, #1D4ED8); padding: 32px; font-family: var(--font-display); font-size: 20px; font-weight: 800; line-height: 1.5; color: #fff; box-shadow: 0 20px 25px -5px rgba(37, 99, 235, .2), 0 8px 10px -6px rgba(37, 99, 235, .2); }
.js [data-reveal][data-delay="4"] { transition-delay: .4s; }
.js [data-reveal][data-delay="5"] { transition-delay: .5s; }
.about-split { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .about-split { grid-template-columns: 1fr 1.3fr; gap: 72px; } }
.about-text { font-size: 16px; line-height: 1.8; color: #334155; }
.about-text p + p { margin-top: 16px; }
.feature { padding: 28px; }
.feature__title { margin-top: 20px; font-size: 18px; }
.feature__text { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.leader { overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 32px; box-shadow: 0 20px 25px -5px rgba(226, 232, 240, .5), 0 8px 10px -6px rgba(226, 232, 240, .5); display: grid; }
@media (min-width: 1024px) { .leader { grid-template-columns: 300px 1fr; } }
.leader__side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 40px; text-align: center; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, #F1F5F9, #fff 50%, #F1F5F9); }
@media (min-width: 1024px) { .leader__side { border-bottom: 0; border-right: 1px solid var(--border); } }
.leader__avatar { width: 112px; height: 112px; border-radius: 28px; background: linear-gradient(135deg, #1D4ED8, #1D4ED8); display: grid; place-items: center; box-shadow: 0 10px 15px -3px rgba(37, 99, 235, .2), 0 4px 6px -4px rgba(37, 99, 235, .2); }
.leader__name { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.leader__role { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--primary); }
.leader__body { padding: 28px; }
@media (min-width: 768px) { .leader__body { padding: 40px; } }
.leader__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.leader__badges span { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 800; color: #334155; background: #F1F5F9; }
.leader__bio { margin-top: 24px; font-size: 16px; line-height: 2; color: #475569; }
.leader__links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.leader__btn { display: inline-flex; align-items: center; gap: 6px; border-radius: 12px; background: var(--primary); color: #fff !important; padding: 14px 24px; font-size: 14px; font-weight: 800; box-shadow: 0 10px 15px -3px rgba(37, 99, 235, .2), 0 4px 6px -4px rgba(37, 99, 235, .2); transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
.leader__btn:hover { transform: translateY(-2px); background: var(--primary-hover); }
.leader__btn--ghost { background: #fff; color: var(--fg) !important; border: 1px solid var(--border); box-shadow: none; }
.leader__btn--ghost:hover { background: #F1F5F9; border-color: #CBD5E1; color: var(--accent) !important; transform: none; }
.section-head--center { text-align: center; justify-content: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head--center .kicker { justify-content: center; }

/* Contact */
.contact-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; } }
.contact-art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; border-radius: 28px; padding: 32px; background: linear-gradient(120deg, #0B1220, #172554 55%, #1D4ED8); color: #fff; }
.contact-art::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 40px 40px; }
.contact-art__mark { width: 72px; height: 72px; border-radius: 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); display: grid; place-items: center; }
.contact-art__line { margin-top: 20px; font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.contact-art__sub { margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #CBD5E1; }
.contact-card { padding: 32px; border-radius: 28px; }
@media (min-width: 768px) { .contact-card { padding: 40px; } }
.contact-card__logo { width: auto; height: 64px; align-self: flex-start; }
.contact-rows { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 10px; }
.contact-rows > li > * { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--border-light); font-size: 15px; font-weight: 700; line-height: 1.4; word-break: break-word; }
.contact-rows a:hover { border-color: #CBD5E1; }
.contact-rows__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--border); color: var(--primary); display: grid; place-items: center; }
.contact-aside { display: grid; gap: 20px; }
.contact-aside .card { padding: 26px; border-radius: 22px; }
.contact-aside__promo { position: relative; overflow: hidden; background: linear-gradient(135deg, #1E40AF, #1D4ED8 55%, #1D4ED8 140%); color: #fff; border: 0; box-shadow: 0 30px 60px -30px rgba(30, 64, 175, .7); }
.contact-aside__promo h4 { font-size: 20px; color: #fff; }
.contact-aside__promo p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: #DBEAFE; }
.contact-aside__promo .btn { margin-top: 20px; }
.contact-list__static { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; font-size: 14px; font-weight: 600; line-height: 1.45; }
.contact-aside__box h4 { font-size: 16px; }
.contact-aside__box p { margin-top: 8px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.contact-aside__box .faq__more, .contact-aside__box .tag { margin-top: 14px; }

/* Services */
.hero--page { padding-bottom: 80px; }
.hero__title--sm { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.svc-grid { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
/* The reference's service card: flat white, icon tile, title, text, a rule, green checks. */
.svc { padding: 24px; border-radius: 24px; border-color: rgba(24, 24, 27, .1); box-shadow: 0 1px 2px rgba(24, 24, 27, .04), 0 18px 40px -20px rgba(24, 24, 27, .16); }
.svc__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #F1F5F9; color: var(--primary); box-shadow: inset 0 0 0 1px #E2E8F0; transition: background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.svc:hover .svc__icon { background: var(--primary); color: #fff; box-shadow: inset 0 0 0 1px var(--primary); }
.svc__title { margin-top: 20px; font-size: 18px; font-weight: 700; line-height: 1.375; }
.svc__text { margin-top: 12px; font-size: 14px; line-height: 24px; color: #475569; }
.svc__spacer { flex: 1; min-height: 20px; }
.svc__list { list-style: none; padding: 20px 0 0; border-top: 1px solid #F1F5F9; display: grid; gap: 10px; font-size: 14px; line-height: 20px; color: #334155; }
.svc__list li { display: flex; gap: 10px; align-items: flex-start; }
.svc__list svg { flex: none; margin-top: 2px; color: #16A34A; stroke-width: 2.5; }
.process { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 768px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.process__step { padding: 28px; border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: transform .3s ease, border-color .3s ease; }
.process__step:hover { transform: translateY(-4px); border-color: rgba(59, 130, 246, .5); }
.process__num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: var(--primary); color: #fff; font-family: var(--font-display); font-size: 15px; font-weight: 800; box-shadow: 0 10px 20px -8px rgba(29, 78, 216, .8); }
.process__title { margin-top: 20px; font-size: 18px; color: #fff; }
.process__text { margin-top: 8px; font-size: 14px; line-height: 1.65; color: #94A3B8; }
.pricing { margin-top: 36px; }
.seg--center { display: flex; justify-content: center; width: max-content; margin: 0 auto; max-width: 100%; }
.seg--wrap { flex-wrap: wrap; justify-content: center; }
.seg button { display: inline-flex; align-items: center; gap: 6px; }
.plans { display: grid; gap: 20px; margin-top: 32px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plans[hidden] { display: none; }
.plan { padding: 32px; border-radius: 26px; }
.plan--featured { background: var(--dark); color: #fff; border-color: rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -30px rgba(29, 78, 216, .6); }
.plan__badge { position: absolute; top: -13px; left: 24px; border-radius: 999px; padding: 6px 12px; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--primary); color: #fff; box-shadow: 0 8px 16px -8px rgba(29, 78, 216, .8); }
.plan--featured { overflow: visible; }
.plan__name { font-size: 20px; }
.plan__price { margin-top: 14px; font-family: var(--font-display); font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan__price span { font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.plan--featured .plan__price span { color: #94A3B8; }
.plan__blurb { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--muted); min-height: 44px; }
.plan--featured .plan__blurb { color: #94A3B8; }
.plan__list { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; font-size: 14px; font-weight: 600; flex: 1; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; }
.plan__list svg { flex: none; margin-top: 1px; color: var(--success); }
.plan--featured .plan__list svg { color: #4ADE80; }
.plan--featured .btn-primary { box-shadow: none; }
.pricing__custom { margin-top: 24px; text-align: center; font-size: 14px; color: var(--muted); }
.pricing__custom a { color: var(--primary); font-weight: 700; }
.faq-single { max-width: 860px; }

/* FAQs page */
.faq-page .seg { margin-bottom: 36px; }
.faq-group__title { font-size: 28px; letter-spacing: -.03em; }
.faq-group__sub { margin-top: 6px; color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.faq-page.is-searching .faq-group[hidden] { display: block; margin-top: 40px; }
.faq-page .faq__list { max-width: 900px; }

/* Legal */
.legal { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .legal { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; } .legal__toc { position: sticky; top: 96px; } }
.legal__toc .card { padding: 22px; }
.legal__toc ol { margin: 12px 0 0; padding-left: 20px; font-size: 13px; line-height: 1.5; display: grid; gap: 8px; }
.legal__toc a { color: #334155; font-weight: 600; }
.legal__toc a:hover { color: var(--primary); }
.legal__body { padding: 32px; border-radius: 24px; margin-top: 0; }
@media (min-width: 768px) { .legal__body { padding: 44px; } }
.legal__section { scroll-margin-top: 100px; }
.legal__section:first-child h2 { margin-top: 0; }
.legal__body h2 { font-size: 22px; }
.legal__body h3 { font-size: 16px; margin-top: 20px; }
.legal__body p, .legal__body li { font-size: 15px; }
/* The original site's legal furniture, in the site's blue: intro panel, item grids, info/warning callouts, numbered steps. */
.legal-intro { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; border-radius: 16px; background: var(--bg); border: 1px solid var(--border); margin-bottom: 30px; }
.legal-intro > svg { flex: none; color: var(--primary); margin-top: 3px; }
.legal-intro p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--fg); }
.legal-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0 20px; }
@media (min-width: 640px) { .legal-grid { grid-template-columns: 1fr 1fr; } }
.legal-grid__item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: #334155; }
.legal-grid__item > svg { flex: none; color: var(--primary); }
.legal-callout { display: flex; gap: 14px; padding: 18px 22px; border-radius: 14px; margin: 20px 0; background: #EFF6FF; border: 1px solid #DBEAFE; }
.legal-callout > svg { flex: none; color: var(--primary); margin-top: 3px; }
.legal-callout > div { min-width: 0; }
.legal-callout p, .legal-callout li { font-size: 15px; }
.legal-callout ul { margin-bottom: 0; }
.legal-callout--warning { background: #FFFBEB; border-color: #FDE68A; }
.legal-callout--warning > svg { color: #D97706; }
.legal-steps { display: grid; gap: 12px; margin: 18px 0 22px; }
.legal-step { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: var(--bg); border: 1px solid var(--border); }
.legal-step__num { flex: none; width: 32px; height: 32px; border-radius: 999px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.legal-step h3 { margin: 2px 0 0; font-size: 16px; }
.legal-step p { margin-top: 4px; }

/* ---------- Admin ---------- */
.admin { max-width: 1280px; margin: 0 auto; padding: 40px 20px 96px; display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .admin { grid-template-columns: 220px minmax(0, 1fr); padding: 48px 32px 112px; gap: 32px; } .admin__nav { position: sticky; top: 96px; } }
.admin__nav { display: flex; flex-wrap: wrap; gap: 4px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 12px; }
.admin__nav .row-card__label { width: 100%; padding: 6px 10px 8px; }
.admin__nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; color: #334155; }
.admin__nav a:hover { background: var(--bg); }
.admin__nav a.is-active { background: var(--dark); color: #fff; }
@media (min-width: 1024px) { .admin__nav { display: grid; } .admin__nav a { display: flex; } }
.admin__badge { margin-left: auto; min-width: 22px; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; text-align: center; }
.admin__title { font-size: 28px; letter-spacing: -.03em; margin-bottom: 20px; }
.admin__tiles { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .admin__tiles { grid-template-columns: repeat(4, 1fr); } }
.admin__tile { padding: 20px; border-radius: 18px; }
.admin__tile-n { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.admin__tile-l { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.admin__list { display: grid; gap: 12px; }
.admin__row { flex-direction: row; align-items: flex-start; gap: 16px; padding: 18px 20px; border-radius: 18px; }
.admin__row--stack { flex-direction: column; align-items: stretch; gap: 6px; }
.admin__row-body { flex: 1; min-width: 0; }
.admin__row-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.admin__row-meta { margin-top: 4px; font-size: 13px; color: var(--muted); }
.admin__row-meta a { color: var(--primary); font-weight: 600; }
.admin__row-desc { margin-top: 8px; font-size: 14px; line-height: 1.6; color: #334155; }
.admin__article { margin-top: 10px; max-width: 760px; padding: 20px 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg); font-size: 15px; }
.admin__article > :first-child { margin-top: 0; }
.admin__row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: none; }
.admin__reject summary { list-style: none; cursor: pointer; }
.admin__reject summary::-webkit-details-marker { display: none; }
.admin__reject form { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.admin__reject .input { padding: 8px 12px; font-size: 13px; width: 260px; max-width: 100%; }
.admin__diff { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.admin__diff th, .admin__diff td { text-align: left; vertical-align: top; padding: 8px 10px; border-top: 1px solid var(--border-light); }
.admin__diff th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); border-top: 0; }
.admin__diff td:nth-child(2) { color: var(--muted); }
.admin__diff td:nth-child(3) { font-weight: 600; }
.admin__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin__table th, .admin__table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border-light); white-space: nowrap; }
.admin__table th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); background: var(--bg); }
.seg a { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); }
.seg a.is-active { background: var(--dark); color: #fff; }

/* ---------- Pills for orders, ads, roles ---------- */
.pill--paid { background: #F1F5F9; color: var(--primary); border-color: #CBD5E1; }
.pill--fulfilled, .pill--active { background: #F0FDF4; color: #15803D; border-color: #BBF7D0; }
.pill--canceled, .pill--paused, .pill--expired { background: #F1F5F9; color: #475569; border-color: #E2E8F0; }
.pill--refunded { background: #FEF2F2; color: #B91C1C; border-color: #FECACA; }
.pill--draft { background: #FEFCE8; color: #A16207; border-color: #FEF08A; }
.pill--admin { background: var(--dark); color: #fff; border-color: var(--dark); }
.pill--user { background: #fff; color: var(--muted); border-color: var(--border); }

/* ---------- Checkout ---------- */
.checkout__row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.checkout__row--sub { font-size: 13px; color: var(--muted); margin-top: -8px; }
.checkout__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; border-top: 1px solid var(--border-light); font-size: 15px; font-weight: 700; }
.checkout__total strong { font-family: var(--font-display); font-size: 28px; letter-spacing: -.03em; }

/* ---------- Markdown toolbar (guest post form) ---------- */
/* Writers: "writing as" strip on the submission form, the article rows in the account, the author page. */
.writer-as { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg); }
.writer-as__avatar { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.writer-as__avatar img { width: 100%; height: 100%; object-fit: cover; }
.writer-as > div { flex: 1; min-width: 0; }
.writer-as__label { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.writer-as__name { margin-top: 2px; font-weight: 800; font-size: 15px; }
.writer-as__email { font-weight: 500; color: var(--muted); font-size: 13px; margin-left: 6px; }
.art-rows { display: grid; gap: 16px; margin-top: 28px; }
.art-row { flex-direction: row; align-items: center; gap: 20px; padding: 20px 22px; border-radius: 20px; }
.art-row__mark { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #F1F5F9; color: var(--primary); }
.art-row--approved .art-row__mark { background: #F0FDF4; color: #15803D; }
.art-row--pending .art-row__mark { background: #FEFCE8; color: #A16207; }
.art-row--rejected .art-row__mark { background: #FEF2F2; color: #B91C1C; }
.art-row--unverified .art-row__mark { background: #F1F5F9; color: #475569; }
.art-row__body { flex: 1; min-width: 0; }
.art-row__title { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; line-height: 1.3; }
.art-row__title a { color: inherit; }
.art-row__title a:hover { color: var(--primary); }
.art-row__meta { color: var(--muted); font-size: 14px; margin-top: 4px; }
.art-row__pills { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.art-row__actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 639px) { .art-row { flex-wrap: wrap; } .art-row__actions { width: 100%; } .art-row__actions .btn { flex: 1; } }
.art-row__mark--img { overflow: hidden; background: #fff; border: 1px solid var(--border); }
.art-row__mark--img img { width: 100%; height: 100%; object-fit: cover; }
.upload__preview--cover { width: 128px; height: 72px; border-radius: 10px; }
.upload__preview--cover img { padding: 0; object-fit: cover; }
.upload__preview--round { border-radius: 999px; background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 26px; border: 0; }
.upload__preview--round img { padding: 0; object-fit: cover; }

.author { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); padding: 40px 20px 48px; border-bottom: 1px solid var(--border); }
.author::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 0% 0%, rgba(29, 78, 216, .10), transparent 70%), radial-gradient(40% 60% at 100% 100%, rgba(29, 78, 216, .08), transparent 70%); }
.author__inner { max-width: 1120px; margin: 0 auto; }
.author__card { margin-top: 20px; display: flex; gap: 28px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 32px; box-shadow: var(--shadow-card); }
.author__avatar { flex: none; width: 112px; height: 112px; border-radius: 32px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 44px; box-shadow: 0 20px 30px -18px rgba(30, 64, 175, .7); }
.author__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author__body { flex: 1; min-width: 0; }
.author__kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.author__name { margin-top: 8px; font-size: 36px; letter-spacing: -.035em; line-height: 1.05; }
.author__bio { margin-top: 14px; color: #334155; font-size: 16px; line-height: 1.7; max-width: 640px; }
.author__bio p + p { margin-top: 10px; }
.author__links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.author__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.author__sub { font-size: 24px; letter-spacing: -.02em; }
.author__count { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
@media (max-width: 639px) { .author__card { flex-direction: column; padding: 24px; gap: 18px; } .author__avatar { width: 88px; height: 88px; border-radius: 26px; font-size: 36px; } .author__name { font-size: 30px; } }
@media (min-width: 1024px) { .author { padding: 48px 32px 56px; } }
.post-author__avatar img { width: 100%; height: 100%; object-fit: cover; }
.post-author__body { flex: 1; min-width: 0; }
.post-author__name a { color: inherit; }
.post-author__name a:hover { color: var(--primary); }
.post-author__bio { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.post-author__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.post-author { align-items: flex-start; }

/* Turnstile: the visible human check sits on its own row above the submit button. */
.turnstile { margin: 4px 0 2px; min-height: 65px; }
.turnstile .cf-turnstile { width: 100%; }
.turnstile iframe { border-radius: 12px; }

/* 404 / 500: the dark hero with the dot grid, a ghost code behind the words, the directory search as the way back. */
.oops { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: #fff; padding: 88px 20px 104px; min-height: 70vh; display: flex; align-items: center; }
.oops::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(rgba(148, 163, 184, .16) 1.5px, transparent 1.6px); background-size: 28px 28px; mask-image: radial-gradient(70% 80% at 50% 40%, #000 30%, transparent 100%); -webkit-mask-image: radial-gradient(70% 80% at 50% 40%, #000 30%, transparent 100%); }
.oops::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 55% at 85% 10%, rgba(29, 78, 216, .45), transparent 70%), radial-gradient(35% 45% at 5% 100%, rgba(29, 78, 216, .3), transparent 70%); }
.oops__ghost { position: absolute; right: -1vw; top: 50%; transform: translateY(-50%); z-index: -1; font-family: var(--font-display); font-weight: 800; font-size: clamp(180px, 34vw, 420px); line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(148, 163, 184, .18); user-select: none; pointer-events: none; }
.oops__inner { position: relative; width: 100%; max-width: 860px; margin: 0 auto; }
.oops__code { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #CBD5E1; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; padding: 7px 14px 7px 12px; }
.oops__dot { width: 8px; height: 8px; border-radius: 999px; background: #F59E0B; box-shadow: 0 0 0 4px rgba(245, 158, 11, .2); }
.oops__title { margin-top: 22px; font-size: 44px; line-height: 1.02; letter-spacing: -.035em; max-width: 640px; }
.oops__lead { margin-top: 16px; font-size: 17px; line-height: 1.65; color: #94A3B8; max-width: 560px; }
.oops__search { margin: 32px 0 0; max-width: 760px; }
.oops__links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.oops__links a { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; padding: 9px 14px; font-size: 13px; font-weight: 700; color: #CBD5E1; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.oops__links a:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
@media (min-width: 768px) { .oops__title { font-size: 60px; } .oops { padding: 112px 32px 128px; } }
@media (max-width: 639px) { .oops { padding: 56px 20px 72px; min-height: 0; } .oops__ghost { font-size: 150px; right: -8vw; top: 24%; } .oops__title { font-size: 36px; } }

/* Restricted account / blocked address: the same dark hero, with the facts and the one appeal form. */
.is-bare .footer { display: none; }
/* The context line under the description: where the business sits in the directory, with the category and state pages linked. */
.listing__context { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border-light); font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.listing__context a { color: var(--fg); font-weight: 600; text-decoration: underline; text-decoration-color: #CBD5E1; text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color .15s ease, color .15s ease; }
.listing__context a:hover { color: var(--primary); text-decoration-color: var(--primary); }
.listing__context + .socials { margin-top: 18px; }
/* The same line at the foot of category and location pages. */
.page-context { max-width: 820px; margin: 40px auto 0; padding-top: 22px; border-top: 1px solid var(--border); text-align: center; font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.page-context a { color: var(--fg); font-weight: 600; text-decoration: underline; text-decoration-color: #CBD5E1; text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: text-decoration-color .15s ease, color .15s ease; }
.page-context a:hover { color: var(--primary); text-decoration-color: var(--primary); }

/* Report: a small flag in the top right corner of the listing card, with its own tooltip. */
.listing__report { position: absolute; top: 18px; right: 18px; z-index: 2; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--muted-light); display: grid; place-items: center; transition: color .15s ease, border-color .15s ease, background-color .15s ease, transform .15s ease; }
.listing__report:hover, .listing__report:focus-visible { color: #B91C1C; border-color: #FECACA; background: #FEF2F2; transform: translateY(-1px); }
.listing__report::after { content: attr(data-tip); position: absolute; top: calc(100% + 8px); right: 0; padding: 6px 10px; border-radius: 8px; background: var(--dark-2); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .15s ease, transform .15s ease; }
.listing__report:hover::after, .listing__report:focus-visible::after { opacity: 1; transform: none; }
@media (min-width: 768px) { .listing__report { top: 22px; right: 22px; } }
.oops--restricted { align-items: flex-start; min-height: 0; }
.oops--restricted .oops__dot { background: #EF4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .22); }
.restricted__facts { margin-top: 26px; display: grid; gap: 1px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; overflow: hidden; max-width: 640px; }
.restricted__facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 18px; background: rgba(7, 11, 22, .6); }
.restricted__k { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #94A3B8; padding-top: 3px; }
.restricted__v { font-size: 15px; line-height: 1.55; color: #E2E8F0; }
.restricted__form { margin-top: 26px; max-width: 640px; color: var(--fg); }
.restricted__form .form-section__sub { margin-bottom: 14px; }
.restricted__appealed { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .3); color: #BBF7D0; font-size: 14px; }
.oops__linkbtn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; padding: 9px 14px; font-size: 13px; font-weight: 700; color: #CBD5E1; background: transparent; cursor: pointer; }
.oops__linkbtn:hover { border-color: #fff; color: #fff; }
@media (max-width: 639px) { .restricted__facts > div { grid-template-columns: 1fr; gap: 4px; } }

.md-editor { display: grid; gap: 8px; }
.md-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.md-toolbar button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border); background: #fff; font-size: 13px; font-weight: 700; color: #334155; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.md-toolbar button:hover { border-color: var(--primary); color: var(--primary); background: #F1F5F9; }
.md-toolbar button[disabled] { opacity: .45; pointer-events: none; }
.md-toolbar button b { font-weight: 900; }
.md-toolbar button i { font-style: italic; font-family: Georgia, serif; }
.md-toolbar button small { font-size: 10px; font-weight: 800; margin-left: 1px; }
.md-toolbar__hint { margin-left: auto; font-size: 12px; color: var(--muted-light); }
.md-link { display: grid; gap: 10px; grid-template-columns: 1fr auto auto; align-items: end; padding: 14px; border: 1px solid #CBD5E1; border-radius: 14px; background: var(--bg); }
.md-link[hidden] { display: none; }
.md-link label { display: grid; gap: 6px; font-size: 12px; font-weight: 700; }
.md-link .input { padding: 10px 12px; font-size: 14px; }
.md-link .btn { height: 42px; }
.md-link .btn[disabled] { opacity: .5; pointer-events: none; }
.md-link__preview { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--muted); word-break: break-all; }
.md-link__preview.is-bad { color: #B91C1C; }
.md-hint { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.md-count { flex: none; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); white-space: nowrap; transition: color .15s ease; }
.md-count.is-ok { color: #15803D; }
.md-count.is-over { color: #B91C1C; }
@media (max-width: 639px) { .md-hint { flex-direction: column; gap: 6px; } }
.md-toolbar button.md-toolbar__preview { border-color: #CBD5E1; background: var(--bg); color: var(--primary); }
.md-toolbar button.md-toolbar__preview:hover { border-color: var(--primary); background: #E2E8F0; }
.md-toolbar button.md-toolbar__preview.is-loading { opacity: .6; pointer-events: none; }
@media (max-width: 639px) { .md-link { grid-template-columns: 1fr 1fr; } .md-link label { grid-column: 1 / -1; } .md-toolbar__hint { display: none; } .md-toolbar button.md-toolbar__preview { margin-left: auto; } }

/* Article preview: the guest post rendered the way the blog will show it. */
.pv { display: none; flex-direction: column; width: min(920px, calc(100vw - 32px)); max-width: none; max-height: min(90vh, 1000px); margin: auto; padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--fg); box-shadow: 0 40px 80px -30px rgba(7, 11, 22, .55); overflow: hidden; }
.pv[open] { display: flex; animation: pv-in .28s cubic-bezier(.2, .8, .2, 1); }
.pv::backdrop { background: rgba(7, 11, 22, .62); backdrop-filter: blur(6px); }
@keyframes pv-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
body:has(.pv[open]) { overflow: hidden; }
.pv__bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 22px; border-bottom: 1px solid var(--border); background: #fff; }
.pv__tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.pv__note { font-size: 13px; color: var(--muted); }
.pv__close { margin-left: auto; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.pv__close:hover { border-color: var(--primary); color: var(--primary); background: #F1F5F9; }
.pv__scroll { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.pv__head { background: var(--bg); padding: 36px 40px 28px; border-bottom: 1px solid var(--border); }
.pv__title { margin-top: 14px; font-size: 32px; letter-spacing: -.035em; line-height: 1.08; overflow-wrap: anywhere; }
.pv__meta { margin-top: 14px; }
.pv__body { margin-top: 0; padding: 28px 40px 40px; overflow-wrap: anywhere; }
.pv__body:empty { display: none; }
.pv__empty { padding: 48px 40px; text-align: center; color: var(--muted-light); font-size: 15px; }
.pv__foot { display: flex; justify-content: flex-end; padding: 12px 18px; border-top: 1px solid var(--border); background: #fff; }
@media (max-width: 639px) {
  .pv { width: 100vw; height: 100dvh; max-height: none; margin: 0; border-radius: 0; }
  .pv__bar { padding-left: 16px; }
  .pv__note { display: none; }
  .pv__head { padding: 24px 20px 20px; }
  .pv__title { font-size: 26px; }
  .pv__body { padding: 20px 20px 32px; }
  .pv__empty { padding: 40px 20px; }
}

/* ---------- Guest post byline ---------- */
.post-author { margin-top: 36px; display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 20px 24px; }
.post-author__avatar { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.post-author__name { margin-top: 4px; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.post-author__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--primary); }

/* ---------- Scrollbars: the page keeps one slim bar in the site's grey; panels, sheets and drawers scroll without showing one ---------- */
html { scrollbar-width: thin; scrollbar-color: #CBD5E1 transparent; }
.no-bar, .pv__scroll, .mobile-nav, .udlg, .usub__body, .ljc, .toasts { scrollbar-width: none; -ms-overflow-style: none; }
.no-bar::-webkit-scrollbar, .pv__scroll::-webkit-scrollbar, .mobile-nav::-webkit-scrollbar, .udlg::-webkit-scrollbar, .usub__body::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ---------- On-site notices: toasts (bottom right) and the confirm sheet. Never a browser pop-up. ---------- */
.toasts { position: fixed; inset: auto 20px 20px auto; margin: 0; border: 0; padding: 0; background: transparent; overflow: visible; z-index: 120; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); height: auto; pointer-events: none; color: inherit; }
.toasts:popover-open { display: grid; }
.toasts::backdrop { display: none; }
.toast { pointer-events: auto; position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 14px 12px 16px 16px; border-radius: 18px; background: var(--dark-2); color: #fff; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 60px -24px rgba(7, 11, 22, .65), 0 0 0 1px rgba(7, 11, 22, .25); animation: toast-in .32s cubic-bezier(.2, .8, .2, 1); }
.toast::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 100% 0%, rgba(29, 78, 216, .3), transparent 70%); }
.toast.is-leaving { animation: toast-out .24s ease forwards; }
.toast__icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(29, 78, 216, .22); color: #93C5FD; }
.toast--warn .toast__icon { background: rgba(245, 158, 11, .18); color: #FCD34D; }
.toast--error .toast__icon { background: rgba(220, 38, 38, .2); color: #FCA5A5; }
.toast--info .toast__icon { background: rgba(148, 163, 184, .16); color: #CBD5E1; }
.toast__body { min-width: 0; padding-top: 3px; font-size: 14px; line-height: 1.5; color: #CBD5E1; overflow-wrap: anywhere; }
.toast__title { display: block; font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -.01em; color: #fff; margin-bottom: 2px; }
.toast__close { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; color: #94A3B8; transition: background-color .15s ease, color .15s ease; }
.toast__close:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.toast__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--primary), #60A5FA); transform-origin: left; animation: toast-bar var(--toast-ms, 5s) linear forwards; }
.toast--warn .toast__bar { background: linear-gradient(90deg, #F59E0B, #FCD34D); }
.toast--error .toast__bar { background: linear-gradient(90deg, #DC2626, #FCA5A5); }
.toast.is-held .toast__bar { animation-play-state: paused; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes toast-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 639px) { .toasts { inset: auto 16px 16px 16px; width: auto; } }

.ljc { width: min(440px, calc(100vw - 32px)); margin: auto; padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--fg); box-shadow: 0 40px 80px -30px rgba(7, 11, 22, .5); }
.ljc[open] { animation: pv-in .26s cubic-bezier(.2, .8, .2, 1); }
.ljc::backdrop { background: rgba(7, 11, 22, .62); backdrop-filter: blur(6px); }
.ljc__card { margin: 0; padding: 28px 28px 24px; display: grid; gap: 8px; }
.ljc__kicker { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.ljc--danger .ljc__kicker { color: #B91C1C; }
.ljc__title { font-size: 22px; letter-spacing: -.025em; line-height: 1.15; overflow-wrap: anywhere; }
.ljc__text { font-size: 14.5px; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.ljc__text[hidden] { display: none; }
.ljc__actions { margin-top: 14px; display: flex; justify-content: flex-end; gap: 8px; }
.ljc__danger { background: #DC2626; color: #fff !important; box-shadow: 0 10px 20px -10px rgba(220, 38, 38, .6); }
.ljc__danger:hover { background: #B91C1C; }

/* ---------- Businesses page, laid out like the reference: light hero with chips, a search band, every category as a group of banner cards ---------- */
.dir-hero { position: relative; isolation: isolate; overflow: hidden; background: #fff; padding: 72px 20px 52px; border-bottom: 1px solid var(--border); }
.dir-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(148, 163, 184, .3) 1px, transparent 1.4px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .25)); mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .25)); }
.dir-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 70% at 82% 0%, rgba(59, 130, 246, .16), transparent 70%); }
.dir-hero__inner { max-width: 1280px; margin: 0 auto; }
.dir-hero__pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 14px; border-radius: 999px; background: #EFF6FF; border: 1px solid #DBEAFE; color: var(--primary); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.dir-hero__pill::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--primary); }
.dir-hero__title { margin-top: 24px; font-size: clamp(40px, 6vw, 64px); line-height: 1; letter-spacing: -.04em; }
.dir-hero__title span { display: block; background: linear-gradient(90deg, #2563EB, #1D4ED8 60%, #1E40AF); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.dir-hero__lead { margin-top: 22px; max-width: 620px; font-size: 17px; line-height: 1.65; color: var(--muted); }
.dir-hero__chips { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.dir-chip { display: inline-flex; align-items: baseline; gap: 8px; padding: 14px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: 0 12px 30px -24px rgba(15, 23, 42, .3); }
.dir-chip b { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--fg); }
.dir-chip span { font-size: 14px; font-weight: 500; color: var(--muted); }
@media (max-width: 767px) { .dir-hero { padding: 52px 20px 40px; } }

.dir-search-wrap { background: #fff; border-bottom: 1px solid var(--border); padding: 16px 20px; }
.dir-search { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .dir-search { grid-template-columns: 1.4fr 1.4fr 1fr auto auto; } }
.dir-search__input { min-height: 52px; border: 1px solid var(--border); border-radius: 12px; padding: 0 16px; font-size: 14px; font-weight: 600; color: var(--fg); background: #fff; outline: 0; transition: border-color .15s ease, box-shadow .15s ease; }
.dir-search__input::placeholder { color: #94A3B8; font-weight: 500; }
.dir-search__input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(29, 78, 216, .1); }
.dir-search__select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' 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; }
.dir-search__btn { min-height: 52px; border-radius: 12px; padding: 0 26px; }

.dir-body { padding-top: 40px; }
.dir-found { font-size: 15px; font-weight: 700; color: #334155; }
.dir-found__note { font-weight: 500; color: var(--muted); }
.dir-groups { display: grid; gap: 60px; margin-top: 28px; }
.dir-found + .dir-groups { margin-top: 32px; }
.dir-group__head { display: flex; align-items: center; gap: 18px; }
.dir-group__icon { flex: none; width: 58px; height: 58px; border-radius: 18px; background: #EFF6FF; color: var(--primary); display: grid; place-items: center; }
.dir-group__text { flex: 1; min-width: 0; }
.dir-group__kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.dir-group__title { margin-top: 4px; font-size: 28px; letter-spacing: -.03em; line-height: 1.1; overflow-wrap: anywhere; }
.dir-group__count { margin-top: 4px; font-size: 14px; color: var(--muted); }
.dir-group__all { flex: none; }
@media (max-width: 639px) { .dir-group__head { flex-wrap: wrap; } .dir-group__all { width: 100%; justify-content: center; } .dir-group__title { font-size: 24px; } }
.dir-grid { margin-top: 24px; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .dir-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dir-grid { grid-template-columns: repeat(4, 1fr); } }

.biz--banner { padding: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: 20px; }
.biz__banner { display: grid; place-items: center; height: 164px; background: linear-gradient(180deg, #EEF4FF 0%, #F3F0FF 55%, #FDF2F8 100%); border-bottom: 1px solid var(--border-light); }
.biz__banner img { max-width: 150px; max-height: 96px; width: auto; height: auto; object-fit: contain; }
.biz__banner-letter { width: 72px; height: 72px; border-radius: 20px; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--primary); }
.biz__body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 20px 22px 18px; }
.biz--banner .biz__name { margin-top: 0; font-size: 17px; overflow-wrap: anywhere; }
.biz--banner .biz__loc { margin-top: 8px; }
.biz__pin { color: #E11D48; display: inline-flex; }
.biz--banner .biz__desc { margin-top: 14px; }
.biz--banner .biz__foot { padding-top: 16px; margin-top: 6px; }
.biz__cat { font-size: 12px; font-weight: 700; color: #64748B; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.biz__view { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 800; color: var(--primary); transition: gap .2s ease; }
.biz--banner:hover .biz__view { gap: 8px; }

/* ---------- Cards spring up with a soft blue glow; arrows and icons answer the hover ---------- */
a.card, .card--hover { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease, border-color .3s ease; }
a.card:hover, .card--hover:hover, a.biz:hover { transform: translateY(-8px); border-color: #BFDBFE; box-shadow: 0 30px 60px -28px rgba(29, 78, 216, .5), 0 0 48px -14px rgba(59, 130, 246, .35), 0 0 0 1px rgba(29, 78, 216, .1); }
.biz__view svg, .biz__go, .card__arrow { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), color .2s ease, background-color .2s ease, border-color .2s ease; }
a.card:hover .biz__view svg { transform: translateX(5px); }
a.tile:hover .card__arrow { color: var(--primary); transform: translateX(5px); }
a.tile .icon-sq { transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
a.tile:hover .icon-sq { background: var(--primary); color: #fff; box-shadow: 0 12px 24px -12px rgba(29, 78, 216, .75); transform: translateY(-2px); }
.tile__name { transition: color .2s ease; }
a.tile:hover .tile__name { color: var(--primary); }
.dir-group__all, .btn-outline { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease, border-color .3s ease, background-color .2s ease, color .2s ease; }
@media (prefers-reduced-motion: reduce) { a.card:hover, .card--hover:hover, a.biz:hover, a.tile:hover .icon-sq { transform: none; } }

/* ---------- Businesses page: centred hero (the live dot grid draws the dots), search band that stays under the header ---------- */
.dir-hero { text-align: center; }
.dir-hero::before { display: none; }
.dir-hero::after { background: radial-gradient(50% 70% at 50% 0%, rgba(59, 130, 246, .14), transparent 70%); }
.dir-hero__lead { margin-left: auto; margin-right: auto; }
.dir-hero__chips { justify-content: center; }
.dir-search-wrap { position: sticky; top: var(--header-h); z-index: 40; box-shadow: 0 12px 30px -26px rgba(15, 23, 42, .35); }

/* ---------- Services: "How we work", laid out like the reference ---------- */
.process-head > div { max-width: 600px; }
.process-head::before { content: ""; position: absolute; left: -12%; bottom: -35%; width: 55%; height: 90%; z-index: -1; background: radial-gradient(circle at 30% 70%, rgba(29, 78, 216, .32), transparent 62%); pointer-events: none; }
.process { gap: 20px; margin-top: 48px; }
.process__step { padding: 26px 26px 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), border-color .3s ease, box-shadow .35s ease; }
.process__step:hover { transform: translateY(-6px); border-color: rgba(59, 130, 246, .5); box-shadow: 0 30px 60px -30px rgba(29, 78, 216, .5); }
.process__top { display: flex; align-items: center; gap: 14px; }
.process__top::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04)); }
.process__num { margin: 0; }
.process__title { margin-top: 26px; font-size: 18px; letter-spacing: -.01em; }
.process__text { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: #8FA3C0; }

/* ---------- Custom quote sheet (services page) ---------- */
.qdlg { width: min(760px, calc(100vw - 32px)); max-height: min(92vh, 1000px); margin: auto; padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--fg); box-shadow: 0 40px 80px -30px rgba(7, 11, 22, .5); overflow: auto; overscroll-behavior: contain; scrollbar-width: none; }
.qdlg::-webkit-scrollbar { display: none; }
.qdlg[open] { animation: pv-in .28s cubic-bezier(.2, .8, .2, 1); }
.qdlg::backdrop { background: rgba(7, 11, 22, .62); backdrop-filter: blur(6px); }
body:has(.qdlg[open]) { overflow: hidden; }
.qdlg__form { margin: 0; display: grid; }
.qdlg__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 28px 28px 0; }
.qdlg__kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.qdlg__title { margin-top: 8px; font-size: 26px; letter-spacing: -.03em; }
.qdlg__sub { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 520px; }
.qdlg__close { flex: none; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); transition: border-color .15s ease, color .15s ease; }
.qdlg__close:hover { border-color: var(--primary); color: var(--primary); }
.qdlg__body { padding: 22px 28px 6px; display: grid; gap: 16px; }
.qdlg__body textarea.input { min-height: 120px; }
.qdlg__body .alert[hidden] { display: none; }
.qdlg__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 28px 24px; margin-top: 10px; border-top: 1px solid var(--border-light); }
.qdlg__fine { font-size: 12.5px; color: var(--muted); }
.qdlg__actions { display: flex; gap: 8px; margin-left: auto; }
.qdlg__done { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 52px 28px 44px; }
.qdlg__done[hidden] { display: none; }
.qdlg__done h3 { font-size: 24px; letter-spacing: -.03em; }
.qdlg__done p { max-width: 440px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.qdlg__check { width: 64px; height: 64px; border-radius: 999px; background: #F0FDF4; color: #15803D; display: grid; place-items: center; margin-bottom: 6px; }
.qdlg__form.is-done .qdlg__head, .qdlg__form.is-done .qdlg__body, .qdlg__form.is-done .qdlg__foot { display: none; }
@media (max-width: 639px) { .qdlg { width: 100vw; height: 100dvh; max-height: none; margin: 0; border-radius: 0; } .qdlg__head, .qdlg__body, .qdlg__foot { padding-left: 18px; padding-right: 18px; } .qdlg__actions { width: 100%; } .qdlg__actions .btn { flex: 1; } }

/* ---------- Blog page, laid out like the reference: a wide featured card, then tiles with picture, date, title, excerpt, Read more ---------- */
.post-ph { display: grid; place-items: center; background: linear-gradient(120deg, #0B1220, #172554 55%, #1D4ED8); }
.post-ph img { opacity: .8; }
.post-feature { padding: 0; overflow: hidden; border-radius: 28px; display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .post-feature { grid-template-columns: minmax(0, 46%) minmax(0, 1fr); } }
.post-feature__media { display: block; min-height: 260px; background: var(--bg); }
@media (min-width: 900px) { .post-feature__media { min-height: 440px; } }
.post-feature__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-feature__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 36px 28px; }
@media (min-width: 900px) { .post-feature__body { padding: 56px 52px; } }
.post-feature__kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.post-feature__title { margin-top: 18px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.035em; color: var(--primary); overflow-wrap: anywhere; }
.post-feature__excerpt { margin-top: 20px; font-size: 17px; line-height: 1.65; color: #475569; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-feature__btn { margin-top: 30px; border-radius: 12px; padding: 14px 24px; }
.post-feature:hover .post-feature__btn svg { transform: translateX(4px); }
.post-feature__btn svg { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }

/* Under an article: the one before and the one after, as two cards (the reference's layout). */
.post-nav { max-width: 1280px; margin: -40px auto 0; padding: 0 20px 80px; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav__card { padding: 26px 28px; border-radius: 22px; gap: 10px; justify-content: center; }
.post-nav__card--next { text-align: right; align-items: flex-end; }
.post-nav__label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); }
.post-nav__title { font-family: var(--font-display); font-weight: 800; font-size: 17px; line-height: 1.35; letter-spacing: -.01em; color: var(--fg); transition: color .2s ease; }
.post-nav__card:hover .post-nav__title { color: var(--primary); }
.post-nav__card svg { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.post-nav__card:hover svg { transform: translateX(-4px); }
.post-nav__card--next:hover svg { transform: translateX(4px); }

.post-tiles { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .post-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-tiles { grid-template-columns: repeat(3, 1fr); } }
.post-tiles--after-feature { margin-top: 32px; }
.ptile { padding: 20px; border-radius: 24px; flex-direction: column; }
.ptile__media { display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--bg); }
.ptile__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ptile__body { display: flex; flex-direction: column; flex: 1; padding: 20px 4px 6px; }
.ptile__date { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.ptile__title { margin-top: 12px; font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; color: var(--fg); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ptile__excerpt { margin-top: 12px; font-size: 15px; line-height: 1.6; color: #475569; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ptile__more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; color: var(--primary); }
.ptile__more svg { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.ptile:hover .ptile__more svg { transform: translateX(5px); }

/* ---------- Articles, dressed like the reference: a white card for the words, step cards, callouts, stat strips, compare cards ---------- */
.post-layout { padding-top: 28px; padding-bottom: 56px; }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 32px 22px; box-shadow: 0 20px 40px -32px rgba(15, 23, 42, .25); }
@media (min-width: 768px) { .post-card { padding: 48px 56px; } }
.prose--post { margin-top: 0; font-size: 17px; line-height: 1.8; color: #334155; }
.prose--post .post-lead { font-size: 18.5px; line-height: 1.75; color: #1E293B; }
.prose--post h2 { font-size: 30px; letter-spacing: -.035em; line-height: 1.15; margin-top: 44px; scroll-margin-top: 110px; }
.prose--post h3 { font-size: 19px; color: var(--primary); margin-top: 32px; }
.prose--post h4 { font-size: 16px; color: var(--primary); }
.prose--post a { color: var(--primary); font-weight: 700; text-decoration: none; }
.prose--post a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prose--post strong { color: #0F172A; }
.prose--post ul { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.prose--post ul > li { position: relative; padding-left: 26px; }
.prose--post ul > li::before { content: ""; position: absolute; left: 1px; top: .6em; width: 10px; height: 10px; border-radius: 999px; background: var(--primary); box-shadow: 0 0 0 4px #DBEAFE; }
.prose--post ul ul { margin: 8px 0 0; }
.prose--post ul ul > li::before { width: 8px; height: 8px; left: 2px; background: #93C5FD; box-shadow: none; }
.prose--post img { border-radius: 20px; margin: 28px 0; }
.prose--post hr { margin: 40px 0; }
.prose .steps { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 22px 0; }
.prose .step { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: #EFF6FF; border: 1px solid #DBEAFE; }
.step__n { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--dark-soft); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 13px; margin-top: 2px; }
.step__body { min-width: 0; font-size: 15.5px; line-height: 1.7; color: #334155; }
.step__body p + p { margin-top: 6px; }
.step__title { font-weight: 800; color: #0F172A; font-size: 16px; }
.callout { margin: 26px 0; padding: 18px 22px; border-radius: 14px; background: #EFF6FF; border: 1px solid #DBEAFE; border-left: 4px solid var(--primary); }
.callout__kicker { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.callout__body { font-size: 16.5px; line-height: 1.7; color: var(--primary); font-weight: 500; }
.callout__body p + p { margin-top: 10px; }
.callout__body a { color: #1E3A8A; font-weight: 800; }
.callout--warn { background: #FFF5F3; border-color: #FFE4E0; border-left-color: #DC2626; }
.callout--warn .callout__kicker { color: #DC2626; }
.callout--warn .callout__body { color: #7F1D1D; }
.callout--dark { background: linear-gradient(135deg, #0B1220, #1E3A8A 60%, #2563EB); border: 0; color: #fff; }
.callout--dark .callout__kicker { color: #BFDBFE; }
.callout--dark .callout__body { color: #E2E8F0; }
.callout--dark .callout__body strong { color: #fff; }
.callout--dark .callout__body a { color: #93C5FD; }
.callout--quote { background: var(--bg); border-color: var(--border); border-left-color: var(--primary); font-style: italic; }
.callout--quote .callout__body { color: #334155; font-weight: 500; }
.stats-strip { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 26px 0; }
@media (min-width: 640px) { .stats-strip { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }
.stat-box { text-align: center; padding: 22px 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg); }
.stat-box__n { display: block; font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -.03em; color: var(--primary); line-height: 1; }
.stat-box__l { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
.compare { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 26px 0; }
@media (min-width: 640px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__card { padding: 18px 20px; border-radius: 14px; font-size: 16px; line-height: 1.7; }
.compare__card--a { background: #FFF7F5; border: 1px solid #FFE1DA; border-top: 3px solid #DC2626; }
.compare__card--b { background: #EFF6FF; border: 1px solid #DBEAFE; border-top: 3px solid var(--primary); }
.compare__title { font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.compare__card--a .compare__title { color: #B91C1C; }
.compare__card--b .compare__title { color: var(--primary); }
.table-wrap { overflow: auto; margin: 20px 0; border-radius: 14px; border: 1px solid var(--border); }
.table-wrap table { margin: 0; }
.table-wrap th, .table-wrap td { border: 0; border-bottom: 1px solid var(--border-light); }

/* The author box, the side cards and the closing call to action */
.post-author { margin-top: 40px; display: flex; gap: 18px; align-items: flex-start; background: var(--bg); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; }
.post-author__avatar { width: 54px; height: 54px; border-radius: 999px; font-size: 17px; }
.post-author__name { margin-top: 2px; font-size: 17px; }
.post-author__role { margin-top: 3px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.post-author__bio { margin-top: 8px; font-size: 15px; line-height: 1.7; color: #475569; }
.post-author__links { margin-top: 8px; }
.toc { border-radius: 20px; }
.toc .row-card__label { color: var(--primary); font-size: 11px; letter-spacing: .16em; }
.toc ol { list-style: none; padding: 0; margin-top: 14px; gap: 12px; }
.toc a { display: block; font-size: 14px; font-weight: 600; color: #334155; line-height: 1.45; transition: color .15s ease; }
.toc a:hover { color: var(--primary); }
.post-aside__cta { background: linear-gradient(135deg, #1D4ED8, #1E3A8A); color: #fff; border: 0; border-radius: 20px; }
.post-aside__cta .row-card__label { color: #BFDBFE; font-size: 11px; letter-spacing: .16em; }
.post-aside__cta h3 { color: #fff; font-size: 22px; letter-spacing: -.025em; line-height: 1.25; }
.post-aside__cta p:not(.row-card__label) { color: #DBEAFE; }
.post-aside__cta .btn { background: #fff; color: var(--primary) !important; box-shadow: none; }
.related { max-width: 1280px; margin: 0 auto; padding: 8px 20px 80px; }
.post-nav { padding-bottom: 48px; }
.related__kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.related__title { margin-top: 8px; font-size: 30px; letter-spacing: -.03em; }
.related .post-tiles { margin-top: 24px; }
.ptile--compact .ptile__excerpt { -webkit-line-clamp: 2; }
.ptile--compact:hover .ptile__title { color: var(--primary); }
.ptile__title { transition: color .2s ease; }
.post-nav { margin-top: 0; }
.md-tips { margin: 8px 0 0; font-size: 12.5px; line-height: 1.55; }

/* Hero badge: the "U.S. owned" tail is hidden on phones so the pill stays one line. */
.hero__badge-x { white-space: pre; }
@media (max-width: 639px) { .hero__badge-x { display: none; } }

/* Admin preview strip above a listing: a waiting listing, or a live one with its pending edits applied. */
.preview-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 10px 20px; background: #FFFBEB; border-bottom: 1px solid #FDE68A; color: #92400E; font-size: 14px; font-weight: 600; text-align: center; }
.preview-bar > svg { flex: none; }
.preview-bar a { display: inline-flex; align-items: center; gap: 4px; color: var(--primary); font-weight: 700; }
.preview-bar a:hover { text-decoration: underline; }

/* Phone widths: nothing may force a width past the screen. Long select options, file inputs, diff tables and
   long unbroken strings (emails, URLs) were doing it. */
.field, .form-grid > * { min-width: 0; }
select.input { width: 100%; max-width: 100%; min-width: 0; text-overflow: ellipsis; }
.upload { flex-wrap: wrap; }
.upload > div { flex: 1 1 180px; min-width: 0; }
.upload input[type=file] { max-width: 100%; }
.admin__diff { table-layout: fixed; }
.admin__diff td, .admin__diff th { overflow-wrap: anywhere; }
.admin__row-meta, .admin__row-desc, .admin__row-title, .admin__row-body { overflow-wrap: anywhere; }
.admin__row--stack { min-width: 0; }
.writer-as { flex-wrap: wrap; }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.card { min-width: 0; }

/* Small phones: the pricing tabs wrap instead of overflowing, and the review form keeps room for the 300px human check. */
@media (max-width: 639px) { .seg--center { width: auto; flex-wrap: wrap; } }
@media (max-width: 400px) { .listing-body .container { padding-left: 0; padding-right: 0; } .listing-body .card { padding: 16px; } }

/* Nothing may scroll the page sideways: the header button's light halo reaches 48px past the button, which at exactly
   1024px wide pushed the page 20px past the screen. */
html { overflow-x: clip; }
.header__bar { overflow-x: clip; }

@media (max-width: 400px) {
  .listing-body { padding-left: 10px; padding-right: 10px; }
  .listing-body .listing-card { padding: 14px; }
  .review-form { padding: 14px 10px; }
  .review-form .turnstile { transform: scale(.9); transform-origin: left top; }
  .turnstile .cf-turnstile { max-width: 100%; }
}
