/* Enviromarine: shared identity for the public network and skipper workspace.
   Dark palette throughout; network.css owns the structural components. */
:root {
  --bg: #071821;
  --panel: #0c222c;
  --panel2: #123039;
  --line: #26434b;
  --muted: #9bb6ba;
  --text: #e2eeec;
  --mint: #69d5bb;
  --accent: #69d5bb;
  --amber: #e3bc7d;
  --dark: #071821;
  --rail: 244px;
  --radius: 18px;
}
html { color-scheme: dark; scroll-padding-top: 100px; }
body { font-size: 14px; -webkit-font-smoothing: antialiased;  background: radial-gradient(ellipse at 95% 0%, #102b35 0%, #071821 45%) fixed; }
::selection { background: #28644f; color: #edfff6; }
a { color: var(--accent); }
a:hover { color: #e2eeec; }
h1, h2, h3 { font-weight: 750; letter-spacing: -.045em; }
h1 { font-size: clamp(34px, 3.4vw, 54px); line-height: 1.08; }
em { color: var(--accent); }
button, a, input, select, textarea { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 4px;
}
.chart-wrap :focus-visible { outline-color: var(--mint); }
.rail { padding: 31px 20px 20px; background: #081a24; overflow-y: auto; }
.brand { gap: 9px; font-size: 20px; font-weight: 800; letter-spacing: -.95px; }
.brand:hover, .mobile-brand:hover { color: var(--text); }
.brand img { width: 37px; height: 37px; }
.brand small { font-size: 7px; letter-spacing: 1.5px; margin-top: 4px; font-weight: 650; }
.rail-label { font-size: 9px; color: #b0cbc8; letter-spacing: 1.6px; margin: 43px 12px 13px; }
.rail-label.second { margin-top: 32px; }
.rail nav { gap: 7px; }
.rail nav a, .secondary-nav { min-height: 46px; font-size: 12px; font-weight: 650; color: #b0cbc8; border-radius: 11px; }
.rail nav a.active { color: #91e7c8; background: #173d37; border-color: #2b5d4c; }
.rail nav a:hover, .secondary-nav:hover { background: #102e35; color: #b5f2dc; }
.rail nav a.active svg { stroke-width: 2; }
.rail nav a.active::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-left: auto; }
.nav-new { color: #b0cbc8; background: #0d2731; padding: 2px 5px; border-radius: 4px; font-size: 7px; }
.rail-card { flex-shrink: 0; margin-top: auto; background: linear-gradient(150deg, #12333a, #0a202b); border: 1px solid #28504d; border-radius: 17px; padding: 22px; }
.rail-card .eyebrow { font-size: 8px; color: #91b8ac; letter-spacing: 1.4px; }
.rail-card p { color: #edf5f1; font-size: 13px; line-height: 1.7; margin: 13px 0 20px; }
.rail-card a { color: var(--mint); border-color: #2d4547; font-size: 11px; padding-top: 15px; }
.rail-signal { display: block; width: 56px; height: 56px; margin-bottom: 21px; }
.rail-footer { font-size: 7px; letter-spacing: 1px; margin: 22px 5px 0; }
.rail-footer small { color: #b0cbc8; font-size: 7px; }
.status-dot { background: var(--accent); box-shadow: none; }
.masthead { height: 80px; padding: 0 40px; background: #091c26f2; position: sticky; top: 0; z-index: 15; backdrop-filter: blur(16px); }
.breadcrumb { color: #b0cbc8; font-size: 10px; letter-spacing: 1.1px; }
.breadcrumb span { color: #8ea39a; }
.header-actions { gap: 22px; }
.utc { font-size: 10px; }
.login-link, .user-name { color: #e2eeec; font-size: 12px; font-weight: 650; }
.user-name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.avatar { background: #153e34; border: 1px solid #2c6250; color: #97e5c7; width: 38px; height: 38px; font-weight: 750; }
main { padding: 36px 40px 16px; max-width: 1650px; }
.button { border: 1px solid var(--mint); background: var(--mint); color: #071821; min-height: 44px; padding: 12px 19px; border-radius: 10px; font-size: 12px; font-weight: 700; transition: background .18s, border-color .18s; }
.button:hover { background: #a3ebd3; color: #071821; border-color: #a3ebd3; }
.button.small { min-height: 38px; font-size: 11px; padding: 9px 14px; }
.button.secondary { color: #dfefe9; border-color: #385d62; background: #102b34; }
.button.secondary:hover { background: #183a3f; }
.button.wide { margin-top: 18px; }
.quiet-link { font-size: 11px; color: #b0cbc8; }
.eyebrow { color: #b0cbc8; font-size: 9px; letter-spacing: 1.7px; font-weight: 750; }
.short-rule { width: 20px; border-top-width: 2px; border-color: #69d5bb; }
.page-heading { margin-bottom: 30px; gap: 24px; }
.page-heading>div:first-child { min-width: 0; }
.page-heading h1, .form-story h1 { overflow-wrap: anywhere; }
.page-heading h1 { margin: 17px 0 14px; }
.page-heading p { font-size: 13px; line-height: 1.8; }
.badge { font-size: 9px; color: #96dfc3; background: #153c32; border-color: #2e5a48; border-radius: 6px; padding: 6px 9px; letter-spacing: .65px; }
.badge.amber { color: #e3bc7d; background: #382f20; border-color: #5d4d30; }
.badge.amber .status-dot { background: #e3bc7d; }
.demo-banner { color: #ddc8a6; border-color: #504831; background: #2d2a20; border-radius: 10px; font-size: 11px; padding: 11px 15px; margin-bottom: 20px; }
.demo-banner a { color: #efce99; font-size: 11px; }
.demo-icon { color: #e3bc7d; }

/* The supplied buoy silhouette and lettering are preserved in every brand asset. */
.horizon-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(270px, .85fr); gap: 24px; margin-bottom: 25px; align-items: center; }
.horizon-intro .page-heading { margin: 0; display: block; }
.horizon-intro h1 { font-size: clamp(39px, 3.9vw, 61px); max-width: 630px; letter-spacing: -.06em; }
.horizon-intro h1 em { display: block; }
.horizon-intro p { max-width: 370px; font-size: 13px; }
.intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 24px; }
.intro-actions .quiet-link { font-weight: 700; }
.signal-panel { min-height: 240px; align-self: stretch; border-radius: 23px; background: radial-gradient(ellipse at 65% 45%, #173e48 0%, #0d2935 48%, #091c28 100%); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;  border: 1px solid #2a4c52; }
.signal-panel::before, .signal-panel::after { content: ''; position: absolute; width: 520px; height: 265px; border: 1px solid #55928b55; border-radius: 50%; transform: rotate(-20deg); }
.signal-panel::after { width: 650px; height: 380px; border-color: #55928b33; }
.signal-panel>img { width: min(54%, 196px); height: auto; aspect-ratio: 1; position: relative; z-index: 1; }
.signal-caption { position: absolute; bottom: 21px; left: 25px; right: 25px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 8px var(--mono); letter-spacing: 1.4px; color: #afc8bf; z-index: 2; }
.signal-caption span:last-child { color: var(--mint); }
.signal-coordinates { position: absolute; top: 22px; left: 25px; font: 8px var(--mono); letter-spacing: 1.6px; color: #9ab8af; }
.network-state { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.network-state>.eyebrow { font-size: 8px; }
.network-state .heading-side { flex-direction: row; align-items: center; gap: 13px; margin: 0; }
.network-state .quiet-link { font-size: 10px; }
.metrics-grid { gap: 14px; margin-bottom: 24px; }
.metric-card { background: linear-gradient(130deg, #102b35, #0b222d); border-color: #24414a; border-radius: 14px; padding: 18px 20px; min-height: 127px; }
.metric-top { color: #b0cbc8; font-size: 8px; letter-spacing: 1px; line-height: 1.6; }
.metric-top svg { color: #b0cbc8; width: 18px; height: 18px; }
.metric-value { font-size: 35px; font-weight: 750; letter-spacing: -1.6px; margin-top: 9px; }
.metric-value.smaller { font-size: 28px; font-weight: 700; }
.metric-value.small-value { font-size: 17px; letter-spacing: -.5px; }
.metric-card p { color: #b0cbc8; font-size: 10px; line-height: 1.6; }
.metric-decoration { color: #325955; }
.mini-bars { opacity: .8; }
.mini-bars i { background: #69d5bb; }
.home-metrics .metric-card:first-child { background: linear-gradient(125deg, #154137, #10332f); border-color: #2a5c4c; }
.explorer-panel, .surface { border-radius: 18px; box-shadow: 0 3px 5px #08261a03; }
.panel-heading { padding: 17px 22px; min-height: 70px; }
.panel-heading h2 { font-size: 16px; font-weight: 750; letter-spacing: -.4px; }
.panel-heading .subtle { font-size: 10px; }
.panel-heading>a { font-size: 11px; font-weight: 650; }
.panel-actions select { color: #c6e1d8; background: #0a222d; font-size: 11px; padding: 10px 24px 10px 12px; min-height: 40px; border-color: #325159; border-radius: 8px; }
.icon-button { width: 40px; height: 40px; border-color: #35565c; color: #b1d2c7; border-radius: 9px; }
.icon-button:hover { background: #173c3c; }
.explorer-grid { grid-template-columns: minmax(0, 1fr) 286px; }
.chart-wrap { height: 555px; border-right-color: #2a4a51; background: #071821; color: #e2eeec; }
.map-toolbar { top: 18px; left: 18px; right: 18px; }
.segmented { border-color: #405d58; background: #0d252cec; padding: 4px; border-radius: 10px; box-shadow: none; }
.segmented button { min-height: 35px; font-size: 10px; border-radius: 7px; padding: 8px 12px; color: #d1e4df; }
.segmented button.selected { color: #082f25; }
.map-pill { min-height: 42px; border-color: #405d58; border-radius: 10px; color: #d1e4df; font-size: 10px; }
.map-pill svg { width: 13px; height: 13px; }
.map-legend { border-radius: 9px; border-color: #375950; }
.map-legend>div>span { color: #b2ccc2; }
.zoom-controls { border-radius: 9px; border-color: #48645c; }
.zoom-controls button { width: 38px; height: 37px; color: #d1e8df; }
.map-credit { color: #a6bfb7; font-size: 8px; }
.chart-empty { background: #081c25d9; padding: 60px 24px; }
.chart-empty h3 { color: #e2eeec; }
.chart-empty p { color: #b7d0c7; }
.chart-empty .button { background: var(--mint); color: #071821; border-color: var(--mint); }
.chart-empty .quiet-link { color: #b6e4d3; }
.chart-empty .button:hover { background: #a3ebd3; }
.observation-inspector { background: #0c222c; }
.inspector-title { padding: 22px 20px 12px; }
.inspector-title .eyebrow { color: #b0cbc8; font-size: 7px; letter-spacing: 1.3px; }
.inspector-title h3 { font-size: 17px; }
.inspector-title h3 span { background: #0d2731; color: #b0cbc8; font-size: 10px; }
#observation-list { max-height: 268px; padding: 0 10px 12px; }
.observation-row { padding: 11px 10px; border-bottom-color: #2a4a51; border-radius: 9px; min-height: 55px; }
.observation-row:hover { background: #12333a; }
.observation-row.selected { background: #173e36; border-color: #356452; }
.observation-row .row-name { font-size: 10px; color: #e2eeec; font-weight: 750; max-width: 166px; }
.observation-row .row-meta { font-size: 8px; color: #b0cbc8; }
.observation-row .row-value { font-size: 15px; color: #86dfbd; font-weight: 600; }
.detail { padding: 19px 20px; background: #091f29; }
.detail .eyebrow { font-size: 7px; }
.detail h4 { font-size: 13px; font-weight: 750; color: var(--text); margin: 10px 0 13px; }
.detail-grid { gap: 15px 9px; }
.detail-grid span { font-size: 8px; color: #b0cbc8; }
.detail-grid b { font-size: 13px; color: #d3eee0; font-weight: 500; }
.detail-foot { font-size: 8px; color: #b0cbc8; line-height: 1.8; }
.panel-footer { padding: 14px 22px; font-size: 9px; background: #0a202a; }
.panel-footer>span { color: #b0cbc8; }
.panel-footer a { color: #89e1bf; font-weight: 650; }
.bottom-grid { gap: 22px; }
.contribute-card, .open-card { padding: 31px; border-radius: 20px; }
.contribute-card { background: linear-gradient(135deg, #123831, #0a242d); border-color: #2a4d49; }
.contribute-card h2 { color: #f0f8f4; font-size: 31px; }
.contribute-card p { color: #b4cbc2; font-size: 12px; }
.contribute-card .eyebrow { color: #94c7b4; font-size: 8px; }
.contribute-card .button { background: var(--mint); color: #071821; border-color: var(--mint); font-size: 11px; }
.contribute-card .button:hover { background: #a3ebd3; }
.contribution-signal { align-self: center; width: 31%; min-width: 95px; opacity: .85; margin-left: 4px; }
.open-card { background: linear-gradient(140deg, #14313d, #0c222e); border-color: #2a4a54; }
.open-card h2 { font-size: 30px; }
.open-card p { font-size: 12px; color: #b0cbc8; }
.open-card>a { font-size: 11px; font-weight: 750; color: #e2eeec; }
.open-card .eyebrow { color: #b0cbc8; font-size: 8px; }
.open-card .icon-tile { background: #173d3b; border-color: #36635b; color: var(--mint); }
.code-line { color: #bfded2; background: #081e29; border-color: #284c51; font-size: 10px; }
.code-line span { color: var(--mint); font-weight: 750; }
.page-footer { padding: 28px 40px 30px; color: #b0cbc8; font-size: 9px; line-height: 1.7; }
.page-footer>span:first-child { color: #b0cbc8; font-weight: 650; }
.footer-signal { width: 26px; height: 25px; }

/* Contributor workspaces, forms, API and evidence share the same hierarchy. */
.surface.padded { padding: 29px; }
.surface.padded>p { font-size: 13px; }
.surface pre { background: #0a2029; color: #c0e7d8; border-color: #24443f; border-radius: 12px; font-size: 12px; }
.surface code { font-size: 11px; }
.api-response { background: #0a2029; }
.api-response .panel-heading { border-bottom-color: #28423e; color: #d4eae1; }
.api-response .badge { background: #183e33; color: #9ee6cb; border-color: #315c4d; }
.api-response .panel-heading code { font-size: 10px; }
.api-response pre { background: #0a2029; color: #c0e7d8; min-height: 385px; font-size: 11px; }
.section-heading h2 { font-size: 23px; }
.vessel-card { background: linear-gradient(145deg, #14333c, #0c2530); border-color: #2d4b54; border-radius: 18px; padding: 27px; }
.vessel-card:hover { border-color: #498471; background: #14363d; }
.vessel-card h2 { color: #e2eeec; font-size: 29px; overflow-wrap: anywhere; }
.vessel-card p { font-size: 12px; color: #b0cbc8; }
.vessel-card-bottom { border-color: #2a4a51; color: #b0cbc8; font-size: 11px; }
.vessel-card-bottom>span:last-child { color: #b0cbc8; }
.sharing-line { color: #b0cbc8; font-size: 10px; }
.icon-tile { color: #8de3c0; background: #163c36; border-color: #2d5b4e; border-radius: 12px; }
.empty-fleet { background: radial-gradient(ellipse at top, #173e36, #0c222c 80%); border-color: #3b6758; border-radius: 20px; }
.empty-fleet p { color: #b0cbc8; font-size: 13px; }
.info-strip { background: #102e32; border-color: #2a4c4c; border-radius: 14px; padding: 24px; }
.info-strip>svg { color: #b0cbc8; }
.info-strip h3 { font-size: 15px; }
.info-strip p { color: #b0cbc8; font-size: 12px; }
.form-layout { gap: 48px; margin: 32px auto 45px; }
.form-story { padding: 20px 0; }
.form-story h1 { font-size: clamp(34px, 3.4vw, 49px); }
.form-story>p { font-size: 14px; }
.form-panel { background: linear-gradient(135deg, #102c36, #0b232e); border-color: #2d4b55; border-radius: 20px; padding: 32px; box-shadow: 0 8px 32px #133b2305; }
.form-panel h2 { font-size: 26px; }
.field { margin-bottom: 23px; }
.field label { font-size: 12px; color: #e2eeec; font-weight: 700; }
.required { color: #b0cbc8; }
input, select, textarea { font-size: 14px; background: #081e29; color: #deeee8; border: 1px solid #365763; border-radius: 9px; padding: 12px 13px; min-height: 46px; }
input::placeholder, textarea::placeholder { color: #b0cbc8; }
input:focus, textarea:focus, select:focus { border-color: var(--mint); }
input[type=checkbox] { min-height: 0; accent-color: var(--mint); }
.help-text { color: #b0cbc8; font-size: 11px; line-height: 1.8; }
.errorlist { color: #ffbcac; background: #3c2628; border-color: #77504b; border-radius: 8px; font-size: 12px; }
.form-foot { font-size: 12px; }
.story-water { background: radial-gradient(ellipse at 70% 30%, #16434a, #091e29 75%); border-radius: 24px; height: 235px; margin-top: 30px;  border: 1px solid #294f52; }
.story-water img { position: relative; z-index: 1; width: 170px; height: 170px; }
.story-water::before, .story-water::after { border-color: #2a4a5133; transform: rotate(-20deg); }
.trust-note { color: #b0cbc8; font-size: 11px; }
.trust-note svg { color: #b0cbc8; }
.setup-steps { border-color: #2b5749; background: #143733; border-radius: 14px; }
.setup-steps a { color: #e2eeec; min-width: 0; }
.setup-steps a:hover { background: #1b4339; }
.setup-steps a+a { border-color: #2a4a51; }
.setup-steps a>span, .setup-steps b { color: #b0cbc8; }
.setup-steps small { color: #b0cbc8; }
.trend-key { color: #69d5bb; font-size: 10px; }
.card-foot { font-size: 10px; }
.instrument-list h3, .gateway-list h3, .watch-list h3 { font-size: 14px; }
.instrument-list article>div, .gateway-list article>div { min-width: 0; overflow-wrap: anywhere; }
.instrument-list p, .gateway-list p, .watch-list p { font-size: 11px; }
.instrument-list small, .gateway-list small { color: #b0cbc8; font-size: 10px; }
.breakable { color: #b0cbc8; }
.text-button { color: #b0cbc8; font-size: 11px; min-height: 28px; }
.danger { color: #e3bc7d; }
.card-link { font-size: 11px; }
.watch-list .eyebrow { color: #e3bc7d; font-size: 8px; }
table { font-size: 11px; }
th { background: #09202a; color: #9fbcb8; font-size: 9px; }
td { border-color: #24434a; color: #c0d8cf; }
.audit>div { color: #b0cbc8; font-size: 10px; }
.secret-box { background: #153c30; border-color: #3b6f54; border-radius: 11px; }
.secret-box code { color: #a9e9c9; }
.timeline li { border-color: #3d6855; }
.timeline li:before { background: var(--mint); box-shadow: 0 0 0 5px #1b4136; }
.timeline strong { color: #e2eeec; font-size: 13px; }
.timeline span { font-size: 11px; }
.join-hero { background: radial-gradient(ellipse at 85% 20%, #17474a, #0c2935 60%, #091e29); border-color: #2d5158; border-radius: 23px; padding: 57px 45px; isolation: isolate; }
.join-hero h1 { color: #edf6f0; max-width: 710px; }
.join-hero h1 em { color: var(--mint); }
.join-hero p { color: #b6cfc1; max-width: 630px; font-size: 13px; }
.join-hero .eyebrow { color: #a0cbb8; }
.join-hero .button { background: var(--mint); border-color: var(--mint); color: #071821; }
.join-hero .button.secondary { background: #102d34; border-color: #416c63; color: #d8eee3; }
.hero-mark { z-index: -1; width: 430px; height: 430px; right: -140px; top: 30px; color: #6faa972f; border-color: #2a4a5144; transform: none; }
.hero-mark img { width: 76%; height: 76%; opacity: .24; }
.value-grid article>span { color: #b0cbc8; font-size: 9px; }
.value-grid h2 { font-size: 28px; }
.value-grid p, .connection-grid p { font-size: 12px; }
.value-grid code { color: #b0cbc8; }
.connection-grid>article>svg { color: #b0cbc8; }
.connection-grid .badge { font-size: 8px; }
.brief-evidence code { color: #bad9cc; background: #102d34; font-size: 9px; }
.notice { color: #b0e8c9; background: #153b30; border-color: #397158; border-radius: 11px; }

@media (min-width: 1650px) {
  .chart-wrap { height: 595px; }
  .explorer-grid { grid-template-columns: minmax(0, 1fr) 310px; }
  #observation-list { max-height: 300px; }
}
@media (max-width: 1200px) {
  :root { --rail: 220px; }
  .rail { padding: 28px 15px 20px; }
  .brand { font-size: 18px; gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  .rail nav a { font-size: 11px; }
  .rail-label { font-size: 8px; }
  main { padding: 28px 27px 15px; }
  .masthead { padding: 0 27px; }
  .horizon-intro { grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr); gap: 20px; }
  .horizon-intro h1 { font-size: 45px; }
  .signal-panel { min-height: 254px; }
  .signal-caption { font-size: 7px; left: 18px; right: 18px; letter-spacing: .8px; }
  .signal-coordinates { left: 18px; }
  .explorer-grid { grid-template-columns: minmax(0, 1fr) 256px; }
  .metric-card { padding: 16px; }
  .metric-value.smaller { font-size: 25px; }
  .metric-top { font-size: 7px; }
  .panel-heading { padding: 16px 18px; }
  .map-toolbar { left: 12px; right: 12px; }
  .segmented button { font-size: 9px; padding: 7px 9px; }
  .map-pill { font-size: 9px; }
  .contribute-card, .open-card { padding: 26px; }
  .contribute-card h2 { font-size: 29px; }
  .contribution-signal { min-width: 60px; width: 23%; }
  .form-layout { gap: 30px; }
  .form-panel { padding: 25px; }
  .page-heading>.button { font-size: 11px; }
}
@media (max-width: 980px) {
  :root { --rail: 76px; }
  .rail { padding: 26px 12px; overflow-y: visible; }
  .brand img { width: 44px; height: 44px; }
  .rail nav { margin-top: 37px; gap: 15px; }
  .rail nav a { font-size: 0; width: 46px; height: 46px; min-height: 46px; }
  .rail nav a.active::after { display: none; }
  .brand>span, .rail-card, .rail-label, .rail-footer { display: none; }
  .horizon-intro h1 { font-size: 42px; }
  .horizon-intro .eyebrow { font-size: 8px; }
  .intro-actions { gap: 14px; }
  .intro-actions .button { padding: 11px 13px; font-size: 11px; }
  .intro-actions .quiet-link { font-size: 10px; }
  .signal-caption span:last-child { display: none; }
  .network-state>.eyebrow { display: none; }
  .network-state .heading-side { width: 100%; justify-content: space-between; }
  .map-toolbar { flex-wrap: wrap; }
  .map-pill { min-height: 34px; }
  .chart-wrap { height: 560px; }
  .page-heading { align-items: flex-start; }
  .page-heading>.badge { white-space: normal; }
  .panel-heading>a { font-size: 10px; }
  .metric-value { font-size: 31px; }
  .metric-value.smaller { font-size: 24px; }
  .metric-card p { font-size: 9px; }
  .form-story h1 { font-size: 35px; }
  .page-footer { padding: 24px 27px; }
}
@media (max-width: 760px) {
  :root { --rail: 0px; }
  html { scroll-padding-top: 87px; }
  .rail { display: none; }
  .masthead { height: 72px; padding: 0 20px; }
  .mobile-brand { font-size: 20px; font-weight: 800; gap: 8px; letter-spacing: -1px; color: #e2eeec; }
  .mobile-brand img { width: 34px; height: 34px; }
  .header-actions { gap: 8px; }
  .header-actions .button { font-size: 10px; min-height: 36px; padding: 8px 11px; gap: 8px; border-radius: 9px; }
  .header-actions .button>span { display: none; }
  main { padding: 25px 18px 20px; }
  .page-heading { margin-bottom: 24px; }
  .page-heading h1 { font-size: 35px; margin: 15px 0 12px; }
  .page-heading .eyebrow { font-size: 8px; letter-spacing: 1.25px; }
  .page-heading p { font-size: 12px; line-height: 1.8; }
  .page-heading>.button { margin-top: 20px; }
  .horizon-intro { display: block; margin-bottom: 22px; position: relative; }
  .horizon-intro .page-heading { margin-bottom: 0; }
  .horizon-intro h1 { font-size: clamp(40px, 10.7vw, 59px); margin: 17px 0 13px; max-width: 570px; }
  .horizon-intro p { font-size: 12px; max-width: 290px; }
  .horizon-intro .eyebrow { font-size: 8px; letter-spacing: 1.5px; }
  .signal-panel { display: none; }
  .intro-actions { margin-top: 21px; gap: 22px; }
  .intro-actions .button { font-size: 11px; padding: 11px 16px; min-height: 43px; }
  .intro-actions .quiet-link { font-size: 11px; }
  .mobile-experience .intro-actions { display: none; }
  .mobile-experience .horizon-intro { margin-bottom: 20px; }
  .mobile-experience .horizon-intro h1 { font-size: clamp(37px, 10vw, 52px); margin-top: 13px; }
  .mobile-experience .horizon-intro p { max-width: 340px; }
  .network-state { margin-bottom: 13px; }
  .network-state .heading-side { gap: 8px; }
  .network-state .badge { font-size: 7px; padding: 5px 8px; }
  .network-state .quiet-link { font-size: 9px; }
  .demo-banner { font-size: 10px; padding: 10px 12px; margin-bottom: 17px; line-height: 1.7; }
  .metrics-grid { gap: 10px; margin-bottom: 19px; }
  .metric-card { border-radius: 12px; min-height: 112px; padding: 14px 16px; }
  .metric-top { font-size: 8px; letter-spacing: .8px; }
  .metric-top svg { width: 16px; height: 16px; }
  .metric-value { font-size: 30px; margin-top: 8px; }
  .metric-value.smaller { font-size: 25px; margin-top: 10px; }
  .metric-value.small-value { font-size: 16px; }
  .metric-card p { font-size: 9px; }
  .metric-decoration { font-size: 58px; }
  .metrics-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .metrics-grid.three .metric-card { padding: 13px 10px; }
  .metrics-grid.three .metric-top { font-size: 7px; letter-spacing: .2px; }
  .metrics-grid.three .metric-card p { font-size: 8px; }
  .explorer-grid { display: block; }
  .explorer-panel, .surface { border-radius: 16px; }
  .panel-heading { padding: 14px; min-height: 67px; gap: 8px; }
  .panel-heading>div { gap: 5px; }
  .panel-heading h2 { font-size: 14px; }
  .panel-actions { gap: 7px!important; }
  .panel-actions select { min-height: 38px; font-size: 10px; padding: 8px 16px 8px 8px; }
  .icon-button { height: 38px; width: 38px; flex-shrink: 0; }
  .chart-wrap { height: 414px; border-right: 0; border-bottom: 1px solid #2a4a51; }
  .map-toolbar { left: 11px; right: 11px; top: 12px; gap: 7px; flex-wrap: nowrap; }
  .segmented { padding: 3px; border-radius: 9px; }
  .segmented button { font-size: 10px; min-height: 36px; padding: 7px 10px; }
  .map-pill { min-height: 43px; padding: 5px 8px; font-size: 9px; border-radius: 9px; gap: 5px; }
  .map-pill svg { width: 12px; height: 12px; }
  .compass { top: 76px; right: 19px; }
  .map-credit { font-size: 7px; max-width: 285px; }
  .map-bottom { bottom: 31px; left: 13px; right: 13px; }
  .map-legend { padding: 8px 10px; }
  .zoom-controls button { width: 40px; height: 40px; }
  .inspector-title { padding: 20px 17px 9px; }
  .inspector-title .eyebrow { font-size: 8px; }
  .inspector-title h3 { font-size: 18px; }
  #observation-list { padding: 9px 13px 17px; max-height: none; gap: 9px; scroll-padding-left: 13px; }
  .observation-row { width: 179px; min-width: 179px; border: 1px solid #2a4a51; padding: 13px; border-radius: 11px; }
  .observation-row .row-name { max-width: 152px; font-size: 10px; }
  .observation-row .row-meta { font-size: 8px; }
  .observation-row .row-value { font-size: 23px; margin-top: 11px; }
  .detail { padding: 19px 18px 22px; }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .detail-grid span { font-size: 9px; }
  .detail-grid b { font-size: 15px; }
  .detail h4 { font-size: 15px; }
  .detail-foot { font-size: 9px; line-height: 1.8; }
  .panel-footer { padding: 13px 15px; font-size: 8px; gap: 12px; }
  .panel-footer a { white-space: nowrap; }
  .chart-empty { padding: 65px 18px; }
  .chart-empty h3 { font-size: 26px; }
  .chart-empty p { font-size: 12px; }
  .chart-empty .button { font-size: 10px; padding: 12px; }
  .bottom-grid { gap: 18px; margin-top: 23px; }
  .contribute-card, .open-card { padding: 26px; border-radius: 18px; }
  .contribute-card h2, .open-card h2 { font-size: 30px; }
  .contribute-card p, .open-card p { font-size: 12px; }
  .contribution-signal { position: absolute; width: 130px; right: -40px; top: 63px; opacity: .18; }
  .contribute-card .button { font-size: 11px; }
  .open-card .icon-tile { width: 37px; height: 37px; }
  .page-footer { padding: 8px 22px 115px; font-size: 9px; }
  .page-footer>span:first-child { font-size: 10px; }
  .page-footer>span:last-child { font-size: 9px; }
  .mobile-nav { background: #081d27fa; border-top: 1px solid #2a4a51; padding: 7px 12px max(9px, env(safe-area-inset-bottom)); box-shadow: 0 -5px 20px #183a2106; }
  .mobile-nav a { position: relative; flex: 1; min-width: 0; min-height: 57px; padding: 7px 0 5px; font-size: 9px; gap: 5px; color: #b0cbc8; border-radius: 12px; font-weight: 700; }
  .mobile-nav a.active { color: #95e7c8; background: #194439; }
  .mobile-nav a.active svg { stroke-width: 2; }
  .mobile-nav a:hover { color: #b7f0d9; background: #143731; }
  .mobile-nav svg { width: 22px; height: 22px; }
  .form-layout { margin: 0; }
  .form-story { padding: 0; }
  .form-story h1 { font-size: 36px; margin: 16px 0; }
  .form-story>p { font-size: 13px; margin-bottom: 25px; }
  .story-water { display: none; }
  .form-panel { padding: 24px 21px; border-radius: 18px; }
  .field { margin-bottom: 24px; }
  .field label { font-size: 13px; }
  input, select, textarea { font-size: 16px; min-height: 49px; padding: 12px; }
  .help-text { font-size: 11px; }
  .button { min-height: 46px; font-size: 12px; }
  .button.small { min-height: 40px; }
  .surface.padded { padding: 24px 21px; }
  .surface pre { padding: 16px; font-size: 11px; }
  .surface.padded>p { font-size: 12px; }
  .info-strip { padding: 21px 17px; gap: 13px; }
  .info-strip h3 { font-size: 14px; }
  .info-strip p { font-size: 11px; }
  .setup-steps a { padding: 17px; }
  .setup-steps a+a { border-color: #2a4a51; }
  .setup-steps div { font-size: 12px; }
  .setup-steps small { font-size: 10px; }
  .setup-steps a>span { font-size: 20px; }
  .instrument-list article, .gateway-list article { padding: 21px 18px; }
  .instrument-list h3, .gateway-list h3 { font-size: 14px; }
  .instrument-list p, .gateway-list p { font-size: 11px; }
  .text-button { min-height: 35px; }
  .section-heading h2 { font-size: 22px; }
  .join-hero { padding: 32px 23px; border-radius: 20px; }
  .join-hero h1 { font-size: 36px; }
  .join-hero p { font-size: 12px; }
  .hero-mark { width: 320px; height: 320px; top: 85px; right: -165px; opacity: .75; }
  .hero-buttons { gap: 12px; }
  .value-grid p, .connection-grid p { font-size: 12px; }
  .value-grid h2 { font-size: 28px; }
  .value-grid article>span { font-size: 9px; }
  .connection-grid .badge { font-size: 8px; }
  .brief-form .button { width: 100%; }
  .api-response pre { min-height: 260px; }
}
@media (max-width: 360px) {
  .masthead { padding: 0 14px; }
  .mobile-brand { font-size: 17px; gap: 6px; }
  .mobile-brand img { width: 29px; height: 29px; }
  .header-actions .button { padding: 8px; font-size: 9px; }
  main { padding-left: 13px; padding-right: 13px; }
  .horizon-intro h1 { font-size: 38px; }
  .network-state .quiet-link { font-size: 8px; }
  .panel-heading { padding: 12px; }
  .panel-heading h2 { font-size: 12px; }
  .panel-actions select { font-size: 9px; }
  .segmented button { font-size: 9px; padding: 7px; }
  .map-pill { font-size: 8px; padding: 5px 6px; }
  .chart-wrap { height: 394px; }
  .metrics-grid.three { grid-template-columns: 1fr; }
  .metrics-grid.three .metric-top { font-size: 9px; }
  .metrics-grid.three .metric-card p { font-size: 10px; }
  .panel-footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none!important; transition: none!important; }
}

/* Approved lettering is a traced asset, not a font substitution. */
.brand img.brand-lettering { width: 153px; height: auto; display: block; }
.brand img.brand-symbol { width: 37px; height: 37px; }
.brand small { margin-top: 5px; }
.mobile-brand img.brand-lettering { width: 154px; height: auto; }
.mobile-brand img.brand-symbol { width: 34px; height: 34px; }
.secondary-nav.active { background: #173d37; color: #91e7c8; border-color: #2b5d4c; }
@media (max-width: 1200px) and (min-width: 981px) {
  .brand img.brand-lettering { width: 140px; height: auto; }
  .brand img.brand-symbol { width: 33px; height: 33px; }
}
@media (max-width: 980px) and (min-width: 761px) {
  .brand img.brand-symbol { width: 44px; height: 44px; }
}
@media (max-width: 360px) {
  .mobile-brand img.brand-lettering { width: 132px; height: auto; }
  .mobile-brand img.brand-symbol { width: 29px; height: 29px; }
}
