/* No remote font dependency; use the local system font stack below. */

:root {
  color-scheme: light;
  --ink: #173047;
  --ink-strong: #10283d;
  --muted: #536b80;
  --muted-soft: #71869a;
  --blue: #164e8a;
  --blue-deep: #0d3d70;
  --blue-mid: #2c6caa;
  --blue-light: #eaf4fc;
  --blue-pale: #f4f9fe;
  --line: rgba(39, 83, 122, .16);
  --surface: rgba(255, 255, 255, .93);
  --surface-strong: rgba(255, 255, 255, .97);
  --surface-blue: rgba(242, 249, 255, .94);
  --shadow-sm: 0 6px 20px rgba(28, 65, 99, .055);
  --shadow-md: 0 16px 45px rgba(28, 65, 99, .09);
  --radius-sm: 9px;
  --radius-md: 15px;
  --radius-lg: 22px;
  --content-width: 1220px;
  --heading-font: Georgia, 'Times New Roman', serif;
  --body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.55;
  background-color: #e8f3fc;
  background-image:
    linear-gradient(180deg, rgba(230, 245, 255, .60) 0%, rgba(240, 248, 254, .78) 34%, rgba(249, 252, 255, .91) 74%, rgba(241, 248, 253, .94) 100%),
    url('/manus-storage/purebrief-blue-background_69d2d6b9.jpg');
  background-attachment: fixed;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #2787d5;
  outline-offset: 3px;
}
::selection { color: #0f3150; background: #bce3fa; }

.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;
}
.skip-link {
  position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-160%);
  padding: 10px 14px; color: #fff; background: var(--blue-deep); border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }
.app-shell { min-height: 100vh; }
.initial-loader { max-width: var(--content-width); margin: 5rem auto; padding: 2rem; color: var(--muted); text-align: center; }

/* Sticky editorial masthead */
.site-header {
  position: sticky; z-index: 30; top: 0;
  background: rgba(250, 253, 255, .91);
  border-bottom: 1px solid rgba(31, 78, 121, .14);
  box-shadow: 0 4px 22px rgba(23, 56, 84, .045);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.header-main, .header-nav-row {
  width: min(calc(100% - 44px), var(--content-width)); margin: 0 auto;
}
.header-main {
  min-height: 73px; display: grid; grid-template-columns: 245px minmax(300px, 1fr);
  align-items: center; gap: 38px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--blue); }
.brand-mark {
  display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center;
  color: #fff; background: var(--blue); border-radius: 11px; box-shadow: 0 5px 12px rgba(22, 78, 138, .18);
}
.brand-mark svg { width: 33px; height: 33px; }
.brand-word { display: block; color: var(--ink-strong); font-size: 21px; font-weight: 740; letter-spacing: -.8px; line-height: 1.03; white-space: nowrap; }
.brand-word > span { display: inline; }
.brand-word > span::first-letter { color: var(--blue); }
.brand-word small { display: block; margin-top: 4px; color: #73869a; font-size: 8px; font-weight: 750; letter-spacing: 1.25px; }
.header-search { width: min(100%, 560px); justify-self: end; }
.search-box { position: relative; display: flex; align-items: center; min-height: 43px; padding: 4px 5px 4px 15px; background: rgba(255,255,255,.89); border: 1px solid rgba(28, 82, 130, .2); border-radius: 10px; box-shadow: 0 2px 8px rgba(29, 66, 97, .03); }
.search-box:focus-within { border-color: #5b9ad1; box-shadow: 0 0 0 3px rgba(51, 128, 190, .12); }
.search-icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: #64819b; stroke-width: 1.8; }
.search-box input { min-width: 0; width: 100%; height: 34px; padding: 0 11px; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 13px; }
.search-box input::placeholder { color: #70869a; opacity: 1; }
.search-submit { display: inline-flex; align-items: center; gap: 8px; min-height: 33px; padding: 0 11px; color: white; background: var(--blue); border: 0; border-radius: 7px; cursor: pointer; font-size: 12px; font-weight: 690; transition: background .18s ease, transform .18s ease; }
.search-submit:hover { background: var(--blue-deep); transform: translateY(-1px); }
.search-submit kbd { display: inline-grid; width: 17px; height: 17px; place-items: center; color: #d7e9f7; border: 1px solid rgba(255,255,255,.42); border-radius: 4px; font-family: var(--body-font); font-size: 10px; }
.suggestions { position: absolute; z-index: 50; top: calc(100% + 8px); right: 0; left: 0; overflow: hidden; padding: 5px; background: var(--surface-strong); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); }
.suggestions[hidden] { display: none; }
.suggestion-option { display: flex; width: 100%; align-items: center; gap: 12px; padding: 10px; text-align: left; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.suggestion-option:hover, .suggestion-option[aria-selected="true"] { background: var(--blue-light); }
.suggestion-symbol { display: grid; width: 53px; min-height: 34px; flex: 0 0 auto; place-items: center; color: var(--blue); background: #edf6fd; border: 1px solid #d9eaf7; border-radius: 6px; font-size: 12px; font-weight: 780; }
.suggestion-info { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 2px; }
.suggestion-info strong { overflow: hidden; color: var(--ink-strong); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.suggestion-info small { color: var(--muted); font-size: 11px; }
.suggestion-arrow { color: #64819b; }
.suggestion-empty { padding: 13px; color: var(--muted); font-size: 13px; }
.header-nav-row { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(31, 78, 121, .08); }
.primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
.nav-link { position: relative; display: inline-flex; align-items: center; min-height: 41px; color: #536b80; font-size: 12px; font-weight: 640; transition: color .16s ease; }
.nav-link:hover, .nav-link.is-current { color: var(--blue); }
.nav-link.is-current::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #2773ae; content: ''; }
.timezone-note { color: #72889c; font-size: 10px; white-space: nowrap; }

/* Demo state, always visible */
.demo-banner {
  display: flex; width: min(calc(100% - 44px), var(--content-width)); min-height: 58px; align-items: center; gap: 13px;
  margin: 24px auto 0; padding: 11px 16px; color: #164b78; background: rgba(233, 246, 255, .94);
  border: 1px solid rgba(66, 139, 196, .22); border-radius: 12px; box-shadow: 0 4px 15px rgba(33, 90, 136, .05);
}
.demo-pulse { width: 9px; height: 9px; flex: 0 0 auto; background: #3182bd; border-radius: 50%; box-shadow: 0 0 0 4px rgba(49,130,189,.12); }
.demo-banner > div { display: flex; min-width: 0; flex-direction: column; line-height: 1.35; }
.demo-banner strong { color: #153e62; font-size: 12px; font-weight: 780; }
.demo-banner > div > span { margin-top: 3px; color: #4e6c86; font-size: 11px; }
.demo-status { margin-left: auto; padding: 6px 9px; color: #426984; background: rgba(255,255,255,.66); border: 1px solid rgba(61,119,162,.15); border-radius: 5px; font-size: 9px; font-weight: 780; letter-spacing: .75px; white-space: nowrap; }

.page-main, .site-footer { width: min(calc(100% - 44px), var(--content-width)); margin-right: auto; margin-left: auto; }
.front-page { display: grid; grid-template-columns: minmax(270px, .68fr) minmax(0, 1.32fr); gap: clamp(28px, 5.2vw, 72px); align-items: start; padding: 49px 0 57px; }
.front-copy { position: sticky; top: 160px; padding: 26px 0 18px; }
.kicker, .eyebrow, .section-label { margin: 0; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.kicker { display: flex; align-items: center; gap: 9px; }
.kicker-mark { width: 8px; height: 8px; background: #46a3d4; border-radius: 2px; transform: rotate(45deg); }
.front-copy h1, .route-heading h1 { margin: 18px 0 17px; color: #143550; font-family: var(--heading-font); font-size: clamp(42px, 5vw, 66px); font-weight: 500; letter-spacing: -2.1px; line-height: 1.04; }
.front-copy h1 em { color: #246c9e; font-weight: 400; }
.front-description { max-width: 410px; margin: 0; color: #3f5d76; font-size: 16px; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; padding: 0 0 4px; color: var(--blue); border-bottom: 1px solid rgba(22,78,138,.35); font-size: 13px; font-weight: 730; }
.text-link span { font-size: 17px; transition: transform .16s ease; }
.text-link:hover span { transform: translateY(3px); }
.front-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 51px; color: #5e7489; font-size: 11px; line-height: 1.7; }
.note-rule { width: 25px; height: 1px; flex: 0 0 auto; margin-top: 8px; background: #4789b5; }
.front-stories { min-width: 0; }
.section-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 9px; letter-spacing: 1.3px; }
.section-label > span { color: #7790a4; font-size: 8px; letter-spacing: 1px; }
.story-card { position: relative; padding: 21px 21px 18px; background: var(--surface); border: 1px solid rgba(38, 82, 119, .14); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.story-card:hover { border-color: rgba(39, 111, 169, .34); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.story-card-feature { padding: 27px 27px 20px; border-top: 3px solid #4b9aca; }
.story-eyebrow { display: flex; align-items: center; gap: 9px; color: #70879a; font-size: 9px; font-weight: 740; letter-spacing: 1px; text-transform: uppercase; }
.story-type { color: var(--blue); }
.eyebrow-divider { width: 3px; height: 3px; background: #91a9bb; border-radius: 50%; }
.story-card h3 { max-width: 680px; margin: 11px 0 8px; color: #193b57; font-family: var(--heading-font); font-size: clamp(19px, 2vw, 25px); font-weight: 500; letter-spacing: -.3px; line-height: 1.24; }
.story-card-feature h3 { font-size: clamp(25px, 3vw, 35px); line-height: 1.17; }
.story-summary { margin: 0; color: #536a7e; font-size: 13px; line-height: 1.7; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; color: #667d91; font-size: 10px; }
.source-name { color: #355b7a; font-weight: 720; }
.source-name b { color: #7c90a2; font-weight: 600; }
.story-meta time { display: inline-flex; align-items: center; gap: 6px; }
.story-meta time::before { width: 4px; height: 4px; background: #96aabd; border-radius: 50%; content: ''; }
.story-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; margin-top: 13px; }
.story-tags, .asset-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.inline-tag { padding: 3px 7px; color: #4c6d87; background: #f0f6fb; border: 1px solid #e1edf6; border-radius: 5px; cursor: pointer; font-size: 9px; line-height: 1.3; }
.inline-tag:hover { color: var(--blue); background: #e5f2fc; }
.ticker-pill { padding: 3px 7px; color: #215d91; background: #eef7fd; border: 1px solid #d8eaf7; border-radius: 5px; font-size: 9px; font-weight: 780; }
.ticker-pill:hover { background: #dceefa; }
.read-original { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; padding: 0; color: var(--blue); background: none; border: 0; cursor: pointer; font-size: 11px; font-weight: 760; }
.read-original span { font-size: 13px; }
.read-original:hover { color: #0c3761; text-decoration: underline; }
.update-note { margin: 10px 0 0; color: #70869a; font-size: 10px; }
.side-stories { margin-top: 24px; padding: 17px 20px 2px; background: rgba(249, 252, 255, .75); border: 1px solid rgba(40, 83, 120, .13); border-radius: 14px; }
.side-story { display: grid; gap: 5px; padding: 13px 0 14px; border-top: 1px solid rgba(39,83,122,.11); }
.side-story-topic { color: #2d79ab; font-size: 9px; font-weight: 770; letter-spacing: .75px; text-transform: uppercase; }
.side-story strong { color: #284a65; font-family: var(--heading-font); font-size: 17px; font-weight: 500; line-height: 1.27; }
.side-story:hover strong { color: var(--blue); }
.side-story-meta { color: #8396a7; font-size: 8px; font-weight: 700; letter-spacing: .75px; }

.content-section { padding: 32px 0 42px; border-top: 1px solid rgba(34, 79, 116, .17); }
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.eyebrow { color: #5a7c97; font-size: 9px; letter-spacing: 1.5px; }
.eyebrow-dot { display: inline-block; width: 5px; height: 5px; margin: 0 4px 1px; background: #63a9d1; border-radius: 50%; }
.section-title-row h2, .data-note h2 { margin: 5px 0 0; color: #173b57; font-family: var(--heading-font); font-size: clamp(28px, 3vw, 38px); font-weight: 500; letter-spacing: -.7px; line-height: 1.12; }
.section-intro { max-width: 380px; margin: 0; color: #60778b; font-size: 11px; line-height: 1.65; text-align: right; }
.filter-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 13px; background: rgba(248, 252, 255, .82); border: 1px solid rgba(39, 83, 122, .13); border-radius: 11px; }
.filter-scroll { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.filter-button { min-height: 31px; padding: 5px 10px; color: #5c7388; background: transparent; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-size: 10px; font-weight: 700; }
.filter-button:hover { color: var(--blue); background: #edf6fc; }
.filter-button.is-active { color: #fff; background: var(--blue); border-color: var(--blue); }
.sort-select-label { flex: 0 0 auto; }
.sort-select { min-height: 33px; max-width: 190px; padding: 0 29px 0 10px; color: #42627d; background: #fff; border: 1px solid rgba(39,83,122,.16); border-radius: 7px; cursor: pointer; font-size: 10px; }
.topic-filter { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 20px; }
.topic-chip { min-height: 28px; padding: 4px 10px; color: #55728b; background: rgba(255,255,255,.74); border: 1px solid rgba(45,94,135,.16); border-radius: 20px; cursor: pointer; font-size: 10px; font-weight: 640; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.topic-chip:hover, .topic-chip.is-selected { color: #174d7e; background: #e3f1fb; border-color: #b5d5eb; }
.story-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.story-list .story-card { min-width: 0; }
.empty-state { display: flex; min-height: 210px; flex-direction: column; align-items: center; justify-content: center; padding: 28px; color: var(--muted); text-align: center; background: rgba(255,255,255,.82); border: 1px dashed rgba(46, 96, 137, .25); border-radius: var(--radius-md); }
.empty-icon { display: grid; width: 36px; height: 36px; place-items: center; color: #4281ae; background: #eaf5fd; border-radius: 50%; font-size: 25px; }
.empty-state h3 { margin: 12px 0 5px; color: #264a65; font-family: var(--heading-font); font-size: 21px; font-weight: 500; }
.empty-state p { max-width: 450px; margin: 0; font-size: 12px; }
.primary-button { display: inline-flex; min-height: 40px; align-items: center; margin: 18px 0; padding: 0 14px; color: #fff; background: var(--blue); border-radius: 8px; font-size: 12px; font-weight: 720; }

/* Topic sections */
.themes-section { padding-top: 35px; }
.section-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.section-preview { min-width: 0; padding: 20px; background: var(--surface); border: 1px solid rgba(38,82,119,.14); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.preview-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.preview-head .eyebrow { margin: 0; }
.preview-head h3 { margin: 6px 0 0; color: #193e5b; font-family: var(--heading-font); font-size: 21px; font-weight: 500; line-height: 1.2; }
.view-all { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; padding-top: 4px; color: var(--blue); font-size: 10px; font-weight: 750; }
.view-all:hover { text-decoration: underline; }
.preview-description { min-height: 38px; margin: 11px 0 9px; color: #647c90; font-size: 11px; line-height: 1.6; }
.preview-story { display: grid; gap: 5px; padding: 12px 0; border-top: 1px solid rgba(39,83,122,.11); }
.preview-story > span { color: #347dab; font-size: 9px; font-weight: 770; text-transform: uppercase; }
.preview-story strong { color: #2d4b65; font-family: var(--heading-font); font-size: 15px; font-weight: 500; line-height: 1.32; }
.preview-story:hover strong { color: var(--blue); }
.featured-section { padding-top: 35px; }
.featured-topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.featured-topic { position: relative; display: flex; min-height: 160px; flex-direction: column; align-items: flex-start; padding: 17px; text-align: left; background: rgba(247, 252, 255, .88); border: 1px solid rgba(37, 89, 132, .17); border-radius: 13px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.featured-topic:hover { border-color: #95bfde; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.topic-index { position: absolute; top: 12px; right: 13px; color: #a3b8c9; font-family: var(--heading-font); font-size: 18px; }
.featured-topic-label { margin-bottom: 9px; color: #69859b; font-size: 8px; font-weight: 770; letter-spacing: .85px; }
.featured-topic strong { color: #1d4f75; font-family: var(--heading-font); font-size: 20px; font-weight: 500; }
.featured-topic-copy { margin-top: 8px; color: #5e768a; font-size: 10px; line-height: 1.5; }
.topic-arrow { position: absolute; right: 14px; bottom: 12px; color: #477da4; }
.data-note { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 16px; margin: 9px 0 50px; padding: 20px 23px; background: rgba(232, 245, 254, .88); border: 1px solid rgba(47, 112, 162, .22); border-radius: 15px; }
.data-note-mark { display: grid; width: 42px; height: 42px; place-items: center; color: #fff; background: #3579ad; border-radius: 11px; font-family: var(--heading-font); font-size: 18px; font-weight: 700; }
.data-note .eyebrow { margin: 0; }
.data-note h2 { margin-top: 4px; font-size: 24px; }
.data-note p:not(.eyebrow) { max-width: 760px; margin: 7px 0 0; color: #4e6c84; font-size: 11px; line-height: 1.65; }
.data-note-status { padding: 7px 9px; color: #326789; background: rgba(255,255,255,.65); border: 1px solid rgba(44,113,164,.18); border-radius: 5px; font-size: 8px; font-weight: 800; letter-spacing: 1px; white-space: nowrap; }

/* Category and security result pages */
.route-main { min-height: 58vh; padding-top: 27px; }
.back-link { display: inline-flex; align-items: center; margin: 0 0 19px; color: #52738c; font-size: 11px; font-weight: 680; }
.back-link:hover { color: var(--blue); }
.route-heading { position: relative; overflow: hidden; margin-bottom: 31px; padding: 33px 37px 31px; background: rgba(247, 252, 255, .88); border: 1px solid rgba(41,91,133,.15); border-left: 3px solid #4b99c8; border-radius: 0 16px 16px 0; box-shadow: var(--shadow-sm); }
.route-heading::after { position: absolute; top: -45px; right: -18px; width: 220px; height: 220px; border: 1px solid rgba(66,137,187,.15); border-radius: 50%; box-shadow: 0 0 0 24px rgba(66,137,187,.035), 0 0 0 48px rgba(66,137,187,.025); content: ''; pointer-events: none; }
.route-heading h1 { position: relative; z-index: 1; margin: 8px 0 7px; font-size: clamp(34px, 4vw, 50px); }
.route-heading > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 700px; margin: 0; color: #536f85; font-size: 14px; }
.route-disclosure { display: inline-flex; margin-top: 19px; padding: 5px 9px; color: #426e8c; background: #e9f4fc; border: 1px solid #d4e8f6; border-radius: 4px; font-size: 8px; font-weight: 780; letter-spacing: .8px; }
.route-news { padding-top: 28px; }
.topic-directory { padding: 25px 0 38px; border-top: 1px solid var(--line); }
.topic-directory .topic-filter { margin-bottom: 0; }
.stock-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; padding: 28px 32px; background: rgba(247,252,255,.89); border: 1px solid rgba(41,91,133,.15); border-radius: 16px; box-shadow: var(--shadow-sm); }
.stock-heading h1 { margin: 6px 0 4px; color: #173d59; font-family: var(--heading-font); font-size: clamp(29px, 4vw, 45px); font-weight: 500; letter-spacing: -.9px; line-height: 1.12; }
.stock-exchange { margin: 0; color: #59748b; font-size: 12px; font-weight: 660; }
.stock-exchange span { margin: 0 5px; color: #91a8bb; }
.stock-no-price { padding: 9px 11px; color: #6b8295; background: rgba(255,255,255,.8); border: 1px solid rgba(44,92,132,.14); border-radius: 6px; font-size: 8px; font-weight: 780; letter-spacing: .8px; line-height: 1.55; text-align: center; }
.stock-control-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; margin-bottom: 25px; }
.stock-control-row > div .filter-toolbar { justify-content: flex-end; padding: 7px 10px; }
.stock-control-row > div .filter-scroll { display: none; }
.stock-control-row > div .sort-select-label { margin-left: auto; }
.stock-control-row > p { max-width: 365px; margin: 0; color: #657b8e; font-size: 10px; text-align: right; }
.stock-results { padding-top: 25px; }
.stock-results .story-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.industry-results { margin-bottom: 22px; }

/* Footer, disclosure dialog and status message */
.site-footer { display: grid; grid-template-columns: 1.2fr .75fr 1fr 1fr; gap: 35px; padding: 33px 0 20px; border-top: 1px solid rgba(34,79,116,.19); }
.footer-brand .brand { margin-bottom: 10px; }
.footer-brand .brand-word { display: block; font-size: 20px; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-brand p, .footer-column p { margin: 6px 0; color: #627a8e; font-size: 10px; line-height: 1.65; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-column > strong { margin-bottom: 3px; color: #274c68; font-size: 10px; font-weight: 780; letter-spacing: .7px; text-transform: uppercase; }
.footer-column > a, .footer-link-button { padding: 0; color: #5a748a; background: none; border: 0; cursor: pointer; font-size: 10px; line-height: 1.55; text-align: left; }
.footer-column > a:hover, .footer-link-button:hover { color: var(--blue); text-decoration: underline; }
.footer-bottom { display: flex; grid-column: 1 / -1; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 15px; padding-top: 14px; color: #72879a; border-top: 1px solid rgba(34,79,116,.13); font-size: 9px; }
.toast { position: fixed; z-index: 80; right: 20px; bottom: 20px; max-width: min(420px, calc(100vw - 40px)); padding: 13px 16px; color: #fff; background: #173f61; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; box-shadow: 0 12px 30px rgba(18,47,70,.24); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.info-dialog { width: min(540px, calc(100vw - 28px)); padding: 22px 25px 25px; color: var(--ink); background: #fbfdff; border: 1px solid rgba(36,84,125,.2); border-radius: 16px; box-shadow: 0 24px 80px rgba(15,45,70,.28); }
.info-dialog::backdrop { background: rgba(18,43,63,.35); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dialog-close-row { display: flex; justify-content: flex-end; margin: -8px -10px 3px; }
.icon-button { width: 32px; height: 32px; color: #54718a; background: transparent; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 20px; line-height: 1; }
.info-dialog h2 { margin: 0; color: #183e5b; font-family: var(--heading-font); font-size: 28px; font-weight: 500; }
.info-dialog p { color: #526c81; font-size: 13px; line-height: 1.7; }

@media (max-width: 1000px) {
  .header-main { grid-template-columns: 200px minmax(270px,1fr); gap: 20px; }
  .primary-nav { gap: 17px; }
  .timezone-note { display: none; }
  .front-page { grid-template-columns: minmax(235px,.65fr) minmax(0,1.35fr); gap: 30px; }
  .front-copy { top: 145px; }
  .section-preview-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section-preview:last-child { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  body {
    background-attachment: scroll;
    background-position: center top;
    background-size: auto 100vh, 100% auto;
  }
  .header-main, .header-nav-row, .page-main, .site-footer { width: min(calc(100% - 28px), var(--content-width)); }
  .header-main { grid-template-columns: 1fr; gap: 9px; padding: 11px 0 10px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 9px; }
  .brand-word { font-size: 19px; }
  .brand-word small { display: none; }
  .header-search { width: 100%; justify-self: stretch; }
  .search-box { min-height: 42px; }
  .header-nav-row { min-height: 40px; align-items: flex-start; padding: 0 0 4px; }
  .primary-nav { width: 100%; justify-content: space-between; gap: 3px 12px; }
  .nav-link { min-height: 35px; font-size: 10px; }
  .demo-banner { width: min(calc(100% - 28px), var(--content-width)); align-items: flex-start; margin-top: 15px; padding: 11px; }
  .demo-banner > div > span { max-width: 245px; font-size: 10px; }
  .demo-status { align-self: center; padding: 5px 6px; font-size: 7px; letter-spacing: .35px; }
  .front-page { grid-template-columns: 1fr; gap: 26px; padding: 30px 0 38px; }
  .front-copy { position: static; padding: 8px 3px 0; }
  .front-copy h1 { margin-top: 13px; font-size: clamp(41px, 11vw, 56px); }
  .front-description { max-width: 520px; font-size: 14px; }
  .front-note { margin-top: 23px; }
  .story-card-feature { padding: 20px 18px 17px; }
  .story-card-feature h3 { font-size: 27px; }
  .side-stories { margin-top: 17px; }
  .content-section { padding: 26px 0 33px; }
  .section-title-row { align-items: flex-start; flex-direction: column; gap: 7px; margin-bottom: 15px; }
  .section-title-row h2 { font-size: 30px; }
  .section-intro { max-width: 560px; text-align: left; }
  .filter-toolbar { align-items: flex-start; flex-direction: column; }
  .filter-scroll { gap: 4px; }
  .filter-button { min-height: 29px; padding: 4px 8px; font-size: 9px; }
  .sort-select { max-width: 100%; }
  .story-list, .stock-results .story-list { grid-template-columns: 1fr; }
  .story-card { padding: 18px 17px 16px; }
  .story-card h3 { font-size: 22px; }
  .section-preview-grid { grid-template-columns: 1fr; }
  .section-preview:last-child { grid-column: auto; }
  .preview-description { min-height: 0; }
  .featured-topic-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .featured-topic { min-height: 158px; padding: 14px; }
  .featured-topic strong { font-size: 18px; }
  .data-note { grid-template-columns: 36px minmax(0,1fr); gap: 12px; margin-bottom: 35px; padding: 16px; }
  .data-note-mark { width: 36px; height: 36px; font-size: 15px; }
  .data-note h2 { font-size: 21px; }
  .data-note-status { grid-column: 2; width: fit-content; }
  .route-main { padding-top: 20px; }
  .route-heading { padding: 26px 22px; }
  .route-heading h1 { font-size: 36px; }
  .stock-heading { align-items: flex-start; padding: 22px 19px; }
  .stock-heading h1 { font-size: clamp(25px, 7vw, 35px); }
  .stock-no-price { font-size: 7px; }
  .stock-control-row { grid-template-columns: 1fr; }
  .stock-control-row > p { text-align: left; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 24px 18px; padding-top: 25px; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}

@media (max-width: 410px) {
  .primary-nav { justify-content: flex-start; gap: 0 12px; }
  .nav-link { font-size: 9px; }
  .demo-status { max-width: 87px; white-space: normal; text-align: center; }
  .featured-topic-grid { grid-template-columns: 1fr; }
  .featured-topic { min-height: 135px; }
  .stock-heading { gap: 10px; padding: 19px 14px; }
  .stock-no-price { padding: 7px; }
  .site-footer { grid-template-columns: 1fr; }
}

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

/* Editorial, commercial-disclosure and prototype privacy pages */
.information-main { padding-bottom: 35px; }
.information-heading { margin-bottom: 14px; }
.information-list { display: grid; gap: 12px; padding-bottom: 42px; }
.information-card {
  padding: 22px 25px; background: var(--surface); border: 1px solid rgba(38, 82, 119, .14);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.information-card.is-highlighted { border-left: 3px solid #4b99c8; }
.information-card h2 { margin: 0 0 9px; color: #1b405d; font-family: var(--heading-font); font-size: 22px; font-weight: 500; }
.information-card p { max-width: 900px; margin: 8px 0; color: #526d82; font-size: 12px; line-height: 1.75; }
.information-card p:last-child { margin-bottom: 0; }
.stock-exchange-note { margin: 5px 0 0; color: #6d8396; font-size: 10px; }

@media (max-width: 700px) {
  .information-main { padding-bottom: 20px; }
  .information-list { gap: 10px; padding-bottom: 30px; }
  .information-card { padding: 18px 17px; }
  .information-card h2 { font-size: 20px; }
}
