:root {
    /* Aliases of the shared palette in app-shell.css, in the names this page uses. */
    --ink: var(--rwa-ink);
    --muted: var(--rwa-muted);
    --paper: var(--rwa-paper);
    --panel: var(--rwa-panel);
    --line: var(--rwa-line);
    --violet: var(--rwa-cobalt);
    --violet-dark: var(--rwa-cobalt-dark);
    --violet-soft: var(--rwa-cobalt-soft);
    --pink: var(--rwa-coral);
    --accent-text: var(--rwa-coral-text);
    --green: var(--rwa-green);
    --shadow: var(--rwa-shadow);
    /* The dark bands (research story, follow, workspace call): navy in both themes. */
    --band-bg: #172033;
    --band-text: #c9d0de;
    --band-accent: #b9c6ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(circle at 82% 8%, rgba(49, 84, 216, 0.13), transparent 27rem),
        linear-gradient(180deg, #fbfaf6 0, var(--paper) 38rem);
    color: var(--ink);
}
a { color: inherit; }
.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; }

main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

/* Starts close under the header rule: the hero used to centre itself in a 650 px box below a 68 px pad. */
.hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr); align-items: start; gap: 72px; padding: 28px 0 72px; }
/* A decorative fleet behind the existing stock search and comparison. */
.hero[data-research-hero] { position: relative; isolation: isolate; padding-top: 38px; }
.research-backdrop { position: absolute; z-index: -1; top: 0; bottom: 24px; left: min(-20px, calc((1180px - 100vw) / 2)); right: min(-20px, calc((1180px - 100vw) / 2)); overflow: hidden; background: #071323; }
.research-backdrop video { display: block; width: 100%; height: 100%; object-fit: cover; }
.research-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,19,35,.82), rgba(7,19,35,.22) 75%), linear-gradient(0deg, rgba(7,19,35,.38), transparent 45%); }
.hero[data-research-hero] .hero-copy { color: #f0f4ff; }
.hero[data-research-hero] .hero-copy > .eyebrow { color: #c4d0f3; }
.hero[data-research-hero] h1 span { color: #abbcff; }
.hero[data-research-hero] .hero-lede, .hero[data-research-hero] .hero-proof { color: #c4d0e2; }
.hero[data-research-hero] #snapshotTokens { color: #f0f4ff; }
.hero[data-research-hero] .hero-actions .button { background: rgba(19,37,65,.94); color: #eef3ff; border-color: #7386b0; }
.hero[data-research-hero] .hero-actions .button-primary { background: #4764df; border-color: #8096ff; }
.hero[data-research-hero] .hero-actions .button-planets { border-color: #cbb576; }
.hero[data-research-hero] .hero-actions .button:hover { background: #294671; }
.research-backdrop-toggle { position: absolute; right: 0; top: 6px; z-index: 1; min-height: 28px; padding: 4px 10px; border: 1px solid #65768e; border-radius: 20px; background: #0d1b2de8; color: #d3deef; font: inherit; font-size: .65rem; cursor: pointer; }
.research-backdrop-toggle[hidden] { display: none; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; max-width: 680px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.4rem, 6.5vw, 6.1rem); font-weight: 500; letter-spacing: -.065em; line-height: .94; }
h1 span { color: var(--violet); }
.hero-lede { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: 1.14rem; line-height: 1.65; }
.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; margin-top: 30px; }
/* Equal tiles keep all four entry points aligned, including wrapped labels. */
.hero-actions .button { min-width: 0; min-height: 56px; padding: 12px 16px; text-align: center; text-wrap: balance; }
.hero-actions .button-primary { box-shadow: 0 10px 24px rgba(49,84,216,.2); }
/* The way into the universe view (universe.html), flagged as new. */
.button-planets { gap: 8px; border-color: var(--rwa-new-line); background: var(--rwa-new-soft); }
.button-planets:hover { border-color: var(--rwa-new); color: var(--rwa-ink); }
.hero-proof { display: flex; align-items: flex-start; gap: 8px; margin: 20px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.hero-proof .live-dot { flex: none; margin-top: .45em; }
#snapshotTokens { color: var(--ink); font-weight: 800; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(24,118,84,.12); }

.comparison-preview { min-width: 0; padding: 28px 30px 30px; border: 1px solid color-mix(in srgb, var(--violet) 26%, transparent); border-radius: 22px; background: color-mix(in srgb, var(--panel) 92%, transparent); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.preview-title-row { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.preview-title-row > div > span { display: inline-block; margin-bottom: 7px; padding: 4px 7px; border-radius: 5px; background: var(--violet-soft); color: var(--violet-dark); font-size: .7rem; font-weight: 850; letter-spacing: .06em; }
.preview-title-row h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
.preview-title-row > a { flex: 0 0 auto; margin-top: 4px; color: var(--violet-dark); font-size: .76rem; font-weight: 780; text-decoration: none; }
.preview-shared { margin: 22px 0 16px; color: var(--muted); font-size: .83rem; line-height: 1.55; }
.wrapper-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.wrapper-grid section { padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: color-mix(in srgb, var(--panel) 50%, transparent); }
.wrapper-grid section > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.wrapper-grid strong { font-size: 1rem; }
.wrapper-grid span { color: var(--muted); font-size: .68rem; }
.wrapper-grid p { margin: 18px 0 4px; font-size: .8rem; font-weight: 780; }
.wrapper-grid small { display: block; color: var(--muted); font-size: .69rem; line-height: 1.45; }
/* The site search is its own hero item (grid area "search", below): a box like the events box. */
.hero-search { grid-area: search; min-width: 0; margin: 0; padding: 16px 18px 18px; border: 1px solid color-mix(in srgb, var(--violet) 26%, transparent); border-radius: 16px; background: color-mix(in srgb, var(--panel) 92%, transparent); box-shadow: var(--shadow); }
.hero-search label { display: block; margin-bottom: 7px; color: var(--muted); font-size: .7rem; font-weight: 730; }
/* The input row; the results list below is a div of its own and must not be laid out as a row. */
.hero-search > div:not(.quick-results) { display: flex; }
.hero-search input { width: 100%; min-width: 0; height: 46px; padding: 0 13px; border: 1px solid var(--rwa-control-line); border-right: 0; border-radius: 8px 0 0 8px; background: var(--panel); color: var(--ink); font: inherit; font-size: .83rem; }
/* Search as you type (landing.js wireHeroSearch): the answer drops down under the box. */
.hero-search { position: relative; }
.quick-results { position: absolute; z-index: 20; left: 18px; right: 18px; top: calc(100% - 10px); max-height: min(60vh, 460px); overflow-y: auto; padding: 6px; border: 1px solid var(--rwa-control-line); border-radius: 12px; background: var(--panel); box-shadow: 0 18px 40px rgba(8,12,30,.28); }
.quick-results-title { margin: 8px 10px 4px; color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.quick-results a[role="option"] { display: flex; align-items: baseline; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.quick-results a[role="option"] strong { font-size: .86rem; white-space: nowrap; }
.quick-results a[role="option"] span { overflow: hidden; color: var(--muted); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.quick-results a[role="option"]:hover, .quick-results a[aria-selected="true"] { background: color-mix(in srgb, var(--violet) 14%, transparent); }
.quick-results-empty { margin: 10px; color: var(--muted); font-size: .8rem; }
.quick-results-all { display: block; margin-top: 4px; padding: 9px 10px; border-top: 1px solid var(--rwa-control-line); color: var(--violet); font-size: .78rem; font-weight: 750; text-decoration: none; }
.hero-search button { min-width: 82px; border: 1px solid var(--violet); border-radius: 0 8px 8px 0; background: var(--violet); color: var(--rwa-on-accent); font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
/* The night-watch metaphor stays separate from the comparison, charts and live status. */
.research-story { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 34px; align-items: center; margin: 0 0 36px; padding: 28px; border: 1px solid #294265; border-radius: 22px; background: var(--band-bg); color: #f1f5ff; scroll-margin-top: 24px; }
.research-story-copy { padding: 10px 6px; }
.research-story .eyebrow { color: var(--band-accent); }
.research-story h2 { margin: 0; font: 400 clamp(2rem, 3.2vw, 3.25rem)/1.06 Georgia, serif; letter-spacing: -.04em; }
.research-story-copy > p:last-of-type { margin: 22px 0; color: #d0dcef; font-size: .95rem; line-height: 1.7; }
.research-story a { color: #d7e4ff; text-underline-offset: 4px; }
.research-story nav { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .82rem; font-weight: 750; }
.research-story nav a { display: inline-flex; align-items: center; min-height: 44px; }
.research-story figure { min-width: 0; margin: 0; }
.research-story img { display: block; width: 100%; height: auto; border-radius: 12px; }
.research-story figcaption { margin-top: 12px; color: #b9cce8; font-size: .72rem; line-height: 1.5; }
@media (max-width: 760px) {
    .research-story { grid-template-columns: 1fr; gap: 22px; padding: 24px 18px 18px; }
    .research-story-copy { padding: 0; }
}
.chart-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 5; }
.chart-area { fill: url(#chartWash); }
.chart-line { fill: none; stroke: var(--violet); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart-dot { fill: var(--panel); stroke: var(--violet); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.chart-dot-event { stroke: var(--pink); }
.chart-event-line { stroke: var(--pink); stroke-width: 1; stroke-dasharray: 3 4; opacity: .65; vector-effect: non-scaling-stroke; }
.chart-axis, .chart-value { fill: var(--muted); font-size: 11px; font-family: inherit; }
.chart-value { fill: var(--ink); font-weight: 800; }
.chart-ranges { display: flex; justify-content: flex-end; gap: 5px; }
.chart-ranges[hidden] { display: none; }
.chart-ranges button { min-width: 42px; padding: 5px 8px; border: 1px solid var(--rwa-control-line); border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: .68rem; font-weight: 800; cursor: pointer; }
.chart-ranges button:hover, .chart-ranges button.active { border-color: var(--rwa-pressed-line); background: var(--rwa-pressed-bg); color: var(--rwa-pressed-text); }
.delta-list { display: flex; flex-wrap: wrap; gap: 7px; min-height: 27px; }
.delta-pill { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); font-size: .72rem; }
.delta-pill strong { color: var(--ink); }
.chart-caveat { margin: 14px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }

.signal-section, .trust-section, .positioning-section, .updates-section { padding: 88px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-heading h2, .trust-intro h2, .workspace-cta h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.section-heading > a { color: var(--violet-dark); font-size: .85rem; font-weight: 750; text-decoration: none; }
.signal-controls { display: grid; justify-items: end; gap: 7px; }
.signal-controls > span { color: var(--muted); font-size: .7rem; }
.signal-controls > a { color: var(--violet-dark); font-size: .78rem; font-weight: 750; text-decoration: none; }
.signal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.signal-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--panel) 72%, transparent); }
.signal-card header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.signal-card header p { margin: 0; color: var(--muted); font-size: .72rem; font-weight: 760; text-transform: uppercase; letter-spacing: .06em; }
.signal-card h3 { margin: 4px 0 0; font-size: 1.75rem; letter-spacing: -.04em; }
.signal-card header > span { color: var(--muted); font-size: .7rem; }
.signal-card > p { min-height: 58px; margin: 13px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.mini-chart { height: 112px; margin-top: 12px; }
.methodology { margin-top: 14px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: .78rem; }
.methodology summary { cursor: pointer; color: var(--ink); font-weight: 750; }
.methodology p { margin: 10px 0 0; line-height: 1.55; }

.trust-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: 72px; }
.trust-intro > p:last-child { color: var(--muted); line-height: 1.65; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.trust-grid a { min-height: 190px; padding: 21px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--panel) 64%, transparent); text-decoration: none; }
.trust-grid a:hover, .trust-grid a:focus-visible { border-color: var(--violet); background: var(--panel); }
.trust-grid span { color: var(--accent-text); font-size: .72rem; font-weight: 820; }
.trust-grid h3 { margin: 28px 0 8px; font-size: 1.05rem; }
.trust-grid p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }

.positioning-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); column-gap: 64px; align-items: end; margin-bottom: 34px; }
.positioning-intro .eyebrow { grid-column: 1 / -1; }
.positioning-intro h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 4.5vw, 4.6rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.positioning-intro > p:last-child { margin: 0 0 3px; color: var(--muted); line-height: 1.65; }
.positioning-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.positioning-grid article { display: flex; min-height: 310px; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--panel) 72%, transparent); }
.positioning-grid article.positioning-primary { --accent-text: #ffc9c2; border-color: var(--violet); background: var(--band-bg); color: white; box-shadow: 0 18px 44px rgba(34,45,76,.16); }
.positioning-label { margin: 0; color: var(--accent-text); font-size: .7rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.positioning-grid h3 { margin: 30px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 500; letter-spacing: -.025em; }
.positioning-grid article > p:not(.positioning-label) { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.65; }
.positioning-grid article.positioning-primary > p:not(.positioning-label) { color: var(--band-text); }
.positioning-grid article > a, .positioning-links { margin-top: auto; padding-top: 28px; }
.positioning-grid a { color: var(--violet-dark); font-size: .78rem; font-weight: 760; text-decoration: none; }
.positioning-grid .positioning-primary > a { color: #fff; }
.positioning-links { display: flex; flex-wrap: wrap; gap: 14px; }

.update-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.update-item { padding: 19px; border-top: 3px solid var(--violet); background: color-mix(in srgb, var(--panel) 72%, transparent); }
.update-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .68rem; }
.update-item h3 { margin: 16px 0 7px; font-size: .98rem; }
.update-item p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.update-item a { color: var(--violet-dark); }
.empty-state { color: var(--muted); }

.workspace-cta { margin: 70px 0 96px; padding: 38px 42px; display: flex; justify-content: space-between; align-items: center; gap: 36px; border-radius: 20px; background: var(--band-bg); color: white; }
.workspace-cta > div > p:last-child { max-width: 680px; margin-bottom: 0; color: var(--band-text); line-height: 1.55; }
.workspace-cta .eyebrow { color: var(--band-accent); }
.workspace-cta .button { flex: 0 0 auto; }
/* Entry points, sourced findings, monitoring cadence and the follow call (landing, 2026-09-24). */
.entry-section, .findings-section, .watch-section, .follow-section { padding: 88px 0; border-top: 1px solid var(--line); }
.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.entry-grid a { display: flex; flex-direction: column; min-height: 200px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: color-mix(in srgb, var(--panel) 72%, transparent); text-decoration: none; }
.entry-grid a:hover, .entry-grid a:focus-visible { border-color: var(--violet); background: var(--panel); }
.entry-grid span { color: var(--accent-text); font-size: .7rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.entry-grid h3 { margin: 22px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.entry-grid p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.entry-more, .section-note { margin: 18px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.entry-more a, .section-note a, .cadence-list a { color: var(--violet-dark); }
.finding-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.finding-grid article { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--pink); border-radius: 14px; background: var(--panel); }
.finding-kicker { margin: 0; color: var(--accent-text); font-size: .68rem; font-weight: 820; letter-spacing: .07em; text-transform: uppercase; }
.finding-grid h3 { margin: 16px 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.finding-grid article > p:not(.finding-kicker) { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.finding-grid article > a { margin-top: auto; padding-top: 20px; color: var(--violet-dark); font-size: .8rem; font-weight: 760; text-decoration: none; }
.cadence-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.cadence-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cadence { flex: none; align-self: flex-start; min-width: 64px; padding: 4px 8px; border-radius: 999px; background: var(--violet-soft); color: var(--violet-dark); font-size: .68rem; font-weight: 820; text-align: center; }
.cadence-list h3 { margin: 0 0 5px; font-size: .98rem; }
.cadence-list p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.follow-section { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; margin-bottom: 70px; padding: 40px 42px; border: 0; border-radius: 20px; background: var(--band-bg); color: white; }
.follow-section h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.follow-section .eyebrow { color: var(--band-accent); }
.follow-copy > p:last-child { margin-bottom: 0; color: var(--band-text); line-height: 1.6; }
.follow-actions { display: grid; gap: 10px; }
.follow-actions .button:not(.button-primary) { border-color: #59637f; background: transparent; color: white; }
/* On the navy band the cobalt fill keeps white text in both themes. */
.follow-actions .button-primary, .workspace-cta .button-primary { border-color: #3154d8; background: #3154d8; color: #fff; }

footer { display: flex; justify-content: space-between; gap: 30px; padding: 28px 0 42px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
footer p { max-width: 650px; margin: 0; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 24px; }
    .signal-grid { grid-template-columns: 1fr; }
    .signal-card > p { min-height: 0; }
    .trust-section { grid-template-columns: 1fr; gap: 30px; }
    .positioning-intro { grid-template-columns: 1fr; gap: 20px; }
    .positioning-intro .eyebrow { grid-column: auto; }
    .positioning-grid { grid-template-columns: 1fr; }
    .positioning-grid article { min-height: 0; }
    .update-feed { grid-template-columns: 1fr; }
    .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .finding-grid { grid-template-columns: 1fr; }
    .cadence-list { grid-template-columns: 1fr; }
    .follow-section { grid-template-columns: 1fr; gap: 24px; }
    .workspace-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
    main, footer { width: min(100% - 24px, 1180px); }
    .hero { gap: 34px; padding: 24px 0 58px; }
    h1 { font-size: 2.75rem; }
    .hero-lede { margin-top: 20px; font-size: .96rem; line-height: 1.55; }
    .hero-actions { grid-template-columns: 1fr; margin-top: 22px; }
    .hero-proof { margin-top: 15px; }
    .comparison-preview { padding: 21px 18px; }
    .preview-title-row { display: block; }
    .preview-title-row > a { display: inline-block; margin-top: 12px; }
    .wrapper-grid { grid-template-columns: 1fr; }
    .signal-section, .trust-section, .positioning-section, .updates-section { padding: 64px 0; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .trust-grid { grid-template-columns: 1fr; }
    .entry-section, .findings-section, .watch-section { padding: 64px 0; }
    .entry-grid, .finding-grid { grid-template-columns: 1fr; }
    .entry-grid a { min-height: 0; }
    .follow-section { padding: 30px 22px; }
    .workspace-cta { padding: 30px 24px; }
    footer { flex-direction: column; }
}

/* The newest-trades strip under the hero. Without motion (the default here) it is a static,
   horizontally scrollable row of the newest few; the marquee below only switches on when motion is
   allowed. The second copy of the list exists only to make that marquee seamless. */
.trade-ticker { display: flex; align-items: center; gap: 12px; margin: -40px 0 40px; padding: 7px 8px 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--panel) 72%, transparent); color: var(--muted); font-size: .76rem; }
.trade-ticker[hidden] { display: none; }
.ticker-title { flex: none; margin: 0; font-size: .66rem; font-weight: 820; letter-spacing: .09em; text-transform: uppercase; }
.ticker-title a { color: var(--violet-dark); text-decoration: none; }
.ticker-title a:hover, .ticker-title a:focus-visible { text-decoration: underline; }
.ticker-viewport { position: relative; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ticker-track { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker-item { flex: none; padding-right: 26px; white-space: nowrap; font-variant-numeric: tabular-nums; line-height: 1.9; }
.ticker-item a { color: var(--ink); text-decoration: none; }
.ticker-item a:hover, .ticker-item a:focus-visible { text-decoration: underline; }
.ticker-item strong { font-weight: 800; }
.ticker-buy { color: var(--green); }
.ticker-sell { color: var(--pink); }
.ticker-copy, .ticker-item:nth-child(n+7), .ticker-toggle { display: none; }
.ticker-toggle { flex: none; min-height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: .68rem; font-weight: 780; cursor: pointer; }
.ticker-toggle:hover, .ticker-toggle:focus-visible { border-color: var(--violet); color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
    :root:not(.reduce-motion) .ticker-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 28px), transparent); }
    :root:not(.reduce-motion) .ticker-track { width: max-content; animation: ticker-scroll var(--ticker-duration, 40s) linear infinite; }
    :root:not(.reduce-motion) .ticker-track > .ticker-item { display: block; }
    :root:not(.reduce-motion) .ticker-toggle { display: inline-flex; align-items: center; }
    .trade-ticker:hover .ticker-track,
    .trade-ticker:focus-within .ticker-track,
    .trade-ticker.ticker-paused .ticker-track { animation-play-state: paused; }

    @keyframes ticker-scroll {
        from { transform: translateX(0); }
        to { transform: translateX(-50%); }
    }

    /* A subtle lift on the dimension tiles, on hover and on keyboard focus alike. */
    :root:not(.reduce-motion) :is(.trust-grid, .entry-grid) a { transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
    :root:not(.reduce-motion) :is(.trust-grid, .entry-grid) a:is(:hover, :focus-visible) { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(34, 45, 76, .1); }
}

@media (max-width: 560px) {
    /* On a phone the label and the pause button share the top line and the tape gets the full width. */
    .trade-ticker { flex-wrap: wrap; justify-content: space-between; margin: -26px 0 32px; padding: 8px 10px 6px 14px; gap: 2px 8px; border-radius: 14px; }
    .ticker-viewport { order: 3; flex-basis: 100%; }
    .ticker-toggle { min-height: 26px; padding: 0 9px; }
}

/* Latest events (latest-events.js): a box in the hero grid. On a wide screen it sits directly under
   the comparison card, beside the hero text (the card moves up, so the search is higher than before);
   on a phone it follows the card, so the search is not pushed down either.
   Without script (and before the feed loads) it is a short scrollable list of the rows written in at
   build time; with motion allowed the script scrolls it (.is-scrolling); with reduced motion it is a
   static list of the newest six (.is-static, or the media query / .reduce-motion hook without script). */
/* Wide screens: the search heads the right column, above the real example (as on a phone). */
.hero { grid-template-areas: "copy search" "copy preview" "copy events"; }
@media (min-width: 901px) { .hero { row-gap: 18px; } }
.hero-copy { grid-area: copy; }
.comparison-preview { grid-area: preview; align-self: end; }
.latest-events { grid-area: events; align-self: start; min-width: 0; padding: 14px 16px 12px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--panel) 82%, transparent); }
.latest-events-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.latest-events h2 { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--violet-dark); font-size: .68rem; font-weight: 820; letter-spacing: .09em; text-transform: uppercase; }
.latest-events-toggle { display: none; flex: none; min-height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: .68rem; font-weight: 780; cursor: pointer; }
.latest-events-toggle:hover, .latest-events-toggle:focus-visible { border-color: var(--violet); color: var(--ink); }
.latest-events.is-scrolling .latest-events-toggle { display: inline-flex; align-items: center; }
.latest-events-viewport { position: relative; max-height: 16rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.latest-events.is-scrolling .latest-events-viewport { height: 16rem; scrollbar-width: none; -webkit-mask-image: linear-gradient(transparent, #000 12px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(transparent, #000 12px, #000 calc(100% - 24px), transparent); }
.latest-events.is-scrolling .latest-events-viewport::-webkit-scrollbar { display: none; }
.latest-events-list { margin: 0; padding: 0; list-style: none; }
/* The event rows themselves (.event-row …) are in app-shell.css: the token cards list them too. */
.latest-events-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 9px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.latest-events-foot a { color: var(--violet-dark); font-weight: 760; text-decoration: none; }
.latest-events-foot a:hover, .latest-events-foot a:focus-visible { text-decoration: underline; }
@media (max-width: 900px) {
    .hero { grid-template-areas: "copy" "search" "preview" "events"; }
}
/* Phone hero order: the hero text's children join the hero's own column, so the search follows the
   lede and sits in the first screen of a 375×812 phone (inside the example card it was ~1,220 px down,
   measured 25 Sep). Wider screens keep the grid above. */
@media (max-width: 560px) {
    .hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .hero-copy { display: contents; }
    .research-backdrop { left: -12px; right: -12px; }
    .research-backdrop::after { background: linear-gradient(180deg, rgba(7,19,35,.72), rgba(7,19,35,.46) 45%, rgba(7,19,35,.8)); }
    .research-backdrop video { height: min(100%, 900px); object-position: center top; }
    .hero[data-research-hero] #heroTitle { color: #f0f4ff; }
    .hero-copy > .eyebrow { order: 1; }
    #heroTitle { order: 2; }
    .hero-lede { order: 3; }
    .hero-search { order: 4; margin-top: 20px; padding: 14px 14px 16px; }
    .hero-actions { order: 5; }
    .hero-proof { order: 6; }
    .comparison-preview { order: 7; margin-top: 34px; }
    .latest-events { order: 8; margin-top: 34px; }
}
@media (max-width: 560px) {
    .latest-events { padding: 12px 12px 10px; border-radius: 14px; }
    .latest-events-viewport { max-height: 15rem; }
    .latest-events.is-scrolling .latest-events-viewport { height: 15rem; }
    .event-title { font-size: .84rem; }
}
/* Without motion: every row of the newest six in view, no inner scroll (after the width rules so it wins). */
.latest-events.is-static .latest-events-viewport { max-height: none; overflow: visible; }
.latest-events.is-static .event-row:nth-child(n+7) { display: none; }
@media (prefers-reduced-motion: reduce) {
    .latest-events-viewport { max-height: none; overflow: visible; }
    .event-row:nth-child(n+7) { display: none; }
}
:root.reduce-motion .latest-events-viewport { max-height: none; overflow: visible; }
:root.reduce-motion .event-row:nth-child(n+7) { display: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

:where(html[data-theme="dark"]) body { background: radial-gradient(circle at 82% 8%, rgba(75, 104, 220, .18), transparent 27rem), linear-gradient(180deg, #20283d 0, var(--paper) 38rem); }
/* The bands sit a step below the dark paper so they still read as bands. */
:root:where([data-theme="dark"]) { --band-bg: #111827; }
:where(html[data-theme="dark"]) .positioning-grid article.positioning-primary { background: var(--band-bg); }
