/* figuringwealth.com: finance newspaper. Masthead with ruled nav, Newsreader headlines, navy crypto band, calculators. */
:root {
  --c-primary: #1B7F4B;
  --c-primary-ink: #FFFFFF;
  --c-accent: #1B7F4B;
  --c-navy: #0B2545;
  --c-navy-2: #23406A;
  --c-green-on-navy: #5BC08A;
  --c-ink: #111111;
  --c-ink-2: #3A3A3A;
  --c-muted: #555555;
  --c-surface: #FFFFFF;
  --c-surface-alt: #F3F6F9;
  --c-line: #D6DCE2;
  --c-input: #8C99A6;
  --c-link: #0B2545;
  --c-danger: #B42318;
  --c-danger-bg: #FDECEA;
  --c-success: #1B7F4B;
  --c-success-bg: #EAF5EE;
  --c-info-bg: #F3F6F9;
  --c-warn-bg: #FFF6E0;
  --c-focus: #1A5FD0;
  --radius: 4px;
  --radius-lg: 4px;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --heading-weight: 500;
  --btn-weight: 600;
  --wrap: 1240px;
  --gutter: 32px;
}
@media (max-width: 640px) { :root { --gutter: 16px; } }
body { font-size: 16px; }
a { color: var(--c-link); }
a:hover { color: var(--c-primary); }
.fw-wrap, .wrap { max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.page-head h1 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -.5px; }
.btn { border-radius: var(--radius); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], select, textarea { border-color: var(--c-input); border-radius: 0; }

/* Top bar and masthead */
.fw-topbar { background: var(--c-navy); color: #D7DEE8; font-size: 13px; }
.fw-topbar-in { padding-top: 9px; padding-bottom: 9px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.fw-topbar-r { display: flex; gap: 20px; }
.fw-topbar a { color: #D7DEE8; }
.fw-header { padding-top: 22px; }
.fw-mast { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 18px; }
.fw-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.fw-logo span { font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: -.5px; color: var(--c-navy); }
.fw-user { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.fw-user a { text-decoration: none; padding: 10px 6px; font-weight: 500; }
.fw-user a.fw-join, .fw-join { background: var(--c-primary); color: #fff; font-weight: 600; padding: 11px 18px; border-radius: var(--radius); }
.fw-user a.fw-join:hover { background: #15693D; color: #fff; }
.fw-nav { border-top: 2px solid var(--c-ink); border-bottom: 1px solid var(--c-ink); padding: 12px 0; display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; font-weight: 600; }
.fw-nav a { text-decoration: none; color: var(--c-navy); }
.fw-nav a:hover, .fw-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.fw-nav .fw-nav-crypto { color: var(--c-primary); }
.fw-nav-user { display: none; }
.fw-burger { display: none; color: var(--c-navy); border: 1px solid var(--c-line); background: #fff; padding: 10px 14px; gap: 8px; align-items: center; font-weight: 600; border-radius: var(--radius); }
@media (max-width: 900px) {
  .fw-user { display: none; }
  .fw-burger { display: inline-flex; }
  .fw-logo span { font-size: 24px; }
  .fw-nav { display: none; flex-direction: column; gap: 0; padding: 0; }
  body.nav-open .fw-nav { display: flex; }
  .fw-nav a { padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 17px; }
  .fw-nav-user { display: flex; gap: 18px; padding: 14px 0; }
  .fw-nav-user a { border: 0; padding: 0; }
}

/* Hero: lead story + side column */
.fw-hero { padding-top: 36px; display: flex; flex-wrap: wrap; gap: 40px; }
.fw-lead-story { flex: 2 1 min(560px, 100%); text-decoration: none; color: var(--c-ink); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fw-lead-img { aspect-ratio: 16 / 9; max-height: 400px; background: #DCE3EA; position: relative; overflow: hidden; }
.fw-lead-img img { width: 100%; height: 100%; object-fit: cover; }
.fw-lead-story h1 { margin: 0; font-weight: 500; font-size: clamp(30px, 3.89vw, 56px); line-height: 1.06; letter-spacing: -.5px; }
.fw-lead-story:hover h1 { text-decoration: underline; text-decoration-thickness: 2px; }
.fw-lead-dek { margin: 0; font-family: var(--font-display); font-size: 21px; line-height: 1.5; color: var(--c-ink-2); max-width: 680px; }
.fw-meta { font-size: 14px; color: var(--c-muted); }
.fw-hero-side { flex: 1 1 min(320px, 100%); display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.fw-mini-calc { background: var(--c-surface-alt); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.fw-mini-calc h2 { margin: 0; font-size: 26px; }
.fw-mini-calc form { display: flex; flex-direction: column; gap: 14px; }
.fw-row2 { display: flex; gap: 12px; }
.fw-row2 > * { flex: 1; min-width: 0; }
.fw-mini-out { border-top: 1px solid #C9D2DB; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fw-mini-out span { font-size: 14px; color: var(--c-muted); }
.fw-mini-out strong { font-family: var(--font-display); font-size: 32px; color: var(--c-primary); font-weight: 500; }
.fw-mini-note { margin: 0; font-size: 12px; color: var(--c-muted); }
.fw-most h2 { margin: 0 0 6px; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--c-primary); text-transform: uppercase; }
.fw-most a { display: block; border-top: 1px solid var(--c-line); padding: 14px 0; text-decoration: none; font-family: var(--font-display); font-size: 19px; line-height: 1.35; }
.fw-most a:last-child { border-bottom: 1px solid var(--c-line); }

/* Form fields (calculators) */
.fw-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.fw-field label { font-weight: 600; }
.fw-input { position: relative; display: flex; align-items: center; }
.fw-input input, .fw-field select, .fw-field > input { width: 100%; font-weight: 400; font-size: 16px; border: 1px solid var(--c-input); padding: 11px; background: #fff; }
.fw-input.has-pre input { padding-left: 26px; }
.fw-input.has-suf input { padding-right: 30px; }
.fw-affix { position: absolute; left: 11px; color: var(--c-muted); font-weight: 400; pointer-events: none; }
.fw-affix-r { left: auto; right: 11px; }

/* Standards strip */
.fw-standards { padding-top: 48px; }
.fw-standards-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); border-top: 1px solid var(--c-ink); border-bottom: 1px solid var(--c-ink); }
.fw-standards-in > div { padding: 22px; border-left: 1px solid var(--c-line); }
.fw-standards-in > div:first-child { border-left: 0; padding-left: 0; }
.fw-standards-in p { margin: 6px 0 0; color: var(--c-muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 560px) { .fw-standards-in > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--c-line); } .fw-standards-in > div:first-child { border-top: 0; } }

/* Crypto band */
.fw-crypto { margin-top: 72px; background: var(--c-navy); color: #fff; padding: 72px 0; }
.fw-crypto-page { margin-top: 12px; }
.fw-crypto-head { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; margin-bottom: 40px; }
.fw-crypto-head > div { flex: 2 1 min(520px, 100%); display: flex; flex-direction: column; gap: 16px; }
.fw-crypto h1, .fw-crypto h2 { margin: 0; color: #fff; font-weight: 500; font-size: clamp(30px, 4.17vw, 60px); line-height: 1.04; letter-spacing: -.5px; }
.fw-crypto-head p { margin: 0; font-size: 18px; line-height: 1.65; color: #C9D4E0; max-width: 620px; }
.fw-crypto .fw-crypto-sub { font-size: clamp(24px, 2.4vw, 32px); margin: 40px 0 18px; }
.fw-btn-green { flex: 0 0 auto; text-decoration: none; background: var(--c-green-on-navy); color: var(--c-navy) !important; font-weight: 700; padding: 14px 22px; border-radius: var(--radius); display: inline-block; }
.fw-btn-green:hover { background: #79CFA0; }
.fw-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1px; background: var(--c-navy-2); border: 1px solid var(--c-navy-2); }
.fw-steps a { text-decoration: none; background: var(--c-navy); padding: 26px; display: flex; flex-direction: column; gap: 10px; color: #fff; }
.fw-steps a:hover { background: #102E55; }
.fw-steps span { font-size: 13px; font-weight: 700; color: var(--c-green-on-navy); }
.fw-steps strong { font-family: var(--font-display); font-weight: 500; font-size: 24px; }
.fw-steps em { font-style: normal; color: #C9D4E0; line-height: 1.5; }
.fw-coins-wrap { margin-top: 32px; border: 0; }
.fw-coins { min-width: 720px; font-size: 15px; }
.fw-coins-dark { color: #E6ECF2; }
.fw-coins-dark thead th { background: transparent; color: var(--c-green-on-navy); border-bottom: 1px solid var(--c-green-on-navy); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.fw-coins-dark td, .fw-coins-dark tbody th { border-bottom: 1px solid var(--c-navy-2); }
.fw-coins-dark tbody th { color: #fff; font-weight: 600; }
.fw-up { color: #5BC08A; }
.fw-down { color: #FF8A80; }
.fw-coins:not(.fw-coins-dark) .fw-up { color: var(--c-primary); }
.fw-coins:not(.fw-coins-dark) .fw-down { color: var(--c-danger); }
.fw-coin-note { margin: 18px 0 0; font-size: 14px; color: #A9B8C9; }
.table .num { text-align: right; }

/* Sections */
.fw-sec { padding-top: 80px; }
.fw-sec-s { margin-top: 48px; }
.fw-sec-last { padding-bottom: 80px; }
.fw-h2 { margin: 0 0 24px; font-weight: 500; font-size: clamp(30px, 3.19vw, 46px); }
.fw-h2-tight { margin-bottom: 8px; }
.fw-sec-lead { margin: 0 0 22px; color: var(--c-ink-2); font-size: 17px; line-height: 1.6; }
.fw-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.fw-sec-head .fw-h2 { margin: 0; }
.fw-sec-head > a, .fw-more { font-weight: 600; }
.fw-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.fw-tool { text-decoration: none; border: 1px solid var(--c-line); padding: 22px; display: flex; flex-direction: column; gap: 10px; min-height: 150px; color: var(--c-ink); }
.fw-tool svg { color: var(--c-primary); }
.fw-tool strong { font-size: 18px; }
.fw-tool span { color: var(--c-muted); font-size: 15px; }
.fw-tool:hover { border-color: var(--c-ink); color: var(--c-ink); }

/* Ruled tables */
.fw-rule-table, .fw-rates-table .table-wrap, .fw-page .table-wrap { border: 0; border-radius: 0; }
.fw-where { min-width: 760px; font-size: 15px; }
.fw-where thead th, .fw-rates thead th { background: transparent; text-transform: none; font-size: 15px; letter-spacing: 0; color: var(--c-ink); border-top: 2px solid var(--c-ink); border-bottom: 1px solid var(--c-ink); padding: 14px 12px 14px 0; }
.fw-where tbody th { font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.fw-where td, .fw-where tbody th, .fw-rates td, .fw-rates tbody th { padding: 16px 12px 16px 0; }
.fw-where tbody tr:last-child td, .fw-where tbody tr:last-child th { border-bottom: 1px solid var(--c-ink); }
.fw-rates-sec { display: flex; flex-wrap: wrap; gap: 40px; }
.fw-rates-text { flex: 1 1 min(340px, 100%); display: flex; flex-direction: column; gap: 16px; }
.fw-rates-text .fw-sec-lead { margin: 0; }
.fw-rates-table { flex: 2 1 min(540px, 100%); min-width: 0; }
.fw-rates { min-width: 600px; }
.fw-rates thead th { border-top: 0; }
.fw-rates-note { margin-top: 10px; }
.fw-tip { background: #EAF5EE; border-left: 4px solid var(--c-primary); padding: 18px 20px; line-height: 1.55; }

/* Paths, research, guides */
.fw-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.fw-paths a { text-decoration: none; background: var(--c-surface-alt); padding: 24px; display: flex; flex-direction: column; gap: 10px; color: var(--c-ink); }
.fw-paths strong { font-family: var(--font-display); font-weight: 500; font-size: 24px; }
.fw-paths span { color: var(--c-muted); }
.fw-paths a:hover strong { text-decoration: underline; }
.fw-research { display: flex; flex-wrap: wrap; gap: 40px; }
.fw-research-text { flex: 1 1 min(320px, 100%); }
.fw-research-list { flex: 2 1 min(560px, 100%); margin: 0; padding: 0; list-style: none; }
.fw-research-list li { border-top: 1px solid var(--c-line); padding: 18px 0; display: flex; gap: 22px; }
.fw-research-list li:first-child { border-top-color: var(--c-ink); }
.fw-research-list li:last-child { border-bottom: 1px solid var(--c-ink); }
.fw-research-list span { font-family: var(--font-display); font-size: 30px; color: var(--c-primary); width: 36px; flex: none; line-height: 1; }
.fw-research-list strong { font-size: 18px; }
.fw-research-list p { margin: 4px 0 0; color: var(--c-muted); }
.fw-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.fw-guide { text-decoration: none; display: flex; flex-direction: column; gap: 10px; color: var(--c-ink); }
.fw-guide-img { aspect-ratio: 16 / 9; background: #DCE3EA; position: relative; overflow: hidden; }
.fw-guide-img img { width: 100%; height: 100%; object-fit: cover; }
.fw-guide strong { font-family: var(--font-display); font-weight: 500; font-size: 23px; line-height: 1.3; }
.fw-guide:hover strong { text-decoration: underline; }

/* Account box, FAQ, newsletter */
.fw-acc-faq { display: flex; flex-wrap: wrap; gap: 40px; }
.fw-acc { flex: 1 1 min(420px, 100%); background: var(--c-navy); color: #fff; padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.fw-acc h2 { margin: 0; color: #fff; font-size: 36px; }
.fw-acc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.fw-acc li { display: flex; gap: 10px; }
.fw-acc li span { color: var(--c-green-on-navy); }
.fw-faq { flex: 1 1 min(480px, 100%); }
.fw-faq h2 { margin: 0 0 14px; font-size: 36px; }
.fw-faq details { border-top: 1px solid var(--c-line); padding: 18px 0; }
.fw-faq details:first-of-type { border-top-color: var(--c-ink); }
.fw-faq details:last-of-type { border-bottom: 1px solid var(--c-ink); }
.fw-faq summary { font-weight: 600; font-size: 18px; }
.fw-faq details p { margin: 10px 0 0; color: var(--c-ink-2); line-height: 1.6; }
.fw-letter { border-top: 2px solid var(--c-ink); border-bottom: 2px solid var(--c-ink); padding: 40px 0; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: space-between; }
.fw-letter-text { flex: 1 1 min(380px, 100%); }
.fw-letter h2 { margin: 0 0 8px; font-size: 40px; }
.fw-letter-text p { margin: 0; color: var(--c-ink-2); font-size: 17px; }
.fw-letter-form { flex: 1 1 min(400px, 100%); display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.fw-letter-form label { flex: 1 1 min(240px, 100%); display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.fw-letter-form input { font-weight: 400; font-size: 16px; border: 1px solid var(--c-input); padding: 12px; }
.fw-letter-form button { font-weight: 600; font-size: 16px; background: var(--c-primary); color: #fff; border: 0; border-radius: var(--radius); padding: 14px 22px; }
@media (max-width: 480px) { .fw-letter-form button { flex: 1 1 100%; } }

/* Footer */
.fw-footer { background: var(--c-navy); color: #C9D4E0; }
.fw-footer-in { padding-top: 52px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 40px; font-size: 15px; }
.fw-footer-brand { flex: 2 1 min(280px, 100%); display: flex; flex-direction: column; gap: 10px; color: #A9B8C9; max-width: 340px; line-height: 1.55; }
.fw-footer-title { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: #fff; }
.fw-footer-col { flex: 1 1 140px; display: flex; flex-direction: column; gap: 10px; }
.fw-footer-col strong { color: #fff; }
.fw-footer a { color: #C9D4E0; }
.fw-footer a:hover { color: #fff; }
.fw-footer-base { padding-top: 18px; padding-bottom: 30px; border-top: 1px solid var(--c-navy-2); color: #A9B8C9; font-size: 13px; line-height: 1.6; margin: 0 auto; }

/* Module pages */
.breadcrumbs { padding-top: 20px; font-size: 14px; }
.fw-page { padding-bottom: 80px; }
.fw-page-head { padding: 24px 0 12px; max-width: 860px; }
.fw-page-head h1 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -.5px; margin-bottom: 12px; }
.fw-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--c-primary); }
.fw-lead { font-family: var(--font-display); font-size: 21px; line-height: 1.5; color: var(--c-ink-2); }
.fw-estimate { font-size: 13px; color: var(--c-muted); margin-top: 24px; }
.fw-calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-top: 2px solid var(--c-ink); margin-top: 16px; }
@media (max-width: 860px) { .fw-calc-grid { grid-template-columns: minmax(0, 1fr); } }
.fw-calc-form { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 860px) { .fw-calc-form { padding-right: 0; } }
.fw-results { background: var(--c-surface-alt); padding: 28px; }
.fw-results-h { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--c-primary); margin: 0 0 12px; }
.fw-outs { margin: 0; }
.fw-out { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid #C9D2DB; padding: 12px 0; }
.fw-out dt { font-size: 15px; color: var(--c-muted); }
.fw-out dd { margin: 0; font-weight: 600; font-size: 18px; text-align: right; }
.fw-out-main { border-top: 0; padding-top: 0; }
.fw-out-main dd { font-family: var(--font-display); font-weight: 500; font-size: 40px; color: var(--c-primary); }
.fw-status { margin: 0 0 12px; padding: 10px 14px; background: #fff; border-left: 4px solid var(--c-line); font-weight: 600; }
.fw-status-good { border-left-color: var(--c-primary); }
.fw-status-bad { border-left-color: var(--c-danger); }
.fw-chart { margin-top: 16px; height: 140px; }
.fw-chart svg { width: 100%; height: 100%; display: block; }
.fw-chart rect { fill: var(--c-primary); opacity: .85; }
.fw-calc-below { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 48px; }
.fw-how { flex: 2 1 min(480px, 100%); }
.fw-how h2, .fw-save h2, .fw-more-tools h2 { font-size: 28px; }
.fw-how h3 { font-size: 20px; margin-top: 20px; }
.fw-how p { line-height: 1.7; color: var(--c-ink-2); }
.fw-save { flex: 1 1 min(300px, 100%); border-top: 2px solid var(--c-ink); padding-top: 16px; }
.fw-save form { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.fw-save .fw-field { width: 100%; }
.fw-more-tools { margin-top: 64px; }
.fw-hub-body { max-width: 760px; }
.fw-alpha { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.fw-alpha a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--c-line); text-decoration: none; font-weight: 600; }
.fw-alpha a:hover { border-color: var(--c-ink); }
.fw-gl { border-top: 2px solid var(--c-ink); margin-top: 28px; padding-top: 12px; }
.fw-gl h2 { font-size: 32px; color: var(--c-primary); }
.fw-gl dl { margin: 0; }
.fw-gl dl > div { padding: 14px 0; border-bottom: 1px solid var(--c-line); scroll-margin-top: 16px; }
.fw-gl dt { font-family: var(--font-display); font-size: 21px; font-weight: 500; }
.fw-gl dd { margin: 4px 0 0; line-height: 1.6; color: var(--c-ink-2); max-width: 820px; }
.fw-saved { list-style: none; margin: 0; padding: 0; }
.fw-saved li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.fw-saved li > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.fw-saved-actions { display: flex; gap: 8px; align-items: center; }
.fw-saved-actions form { margin: 0; }
.prose { font-size: 17px; line-height: 1.75; }
.prose h2 { font-size: 30px; margin-top: 1.4em; }
.prose h3 { font-size: 22px; }
.account-nav a[aria-current] { color: var(--c-primary); font-weight: 700; }
.stat strong { font-family: var(--font-display); color: var(--c-primary); }
