@import url("legacy.css") layer(legacy);
@import url("fonts.css");

/* Investment Nav: a practical reading and tools workspace. */
:root {
  color-scheme: light;
  --bg: #ffffff; --surface: #ffffff; --surface-soft: #f6f8fc;
  --text: #1c293d; --muted: #596a80; --line: #dfe6ee;
  --brand: #215cd6; --brand-deep: #174cae; --brand-soft: #edf3ff;
  --green: #08785a; --red: #bd3849; --sidebar: #f6f8fc;
  --radius: 12px; --shadow: none; --shadow-hover: none;
  --app-ink: #1c293d; --app-text: #1c293d; --app-paper: #ffffff;
  --app-gold: #215cd6; --app-green: #215cd6; --app-forest: #215cd6;
  --app-muted: #596a80; --app-line: #dfe6ee; --app-panel: #f6f8fc;
  --app-panel-soft: #edf3ff; --app-white: #ffffff;
  --font-ui: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --rail: 208px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 88px; scrollbar-color: #b8c5d7 #f6f8fc; }
body, body.site-home, .tutorial-page {
  margin: 0; background: #fff; color: var(--text);
  font-family: var(--font-ui); font-size: 15px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  --ink: #1c293d; --paper: #fff; --slate: #596a80; --amber: #215cd6;
  --forest: #215cd6; --mint: #edf3ff; --refined-line: #dfe6ee;
}
body::before, .hero-main::before, .hero-main::after, .hero-main h1::after,
.section::before, .section::after, .page-hero::after, .intelligence-hero::after,
.path-card::before, .path-card::after, .website-card::before, .website-card::after,
.tutorial-card::before, .tutorial-card::after, .benefit-card::before, .benefit-card::after,
.tool-feature-card::before, .tool-feature-card::after, .data-desk-grid a::before { content: none; display: none; }
::selection { background: #dce9ff; color: #142e5b; }
input, textarea { caret-color: var(--brand); }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button, a { -webkit-tap-highlight-color: #dce9ff; touch-action: manipulation; }
button, a, [type="submit"] { cursor: pointer; }
a { text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
[tabindex]:focus-visible { outline: 3px solid #215cd6; outline-offset: 4px; }
h1,h2,h3,h4 { font-family: var(--font-ui); color: var(--text); letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: 24px; line-height: 1.45; font-weight: 700; }
h3 { font-size: 17px; line-height: 1.5; font-weight: 600; }
p { color: var(--muted); text-wrap: pretty; }
[hidden], .weekly-pane[hidden], .tutorial-card[hidden] { display: none !important; }
.eyebrow { display: none; }
.sidebar {
  width: var(--rail); padding: 28px 16px; background: #f6f8fc;
  border-right: 1px solid var(--line); box-shadow: none;
  display: flex; flex-direction: column; gap: 0; z-index: 50;
}
.side-brand { gap: 9px; align-items: flex-start; padding-inline: 7px; }
.brand-mark { width: 32px; height: 34px; flex: 0 0 32px; background: #215cd6;
  color: white; border-radius: 8px; box-shadow: none; font-size: 21px; font-weight: 600; }
.side-brand strong { color: #1c293d; font-size: 20px; font-weight: 700; letter-spacing: -.04em; line-height: 1.7; }
.side-brand small { font-size: 12px; font-weight: 400; color: #596a80; line-height: 1.8; max-width: 110px; }
.side-search { min-height: 42px; margin: 24px 0 8px; padding: 9px 10px;
  color: #596a80; background: #fff; border: 1px solid #d6dfea; border-radius: 7px;
  gap: 5px; font-size: 12px; font-weight: 400; }
kbd, .side-search kbd { border: 1px solid #d6dfea; background: white; color: #596a80;
  border-radius: 4px; font-family: inherit; font-size: 12px; }
.side-group { margin-top: 20px; }
.side-group p { margin: 0 0 5px; padding-inline: 10px; color: #596a80; font-size: 12px; font-weight: 500; }
.side-group a { min-height: 39px; margin: 2px 0; padding: 7px 10px;
  color: #4d5e74; font-size: 13px; font-weight: 400; border-radius: 6px; }
.side-group a:hover { background: #eaf0f8; color: #1c293d; }
.side-group a.active { background: #e6edfc; color: #174cae; font-weight: 600; }
.side-group b { background: transparent; padding: 0; font-size: 12px; color: #215cd6; font-weight: 500; }
.sidebar .status-strip { margin-top: 30px; padding: 16px 8px 0; display: flex; flex-direction: column;
  align-items: flex-start; gap: 5px; color: #62738a; font-size: 12px; line-height: 1.7;
  background: transparent; border: 0; border-top: 1px solid #dfe6ee; }
.sidebar .status-strip > span { border: 0; padding: 0; }
.sidebar .status-strip .status-boundary { margin-left: 0; color: #62738a; font-size: 12px; }
.status-dot { box-shadow: none; background: #08785a; width: 5px; height: 5px; }
.site-header, .site-home .site-header, .product-page .site-header {
  margin-left: var(--rail); background: white; backdrop-filter: none;
  border-bottom: 1px solid var(--line); z-index: 40; }
.nav { width: 100%; max-width: 1400px; margin: 0 auto; padding: 12px 40px;
  min-height: 68px; gap: 24px; justify-content: space-between; }
.nav-location { font-size: 14px; color: #4d5e74; font-weight: 500; white-space: nowrap; }
.nav .brand, .nav-primary-links, .nav-links > a:not(.nav-account) { display: none; }
.nav-links { margin-left: auto; gap: 12px; align-items: center; flex-wrap: nowrap; }
.nav-action { border: 0; border-radius: 6px; padding: 0 10px; background: transparent;
  color: #4d5e74; min-height: 42px; font-size: 13px; font-weight: 400; }
.nav-action:hover { color: #174cae; background: #edf3ff; }
.nav-account { min-width: auto; min-height: 40px; padding: 7px 14px;
  border: 1px solid #d6dfea !important; background: white !important; color: #1c293d !important;
  border-radius: 7px; font-weight: 500; font-size: 13px; line-height: 1.3; }
.nav-account small { font-size: 12px; color: #596a80; font-weight: 400; }
body:not(.tutorial-page) > main, .product-page main { margin-left: var(--rail); padding: 0 0 56px;
  width: auto; min-height: calc(100vh - 68px); }
.hero, .section, .weekly-panel, .market-ribbon, .page-container { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.hero { padding: 48px 0 0; margin-bottom: 34px; background: white; }
.hero-shell { display: grid; grid-template-columns: minmax(0,1fr) 252px; gap: 44px; align-items: start; }
.hero-main { min-height: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.hero-main h1 { max-width: 760px; margin: 0 0 18px; font-size: clamp(29px,2.8vw,40px);
  font-weight: 700; line-height: 1.4; letter-spacing: -.035em; color: #1c293d; }
.hero-copy { max-width: 650px; margin-bottom: 24px; font-size: 14px; color: #596a80; line-height: 1.85; }
.hero-search { width: 100%; min-height: 54px; margin: 0; padding: 0 17px; display: flex;
  justify-content: space-between; align-items: center; gap: 12px; border: 1px solid #b7c8e1;
  border-radius: 9px; background: #fff; color: #596a80; font-size: 14px; box-shadow: 0 2px 4px #0000000a; }
.hero-search:hover { border-color: #215cd6; background: #fbfcff; transform: none; }
.hero-search kbd { padding: 1px 8px; }
.hero-quicklinks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 10px 0 20px; }
.hero-quicklinks a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px;
  color: #596a80; font-size: 12px; }
.hero-quicklinks a::before { content: ''; width: 14px; height: 14px; display: block;
  background: currentColor; mask: url('icons/calculator.svg') center/contain no-repeat; }
.hero-quicklinks a:first-child::before { mask-image: url('icons/chart-no-axes-combined.svg'); }
.hero-quicklinks a:hover { color: #215cd6; text-decoration: underline; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin: 0; }
.button, .hero-actions .button.primary { display: inline-flex; justify-content: center; align-items: center;
  min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 7px;
  box-shadow: none; font-size: 13px; font-weight: 500; line-height: 1.5; }
.button.primary { background: #215cd6; color: #fff; }
.button.primary:hover { background: #174cae; transform: none; }
.button.secondary { background: white; color: #4d5e74; border-color: #d6dfea; }
.button.secondary:hover { color: #174cae; border-color: #a9bee0; background: #f6f8fc; transform: none; }
.hero-text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 10px;
  color: #215cd6; font-size: 13px; font-weight: 500; }
.hero-trust { color: #596a80; margin: 18px 0 10px; max-width: 700px; font-size: 12px; line-height: 1.8; }
.hero-kicker { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 14px;
  margin: 0; font-size: 12px; color: #596a80; }
.hero-kicker span, .hero-kicker strong { color: #596a80; border: 0; background: transparent; padding: 0;
  font-size: 12px; font-weight: 400; letter-spacing: 0; }
.journey-panel { border: 0; border-radius: 12px; background: #f6f8fc; padding: 22px 20px; }
.journey-panel h2 { margin: 0 0 14px; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.journey-map { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; background: none; border: 0; overflow: visible; }
.journey-map a { display: grid; grid-template-columns: 22px 1fr; gap: 2px 8px; padding: 9px 0; min-width: 0;
  border: 0; border-radius: 0; background: transparent; color: #1c293d; }
.journey-map a + a { border-top: 1px solid #e5eaf2; }
.journey-map b { grid-row: span 2; font-size: 12px; font-weight: 500; color: #215cd6; font-family: inherit; }
.journey-map strong { color: #1c293d; font-size: 13px; font-weight: 500; }
.journey-map small { color: #596a80; font-size: 12px; }
.journey-map a:hover strong { color: #215cd6; }
.journey-hint { display: none; }
.hero-metrics { display: flex; flex-wrap: wrap; margin: 30px 0 0; padding: 16px 0; border: 0;
  border-top: 1px solid #e6ecf3; background: transparent; border-radius: 0; gap: 12px 28px; }
.hero-metrics li { display: flex; align-items: center; gap: 6px; min-height: 0; padding: 0; border: 0; }
.hero-metrics li + li { border: 0; }
.hero-metrics strong { font: 600 13px var(--font-ui); color: #37485f; }
.hero-metrics span { font-size: 12px; color: #596a80; }
.section { padding: 24px 0 36px; background: #fff; border: 0; }
.section + .section { border: 0; }
.section-heading, .section-heading.row, .page-section-heading { display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-end; gap: 12px 24px; margin-bottom: 22px; }
.section-heading:not(.row) { display: block; }
.section-heading h2, .page-section-heading h2 { margin: 0 0 8px; font-size: 23px; font-weight: 700; }
.section-heading p, .page-section-heading p { max-width: 720px; margin: 0; color: #596a80; font-size: 13px; }
.path-grid-six, .path-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 24px; }
.path-card { position: relative; display: grid; grid-template-columns: 32px 1fr; align-content: start;
  gap: 5px 14px; min-height: 148px; padding: 24px 0 20px; border: 0; border-top: 1px solid #dfe6ee;
  border-radius: 0; background: white; box-shadow: none; }
.path-card:hover { transform: none; background: white; box-shadow: none; }
.path-card .card-icon { display: grid; grid-column: 1; grid-row: span 3; place-items: center;
  width: 32px; height: 32px; border: 0; background: none; color: #215cd6; padding: 0;
  font-size: 12px; font-weight: 500; font-family: inherit; }
.path-card h3 { margin: 0; font-size: 15px; line-height: 1.6; }
.path-card p { margin: 0; color: #596a80; font-size: 12px; line-height: 1.8; }
.path-card > a { grid-column: 2; display: flex; align-items: center; gap: 8px; min-height: 32px;
  color: #215cd6; font-size: 12px; font-weight: 500; }
.path-card > a::after { content: ''; width: 14px; height: 14px;
  background: currentColor; mask: url('icons/chevron-right.svg') center/contain no-repeat; }
.path-card > a::before { content: ''; position: absolute; inset: 0; }
.path-card:has(a:hover) h3 { color: #215cd6; }
.market-ribbon { margin-top: 8px; margin-bottom: 40px; border: 1px solid #dfe6ee; border-radius: 12px;
  background: #fbfcfe; box-shadow: none; overflow: hidden; }
.market-ribbon-head { padding: 18px 20px; align-items: center; gap: 12px; border-bottom: 1px solid #e6ecf3; }
.market-ribbon-head h2 { font-size: 17px; line-height: 1.5; }
.market-ribbon-status { flex-wrap: wrap; gap: 8px; font-size: 12px; color: #596a80; }
.market-ribbon-status button, [data-refresh-market] { min-height: 36px; border-radius: 6px; background: white;
  border: 1px solid #d6dfea; color: #4d5e74; font-size: 12px; font-weight: 400; }
.market-ribbon-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.market-ribbon-grid > a, .market-ribbon-grid article { min-height: 124px; padding: 18px 20px; gap: 5px; border: 0; background: transparent; }
.market-ribbon-grid > * + * { border-left: 1px solid #e6ecf3; }
.market-ribbon-grid > a > span { color: #596a80; font-size: 12px; font-weight: 400; letter-spacing: 0; }
.market-ribbon-grid > a > strong { color: #1c293d; font-family: var(--font-ui); font-size: 25px;
  font-weight: 600; font-variant-numeric: tabular-nums; }
.market-ribbon-grid > a > small { font-size: 12px; color: #596a80; font-weight: 500; }
.market-referral em, .market-us-grid em { font-size: 12px; font-weight: 400; color: #596a80; margin-top: 2px; }
.market-referral:hover { background: #edf3ff; transform: none; }
.market-links { border-radius: 0; background: transparent; }
.market-links > span, .market-links > small { color: #596a80 !important; }
.market-links > strong, .market-links > em { color: #215cd6 !important; }
.market-links.market-referral:hover { background: #edf3ff; }
.market-us-block { padding: 0; background: transparent; border-top: 1px solid #e6ecf3; }
.market-us-heading { padding: 14px 20px; gap: 12px; }
.market-us-heading span, .market-us-heading small { font-size: 12px; color: #596a80; }
.market-us-heading strong { font-family: inherit; font-size: 12px; font-weight: 500; color: #4d5e74; }
.market-us-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; }
.market-us-grid a { border: 0; border-left: 1px solid #e6ecf3; border-radius: 0; background: transparent; padding: 8px 20px 16px; min-height: 105px; }
.market-us-grid a:first-child { border-left: 0; }
.market-us-grid span { font-size: 12px; color: #596a80; }
.market-us-grid strong { font-family: inherit; font-size: 18px; font-weight: 600; color: #1c293d; font-variant-numeric: tabular-nums; }
.market-us-grid small { font-size: 12px; font-weight: 500; }
.market-us-source, .market-disclaimer { padding: 9px 20px; margin: 0; font-size: 12px; color: #596a80; background: transparent; }
.market-ribbon-grid .positive, .market-us-grid .positive { color: #08785a; }
.market-ribbon-grid .negative, .market-us-grid .negative { color: #bd3849; }
.fear-meter { max-width: 120px; height: 3px; }
.section.muted { background: white; }
.filter-bar, .page-filter-bar, .intel-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0 0 18px; }
.section-heading .filter-bar { flex: 1 0 100%; margin: 10px 0 0; }
.filter, .page-filter-bar button, .intel-toolbar button { min-height: 40px; padding: 8px 12px;
  background: transparent; color: #596a80; border: 1px solid transparent; border-radius: 6px; font-size: 12px; font-weight: 400; }
.filter.active, .page-filter-bar button.active, .intel-toolbar button.active { color: #174cae; background: #edf3ff; border-color: transparent; font-weight: 600; }
.filter:hover, .page-filter-bar button:hover, .intel-toolbar button:hover { background: #f6f8fc; }
.filter-more { display: inline-flex; min-height: 40px; align-items: center; margin-left: auto; padding: 8px 0; font-size: 12px; color: #215cd6; font-weight: 500; }
.featured-tutorials { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid #dfe6ee; }
.featured-tutorials .tutorial-card, .featured-tutorials .tutorial-card.tutorial-large { display: grid;
  grid-template-columns: 88px minmax(0,1fr) 102px; gap: 4px 18px; align-content: center; align-items: center;
  min-height: 108px; padding: 20px 0; border: 0; border-bottom: 1px solid #e6ecf3; border-radius: 0;
  background: transparent; box-shadow: none; }
.featured-tutorials .tutorial-card:hover { background: #fbfcfe; transform: none; box-shadow: none; }
.tag { display: inline-flex; align-items: center; width: max-content; max-width: 100%; min-height: 24px;
  padding: 2px 8px; background: #edf3ff; color: #345b96; border: 0; border-radius: 4px; font-size: 12px; font-weight: 400; letter-spacing: 0; }
.featured-tutorials .tag { grid-row: 1 / span 2; align-self: start; margin-top: 2px; }
.featured-tutorials h3 { grid-column: 2; margin: 0; font-size: 16px; font-family: inherit; line-height: 1.65; font-weight: 500; }
.featured-tutorials p { grid-column: 2; margin: 0; font-size: 12px; line-height: 1.8; color: #596a80; }
.featured-tutorials .meta { grid-column: 2; display: flex; gap: 12px; margin: 4px 0 0; font-size: 12px; color: #596a80; }
.featured-tutorials .meta span { border: 0; padding: 0; background: transparent; font-weight: 400; }
.featured-tutorials .tutorial-card > a { grid-column: 3; grid-row: 1 / span 3; align-self: center; justify-self: end;
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 12px;
  border: 1px solid #dfe6ee; border-radius: 6px; background: white; color: #215cd6; font-size: 12px; font-weight: 500; }
.tutorials-note { margin-top: 14px; font-size: 12px; color: #596a80; }
.website-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.website-card { display: grid; grid-template-columns: 36px 1fr; align-content: start; align-items: center; gap: 3px 12px;
  min-height: 90px; padding: 16px 0; border: 0; border-top: 1px solid #dfe6ee; border-radius: 0;
  background: white; box-shadow: none; }
.website-card .logo-shell { grid-row: span 2; width: 36px; height: 36px; padding: 3px;
  border: 0; border-radius: 7px; background: white; }
.website-card img { width: 30px; height: 30px; object-fit: contain; }
.website-card strong { font-family: inherit; font-size: 13px; font-weight: 600; color: #1c293d; }
.website-card small { font-size: 12px; line-height: 1.6; color: #596a80; }
.website-card:hover { transform: none; box-shadow: none; background: #fbfcfe; }
.weekly-panel { margin-block: 10px 34px; background: #f6f8fc; padding: 24px; border: 0; border-radius: 12px; box-shadow: none; }
.weekly-head { align-items: start; margin-bottom: 18px; gap: 18px; }
.weekly-head h2 { font-size: 20px; margin: 0 0 6px; color: #1c293d; }
.weekly-head p { margin: 0; font-size: 13px; color: #596a80; }
.weekly-badge { color: #596a80; border: 0; background: transparent; font-size: 12px; }
.weekly-layout { grid-template-columns: 1fr; gap: 18px; }
.weekly-tabs { display: flex; flex-wrap: wrap; gap: 5px; border-bottom: 1px solid #dfe6ee; padding-bottom: 8px; }
.weekly-tab { min-height: 40px; border: 0; border-radius: 6px; background: transparent; padding: 8px 12px;
  color: #596a80; font-size: 12px; font-weight: 500; text-align: center; }
.weekly-tab.active { background: white; color: #215cd6; }
.weekly-content, .weekly-pane { border: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.weekly-pane.active { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; align-items: center; }
.weekly-icon { display: none; }
.weekly-pane h3 { margin: 0 0 5px; color: #1c293d; font-size: 16px; font-family: inherit; }
.weekly-pane p { margin: 0; color: #596a80; font-size: 13px; }
.weekly-pane a { min-height: 44px; color: #215cd6; font-size: 12px; font-weight: 500; }
.portfolio-panel, .tool-module { background: white; border: 1px solid #dfe6ee; border-radius: 12px; box-shadow: none; padding: 24px; }
.portfolio-head { align-items: center; gap: 18px; }
.portfolio-head h3 { margin-bottom: 6px; font-family: inherit; color: #1c293d; font-size: 20px; }
.portfolio-head p { color: #596a80; font-size: 12px; }
.portfolio-state { background: #f6f8fc; color: #596a80; border-color: #dfe6ee; font-size: 12px; }
.portfolio-state[data-state="error"] { color: #a82b3d; background: #fff2f4; }
.portfolio-total { padding: 12px 18px; border: 0; background: #f6f8fc; border-radius: 8px; }
.portfolio-total span { color: #596a80; font-size: 12px; }
.portfolio-total strong, [data-portfolio-total] { color: #1c293d; font-family: inherit; font-size: 26px; font-variant-numeric: tabular-nums; }
.portfolio-form { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.portfolio-form label { font-size: 12px; font-weight: 500; color: #4d5e74; }
.portfolio-form input, .portfolio-form select, .calculator-form input, .auth-form input, .profile-form input {
  color: #1c293d; background: white; border: 1px solid #c9d4e1; border-radius: 6px; min-height: 44px; width: 100%; padding: 9px 12px; }
input::placeholder { color: #66768b; opacity: 1; }
.portfolio-form button, .calculator-form button, .auth-form button, .profile-form button { background: #215cd6; color: white;
  border: 0; border-radius: 6px; min-height: 44px; font-size: 13px; font-weight: 500; }
.portfolio-table { color: #1c293d; font-size: 12px; }
.portfolio-table th { background: #f6f8fc; color: #596a80; font-weight: 500; }
.portfolio-table th, .portfolio-table td { padding: 14px 10px; border-color: #dfe6ee; }
.empty-row td { color: #596a80; font-size: 12px; padding: 26px 10px; }
.tool-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 24px; }
.tool-feature-card, .tool-feature-card.featured { border: 0; border-top: 1px solid #dfe6ee; border-radius: 0;
  background: white; padding: 22px 0; box-shadow: none; color: #1c293d; }
.tool-feature-card h3 { font-family: inherit; margin-top: 12px; color: #1c293d; }
.tool-feature-card p, .tool-feature-card.featured p, .tool-points { font-size: 12px; color: #596a80; }
.tool-actions { gap: 14px; }
.tool-actions a { color: #215cd6; background: transparent; border: 0; padding: 5px 0; font-weight: 500; }
.tool-links { gap: 16px; }
.tool-links a { background: #f6f8fc; border: 0; color: #1c293d; border-radius: 8px; }
.tool-links span { color: #596a80; font-size: 12px; }
.hero-board { display: grid; grid-template-columns: 140px 1fr auto; align-items: center; gap: 24px; padding: 20px 24px;
  min-height: 0; margin-bottom: 22px; border: 0; border-radius: 12px; background: #f6f8fc; color: #1c293d; box-shadow: none; }
.board-header { display: grid; gap: 5px; margin: 0; padding: 0; border: 0; }
.board-header span { color: #1c293d; font-size: 14px; font-weight: 600; }
.board-header strong { color: #596a80; font-size: 12px; font-weight: 400; }
.board-feature { min-height: 0; margin: 0; padding: 0; border: 0; background: transparent; }
.board-feature > span, .board-feature p { color: #596a80; font-size: 12px; margin: 0; }
.board-feature > strong { font-size: 26px; font-family: inherit; color: #1c293d; margin: 4px 0; letter-spacing: -.02em; }
.board-feature > strong small { font-size: 12px; color: #596a80; }
.board-feature b { color: #215cd6; font-size: 12px; font-weight: 500; }
.reward-glance { display: grid; grid-template-columns: 1fr; gap: 4px; margin: 0; border: 0; }
.reward-glance div { display: flex; justify-content: space-between; gap: 20px; padding: 2px 0; border: 0; background: none; }
.reward-glance dt, .reward-glance dd { margin: 0; font-size: 12px; color: #596a80; font-weight: 400; }
.benefit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; }
.benefit-card { display: grid; grid-template-columns: 38px 1fr; gap: 5px 14px; align-content: start;
  border: 0; border-top: 1px solid #dfe6ee; border-radius: 0; background: white; padding: 22px 0; box-shadow: none; }
.benefit-card:hover { transform: none; background: #fbfcfe; box-shadow: none; }
.benefit-logo { grid-row: 1 / span 2; width: 36px; height: 36px; margin: 0; background: white; border: 0; padding: 3px; }
.benefit-logo img { width: 30px; height: 30px; object-fit: contain; }
.benefit-card .tag { grid-column: 2; padding: 0; background: transparent; }
.benefit-card h3 { grid-column: 2; margin: 0 0 6px; font-family: inherit; font-size: 17px; }
.benefit-card p { grid-column: 2; margin: 0; font-size: 12px; color: #596a80; }
.benefit-reward, .invite-code { grid-column: 2; font-size: 12px; color: #37485f; }
.benefit-reward { color: #1c293d; font-weight: 500; }
.benefit-card .card-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.card-actions a { display: inline-flex; align-items: center; min-height: 40px; color: #215cd6;
  background: transparent; border: 0; border-radius: 0; padding: 5px 0; font-size: 12px; font-weight: 500; }
.benefit-footnote { color: #596a80; font-size: 12px; }
.update-list { display: grid; grid-template-columns: 1fr; gap: 0; }
.update-item { display: grid; grid-template-columns: 140px 1fr; gap: 4px 18px; border: 0; border-top: 1px solid #dfe6ee;
  border-radius: 0; background: transparent; padding: 18px 0; box-shadow: none; }
.update-item span { grid-row: span 2; color: #596a80; font-size: 12px; }
.update-item h3 { margin: 0; color: #1c293d; font-family: inherit; font-size: 15px; }
.update-item p { margin: 0; font-size: 12px; color: #596a80; }
.feedback-panel { background: #f6f8fc; color: #1c293d; border: 0; border-radius: 12px; padding: 24px; box-shadow: none; }
.feedback-panel h2 { font-family: inherit; color: #1c293d; font-size: 21px; }
.feedback-panel p { color: #596a80; font-size: 13px; }
.feedback-panel a { color: #215cd6; }
.community { background: #edf3ff; border: 0; border-radius: 12px; padding: 30px; }
.community h2 { font-size: 23px; font-family: inherit; color: #1c293d; }
.community p { color: #455f87; font-size: 13px; max-width: 780px; }
.community-rules { display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 0 22px; }
.community-rules li { border: 0; background: none; padding: 0; color: #455f87; font-size: 12px; }
.community .button.primary { color: white; background: #215cd6; }
.risk-note, .intel-risk-note { display: flex; align-items: flex-start; gap: 16px; width: min(1160px,calc(100% - 80px));
  margin: 28px auto 0; padding: 18px 0; border: 0; border-top: 1px solid #dfe6ee;
  border-radius: 0; background: transparent; box-shadow: none; }
.risk-note strong, .intel-risk-note strong { color: #4d5e74; font-size: 12px; white-space: nowrap; }
.risk-note p, .intel-risk-note p { color: #596a80; font-size: 12px; margin: 0; }
.footer, .product-page .footer { width: min(1160px,calc(100% - var(--rail) - 80px)); margin: 0 auto 0 calc(var(--rail) + 40px);
  border-top: 1px solid #dfe6ee; background: white; color: #1c293d; padding: 28px 0 36px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer strong { color: #1c293d; font-size: 14px; }
.footer p { color: #596a80; font-size: 12px; margin: 5px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: #596a80; font-size: 12px; }
.page-hero, .intelligence-hero { background: white; color: #1c293d; padding: 42px 0 30px; border-bottom: 1px solid #e6ecf3; }
.page-hero h1, .intelligence-hero h1 { color: #1c293d; font-family: inherit; font-size: 34px; line-height: 1.45;
  letter-spacing: -.025em; font-weight: 700; max-width: 900px; margin: 0 0 14px; }
.page-hero p, .intelligence-hero p:not(.eyebrow) { color: #596a80; font-size: 14px; line-height: 1.85; max-width: 800px; }
.page-section { padding: 30px 0; background: white; }
.page-section-heading { align-items: center; }
.page-section-heading p { font-size: 13px; }
.page-hero-actions { margin-top: 22px; gap: 12px; }
.tutorial-hub-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 12px; }
.tutorial-hub-card { display: grid; grid-template-columns: 84px minmax(0,1fr) 120px; gap: 5px 18px;
  padding: 23px 0; border: 0; border-bottom: 1px solid #dfe6ee; border-radius: 0; background: white; box-shadow: none; min-height: 120px; }
.tutorial-hub-card .tag { grid-column: 1; grid-row: span 3; }
.tutorial-hub-card h3 { grid-column: 2; font-family: inherit; margin: 0; font-size: 18px; font-weight: 500; }
.tutorial-hub-card p { grid-column: 2; margin: 0; font-size: 13px; }
.tutorial-hub-card .progress-track { grid-column: 3; grid-row: 1; margin: 5px 0; align-self: end; }
.tutorial-hub-card .progress-label { grid-column: 3; grid-row: 2; font-size: 12px; }
.tutorial-hub-card > a { grid-column: 3; grid-row: 3; margin: 0; min-height: 32px; color: #215cd6; font-size: 12px; font-weight: 500; }
.progress-track { background: #e6ecf3; height: 4px; }
.progress-track span { background: #215cd6; }
.search-field { background: white; border: 1px solid #c9d4e1; border-radius: 7px; }
.search-field input { background: transparent; color: #1c293d; font-size: 14px; }
.search-field span { color: #596a80; font-size: 12px; }
.hub-search { min-width: 260px; max-width: 100%; }
.tools-layout { grid-template-columns: 160px minmax(0,1fr); gap: 24px; }
.tools-index { border: 0; background: #f6f8fc; border-radius: 8px; top: 90px; }
.tools-index a { color: #596a80; font-weight: 400; font-size: 12px; }
.tools-content { gap: 28px; }
.tool-module h2 { font-size: 22px; }
.tool-module > p { color: #596a80; font-size: 13px; }
.calculator-grid { grid-template-columns: minmax(0,1.25fr) minmax(190px,.75fr); gap: 24px; }
.calculator-form label, .auth-form label, .profile-form label { color: #4d5e74; font-size: 12px; font-weight: 500; }
.calculator-result { background: #edf3ff; color: #1c293d; border-radius: 10px; padding: 22px; }
.calculator-result span, .calculator-result dt { color: #455f87; font-size: 12px; }
.calculator-result strong { color: #174cae; font-family: inherit; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.calculator-result dd { font-size: 12px; font-weight: 500; }
.account-layout { grid-template-columns: minmax(0,560px); padding-top: 32px; }
.auth-panel, .account-panel { border: 1px solid #dfe6ee; border-radius: 12px; background: white; box-shadow: none; padding: 28px; }
.auth-panel h2, .account-panel h2 { font-size: 22px; }
.auth-panel p { font-size: 13px; }
.auth-tabs button { font-weight: 500; color: #596a80; min-height: 44px; }
.auth-tabs button.active { color: #215cd6; border-bottom-color: #215cd6; }
.auth-notice { color: #725218; background: #fff8df; font-size: 12px; border: 0; }
.intelligence-hero-grid { grid-template-columns: minmax(0,1fr) 260px; min-height: 0; padding-block: 0; gap: 40px; }
.intel-brief-card { background: #f6f8fc; border: 0; border-radius: 12px; box-shadow: none; backdrop-filter: none; padding: 20px; }
.intel-brief-card > span { color: #596a80; font-size: 12px; font-weight: 400; }
.intel-brief-card h2 { color: #1c293d; font-family: inherit; font-size: 16px; margin: 4px 0 12px; }
.intel-brief-card li { padding: 12px 0; border-color: #dfe6ee; grid-template-columns: 24px 1fr; gap: 10px; }
.intel-brief-card li > b { color: #215cd6; font-family: inherit; font-size: 12px; font-weight: 500; }
.intel-brief-card li strong { color: #1c293d; font-size: 13px; font-weight: 500; }
.intel-brief-card li small { color: #596a80; font-size: 12px; }
.intelligence-page .market-ribbon { margin-top: 28px; }
.intelligence-hero .button.secondary { background: white; border-color: #d6dfea; color: #4d5e74; }
.intel-item { padding: 20px 0; min-height: 100px; border: 0; border-top: 1px solid #dfe6ee; background: white; border-radius: 0; box-shadow: none; }
.intel-item:hover { background: #fbfcfe; transform: none; }
.intel-item h3 { color: #1c293d; font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.8; }
.intel-item time, .intel-item p { color: #596a80; font-size: 12px; font-weight: 400; }
.intel-item .source-pill { color: #345b96; background: #edf3ff; font-size: 12px; font-weight: 400; border-radius: 4px; }
.intel-item .category-pill { color: #596a80; font-size: 12px; font-weight: 400; }
.intel-sync { font-size: 12px; color: #596a80; }
.intel-sync > span { color: #345b96; font-weight: 500; }
.data-desk-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.data-desk-grid a { min-height: 220px; padding: 22px 0; border: 0; border-top: 1px solid #dfe6ee; background: white; border-radius: 0; }
.data-desk-grid h3 { font-family: inherit; font-size: 20px; margin: 16px 0 10px; }
.data-desk-grid span, .data-desk-grid b { color: #215cd6; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.data-desk-grid p { font-size: 13px; }
.daily-dialog, .search-dialog { background: white; color: #1c293d; border: 0; border-radius: 14px; box-shadow: 0 24px 64px #00000024; }
.daily-dialog { padding: 32px; }
.daily-heading h2 { color: #1c293d; font-family: inherit; font-size: 28px; }
.daily-heading p { color: #596a80; font-size: 13px; }
.daily-card { border: 1px solid #dfe6ee; background: white; border-radius: 10px; box-shadow: none; }
.daily-card > span, .daily-card > small { color: #596a80; font-size: 12px; }
.daily-card > strong { color: #1c293d; font-family: inherit; font-size: 18px; }
.daily-card > b { color: #215cd6; font-size: 12px; }
.daily-footer { color: #596a80; font-size: 12px; }
.daily-footer button { background: #215cd6; color: white; border-radius: 7px; font-weight: 500; }
.modal-backdrop, .search-backdrop { background: #172f5366; backdrop-filter: none; }
.modal-close { color: #596a80; border: 1px solid #dfe6ee; background: white; }
.search-dialog-head { color: #1c293d; }
.search-dialog-head h2 { font-family: inherit; color: #1c293d; font-size: 21px; }
.search-dialog-head button { color: #596a80; border-color: #dfe6ee; background: #f6f8fc; min-height: 36px; }
.search-result { background: white; color: #1c293d; border-color: #dfe6ee; border-radius: 6px; }
.search-result b { background: #edf3ff; color: #345b96; font-size: 12px; }
.search-result strong { color: #1c293d; font-family: inherit; font-size: 15px; }
.search-result small, .search-hint, .search-result > span:last-child { color: #596a80; font-size: 12px; }
.search-result:hover { background: #f6f8fc; }
.tutorial-page .tutorial-layout { width: min(840px,calc(100% - 48px)); margin: 0 auto; padding: 32px 0 72px; }
.tutorial-page .back-link { min-height: 44px; align-items: center; font-size: 13px; font-weight: 500; }
.tutorial-hero, .tutorial-summary, .tutorial-content { box-shadow: none; border: 0; border-radius: 0; background: white; }
.tutorial-hero { padding: 20px 0 26px; border-bottom: 1px solid #dfe6ee; }
.tutorial-hero h1 { font-size: 34px; line-height: 1.5; margin-top: 12px; font-family: inherit; letter-spacing: -.02em; }
.tutorial-hero p { color: #596a80; font-size: 15px; }
.tutorial-meta span, .tutorial-meta a { border: 0; background: #f6f8fc; color: #596a80; font-size: 12px; font-weight: 400; }
.tutorial-summary { background: #f6f8fc; border-radius: 10px; padding: 24px; }
.tutorial-summary li { color: #4d5e74; font-size: 14px; }
.tutorial-content { padding: 0; font-size: 16px; line-height: 1.95; }
.tutorial-content h2 { font-family: inherit; font-size: 23px; margin-top: 40px; }
.tutorial-content p { color: #37485f; }
.tutorial-note, .tutorial-action { background: #f6f8fc; border: 1px solid #dfe6ee; border-radius: 8px; color: #37485f; }
.tutorial-progress-widget { background: white; backdrop-filter: none; border-color: #dfe6ee; box-shadow: none; font-size: 12px; }
.tutorial-progress-widget button { min-height: 40px; background: #215cd6; font-weight: 500; }

@media(min-width:1500px) {
  body:not(.tutorial-page) > main { max-width: 1320px; margin-inline: auto; padding-left: var(--rail); }
  .footer, .product-page .footer { margin-left: calc(var(--rail) + (100% - var(--rail) - min(1160px,100% - var(--rail) - 80px))/2); }
}
@media(max-width:1180px) {
  :root { --rail: 188px; }
  .nav { padding-inline: 28px; }
  .hero, .section, .weekly-panel, .market-ribbon, .page-container, .risk-note, .intel-risk-note { width: calc(100% - 56px); }
  .hero-shell { grid-template-columns: minmax(0,1fr) 220px; gap: 28px; }
  .hero-main h1 { font-size: 32px; }
  .journey-panel { padding: 18px 16px; }
  .website-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-board { grid-template-columns: 120px 1fr; }
  .reward-glance { grid-column: 1 / -1; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
  .footer, .product-page .footer { width: calc(100% - var(--rail) - 56px); margin-left: calc(var(--rail) + 28px); }
  .tools-layout { grid-template-columns: 1fr; }
  .tools-index { position: static; display: flex; flex-wrap: wrap; gap: 3px; }
  .calculator-grid { grid-template-columns: minmax(0,1fr) minmax(185px,.65fr); }
}
@media(max-width:900px) {
  :root { --rail: 0px; }
  .sidebar { display: none; }
  .site-header, .site-home .site-header, .product-page .site-header { margin-left: 0; }
  .nav { min-height: 64px; padding-inline: 24px; gap: 14px; }
  .nav-location { display: none; }
  .nav .brand { display: flex; margin-right: auto; gap: 8px; }
  .brand strong { font-size: 17px; color: #1c293d; }
  .brand small { display: none; }
  .brand .brand-mark { width: 28px; min-width: 28px; height: 29px; font-size: 18px; flex-basis: 28px; }
  .menu-toggle { display: block; padding: 8px; order: 3; }
  .menu-toggle span { background: #4d5e74; width: 21px; }
  .nav-links { margin-left: 0; gap: 8px; }
  .nav-links.open { position: absolute; top: 64px; right: 0; left: 0; padding: 20px 24px;
    display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center;
    background: white; border-bottom: 1px solid #dfe6ee; box-shadow: 0 12px 20px #0000000a; }
  .nav-links.open .nav-primary-links { display: flex; flex: 1 0 100%; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; }
  .nav-links.open .nav-primary-links a, .nav-links.open > a:not(.nav-account) { display: inline-flex;
    min-height: 44px; padding: 10px 12px; color: #4d5e74; font-size: 14px; }
  .nav-links.open .nav-action, .nav-links.open .nav-account { display: inline-flex; }
  body:not(.tutorial-page) > main, .product-page main { margin-left: 0; }
  .hero, .section, .weekly-panel, .market-ribbon, .page-container, .risk-note, .intel-risk-note { width: calc(100% - 48px); }
  .hero { padding-top: 34px; }
  .hero-shell { grid-template-columns: minmax(0,1fr) 230px; }
  .hero-main h1 { font-size: 30px; }
  .hero-copy { font-size: 13px; }
  .hero-quicklinks { gap: 5px 14px; }
  .hero-metrics { gap: 8px 18px; }
  .market-us-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .market-us-grid a { border-top: 1px solid #e6ecf3; }
  .market-us-grid a:nth-child(4) { border-left: 0; }
  .footer, .product-page .footer { width: calc(100% - 48px); margin-inline: 24px; }
  .intelligence-hero-grid { grid-template-columns: minmax(0,1fr) 230px; gap: 24px; }
  .page-hero h1, .intelligence-hero h1 { font-size: 29px; }
}
@media(max-width:640px) {
  body, body.site-home { font-size: 14px; }
  .nav { padding: 8px 16px; min-height: 60px; gap: 10px; }
  .nav-links > .nav-action { display: none; }
  .nav-account { min-height: 38px; padding: 7px 10px; font-size: 12px; }
  .nav-account small { display: none; }
  .nav-links.open { top: 60px; padding: 16px; }
  .menu-toggle { min-width: 40px; padding: 8px; }
  .hero, .section, .weekly-panel, .market-ribbon, .page-container, .risk-note, .intel-risk-note { width: calc(100% - 36px); }
  .hero { padding-top: 28px; margin-bottom: 12px; }
  .hero-shell { grid-template-columns: 1fr; gap: 26px; }
  .hero-main h1 { max-width: 460px; font-size: 28px; line-height: 1.45; margin-bottom: 14px; }
  .hero-copy { font-size: 13px; margin-bottom: 20px; }
  .hero-search { min-height: 52px; padding-inline: 12px; font-size: 12px; }
  .hero-search span { white-space: normal; overflow: visible; text-overflow: clip; }
  .hero-quicklinks { gap: 4px 15px; margin-bottom: 18px; }
  .hero-quicklinks a { font-size: 12px; }
  .hero-actions { gap: 16px; flex-wrap: wrap; }
  .hero-actions .button.primary { flex: initial; width: auto; padding: 10px 14px; }
  .hero-text-link { font-size: 12px; }
  .hero-trust { font-size: 12px; margin: 12px 0 8px; }
  .hero-kicker { gap: 12px; }
  .journey-panel { padding: 18px; }
  .journey-panel h2 { margin-bottom: 12px; }
  .journey-map { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
  .journey-map a { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 0; min-width: 0; }
  .journey-map a + a { border: 0; }
  .journey-map strong { font-size: 12px; white-space: nowrap; }
  .journey-map small { display: none; }
  .journey-map b { font-size: 12px; }
  .hero-metrics { gap: 7px 14px; padding: 14px 0; margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-metrics li, .hero-metrics li:nth-child(3), .hero-metrics li:nth-child(4) { padding: 0; border: 0; }
  .hero-metrics strong, .hero-metrics span { font-size: 12px; }
  .section { padding: 20px 0 28px; }
  .section-heading { margin-bottom: 16px; }
  .section-heading h2, .page-section-heading h2 { font-size: 20px; }
  .section-heading p, .page-section-heading p { font-size: 12px; }
  .path-grid, .path-grid-six { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .path-card { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 16px 0; min-height: 174px; }
  .path-card .card-icon { grid-column: 1; grid-row: auto; place-items: start; height: auto; font-size: 12px; line-height: 1.5; }
  .path-card h3 { font-size: 14px; }
  .path-card p { font-size: 12px; line-height: 1.75; }
  .path-card > a { grid-column: 1; min-height: 40px; font-size: 12px; }
  .market-ribbon { margin-bottom: 28px; }
  .market-ribbon-head { align-items: flex-start; flex-direction: column; padding: 16px; }
  .market-ribbon-head h2 { font-size: 16px; }
  .market-ribbon-status { justify-content: flex-start; width: 100%; font-size: 12px; }
  .market-ribbon-status button { margin-left: auto; }
  .market-ribbon-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .market-ribbon-grid > a { padding: 16px; min-height: 124px; }
  .market-ribbon-grid > a:nth-child(3) { border-top: 1px solid #e6ecf3; border-left: 0; }
  .market-ribbon-grid > a:nth-child(4) { border-top: 1px solid #e6ecf3; }
  .market-ribbon-grid > a > strong { font-size: 22px; }
  .market-ribbon-grid > a > span { font-size: 12px; }
  .market-ribbon-grid > a > small { font-size: 12px; }
  .market-us-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .market-us-heading { padding: 14px 16px; align-items: flex-start; }
  .market-us-heading small { display: none; }
  .market-us-heading strong { font-size: 12px; }
  .market-us-grid a { padding: 12px 16px; }
  .market-us-grid a:nth-child(odd) { border-left: 0; }
  .market-us-grid a:nth-child(even) { border-left: 1px solid #e6ecf3; }
  .market-us-grid strong { font-size: 18px; }
  .market-us-source { flex-direction: column; align-items: flex-start; gap: 3px; }
  .filter, .page-filter-bar button, .intel-toolbar button { font-size: 12px; padding: 9px 10px; }
  .filter-more { font-size: 12px; margin-left: 0; }
  .featured-tutorials .tutorial-card, .featured-tutorials .tutorial-card.tutorial-large { grid-template-columns: minmax(0,1fr) auto; gap: 6px 12px; padding: 20px 0; }
  .featured-tutorials .tag { grid-column: 1; grid-row: auto; margin: 0; }
  .featured-tutorials h3, .featured-tutorials p { grid-column: 1 / -1; }
  .featured-tutorials h3 { font-size: 15px; }
  .featured-tutorials p { font-size: 12px; }
  .featured-tutorials .meta { grid-column: 1; margin: 0; font-size: 12px; }
  .featured-tutorials .tutorial-card > a { grid-column: 2; grid-row: 4; border: 0; padding: 0; min-height: 36px; font-size: 12px; }
  .website-grid { grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .website-card { grid-template-columns: 30px 1fr; gap: 4px 8px; padding: 16px 0; border: 0; border-top: 1px solid #dfe6ee; }
  .website-card .logo-shell { width: 30px; height: 30px; grid-row: auto; }
  .website-card img { width: 25px; height: 25px; }
  .website-card strong { font-size: 12px; overflow-wrap: anywhere; }
  .website-card small { grid-column: 1 / -1; font-size: 12px; }
  .weekly-panel { padding: 20px; }
  .weekly-pane.active { grid-template-columns: 1fr; }
  .weekly-pane a { display: inline-flex; align-items: center; }
  .weekly-badge { display: none; }
  .weekly-tab { padding: 8px 9px; font-size: 12px; }
  .portfolio-panel, .tool-module { padding: 18px; }
  .portfolio-head { flex-direction: column; align-items: stretch; }
  .portfolio-form { grid-template-columns: 1fr 1fr; }
  .portfolio-form button { grid-column: 1 / -1; }
  .portfolio-form input, .portfolio-form select { padding-inline: 9px; font-size: 13px; }
  .portfolio-total strong { font-size: 24px; }
  .tool-feature-grid { grid-template-columns: 1fr; gap: 0; }
  .tool-feature-card { padding-top: 22px; }
  .hero-board { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .reward-glance { grid-column: 1; grid-template-columns: 1fr; gap: 5px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 0; }
  .benefit-card { grid-template-columns: 36px 1fr; padding: 22px 0; gap: 6px 12px; }
  .benefit-card p, .benefit-reward, .invite-code { font-size: 12px; }
  .update-item { grid-template-columns: 1fr; gap: 6px; }
  .update-item span { grid-row: auto; font-size: 12px; }
  .community { padding: 22px; }
  .community h2 { font-size: 21px; }
  .community .button { width: 100%; font-size: 12px; }
  .risk-note, .intel-risk-note { flex-direction: column; gap: 6px; }
  .footer, .product-page .footer { width: calc(100% - 36px); margin-inline: 18px; padding-top: 24px; }
  .page-hero, .intelligence-hero { padding: 28px 0; }
  .page-hero h1, .intelligence-hero h1 { font-size: 27px; }
  .page-hero p, .intelligence-hero p:not(.eyebrow) { font-size: 13px; }
  .page-section { padding: 24px 0; }
  .page-section-heading { align-items: stretch; gap: 18px; }
  .hub-search { width: 100%; min-width: 0; }
  .tutorial-hub-card { grid-template-columns: minmax(0,1fr) 100px; gap: 8px 12px; padding: 22px 0; }
  .tutorial-hub-card .tag { grid-column: 1; grid-row: 1; }
  .tutorial-hub-card h3, .tutorial-hub-card p { grid-column: 1 / -1; }
  .tutorial-hub-card h3 { font-size: 17px; }
  .tutorial-hub-card p { font-size: 12px; }
  .tutorial-hub-card .progress-track { grid-column: 1; grid-row: 4; max-width: 130px; }
  .tutorial-hub-card .progress-label { grid-column: 1; grid-row: 5; }
  .tutorial-hub-card > a { grid-column: 2; grid-row: 4 / span 2; align-self: center; justify-self: end; }
  .calculator-grid { grid-template-columns: 1fr; gap: 20px; }
  .calculator-form { gap: 14px; }
  .calculator-result { padding: 22px; }
  .account-layout { grid-template-columns: 1fr; }
  .auth-panel { padding: 20px; }
  .profile-form { grid-template-columns: 1fr; }
  .intelligence-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .intel-brief-card { padding: 20px; }
  .intel-brief-card ol { grid-template-columns: 1fr; }
  .intel-item { grid-template-columns: 1fr; gap: 8px; }
  .intel-item > span { justify-content: start; justify-items: start; grid-row: 1; }
  .intel-item time { grid-row: 2; font-size: 12px; }
  .intel-item h3 { font-size: 15px; }
  .intel-sync { justify-items: start; }
  .data-desk-grid { grid-template-columns: 1fr; gap: 0; }
  .data-desk-grid a { min-height: 200px; }
  .daily-dialog { padding: 24px 20px; }
  .daily-heading h2 { font-size: 24px; max-width: 80%; }
  .daily-grid { grid-template-columns: 1fr; }
  .daily-card { min-height: 160px; }
  .search-dialog { padding: 20px; }
  .search-result { grid-template-columns: 1fr; }
  .search-result > span:last-child { display: none; }
  .tutorial-page .tutorial-layout { width: calc(100% - 36px); padding-top: 20px; }
  .tutorial-hero h1 { font-size: 27px; }
  .tutorial-content { font-size: 15px; }
  .tutorial-content h2 { font-size: 21px; }
  .tutorial-progress-widget { flex-wrap: wrap; top: 8px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Remove incidental grid placement from earlier iterations. */
.side-group a::before, .journey-map a::before, .journey-map a::after { content: none; }
.journey-map b { width: auto; height: auto; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: left; }
.path-card h3 { grid-column: 2; grid-row: 1; }
.path-card p { grid-column: 2; grid-row: 2; }
.path-card > a { grid-column: 2; grid-row: 3; }
.featured-tutorials .meta { border: 0; padding: 0; }
@media(max-width:640px) {
 .path-card .card-icon { grid-row: 1; }
 .path-card h3 { grid-column: 1; grid-row: 2; }
 .path-card p { grid-column: 1; grid-row: 3; }
 .path-card > a { grid-column: 1; grid-row: 4; }
}

.side-group a { display: flex; justify-content: flex-start; text-align: left; gap: 8px; }
.side-group a b { margin-left: auto; }
.journey-map a { min-height: 0; padding-block: 8px; }
.journey-map a small { line-height: 1.55; }
.path-card .card-icon { font-size: 0; }
.path-card .card-icon::before { content: ''; width: 23px; height: 23px; background: #5474a4; mask: url('icons/book-open.svg') center/contain no-repeat; }
.path-card[data-icon="arrow-left-right"] .card-icon::before { mask-image: url('icons/arrow-left-right.svg'); }
.path-card[data-icon="chart-no-axes-combined"] .card-icon::before { mask-image: url('icons/chart-no-axes-combined.svg'); }
@media(max-width:640px) { .path-card .card-icon { display: none; } .path-card h3 { grid-row: 1; } .path-card p { grid-row: 2; } .path-card > a { grid-row: 3; } .path-card { min-height: 142px; } }

.journey-map a { text-align: left; justify-items: start; grid-template-columns: 22px minmax(0,1fr); }
.journey-map a b { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
.journey-map a strong { grid-column: 2; grid-row: 1; }
.journey-map a small { grid-column: 2; grid-row: 2; width: auto; max-width: none; white-space: normal; }
.footer .hero-metrics { flex-basis: 100%; margin: 8px 0 0; padding: 14px 0 0; }
.community .hero-kicker { margin-bottom: 16px; }
.risk-note .hero-trust { margin: 0; }
@media(max-width:640px) {
 .journey-map a b, .journey-map a strong { grid-column: auto; grid-row: auto; }
 .journey-map a { text-align: left; }
 .footer .hero-metrics { grid-template-columns: 1fr 1fr; }
}

.journey-map { padding: 0; overflow: visible; }
.journey-map::before { content: none; display: none; }
.journey-map b { margin: 0; }
.featured-tutorials h3 { grid-row: 1; }
.featured-tutorials p { display: block; grid-row: 2; }
.featured-tutorials .meta { grid-row: 3; }
.featured-tutorials .tag { grid-row: 1 / span 3; }
@media(max-width:640px) {
 .featured-tutorials .tag { grid-row: 1; }
 .featured-tutorials h3 { grid-row: 2; }
 .featured-tutorials p { grid-row: 3; }
 .featured-tutorials .meta { grid-row: 4; }
 .featured-tutorials .tutorial-card > a { grid-row: 4; }
 .featured-tutorials .tutorial-card { grid-template-rows: auto; }
}

html { scroll-behavior: auto; }
@media(max-width:900px) {
 .nav-links.open .nav-action, .nav-links.open .nav-account { width: auto; min-width: 0; margin: 0; }
 .nav-links.open .nav-primary-links { gap: 4px; }
}

.tutorial-hub-card .tag { align-self: start; }
.calculator-form select { min-height: 44px; width: 100%; padding: 9px 12px; border: 1px solid #c9d4e1; border-radius: 6px; background: white; color: #1c293d; font: inherit; }
.feedback-card { position: static; background: #f6f8fc; border: 0; border-radius: 12px; box-shadow: none; padding: 26px; }
.feedback-card h2 { color: #1c293d; font-family: inherit; font-size: 22px; text-shadow: none; }
.feedback-card p:not(.eyebrow) { color: #596a80; font-size: 13px; }
.timeline time { background: transparent; color: #596a80; padding: 0; border-radius: 0; font-size: 12px; font-weight: 400; margin-bottom: 8px; }
.timeline h3 { font-family: inherit; font-size: 16px; margin-bottom: 6px; }
.timeline p { color: #596a80; font-size: 13px; }
.tool-list a { background: #f6f8fc; border: 0; border-radius: 8px; box-shadow: none; min-height: 56px; }
.tool-list span { font-weight: 500; font-size: 13px; }
.tool-list small { color: #596a80; font-size: 12px; }
.community { width: min(1160px,calc(100% - 80px)); margin-inline: auto; gap: 16px 30px; }
.community .hero-kicker { grid-column: 1 / -1; margin: 0; }
.community > div:not(.hero-kicker) { grid-column: 1; }
.community > a { grid-column: 2; }
.community h2 { text-shadow: none; }
.risk-note { flex-wrap: wrap; }
.risk-note > p:first-of-type { flex: 1; min-width: 240px; }
.risk-note .hero-trust { flex-basis: 100%; }
.tutorial-empty { padding: 28px 18px; background: #f6f8fc; border-radius: 8px; color: #596a80; font-size: 14px; }
.path-card p { display: block; }
@media(max-width:1180px) { .community { width: calc(100% - 56px); } }
@media(max-width:900px) { .community { width: calc(100% - 48px); } }
@media(max-width:640px) {
 .community { width: calc(100% - 36px); grid-template-columns: 1fr; }
 .community > a { grid-column: 1; }
 .tool-list a { flex-direction: column; align-items: flex-start; gap: 4px; }
 .updates-layout { grid-template-columns: 1fr; }
}

.benefit-card .tag { grid-row: 1; }
.benefit-card h3 { grid-row: 2; }
.benefit-card p { grid-row: 3; }
.benefit-card .benefit-reward { grid-row: 4; margin: 4px 0 0; background: none; border: 0; padding: 0; }
.benefit-card .invite-code { grid-row: 5; margin: 0; background: none; border: 0; padding: 0; color: #596a80; box-shadow: none; }
.benefit-card .card-actions { grid-row: 6; }
.card-actions a, .card-actions a:first-child, .card-actions a:hover { box-shadow: none; background: none; transform: none; }
.benefit-logo { align-self: start; }

main > section, .learning-strip, .benefit-logo { box-shadow: none; }
