/* FinRunway — main stylesheet (Brand v1.0, direction B "Midnight") */

/* Self-hosted fonts (SIL Open Font License, see assets/fonts/OFL-*.txt) */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff") format("woff"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader.woff") format("woff"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }


:root {
  --midnight: #0B1F33;
  --midnight-2: #102A42;
  --midnight-3: #1A3550;
  --midnight-line: #23394F;
  --teal: #0E7C7B;
  --teal-light: #2BB3A8;
  --mist: #EEF3F3;
  --paper: #F6F5F1;
  --white: #FFFFFF;
  --slate: #4A5562;
  --on-dark-muted: #C9D3D6;
  --on-dark-faint: #9FB0BA;
  --line: #E2E0D8;
  --line-strong: #D9D7CE;

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;

  --container: 1200px;
  --gutter: 24px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--midnight);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--midnight); }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
/* On dark backgrounds the lighter teal keeps the focus ring visible (WCAG 1.4.11: at least 3:1). */
.site-header--dark :focus-visible, .on-dark :focus-visible, .hero :focus-visible, .product-card :focus-visible, .paywall :focus-visible,
.site-footer :focus-visible, .glance :focus-visible, .calc-result--main :focus-visible, .related__item--pro:focus-visible,
.pp-hero :focus-visible, .pp-why-sec :focus-visible, .hp-pro__shot:focus-visible, .hp-pro__shot :focus-visible { outline-color: var(--teal-light); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--midnight); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type helpers */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
.on-dark .eyebrow, .eyebrow--light { color: var(--teal-light); }
.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
.display { font-family: var(--font-serif); font-weight: 400; font-size: clamp(36px, 4.5vw, 58px); line-height: 1.05; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.6; color: var(--slate); }
.on-dark .lead { color: var(--on-dark-muted); }
.muted { color: var(--slate); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 26px; border-radius: 999px; border: 0; font: 700 16px/1 var(--font-sans); cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--small { min-height: 44px; padding: 12px 20px; font-size: 15px; }
.btn--dark { background: var(--midnight); color: var(--white); }
.btn--dark:hover { color: var(--white); background: #12304D; }
.btn--light { background: var(--mist); color: var(--midnight); }
.btn--light:hover { color: var(--midnight); background: var(--white); }
.btn--teal { background: var(--teal-light); color: var(--midnight); }
.btn--teal:hover { color: var(--midnight); background: #3CC4B9; }
.link-quiet { font-weight: 600; font-size: 15px; padding: 12px 8px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__word { font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.logo--light .logo__word { color: var(--midnight); }
.logo--light .logo__run { color: var(--teal); }
.logo--dark .logo__word { color: var(--mist); }
.logo--dark .logo__run { color: var(--teal-light); }

/* Header */
.site-header { position: relative; z-index: 5; }
.site-header--light { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header--dark { background: var(--midnight); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { font-size: 15px; font-weight: 600; padding: 10px 0; border-bottom: 2px solid transparent; }
.site-header--light .main-nav a, .site-header--light .link-quiet { color: var(--midnight); }
.site-header--dark .main-nav a, .site-header--dark .link-quiet { color: var(--mist); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--teal-light); }
.main-nav a:hover { color: var(--teal-light); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }

.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 12px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.site-header--light .mobile-nav summary { color: var(--midnight); }
.site-header--dark .mobile-nav summary { color: var(--mist); }
.mobile-nav__panel { position: absolute; right: 0; top: 54px; width: min(320px, calc(100vw - 32px)); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 20px 50px rgba(11, 31, 51, .18); display: flex; flex-direction: column; gap: 14px; }
.mobile-nav__panel a { color: var(--midnight); font-weight: 700; font-size: 18px; display: block; padding: 10px 6px; }

@media (max-width: 960px) {
  .main-nav, .site-header__actions { display: none; }
  .mobile-nav { display: block; }
}

/* Sections */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section--tight-top { padding-top: 0; }
.on-dark { background: var(--midnight); color: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head .display { max-width: 760px; }

/* Home hero */
.hero { position: relative; overflow: hidden; background: var(--midnight); color: var(--mist); }
.hero__runway { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(72px, 9vw, 120px); }
.hero__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(52px, 6.5vw, 92px); line-height: 1; letter-spacing: -0.02em; }
.hero__title em { color: var(--teal-light); }
.signup { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.signup input { flex: 1 1 240px; min-width: 0; min-height: 50px; font: 500 16px var(--font-sans); color: var(--mist); background: #12293F; border: 1px solid #2A4560; border-radius: 999px; padding: 14px 22px; }
.signup input::placeholder { color: var(--on-dark-faint); }
.hero__note { font-size: 13px; color: var(--on-dark-faint); }

/* Product card (Shadow Portfolio preview) */
.product-card { flex: 1 1 420px; min-width: 0; background: var(--midnight-2); border: 1px solid #23415E; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.product-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.product-card__title { font-size: 20px; font-weight: 700; color: var(--mist); }
.chip { font-size: 12px; font-weight: 700; color: var(--on-dark-muted); background: var(--midnight-3); padding: 6px 12px; border-radius: 999px; }
.product-card__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat__label { display: block; font-size: 12px; color: var(--on-dark-faint); }
.stat__value { display: block; font-size: 22px; font-weight: 800; color: var(--mist); }
.stat__value--up { color: var(--teal-light); }
.stat__value--muted { color: var(--on-dark-muted); }

/* Principles strip */
.principles { border-bottom: 1px solid var(--line); }
.principles__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; padding: 36px 0; }
.principles p { font-size: 16px; line-height: 1.5; color: var(--slate); }
.principles strong { color: var(--midnight); }

/* Editorial index (pillars) */
.index-list a { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--line-strong); color: var(--midnight); transition: padding .2s ease; }
.index-list li:last-child a { border-bottom: 1px solid var(--line-strong); }
.index-list a:hover { padding-left: 10px; }
.index-list__num { font-size: 15px; font-weight: 700; color: var(--teal); }
.index-list__title { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 12px; }
.index-list__text { font-size: 17px; line-height: 1.55; color: var(--slate); }
.badge { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--midnight); color: var(--mist); }
@media (max-width: 720px) {
  .index-list a { grid-template-columns: 40px minmax(0, 1fr); }
  .index-list__text { grid-column: 2; }
}

/* Daily brief front page */
.frontpage { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 28px; }
.frontpage__masthead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--midnight); padding-bottom: 18px; }
.frontpage__name { font-family: var(--font-serif); font-size: clamp(30px, 3.5vw, 44px); font-weight: 500; }
.frontpage__meta { font-size: 14px; font-weight: 600; color: var(--slate); }
.frontpage__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.story { display: flex; flex-direction: column; gap: 10px; color: var(--midnight); }
.story__kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.story__title { font-family: var(--font-serif); font-size: 28px; line-height: 1.2; }
.story__text { font-size: 15px; line-height: 1.55; color: var(--slate); }

/* Cards grid */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 28px; color: var(--midnight); transition: border-color .15s ease, transform .15s ease; }
.card:hover { border-color: var(--teal); color: var(--midnight); transform: translateY(-2px); }
.card__title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.card__text { font-size: 15px; line-height: 1.55; color: var(--slate); }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--slate); border-top: 1px solid #ECEAE3; padding-top: 14px; }
.card__foot span:last-child { color: var(--teal); }

/* Excel templates band */
.templates-band { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; background: var(--mist); border-radius: var(--radius); padding: 24px 28px; color: var(--midnight); }
.templates-band:hover { color: var(--midnight); background: #E4ECEC; }
.templates-band__icon { color: var(--teal); flex: none; }
.templates-band__copy { flex: 1 1 320px; font-size: 17px; color: var(--slate); }
.templates-band__copy strong { color: var(--midnight); }
.templates-band__cta { font-weight: 700; color: var(--teal); }

/* Access badges */
.badge--free { background: var(--mist); color: var(--teal); }
.badge--paid { background: var(--midnight); color: var(--mist); }

/* Academy + Pro block */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > * { flex: 1 1 380px; min-width: 0; }
.split__copy { display: flex; flex-direction: column; gap: 18px; }
.course-list li { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid var(--midnight-line); font-size: 18px; font-weight: 600; }
.course-list li:last-child { border-bottom: 1px solid var(--midnight-line); }
.course-list span { color: var(--teal-light); width: 28px; flex: none; }
.course-list a { color: var(--mist); }
.course-list a:hover { color: var(--teal-light); }

.pro-panel { margin-top: 96px; background: var(--mist); color: var(--midnight); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.pro-panel > * { flex: 1 1 340px; min-width: 0; }
.pro-panel .lead { color: var(--slate); }
.price-card { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.price-card__price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.price-card__period { font-size: 15px; color: var(--slate); }
.price-card ul { display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.price-card li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-right: 12px; vertical-align: middle; }

/* Inner pages */
.page-hero { background: var(--white); border-bottom: 1px solid var(--line); }
.page-hero__inner { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; gap: 18px; }
.page-hero__inner > * { max-width: 860px; }
.page-hero__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(40px, 5vw, 68px); line-height: 1.04; letter-spacing: -0.015em; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; color: var(--slate); }
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #A9B1B9; }

.notice { background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.notice__title { font-weight: 700; font-size: 18px; }

.paywall { background: var(--midnight); color: var(--mist); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.paywall p { color: var(--on-dark-muted); max-width: 560px; }

/* Footer */
.site-footer { background: var(--midnight); color: var(--on-dark-muted); padding: 72px 0 40px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(6, minmax(0, 1fr)); gap: 32px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.site-footer__brand p { font-family: var(--font-serif); font-style: italic; font-size: 18px; color: var(--on-dark-muted); }
.site-footer__social { list-style: none; display: flex; gap: 10px; margin: 2px 0 0; padding: 0; }
.site-footer__social a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--midnight-line); color: var(--on-dark-muted); font-size: 14px; font-weight: 600; text-decoration: none; }
.site-footer__social a:hover { color: var(--white); border-color: var(--teal-light); }
.site-footer__social svg { flex: none; }
.site-footer__col h2 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.site-footer__col h2 a { color: var(--mist); }
.site-footer__col li { margin-bottom: 8px; }
.site-footer__col li a { font-size: 14px; color: var(--on-dark-faint); }
.site-footer a:hover { color: var(--teal-light); }
.site-footer__bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid #1C3449; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer__disclaimer { flex: 1 1 100%; font-size: 13px; line-height: 1.6; color: var(--on-dark-faint); max-width: 820px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer__legal a { font-size: 14px; font-weight: 600; color: var(--on-dark-muted); }
.site-footer__copy { font-size: 13px; color: var(--on-dark-faint); }
@media (max-width: 960px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
.card__foot .muted { color: var(--slate); }

/* Flash message */
.flash { background: var(--teal); color: var(--white); font-weight: 600; font-size: 15px; padding: 14px 0; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; color: var(--midnight); }
.field input { min-height: 50px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 12px; font: 500 16px var(--font-sans); color: var(--midnight); background: var(--white); }
.field input:focus { border-color: var(--teal); outline: 3px solid rgba(43, 179, 168, .25); outline-offset: 0; }
.field__hint { font-weight: 500; font-size: 13px; color: var(--slate); }
.form-errors { background: #FCEDEA; border: 1px solid #F0C2B8; color: #8A2A16; border-radius: 12px; padding: 12px 16px; font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Auth pages */
.auth { max-width: 520px; }
.auth__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.auth__title { font-size: clamp(34px, 4vw, 44px); }
.auth__switch { font-size: 15px; }
.auth__legal { font-size: 13px; color: var(--slate); }

/* Account page */
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.account-card { border: 1px solid var(--line); }
.account-card__plan { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.account-links { display: flex; flex-direction: column; gap: 12px; font-weight: 600; }
.account-links li { display: flex; align-items: center; gap: 10px; }
.account-signout { grid-column: 1 / -1; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.plan--featured { border: 2px solid var(--teal); }
.plan--list { background: var(--mist); border-color: transparent; }
.plan__price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan__price span { font-size: 16px; font-weight: 600; color: var(--slate); letter-spacing: 0; }
.plan .btn { margin-top: auto; }
.plan .btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.plan__features { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.plan__features li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-right: 10px; vertical-align: middle; }
.plans__legal { margin-top: 24px; font-size: 13px; color: var(--slate); max-width: 760px; }
.account-card__status { font-weight: 600; font-size: 15px; }

/* Legal pages */
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal__draft { grid-column: 1 / -1; max-width: none; }
.legal__nav { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 24px; }
.legal__nav a { font-weight: 600; font-size: 15px; color: var(--slate); padding: 8px 12px; border-radius: 10px; }
.legal__nav a[aria-current="page"] { background: var(--white); color: var(--midnight); border: 1px solid var(--line); }
.legal__body { max-width: 760px; font-size: 17px; line-height: 1.7; }
.legal__body h2 { font-family: var(--font-serif); font-weight: 500; font-size: 26px; margin: 36px 0 12px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body ul { margin: 0 0 14px; }
.legal__body ul { list-style: disc; padding-left: 22px; }
.legal__body li { margin-bottom: 6px; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal__nav { position: static; flex-direction: row; flex-wrap: wrap; } }
.plan__note { font-size: 13px; margin-top: 4px; }

/* ---------- Content pages (prose) ---------- */
.byline { font-size: 14px; color: var(--slate); }
.small { font-size: 14px; }
.prose { max-width: 760px; font-size: 18px; line-height: 1.7; }
.prose h2 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(26px, 3vw, 32px); line-height: 1.2; margin: 44px 0 14px; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.faq { border-top: 1px solid var(--line); padding: 16px 0; }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 700; cursor: pointer; font-size: 17px; }
.faq p { margin: 10px 0 0; color: var(--slate); font-size: 17px; }
.faq-section { background: var(--white); border-top: 1px solid var(--line); }

/* ---------- Atlas ---------- */
.atlas__controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.atlas__control { display: flex; flex-direction: column; gap: 10px; }
.atlas__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); color: var(--midnight); font: 600 14px var(--font-sans); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--midnight); border-color: var(--midnight); color: var(--white); }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 16px; }
.atlas-table, .data-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.atlas-table { min-width: 1040px; }
.data-table { min-width: 600px; }
.atlas-table th, .atlas-table td, .data-table th, .data-table td { padding: 15px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #EFEDE6; }
.atlas-table thead th, .data-table thead th { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); border-bottom: 1px solid var(--line); }
.atlas-table tbody tr:last-child > *, .data-table tbody tr:last-child > * { border-bottom: 0; }
.atlas-table tbody th a { color: var(--midnight); font-weight: 700; }
.atlas-table tbody th a:hover { color: var(--teal); }
.atlas-table__family { display: block; font-size: 13px; font-weight: 500; color: var(--slate); }
.atlas-table tr[hidden] { display: none; }
.sort { border: 0; background: none; padding: 0; cursor: pointer; font: 700 12px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.sort--active { color: var(--teal); }
.sort--active::after { content: " ↓"; }
.dots { font-size: 13px; letter-spacing: 2px; color: var(--teal); white-space: nowrap; }
.soon { display: inline-block; font-size: 11px; font-weight: 700; color: var(--slate); background: #EFEDE6; padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
.group-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.group-tag--defensive { background: var(--mist); color: var(--midnight); }
.group-tag--income { background: #E3F2EF; color: #0A5E5D; }
.group-tag--growth { background: #E6ECF5; color: #1D3A66; }
.group-tag--speculative { background: #FBEBDD; color: #7A3E0E; }
.tendency { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.tendency[hidden] { display: none; }
.tendency--well { background: #E3F2EF; color: #0A5E5D; }
.tendency--mixed { background: #EFEDE6; color: var(--slate); }
.tendency--struggle { background: #FBEBDD; color: #7A3E0E; }
.atlas__note { font-size: 13px; color: var(--slate); max-width: 900px; }

/* ---------- Asset page ---------- */
.asset-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(36px, 5vw, 56px); }
.asset-hero__copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.glance { flex: 1 1 300px; min-width: 0; background: var(--midnight); color: var(--mist); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.glance__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.glance__title { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light); }
.glance__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 0; }
.glance__grid dt { font-size: 12px; color: var(--on-dark-faint); }
.glance__grid dd { margin: 0; }
.glance .dots { color: var(--teal-light); }
.glance__link { font-size: 14px; font-weight: 700; color: var(--teal-light); }
.asset-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 48px; padding-bottom: 72px; }
.toc { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 24px; }
.toc a { color: var(--midnight); font-weight: 600; font-size: 15px; padding: 6px 0; }
.toc a:hover { color: var(--teal); }
.asset-body { flex: 999 1 620px; min-width: 0; }
.country-notes { background: var(--mist); border-radius: 16px; padding: 20px 22px; font-size: 16px; margin: 0 0 16px; }
.country-notes p { margin: 0 0 8px; }
.country-notes__title { font-weight: 700; }
.pros-cons { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 0 0 16px; font-size: 16px; }
.pros-cons__col { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.pros-cons__title { font-weight: 700; margin: 0 0 10px !important; }
.pros-cons__col--pro .pros-cons__title { color: #0A5E5D; }
.pros-cons__col--con .pros-cons__title { color: #7A3E0E; }
.scorecard { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 6px 20px; font-size: 15px; margin: 0 0 12px; }
.scorecard__row { display: grid; grid-template-columns: minmax(0, 1.2fr) 100px minmax(0, 2fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid #EFEDE6; align-items: baseline; }
.scorecard__row:last-child { border-bottom: 0; }
@media (max-width: 640px) { .scorecard__row { grid-template-columns: 1fr auto; } .scorecard__row .muted { grid-column: 1 / -1; } }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 32px 0; }
.related__item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-size: 15px; font-weight: 700; color: var(--midnight); text-decoration: none !important; }
.related__item span { display: block; font-weight: 500; font-size: 13px; color: var(--slate); }
.related__item--pro { background: var(--midnight); border-color: var(--midnight); color: var(--mist); }
.related__item--pro span { color: var(--on-dark-muted); }
.sources { border-top: 1px solid var(--line); padding-top: 18px; font-size: 15px; }
.sources ul { font-size: 15px; }
@media (max-width: 860px) { .toc { position: static; } }

/* ---------- Ads (reserved space so nothing jumps) ---------- */
.ad-slot { min-height: 280px; margin: 24px 0; }

/* Compare */
.compare-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.field select { min-height: 50px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 12px; font: 500 16px var(--font-sans); color: var(--midnight); background: var(--white); width: 100%; }
.field select:focus { border-color: var(--teal); outline: 3px solid rgba(43, 179, 168, .25); outline-offset: 0; }
.field__label { font-weight: 600; font-size: 14px; }
.compare-table td, .compare-table th { vertical-align: top; min-width: 180px; }
.compare-table .muted { font-size: 13px; line-height: 1.45; }
@media (max-width: 720px) { .compare-form { grid-template-columns: 1fr; } }

/* Glossary */
.glossary-tools { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.glossary-search input { width: 100%; min-height: 54px; padding: 14px 18px; border: 1px solid var(--line-strong); border-radius: 14px; font: 500 17px var(--font-sans); color: var(--midnight); background: var(--white); }
.glossary-search input:focus { border-color: var(--teal); outline: 3px solid rgba(43, 179, 168, .25); }
.az { display: flex; flex-wrap: wrap; gap: 4px; }
.az a, .az span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.az a { background: var(--white); border: 1px solid var(--line); color: var(--midnight); text-decoration: none; }
.az a:hover { border-color: var(--teal); color: var(--teal); }
.az span { color: var(--line-strong); }
.glossary-letter { margin-bottom: 36px; scroll-margin-top: 20px; }
.glossary-letter__head { font-family: var(--font-serif); font-weight: 500; font-size: 40px; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 8px; }
.glossary-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.glossary-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.glossary-item dt { font-weight: 700; font-size: 17px; }
.glossary-item dt a { color: var(--midnight); text-decoration: none; }
.glossary-item dt a:hover { color: var(--teal); text-decoration: underline; }
.glossary-item dd { margin: 4px 0 0; color: var(--slate); font-size: 15px; line-height: 1.5; }
@media (max-width: 760px) { .glossary-list { grid-template-columns: 1fr; } }
.aka { color: var(--slate); font-size: 15px; margin: -4px 0 12px; }
.formula { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 14px; padding: 20px 24px; margin: 0 0 24px; }
.formula__expr { font-family: var(--font-serif); font-size: 22px; line-height: 1.5; margin: 0 0 12px; overflow-x: auto; }
.formula__expr var, .formula__where dt var { font-style: italic; }
.formula__where { margin: 0; display: grid; gap: 6px; font-size: 15px; }
.formula__where div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.formula__where dt { font-family: var(--font-serif); font-size: 17px; font-weight: 600; }
.formula__where dd { margin: 0; color: var(--slate); }
.formula__note { font-size: 15px; color: var(--slate); margin: 12px 0 0; }
.gchart { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px 20px 12px; margin: 8px 0 28px; }
.gchart__title { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.gchart__svg { width: 100%; height: auto; display: block; }
.gchart__grid { stroke: var(--line); stroke-width: 1; }
.gchart__zero { stroke: var(--slate); }
.gchart__tick { font: 500 12px var(--font-sans); fill: var(--slate); }
.gchart__axis { font: 600 12px var(--font-sans); fill: var(--slate); }
.gchart__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; padding: 0; margin: 0 0 6px; font-size: 14px; }
.gchart__legend li { display: inline-flex; align-items: center; gap: 6px; }
.gchart__legend span { width: 14px; height: 4px; border-radius: 2px; display: inline-block; }
.gchart__caption { font-size: 14px; color: var(--slate); margin: 8px 0 4px; }
.gchart__data summary { cursor: pointer; font-size: 14px; color: var(--teal); font-weight: 600; margin: 4px 0; }
.glossary-pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 18px; font-weight: 600; font-size: 15px; }

/* Analysis Toolkit */
.toolkit-group { margin-bottom: 48px; scroll-margin-top: 20px; }
.toolkit-group__title { font-family: var(--font-serif); font-weight: 500; font-size: 34px; margin-bottom: 6px; }
.toolkit-group__text { margin-bottom: 20px; }
.toolkit-siblings { columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .toolkit-siblings { columns: 1; } }

/* Toolkit: full-screen charts */
.gchart__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.gchart__head .gchart__title { margin-bottom: 0; }
.gchart__expand { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 34px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--midnight); font: 600 13px var(--font-sans); cursor: pointer; }
.gchart__expand:hover { border-color: var(--teal); color: var(--teal); }
.gchart--zoom .gchart__svg { cursor: zoom-in; }
.chart-zoom-open, .chart-zoom-open body { overflow: hidden; }
.chart-zoom { position: fixed; inset: 0; z-index: 1000; background: rgba(11, 31, 51, .82); display: flex; align-items: center; justify-content: center; padding: 16px; }
.chart-zoom__box { background: var(--white); border-radius: 18px; width: min(1600px, 100%); max-height: 100%; overflow: auto; padding: 18px 22px; display: flex; flex-direction: column; }
.chart-zoom__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.chart-zoom__title { font-weight: 700; font-size: 18px; margin: 0; }
.chart-zoom__close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); font-size: 18px; cursor: pointer; color: var(--midnight); }
.chart-zoom__close:hover { border-color: var(--teal); color: var(--teal); }
.chart-zoom .gchart__svg { width: 100%; height: auto; max-height: calc(100vh - 170px); cursor: default; }
@media (max-width: 640px) { .gchart__expand { padding: 6px 10px; font-size: 12px; } .chart-zoom { padding: 6px; } .chart-zoom__box { padding: 12px; } }
.chart-zoom__tip { display: none; font-size: 13px; color: var(--slate); margin: 8px 0 0; }
@media (max-width: 640px) and (orientation: portrait) { .chart-zoom__tip { display: block; } }
@media (orientation: landscape) and (max-height: 500px) { .chart-zoom { padding: 4px; } .chart-zoom__box { padding: 8px 12px; } .chart-zoom .gchart__legend, .chart-zoom .gchart__caption { display: none; } .chart-zoom .gchart__svg { max-height: calc(100vh - 70px); } }

/* Calculators */
.page-hero--compact { padding-bottom: 28px; }
.calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: start; margin-bottom: 24px; }
.calc__form, .calc__out { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.calc__out { position: sticky; top: 16px; }
.calc__formhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.calc__h { font-family: var(--font-serif); font-weight: 500; font-size: 24px; margin: 0 0 12px; }
.calc__formhead .calc__h { margin: 0; }
.calc-currency { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--slate); }
.calc-currency select { min-height: 36px; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 10px; font: 600 13px var(--font-sans); background: var(--white); }
.calc-field { margin-bottom: 14px; }
.calc-field select { min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; font: 500 16px var(--font-sans); color: var(--midnight); background: var(--white); }
.calc-input { position: relative; display: flex; align-items: center; }
.calc-input input { width: 100%; }
.calc-input--pre input { padding-left: 40px; }
.calc-unit { margin-left: 10px; font-weight: 600; color: var(--slate); font-size: 14px; white-space: nowrap; }
.calc-unit--pre { position: absolute; left: 14px; margin: 0; pointer-events: none; }
.calc__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.calc-result { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.calc-result dt { font-size: 13px; color: var(--slate); font-weight: 600; }
.calc-result dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; color: var(--midnight); word-break: break-word; }
.calc-result--main { grid-column: 1 / -1; background: var(--midnight); border-color: var(--midnight); }
.calc-result--main dt { color: var(--on-dark-muted); }
.calc-result--main dd { color: var(--white); font-size: 34px; }
.calc-result__note { font-size: 12px; color: var(--slate); margin: 4px 0 0; }
.calc-result--main .calc-result__note { color: var(--on-dark-faint); }
.calc-note { font-size: 14px; color: var(--slate); margin: 12px 0 0; }
.calc-error { background: #FBEDEA; color: #8A2D20; border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.calc-rows table input { width: 100%; min-width: 80px; min-height: 40px; padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: 8px; font: 500 15px var(--font-sans); }
.calc-rows__remove { border: 0; background: none; color: var(--slate); cursor: pointer; font-size: 16px; }
.calc-rows .field__label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.calc-table { margin: 8px 0 28px; }
.calc-table h3 { font-size: 18px; margin: 0 0 10px; }
.calc-showall { margin-top: 10px; }
.calc-about { margin-top: 24px; }
#calc-chart .gchart { max-width: 100%; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } .calc__out { position: static; } .calc-results { grid-template-columns: 1fr; } }
.calc-rows table { table-layout: fixed; width: 100%; }
.calc-rows table input { min-width: 0; }
.calc-rows th:last-child, .calc-rows td:last-child { width: 36px; padding-left: 0; padding-right: 0; text-align: center; }
.calc__form, .calc__out { min-width: 0; }
@media (max-width: 640px) { .calc-rows table { table-layout: auto; } .calc-rows table input { min-width: 64px; } }
.calc--wide { grid-template-columns: minmax(0, 1fr); }
.calc--wide .calc__out { position: static; }
.calc--wide .calc-results { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.calc--wide .calc-rows table { table-layout: auto; }

/* Evaluating */
.verdict { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.verdict--positive { background: #E3F2EF; color: #0B5E5D; }
.verdict--negative { background: #FBEDEA; color: #8A2D20; }
.verdict--depends { background: #FBF3E4; color: #7A5413; }
.verdict--neutral { background: var(--mist); color: var(--slate); }
.reading-table { margin: 8px 0 28px; }
.reading-table td, .reading-table th { vertical-align: top; font-size: 15px; line-height: 1.5; }
.reading-table th[scope="row"] { min-width: 150px; }
.example-box { background: var(--white); border: 1px solid var(--line); border-left: 4px solid #C08A2E; border-radius: 14px; padding: 18px 22px; margin: 8px 0 28px; }
.example-box__title { font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: #7A5413; margin-bottom: 8px; }
.example-box p:last-child { margin-bottom: 0; }

/* ---------- News ---------- */
.tv-wrap { width: 100%; }
.tv-wrap--tape { background: var(--white); border-bottom: 1px solid var(--line); min-height: 46px; }
.tv-wrap .tradingview-widget-copyright { font-size: 12px; padding: 4px 16px; color: var(--slate); }
.tv-wrap--tape .tradingview-widget-copyright { display: none; }
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
.news-theme { margin: 0 0 40px; }
.news-theme__title { font-size: 26px; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--teal-light); }
.news-story { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 14px; }
.news-story p { margin: 0 0 10px; }
.news-story ul { margin: 0 0 10px 18px; }
.news-story--compact { padding: 16px 20px; }
.news-story__region { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin: 0 0 6px !important; }
.news-story__title { font-size: 20px; line-height: 1.3; margin: 0 0 10px; }
.news-story__why { background: var(--paper); border-left: 3px solid var(--teal-light); padding: 8px 12px; border-radius: 4px; }
.news-sources { font-size: 14px; color: var(--slate); margin: 6px 0 0 !important; }
.news-sources a { font-weight: 600; }
.news-lang { font-size: 11px; border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 4px; color: var(--slate); }
.news-sector--rising { border-left: 4px solid var(--teal); }
.news-sector--pressure { border-left: 4px solid #C8463C; }
.news-watch { margin: 0 0 10px 18px; }
.news-disclaimer { font-size: 14px; margin-top: 32px; }
.news-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.news-side__box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.news-side__title { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; }
.news-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.news-side a[aria-current="page"] { font-weight: 700; color: var(--midnight); }
.markets-block { margin: 0 0 48px; }
.markets-block__title { font-size: 26px; margin: 0 0 6px; }
.markets-block .tv-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; margin-top: 14px; }
.markets-help { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.markets-help ul { margin: 10px 0 0 18px; display: flex; flex-direction: column; gap: 8px; }
.admin-news h2 { margin: 36px 0 12px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-pre { white-space: pre-wrap; font-size: 12px; max-width: 520px; }
.admin-bad { color: #B3362C; }
.admin-good { color: var(--teal); font-weight: 600; }
@media (max-width: 900px) {
  .news-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .news-side { position: static; }
  .news-story { padding: 18px; }
  .tv-wrap--overview { height: 560px !important; }
  .tv-wrap--overview .tradingview-widget-container { height: 560px !important; }
}
.admin-key { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.admin-key__row { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-key__row input { flex: 1 1 280px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px; font: inherit; }
.sector-status { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em; padding: 4px 12px; border-radius: 999px; }
.sector-status--rising { background: rgba(14, 124, 123, .12); color: var(--teal); }
.sector-status--mixed { background: rgba(200, 150, 40, .15); color: #8A6410; }
.sector-status--cooling { background: rgba(200, 70, 60, .12); color: #B3362C; }
.sector-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin: 16px 0 32px; }
.sector-card { display: flex; flex-direction: column; gap: 10px; }
.sector-card .sector-status { align-self: flex-start; }
.sector-takeaways { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal-light); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 28px; }
.sector-takeaways h2 { margin-top: 0 !important; font-size: 24px !important; }
.sector-toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; margin: 0 0 32px; font-size: 16px; }
.sector-toc ol { margin: 8px 0 0; }
.sector-report { max-width: 860px; }
.sector-table .data-table { font-size: 15px; line-height: 1.5; }
.sector-table th[scope="row"] { min-width: 150px; }
.tv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; margin-top: 16px; }
.tv-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 6px; display: flex; flex-direction: column; }
.tv-card__title { font-weight: 700; font-size: 16px; margin: 0; }
.tv-card__note { font-size: 13px; color: var(--slate); margin: 2px 0 8px; }
.tv-card__chart { height: 220px; position: relative; }
.tv-card__loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: var(--slate); }

/* ---------- Templates ---------- */
.tpl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; margin-top: 16px; }
.tpl-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--midnight); transition: border-color .15s ease, transform .15s ease; }
.tpl-card:hover { border-color: var(--teal); color: var(--midnight); transform: translateY(-2px); }
.tpl-card__img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 396; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); background: var(--paper); }
.tpl-card__body { padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tpl-card__title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.tpl-card__text { font-size: 14.5px; line-height: 1.5; color: var(--slate); }
.tpl-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid #ECEAE3; display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; color: var(--slate); }
.tpl-card__foot span:last-child { color: var(--teal); }
.tpl-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tpl-meta { font-size: 14px; }
.tpl-started { margin-top: 12px; font-weight: 600; color: var(--teal); }
.tpl-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.tpl-preview { position: sticky; top: 24px; }
.tpl-preview img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(11, 31, 51, .12); background: #fff; }
.tpl-info h2:first-child { margin-top: 0; }
.tpl-legend { font-size: 14.5px; color: var(--slate); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.tpl-chip { display: inline-block; width: 18px; height: 14px; border-radius: 3px; border: 1px solid #7CCFC6; vertical-align: middle; }
.tpl-chip--in { background: #E3F4F2; }
.tpl-chip--calc { background: #F6F5F1; border-color: #E2E0D8; }
@media (max-width: 900px) { .tpl-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; } .tpl-preview { position: static; } }

/* ---------- Recommended books ---------- */
.book-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.book-nav a { font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--midnight); }
.book-nav a:hover { border-color: var(--teal); color: var(--teal); }
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; margin-top: 16px; }
.book { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; align-items: start; }
.book__cover img { display: block; width: 104px; height: 156px; object-fit: cover; border-radius: 6px; box-shadow: 0 8px 22px rgba(11, 31, 51, .18); background: var(--paper); }
.book__title { font-size: 18px; line-height: 1.3; margin: 0 0 4px; }
.book__author { font-size: 13.5px; color: var(--slate); margin: 0 0 10px; }
.book__note { font-size: 14.5px; line-height: 1.55; margin: 0 0 12px; }
.book__tags { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0; font-size: 13px; color: var(--slate); }
.book__tag { font-weight: 700; font-size: 12px; padding: 2px 10px; border-radius: 999px; }
.book__tag--beginner { background: rgba(14, 124, 123, .12); color: var(--teal); }
.book__tag--intermediate { background: rgba(200, 150, 40, .15); color: #8A6410; }
.book__tag--advanced { background: rgba(200, 70, 60, .12); color: #B3362C; }

.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 12px; }
.admin-stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.admin-stat__n { font-size: 28px; font-weight: 700; line-height: 1.1; }
.admin-stat__l { font-size: 13px; color: var(--muted, #667); }
.admin-bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 12px 8px; }
.admin-bars__bar { flex: 1; background: var(--teal); border-radius: 3px 3px 0 0; position: relative; min-width: 4px; }
.admin-bars__bar b { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); font-size: 11px; }

.launch-notice { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius); padding: 28px 32px; margin: 0 0 40px; max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.launch-notice__title { font-family: var(--font-serif); font-size: 28px; line-height: 1.2; margin: 0; }
.launch-notice p { margin: 0; }
.launch-chip { display: inline-block; font-size: 13px; font-weight: 700; color: var(--teal-light, #2BB3A8); border: 1px solid currentColor; padding: 6px 14px; border-radius: 999px; margin: 0 0 20px; }

/* Commodities page */
.cmd-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cmd-jump a { font-size: 14px; font-weight: 600; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--midnight); text-decoration: none; }
.cmd-jump a:hover { border-color: var(--teal); color: var(--teal); }
.cmd-group { margin: 64px 0 0; scroll-margin-top: 90px; }
.cmd-group__title { font-family: var(--font-serif); font-size: 38px; margin: 0 0 8px; }
.cmd-group__intro { max-width: 760px; color: var(--slate); font-size: 17px; margin: 0 0 24px; }
.cmd-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0 0 18px; scroll-margin-top: 90px; }
.cmd-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cmd-card__title { font-size: 22px; margin: 0; }
.cmd-card__unit { font-size: 13px; color: var(--slate); }
.cmd-range { display: inline-flex; gap: 4px; margin: 10px 0 8px; background: var(--mist, #EEF3F3); border-radius: 999px; padding: 3px; }
.cmd-range__btn { border: 0; background: transparent; font: 600 13px var(--font-sans); color: var(--slate); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.cmd-range__btn[aria-pressed="true"] { background: var(--white); color: var(--midnight); box-shadow: 0 1px 2px rgba(11, 31, 51, 0.12); }
.cmd-card__chart { height: 260px; }
.cmd-card__label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin: 4px 0 8px; }
.cmd-card__drivers { margin: 0 0 12px; padding-left: 18px; list-style: disc; }
.cmd-card__drivers li { margin-bottom: 8px; font-size: 15px; line-height: 1.55; }
.cmd-card__facts { font-size: 14px; color: var(--slate); margin: 0 0 10px; }
.cmd-card__links { font-size: 14px; margin: 0; }
.cmd-guide { margin-top: 72px; }
.cmd-guide h2 { scroll-margin-top: 90px; }
@media (max-width: 860px) { .cmd-card { grid-template-columns: 1fr; gap: 16px; padding: 16px; } .cmd-group__title { font-size: 30px; } }
.cmd-card__external { height: 260px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; background: var(--mist); border-radius: 14px; padding: 24px; margin-top: 12px; }
.cmd-card__external p { margin: 0; color: var(--slate); font-size: 15px; }

/* ---------- FinRunway Pro showcase & program pages ---------- */
.pp-hero { background: radial-gradient(1100px 600px at 85% -10%, rgba(43,179,168,.22), transparent 60%), linear-gradient(160deg, #0B1F33 0%, #0F2A44 55%, #0B1F33 100%); color: #E6EDF3; padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }
.pp-hero__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.pp-hero__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; color: #fff; margin: 14px 0 18px; letter-spacing: -.01em; }
.pp-hero__lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--on-dark-muted); max-width: 620px; }
.pp-hero__small { color: var(--on-dark-faint); font-size: 14px; margin-top: 14px; }
.pp-on-dark { color: var(--teal-light); }
.pp-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.pp-btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.pp-btn-outline:hover { color: #fff; background: rgba(255,255,255,.08); }
.pp-hero__visual { position: relative; display: block; padding-bottom: 34px; }
.pp-hero__desk { width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 34px 90px rgba(0,0,0,.45); display: block; }
.pp-hero__phone { position: absolute; right: -14px; bottom: 0; width: 25%; height: auto; border-radius: 22px; border: 6px solid #0B1F33; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.pp-crumb, .pp-crumb a { color: var(--on-dark-faint); }
.pp-hero--product .breadcrumb { margin-bottom: 28px; }

.pp-program { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); }
.pp-program__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.pp-program__lead { max-width: 820px; margin: 14px 0 30px; }
.pp-program__more { margin: 22px 0 0; font-weight: 700; }

.pp-gallery__main { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 12px; transition: opacity .15s ease; }
.pp-gallery__main img { width: 100%; height: auto; display: block; border-radius: 12px; }
.pp-gallery__main.is-phone { max-width: 380px; margin: 0 auto; background: var(--midnight); border-radius: 36px; }
.pp-gallery__main.is-phone img { border-radius: 26px; }
.pp-gallery__main.is-changing { opacity: .3; }
.pp-gallery__main figcaption { text-align: center; color: var(--slate); font-size: 14px; padding-top: 10px; }
.pp-gallery__main.is-phone figcaption { color: var(--on-dark-muted); }
.pp-gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 14px; }
.pp-thumb { background: var(--white); border: 2px solid var(--line); border-radius: 12px; padding: 6px; cursor: pointer; font: 600 13px/1.3 var(--font-sans); color: var(--slate); display: flex; flex-direction: column; gap: 6px; transition: transform .15s ease, border-color .15s ease; }
.pp-thumb img { width: 100%; height: 78px; object-fit: cover; object-position: top left; border-radius: 7px; display: block; }
.pp-thumb:hover { transform: translateY(-2px); border-color: var(--teal-light); }
.pp-thumb.is-active { border-color: var(--teal); color: var(--midnight); transform: scale(1.04); }

.pp-soon { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 28px; }
.pp-soon__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pp-soon__card h3 { font-size: 20px; }
.pp-soon__card p { color: var(--slate); flex: 1; margin: 0; }
.pp-soon__card a { font-weight: 700; font-size: 14px; }
.pp-why-sec { background: var(--midnight); color: var(--on-dark-muted); }
.pp-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pp-why h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.pp-why p { margin: 0; line-height: 1.6; }

.pp-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pp-feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pp-feature__n { font-family: var(--font-serif); font-size: 28px; color: var(--teal); }
.pp-feature h3 { font-size: 18px; margin: 8px 0; }
.pp-feature p { color: var(--slate); margin: 0; line-height: 1.6; font-size: 15px; }
.pp-tint { background: #EEF1EF; }
.pp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pp-steps > div { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.pp-steps span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--midnight); color: #fff; font-weight: 800; }
.pp-steps h3 { font-size: 19px; margin: 14px 0 8px; }
.pp-steps p, .pp-two p { color: var(--slate); margin: 0; line-height: 1.6; }
.pp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.pp-two > div { border-left: 3px solid var(--teal-light); padding: 6px 0 6px 20px; }
.pp-two h3 { font-size: 18px; margin-bottom: 6px; }
.pp-video { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.pp-video__frame { position: relative; border-radius: 18px; overflow: hidden; background: var(--midnight); }
.pp-video__frame img { width: 100%; display: block; opacity: .35; filter: blur(1px); }
.pp-video__frame--live { box-shadow: 0 24px 60px rgba(11,31,51,.22); }
.pp-video__frame video { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; background: var(--midnight); }
.pp-video__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.pp-video__play::after { content: ""; position: absolute; left: 34px; top: 26px; border-left: 24px solid var(--midnight); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.pp-narrow { max-width: 860px; }

.pp-price-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.pp-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.pp-plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; }
.pp-plan--featured { border: 2px solid var(--teal); box-shadow: 0 18px 50px rgba(14,124,123,.14); }
.pp-plan__badge { position: absolute; top: -13px; left: 22px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 5px 12px; }
.pp-plan__for { color: var(--slate); font-size: 14px; min-height: 42px; margin: 8px 0 12px; }
.pp-plan__price { font-size: 42px; font-weight: 800; letter-spacing: -.02em; line-height: 1; margin: 0 0 14px; color: var(--midnight); }
.pp-plan__price span { font-size: 15px; font-weight: 600; color: var(--slate); letter-spacing: 0; }
.pp-plan__seats { font-weight: 700; margin: 0; }
.pp-plan__note { font-size: 13px; color: var(--slate); background: var(--mist); border-radius: 10px; padding: 8px 12px; margin: 10px 0 18px; }
.pp-plan__btn { width: 100%; }
.pp-plan__gets { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin: 22px 0 8px; }
.pp-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.pp-ticks li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.5; }
.pp-ticks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 11px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.pp-h3 { font-size: 22px; margin: 48px 0 16px; }
.pp-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.pp-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 720px; }
.pp-table th, .pp-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pp-table thead th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.pp-table tbody th { font-weight: 700; color: var(--midnight); white-space: nowrap; }
.pp-table tr:last-child th, .pp-table tr:last-child td { border-bottom: 0; }
.pp-table small { color: var(--slate); }
.pp-legal { color: var(--slate); font-size: 14px; line-height: 1.6; margin-top: 18px; }

@media (max-width: 1100px) { .pp-plans, .pp-features { grid-template-columns: 1fr 1fr; } .pp-why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) {
  .pp-hero__grid, .pp-video, .pp-two, .pp-steps { grid-template-columns: 1fr; }
  .pp-gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) { .pp-plans, .pp-features, .pp-why { grid-template-columns: 1fr; } .pp-gallery__thumbs { grid-template-columns: repeat(2, 1fr); } }

/* Pro — three-plan layout and the Wealth accents (navy and gold) */
.pp-plans--3 { grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin-left: auto; margin-right: auto; }
@media (max-width: 860px) { .pp-plans--3 { grid-template-columns: 1fr; max-width: 520px; } }
.pp-hero--wealth { background: radial-gradient(1100px 600px at 85% -10%, rgba(201,162,77,.24), transparent 60%), linear-gradient(160deg, #0B1F33 0%, #13263D 55%, #0B1F33 100%); }
.pp-hero--wealth .pp-on-dark { color: #E2C27A; }
.pp-gold { color: #8C6516; }
.btn--gold { background: #C9A24D; color: #0B1F33; }
.btn--gold:hover { background: #D8B566; color: #0B1F33; }
.pp-wealth .pp-feature__n { color: #8C6516; }
.pp-wealth .pp-plan--featured { border-color: #8C6516; box-shadow: 0 18px 50px rgba(140,101,22,.14); }
.pp-wealth .pp-plan__badge { background: #8C6516; }
.pp-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.pp-split img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(11,31,51,.14); display: block; }
.pp-story { border-left: 3px solid #C9A24D; padding: 4px 0 4px 18px; margin: 22px 0; color: var(--slate); line-height: 1.65; }
.pp-story b { color: var(--midnight); }
.pp-countries { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pp-countries span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--midnight); }
.pp-program--wealth { border-top: 4px solid #C9A24D; }
.pp-program--cf { border-top: 4px solid var(--teal); }
@media (max-width: 860px) { .pp-split { grid-template-columns: 1fr; gap: 28px; } }
.pp-all { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pp-all__group { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; border-top: 3px solid var(--teal-light, #2BB3A8); }
.pp-wealth .pp-all__group { border-top-color: #C9A24D; }
.pp-all__group h3 { font-size: 18px; margin-bottom: 10px; }
.pp-two .pp-ticks { margin-top: 8px; }
@media (max-width: 1000px) { .pp-all { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pp-all, .pp-two { grid-template-columns: 1fr; } }
.pp-pipe__h { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); margin: 26px 0 12px; }
.pp-pipe { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.pp-pipe li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 700; color: var(--midnight); display: flex; align-items: center; gap: 10px; }
.pp-pipe li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #C9A24D; flex: none; }

/* Homepage — FinRunway Pro programs */
.hp-pro { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.hp-pro__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; border-top: 4px solid var(--teal); }
.hp-pro__card--gold { border-top-color: #C9A24D; }
.hp-pro__shot { display: block; background: linear-gradient(160deg, #0B1F33, #12304C); padding: 22px 22px 0; }
.hp-pro__card--gold .hp-pro__shot { background: radial-gradient(600px 300px at 90% -10%, rgba(201,162,77,.3), transparent 60%), linear-gradient(160deg, #0B1F33, #13263D); }
.hp-pro__shot img { width: 100%; height: auto; display: block; border-radius: 10px 10px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.35); transition: transform .25s ease; }
.hp-pro__card:hover .hp-pro__shot img { transform: translateY(-4px); }
.hp-pro__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.hp-pro__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 3vw, 40px); margin: 4px 0 10px; }
.hp-pro__title a { color: var(--midnight); text-decoration: none; }
.hp-pro__text { color: var(--slate); line-height: 1.6; margin: 0 0 18px; flex: 1; }
.hp-pro__cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.hp-pro__more { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; padding: 18px 22px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--slate); text-decoration: none; background: var(--white); }
.hp-pro__more strong { color: var(--midnight); }
.hp-pro__arrow { font-weight: 700; white-space: nowrap; color: var(--midnight); }
@media (max-width: 860px) { .hp-pro { grid-template-columns: 1fr; } .hp-pro__more { flex-direction: column; align-items: flex-start; } }

/* Checkout, account plans and licences, billing admin */
.pp-plan__buy { display: block; text-align: center; font-size: 14px; margin: 10px 0 4px; color: var(--muted, #5B6B7B); text-decoration: underline; text-underline-offset: 3px; }
.checkout__price { font-size: 26px; font-weight: 700; margin: 6px 0 14px; }
.checkout__list { margin: 0 0 18px; }
.checkout__form { margin-top: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { margin-top: 3px; }
.account-plans { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.account-plans li { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.account-licences { grid-column: 1 / -1; }
.licence { padding: 18px 0; border-bottom: 1px solid var(--line); }
.licence:last-of-type { border-bottom: 0; }
.licence h3 { font-size: 19px; margin: 0 0 4px; }
.licence__actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 6px; }
.licence__key summary { cursor: pointer; font-size: 14px; }
.licence__key textarea { width: 100%; font: 12px/1.4 ui-monospace, Menlo, Consolas, monospace; margin-top: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; word-break: break-all; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 18px; }
.admin-form select, .admin-form input { width: 100%; }
.admin-table td, .admin-table th { font-size: 14px; vertical-align: top; }
.admin-table code, .admin-billing code { font-size: 12px; word-break: break-all; }
.admin-events { list-style: none; padding: 0; display: grid; gap: 6px; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }

/* Receivables accent (blue) */
.pp-hero--recv { background: radial-gradient(1100px 600px at 85% -10%, rgba(47,95,208,.30), transparent 60%), linear-gradient(160deg, #0B1F33 0%, #12284A 55%, #0B1F33 100%); }
.pp-hero--recv .pp-on-dark { color: #A9C1F7; }
.pp-program--recv { border-top: 4px solid #2F5FD0; }
.hp-pro__card--receivables { border-top-color: #2F5FD0; }
.hp-pro__card--payables { border-top-color: #B8621B; }
.pp-hero--pay { background: radial-gradient(1100px 600px at 85% -10%, rgba(184,98,27,.32), transparent 60%), linear-gradient(160deg, #0B1F33 0%, #2A2130 55%, #0B1F33 100%); }
.pp-hero--pay .pp-on-dark { color: #F0C79E; }
.pp-hero--pay .pp-nocard { background: rgba(184,98,27,.26); color: #F7E2CD; }
.pp-program--pay { border-top: 4px solid #B8621B; }

/* Price strip under the product screenshots */
.pp-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 28px; align-items: stretch; }
.pp-strip__plan { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.pp-strip__plan:hover { border-color: var(--teal); transform: translateY(-1px); }
.pp-strip__plan.is-featured { border: 2px solid var(--teal); }
.pp-wealth .pp-strip__plan.is-featured, .pp-wealth .pp-strip__plan:hover { border-color: #8C6516; }
.pp-strip__name { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #5B6B7B); }
.pp-strip__price { font-size: 26px; font-weight: 800; line-height: 1.1; }
.pp-strip__price small { font-size: 13px; font-weight: 600; color: var(--muted, #5B6B7B); }
.pp-strip__seats { font-size: 13px; color: var(--muted, #5B6B7B); }
.pp-strip__side { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
@media (max-width: 620px) { .pp-strip { grid-template-columns: 1fr 1fr; } .pp-strip__side { grid-column: 1 / -1; } .pp-strip__side .btn { width: 100%; justify-content: center; } }
.pp-strip__more { font-weight: 700; font-size: 14px; }
.pp-strip__note { font-size: 12.5px; color: var(--muted, #5B6B7B); }
.pp-hero__price { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* "No credit card" reassurance */
.pp-nocard { display: inline-block; margin: 14px 0 0; padding: 7px 14px; border-radius: 999px; background: rgba(43,179,168,.16); color: #CFF2EE; font-weight: 700; font-size: 14.5px; }
.pp-hero--wealth .pp-nocard { background: rgba(201,162,77,.18); color: #F1DDAE; }
.pp-hero--recv .pp-nocard { background: rgba(47,95,208,.24); color: #D7E2FB; }
.pp-plan__nocard { display: block; text-align: center; font-size: 13px; font-weight: 700; color: var(--teal); margin-top: 8px; }
.pp-wealth .pp-plan__nocard { color: #8C6516; }
.hp-pro__trial { font-size: 13.5px; font-weight: 700; color: var(--teal); margin: 0 0 12px; }

/* admin: connect Paddle */
.admin-connect { background: #fff; border: 2px solid var(--teal, #1F6F6B); border-radius: 18px; padding: 24px 28px; margin: 0 0 40px; }
.admin-connect__form { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 6px; }
.admin-connect__form input { flex: 1; min-width: 260px; padding: 12px 14px; border: 1px solid #ccd3da; border-radius: 10px; font: inherit; }

/* cookie choice */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 760px; margin: 0 auto; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 16px 20px; background: #fff; color: var(--ink, #0B1F33); border: 1px solid rgba(11,31,51,.12); border-radius: 16px; box-shadow: 0 18px 50px rgba(11,31,51,.18); font-size: 14.5px; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { flex: 1; min-width: 240px; margin: 0; }
.cookie-bar__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-bar .btn { padding: 10px 16px; font-size: 14px; }
@media print { .cookie-bar { display: none !important; } }

/* YouTube lite embeds (includes/video-embed.php): thumbnail + play button; the player loads on click. */
.yt-embed { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 32px; max-width: 760px; }
.yt-embed .yt-embed__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(22px, 2.4vw, 26px); line-height: 1.25; margin: 0 0 16px; }
.yt-embed__body { display: flex; flex-direction: column; gap: 18px; }
.yt-embed--short .yt-embed__body { flex-direction: row; align-items: flex-start; }
.yt-embed__frame { position: relative; overflow: hidden; border-radius: 14px; background: var(--midnight); aspect-ratio: 16 / 9; width: 100%; }
.yt-embed--short .yt-embed__frame { aspect-ratio: 9 / 16; max-width: 240px; flex: 0 0 auto; }
.yt-embed__frame iframe, .yt-embed__poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.yt-embed__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-embed__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .15s ease; }
.yt-embed__play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid var(--midnight); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.yt-embed__poster:hover .yt-embed__play, .yt-embed__poster:focus-visible .yt-embed__play { transform: scale(1.06); }
.yt-embed .yt-embed__text { font-size: 16px; line-height: 1.6; color: var(--slate); }
.yt-embed .yt-embed__text p { margin: 0 0 10px; }
.yt-embed .yt-embed__kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.yt-embed .yt-embed__note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--slate); }
.yt-embed--bare { background: none; border: 0; border-radius: 0; padding: 0; margin: 0; max-width: none; }
.pp-video .yt-embed__frame { border-radius: 18px; box-shadow: 0 24px 60px rgba(11,31,51,.22); }
@media (max-width: 640px) {
  .yt-embed { padding: 18px; }
  .yt-embed--short .yt-embed__body { flex-direction: column; }
  .yt-embed--short .yt-embed__frame { max-width: 220px; }
}
