/* ==========================================================================
   RateWisdom — site styles
   Brand: Navy #1A2556 · Teal #10C2D3 · Teal text #086A7C / #0A9DB0 (large)
          Yellow #FCC419 (navy text only) · Light teal #EEF8FA / #E3F5F8
   Type:  Montserrat (headings, wordmark) · Open Sans (body)
   ========================================================================== */

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/assets/fonts/montserrat-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/opensans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/opensans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #1A2556;
  --navy-2: #233066;
  --navy-line: #34407A;
  --navy-soft: #C9D3F0;
  --teal: #10C2D3;
  --teal-text: #086A7C;
  --teal-text-hover: #06505E;
  --teal-word: #0A9DB0;
  --sky: #48C8F8;
  --yellow: #FCC419;
  --yellow-tint: #FFF3C4;
  --yellow-text: #6B4E00;
  --teal-tint: #EEF8FA;
  --teal-tint-2: #E3F5F8;
  --blue: #3F67B5;
  --blue-tint: #E6ECF8;
  --plum: #6B2A62;
  --plum-tint: #F3E9F2;
  --ink: #1A2556;
  --muted: #4B5563;
  --muted-2: #374151;
  --line: #E4E8EE;
  --line-2: #EEF1F4;
  --input-line: #C9D2DC;
  --surface: #F7F9FC;
  --white: #FFFFFF;
  --danger: #B42318;
  --success: #067647;

  --font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 14px;
  --radius: 18px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 4px 18px rgba(26, 37, 86, .06);
  --shadow: 0 14px 34px rgba(26, 37, 86, .2);
  --shadow-card: 0 2px 4px rgba(26, 37, 86, .05), 0 24px 60px rgba(26, 37, 86, .14);
  --container: 1240px;
  --gutter: 24px;
  --header-h: 79px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--teal-text); text-decoration: none; }
a:hover { color: var(--teal-text-hover); }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; color: var(--ink); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }

/* ---------- motion (from design) ---------- */
.lift { transition: transform .25s ease, box-shadow .25s ease; }
.lift:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(26, 37, 86, .16); }
.lift:hover .wiggle { animation: rwWiggle .6s ease; }
.zoom img { transition: transform .6s ease; }
.zoom:hover img { transform: scale(1.06); }
.arrow { display: inline-block; transition: transform .2s ease; }
a:hover .arrow, button:hover .arrow { transform: translateX(5px); }
.float { animation: rwFloat 5s ease-in-out infinite; }
.float2 { animation: rwFloat 6s ease-in-out -2s infinite; }
.float3 { animation: rwFloat 7s ease-in-out -4s infinite; }
.pulse { animation: rwPulse 1.8s ease-out infinite; }
.spin { animation: rwSpin 40s linear infinite; }
.marquee { animation: rwMarquee 50s linear infinite; }
.marquee:hover, .marquee:focus-within { animation-play-state: paused; }
.in { animation: rwUp .8s cubic-bezier(.2, .7, .2, 1) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .25s; } .d3 { animation-delay: .4s; } .d4 { animation-delay: .55s; }
@supports (animation-timeline: view()) { .reveal { animation: rwUp linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; } }
@keyframes rwFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes rwPulse { 0% { box-shadow: 0 0 0 0 rgba(16, 194, 211, .7); } 100% { box-shadow: 0 0 0 12px rgba(16, 194, 211, 0); } }
@keyframes rwSpin { to { transform: rotate(360deg); } }
@keyframes rwMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rwWiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
@keyframes rwUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- buttons, pills, tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 26px; border-radius: 999px; border: 0; font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; transition: background-color .2s ease, box-shadow .2s ease; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #26346f; color: #fff; }
.btn--shadow { box-shadow: 0 10px 24px rgba(26, 37, 86, .25); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { color: var(--navy); background: var(--teal-tint); }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { color: var(--navy); background: #ffd23f; }
.btn--outline { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn--outline:hover { color: var(--navy); background: var(--teal-tint); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--block { width: 100%; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--navy); font-weight: 700; font-size: 13px; padding: 7px 16px 7px 12px; border-radius: 999px; }
.pill__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); flex: none; }
.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-text); }
.tag { align-self: flex-start; display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; line-height: 1.4; }
.tag--sm { font-size: 11px; padding: 4px 10px; }
.tag--teal { background: var(--teal-tint-2); color: var(--teal-text); }
.tag--blue { background: var(--blue-tint); color: var(--blue); }
.tag--yellow { background: var(--yellow-tint); color: var(--yellow-text); }
.tag--plum { background: var(--plum-tint); color: var(--plum); }
.hl { background: linear-gradient(transparent 64%, var(--yellow) 64%); padding: 0 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; font-weight: 600; color: var(--navy); }
.checks li { display: flex; gap: 8px; align-items: center; }
.checks--sm { font-size: 13px; gap: 6px 18px; color: var(--muted-2); }
.checks--col { flex-direction: column; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 14px; font-weight: 700; color: var(--navy); }
.input, .field input, .field select { height: 54px; width: 100%; border: 1px solid var(--input-line); border-radius: var(--radius-sm); padding: 0 18px; font-size: 16px; color: var(--navy); background: #fff; }
.field input:focus, .field select:focus, .input:focus { outline: none; border-color: var(--teal-text); box-shadow: 0 0 0 3px rgba(16, 194, 211, .35); }
.field input:invalid:not(:placeholder-shown) { border-color: var(--danger); }

/* ---------- utility bar + header ---------- */
.utility { background: var(--navy); color: #D5DCF2; font-size: 13px; }
.utility__inner { padding-top: 8px; padding-bottom: 8px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.utility__brand { display: flex; gap: 6px; align-items: center; }
.utility a { color: #D5DCF2; }
.utility a:hover { color: #fff; }
.utility__brand a, .utility__strong { color: #fff !important; font-weight: 600; }
.utility__links { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { padding-top: 14px; padding-bottom: 14px; display: flex; gap: 14px 24px; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo img { height: 50px; width: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__word { font-family: var(--font-head); font-weight: 800; font-size: 26px; letter-spacing: -.03em; white-space: nowrap; }
.logo__rate { color: var(--navy); }
.logo__wisdom { color: var(--teal-word); }
.logo__tag { font-family: var(--font-head); font-size: 9px; font-weight: 700; letter-spacing: .24em; color: var(--teal-text); margin-top: 5px; }
.logo--md img { height: 46px; }
.logo--md .logo__word { font-size: 24px; }
.logo--md .logo__tag { font-size: 8px; }
.primary-nav { display: flex; flex-wrap: nowrap; gap: 4px 24px; font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.primary-nav a { color: var(--navy); position: relative; padding: 6px 0; white-space: nowrap; }
.header-cta { white-space: nowrap; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--teal); transform: scaleX(0); transition: transform .2s ease; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav__mobile-only { display: none; }
.header-actions { display: flex; gap: 12px; align-items: center; }
.icon-btn { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; flex: none; padding: 0; }
.icon-btn:hover { color: var(--navy); background: var(--teal-tint); }
.nav-toggle { display: none; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 1260px) {
  .primary-nav { gap: 4px 18px; font-size: 14px; }
  .site-header__inner { gap: 14px 18px; }
}
@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(26, 37, 86, .14); flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; font-size: 17px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
  .primary-nav a::after { display: none; }
  .primary-nav a[aria-current="page"] { color: var(--teal-text); }
  .primary-nav__mobile-only { display: block; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; --header-h: 67px; }
  .logo img { height: 40px; }
  .logo__word { font-size: 21px; }
  .logo__tag { font-size: 7.5px; }
  .header-cta { display: none; }
  .site-header__inner { padding-top: 10px; padding-bottom: 10px; }
  .utility__brand { display: none; }
  .utility__inner { justify-content: center; }
}

/* ---------- sections ---------- */
.section { padding-top: 88px; padding-bottom: 88px; }
.section--tight { padding-top: 56px; padding-bottom: 72px; }
.section--top-0 { padding-top: 0; }
.section--tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--teal { background: var(--teal-tint); }
.section-head { display: flex; flex-direction: column; gap: 8px; }
.section-head--center { align-items: center; text-align: center; }
.section-head--row { flex-direction: row; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: flex-end; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.section-head p { color: var(--muted); max-width: 620px; }
.section-head__link { font-weight: 700; }
@media (max-width: 720px) { .section { padding-top: 64px; padding-bottom: 64px; } }

/* ---------- home hero ---------- */
.hero { position: relative; background: var(--teal); overflow: clip; }
.bubble { position: absolute; border-radius: 50%; pointer-events: none; }
.bubble--1 { width: 620px; height: 620px; background: rgba(255, 255, 255, .13); left: -220px; top: -260px; }
.bubble--2 { width: 380px; height: 380px; background: rgba(26, 37, 86, .08); right: 8%; bottom: -200px; }
.hero__inner { position: relative; padding-top: 64px; padding-bottom: 170px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-weight: 800; font-size: clamp(29px, 4.4vw, 60px); line-height: 1.12; letter-spacing: -.03em; }
.hero h1 > span { display: block; }
.roller { height: 1.18em; overflow: hidden; }
.roller__track { display: block; }
.roller__track.is-animating { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.roller__word { display: block; height: 1.18em; line-height: 1.18em; white-space: nowrap; }
.hero__lead { font-size: 20px; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { flex: 1 1 420px; min-width: 0; position: relative; padding: 24px 28px; }
.hero__sun { position: absolute; width: 230px; height: 230px; border-radius: 50%; background: var(--yellow); right: -10px; top: -14px; }
.hero__ring { position: absolute; width: 210px; height: 210px; border-radius: 50%; border: 3px dashed rgba(26, 37, 86, .35); left: -20px; bottom: -30px; }
.hero__owl { position: absolute; z-index: 3; left: -34px; top: -30px; width: 184px; height: 184px; border-radius: 50%; background: var(--navy); border: 6px solid #fff; box-shadow: 0 18px 40px rgba(26, 37, 86, .3); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero__owl img { width: 150px; margin-top: 14px; }
.hero__photo { position: relative; border-radius: 32px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 60px rgba(26, 37, 86, .25); height: 440px; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.chip-card { position: absolute; z-index: 2; background: #fff; border-radius: 16px; padding: 12px 16px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); }
.chip-card__ico { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.chip-card__text { display: flex; flex-direction: column; line-height: 1.25; }
.chip-card__text b { font-size: 14px; }
.chip-card__text span { font-size: 12px; color: var(--muted); }
.chip-card--1 { left: -6px; top: 196px; }
.chip-card--2 { right: 0; bottom: 96px; }
.chip-card--3 { left: 56px; bottom: 0; background: var(--navy); color: #fff; padding: 12px 18px; box-shadow: 0 14px 34px rgba(26, 37, 86, .3); }
.chip-card--3 .chip-card__text span { color: var(--navy-soft); }
.chip-card__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--teal); flex: none; }
@media (max-width: 720px) {
  .hero__inner { padding-top: 40px; padding-bottom: 150px; gap: 40px; }
  .hero__lead { font-size: 18px; }
  .hero__visual { padding: 16px 8px 24px; }
  .hero__photo { height: 300px; border-radius: 24px; }
  .hero__owl { width: 120px; height: 120px; left: -6px; top: -20px; border-width: 4px; }
  .hero__owl img { width: 98px; margin-top: 10px; }
  .hero__sun { width: 160px; height: 160px; right: -30px; }
  .chip-card { padding: 10px 12px; }
  .chip-card--1 { top: 130px; left: -4px; }
  .chip-card--2 { bottom: 70px; right: -4px; }
  .chip-card--3 { left: 24px; }
}
@media (max-width: 400px) { .chip-card--2 { display: none; } }

/* ---------- product picker ---------- */
.picker-section { position: relative; z-index: 2; margin-top: -120px; }
.picker { background: #fff; border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 24px; }
.picker__head { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: baseline; }
.picker__head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.picker__head span { font-size: 14px; color: var(--muted); }
.picker__tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 14px; }
.picker-tab { position: relative; min-height: 132px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 14px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--navy); }
.picker-tab[aria-selected="true"] { border: 2px solid var(--navy); background: var(--teal-tint); font-weight: 700; }
.picker-tab__check { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); display: none; align-items: center; justify-content: center; }
.picker-tab[aria-selected="true"] .picker-tab__check { display: flex; }
.picker__form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: var(--surface); border-radius: var(--radius); padding: 18px; }
.picker__field { flex: 2 1 260px; }
.picker__field[hidden] { display: none; }
.picker__submit { flex: 1 1 240px; height: 54px; border-radius: var(--radius-sm); }
.picker__note { flex: 1 1 100%; font-size: 13px; color: var(--muted); }
@media (max-width: 720px) {
  .picker { padding: 20px 16px; gap: 18px; border-radius: 22px; }
  .picker__head h2 { font-size: 21px; }
  .picker__tabs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .picker-tab { min-height: 92px; padding: 10px 4px; font-size: 12px; border-radius: 14px; gap: 4px; text-align: center; line-height: 1.2; }
  .picker-tab .ico { width: 44px; height: 44px; }
  .picker-tab__check { width: 18px; height: 18px; top: 5px; right: 5px; }
}
@media (max-width: 380px) { .picker__tabs { grid-template-columns: repeat(2, 1fr); } }

/* ---------- ticker ---------- */
.ticker { margin-top: 56px; background: var(--navy); color: #fff; display: flex; align-items: center; overflow: hidden; }
.ticker__label { flex: none; position: relative; z-index: 1; background: var(--yellow); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 18px 22px; }
.ticker__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 72px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 72px), transparent 100%); }
/* Visitors who turn animations off (e.g. Windows "Animation effects" off, iPhone "Reduce Motion")
   get a still strip they can scroll sideways, instead of a frozen ticker cut off at the edge. */
@media (prefers-reduced-motion: reduce) {
  .ticker__viewport { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .35) transparent; }
  .ticker__track [aria-hidden="true"] { display: none; }
}
.ticker__track { display: flex; width: max-content; }
.ticker__track a { display: flex; align-items: center; gap: 14px; padding: 16px 22px; color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; }
.ticker__track a:hover { color: var(--teal); }
.ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }

/* ---------- owl guides ---------- */
.owl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.owl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 18px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: var(--navy); }
.owl-card:hover { color: var(--navy); }
.owl-card__img { width: 100%; height: 170px; border-radius: 16px; background: var(--teal-tint); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.owl-card__img img { height: 156px; width: auto; }
.owl-card__badge { background: var(--teal-tint-2); color: var(--teal-text); font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.owl-card__title { font-family: var(--font-head); font-size: 18px; font-weight: 800; }
.owl-card__desc { font-size: 14px; color: var(--muted); }
.owl-card__more { font-weight: 700; font-size: 14px; color: var(--teal-text); margin-top: auto; }

/* ---------- category hub ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.cat-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.cat-card h3 { font-size: 20px; font-weight: 700; }
.cat-card p { font-size: 15px; color: var(--muted); flex-grow: 1; }
.cat-card__links { display: flex; flex-direction: column; gap: 6px; font-size: 14px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.cat-card .btn { align-self: flex-start; }
.mini-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.mini-cat { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--navy); font-family: var(--font-head); font-weight: 700; }
.mini-cat:hover { color: var(--navy); }
.mini-cat span:not(.arrow) { flex: 1; }

/* ---------- best-of picks ---------- */
.picks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.pick { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 260px; display: flex; flex-direction: column; text-decoration: none; }
.pick--photo { background: var(--navy); color: #fff; justify-content: flex-end; }
.pick--photo:hover { color: #fff; }
.pick--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.pick--photo .pick__body { position: relative; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.pick--tint { padding: 24px; gap: 10px; color: var(--navy); }
.pick--tint:hover { color: var(--navy); }
.pick--teal { background: var(--teal-tint-2); }
.pick--yellow { background: var(--yellow-tint); }
.pick__badge { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.pick__title { font-family: var(--font-head); font-size: 23px; font-weight: 800; line-height: 1.2; }
.pick--tint .pick__title { flex-grow: 1; padding-right: 40px; }
.pick__more { font-weight: 700; }
.pick__art { position: absolute; right: 14px; bottom: 54px; }

/* ---------- editorial ---------- */
.featured { display: flex; flex-wrap: wrap; gap: 28px; }
.featured__main { flex: 1.3 1 520px; min-width: 0; background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; color: var(--navy); border: 1px solid var(--line); }
.featured__main:hover { color: var(--navy); }
.featured__img { height: 320px; overflow: hidden; }
.featured__img img { width: 100%; height: 100%; object-fit: cover; }
.featured__body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.featured__title { font-family: var(--font-head); font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.featured__dek { color: var(--muted); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.featured__side { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.side-card { flex: 1 1 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: flex; gap: 18px; align-items: center; color: var(--navy); }
.side-card:hover { color: var(--navy); }
.side-card__img { flex: none; width: 128px; height: 112px; border-radius: 14px; overflow: hidden; }
.side-card__img img { width: 100%; height: 100%; object-fit: cover; }
.side-card__body { display: flex; flex-direction: column; gap: 8px; }
.side-card__title { font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.3; }
@media (max-width: 560px) {
  .featured__img { height: 220px; }
  .featured__body { padding: 20px; }
  .side-card__img { width: 96px; height: 88px; }
  .side-card__title { font-size: 15px; }
}
.guides-head { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.guides-head h3 { font-size: 26px; font-weight: 800; }
.chip-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; background: #fff; color: var(--navy); border: 1px solid #D5DCE6; font-size: 14px; font-weight: 600; padding: 0 18px; border-radius: 999px; cursor: pointer; }
.chip:hover { border-color: var(--navy); }
.chip[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.guide-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; color: var(--navy); }
.guide-card:hover { color: var(--navy); }
.guide-card[hidden] { display: none; }
.guide-card__img { display: block; height: 170px; overflow: hidden; }
.guide-card__img img { width: 100%; height: 100%; object-fit: cover; }
.guide-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.guide-card__body .tag { font-size: 11px; padding: 4px 10px; }
.guide-card__title { font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.3; }

/* ---------- tools ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tool-tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: center; color: var(--navy); background: #fff; }
.tool-tile:hover { color: var(--navy); }
.tool-tile__ico { flex: none; width: 52px; height: 52px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.tool-tile__text { display: flex; flex-direction: column; }
.tool-tile__name { font-weight: 700; }
.tool-tile__sub { font-size: 14px; color: var(--muted); }

/* ---------- how it works ---------- */
.how { position: relative; overflow: clip; background: var(--navy); color: #E6ECF2; }
.how__ring { position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 2px dashed rgba(16, 194, 211, .35); right: -140px; top: -160px; }
.how__inner { position: relative; display: flex; flex-wrap: wrap; gap: 56px; }
.how__steps { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.how h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step__num { width: 52px; height: 52px; border-radius: 50%; color: var(--navy); font-family: var(--font-head); font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step__title { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: #fff; }
.step__text { font-size: 15px; color: var(--navy-soft); }
.promise { flex: 1 1 340px; min-width: 0; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.promise__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.promise__title { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: #fff; line-height: 1.3; }
.promise p { font-size: 15px; color: var(--navy-soft); }
.promise__links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; font-weight: 700; }
.promise__links a { color: var(--teal); }
.promise__links a:hover { color: #fff; }

/* ---------- newsletter ---------- */
.newsletter-band { background: var(--teal-tint); }
.newsletter-band__inner { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.newsletter-band__text { flex: 1 1 420px; display: flex; gap: 20px; align-items: center; }
.newsletter-band__text svg { flex: none; }
.newsletter-band__text h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.newsletter-band__text p { color: var(--muted-2); }
.nl-form { flex: 1 1 420px; display: flex; flex-wrap: wrap; gap: 12px; }
.nl-form input[type="email"] { flex: 1 1 240px; height: 54px; border: 1px solid var(--input-line); border-radius: 999px; padding: 0 20px; font-size: 16px; background: #fff; color: var(--navy); }
.nl-form input[type="email"]:focus { outline: none; border-color: var(--teal-text); box-shadow: 0 0 0 3px rgba(16, 194, 211, .35); }
.nl-form .btn { height: 54px; }
.nl-form__msg { flex: 1 1 100%; font-size: 14px; font-weight: 600; color: var(--teal-text); }
.nl-form__msg:empty { display: none; }
@media (max-width: 560px) { .newsletter-band__text svg { width: 60px; height: 60px; } .nl-form .btn { flex: 1 1 100%; } }

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer__inner { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 40px; }
.footer__brand { flex: 1.4 1 260px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: var(--muted); }
.footer__brand .logo { align-self: flex-start; }
.footer__brand > span:first-of-type { max-width: 300px; }
.footer__col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col a { color: var(--muted-2); }
.footer__col a:hover { color: var(--teal-text); }
.footer__heading { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 15px; }
.footer__heading--sm { font-family: var(--font-body); color: #1F2937; font-size: 13px; }
.footer__disclosures { border-top: 1px solid var(--line); padding-top: 28px; display: flex; flex-direction: column; gap: 12px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__legal a { color: var(--muted-2); }
@media (max-width: 560px) { .footer__col { flex-basis: 40%; } }

/* ---------- inner page heroes ---------- */
.page-hero { position: relative; overflow: clip; }
.page-hero--light { background: var(--teal-tint); border-bottom: 1px solid var(--line); }
.page-hero--teal { background: var(--teal); }
.page-hero__inner { position: relative; padding-top: 32px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 14px; }
.page-hero h1 { font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1.12; letter-spacing: -.03em; max-width: 900px; }
.page-hero .lead { font-size: 19px; max-width: 720px; color: var(--muted-2); }
.page-hero--teal .lead { color: var(--navy); }
.page-hero__split { position: relative; padding-top: 32px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.page-hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.page-hero__aside { flex: 0 1 440px; min-width: 0; padding-top: 40px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--muted); }
.crumbs li { display: flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: '/'; color: #9AA4B2; padding: 0 4px; }
.crumbs a { color: var(--teal-text); font-weight: 600; }
.page-hero--teal .crumbs ol, .page-hero--teal .crumbs span { color: var(--navy); }
.page-hero--teal .crumbs a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.page-hero--teal .crumbs li + li::before { color: rgba(26, 37, 86, .5); }
@media (max-width: 720px) {
  .page-hero__split { padding-bottom: 48px; }
  .page-hero__aside { padding-top: 56px; flex-basis: 100%; }
  .page-hero .lead { font-size: 17px; }
}

.hero-owl { position: relative; display: flex; justify-content: center; padding: 10px 0 20px; }
.hero-owl__sun { position: absolute; width: 200px; height: 200px; border-radius: 50%; background: var(--yellow); right: 8%; top: -10px; }
.hero-owl__circle { position: relative; width: 300px; height: 300px; border-radius: 50%; background: var(--navy); border: 8px solid #fff; box-shadow: 0 24px 60px rgba(26, 37, 86, .25); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.hero-owl__circle img { width: 240px; margin-bottom: -6px; }
@media (max-width: 560px) { .hero-owl__circle { width: 220px; height: 220px; } .hero-owl__circle img { width: 176px; } .hero-owl__sun { width: 140px; height: 140px; } }

/* ---------- quote card ---------- */
.quote-card { position: relative; background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 16px; }
.quote-card--owl { padding-top: 56px; }
.quote-card__owl { position: absolute; top: -52px; left: 24px; width: 104px; height: 104px; border-radius: 50%; background: var(--navy); border: 5px solid #fff; box-shadow: 0 12px 28px rgba(26, 37, 86, .25); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.quote-card__owl img { width: 84px; margin-bottom: -4px; }
.quote-card__title { font-size: 22px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.quote-card__form { display: flex; flex-direction: column; gap: 12px; }
.quote-card__form .btn { border-radius: var(--radius-sm); min-height: 54px; }
.quote-card__note { font-size: 13px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; background: var(--teal-tint); border: 1px solid #CDEBF0; border-radius: 24px; padding: 24px 32px; }
.cta-band__owl { width: 110px; height: auto; flex: none; }
.cta-band__text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.cta-band__text h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.cta-band__text p { color: var(--muted-2); }
@media (max-width: 560px) { .cta-band { padding: 22px; } .cta-band__owl { width: 80px; } .cta-band .btn { flex: 1 1 100%; } }

/* ---------- content cards (hub pages) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 10px; color: var(--navy); }
a.card:hover { color: var(--navy); }
.card h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.card p { font-size: 15px; color: var(--muted); }
.card__ico { width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; background: var(--teal-tint-2); flex: none; }
.card__more { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--teal-text); }
.card--tint { background: var(--teal-tint); border-color: #D8EEF2; }
.card--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.card--navy h3 { color: #fff; }
.card--navy p { color: var(--navy-soft); }
.split { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split__media { border-radius: 24px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 24px 60px rgba(26, 37, 86, .15); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--teal-tint-2); color: var(--teal-text); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.faq details[open] summary::after { content: '−'; }
.faq details > div { padding: 0 0 20px; color: var(--muted-2); display: flex; flex-direction: column; gap: 10px; }

/* ---------- article ---------- */
.article-hero { background: var(--teal-tint); border-bottom: 1px solid var(--line); }
.article-hero__inner { padding-top: 32px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.article-hero h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; max-width: 900px; }
.article-hero__dek { font-size: 19px; color: var(--muted-2); max-width: 760px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-top: 40px; padding-bottom: 88px; }
.article-figure { margin: 0 0 32px; border-radius: 24px; overflow: hidden; }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-aside { position: relative; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; padding-top: 52px; }
.aside-tools { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.aside-tools__title { font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-text); margin-bottom: 6px; }
.aside-tools a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--navy); font-weight: 600; font-size: 15px; border-top: 1px solid var(--line-2); }
.aside-tools a:first-of-type { border-top: 0; }
.aside-tools a:hover { color: var(--teal-text); }
.note-box { margin-top: 40px; display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-size: 14px; color: var(--muted); }
.note-box svg { flex: none; margin-top: 2px; }
@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; gap: 24px; padding-bottom: 64px; }
  .aside-sticky { position: static; padding-top: 56px; }
}

/* ---------- prose ---------- */
.prose { font-size: 17px; line-height: 1.7; color: #253050; max-width: 760px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.01em; line-height: 1.25; margin-top: 1.8em; }
.prose h3 { font-size: 21px; font-weight: 700; line-height: 1.3; margin-top: 1.5em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 0; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--teal-text); font-weight: 700; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--navy); }
.prose blockquote { margin-left: 0; margin-right: 0; border-left: 4px solid var(--yellow); background: var(--yellow-tint); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--teal-tint); font-family: var(--font-head); font-weight: 700; color: var(--navy); white-space: nowrap; }
.prose .callout { background: var(--teal-tint); border: 1px solid #CDEBF0; border-radius: var(--radius); padding: 18px 22px; }
.prose .callout > * + * { margin-top: .6em; }
.prose .key-takeaways { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.prose .key-takeaways h2 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-text); margin-top: 0; }
.prose .key-takeaways ul { margin-top: .6em; }
.prose--page { max-width: 820px; }
.prose .placeholder, .placeholder { background: var(--yellow-tint); border: 2px dashed #E3B205; border-radius: var(--radius); padding: 20px 22px; color: var(--yellow-text); font-size: 15px; }
.placeholder strong { color: var(--yellow-text); }

/* ---------- comparison tables (best-of shells) ---------- */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.compare-table th, .compare-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { font-weight: 700; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.compare-table .btn { white-space: nowrap; }
.ad-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; }
.ad-note svg { flex: none; margin-top: 1px; }
.page-hero--light .ad-note { background: rgba(255, 255, 255, .7); }

/* ---------- calculators ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; align-items: start; }
.calc__inputs { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm); }
.calc__inputs h2, .calc__results h2 { font-size: 20px; font-weight: 800; }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc .field input, .calc .field select { height: 50px; border-radius: 12px; padding: 0 14px; }
.affix { position: relative; display: flex; align-items: center; }
.affix input { width: 100%; }
.affix__pre, .affix__post { position: absolute; color: var(--muted); font-weight: 600; pointer-events: none; font-size: 15px; }
.affix__pre { left: 14px; }
.affix__post { right: 14px; }
.affix--pre input { padding-left: 30px !important; }
.affix--post input { padding-right: 44px !important; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; color: var(--muted-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.range { width: 100%; accent-color: var(--teal-text); }
.calc__more { border-top: 1px solid var(--line-2); padding-top: 14px; }
.calc__more summary { cursor: pointer; font-weight: 700; color: var(--teal-text); font-size: 15px; }
.calc__more[open] summary { margin-bottom: 14px; }
.calc__more > div { display: flex; flex-direction: column; gap: 16px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 600; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--navy); }
.hint { font-size: 13px; color: var(--muted); }
.calc__results { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.result-hero { background: var(--navy); color: #fff; border-radius: 24px; padding: 28px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.result-hero::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 2px dashed rgba(16, 194, 211, .35); right: -90px; top: -110px; }
.result-hero__main { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 1; }
.result-hero__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.result-hero__value { font-family: var(--font-head); font-weight: 800; font-size: clamp(38px, 5vw, 54px); letter-spacing: -.03em; line-height: 1.05; }
.result-hero__sub { color: var(--navy-soft); font-size: 15px; }
.result-hero__chart { flex: none; position: relative; z-index: 1; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.stat__label { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat__value { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.stat--good .stat__value { color: var(--success); }
.stat--warn .stat__value { color: var(--danger); }
.breakdown { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.breakdown__row { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.breakdown__row span:nth-child(2) { flex: 1; color: var(--muted-2); }
.breakdown__row b { font-family: var(--font-head); }
.breakdown__row--total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; font-weight: 700; }
.breakdown__row--total span:nth-child(2) { color: var(--navy); }
.swatch { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.panel__head h3 { font-size: 18px; font-weight: 800; }
.chart { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--font-body); font-size: 12px; fill: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sched-wrap { max-height: 420px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.sched { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.sched th { position: sticky; top: 0; background: var(--teal-tint); text-align: right; padding: 10px 12px; font-family: var(--font-head); font-size: 13px; color: var(--navy); }
.sched td { text-align: right; padding: 9px 12px; border-top: 1px solid var(--line-2); }
.sched th:first-child, .sched td:first-child { text-align: left; }
.sched tr:nth-child(even) td { background: #FBFCFE; }
.calc-note { font-size: 13px; color: var(--muted); }
.verdict { border-radius: var(--radius); padding: 16px 20px; font-weight: 600; display: flex; gap: 12px; align-items: flex-start; }
.verdict--good { background: #E7F6EE; color: #05603A; }
.verdict--warn { background: #FEF3F2; color: #912018; }
.verdict--info { background: var(--teal-tint); color: var(--teal-text); }
.tool-hero { display: flex; gap: 20px; align-items: center; }
.tool-hero__ico { flex: none; width: 72px; height: 72px; border-radius: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(26, 37, 86, .12); }
@media (max-width: 980px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .calc__inputs { padding: 20px; }
  .result-hero { padding: 22px; }
  .tool-hero { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tool-hero__ico { width: 56px; height: 56px; border-radius: 16px; }
}

/* ---------- search ---------- */
.search-box { display: flex; gap: 10px; max-width: 720px; }
.search-box input { flex: 1; height: 58px; border: 1px solid var(--input-line); border-radius: 999px; padding: 0 22px; font-size: 17px; background: #fff; }
.search-box input:focus { outline: none; border-color: var(--teal-text); box-shadow: 0 0 0 3px rgba(16, 194, 211, .35); }
.search-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.search-results a { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--navy); }
.search-results a:hover { border-color: var(--teal); color: var(--navy); }
.search-results .tag { margin-bottom: 4px; }
.search-results b { font-family: var(--font-head); font-size: 18px; }
.search-results span.d { color: var(--muted); font-size: 15px; }
.search-meta { color: var(--muted); font-size: 15px; }

/* ---------- glossary ---------- */
.glossary-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.glossary-nav a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--navy); background: #fff; }
.glossary-nav a:hover { background: var(--teal-tint); }
.glossary dl { margin: 0; display: flex; flex-direction: column; gap: 0; }
.glossary dt { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--navy); margin-top: 22px; scroll-margin-top: calc(var(--header-h) + 20px); }
.glossary dd { margin: 6px 0 0; color: var(--muted-2); }
.glossary h2 { margin-top: 36px; font-size: 30px; color: var(--teal-text); border-bottom: 2px solid var(--line); padding-bottom: 6px; scroll-margin-top: calc(var(--header-h) + 20px); }
.glossary [hidden] { display: none; }

/* ---------- 404 ---------- */
.notfound { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 88px; }
.notfound__owl { flex: 0 0 240px; height: 240px; border-radius: 50%; background: var(--teal); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-card); }
.notfound__owl img { width: 200px; }
.notfound__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.notfound h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: -.03em; }
.notfound p { font-size: 18px; color: var(--muted-2); }

/* ---------- print ---------- */
@media print {
  .utility, .site-header, .newsletter-band, .site-footer, .article-aside, .ticker { display: none !important; }
  .reveal, .in { animation: none !important; opacity: 1 !important; transform: none !important; }
}
