/* Project Bhagirathi: shared styles for every page. */
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
:root {
  --navy: #0b1f3a; --navy-2: #12305a; --blue: #1d5fd6; --teal: #0b8f8a; --sky: #eaf2fb; --mist: #f5f8fc; --ink: #17212e; --muted: #56657a; --line: #d9e2ee;
  --map-sea: #cfe2f5; --map-grid: rgba(255, 255, 255, 0.7); --map-land: #fcfdff; --map-edge: #9fb3cb; --map-lake: #8dbbe8; --map-lake-edge: #6fa3d6; --map-station: #0b1f3a;
  /* tokens the dashboard reads */
  --color-fg: var(--ink); --color-fg-muted: var(--muted); --color-bg: #ffffff; --color-panel: var(--mist); --color-border-line: var(--line);
  --color-ok: #177a43; --color-warn: #a65b00; --color-bad: #b8243a;
  --font-anthropic-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-anthropic-serif: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --cds-font-size-caption: 0.8125rem; --cds-font-size-body: 0.9375rem; --cds-font-size-heading: 1.125rem; --cds-font-size-title: 2rem; --cds-font-weight-medium: 650;
  --cds-gap-xs: 4px; --cds-gap-sm: 8px; --cds-gap-md: 12px; --cds-gap-lg: 16px; --cds-gap-xl: 48px; --cds-pad-md: 14px; --cds-pad-lg: 18px; --cds-radius: 10px;
  --cds-chart-muted: #9fb0c5; --cds-chart-grid: #e6ecf4; --cds-chart-axis: #8696ab; --cds-chart-reference: #3c4c63; --cds-text-secondary: var(--muted);
  --cds-surface-popover: #ffffff; --cds-border: #c8d3e1; --cds-shadow-popover: 0 8px 24px rgba(11, 31, 58, 0.16);
  --c0: #1d5fd6; --c1: #d9622b; --c2: #0b8f8a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-anthropic-sans); color: var(--ink); background: #fff; line-height: 1.6; font-size: 1.0625rem; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #5aa2ff; outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
section[id], details[id] { scroll-margin-top: 88px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* header */
.site-head { background: rgba(255, 255, 255, 0.96); color: var(--navy); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-weight: 800; font-size: 1.1875rem; line-height: 1.15; letter-spacing: -0.01em; }
.brand-tag { display: block; font-weight: 500; font-size: 0.75rem; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 0.9375rem; font-weight: 600; }
.nav a { color: #33435a; text-decoration: none; padding: 4px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav a.nav-cta { background: var(--navy); color: #fff; padding: 8px 18px; border-radius: 8px; }
.nav a.nav-cta:hover { background: var(--navy-2); color: #fff; }

/* hero: headline beside the touring map */
.hero { background: var(--navy); background-image: radial-gradient(1100px 520px at 85% 0%, #1b4a8f 0%, rgba(27, 74, 143, 0) 70%), linear-gradient(180deg, #0b1f3a 0%, #0e2a4d 100%); color: #fff; padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 44px; align-items: center; }
.hero h1 { font-weight: 800; font-size: clamp(2.5rem, 5.2vw, 4rem); line-height: 1.03; letter-spacing: -0.03em; margin: 0 0 14px; }
.hero .tagline { font-weight: 500; font-size: clamp(1.25rem, 2.4vw, 1.625rem); line-height: 1.3; margin: 0 0 18px; color: #9cc8ff; }
.hero .lede { font-size: 1.125rem; margin: 0 0 28px; color: #d6e2f2; max-width: 32rem; }
.btn { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 8px; border: 1.5px solid transparent; }
.btn:hover { background: #174fb8; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: #e8eff8; }
.hero .btn { margin: 0 10px 10px 0; }
.map-panel { background: #fff; color: var(--ink); border-radius: 14px; padding: 16px; box-shadow: 0 24px 60px rgba(3, 12, 28, 0.45); }
.map-panel .bh-filters { margin-top: 0; }
.map-panel .bh-map { margin-top: 12px; }
.map-panel .bh-world-card { margin-top: 12px; min-height: 104px; }
.map-panel .bh-muted { margin: 10px 0 0; }

/* sections */
.band { padding: 84px 0; }
.band.tint { background: var(--mist); }
.label { font-weight: 700; font-size: 0.875rem; margin: 0 0 10px; color: var(--teal); }
.band h2 { font-weight: 800; font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 22em; color: var(--navy); }
.band .intro { max-width: 44rem; font-size: 1.125rem; margin: 0 0 34px; color: #33435a; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border-radius: 12px; padding: 24px; border: 1px solid var(--line); }
.card h3 { margin: 0 0 8px; font-size: 1.125rem; line-height: 1.3; color: var(--navy); }
.card p { margin: 0; font-size: 0.9688rem; color: #33435a; }
.card p.stat { font-weight: 800; font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 10px; color: var(--blue); }
.card p.src, p.src { font-size: 0.8125rem; color: var(--muted); margin-top: 14px; }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 6px; margin-bottom: 14px; }
.tag.ours { background: #dff3e8; color: #0f5a30; }
.tag.lit { background: #e3ecfb; color: #17408f; }
.tag.plan { background: #fdeed9; color: #7a4300; }

.band.problem { background: var(--navy); color: #fff; }
.band.problem h2 { color: #fff; }
.band.problem .label { color: #6fd3cd; }
.band.problem .intro { color: #cfdcee; }
.band.problem .card { background: #12305a; border-color: #24467a; }
.band.problem .card p { color: #d6e2f2; }
.band.problem .card p.stat { color: #8ec2ff; }
.band.problem .card p.src { color: #9fb3cf; }
.band.problem .card a { color: #cfe3ff; }
.band.problem .tag.lit { background: #1f447c; color: #d6e6ff; }

.loop { list-style: none; margin: 0 0 34px; padding: 0; display: flex; flex-wrap: wrap; gap: 0; counter-reset: step; }
.loop li { counter-increment: step; display: flex; align-items: center; font-weight: 700; font-size: 1rem; color: var(--navy); padding: 6px 0; }
.loop li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.875rem; }
.loop li:not(:last-child)::after { content: ""; display: inline-block; width: 34px; height: 2px; background: #b9c8dc; margin: 0 14px; }

.two { display: grid; gap: 44px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.shot { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 44px rgba(11, 31, 58, 0.14); display: block; background: #fff; }
ul.checks { list-style: none; margin: 0 0 26px; padding: 0; }
ul.checks li { position: relative; padding: 0 0 10px 30px; }
ul.checks li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 14px; height: 8px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }

.band.mission { background: linear-gradient(120deg, #0b1f3a 0%, #154a8a 100%); color: #fff; }
.band.mission .label { color: #6fd3cd; }
.mission-text { font-weight: 600; font-size: clamp(1.5rem, 3.2vw, 2.125rem); line-height: 1.3; letter-spacing: -0.01em; max-width: 26em; margin: 0; }

.person { display: flex; gap: 16px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 12px; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.125rem; flex: none; background: var(--navy); }
.person:nth-child(2) .avatar { background: var(--teal); }
.person h3 { margin: 0; }
.person p { margin: 0; color: var(--muted); }
.stack { display: grid; gap: 14px; }
.card.patent { background: var(--sky); border-color: #c9dcf3; }

/* footer */
.site-foot { background: var(--navy); color: #b9c8dc; padding: 36px 0; font-size: 0.9375rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; }
.site-foot a { color: #fff; }
.site-foot p { margin: 0; }
.site-foot strong { color: #fff; }

/* dashboard page frame */
.dash-top { display: none; }
.dash-page { padding: 40px 0 80px; background: #fff; }
.dash-select { font: inherit; font-size: 0.9375rem; font-weight: 600; padding: 7px 30px 7px 12px; border: 1px solid #b9c8dc; border-radius: 8px; background-color: #fff; color: var(--ink); }
.simple { padding: 120px 0; text-align: center; }
.simple h1 { font-weight: 800; letter-spacing: -0.02em; font-size: clamp(1.875rem, 5vw, 2.75rem); color: var(--navy); }

@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero { padding: 44px 0 52px; } .band { padding: 60px 0; } .loop li:not(:last-child)::after { width: 16px; margin: 0 8px; } }
@media print { .site-head, .site-foot { display: none; } }

/* --- offerings: positioning, audiences, modules, service models --- */
.page-hero { background: var(--navy); background-image: radial-gradient(900px 380px at 85% 0%, #1b4a8f 0%, rgba(27, 74, 143, 0) 70%); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { font-weight: 800; font-size: clamp(2.125rem, 4.6vw, 3.25rem); line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 14px; max-width: 18em; }
.page-hero p { font-size: 1.125rem; color: #d6e2f2; max-width: 44rem; margin: 0; }
.page-hero .label { color: #6fd3cd; }
.notice { background: #fff9ee; border: 1px solid #e9b866; border-left-width: 4px; border-radius: 10px; padding: 14px 16px; font-size: 0.9688rem; margin: 0 0 34px; max-width: 52rem; }
.notice strong { color: #8a4b00; }
.card.num { position: relative; padding-top: 58px; }
.card.num::before { content: attr(data-n); position: absolute; left: 24px; top: 20px; width: 28px; height: 28px; border-radius: 8px; background: var(--sky); color: var(--blue); font-weight: 800; font-size: 0.875rem; display: grid; place-items: center; }
.table-scroll { overflow-x: auto; margin-top: 34px; }
table.compare { width: 100%; border-collapse: collapse; font-size: 0.9688rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
table.compare th, table.compare td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { background: var(--navy); color: #fff; font-weight: 700; }
table.compare tbody th { font-weight: 700; color: var(--navy); width: 22%; min-width: 150px; }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: 0; }
table.compare td.ours { background: var(--sky); font-weight: 600; color: var(--navy); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.tabs button { font: inherit; font-weight: 700; font-size: 0.9688rem; padding: 10px 16px; border-radius: 8px; border: 1px solid #b9c8dc; background: #fff; color: #23344d; cursor: pointer; }
.tabs button:hover { background: var(--sky); }
.tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tabpanel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.tabpanel h3 { margin: 0 0 6px; font-size: 1.375rem; letter-spacing: -0.01em; color: var(--navy); }
.tabpanel > p { margin: 0 0 22px; color: #33435a; max-width: 46rem; }
.widgets { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.widget { border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 10px; padding: 16px; background: var(--mist); }
.widget h4 { margin: 0 0 4px; font-size: 1rem; color: var(--navy); }
.widget p { margin: 0; font-size: 0.9063rem; color: #33435a; }
.module h3 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.module ul { margin: 12px 0 0; padding-left: 1.1em; font-size: 0.9375rem; color: #33435a; }
.module li { margin-bottom: 4px; }
.tiers { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; }
.tier.lead { border: 2px solid var(--blue); box-shadow: 0 14px 36px rgba(29, 95, 214, 0.14); }
.tier .kind { font-weight: 700; font-size: 0.875rem; color: var(--teal); margin: 0 0 6px; }
.tier h3 { margin: 0 0 8px; font-size: 1.375rem; letter-spacing: -0.01em; color: var(--navy); }
.tier > p { margin: 0 0 16px; color: #33435a; }
.tier ul.checks { margin-bottom: 0; font-size: 0.9688rem; }
.tier .fit { margin-top: auto; padding-top: 16px; font-size: 0.875rem; color: var(--muted); border-top: 1px solid var(--line); }
ol.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
ol.steps li { counter-increment: s; border-top: 3px solid var(--navy); padding-top: 14px; }
ol.steps li::before { content: "Step " counter(s); display: block; font-weight: 700; font-size: 0.875rem; color: var(--teal); margin-bottom: 4px; }
ol.steps h3 { margin: 0 0 6px; font-size: 1.125rem; color: var(--navy); }
ol.steps p { margin: 0; font-size: 0.9688rem; color: #33435a; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn.outline { background: #fff; color: var(--navy); border-color: #b9c8dc; }
.btn.outline:hover { background: var(--sky); }

/* --- sign-in bar at the very top, logo, and the sign-in page --- */
.top-bar { background: var(--navy); color: #cfdcee; font-size: 0.8125rem; }
.top-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.top-auth { display: flex; align-items: center; gap: 14px; }
.top-auth a { color: #fff; font-weight: 600; }
.top-auth .signin { background: var(--blue); text-decoration: none; padding: 5px 14px; border-radius: 6px; }
.top-auth .signin:hover { background: #174fb8; }
.top-auth .who { color: #9cc8ff; }
.linklike { font: inherit; font-weight: 600; background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; cursor: pointer; }
.brand img { width: 52px; height: 52px; flex: none; }
.seal { width: 220px; height: 220px; justify-self: center; }
.login-page { background: var(--mist); padding: 64px 24px 88px; min-height: 60vh; display: grid; place-items: start center; }
.login-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px 32px; max-width: 460px; width: 100%; text-align: center; box-shadow: 0 18px 44px rgba(11, 31, 58, 0.1); }
.login-card img { margin: 0 auto 14px; }
.login-card h1 { font-weight: 800; font-size: 1.625rem; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 10px; }
.login-card p { margin: 0 0 18px; color: #33435a; }
.login-card .btn { display: block; width: 100%; font: inherit; font-weight: 700; cursor: pointer; margin-bottom: 14px; }
.login-card .btn[disabled] { background: #b9c8dc; cursor: not-allowed; }
.login-card .btn[hidden] { display: none; }
.login-status { background: var(--sky); border: 1px solid #c9dcf3; border-radius: 8px; padding: 10px 12px; font-size: 0.9375rem; }
.login-status.bad { background: #fdecee; border-color: #f1b5bd; color: #8a1a2a; }
.login-alt { font-size: 0.9375rem; }
#about .two { align-items: start; }

/* flows with glowing edges */
.flow { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 26px; counter-reset: flow; }
.flow li { counter-increment: flow; position: relative; background: #fff; border: 1px solid #8fc4f5; border-radius: 14px; padding: 18px 16px 16px; box-shadow: 0 0 0 3px rgba(56, 152, 240, 0.10), 0 0 22px rgba(29, 95, 214, 0.22); }
.flow li::before { content: counter(flow); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 0.875rem; margin-bottom: 10px; box-shadow: 0 0 12px rgba(29, 95, 214, 0.55); }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -26px; width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #1d5fd6 0%, #5fd6ff 50%, #1d5fd6 100%); background-size: 200% 100%; animation: flow-run 1.6s linear infinite; }
.flow h3 { margin: 0 0 6px; font-size: 1.0625rem; line-height: 1.25; color: var(--navy); }
.flow p { margin: 0 0 10px; font-size: 0.9375rem; line-height: 1.45; color: #33435a; }
.flow p:last-child { margin-bottom: 0; }
.flow .tag { margin: 0; }
@keyframes flow-run { from { background-position: 200% 0; } to { background-position: 0 0; } }
.loop-back { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 18px; border-radius: 999px; border: 1px solid #8fc4f5; background: #f2f8ff; color: var(--navy); font-weight: 600; font-size: 0.9375rem; box-shadow: 0 0 18px rgba(29, 95, 214, 0.18); }
.loop-back span { font-size: 1.25rem; line-height: 1; color: var(--blue); }

.band.glow { background: radial-gradient(900px 420px at 80% 0%, #17468a 0%, rgba(23, 70, 138, 0) 70%), #081a33; color: #fff; }
.band.glow h2 { color: #fff; }
.band.glow .label { color: #6fd3cd; }
.band.glow .intro { color: #cfdcee; }
.band.glow .src { color: #9fb3cf; }
.band.glow .flow li { background: rgba(16, 42, 82, 0.85); border-color: #4fd1e8; box-shadow: 0 0 0 1px rgba(79, 209, 232, 0.25), 0 0 26px rgba(56, 189, 248, 0.38), inset 0 0 22px rgba(56, 189, 248, 0.10); }
.band.glow .flow li::before { background: #4fd1e8; color: #06203f; box-shadow: 0 0 14px rgba(79, 209, 232, 0.8); }
.band.glow .flow li:not(:last-child)::after { background: linear-gradient(90deg, #2aa7c9 0%, #b8f3ff 50%, #2aa7c9 100%); background-size: 200% 100%; }
.band.glow .flow h3 { color: #fff; }
.band.glow .flow p { color: #d2e0f2; }
.edge-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.edge-list li { padding-left: 14px; border-left: 3px solid #4fd1e8; color: #d2e0f2; font-size: 0.9875rem; line-height: 1.5; }
.edge-list b { display: block; color: #fff; }

.band.problem .card { box-shadow: 0 0 20px rgba(56, 152, 240, 0.18); }
.sub { margin: 40px 0 14px; font-size: 1.25rem; color: #fff; }
.gaps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.gaps li { padding-left: 14px; border-left: 3px solid #6fd3cd; color: #cfdcee; font-size: 0.9875rem; line-height: 1.5; }
.gaps b { color: #fff; }

@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow li:not(:last-child)::after { top: auto; bottom: -22px; right: auto; left: 28px; width: 3px; height: 22px; background: linear-gradient(180deg, #1d5fd6, #5fd6ff); animation: none; }
  .band.glow .flow li:not(:last-child)::after { background: linear-gradient(180deg, #2aa7c9, #b8f3ff); }
  .edge-list, .gaps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .flow li:not(:last-child)::after { animation: none; } }


/* home page topic tabs */
.topic-bar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 77px; z-index: 9; scroll-margin-top: 77px; }
.topic-bar .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: thin; }
.topic-bar a { flex: none; font-weight: 700; font-size: 0.9375rem; padding: 9px 16px; border-radius: 999px; border: 1px solid #b9c8dc; color: #23344d; text-decoration: none; background: #fff; }
.topic-bar a:hover { background: var(--sky); }
.topic-bar a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 0 16px rgba(29, 95, 214, 0.45); }
.site-head .nav a[aria-current="page"]:not(.nav-cta) { color: var(--blue); }
.has-topics [data-topic] { min-height: 60vh; scroll-margin-top: 140px; }
[data-topic][hidden] { display: none; }
@media (max-width: 900px) { .topic-bar { position: static; } }

/* lighter dark sections so the watermark shows through */
.band.glow { background: radial-gradient(900px 440px at 80% 0%, #2a66b8 0%, rgba(42, 102, 184, 0) 70%), #14335f; }
.band.glow .flow li { background: rgba(24, 58, 108, 0.72); }
.band.problem { background: #14335f; }
.band.problem .card { background: rgba(28, 66, 120, 0.78); border-color: #3a639e; }

/* lighter still, so the watermark shows more */
.band.glow { background: radial-gradient(900px 460px at 80% 0%, #4d92e6 0%, rgba(77, 146, 230, 0) 70%), #1f4f8f; }
.band.glow .flow li { background: rgba(38, 86, 150, 0.6); }
.band.glow .src, .band.problem .card p.src { color: #c5d5ea; }
.band.problem { background: #1f4f8f; }
.band.problem .card { background: rgba(44, 94, 164, 0.62); border-color: #5a8acb; }
.band.problem .tag.lit { background: #173f78; }

/* glowing bloom markers on the map */
.bh-map .bh-site circle:nth-child(2) { filter: drop-shadow(0 0 4px rgba(72, 170, 255, 0.95)); }
.bh-map .bh-site circle:first-child { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .bh-map .bh-site circle:first-child { animation: site-glow 2.2s ease-in-out infinite; } .mini-pulse { animation: site-glow 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; } }
@keyframes site-glow { 0%, 100% { transform: scale(0.8); } 50% { transform: scale(1.5); } }

/* demo panel on the overview tab */
.demo-panel { margin-top: 44px; padding: 26px; border-radius: 18px; border: 1px solid #4fd1e8; background: radial-gradient(700px 300px at 85% 0%, #3f82d6 0%, rgba(63, 130, 214, 0) 70%), #1b467f; color: #fff; box-shadow: 0 0 0 1px rgba(79, 209, 232, 0.25), 0 0 34px rgba(56, 152, 240, 0.35); }
.demo-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.demo-head h3 { margin: 0 0 4px; font-size: 1.375rem; color: #fff; }
.demo-head p { margin: 0; color: #d2e0f2; font-size: 0.9875rem; max-width: 36rem; }
.demo-panel .bh-tiles { margin-top: 18px; }
.demo-panel .bh-card { background: rgba(255, 255, 255, 0.10); border-color: rgba(143, 196, 245, 0.55); color: #fff; box-shadow: 0 0 16px rgba(56, 152, 240, 0.25); }
.demo-panel .bh-tile-label, .demo-panel .bh-unit { color: #d2e0f2; }
.demo-panel .bh-num { color: #fff; font-weight: 800; }
.demo-panel .bh-chip { border-color: #8ef0c0; color: #8ef0c0; }
.demo-panel .bh-meter { background: rgba(255, 255, 255, 0.2); }
.demo-panel .bh-meter span { background: #5fd6ff; box-shadow: 0 0 10px #5fd6ff; }
.demo-chart { margin-top: 18px; padding: 12px 10px 6px; border-radius: 12px; background: rgba(6, 26, 56, 0.45); border: 1px solid rgba(143, 196, 245, 0.35); min-height: 200px; }
.mini-axis { fill: #c5d5ea; font-size: 11px; font-family: inherit; }
.demo-note { margin: 12px 0 0; font-size: 0.8125rem; color: #c5d5ea; }

/* chat assistant */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 8px 24px rgba(11, 31, 58, 0.35), 0 0 22px rgba(56, 152, 240, 0.55); }
.chat-fab:hover { background: #174fb6; }
.chat-box { position: fixed; right: 20px; bottom: 84px; z-index: 30; width: min(380px, calc(100vw - 24px)); height: min(540px, calc(100vh - 110px)); display: flex; flex-direction: column; background: #fff; border: 1px solid #8fc4f5; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 50px rgba(11, 31, 58, 0.35), 0 0 26px rgba(56, 152, 240, 0.35); }
.chat-box[hidden] { display: none; }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--navy); color: #fff; }
.chat-top img { width: 36px; height: 36px; flex: none; }
.chat-top strong { display: block; line-height: 1.2; }
.chat-top span { font-size: 0.8125rem; color: #c5d5ea; }
.chat-close { margin-left: auto; border: 0; background: none; color: #fff; font: inherit; font-weight: 700; padding: 6px 8px; border-radius: 6px; cursor: pointer; }
.chat-close:hover { background: rgba(255, 255, 255, 0.15); }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--mist); }
.chat-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 0.9375rem; line-height: 1.45; }
.chat-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.chat-msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg a { color: inherit; font-weight: 700; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; background: #fff; }
.chat-chips button { font: inherit; font-size: 0.8125rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; border: 1px solid #b9c8dc; background: #fff; color: #23344d; cursor: pointer; }
.chat-chips button:hover { background: var(--sky); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px 12px; background: #fff; }
.chat-form input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 10px 12px; border: 1px solid #b9c8dc; border-radius: 10px; }
.chat-form button { font: inherit; font-weight: 700; padding: 10px 16px; border: 0; border-radius: 10px; background: var(--navy); color: #fff; cursor: pointer; }
.demo-panel .bh-tiles .bh-card { background: rgba(255, 255, 255, 0.12) !important; border-color: rgba(143, 196, 245, 0.55) !important; }
.demo-panel .bh-tiles .bh-num { color: #fff !important; }
.demo-panel .bh-tiles .bh-tile-label, .demo-panel .bh-tiles .bh-unit { color: #d2e0f2 !important; }
.hero .hero-more { margin: 0 0 26px; max-width: 34rem; font-size: 1rem; line-height: 1.6; color: #c9d8ec; }

/* map resources, team and references */
.map-sources { margin: 8px 0 0; font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 880px; }
.member { text-align: left; }
.member .photo { aspect-ratio: 4 / 3; border-radius: 12px; border: 2px dashed #9fb8d6; background: var(--sky); display: grid; place-items: center; color: var(--muted); font-weight: 600; font-size: 0.9375rem; margin-bottom: 16px; overflow: hidden; }
.member .photo.has-photo { border: 0; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin: 0; font-size: 1.25rem; }
.member .role { margin: 2px 0 10px; color: var(--teal); font-weight: 700; }
.member .bio { margin: 0; color: var(--muted); }
.ref-head { margin: 26px 0 8px; font-size: 1.125rem; color: var(--navy); }
.refs { margin: 0; padding-left: 20px; max-width: 54rem; }
.refs li { margin-bottom: 8px; line-height: 1.5; }
.refs a { overflow-wrap: anywhere; }
@media (max-width: 700px) { .team-grid { grid-template-columns: 1fr; } }
.ref-group { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; max-width: 60rem; }
.ref-group summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.ref-group summary span { flex: none; font-size: 0.8125rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--sky); color: #17408f; }
.ref-group[open] { box-shadow: 0 0 0 3px rgba(56, 152, 240, 0.10), 0 0 20px rgba(29, 95, 214, 0.16); border-color: #8fc4f5; }
.ref-group .refs { padding: 0 22px 14px 38px; font-size: 0.9375rem; }
