
/* ============================================
   Solid Insure AI — Production Stylesheet
   Modern fintech · navy/teal · not a blog
   ============================================ */

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

:root {
  --navy:      #0f172a;
  --navy2:     #1e293b;
  --navy3:     #334155;
  --teal:      #0ea5e9;
  --teal2:     #0284c7;
  --teal3:     #7dd3fc;
  --teal-pale: #f0f9ff;
  --ink:       #0f172a;
  --ink2:      #1e293b;
  --muted:     #64748b;
  --border:    #e2e8f0;
  --bg:        #f8fafc;
  --white:     #ffffff;
  --cream:     #f1f5f9;
  --gold:      #d97706;
  --gold-bg:   #fffbeb;
  --green:     #059669;
  --red:       #dc2626;
  --sans: 'DM Sans', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --body: 'Source Serif 4', Georgia, serif;
  --max: 1160px;
  --r: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
}

html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal2); text-decoration: none; }
a:hover { color: var(--teal); text-decoration: underline; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pulse  { 0%,100%{opacity:.55;transform:scale(1)} 50%{opacity:1;transform:scale(1.1)} }
@keyframes scanLine { 0%{transform:translateY(-100%)} 100%{transform:translateY(400%)} }
@keyframes spin   { to { transform: rotate(360deg); } }
@keyframes typeBounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-5px)} }

.anim-up { animation: fadeUp .55s ease both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .3s; }

/* ── TOP BAR ── */
.topbar { background: var(--navy); padding: .36rem 0; font-family: var(--sans); font-size: .68rem; color: rgba(255,255,255,.3); }
.tb-inner { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.tb-links { display: flex; gap: 1.1rem; }
.tb-links a { color: rgba(255,255,255,.28); text-decoration: none; transition: color .15s; }
.tb-links a:hover { color: rgba(255,255,255,.65); text-decoration: none; }
.tb-badge { background: rgba(217,119,6,.2); border: 1px solid rgba(217,119,6,.3); color: #fbbf24; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .52rem; border-radius: 20px; }

/* ── HEADER ── */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; box-shadow: 0 1px 0 var(--border), 0 2px 8px rgba(0,0,0,.05); }
.hdr { max-width: var(--max); margin: 0 auto; padding: .75rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 52px; width: auto; }
.logo:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a { font-size: .82rem; font-weight: 600; color: var(--muted); padding: .42rem .82rem; border-radius: 6px; text-decoration: none; transition: all .15s; }
.nav a:hover { color: var(--ink); background: var(--cream); text-decoration: none; }
.nav a.active { color: var(--teal2); }
.nav-cta { background: var(--teal) !important; color: #fff !important; border-radius: 7px !important; margin-left: .4rem; }
.nav-cta:hover { background: var(--teal2) !important; color: #fff !important; text-decoration: none !important; }
.hamburger { display: none; background: none; border: 1px solid var(--border); border-radius: 6px; padding: .38rem .52rem; cursor: pointer; font-size: 1.1rem; color: var(--muted); line-height: 1; }
.hamburger:hover { background: var(--cream); }
.mnav { display: none; background: var(--white); border-top: 1px solid var(--border); padding: .85rem 1.5rem 1rem; }
.mnav.open { display: block; }
.mnav a { display: block; font-size: .9rem; font-weight: 600; color: var(--muted); padding: .6rem 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.mnav a:last-child { border-bottom: none; }
.mnav a:hover { color: var(--teal2); }
@media (max-width: 820px) { .nav { display: none; } .hamburger { display: block; } }

/* ── HERO ── */
.hero { background: var(--navy); position: relative; overflow: hidden; padding: 4.5rem 0 0; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(14,165,233,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(14,165,233,.04) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.hero-glow { position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 800px; height: 400px; background: radial-gradient(ellipse, rgba(14,165,233,.16) 0%, transparent 68%); pointer-events: none; }
.hero-scan { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: .35; }
.hero-scan::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(14,165,233,.45), transparent); animation: scanLine 3.5s linear infinite; }
.hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: 1fr 420px; align-items: end; gap: 3.5rem; position: relative; z-index: 2; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; } .hero-img-col { display: none; } }
.hero-kicker { display: inline-flex; align-items: center; gap: .42rem; font-size: .62rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.35); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: .25rem .82rem; border-radius: 20px; margin-bottom: .9rem; }
.kicker-dot { width: 5px; height: 5px; background: var(--teal); border-radius: 50%; animation: pulse 2s ease infinite; flex-shrink: 0; }
.hero h1 { font-family: var(--serif); font-size: clamp(1.85rem, 3.2vw, 2.8rem); font-weight: 700; color: #fff; line-height: 1.13; letter-spacing: -.025em; margin-bottom: 1rem; }
.hero h1 em { color: #7dd3fc; font-style: normal; }
.hero-deck { font-size: .97rem; color: rgba(255,255,255,.52); line-height: 1.75; max-width: 540px; margin-bottom: 1.6rem; font-family: var(--sans); font-weight: 400; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin-bottom: 1.6rem; }
.hstat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: .9rem .75rem; text-align: center; }
.hstat-n { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: #7dd3fc; line-height: 1; letter-spacing: -.03em; }
.hstat-l { font-size: .62rem; color: rgba(255,255,255,.38); margin-top: .28rem; line-height: 1.38; font-family: var(--sans); }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; font-size: .7rem; color: rgba(255,255,255,.28); padding-bottom: 2rem; font-family: var(--sans); }
.meta-author { display: flex; align-items: center; gap: .42rem; }
.meta-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(255,255,255,.15); }
.meta-name { color: rgba(255,255,255,.52); font-weight: 600; }
.meta-dot { width: 3px; height: 3px; background: rgba(255,255,255,.18); border-radius: 50%; }
.hero-img-col { position: relative; align-self: stretch; }
.hero-img-col img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--r) var(--r) 0 0; opacity: .72; filter: saturate(.8); }
.hero-img-col::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, var(--navy) 0%, transparent 40%); z-index: 1; border-radius: var(--r) var(--r) 0 0; }

/* ── DISCLOSURE BAR ── */
.disclosure-bar { background: rgba(217,119,6,.06); border-bottom: 1px solid rgba(217,119,6,.15); padding: .55rem 0; font-family: var(--sans); }
.disc-inner { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; font-size: .75rem; color: #92400e; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.disc-inner strong { color: #78350f; font-weight: 700; }
.disc-inner a { color: #b45309; font-weight: 600; }

/* ── PAGE LAYOUT ── */
.page-wrap { max-width: var(--max); margin: 0 auto; padding: 3rem 1.5rem 5rem; display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }
@media (max-width: 980px) { .page-wrap { grid-template-columns: 1fr; } .sidebar { display: none; } }
@media (max-width: 600px) { .page-wrap { padding: 2rem 1.1rem 4rem; } }

/* ── SECTION HEADINGS ── */
.section-heading { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); margin: 2.5rem 0 1.1rem; line-height: 1.2; letter-spacing: -.02em; }

/* ── AI QUESTIONNAIRE ── */
.quiz-section { background: var(--navy); padding: 3.5rem 1.5rem; position: relative; overflow: hidden; }
.quiz-section::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(14,165,233,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(14,165,233,.04) 1px, transparent 1px); background-size: 36px 36px; }
.quiz-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 2; }
.quiz-eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.32); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); padding: .22rem .72rem; border-radius: 20px; margin-bottom: .82rem; font-family: var(--sans); }
.quiz-dot { width: 5px; height: 5px; background: var(--teal); border-radius: 50%; animation: pulse 2s ease infinite; }
.quiz-h2 { font-family: var(--serif); font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 700; color: #fff; line-height: 1.18; letter-spacing: -.02em; margin-bottom: .45rem; }
.quiz-h2 em { color: #7dd3fc; font-style: normal; }
.quiz-sub { font-size: .84rem; color: rgba(255,255,255,.4); margin-bottom: 1.5rem; line-height: 1.68; font-family: var(--sans); }
.quiz-window { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); overflow: hidden; }
.quiz-topbar { background: rgba(255,255,255,.06); padding: .58rem .9rem; display: flex; align-items: center; gap: .55rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.ai-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal2)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-avatar svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.ai-name { font-size: .75rem; font-weight: 700; color: #fff; font-family: var(--sans); }
.ai-status { font-size: .62rem; color: rgba(255,255,255,.3); display: flex; align-items: center; gap: .28rem; font-family: var(--sans); }
.status-dot { width: 4px; height: 4px; background: var(--green); border-radius: 50%; }
.quiz-msgs { padding: 1rem; min-height: 90px; display: flex; flex-direction: column; gap: .7rem; }
.msg { display: flex; gap: .5rem; align-items: flex-end; }
.msg.user { flex-direction: row-reverse; }
.msg-av { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .58rem; font-weight: 800; font-family: var(--sans); }
.msg-av.ai-av { background: linear-gradient(135deg, var(--teal), var(--teal2)); color: #fff; }
.msg-av.u-av { background: rgba(255,255,255,.12); color: rgba(255,255,255,.55); }
.msg-bubble { max-width: 82%; padding: .58rem .82rem; border-radius: 10px; font-size: .8rem; line-height: 1.62; font-family: var(--sans); }
.msg.ai .msg-bubble { background: rgba(255,255,255,.07); color: rgba(255,255,255,.82); border-radius: 4px 10px 10px 10px; }
.msg.user .msg-bubble { background: var(--teal); color: #fff; border-radius: 10px 4px 10px 10px; }
.typing-ind { display: flex; gap: 3px; padding: .58rem .82rem; background: rgba(255,255,255,.07); border-radius: 4px 10px 10px 10px; width: fit-content; align-items: center; }
.td { width: 5px; height: 5px; background: rgba(255,255,255,.38); border-radius: 50%; animation: typeBounce 1.2s ease infinite; }
.td:nth-child(2) { animation-delay: .2s; } .td:nth-child(3) { animation-delay: .4s; }
.quiz-opts { padding: .2rem .9rem .9rem; display: flex; flex-direction: column; gap: .4rem; }
.quiz-opt { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.11); border-radius: 7px; padding: .62rem .88rem; font-size: .8rem; color: rgba(255,255,255,.72); cursor: pointer; transition: all .18s; text-align: left; display: flex; align-items: center; gap: .55rem; font-weight: 500; font-family: var(--sans); width: 100%; }
.quiz-opt:hover { background: rgba(14,165,233,.15); border-color: rgba(14,165,233,.38); color: #fff; }
.opt-icon { width: 24px; height: 24px; border-radius: 5px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .85rem; }
.quiz-prog { padding: .62rem .9rem; border-top: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; gap: .6rem; }
.prog-track { flex: 1; height: 3px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.prog-fill { height: 100%; background: var(--teal); border-radius: 2px; transition: width .4s ease; }
.prog-lbl { font-size: .62rem; color: rgba(255,255,255,.28); white-space: nowrap; font-family: var(--sans); }
.quiz-result { padding: 1.25rem .9rem; background: rgba(14,165,233,.07); border-top: 1px solid rgba(14,165,233,.15); display: none; }
.quiz-result.show { display: block; }
.result-lbl { font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: .62rem; display: flex; align-items: center; gap: .35rem; font-family: var(--sans); }
.result-rec { font-family: var(--serif); font-size: 1.12rem; font-weight: 700; color: #fff; margin-bottom: .42rem; line-height: 1.25; }
.result-reason { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: .9rem; font-family: var(--sans); }
.result-acts { display: flex; gap: .52rem; flex-wrap: wrap; margin-bottom: .9rem; }
.rbtn { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; padding: .55rem 1.05rem; border-radius: 7px; text-decoration: none; cursor: pointer; transition: all .15s; border: none; font-family: var(--sans); }
.rbtn.pri { background: var(--teal); color: #fff; }
.rbtn.pri:hover { background: var(--teal2); color: #fff; text-decoration: none; }
.rbtn.gho { background: rgba(255,255,255,.07); color: rgba(255,255,255,.58); border: 1px solid rgba(255,255,255,.14); }
.rbtn.gho:hover { background: rgba(255,255,255,.13); color: #fff; text-decoration: none; }
.mbars-lbl { font-size: .62rem; color: rgba(255,255,255,.28); font-family: var(--sans); margin-bottom: .38rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.mbar-row { display: flex; align-items: center; gap: .52rem; margin-bottom: .3rem; }
.mbar-name { font-size: .68rem; color: rgba(255,255,255,.35); font-family: var(--sans); min-width: 130px; }
.mbar-track { flex: 1; height: 4px; background: rgba(255,255,255,.07); border-radius: 2px; overflow: hidden; }
.mbar-fill { height: 100%; border-radius: 2px; transition: width .6s ease .25s; }
.mf-t { background: var(--teal); } .mf-g { background: var(--green); } .mf-o { background: var(--gold); } .mf-n { background: #475569; }
.mbar-pct { font-size: .65rem; font-weight: 700; color: rgba(255,255,255,.45); font-family: var(--sans); min-width: 2.2rem; text-align: right; }
.quiz-aff-note { font-size: .65rem; color: rgba(255,255,255,.18); margin-top: .75rem; line-height: 1.62; font-family: var(--sans); }

/* ── RANKING TABLE ── */
.rank-wrap { border-radius: var(--r); border: 1px solid var(--border); overflow: hidden; margin-bottom: 1.75rem; box-shadow: var(--shadow); }
.rk-head { display: grid; grid-template-columns: 32px 1fr 75px 65px 96px; gap: .5rem; padding: .52rem .82rem; background: var(--navy); font-size: .6rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.35); font-family: var(--sans); }
.rk-row { display: grid; grid-template-columns: 32px 1fr 75px 65px 96px; gap: .5rem; padding: .82rem; background: var(--white); border-top: 1px solid var(--border); align-items: center; transition: background .15s; }
.rk-row:hover { background: var(--teal-pale); }
.rk-row.feat { background: var(--teal-pale); border-left: 3px solid var(--teal); }
@media (max-width: 540px) { .rk-head { display: none; } .rk-row { grid-template-columns: 1fr; border-top: 1px solid var(--border); } .rk-num { display: none; } }
.rk-num { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--border); text-align: center; line-height: 1; }
.rk-row.feat .rk-num { color: var(--teal); }
.rk-name { font-size: .88rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: .38rem; flex-wrap: wrap; font-family: var(--sans); }
.rk-pick { font-size: .55rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--teal); color: #fff; padding: .1rem .38rem; border-radius: 3px; }
.rk-url { font-size: .65rem; color: var(--muted); margin-top: .08rem; font-family: var(--sans); }
.rk-panel { font-size: .82rem; font-weight: 700; color: var(--ink); text-align: center; font-family: var(--sans); }
.rk-panel span { display: block; font-size: .6rem; color: var(--muted); font-weight: 400; }
.rk-score { display: flex; flex-direction: column; align-items: center; gap: .1rem; }
.score-n { font-size: .9rem; font-weight: 800; color: var(--gold); font-family: var(--sans); }
.score-dots { display: flex; gap: 1.5px; }
.dot-f { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.dot-e { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.rk-cta { text-align: right; }
@media (max-width: 540px) { .rk-cta { text-align: left; } }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--sans); font-weight: 700; border-radius: 7px; text-decoration: none; transition: all .15s; cursor: pointer; white-space: nowrap; border: none; }
.btn-primary { background: var(--teal); color: #fff; font-size: .82rem; padding: .55rem 1.1rem; }
.btn-primary:hover { background: var(--teal2); color: #fff; text-decoration: none; }
.btn-outline { border: 1.5px solid var(--teal); color: var(--teal2); font-size: .78rem; padding: .5rem .98rem; background: transparent; }
.btn-outline:hover { background: var(--teal); color: #fff; text-decoration: none; }

/* ── REVIEW CARDS ── */
.rev-cards { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.rev-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.rev-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.rev-card.top { border-color: var(--teal); box-shadow: 0 0 0 1px rgba(14,165,233,.12), var(--shadow); }
.rc-hd { padding: 1.05rem 1.2rem .9rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: .82rem; }
.rc-rank { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--border); line-height: 1; min-width: 2rem; text-align: center; }
.rev-card.top .rc-rank { color: var(--teal); }
.rc-brand { flex: 1; }
.rc-name { font-size: 1rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; font-family: var(--sans); }
.rc-sub { font-size: .7rem; color: var(--muted); margin-top: .1rem; font-family: var(--sans); }
.rc-badges { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; }
.badge { font-size: .58rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: .16rem .52rem; border-radius: 20px; white-space: nowrap; font-family: var(--sans); }
.b-teal  { background: rgba(14,165,233,.1);  color: var(--teal2); border: 1px solid rgba(14,165,233,.2); }
.b-gold  { background: rgba(217,119,6,.1);   color: var(--gold);  border: 1px solid rgba(217,119,6,.2); }
.b-green { background: rgba(5,150,105,.1);   color: var(--green); border: 1px solid rgba(5,150,105,.2); }
.b-navy  { background: rgba(15,23,42,.05);   color: var(--navy3); border: 1px solid var(--border); }
.rc-body { padding: 1rem 1.2rem 1.2rem; }
.rc-stars { display: flex; align-items: center; gap: .5rem; margin-bottom: .72rem; font-family: var(--sans); }
.stars span { color: var(--gold); font-size: .82rem; }
.stars .de { opacity: .22; }
.sc-n { font-size: .88rem; font-weight: 800; color: var(--gold); }
.sc-l { font-size: .68rem; color: var(--muted); }
.rc-desc { font-size: .85rem; color: var(--muted); line-height: 1.72; margin-bottom: .9rem; font-family: var(--sans); }
.rc-chips { display: flex; flex-wrap: wrap; gap: .32rem; margin-bottom: .88rem; }
.chip { background: var(--cream); border: 1px solid var(--border); border-radius: 20px; padding: .2rem .65rem; font-size: .68rem; color: var(--ink2); font-family: var(--sans); }
.chip strong { color: var(--ink); font-weight: 700; }
.rc-pros { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1rem; }
.pro { font-size: .8rem; color: var(--ink2); display: flex; align-items: flex-start; gap: .45rem; line-height: 1.55; font-family: var(--sans); }
.pro::before { content: '\2713\00a0'; color: var(--teal); font-weight: 700; flex-shrink: 0; font-size: .8rem; }
.rc-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .65rem; padding-top: .82rem; border-top: 1px solid var(--border); }
.aff-note { font-size: .64rem; color: var(--muted); font-style: italic; font-family: var(--sans); }

/* ── PULL QUOTE ── */
.pull-quote { border-left: 3px solid var(--teal); padding: 1rem 1.35rem; margin: 2rem 0; background: var(--teal-pale); border-radius: 0 var(--r) var(--r) 0; }
.pull-quote p { font-family: var(--serif); font-size: 1.05rem; font-style: italic; color: var(--ink); line-height: 1.52; margin: 0; }
.pull-quote cite { display: block; font-family: var(--sans); font-size: .68rem; color: var(--muted); font-style: normal; margin-top: .52rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* ── INFO BOX ── */
.info-box { background: var(--cream); border: 1px solid var(--border); border-radius: var(--r); padding: 1.3rem 1.45rem; margin: 2rem 0; }
.info-box-title { font-size: .85rem; font-weight: 800; color: var(--ink); margin-bottom: .85rem; font-family: var(--sans); }
.info-list { display: flex; flex-direction: column; gap: .55rem; }
.info-item { font-size: .82rem; color: var(--ink2); display: flex; align-items: flex-start; gap: .62rem; line-height: 1.6; font-family: var(--sans); }
.info-n { flex-shrink: 0; width: 19px; height: 19px; background: var(--navy); color: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: .62rem; font-weight: 800; margin-top: .1rem; }

/* ── FAQ ── */
.faq-wrap { margin: 1.75rem 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: .65rem; padding: .88rem 0; text-align: left; font-family: var(--sans); font-size: .88rem; font-weight: 700; color: var(--ink); transition: color .15s; }
.faq-q:hover { color: var(--teal2); }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .68rem; color: var(--muted); transition: all .2s; }
.faq-q.open .faq-icon { background: var(--teal); border-color: var(--teal); color: #fff; transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 .9rem; font-family: var(--sans); font-size: .84rem; color: var(--muted); line-height: 1.78; }
.faq-a.show { display: block; }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 1.1rem; }
.toc { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 1rem; }
.toc-lbl { font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .65rem; font-family: var(--sans); }
.toc-list { display: flex; flex-direction: column; gap: .04rem; }
.toc-list a { font-size: .78rem; color: var(--muted); text-decoration: none; padding: .28rem .55rem; border-radius: 5px; border-left: 2px solid transparent; line-height: 1.42; transition: all .15s; display: block; font-family: var(--sans); }
.toc-list a:hover { color: var(--teal2); background: var(--teal-pale); border-left-color: var(--teal); text-decoration: none; }
.sb-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.sb-head { background: var(--navy); padding: .58rem .9rem; font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); font-family: var(--sans); }
.sb-body { padding: .82rem .9rem; }
.sb-body p { font-size: .78rem; color: var(--muted); line-height: 1.62; margin-bottom: .65rem; font-family: var(--sans); }
.sb-links { display: flex; flex-direction: column; gap: .32rem; }
.sb-links a { font-size: .78rem; color: var(--teal2); font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: .35rem; font-family: var(--sans); }
.sb-links a::before { content: '\2192'; font-size: .72rem; color: var(--teal); }
.sb-links a:hover { text-decoration: underline; }
.author-sb { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: .9rem; display: flex; gap: .75rem; }
.author-av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-name { font-size: .82rem; font-weight: 700; color: var(--ink); font-family: var(--sans); }
.author-role { font-size: .68rem; color: var(--muted); font-family: var(--sans); }
.author-bio  { font-size: .72rem; color: var(--muted); margin-top: .35rem; line-height: 1.55; font-family: var(--sans); }

/* ── DISCLAIMER (article) ── */
.article-disc { background: var(--cream); border: 1px solid var(--border); border-radius: var(--r); padding: 1.2rem 1.38rem; margin-top: 2rem; }
.disc-title { font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .55rem; font-family: var(--sans); }
.article-disc p { font-size: .74rem; color: var(--muted); line-height: 1.72; margin-bottom: .38rem; font-family: var(--sans); }
.article-disc p:last-child { margin: 0; }
.article-disc a { color: var(--teal2); }

/* ── AUTHOR BYLINE ── */
.author-byline { display: flex; gap: .9rem; padding: 1.5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 2.25rem; }
.author-byline img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.byline-name { font-size: .9rem; font-weight: 700; color: var(--ink); margin-bottom: .22rem; font-family: var(--sans); }
.byline-bio  { font-size: .8rem; color: var(--muted); line-height: 1.65; font-family: var(--sans); }
.byline-bio a { color: var(--teal2); font-weight: 600; }

/* ── LEGAL PAGES ── */
.legal-hero { background: var(--navy); padding: 2.75rem 0 3.25rem; position: relative; overflow: hidden; }
.legal-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(14,165,233,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(14,165,233,.04) 1px, transparent 1px); background-size: 38px 38px; }
.legal-inner { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }
.legal-tag { font-size: .6rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: .55rem; font-family: var(--sans); }
.legal-title { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: #fff; letter-spacing: -.02em; }
.legal-updated { font-size: .72rem; color: rgba(255,255,255,.28); margin-top: .45rem; font-family: var(--sans); }
.legal-body { max-width: 800px; margin: 0 auto; padding: 2.75rem 1.5rem 5rem; }
.legal-body h2 { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin: 2rem 0 .72rem; padding-bottom: .48rem; border-bottom: 1px solid var(--border); font-family: var(--sans); }
.legal-body h3 { font-size: .98rem; font-weight: 700; color: var(--ink); margin: 1.5rem 0 .5rem; font-family: var(--sans); }
.legal-body p { font-size: .88rem; color: var(--muted); line-height: 1.82; margin-bottom: 1rem; font-family: var(--sans); }
.legal-body ul { margin: .72rem 0 1rem 1.2rem; display: flex; flex-direction: column; gap: .38rem; }
.legal-body li { font-size: .88rem; color: var(--muted); line-height: 1.72; font-family: var(--sans); }
.legal-body a { color: var(--teal2); }
.legal-body strong { color: var(--ink); font-weight: 700; }
.legal-contact { background: var(--teal-pale); border: 1px solid rgba(14,165,233,.2); border-radius: var(--r); padding: 1.2rem 1.35rem; margin-top: 2rem; }
.legal-contact p { font-size: .85rem; color: var(--ink2); line-height: 1.72; margin: 0; font-family: var(--sans); }
.legal-contact a { color: var(--teal2); font-weight: 600; }

/* ── CONTACT PAGE ── */
.contact-wrap { max-width: 900px; margin: 0 auto; padding: 2.75rem 1.5rem 5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 640px) { .contact-wrap { grid-template-columns: 1fr; } }
.cf { display: flex; flex-direction: column; gap: .82rem; }
.cf h3 { font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: .25rem; font-family: var(--sans); }
.fg { display: flex; flex-direction: column; gap: .3rem; }
.fl { font-size: .74rem; font-weight: 700; color: var(--ink); font-family: var(--sans); }
.fl .req { color: var(--red); }
.fi, .ft, .fs { width: 100%; padding: .62rem .88rem; border: 1.5px solid var(--border); border-radius: 7px; font-family: var(--sans); font-size: .88rem; color: var(--ink); background: var(--white); transition: border-color .15s, box-shadow .15s; }
.fi:focus, .ft:focus, .fs:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,165,233,.1); }
.ft { resize: vertical; min-height: 125px; }
.fsubmit { background: var(--teal); color: #fff; font-family: var(--sans); font-size: .9rem; font-weight: 700; padding: .72rem 1.4rem; border: none; border-radius: 7px; cursor: pointer; transition: all .15s; align-self: flex-start; }
.fsubmit:hover { background: var(--teal2); transform: translateY(-1px); }
.cf-note { font-size: .7rem; color: var(--muted); font-family: var(--sans); margin-top: .4rem; }
.cf-success { display: none; background: var(--teal-pale); border: 1px solid rgba(14,165,233,.2); border-radius: var(--r); padding: 1.5rem; text-align: center; }
.cf-success.show { display: block; }
.cf-success h3 { color: var(--teal2); margin-bottom: .3rem; font-family: var(--sans); }
.cf-success p { color: var(--muted); font-size: .84rem; font-family: var(--sans); margin: 0; }
.cf-err { color: var(--red); font-size: .78rem; display: none; font-family: var(--sans); }
.cf-err.show { display: block; }
.ci-info h3 { font-size: 1rem; font-weight: 800; color: var(--ink); margin-bottom: .85rem; font-family: var(--sans); }
.ci-info p { font-size: .85rem; color: var(--muted); line-height: 1.72; margin-bottom: .9rem; font-family: var(--sans); }
.ci-detail { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .72rem; }
.ci-icon { font-size: 1rem; flex-shrink: 0; margin-top: .08rem; }
.ci-text { font-size: .82rem; color: var(--muted); line-height: 1.58; font-family: var(--sans); }
.ci-text strong { color: var(--ink); font-weight: 700; display: block; margin-bottom: .08rem; }
.ci-text a { color: var(--teal2); font-weight: 600; }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--cream); border-bottom: 1px solid var(--border); padding: .5rem 0; font-family: var(--sans); }
.bc-inner { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; gap: .4rem; font-size: .7rem; color: var(--muted); flex-wrap: wrap; }
.bc-inner a { color: var(--muted); text-decoration: none; }
.bc-inner a:hover { color: var(--teal2); }
.bc-sep { color: var(--border); }
.bc-cur { color: var(--ink2); font-weight: 600; }

/* ── FOOTER ── */
.site-footer { background: var(--navy); padding: 3.5rem 0 0; }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem 3rem; display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 3rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .footer-logo { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: #fff; margin-bottom: .7rem; }
.footer-brand .footer-logo span { color: #7dd3fc; }
.footer-brand p { font-size: .78rem; color: rgba(255,255,255,.32); line-height: 1.72; max-width: 270px; margin-bottom: 1rem; font-family: var(--sans); }
.footer-brand address { font-style: normal; font-size: .72rem; color: rgba(255,255,255,.2); line-height: 1.8; font-family: var(--sans); }
.footer-brand address a { color: rgba(255,255,255,.22); text-decoration: underline; }
.footer-col h4 { font-size: .6rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.22); margin-bottom: .75rem; font-family: var(--sans); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.footer-col a { font-size: .78rem; color: rgba(255,255,255,.35); text-decoration: none; font-family: var(--sans); transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-div { border: none; border-top: 1px solid rgba(255,255,255,.06); }
.footer-legal { max-width: var(--max); margin: 0 auto; padding: 1.2rem 1.5rem; font-size: .69rem; color: rgba(255,255,255,.18); line-height: 1.72; font-family: var(--sans); }
.footer-legal strong { color: rgba(255,255,255,.3); font-weight: 700; }
.footer-legal a { color: rgba(255,255,255,.22); text-decoration: underline; }
.footer-bottom { background: rgba(0,0,0,.2); padding: .8rem 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; max-width: 100%; }
.footer-bottom div { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; width: 100%; font-size: .67rem; color: rgba(255,255,255,.16); font-family: var(--sans); }

/* Responsive global */
@media (max-width: 600px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .rk-head { display: none; }
  .rk-row { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE-FIRST RESPONSIVE — REQUIRED ON ALL SITES
   Breakpoints: 360px (small phones) / 480px / 600px / 768px
   ============================================================ */

/* Prevent horizontal overflow on all screens */
html, body { overflow-x: hidden; }
* { min-width: 0; }
img, video, iframe, svg { max-width: 100%; height: auto; display: block; }

/* Touch-friendly tap targets — minimum 44×44px */
a, button, [role="button"], input, select, textarea,
.quiz-opt, .faq-q, .btn, .btn-primary, .btn-outline,
.rbtn, .fsubmit { min-height: 44px; }
.quiz-opt { min-height: 52px; }

/* ── 768px tablet ── */
@media (max-width: 768px) {
  :root { --max: 100%; }

  .hero { padding: 2.5rem 0 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .hstat-n { font-size: 1.55rem; }
  .hstat-l { font-size: .58rem; }

  .page-wrap { padding: 1.75rem 1rem 3rem; gap: 2rem; }
  .section-heading { font-size: 1.25rem; margin-top: 1.75rem; }

  .rk-head { display: none; }
  .rk-row { grid-template-columns: 1fr auto; gap: .5rem; padding: .75rem; }
  .rk-num { display: none; }
  .rk-panel { text-align: left; }

  .rev-card { border-radius: 8px; }
  .rc-hd { padding: .88rem 1rem .75rem; gap: .65rem; }
  .rc-body { padding: .85rem 1rem 1rem; }
  .rc-rank { font-size: 1.55rem; min-width: 1.6rem; }
  .rc-name { font-size: .95rem; }
  .rc-badges { gap: .2rem; }

  .pull-quote p { font-size: .95rem; }
  .info-box { padding: 1rem 1.1rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; padding-bottom: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }

  .legal-body { padding: 2rem 1rem 3.5rem; }
  .legal-title { font-size: 1.45rem; }

  .contact-wrap { padding: 2rem 1rem 3.5rem; gap: 2rem; }
}

/* ── 600px mobile ── */
@media (max-width: 600px) {
  .topbar { padding: .28rem 0; font-size: .62rem; }
  .tb-inner { flex-direction: column; align-items: flex-start; gap: .28rem; padding: 0 1rem; }
  .tb-links { gap: .75rem; }

  .hdr { padding: .6rem 1rem; }
  .logo img { height: 42px; }

  .hero { padding: 2rem 0 0; }
  .hero-inner { padding: 0 1rem; gap: 2rem; }
  .hero h1 { font-size: 1.65rem; line-height: 1.15; }
  .hero-deck { font-size: .88rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: .42rem; margin-bottom: 1.25rem; }
  .hstat { padding: .72rem .5rem; }
  .hstat-n { font-size: 1.38rem; }
  .hstat-l { font-size: .57rem; }
  .hero-meta { font-size: .62rem; gap: .38rem .72rem; }
  .meta-avatar { width: 22px; height: 22px; }

  .disclosure-bar .disc-inner { font-size: .7rem; padding: .38rem 1rem; }

  .quiz-section { padding: 2.5rem 1rem; }
  .quiz-h2 { font-size: 1.25rem; }
  .quiz-sub { font-size: .78rem; }
  .quiz-msgs { padding: .85rem; }
  .msg-bubble { font-size: .76rem; padding: .5rem .72rem; }
  .quiz-opts { padding: .15rem .75rem .75rem; gap: .35rem; }
  .quiz-opt { padding: .55rem .78rem; font-size: .76rem; gap: .45rem; }
  .opt-icon { width: 22px; height: 22px; font-size: .78rem; }
  .quiz-prog { padding: .52rem .75rem; }
  .quiz-result { padding: 1rem .75rem; }
  .result-rec { font-size: 1rem; }
  .result-reason { font-size: .74rem; }
  .rbtn { font-size: .74rem; padding: .5rem .9rem; min-height: 44px; }
  .mbar-name { min-width: 110px; font-size: .64rem; }

  .page-wrap { padding: 1.5rem .9rem 3rem; }
  .section-heading { font-size: 1.15rem; margin-top: 1.5rem; margin-bottom: .85rem; }

  .rank-wrap { border-radius: 8px; }
  .rk-row { grid-template-columns: 1fr; gap: .35rem; padding: .82rem; }
  .rk-row .rk-cta { padding-top: .5rem; }
  .rk-name { font-size: .85rem; }
  .rk-panel { display: none; }
  .rk-score { flex-direction: row; gap: .5rem; align-items: center; }
  .score-n { font-size: .85rem; }
  .btn-primary { font-size: .78rem; padding: .5rem .95rem; width: 100%; justify-content: center; }

  .rev-cards { gap: 1rem; }
  .rc-hd { flex-wrap: wrap; padding: .82rem; }
  .rc-rank { font-size: 1.35rem; }
  .rc-badges { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .22rem; }
  .badge { font-size: .56rem; }
  .rc-body { padding: .82rem; }
  .rc-stars { margin-bottom: .58rem; }
  .rc-desc { font-size: .8rem; }
  .rc-pros { gap: .25rem; margin-bottom: .82rem; }
  .pro { font-size: .76rem; }
  .chips { gap: .25rem; margin-bottom: .72rem; }
  .chip { font-size: .64rem; }
  .rc-foot { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .rc-foot .btn-primary { width: 100%; justify-content: center; }
  .btn-outline { display: none; }
  .aff-note { font-size: .62rem; }

  .pull-quote { padding: .88rem 1rem; margin: 1.5rem 0; }
  .pull-quote p { font-size: .88rem; }

  .info-box { padding: .88rem .95rem; margin: 1.5rem 0; }
  .info-item { font-size: .78rem; gap: .52rem; }
  .info-n { width: 17px; height: 17px; font-size: .6rem; }

  .faq-q { font-size: .82rem; padding: .78rem 0; }
  .faq-a { font-size: .79rem; }

  .author-byline { gap: .72rem; padding: 1.1rem 0; margin-top: 1.75rem; }
  .author-byline img { width: 44px; height: 44px; }
  .byline-name { font-size: .84rem; }
  .byline-bio { font-size: .76rem; }

  .article-disc { padding: .88rem 1rem; }
  .article-disc p { font-size: .7rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 0 1rem 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand .footer-logo { font-size: 1.15rem; }
  .footer-brand p { font-size: .72rem; }
  .footer-brand address { font-size: .66rem; }
  .footer-col h4 { font-size: .57rem; margin-bottom: .55rem; }
  .footer-col a { font-size: .72rem; }
  .footer-legal { padding: .9rem 1rem; font-size: .65rem; }
  .footer-bottom div { font-size: .62rem; flex-direction: column; gap: .22rem; }

  .legal-hero { padding: 2rem 0 2.5rem; }
  .legal-inner { padding: 0 1rem; }
  .legal-title { font-size: 1.25rem; }
  .legal-body { padding: 1.75rem 1rem 3rem; }
  .legal-body h2 { font-size: 1rem; margin-top: 1.75rem; }
  .legal-body p { font-size: .84rem; }
  .legal-body li { font-size: .84rem; }

  .contact-wrap { grid-template-columns: 1fr; padding: 1.75rem 1rem 3rem; gap: 2rem; }
  .fsubmit { width: 100%; }

  .breadcrumb { padding: .4rem 0; }
  .bc-inner { padding: 0 1rem; font-size: .65rem; }
}

/* ── 360px small phones ── */
@media (max-width: 400px) {
  .hdr { padding: .55rem .85rem; }
  .logo img { height: 36px; }
  .hero h1 { font-size: 1.42rem; }
  .hero-stats { grid-template-columns: 1fr; gap: .38rem; }
  .hstat { padding: .65rem .75rem; text-align: left; display: flex; align-items: center; gap: .75rem; }
  .hstat-n { font-size: 1.55rem; min-width: 3.5rem; }
  .quiz-opts { padding: .1rem .65rem .65rem; }
  .quiz-opt { font-size: .73rem; }
  .rk-row { padding: .72rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Guide pages on mobile ── */
@media (max-width: 600px) {
  .guides-grid { grid-template-columns: 1fr !important; }
}

/* ── Safe area insets for notched phones ── */
@supports (padding: max(0px)) {
  .topbar .tb-inner,
  .hdr,
  .hero-inner,
  .page-wrap,
  .quiz-inner,
  .legal-inner,
  .legal-body,
  .contact-wrap,
  .footer-grid {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}
