/* THMG public site. Look and feel follows the thehighlandmarketinggroup.com location pages:
   Inter, IBM Plex Serif wordmark, black bands with soft red/white glows, frosted glass,
   light bands with white glass cards, red pill buttons. */
:root {
  --accent: #c1121f;
  --accent-hi: #e0202e;
  --accent-ink: #a30f1a;
  --font: Inter, "Inter Fallback", Arial, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --maxw: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #050505; color: #f6f6f6; font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(var(--maxw), 100% - 40px); margin: 0 auto; }
.skip { position: fixed; left: 8px; top: -60px; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 600; }
.skip:focus { top: 8px; }

/* ---------- bands ---------- */
.band { padding: clamp(2rem, calc(var(--vh0, 900px) * 0.07), 4.5rem) 0; position: relative; z-index: 1; min-height: var(--vh0, 100svh); display: flex; flex-direction: column; justify-content: center; }
.band > .wrap { width: min(var(--maxw), 100% - 40px); }
.band.dark { --ink: #f6f6f6; --muted: #b6bcc4; --line: rgba(255, 255, 255, 0.14); --card: rgba(255, 255, 255, 0.06); --card-line: rgba(255, 255, 255, 0.12); --link: #ffb3b8; --th: rgba(255, 255, 255, 0.05);
  background: radial-gradient(60% 55% at 92% 8%, rgba(193, 18, 31, 0.22), transparent 62%), #080808; color: var(--ink); }
.band.light { --ink: #121212; --muted: #4b4f58; --line: rgba(0, 0, 0, 0.1); --card: rgba(255, 255, 255, 0.78); --card-line: rgba(0, 0, 0, 0.07); --link: var(--accent-ink); --th: rgba(0, 0, 0, 0.04);
  background: linear-gradient(180deg, #f5f7fc, #eceff7); color: var(--ink); }
.band a { color: var(--link); text-underline-offset: 3px; }
.band h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 16px; font-weight: 700; }
.band h3 { font-size: 1.12rem; margin: 22px 0 6px; letter-spacing: -0.01em; }
.band p { margin: 0 0 14px; }
.eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #aeb4bc; margin: 0 0 14px; font-weight: 600; }
.lead { font-size: clamp(1.08rem, 2vw, 1.28rem); max-width: 760px; color: var(--ink); }
.meta { color: var(--muted); font-size: 14px; }
.note { font-size: 14px; color: var(--muted); max-width: 820px; }
.crumbbar { position: relative; z-index: 1; background: #f5f7fc; border-bottom: 1px solid rgba(0, 0, 0, 0.07); padding: 12px 0; font-size: 13px; color: #4b4f58; }
.crumbbar a { color: #4b4f58; text-underline-offset: 3px; }

/* ---------- nav (frosted pill) ---------- */
.nav { position: fixed; z-index: 50; top: 12px; left: 50%; transform: translateX(-50%); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s; width: min(1100px, 100% - 24px); display: flex; align-items: center; gap: 18px; padding: 8px 10px 8px 14px; border-radius: 999px;
  background: rgba(16, 16, 18, 0.55); border: 1px solid rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); }
.nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; min-width: 0; }
.nav .brand img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.nav .brand span { font-family: var(--serif); font-weight: 600; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav .links { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav .links a { color: #e9ebee; text-decoration: none; font-size: 14px; font-weight: 500; }
.nav .links a:hover { color: #fff; }
.nav details { display: none; margin-left: auto; position: relative; }
.nav summary { list-style: none; cursor: pointer; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; }
.nav summary::-webkit-details-marker { display: none; }
.nav details .menu { position: absolute; right: 0; top: 48px; min-width: 220px; padding: 10px; border-radius: 20px; background: rgba(18, 18, 20, 0.92); border: 1px solid rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); display: grid; gap: 2px; }
.nav details .menu a { color: #fff; text-decoration: none; padding: 10px 12px; border-radius: 12px; }
.nav details .menu a:hover { background: rgba(255, 255, 255, 0.08); }
@media (max-width: 820px) { .nav .links { display: none; } .nav details { display: block; } .nav .brand span { font-size: 11px; } }
.preview .nav { top: 46px; }
@media (max-width: 640px) { .preview .nav { top: 62px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff !important; border: 0; border-radius: 999px; padding: 13px 24px; font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; box-shadow: 0 8px 24px rgba(193, 18, 31, 0.35); transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { background: var(--accent-hi); transform: translateY(-1px); }
.btn.small { padding: 10px 18px; font-size: 14px; box-shadow: none; }
.btn:disabled { opacity: 0.45; cursor: default; transform: none; box-shadow: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(100px, 11vw, 132px) 0 clamp(40px, 5vw, 72px); overflow: visible; position: relative; z-index: 4;
  background: radial-gradient(55% 48% at 88% 10%, rgba(193, 18, 31, 0.32), transparent 62%), radial-gradient(60% 45% at 50% 115%, rgba(255, 255, 255, 0.12), transparent 70%), #050505; }
.hero .wrap { width: min(1260px, 100% - 40px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); column-gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-left { min-width: 0; container-type: inline-size; }
.hero .eyebrow { margin-bottom: 18px; }

/* Google search mockup: proportions match the report slideshow (44px pill, 16px Arial) */
.gsearch { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 16px; border-radius: 24px; background: #fff; box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5); }
.gsearch svg { flex: none; }
.gsearch h1 { flex: 1; margin: 0; color: #202124; font: 400 16px/22px Arial, Helvetica, sans-serif; letter-spacing: 0; }
/* Typewriter: pure CSS. The H1 text stays complete in the DOM (and works with no JS); only opacity animates. */
.tw .c { opacity: 0; position: relative; animation: tw-in 1ms linear forwards; animation-delay: calc(var(--i) * 52ms + 0.5s); }
.tw .c::after { content: ""; position: absolute; right: -1px; top: 10%; height: 80%; width: 1.5px; background: #1a73e8; opacity: 0; animation: tw-caret 52ms linear forwards; animation-delay: calc(var(--i) * 52ms + 0.5s); }
.tw-end { display: inline-block; width: 1.5px; height: 1.05em; vertical-align: -0.2em; background: #1a73e8; margin-left: 1px; opacity: 0; animation: tw-blink 1.1s steps(1) infinite; animation-delay: var(--typed); }
@keyframes tw-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes tw-caret { 0%, 99% { opacity: 1; } 100% { opacity: 0; } }
@keyframes tw-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
/* Safety net: a tiny script adds .tw-done after the typing time so every letter is visible even if a browser stalls animations. */
.tw-done .tw .c { opacity: 1 !important; animation: none !important; }
.tw-done .tw .c::after { display: none; }

.answer { margin-top: clamp(24px, 3.4vw, 40px); animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--typed) + 0.3s); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.answer-num { white-space: nowrap; font-weight: 800; letter-spacing: -0.045em; line-height: 1.04; color: #fff;
  font-size: clamp(1.8rem, 5.2vw, 3.6rem); font-size: min(4.6rem, calc(100cqw / (var(--len, 18) * 0.6))); }
.answer-num .dash { display: inline-block; padding: 0 0.16em; }
.answer-cap { margin: 12px 0 0; max-width: 520px; font-size: clamp(1.02rem, 1.7vw, 1.2rem); line-height: 1.4; color: #dfe2e6; font-weight: 500; letter-spacing: -0.01em; }
.tw-done .answer { animation: none; }
@media (prefers-reduced-motion: reduce) { .tw .c, .answer { animation: none !important; opacity: 1 !important; transform: none !important; } .tw .c::after { display: none; } .tw-end { animation: none; opacity: 1; } }

.hero-card { min-width: 0; position: relative; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; row-gap: 28px; } }

/* ---------- page head (non-hero pages) ---------- */
.pagehead { padding: clamp(112px, 15vw, 150px) 0 clamp(40px, 6vw, 72px); background: radial-gradient(55% 55% at 90% 5%, rgba(193, 18, 31, 0.28), transparent 62%), #050505; }
.pagehead h1 { font-size: clamp(2.1rem, 5.6vw, 3.8rem); line-height: 1.06; letter-spacing: -0.04em; margin: 0 0 16px; font-weight: 800; max-width: 900px; }
.pagehead .lead { color: #d8dbe0; }

/* ---------- cards, stats, lists ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 0 0 8px; }
.stat { background: var(--card); border: 1px solid var(--card-line); border-radius: 20px; padding: 18px 20px; box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08); }
.stat .k { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.stat .v { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.15; margin-top: 4px; letter-spacing: -0.02em; }
.stat .n { font-size: 13px; color: var(--muted); margin-top: 4px; }
.card { background: var(--card); border: 1px solid var(--card-line); border-radius: 20px; padding: 22px 24px; box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08); }
.dark .card, .dark .stat { box-shadow: none; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.insights { padding: 0; margin: 0; list-style: none; display: grid; gap: 12px; max-width: 860px; }
.insights li { background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; padding: 16px 20px; }
.insights.plain { display: block; }
.insights.plain li { background: none; border: 0; padding: 0; list-style: disc; margin-left: 20px; }
.quote { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin: 0 0 20px; max-width: 780px; font-size: 1.12rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 0 0 12px; }
.pills a { display: inline-block; padding: 8px 15px; border-radius: 999px; text-decoration: none; font-size: 15px; background: var(--card); border: 1px solid var(--card-line); color: var(--ink) !important; }
.pills a:hover { border-color: var(--accent); }
.faq h3 { margin-top: 20px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.steps .card h3::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; margin-right: 10px; }

/* ---------- tables ---------- */
.tablewrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--card-line); background: var(--card); box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08); margin: 0 0 14px; }
.dark .tablewrap { box-shadow: none; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
caption { text-align: left; padding: 14px 16px 4px; color: var(--muted); font-size: 13px; caption-side: top; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--th); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
.tier { font-weight: 600; }
.tier.low { color: #1f9d5b; }
.light .tier.low { color: #14764a; }
.tier.high, .tier.very-high { color: #ff7a85; }
.light .tier.high, .light .tier.very-high { color: var(--accent-ink); }

/* ---------- bottom CTA band ---------- */
.band.dark.cta-band { background: radial-gradient(50% 60% at 15% 0%, rgba(255, 255, 255, 0.1), transparent 65%), radial-gradient(55% 60% at 95% 100%, rgba(193, 18, 31, 0.3), transparent 62%), #070707; }
.cta-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .cta-wrap { grid-template-columns: 1fr; } }
.cta-copy h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -0.035em; }
.ticks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; color: #e4e6e9; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.cta-card { min-width: 0; }

/* ---------- questionnaire: light glass card, icon tiles, autocomplete ---------- */
[data-atlas-q] { min-height: 440px; }
.q { position: relative; z-index: 6; background: linear-gradient(180deg, #ffffff, #f3f4f8); color: #121212; border-radius: 32px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.6) inset; min-height: 440px; display: flex; flex-direction: column; }
.q-head { display: flex; align-items: center; justify-content: center; position: relative; min-height: 32px; margin-bottom: 14px; }
.q-back { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.06); color: #3b3f46; cursor: pointer; display: grid; place-items: center; }
.q-back:hover { background: rgba(0, 0, 0, 0.11); }
.q-dots { display: flex; gap: 7px; align-items: center; }
.q-dots i { width: 8px; height: 8px; border-radius: 99px; background: #d3d6dd; transition: all 0.25s; }
.q-dots i.on { background: var(--accent); width: 24px; }
.q-ico { width: 44px; height: 44px; border-radius: 14px; background: rgba(193, 18, 31, 0.1); color: var(--accent); display: grid; place-items: center; margin: 2px auto 10px; }
.q-ico svg { width: 22px; height: 22px; }
.q-title { margin: 0 0 16px; text-align: center; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.035em; line-height: 1.12; font-weight: 700; color: #111; }
.q-chip { text-align: center; font-size: 13px; color: #5b616a; margin: -10px 0 16px; }
.q-chip button { background: none; border: 0; padding: 0 0 0 6px; color: var(--accent-ink); font: 600 13px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.q-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-tiles .tile:nth-child(3):last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px 12px; min-height: 96px; border-radius: 18px; background: #f0f1f5; border: 1.5px solid #d8dce5; color: #14161a; font: 600 15px/1.2 var(--font); text-align: center; cursor: pointer; transition: transform 0.12s ease, background 0.15s, border-color 0.15s, box-shadow 0.15s; }
.tile .ti { width: 34px; height: 34px; border-radius: 11px; background: #fff; color: var(--accent); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.tile .ti svg { width: 18px; height: 18px; }
.tile:hover { background: #fff; border-color: rgba(193, 18, 31, 0.5); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1); transform: translateY(-2px); }
.tile:active { transform: scale(0.98); }
.tile:focus-visible, .q input:focus-visible, .q .btn:focus-visible, .q-back:focus-visible, .q-opt:focus-visible { outline: 3px solid #4c9bff; outline-offset: 2px; }
.q-field { position: relative; }
.q-field .si { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #8a9099; pointer-events: none; }
.q input[type=text], .q input[type=email], .q input[type=search] { width: 100%; height: 56px; padding: 0 16px 0 46px; border-radius: 18px; border: 1.5px solid #dfe2e8; background: #fff; color: #111; font: 500 17px var(--font); appearance: none; -webkit-appearance: none; }
.q input.plain { padding-left: 16px; }
.q input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px rgba(193, 18, 31, 0.12); }
.q input::placeholder { color: #9aa0a8; }
.q label { display: block; font-size: 13px; font-weight: 600; color: #5b616a; margin: 12px 0 6px; }
.q-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 18px; border: 1px solid #e3e6eb; box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22); padding: 6px; margin: 0; list-style: none; max-height: 280px; overflow: auto; }
.q-opt { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; cursor: pointer; font-size: 16px; color: #14161a; }
.q-opt small { color: #8a9099; font-size: 13px; }
.q-opt[aria-selected=true], .q-opt:hover { background: #f1f2f6; }
.q-opt.custom { color: var(--accent-ink); font-weight: 600; }
.q-actions { margin-top: 18px; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.q .btn { min-width: 160px; height: 52px; }
.q .link { background: none; border: 0; color: #5b616a; font: 500 15px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 8px; }
.q .err { color: #b00020; font-size: 14px; text-align: center; margin-top: 10px; min-height: 18px; }
.q .consent { font-size: 12px; color: #7b818a; text-align: center; margin: 12px 0 0; }
.q .done { text-align: center; padding: 28px 6px; margin: auto 0; }
.q .done .ti2 { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; }
.q .done p { color: #4b4f58; margin: 0; }
.q-grow { flex: 1; }
@media (max-width: 460px) { .tile { min-height: 88px; font-size: 14px; } }
.preview-banner { background: #fff3cd; color: #5c4400; padding: 8px 0; font-size: 13px; text-align: center; position: relative; z-index: 60; }

/* ---------- footer ---------- */
.site-footer { background: #050505; color: #b6bcc4; padding: 48px 0 40px; font-size: 15px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.site-footer a { color: #eceef0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; }
.site-footer h4 { margin: 0 0 10px; color: #fff; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer .fine { margin-top: 30px; color: #7f868e; font-size: 13px; }
@media (max-width: 640px) { body { font-size: 16px; } th, td { padding: 10px 12px; } }

/* ---------- visuals: text-light sections ---------- */
.dark .viz { --track: rgba(255, 255, 255, 0.14); --hi: rgba(255, 75, 87, 0.34); --lo: #ff3b4a; --dotc: rgba(255, 255, 255, 0.42); }
.light .viz { --track: rgba(0, 0, 0, 0.1); --hi: rgba(193, 18, 31, 0.3); --lo: var(--accent); --dotc: rgba(0, 0, 0, 0.32); }
.sub { color: var(--muted); font-size: 1.1rem; margin: 0 0 26px; max-width: 640px; }
.sec-h { margin-bottom: 26px; }
.sec-h h2 { margin-bottom: 6px; }
.sec-h .sub { margin: 0; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 820px) { .cols2 { grid-template-columns: 1fr; } }
.ci { width: 52px; height: 52px; border-radius: 16px; background: rgba(193, 18, 31, 0.1); color: var(--accent); display: grid; place-items: center; flex: none; }
.dark .ci { background: rgba(255, 75, 87, 0.14); color: #ff6b76; }

.flow { display: flex; align-items: stretch; justify-content: space-between; }
.fnode { flex: 1; min-width: 0; text-align: center; background: var(--card); border: 1px solid var(--card-line); border-radius: 24px; padding: 22px 8px 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08); }
.dark .fnode { box-shadow: none; }
.fico { width: 54px; height: 54px; border-radius: 17px; background: rgba(193, 18, 31, 0.1); color: var(--accent); display: grid; place-items: center; }
.fnode b { font-size: clamp(1.05rem, 2.3vw, 1.7rem); letter-spacing: -0.035em; line-height: 1.1; }
.fnode small { color: var(--muted); font-size: 13px; }
.farrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: clamp(40px, 6vw, 70px); flex: none; color: var(--muted); font-size: 12px; text-align: center; }
@media (max-width: 760px) { .flow { flex-direction: column; } .farrow { flex-direction: row; width: auto; height: 38px; justify-content: center; gap: 8px; } .farrow svg { transform: rotate(90deg); } }

.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: minmax(110px, 200px) 1fr minmax(120px, auto); align-items: center; gap: 14px; }
.bars .bl { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars .bt { position: relative; height: 18px; border-radius: 99px; background: var(--track); overflow: hidden; }
.bars .lo, .bars .hi { position: absolute; top: 0; bottom: 0; border-radius: 99px; }
.bars .lo { left: 0; background: var(--lo); }
.bars .hi { background: var(--hi); }
.bars .bv { font-size: 14px; color: var(--muted); text-align: right; white-space: nowrap; }
.bars .mine .bl { color: var(--accent); }
.dark .bars .mine .bl { color: #ff6b76; }
@media (max-width: 640px) { .bars li { grid-template-columns: 1fr auto; grid-template-areas: "l v" "b b"; row-gap: 6px; } .bars .bl { grid-area: l; } .bars .bv { grid-area: v; } .bars .bt { grid-area: b; } }

.strip { position: relative; padding-top: 40px; }
.strip svg { width: 100%; height: auto; display: block; }
.strip .dot { fill: var(--dotc); }
.strip .dot.me { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.strip .med { stroke: var(--muted); stroke-dasharray: 4 5; stroke-width: 1.5; }
.strip .mine-line { stroke: var(--accent); stroke-width: 1.5; opacity: 0.55; }
.strip-tags { position: absolute; top: 0; left: 0; right: 0; height: 34px; }
.strip-tags .me { position: absolute; transform: translateX(-50%); background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.strip-axis { position: relative; display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 6px; min-height: 20px; }
.strip-axis .md { position: absolute; transform: translateX(-50%); white-space: nowrap; }

.gauge { position: relative; width: min(300px, 100%); margin: 0 auto; }
.gauge svg { width: 100%; height: auto; display: block; }
.gseg { fill: none; stroke-width: 16; stroke-linecap: round; }
.g1 { stroke: #1f9d5b; } .g2 { stroke: #9bb83a; } .g3 { stroke: #e0902a; } .g4 { stroke: #c1121f; }
.needle { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.hub { fill: var(--ink); }
.gnum { text-align: center; line-height: 1.1; margin-top: 4px; }
.gnum b { display: block; font-size: 2.2rem; letter-spacing: -0.04em; }
.gnum small { color: var(--muted); font-size: 14px; font-weight: 600; }

.rks { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.rk { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 14px; }
.rk.co { background: var(--accent); color: #fff; }
.rk.dir { background: var(--track); color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 13px; color: var(--muted); align-items: center; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.sw.co { background: var(--accent); } .sw.dir { background: var(--track); }
.adchip { display: inline-flex; gap: 6px; align-items: center; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); }
.adchip.on { border-color: #e0902a; color: #e0902a; }

.quad svg { width: 100%; height: auto; display: block; }
.sweetzone { fill: rgba(31, 157, 91, 0.12); stroke: rgba(31, 157, 91, 0.4); stroke-dasharray: 5 5; }
.floor { stroke: var(--muted); stroke-dasharray: 3 6; opacity: 0.6; }
.bub { fill: rgba(193, 18, 31, 0.4); stroke: var(--accent); stroke-width: 1.5; }
.bub.sweet { fill: rgba(31, 157, 91, 0.55); stroke: #1f9d5b; }
.quad text { fill: var(--muted); font-size: 13px; font-family: var(--font); }
.quad .zone { fill: #1f9d5b; font-weight: 700; font-size: 15px; }
.quad .blab { fill: var(--ink); font-weight: 600; }

.donut { position: relative; width: 160px; margin: 0 auto; }
.donut svg { width: 100%; height: auto; display: block; }
.dtrack { fill: none; stroke: var(--track); stroke-width: 14; }
.dfill { fill: none; stroke: var(--accent); stroke-width: 14; stroke-linecap: round; }
.dnum { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.dnum b { font-size: 2.3rem; letter-spacing: -0.04em; }
.dnum small { color: var(--muted); font-size: 13px; }

.tbar { display: flex; height: 36px; border-radius: 99px; overflow: hidden; gap: 3px; }
.tb { display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 700; font-size: 14px; min-width: 32px; }
.tb.low, .sw.low { background: #1f9d5b; } .tb.moderate, .sw.moderate { background: #9bb83a; }
.tb.high, .sw.high { background: #e0902a; } .tb.very-high, .sw.very-high { background: #c1121f; }

.tmap svg { width: 100%; max-width: 780px; height: auto; display: block; margin: 0 auto; }
.tile rect { fill: var(--track); }
.tile text { font-size: 13px; font-weight: 700; fill: var(--ink); font-family: var(--font); pointer-events: none; }
.tile.t1 rect, .sw.t1 { fill: rgba(193, 18, 31, 0.16); background: rgba(193, 18, 31, 0.16); }
.tile.t2 rect, .sw.t2 { fill: rgba(193, 18, 31, 0.32); background: rgba(193, 18, 31, 0.32); }
.tile.t3 rect, .sw.t3 { fill: rgba(193, 18, 31, 0.5); background: rgba(193, 18, 31, 0.5); }
.tile.t4 rect, .sw.t4 { fill: rgba(193, 18, 31, 0.72); background: rgba(193, 18, 31, 0.72); }
.tile.t5 rect, .sw.t5 { fill: #c1121f; background: #c1121f; }
.tile.t4 text, .tile.t5 text, .tile.t3 text { fill: #fff; }
.tile.hi rect { stroke: var(--ink); stroke-width: 3; }
.scale { justify-content: center; gap: 6px; margin-top: 14px; }
.scale .sw { margin: 0; width: 26px; height: 12px; }

.ichips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.ichips li { background: var(--card); border: 1px solid var(--card-line); border-radius: 24px; padding: 24px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08); }
.dark .ichips li { box-shadow: none; }
.ichips b { font-size: 1.1rem; letter-spacing: -0.02em; }
.ichips small { color: var(--muted); }
.bigstat { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.bigstat b { font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.bigstat small { color: var(--muted); font-size: 15px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.steps3 .st { background: var(--card); border: 1px solid var(--card-line); border-radius: 26px; padding: 28px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08); }
.steps3 .st b { font-size: 1.25rem; letter-spacing: -0.02em; }
.steps3 { counter-reset: st; }
.steps3 .st { counter-increment: st; position: relative; }
.steps3 .st::before { content: counter(st); position: absolute; top: 14px; left: 16px; font-size: 13px; font-weight: 700; color: var(--accent); }
@media (max-width: 720px) { .steps3 { grid-template-columns: 1fr; } }
.people { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.person { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--card-line); border-radius: 24px; padding: 16px 22px 16px 16px; }
.person .av { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; }
.person b { display: block; } .person small { color: var(--muted); }

.more { margin-top: 12px; border: 1px solid var(--card-line); border-radius: 20px; background: var(--card); padding: 4px 18px; }
.more summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 24px; color: var(--accent); line-height: 1; }
.more[open] summary::after { content: "–"; }
.more .tablewrap { box-shadow: none; margin: 0 0 14px; }
.files { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.files a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--card-line); text-decoration: none; color: var(--ink) !important; font-weight: 600; }
.files a:hover { border-color: var(--accent); }
.files small { display: block; color: var(--muted); font-weight: 400; }
.cite { background: #0b0b0c; color: #f3f4f5; border-radius: 20px; padding: 20px 22px; font-size: 1rem; line-height: 1.5; border: 1px solid rgba(255,255,255,0.12); }
.ctachips { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.ctachips span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); font-weight: 600; }
.ctachips svg { color: #ff6b76; }

.formula { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; justify-content: center; }
.fcard { flex: 1 1 140px; max-width: 190px; background: var(--card); border: 1px solid var(--card-line); border-radius: 22px; padding: 18px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08); }
.fcard small { color: var(--muted); font-size: 13px; }
.fcard b { font-size: 1.4rem; letter-spacing: -0.03em; }
.fcard em { font-style: normal; color: var(--muted); font-size: 12px; }
.fop { display: grid; place-items: center; font-size: 1.6rem; color: var(--muted); width: 22px; }
@media (max-width: 760px) { .fop { width: 100%; } .fcard { max-width: none; } }
.pillstatic { display: inline-block; padding: 8px 15px; border-radius: 999px; font-size: 15px; background: var(--card); border: 1px solid var(--card-line); }
.pagehead .lead { margin-bottom: 0; }

.bars .bl a { color: var(--ink) !important; text-decoration: none; border-bottom: 1px dotted var(--muted); }
.bars .bl a:hover { color: var(--accent) !important; border-bottom-color: var(--accent); }
.bars + .pills { margin-top: 24px; }

/* ---------- hero sequence: search first, then it moves aside and reveals the questionnaire ---------- */
.hero-grid { container-type: inline-size; }
.hero .answer { text-align: center; animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--typed) + 1s); }
.hero .answer-cap { margin: 12px auto 0; max-width: 30ch; text-wrap: balance; }
.hero-card { animation: card-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--typed) + 0.7s); }
@keyframes card-in { from { opacity: 0; visibility: hidden; transform: translateX(36px) scale(0.98); } to { opacity: 1; visibility: visible; transform: none; } }
@keyframes card-rise { from { opacity: 0; visibility: hidden; transform: translateY(24px); } to { opacity: 1; visibility: visible; transform: none; } }
@keyframes hero-shift { from { transform: translateX(calc((100cqw - 100%) / 2)); } to { transform: none; } }
@media (min-width: 961px) { @supports (width: 1cqw) { .hero-left { animation: hero-shift 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--typed) + 0.35s); } } }
@media (max-width: 960px) { .hero-card { animation-name: card-rise; } }
.tw-done .hero-left, .tw-done .hero-card, .tw-done .hero .answer { animation: none !important; transform: none !important; opacity: 1 !important; visibility: visible !important; }
@media (prefers-reduced-motion: reduce) { .hero-left, .hero-card, .hero .answer { animation: none !important; opacity: 1 !important; visibility: visible !important; transform: none !important; } }

/* ---------- connective motion ---------- */
.hop { position: relative; height: 0; z-index: 6; }
.hop a { position: absolute; left: 50%; top: -24px; transform: translateX(-50%); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--accent) !important; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28); border: 1px solid rgba(0, 0, 0, 0.06); text-decoration: none; }
.hop a::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 30px; margin-left: -1px; background: linear-gradient(rgba(193, 18, 31, 0), var(--accent)); }
.hop a::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(193, 18, 31, 0.4); animation: ring 2.6s ease-out infinite; }
.hop a svg { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes ring { 0% { transform: scale(0.8); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }
.js .hop a { opacity: 0; transform: translate(-50%, 12px) scale(0.8); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .hop.in a { opacity: 1; transform: translateX(-50%); }
.sticky-cta { position: fixed; z-index: 45; left: 50%; bottom: 22px; transform: translate(-50%, 140px); display: inline-flex; gap: 8px; align-items: center; padding: 14px 22px; border-radius: 99px; background: var(--accent); color: #fff !important; font: 600 15px var(--font); text-decoration: none; box-shadow: 0 14px 40px rgba(193, 18, 31, 0.5); opacity: 0; pointer-events: none; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s; white-space: nowrap; }
.sticky-cta.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
@media (max-width: 640px) { .sticky-cta { bottom: calc(14px + env(safe-area-inset-bottom)); } }
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* chart entrances (JS adds .in when scrolled into view) */
.js .flow .fnode, .js .flow .farrow { transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i) * 130ms); }
.js .flow:not(.in) .fnode { opacity: 0; transform: translateY(18px) scale(0.95); }
.js .flow:not(.in) .farrow { opacity: 0; transform: scaleX(0.4); }
.flow.in .farrow svg { animation: slide 1.6s ease-in-out infinite; animation-delay: calc(var(--i) * 130ms + 1s); }
@keyframes slide { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(4px); } }
.js .bars .bt i { clip-path: inset(0 0 0 0); transition: clip-path 1s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i) * 80ms); }
.js .bars:not(.in) .bt i { clip-path: inset(0 100% 0 0); }
.js .bars li { transition: opacity 0.5s ease; transition-delay: calc(var(--i) * 80ms); }
.js .bars:not(.in) li { opacity: 0.2; }
.js .strip .dot { transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i) * 7ms); transform-box: fill-box; transform-origin: center; }
.js .strip:not(.in) .dot { opacity: 0; transform: translateY(14px); }
.js .strip:not(.in) .dot.me { transform: scale(0.2); }
.js .strip .dot.me { transition-delay: 1.3s; }
.strip.in .dot.me { animation: pulse 2s ease-in-out 2s 2; }
.js .strip .strip-tags .me { transition: opacity 0.5s ease 1.4s, transform 0.5s ease 1.4s; }
.js .strip:not(.in) .strip-tags .me { opacity: 0; transform: translate(-50%, 8px); }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.needle { transform-box: view-box; transform-origin: 110px 104px; transform: rotate(var(--ang, 0deg)); }
.js .gauge .needle { transition: transform 1.5s cubic-bezier(0.2, 0.9, 0.25, 1.08) 0.2s; }
.js .gauge:not(.in) .needle { transform: rotate(0deg); }
.js .rks .rk { transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i) * 90ms); }
.js .serp:not(.in) .rk { opacity: 0; transform: scale(0.5); }
.usmap .st { transition: fill 0.06s linear; }
.js .usmap:not(.in) .st { opacity: 0; }
.js .usmap.in .st { animation: stfade 0.6s ease backwards; animation-delay: calc(var(--i) * 14ms); }
@keyframes stfade { from { opacity: 0; } }
.js .donut .dfill { transition: stroke-dasharray 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s; }
.js .donut:not(.in) .dfill { stroke-dasharray: 0 999 !important; }
.js .scatter .pt { transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i) * 40ms); transform-box: fill-box; transform-origin: center; }
.js .scatter:not(.in) .pt { opacity: 0; transform: scale(0.2); }
.js .ichips li, .js .reviews .rcard, .js .steps3 .st { transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 120ms); }
.js .ichips:not(.in) li, .js .reviews:not(.in) .rcard, .js .steps3:not(.in) .st { opacity: 0; transform: translateY(20px); }
.js .tl-fill { transition: transform 2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s; }
.js .years:not(.in) .tl-fill { transform: scaleX(0); }
.js .years:not(.in) .tl-line::after { opacity: 0; }
.tl-line::after { transition: opacity 0.4s ease 2.1s; }
@media (prefers-reduced-motion: reduce) { .js .rv, .js .viz * { transition: none !important; animation: none !important; } .hop a::after, .hop a svg { animation: none; } }

/* ---------- US map ---------- */
.usmap svg { width: 100%; max-width: 920px; height: auto; display: block; margin: 0 auto; }
.st { stroke: var(--mapline, #fff); stroke-width: 1.2; }
.light .usmap { --mapline: #f5f7fc; }
.dark .usmap { --mapline: #080808; }
.st.b0 { fill: var(--track); }
.st.b1 { fill: rgba(193, 18, 31, 0.2); } .st.b2 { fill: rgba(193, 18, 31, 0.4); } .st.b3 { fill: rgba(193, 18, 31, 0.6); }
.st.b4 { fill: rgba(193, 18, 31, 0.82); } .st.b5 { fill: #c1121f; }
.dark .st.b1 { fill: rgba(255, 75, 87, 0.22); } .dark .st.b2 { fill: rgba(255, 75, 87, 0.42); } .dark .st.b3 { fill: rgba(255, 75, 87, 0.62); } .dark .st.b4 { fill: rgba(255, 75, 87, 0.82); } .dark .st.b5 { fill: #ff4b57; }
.usmap a { cursor: pointer; }
.usmap a:hover .st { fill: var(--ink); }
.usmap a:focus-visible { outline: none; }
.usmap a:focus-visible .st { stroke: #4c9bff; stroke-width: 3; }
.st.hi { fill: var(--accent); }
.stl { font-size: 15px; font-weight: 700; fill: var(--ink); pointer-events: none; font-family: var(--font); }
.stl.b3, .stl.b4, .stl.b5 { fill: #fff; }
.dark .stl.b1, .dark .stl.b2 { fill: #fff; }
@media (max-width: 700px) { .stl { display: none; } }

/* ---------- plain scatter ---------- */
.scatter svg { width: 100%; height: auto; display: block; }
.scatter .grid { stroke: var(--line); }
.scatter .axisl { stroke: var(--muted); opacity: 0.55; }
.scatter .tick, .scatter .axis { fill: var(--muted); font-size: 13px; font-family: var(--font); }
.scatter .pt { fill: rgba(193, 18, 31, 0.72); stroke: #fff; stroke-width: 1.5; }
.dark .scatter .pt { fill: #ff4b57; stroke: #080808; }
.scatter .blab { fill: var(--ink); font-size: 13px; font-weight: 600; font-family: var(--font); }

/* ---------- trust band ---------- */
.band.dark.trust-band { background: radial-gradient(60% 55% at 12% 0%, rgba(255, 255, 255, 0.1), transparent 62%), radial-gradient(55% 60% at 95% 100%, rgba(193, 18, 31, 0.32), transparent 62%), #070707; }
.trust-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(20px, 4vw, 48px); align-items: stretch; margin: 36px 0 28px; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } }
.years { background: var(--card); border: 1px solid var(--card-line); border-radius: 28px; padding: 36px 30px; display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.yr-num b { display: block; font-size: clamp(5rem, 12vw, 8rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; background: linear-gradient(180deg, #fff 30%, #ff8a93); -webkit-background-clip: text; background-clip: text; color: transparent; }
.yr-num small { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; letter-spacing: 0.04em; }
.tl-line { position: relative; height: 6px; border-radius: 99px; background: var(--track); }
.tl-fill { position: absolute; inset: 0; border-radius: 99px; background: linear-gradient(90deg, #8a0d17, #ff4b57); transform-origin: left; }
.tl-line::after { content: ""; position: absolute; right: -6px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 75, 87, 0.35); }
.tl-marks { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; color: var(--muted); }
.reviews { display: grid; gap: 16px; }
.rcard { margin: 0; background: #fff; color: #14161a; border-radius: 24px; padding: 24px 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.stars { display: inline-flex; gap: 3px; color: #f5b301; }
.stars svg { fill: currentColor; stroke: none; }
.rcard blockquote { margin: 0; font-size: 1.12rem; line-height: 1.45; letter-spacing: -0.01em; }
.rcard figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.rcard .av { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.rcard small { display: block; color: #6b7078; }
.trust-band .ichips { margin-bottom: 28px; }

/* ---------- questionnaire-only page ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.solo { min-height: 100svh; display: flex; align-items: center; padding: 120px 0 60px; background: radial-gradient(55% 48% at 88% 10%, rgba(193, 18, 31, 0.32), transparent 62%), radial-gradient(60% 45% at 50% 115%, rgba(255, 255, 255, 0.12), transparent 70%), #050505; }
.solo-wrap { display: grid; place-items: center; }
.solo-card { width: min(560px, 100%); }
.solo [data-atlas-q] { min-height: 480px; }

/* ---------- nav hides on scroll down; the sticky CTA takes its place ---------- */
.nav.hide { transform: translate(-50%, calc(-100% - 70px)); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .nav, .sticky-cta { transition: none; } }

/* ---------- light variants of dark-only bands, light footer ---------- */
.band.light.cta-band .ctachips span { background: rgba(0, 0, 0, 0.05); border-color: rgba(0, 0, 0, 0.1); }
.band.light.cta-band .ctachips svg { color: var(--accent); }
.band.light .yr-num b { background: linear-gradient(180deg, #1b1b1d 30%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band.light .rcard { box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12); border: 1px solid rgba(0, 0, 0, 0.06); }
.band.light .tl-fill { background: linear-gradient(90deg, #8a0d17, var(--accent)); }
.band.light .tl-line::after { background: var(--accent); box-shadow: 0 0 0 6px rgba(193, 18, 31, 0.22); }
.site-footer.light { background: #eceff7; color: #4b4f58; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.site-footer.light a { color: #1a1c20; }
.site-footer.light h4 { color: #121212; }
.site-footer.light .fine { color: #6b7078; }

/* ---------- people and rating ---------- */
.person img.av, .person .av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.pcards { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: stretch; }
.pcard { margin: 0; width: min(240px, 44%); background: var(--card); border: 1px solid var(--card-line); border-radius: 26px; overflow: hidden; box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12); }
.pcard img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pcard figcaption { padding: 14px 16px 16px; }
.pcard b { display: block; letter-spacing: -0.01em; } .pcard small { color: var(--muted); }
.bigcell { display: flex; align-items: center; min-width: 200px; }
.rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; text-decoration: none; color: #14161a !important; background: #fff; border-radius: 24px; padding: 14px 26px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.band.light .rating { box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12); border: 1px solid rgba(0, 0, 0, 0.06); }
.rating small { color: #6b7078 !important; }
.rating b { font-size: 2.2rem; letter-spacing: -0.04em; line-height: 1; }
.rating small { color: var(--muted); font-size: 14px; }
.rating:hover { border-color: var(--accent); }
@media (max-width: 520px) { .pcard { width: calc(50% - 10px); } }

/* ---------- section height budget: min 50% / max 100% of the first-load screen height (--vh0, set once) ---------- */
.pagehead { min-height: var(--vh0, 100svh); display: flex; flex-direction: column; justify-content: center; }
.hero { min-height: var(--vh0, 100svh); display: flex; flex-direction: column; justify-content: center; }
.usmap svg { max-height: calc(var(--vh0, 900px) * 0.5); }
@media (max-width: 760px) {
  .band { padding: clamp(1.5rem, calc(var(--vh0, 800px) * 0.04), 2.5rem) 0; }
  .sec-h { margin-bottom: 16px; }
  .fnode { flex-direction: row; justify-content: flex-start; text-align: left; gap: 14px; padding: 10px 16px; border-radius: 18px; }
  .fnode small { margin-left: auto; text-align: right; }
  .farrow { height: 24px; }
  .formula { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .formula .fop { display: none; }
  .fcard { padding: 12px 8px; }
  .ichips { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ichips li { padding: 14px 8px; border-radius: 18px; }
  .donut { width: 120px; }
  .trust-band .ichips, .trust-band .tl { display: none; }
  .trust-grid { margin: 20px 0 16px; gap: 14px; }
  .years { padding: 18px 20px; gap: 0; }
  .yr-num b { font-size: 4rem; }
  .rcard { padding: 16px 18px; gap: 10px; border-radius: 20px; }
  .rcard blockquote { font-size: 1rem; }
  .rating { padding: 10px 14px; } .rating b { font-size: 1.8rem; }
  .person { padding: 10px 14px 10px 10px; }
  .pcard { width: calc(50% - 10px); }
}
.scatter svg { max-height: calc(var(--vh0, 900px) * 0.5); }
@media (max-height: 800px) { .trust-band .ichips { display: none; } .band { padding-block: clamp(1.5rem, calc(var(--vh0, 800px) * 0.05), 3rem); } }
@media (max-width: 760px) { .pills a { padding: 6px 12px; font-size: 14px; } .pills { gap: 6px; } }
@media (max-height: 700px) {
  .q, [data-atlas-q] { min-height: 0; }
  .q { padding: 16px; border-radius: 24px; }
  .tile { min-height: 70px; padding: 8px; }
  .hero { padding-top: 84px; padding-bottom: 24px; }
  .hero-grid { row-gap: 16px; }
  .cta-copy .ctachips { display: none; }
}
@media (min-width: 761px) and (max-width: 900px) { .trust-band .ichips { display: none; } .trust-grid { grid-template-columns: 1fr 1.2fr; } .yr-num b { font-size: 4.5rem; } .years { padding: 22px; } }

.pcard .li { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--accent-ink) !important; }
.pcard .li:hover { text-decoration: underline; }

/* ---------- ported local content (below the data) ---------- */
.lf-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .lf-grid { grid-template-columns: 1fr; } }
.lf-copy { max-width: 640px; } .lf-copy p { color: var(--ink); }
.lf-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lf-steps.lf-wide { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.lf-steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--card-line); border-radius: 20px; padding: 14px 16px; }
.lf-steps .ci { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(193, 18, 31, 0.1); color: var(--accent); }
.dark .lf-steps .ci { background: rgba(255, 75, 87, 0.14); color: #ff6b76; }
.lf-steps b { display: block; letter-spacing: -0.01em; } .lf-steps small { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 2px; }
