:root {
  --ink: #111c2a;
  --navy: #0b1928;
  --navy-2: #10263a;
  --paper: #f3f1ea;
  --paper-2: #e9e6dc;
  --white: #fffefa;
  --orange: #ff7043;
  --orange-soft: #ffd9cc;
  --mint: #8fd0b7;
  --line: rgba(17, 28, 42, .14);
  --muted: #69737d;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 4.5vw; background: rgba(243,241,234,.96); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; }
.brand-mark { width: 38px; height: 38px; color: var(--orange); flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.35; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.brand strong { font-size: 18px; letter-spacing: -.02em; }
.brand small { font-size: 8px; letter-spacing: .17em; color: var(--muted); }
.primary-nav { display: flex; align-items: stretch; height: 76px; gap: clamp(18px, 2vw, 34px); }
.primary-nav a { display: flex; align-items: center; font-size: 12px; font-weight: 600; color: #4c5762; position: relative; white-space: nowrap; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px; background: var(--orange); transition: right .25s ease; }
.primary-nav a:hover::after, .primary-nav a.active::after { right: 0; }
.primary-nav a.active { color: var(--ink); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.icon-button, .saved-button, .menu-button { border: 0; background: transparent; color: var(--ink); }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; }
.icon-button svg, .saved-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.saved-button { display: flex; align-items: center; gap: 8px; padding: 10px 13px; font-size: 12px; font-weight: 600; border: 1px solid var(--line); }
.saved-button.active { color: white; background: var(--ink); border-color: var(--ink); }
.menu-button { display: none; width: 42px; height: 42px; padding: 12px; }
.menu-button span { display: block; height: 1.5px; background: currentColor; margin: 5px 0; }

.hero { min-height: 560px; position: relative; overflow: hidden; color: white; background: var(--navy); }
.hero-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, black, transparent 90%); }
.hero-orbit { position: absolute; width: 660px; height: 660px; border: 1px solid rgba(255,112,67,.3); border-radius: 50%; right: -190px; top: -320px; box-shadow: 0 0 0 80px rgba(255,112,67,.035), 0 0 0 160px rgba(255,112,67,.025); }
.hero-orbit i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 24px var(--orange); }
.hero-orbit i:nth-child(1) { left: 75px; bottom: 92px; }
.hero-orbit i:nth-child(2) { left: 213px; bottom: -32px; width: 5px; height: 5px; opacity: .7; }
.hero-orbit i:nth-child(3) { left: -51px; bottom: 225px; width: 4px; height: 4px; opacity: .45; }
.hero-inner { width: min(1180px, 91vw); margin: 0 auto; padding: 76px 0 48px; position: relative; z-index: 2; }
.eyebrow, .section-index { color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.eyebrow span { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,112,67,.15); }
.hero h1 { max-width: 980px; margin: 27px 0 24px; font-family: var(--serif); font-size: clamp(52px, 6.3vw, 86px); line-height: 1; font-weight: 500; letter-spacing: -.035em; }
.hero h1 em { color: #f2d1c5; font-style: italic; }
.hero-inner > p { margin: 0 0 34px; color: #aeb9c4; font-size: 15px; line-height: 1.8; }
.hero-search { width: min(860px, 100%); height: 68px; display: flex; align-items: center; padding: 7px 8px 7px 22px; background: var(--white); color: var(--ink); box-shadow: 0 18px 50px rgba(0,0,0,.24); }
.hero-search > svg { width: 22px; flex: 0 0 auto; fill: none; stroke: #77838f; stroke-width: 1.6; }
.hero-search input { min-width: 0; flex: 1; padding: 0 15px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.hero-search input::placeholder { color: #8d96a0; }
.hero-search kbd { padding: 5px 8px; border: 1px solid #d5d8d7; background: #f6f5f0; color: #7a8490; box-shadow: 0 1px 0 #ccc; font-size: 11px; }
.hero-search button { height: 54px; margin-left: 12px; padding: 0 23px; border: 0; background: var(--orange); color: white; font-size: 13px; font-weight: 600; }
.hero-search button span { margin-left: 18px; }
.trending { display: flex; align-items: center; gap: 9px; margin-top: 18px; font-size: 11px; }
.trending > span { margin-right: 3px; color: #718092; }
.trending button { padding: 6px 11px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #bac4ce; font-size: 11px; }
.trending button:hover { border-color: var(--orange); color: white; }
.workspace { width: min(1180px, 91vw); margin: 0 auto; padding: 76px 0 110px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 27px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 12px 0 0; font-family: var(--serif); font-size: clamp(40px, 5vw, 52px); line-height: 1; font-weight: 500; letter-spacing: -.03em; }
.heading-copy { color: var(--muted); font-size: 11px; line-height: 1.8; text-align: right; }
.heading-copy strong { color: var(--ink); font-size: 14px; }
.filter-panel { margin-top: 28px; border: 1px solid var(--line); background: rgba(255,255,255,.28); }
.filter-panel-head { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 17px; border-bottom: 1px solid var(--line); }
.filter-panel-head > div { display: flex; align-items: baseline; gap: 10px; }
.filter-panel-head span { color: var(--orange); font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.filter-panel-head strong { font-family: var(--serif); font-size: 19px; font-weight: 500; }
.filter-panel-head button { padding: 7px 10px; border: 0; background: transparent; color: var(--muted); font-size: 10px; }
.filter-panel-head button:hover { color: var(--orange); }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 0; }
.filter-select { min-width: 0; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-select > span { color: #8a8177; font-size: 9px; font-weight: 600; letter-spacing: .08em; }
.filter-select select { width: 100%; min-width: 0; height: 34px; padding: 0 28px 0 0; appearance: none; border: 0; background: transparent; color: var(--ink); outline: 0; font-size: 11px; font-weight: 600; text-overflow: ellipsis; }
.filter-select svg { width: 16px; position: absolute; right: 15px; bottom: 23px; fill: none; stroke: currentColor; pointer-events: none; }
.filter-select:focus-within { background: var(--white); box-shadow: inset 0 -2px 0 var(--orange); }
.broker-filter { background: rgba(255,112,67,.045); }
#brokerFilterWrap[hidden] { display: none !important; }
.active-filters { min-height: 43px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 8px 16px; }
.active-filters span { padding: 5px 8px; background: var(--paper-2); color: var(--muted); font-size: 9px; }
.active-filters .active-chip { background: var(--ink); color: white; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 25px 0 12px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.demo-label { color: #9b9388; }
.report-list { border-top: 1px solid var(--line); }
.report-card { min-height: 146px; display: grid; grid-template-columns: 76px minmax(0,1fr) 150px; gap: 24px; align-items: center; padding: 24px 18px 24px 0; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.report-card:hover { padding-left: 18px; background: var(--white); }
.bank-monogram { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid currentColor; color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.bank-monogram[data-tone="blue"] { color: #477aa1; }
.bank-monogram[data-tone="green"] { color: #4b8f76; }
.bank-monogram[data-tone="violet"] { color: #7c6ca5; }
.bank-name { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.new-tag { padding: 2px 5px; background: var(--orange-soft); color: #b64e2e; font-size: 7px; font-weight: 700; }
.report-title { display: block; max-width: 780px; padding: 0; border: 0; background: none; color: var(--ink); font-family: var(--serif); font-size: 23px; line-height: 1.18; text-align: left; }
.report-title:hover { color: var(--orange); }
.report-title small { display: inline-block; margin-top: 7px; color: #65717d; font-family: var(--sans); font-size: 10px; line-height: 1.5; }
.report-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 13px; color: #7a838b; font-size: 9px; }
.report-meta span { display: flex; align-items: center; gap: 5px; }
.report-meta svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.report-actions { display: flex; align-items: center; justify-content: flex-end; gap: 17px; }
.bookmark-button { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--muted); }
.bookmark-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.bookmark-button.active { color: var(--orange); border-color: var(--orange); }
.report-format { min-width: 72px; color: #7a838b; font-size: 8px; letter-spacing: .12em; text-align: right; }
.load-more { width: 100%; height: 52px; margin-top: 28px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.load-more:hover { background: var(--ink); color: white; }
.load-more span { margin-left: 10px; }
.empty-state { padding: 72px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.empty-state span { font-family: var(--serif); font-size: 26px; }
.empty-state p { color: var(--muted); font-size: 12px; }

footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding: 58px 4.5vw 24px; background: var(--navy); color: white; }
.footer-brand { align-self: start; }
footer p { margin: 0; color: #82909e; font-size: 12px; line-height: 1.8; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 18px; color: #a8b1bb; font-size: 11px; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: #5f6f7f; font-size: 8px; letter-spacing: .12em; }

.report-modal { width: min(720px, 92vw); max-height: 86vh; padding: 0; border: 0; background: var(--white); color: var(--ink); }
.report-modal::backdrop { background: rgba(6,17,29,.76); backdrop-filter: blur(5px); }
.modal-shell { position: relative; padding: 48px; }
.modal-close { position: absolute; top: 17px; right: 20px; border: 0; background: transparent; color: var(--ink); font-size: 26px; }
.modal-bank { color: var(--orange); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.modal-shell h2 { margin: 18px 0 13px; font-family: var(--serif); font-size: 38px; line-height: 1.08; font-weight: 500; }
.modal-meta { padding-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.7; }
.summary-badge { display: inline-block; margin-top: 27px; padding: 5px 8px; background: var(--orange-soft); color: #af4d30; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.modal-shell h3 { margin: 18px 0 12px; font-family: var(--serif); font-size: 25px; }
.modal-shell ul { margin: 0; padding-left: 19px; }
.modal-shell li, .modal-shell p { color: #596570; font-size: 12px; line-height: 1.75; }
.modal-actions { display: flex; gap: 10px; margin-top: 28px; }
.modal-actions button { padding: 11px 17px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 11px; }
.modal-actions button:first-child { background: var(--ink); color: white; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 50; padding: 11px 18px; background: var(--ink); color: white; font-size: 11px; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav { position: absolute; top: 76px; left: 0; right: 0; height: auto; display: none; flex-direction: column; gap: 0; padding: 14px 4.5vw; background: var(--paper); border-bottom: 1px solid var(--line); }
  .primary-nav a { height: 46px; }
  .primary-nav a::after { display: none; }
  .site-header.menu-open .primary-nav { display: flex; }
  .menu-button { display: block; }
  .saved-button { display: none; }
}

@media (max-width: 780px) {
  .site-header { height: 66px; padding: 0 5vw; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 7px; }
  .brand-mark { width: 34px; height: 34px; }
  .primary-nav { top: 66px; }
  .hero { min-height: 620px; }
  .hero-inner { padding-top: 58px; }
  .hero h1 { font-size: 48px; }
  .desktop-only { display: none; }
  .hero-search { height: auto; min-height: 62px; padding: 7px 7px 7px 16px; }
  .hero-search kbd { display: none; }
  .hero-search button { padding: 0 14px; white-space: nowrap; }
  .hero-search button span { display: none; }
  .trending { flex-wrap: wrap; }
  .workspace { padding: 62px 0 80px; }
  .section-heading { align-items: flex-start; gap: 20px; }
  .section-heading h2 { font-size: 38px; }
  .heading-copy { max-width: 130px; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .report-card { grid-template-columns: 52px minmax(0,1fr); gap: 15px; padding-right: 0; }
  .report-card:hover { padding-left: 0; }
  .bank-monogram { width: 46px; height: 46px; }
  .report-title { font-size: 20px; }
  .report-actions { grid-column: 2; justify-content: flex-start; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .modal-shell { padding: 40px 24px 28px; }
  .modal-shell h2 { font-size: 30px; }
}

@media (max-width: 480px) {
  .header-actions .icon-button { display: none; }
  .hero h1 { font-size: 41px; }
  .hero-inner > p { font-size: 13px; }
  .hero-search input { font-size: 12px; }
  .section-heading { display: block; }
  .heading-copy { max-width: none; margin-top: 18px; text-align: left; }
  .filter-grid { grid-template-columns: 1fr; }
  .filter-select { border-right: 0; }
  .demo-label { display: none; }
  .footer-bottom { display: block; line-height: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
