/* ============================================================
   Platinum Heritage - Navy & Gold Public Theme
   Serif headlines, navy hero bands, gold accents, white cards.
   ============================================================ */
/* Self-contained tokens: guarantees the navy/gold theme even if main.css is stale or cached */
:root {
  --surface:#ffffff; --surface-container-lowest:#ffffff; --surface-container-low:#f6f7fa; --surface-container:#eceff5;
  --surface-container-high:#e2e7f0; --surface-container-highest:#d2d9e6;
  --primary:#0b2a5b; --primary-container:#0b2a5b; --primary-fixed:#06183a; --primary-dim:#1d4a94; --on-primary:#ffffff; --on-primary-fixed:#ffffff;
  --secondary:#1d4a94; --tertiary:#b8891f; --tertiary-container:#f6ecd0; --tertiary-fixed:#e2b94e;
  --on-surface:#0d1b36; --on-surface-variant:#55627a; --on-surface-dim:#8089a0;
  --outline:rgba(13,27,54,.14); --outline-variant:rgba(13,27,54,.08);
  --gradient-primary:linear-gradient(135deg,#0b2a5b,#1d4a94);
  --gradient-hero:linear-gradient(135deg,#06183a 0%,#0b2a5b 60%,#0a2150 100%);
  --navy:#0b2a5b; --navy-deep:#06183a; --gold:#c9a13b; --gold-soft:#f6ecd0; --green:#1f6b3a;
  --font-serif:'Playfair Display',Georgia,serif;
}
:root { --wrap: 1200px; }
body { background: #f6f7fa; color: var(--on-surface); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--space-xl); }
.serif { font-family: var(--font-serif); }
main { padding-top: 0 !important; }

/* ---------- top strip ---------- */
.util-bar { position: static; height: auto; background: var(--navy-deep); color: #b9c6e0; font-size: .75rem; }
.util-bar .util-inner { max-width: var(--wrap); margin: 0 auto; padding: .5rem var(--space-xl); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.util-bar a { color: #b9c6e0; margin-left: 1.25rem; font-weight: 500; }
.util-bar a:hover { color: var(--gold); }
.util-bar b { color: var(--gold); font-weight: 700; }
.util-bar .badge-fdic { background: var(--gold); color: var(--navy-deep); font-weight: 800; padding: .15rem .5rem; border-radius: 4px; font-size: .625rem; letter-spacing: .04em; margin-left: 1.25rem; }

/* ---------- nav ---------- */
.pub-nav { position: sticky; top: 0; left: auto; right: auto; background: #fff; border-bottom: 1px solid var(--outline); box-shadow: 0 2px 14px rgba(13,27,54,.06); height: 72px; z-index: 100; }
.pub-nav .nav-inner { max-width: var(--wrap); gap: 1.5rem; }
.pub-nav .nav-logo { display: inline-flex; align-items: center; gap: .65rem; background: none; -webkit-text-fill-color: var(--navy); color: var(--navy); font-family: var(--font-serif); font-size: 1.25rem; letter-spacing: .14em; font-weight: 700; line-height: 1; }
.pub-nav .nav-logo small { display: block; font-family: var(--font-body); font-size: .5625rem; letter-spacing: .28em; color: var(--gold); -webkit-text-fill-color: var(--gold); font-weight: 700; margin-top: .3rem; }
.logo-mark { width: 38px; height: 38px; border-radius: 9px; background: var(--navy); color: var(--gold); -webkit-text-fill-color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 800; border: 1px solid var(--gold); }
.pub-nav .nav-links { gap: 1.75rem; }
.pub-nav .nav-links a { color: var(--on-surface); font-size: .875rem; font-weight: 600; padding: .4rem 0; border-bottom: 2px solid transparent; }
.pub-nav .nav-links a:hover, .pub-nav .nav-links a.active { color: var(--navy); border-bottom-color: var(--gold); }
.nav-actions .btn { padding: .65rem 1.15rem; border-radius: 8px; font-size: .8125rem; }
.mobile-nav { top: 72px; background: #fff; }
.mobile-nav a { color: var(--on-surface); }

/* ---------- buttons ---------- */
.btn-navy { background: var(--navy); color: #fff !important; border-radius: 8px; box-shadow: none; }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-deep) !important; border-radius: 8px; font-weight: 700; }
.btn-gold:hover { background: #d8b24d; transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff !important; border-radius: 8px; }
.btn-green:hover { background: #185730; }
.btn-line { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; }
.btn-line:hover { background: rgba(255,255,255,.1); }
.btn-line-dark { background: #fff; color: var(--navy) !important; border: 1px solid var(--outline); border-radius: 8px; }
.btn-line-dark:hover { border-color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--outline); border-radius: 8px; }
.btn-primary { background: var(--navy); color: #fff; border-radius: 8px; box-shadow: none; }
.btn-primary:hover { background: var(--navy-deep); color: #fff; box-shadow: none; }
.btn-lg { padding: .95rem 1.6rem; font-size: .9375rem; }

/* ---------- shared type ---------- */
.eyebrow { display: inline-block; font-size: .6875rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--tertiary); background: none; padding: 0; margin-bottom: .75rem; border-radius: 0; }
.sec { padding: 5rem 0; }
.sec-white { background: #fff; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.sec-head h2, .h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; font-weight: 700; color: var(--navy); letter-spacing: -.01em; margin-bottom: .75rem; }
.sec-head p { color: var(--on-surface-variant); font-size: 1.0625rem; line-height: 1.7; }
.lead-left h2 { text-align: left; }

/* ---------- navy hero ---------- */
.nhero { background: var(--gradient-hero); color: #fff; padding: 4.5rem 0 7rem; position: relative; overflow: hidden; }
.nhero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(201,161,59,.22), transparent 65%); pointer-events: none; }
/* Optional real photo behind any hero: add class "has-photo" and a background-image inline style */
.nhero.has-photo, .page-hero.has-photo, .light-hero.has-photo { background-size: cover; background-position: center; }
.nhero.has-photo::before, .page-hero.has-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(6,24,58,.93) 0%, rgba(11,42,91,.86) 45%, rgba(11,42,91,.55) 100%); z-index: 0; }
.nhero.has-photo > .wrap, .page-hero.has-photo > .wrap { position: relative; z-index: 1; }
.light-hero.has-photo { position: relative; color: #fff; }
.light-hero.has-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(6,24,58,.90), rgba(11,42,91,.78)); }
.light-hero.has-photo > .wrap { position: relative; z-index: 1; }
.light-hero.has-photo h1, .light-hero.has-photo p { color: #fff; }
.light-hero.has-photo p { color: #c4d0e8; }
.nhero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; position: relative; z-index: 1; }
.pill { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.08); border: 1px solid rgba(201,161,59,.45); color: var(--gold); font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.5rem; }
.nhero h1 { font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.08; font-weight: 700; letter-spacing: -.015em; margin-bottom: 1.25rem; color: #fff; }
.nhero h1 em { color: var(--gold); font-style: normal; font-weight: 700; }
.nhero p.lead { color: #c4d0e8; font-size: 1.0625rem; line-height: 1.75; max-width: 560px; margin-bottom: 1.75rem; }
.nhero .row { display: flex; flex-wrap: wrap; gap: .85rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; font-size: .75rem; font-weight: 600; color: #dbe4f5; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); padding: .45rem .8rem; border-radius: 8px; }
.chip .material-symbols-outlined { font-size: 1rem; color: var(--gold); }
.photo { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 4px solid rgba(255,255,255,.08); }
.photo img { display: block; width: 100%; height: auto; }
.float-card { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: var(--navy-deep); border: 1px solid rgba(201,161,59,.4); border-radius: 12px; padding: .9rem 1.1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.float-card small { display: block; color: #9db0d3; font-size: .6875rem; letter-spacing: .04em; }
.float-card b { color: #fff; font-size: .9375rem; }
.float-card .big { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 700; color: var(--gold); }
.page-hero { background: var(--gradient-hero); color: #fff; padding: 4rem 0 4.5rem; position: relative; overflow: hidden; }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.1; font-weight: 700; margin-bottom: 1rem; color: #fff; }
.page-hero h1 em { color: var(--gold); font-style: normal; font-weight: 700; }
.page-hero p { color: #c4d0e8; font-size: 1.0625rem; line-height: 1.75; max-width: 640px; }
.light-hero { background: #fff; padding: 4rem 0 3rem; border-bottom: 1px solid var(--outline); }
.light-hero h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); line-height: 1.12; margin-bottom: 1rem; }
.light-hero p { color: var(--on-surface-variant); font-size: 1.0625rem; max-width: 720px; line-height: 1.7; }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--outline); border-radius: 16px; padding: 1.75rem; box-shadow: 0 2px 10px rgba(13,27,54,.04); }
.card.hover { transition: .25s; }
.card.hover:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(13,27,54,.12); border-color: rgba(201,161,59,.6); }
.ico { width: 46px; height: 46px; border-radius: 10px; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.ico.green { background: var(--green); color: #fff; }
.ico.soft { background: var(--gold-soft); color: var(--tertiary); }
.card h3 { font-family: var(--font-serif); font-size: 1.25rem; color: var(--navy); margin-bottom: .5rem; line-height: 1.25; }
.card p { color: var(--on-surface-variant); font-size: .9rem; line-height: 1.7; }
.tag { display: inline-block; font-size: .625rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tertiary); margin-bottom: .5rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .3rem; margin-top: 1rem; font-size: .8125rem; font-weight: 700; color: var(--navy); }
.link-arrow:hover { color: var(--tertiary); }
.link-arrow .material-symbols-outlined { font-size: 1rem; }
.g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }

/* ---------- rates card overlapping hero ---------- */
.rates { margin-top: -4.25rem; position: relative; z-index: 5; background: #fff; border-radius: 18px; border: 1px solid var(--outline); box-shadow: 0 24px 50px rgba(13,27,54,.16); padding: 1.5rem 1.75rem 1.25rem; }
.rates-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.rates-head h3 { font-family: var(--font-serif); font-size: 1.15rem; color: var(--navy); }
.rates-head span { font-size: .6875rem; color: var(--on-surface-dim); }
.rate-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.rate { border: 1px solid var(--outline); border-radius: 12px; padding: 1.1rem; position: relative; }
.rate.feat { border-color: var(--gold); background: #fffaf0; }
.rate .flag { position: absolute; top: -9px; right: 12px; background: var(--gold); color: var(--navy-deep); font-size: .5625rem; font-weight: 800; padding: .15rem .5rem; border-radius: 4px; letter-spacing: .08em; }
.rate small { display: block; font-size: .625rem; font-weight: 800; letter-spacing: .12em; color: var(--on-surface-dim); text-transform: uppercase; margin-bottom: .35rem; }
.rate .n { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.rate .n sup { font-size: .9rem; color: var(--on-surface-variant); font-family: var(--font-body); font-weight: 600; margin-left: .15rem; }
.rate p { font-size: .75rem; color: var(--on-surface-variant); margin: .4rem 0 .6rem; line-height: 1.5; }
.rate a { font-size: .75rem; font-weight: 700; color: var(--navy); }
.sample-note { font-size: .6875rem; color: var(--on-surface-dim); margin-top: .9rem; }

/* ---------- quick tiles ---------- */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.5rem; }
.q-tile { background: #fff; border: 1px solid var(--outline); border-radius: 12px; padding: .9rem 1.1rem; display: flex; gap: .8rem; align-items: center; color: var(--navy); transition: .2s; }
.q-tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.q-tile .material-symbols-outlined { color: var(--tertiary); background: var(--gold-soft); padding: .45rem; border-radius: 8px; font-size: 1.25rem; }
.q-tile b { font-size: .8125rem; display: block; line-height: 1.2; }
.q-tile span.s { font-size: .6875rem; color: var(--on-surface-dim); }

/* ---------- photo + navy feature panel ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 50px rgba(13,27,54,.18); }
.feature .f-img { position: relative; background: #ddd; min-height: 380px; }
.feature .f-img img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.feature .f-cap { position: absolute; left: 1rem; bottom: 1rem; background: #fff; border-radius: 10px; padding: .6rem .9rem; font-family: var(--font-serif); font-weight: 700; color: var(--navy); font-size: .9rem; }
.feature .f-cap small { display: block; font-family: var(--font-body); font-size: .5625rem; letter-spacing: .12em; color: var(--tertiary); }
.feature .f-body { background: var(--navy); color: #fff; padding: 2.75rem; }
.feature .f-body h2 { font-family: var(--font-serif); color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; margin: .5rem 0 1rem; }
.feature .f-body p { color: #c4d0e8; line-height: 1.75; font-size: .9375rem; }
.feature .f-body .pt { display: flex; gap: .75rem; margin-top: 1rem; align-items: flex-start; }
.feature .f-body .pt .material-symbols-outlined { color: var(--gold); }
.feature .f-body .pt b { display: block; font-size: .875rem; }
.feature .f-body .pt span.s { color: #9db0d3; font-size: .8125rem; line-height: 1.55; display: block; }
.on-navy-tag { color: var(--gold); font-size: .625rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.quote-box { border-left: 3px solid var(--gold); background: rgba(255,255,255,.06); padding: 1rem 1.25rem; border-radius: 0 10px 10px 0; margin-top: 1.5rem; font-family: var(--font-serif); font-style: italic; color: #fff; line-height: 1.6; }
.quote-box small { display: block; font-family: var(--font-body); font-style: normal; color: #9db0d3; margin-top: .6rem; font-size: .75rem; }
.stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.5rem; }
.stat3 div { background: rgba(255,255,255,.07); border-radius: 10px; padding: .9rem; text-align: center; }
.stat3 b { display: block; font-family: var(--font-serif); font-size: 1.6rem; color: var(--gold); }
.stat3 span { font-size: .6875rem; color: #b9c6e0; }

/* ---------- calculator ---------- */
.calc { background: #fff; border: 1px solid var(--outline); border-top: 3px solid var(--navy); border-radius: 16px; padding: 1.75rem; box-shadow: 0 16px 36px rgba(13,27,54,.1); }
.calc h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy); margin-bottom: .4rem; }
.calc .sub { font-size: .8125rem; color: var(--on-surface-variant); margin-bottom: 1.25rem; line-height: 1.6; }
.calc label { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 600; color: var(--on-surface-variant); margin: 1rem 0 .4rem; }
.calc label b { color: var(--navy); font-size: .9375rem; }
.calc input[type=range] { width: 100%; accent-color: var(--navy); }
.calc .result { margin-top: 1.5rem; background: var(--navy); color: #fff; border-radius: 12px; padding: 1.1rem 1.25rem; }
.calc .result small { color: #9db0d3; font-size: .625rem; letter-spacing: .14em; font-weight: 700; }
.calc .result .amt { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 700; color: #fff; }
.calc .result .amt span { font-size: 1rem; color: var(--gold); }
.calc .result p { color: #9db0d3; font-size: .6875rem; margin-top: .4rem; line-height: 1.5; }
.check-rows .r { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--outline); border-radius: 10px; padding: .85rem 1rem; margin-bottom: .6rem; font-size: .875rem; font-weight: 600; color: var(--navy); }
.check-rows .r span.v { font-size: .6875rem; color: var(--on-surface-dim); font-weight: 500; }

/* ---------- testimonials ---------- */
.t-card { background: #fff; border: 1px solid var(--outline); border-radius: 14px; padding: 1.5rem; }
.t-card .qm { font-family: var(--font-serif); font-size: 3rem; line-height: .8; color: var(--gold); }
.t-card p { font-family: var(--font-serif); font-style: italic; color: var(--navy); line-height: 1.65; font-size: .95rem; margin: .5rem 0 1.1rem; }
.t-card .who { display: flex; gap: .7rem; align-items: center; border-top: 1px solid var(--outline); padding-top: .9rem; }
.t-card .who .av { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .75rem; }
.t-card .who b { display: block; font-size: .8125rem; color: var(--navy); }
.t-card .who span { font-size: .6875rem; color: var(--on-surface-dim); }

/* ---------- podcast / media ---------- */
.media-band { background: var(--navy-deep); color: #fff; padding: 5rem 0; }
.media-band h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: #fff; margin: .5rem 0 1rem; }
.media-band p { color: #c4d0e8; line-height: 1.75; }
.ep { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: .9rem 1.1rem; margin-top: 1rem; }
.ep small { display: block; color: #9db0d3; font-size: .6875rem; }

/* ---------- CTA panel ---------- */
.cta-panel { background: var(--navy); border-radius: 22px; padding: 3.25rem; color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; box-shadow: 0 24px 50px rgba(13,27,54,.25); }
.cta-panel h2 { font-family: var(--font-serif); font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: #fff; margin-bottom: .75rem; line-height: 1.2; }
.cta-panel p { color: #c4d0e8; line-height: 1.7; }
.cta-panel .btns { display: grid; gap: .75rem; }
.cta-panel .btns .btn { justify-content: space-between; padding: 1rem 1.25rem; }

/* ---------- footer ---------- */
.pub-footer { background: var(--navy-deep); border-top: 0; color: #b9c6e0; padding: 4rem 0 0; }
.pub-footer .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
.pub-footer h4 { color: #fff; font-family: var(--font-body); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.pub-footer a { color: #b9c6e0; }
.pub-footer a:hover { color: var(--gold); }
.pub-footer .nav-logo { color: #fff; -webkit-text-fill-color: #fff; background: none; font-family: var(--font-serif); letter-spacing: .14em; }
.pub-footer .logo-mark { background: transparent; }
.pub-footer p { color: #93a5c8; font-size: .8125rem; line-height: 1.7; }
.pub-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-note { font-size: .6875rem; line-height: 1.7; color: #7f93b9; margin: 1.5rem 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.08); }
.f-badges { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.f-badges span { border: 1px solid rgba(201,161,59,.4); color: var(--gold); border-radius: 6px; padding: .3rem .6rem; font-size: .6875rem; font-weight: 700; }
.page-loader { background: #fff; }
.page-loader .logo-glow { background: none; -webkit-text-fill-color: var(--navy); color: var(--navy); font-family: var(--font-serif); animation: none; }

/* ---------- security page widgets ---------- */
.alert-strip { background: #fff4f2; border-bottom: 1px solid #f3cfc9; padding: .85rem 0; font-size: .8125rem; color: #7a1f14; }
.alert-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.alert-strip .btn { padding: .5rem .9rem; font-size: .75rem; border-radius: 6px; }
.btn-danger { background: #b3261e; color: #fff !important; border-radius: 6px; }
.bankcard { background: linear-gradient(135deg, #0b2a5b, #143a7a); color: #fff; border-radius: 16px; padding: 1.5rem; aspect-ratio: 1.6; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 18px 36px rgba(13,27,54,.3); max-width: 380px; }
.bankcard .chipc { width: 42px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #e2b94e, #b8891f); }
.bankcard .num { letter-spacing: .2em; font-size: 1.05rem; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--outline); }
.toggle-row b { display: block; font-size: .875rem; color: var(--navy); }
.toggle-row span.s { font-size: .75rem; color: var(--on-surface-dim); }
.sw { position: relative; width: 44px; height: 24px; flex: 0 0 44px; }
.sw input { opacity: 0; width: 100%; height: 100%; position: absolute; inset: 0; cursor: pointer; z-index: 2; margin: 0; }
.sw i { position: absolute; inset: 0; background: #c9cfdb; border-radius: 99px; transition: .2s; }
.sw i::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; left: 3px; top: 3px; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.sw input:checked + i { background: var(--navy); }
.sw input:checked + i::after { transform: translateX(20px); }
.tabs-pill { display: inline-flex; background: #fff; border: 1px solid var(--outline); border-radius: 999px; padding: .25rem; gap: .25rem; }
.tabs-pill button { border: 0; background: transparent; padding: .5rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .8125rem; color: var(--on-surface-variant); cursor: pointer; font-family: var(--font-body); }
.tabs-pill button.on { background: var(--navy); color: #fff; }
.score-card { background: #fff; border: 1px solid var(--outline); border-radius: 18px; padding: 2rem; box-shadow: 0 16px 36px rgba(13,27,54,.1); }
.score-card .ck { display: flex; gap: .8rem; padding: .85rem 1rem; border: 1px solid var(--outline); border-radius: 10px; margin-top: .6rem; align-items: flex-start; cursor: pointer; }
.score-card .ck input { margin-top: .2rem; accent-color: var(--navy); width: 17px; height: 17px; }
.score-card .ck b { display: block; font-size: .875rem; color: var(--navy); }
.score-card .ck span.s { font-size: .75rem; color: var(--on-surface-dim); }
.score-badge { border: 1px solid var(--gold); background: #fffaf0; border-radius: 10px; padding: .5rem .9rem; font-size: .8125rem; color: var(--navy); }
.progress { height: 10px; background: var(--surface-container-high); border-radius: 99px; overflow: hidden; margin: .75rem 0 0; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--gold)); transition: width .3s; }
.img-quote { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); border-radius: 20px; overflow: hidden; color: #fff; }
.img-quote .iq-img { min-height: 340px; position: relative; }
.img-quote .iq-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-quote .iq-body { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.img-quote h3 { font-family: var(--font-serif); font-size: 1.9rem; line-height: 1.3; color: #fff; margin-bottom: 1rem; }
.img-quote h3 em { color: var(--gold); font-style: normal; font-weight: 700; }

/* ---------- legal pages ---------- */
.legal { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.toc { position: sticky; top: 92px; background: #fff; border: 1px solid var(--outline); border-radius: 14px; padding: 1.25rem; }
.toc h4 { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-surface-dim); margin-bottom: .75rem; }
.toc a { display: block; padding: .5rem .6rem; border-radius: 8px; font-size: .8125rem; font-weight: 600; color: var(--on-surface); }
.toc a:hover { background: var(--gold-soft); color: var(--navy); }
.help-box { margin-top: 1rem; background: var(--navy); color: #fff; border-radius: 12px; padding: 1.1rem; font-size: .8125rem; line-height: 1.6; }
.help-box b { color: var(--gold); display: block; margin-bottom: .3rem; }
.help-box a { color: #fff; text-decoration: underline; }
.article { background: #fff; border: 1px solid var(--outline); border-radius: 16px; padding: 2rem 2.25rem; margin-bottom: 1.5rem; scroll-margin-top: 96px; }
.article .num { font-size: .625rem; font-weight: 800; letter-spacing: .16em; color: var(--tertiary); }
.article h2 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--navy); margin: .3rem 0 1rem; }
.article p, .article li { font-size: .9rem; line-height: 1.8; color: var(--on-surface-variant); margin-bottom: .7rem; }
.article ul { padding-left: 1.25rem; }
.article p b, .article li b { color: var(--navy); }
.note-box { background: #fffaf0; border: 1px solid var(--gold); border-radius: 10px; padding: 1rem 1.2rem; font-size: .85rem; color: var(--navy); line-height: 1.65; margin: 1rem 0; }
.dtable { width: 100%; border-collapse: collapse; font-size: .8125rem; margin-top: .5rem; }
.dtable th { text-align: left; background: var(--surface-container); color: var(--navy); padding: .7rem .8rem; font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; }
.dtable td { padding: .7rem .8rem; border-top: 1px solid var(--outline); color: var(--on-surface-variant); }
.dtable td.y { color: var(--green); font-weight: 700; } .dtable td.n { color: #b3261e; font-weight: 700; }
.prefs { background: var(--navy); border-radius: 18px; padding: 2rem; color: #fff; }
.prefs h3 { font-family: var(--font-serif); font-size: 1.6rem; color: #fff; margin-bottom: .4rem; }
.prefs .toggle-row { border-color: rgba(255,255,255,.12); }
.prefs .toggle-row b { color: #fff; } .prefs .toggle-row span.s { color: #9db0d3; }
.prefs .sw input:checked + i { background: var(--gold); }

/* ---------- team ---------- */
.person .photo-sq { aspect-ratio: 4/3; background: linear-gradient(135deg, #0b2a5b, #1d4a94); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-family: var(--font-serif); font-size: 2.6rem; font-weight: 700; margin-bottom: 1rem; }
.person h3 { font-size: 1.05rem; }
.person .role { font-size: .75rem; color: var(--tertiary); font-weight: 700; margin-bottom: .5rem; display: block; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nhero-grid, .split2, .feature, .cta-panel, .img-quote, .legal { grid-template-columns: 1fr; }
  .g3, .g2 { grid-template-columns: 1fr; }
  .g4, .rate-cols, .quick { grid-template-columns: repeat(2, 1fr); }
  .pub-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .toc { position: static; }
  .feature .f-img { min-height: 280px; }
}
@media (max-width: 600px) { .g4, .rate-cols, .quick { grid-template-columns: 1fr; } .util-bar .util-right a:not(:last-child) { display: none; } .cta-panel { padding: 2rem; } }
