/* ZoneIntel AI city page skin (cities and public spaces pages). Same palette and type as zi-s.css; loads with zi-shell.css.
   Moved onto the ZoneIntel AI palette and type by _build/skins.py (8 Nov 2026). Header and footer rules here are unused (the shell owns them). */

/* Atkinson Hyperlegible draws a slashed zero, which reads as a broken glyph in figures. Digits come from a Schibsted subset. */

:root {
  --paper: #F4F6F9;
  --paper-2: #EBEFF4;
  --white: #FFFFFF;
  --ink: #0B1322;
  --text: #0B1322;
  --text-2: #33405A;
  --text-3: #556178;
  --line: #D9DEE6;
  --line-2: #E6EAF0;
  --civic: #0F7F94;
  --civic-2: #0B6A7C;
  --civic-soft: #E2F1F4;
  --civic-ink: #0B5E6E;
  --night: #060A12;
  --night-2: #0D1526;
  --fg: #E9EEF5;
  --fg-2: #C4CEDC;
  --fg-3: #8E9CB2;
  --line-d: rgba(255,255,255,.13);
  --ok: #157A4B;
  --ok-soft: #E3F2EA;
  --warn: #A35A00;
  --warn-soft: #FBEBDD;
  --radius: 10px;
  --wrap: 1200px;
  --gut: 28px;
  --head: "Archivo", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--body); font-size: 17.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(38px, 5.2vw, 70px); letter-spacing: -.03em; }
h2 { font-size: clamp(30px, 3.4vw, 46px); }
h3 { font-size: clamp(19px, 1.7vw, 23px); letter-spacing: -.01em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.lead { font-size: clamp(18px, 1.45vw, 20px); color: var(--text-2); max-width: 40rem; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--civic); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--civic); outline-offset: 3px; }

/* Sections */
.sec { padding: clamp(72px, 9vw, 120px) 0; }
.white { background: var(--white); }
.stone { background: var(--paper-2); }
.night { background: var(--night); color: var(--fg); }
.night h1, .night h2, .night h3 { color: var(--fg); }
.night .lead, .night p { color: var(--fg-2); }
.sec-head { max-width: 48rem; margin-bottom: clamp(36px, 4vw, 56px); }
.sec-head p { color: var(--text-2); font-size: 19px; margin: 0; }
.rule { border-top: 1px solid var(--line); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn-primary { background: var(--civic); color: #fff !important; }
.btn-primary:hover { background: var(--civic-2); }
.btn-line { background: transparent; color: var(--ink) !important; border-color: #9AA5B5; }
.btn-line:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink) !important; }
.btn-light:hover { background: var(--civic-soft); }
.btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; }
.btn:active { transform: translateY(1px); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.arrow-link { font-weight: 700; text-decoration: none; color: var(--civic); border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.arrow-link::after { content: " \2192"; }
.night .arrow-link { color: #5ED3E6; }

/* Header: always light */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 26px; height: 70px; }
.brand { display: block; flex: none; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15.5px; color: var(--text-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-color: var(--civic); }
.nav a.nav-partner { color: var(--civic); font-weight: 700; }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 15px; border-bottom: 1.5px solid transparent; }
.menu-btn { display: none; margin-left: auto; background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; height: 42px; padding: 0 16px; font: 700 15px var(--body); cursor: pointer; }

/* Hero: an inset dark video panel under the light header */
.hero-shell { padding: 14px 14px 0; }
.hero { position: relative; min-height: min(86svh, 820px); display: flex; align-items: flex-end; background: var(--night); color: var(--fg); overflow: hidden; border-radius: 18px; }
.hero video, .hero .hero-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(6,10,18,.93) 0%, rgba(6,10,18,.82) 36%, rgba(6,10,18,.35) 58%, rgba(6,10,18,0) 76%),
              linear-gradient(0deg, rgba(6,10,18,.85) 0%, rgba(6,10,18,0) 45%); }
.hero-in { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 44px; width: 100%; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { display: block; }
.hero .sub { font-size: clamp(18px, 1.45vw, 20px); color: #D2DAE6; max-width: 36rem; margin: 0; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 24px; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line-d); font-size: 15px; color: var(--fg-2); }
.hero-foot strong { color: #fff; }
.hero .text-link { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1.5px solid rgba(255,255,255,.5); align-self: center; margin-left: 6px; }
.cap { font-size: 13px; color: var(--fg-3); }

/* Two audiences */
.paths { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-top: -1px; }
.path { border-radius: 14px; padding: clamp(24px, 3vw, 36px); text-decoration: none; display: block; transition: border-color .2s; }
.path h2 { font-size: clamp(24px, 2.3vw, 30px); margin-bottom: 10px; }
.path p { margin: 0 0 18px; color: var(--text-2); }
.path-partner { background: var(--civic); color: #fff; }
.path-partner h2, .path-partner p { color: #fff; }
.path-partner p { color: #D5EEF2; }
.path-partner .arrow-link { color: #fff; }
.path-city { background: var(--white); border: 1px solid var(--line); }
.path-city:hover { border-color: #9AA5B5; }
.path .who { font-size: 15px; font-weight: 700; margin-bottom: 8px; display: block; opacity: .85; }

/* Intro */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro h2 { margin: 0; }
.intro p { font-size: 19px; color: var(--text-2); }
.intro p:last-child { margin: 0; }

/* The loop */
.loop-sec .sec-head { max-width: 52rem; }
.loopline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.loopline::before { content: ""; position: absolute; left: 11px; right: 11px; top: 11px; height: 3px; background: var(--civic); opacity: .25; }
.loopline li { position: relative; padding: 40px 22px 0 0; }
.loopline li::before { content: ""; position: absolute; left: 0; top: 0; width: 25px; height: 25px; border-radius: 50%; background: var(--white); border: 4px solid var(--civic); }
.loopline li:last-child::before { border-color: var(--ok); background: var(--ok); box-shadow: inset 0 0 0 4px #fff; }
.loopline h3 { margin: 0 0 6px; }
.loopline p { margin: 0; color: var(--text-2); font-size: 16.5px; }
.loopline .t { display: block; font: 700 14px var(--head); color: var(--civic); margin-bottom: 4px; }
.loopline li:last-child .t { color: var(--ok); }
.case { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.case .frame { position: relative; background: var(--night); min-height: 100%; }
.case .frame img, .case .frame video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; }
.case .frame .cap { position: absolute; left: 12px; bottom: 10px; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.7); }
.case-body { padding: clamp(22px, 2.6vw, 32px); }
.case-body h3 { margin-bottom: 4px; }
.case-meta { font-size: 14.5px; color: var(--text-3); margin-bottom: 16px; }
.case-log { list-style: none; margin: 0; padding: 0; }
.case-log li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 15.5px; }
.case-log b { font: 700 15px var(--head); color: var(--ink); font-variant-numeric: tabular-nums; }
.case-log li.ok b, .case-log li.ok span { color: var(--ok); }
.case-note { font-size: 13.5px; color: var(--text-3); margin: 14px 0 0; }

/* Modules */
.mods { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.mods > div { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 170px 1fr; gap: 18px; }
.mods h3 { margin: 0; font-size: 20px; }
.mods p { margin: 0; color: var(--text-2); }
.promise { font: 700 clamp(24px, 2.6vw, 34px)/1.2 var(--head); letter-spacing: -.02em; color: var(--ink); max-width: 30ch; margin: 0 0 clamp(32px, 4vw, 48px); }
.promise span { color: var(--civic); }

/* Ask it demo (light console) */
.ask { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.45fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.ask-qs h3 { font-size: 15px; font-family: var(--body); font-weight: 700; color: var(--text-3); letter-spacing: 0; margin: 0 0 10px; }
.qlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.qlist button { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--text-2); font: 400 16.5px/1.45 var(--body); padding: 15px 32px 15px 0; cursor: pointer; position: relative; transition: color .2s; }
.qlist button::after { content: "\2192"; position: absolute; right: 6px; top: 15px; color: var(--text-3); transition: transform .2s, color .2s; }
.qlist button:hover { color: var(--ink); }
.qlist button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
.qlist button[aria-pressed="true"]::after { color: var(--civic); transform: translateX(3px); }
.ask-note { font-size: 14px; color: var(--text-3); margin-top: 16px; }
.console { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 28px 60px -34px rgba(11,19,34,.35); }
.console-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line-2); font-size: 14px; color: var(--text-3); background: #F8FAFC; }
.console-bar .site { display: flex; align-items: center; gap: 10px; }
.console-bar .site img { height: 18px; width: auto; }
.tag-example { background: var(--warn-soft); color: #8A4510; font-weight: 700; font-size: 12.5px; padding: 3px 9px; border-radius: 4px; white-space: nowrap; }
.qbox { display: flex; align-items: center; gap: 12px; margin: 18px 18px 0; padding: 13px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; min-height: 54px; font-size: 16px; }
.qbox svg { flex: none; color: var(--text-3); }
.qtext { flex: 1; min-width: 0; color: var(--ink); }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--civic); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.thinking { padding: 18px 18px 0; color: var(--text-3); font-size: 14px; min-height: 22px; }
.answer { padding: 6px 18px 20px; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; }
.answer.show { opacity: 1; transform: none; }
.answer .a-text { font-size: 17px; line-height: 1.55; color: var(--text); margin: 0 0 16px; }
.a-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.a-still { margin: 0; }
.a-still .frame { position: relative; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: var(--night); }
.a-still img { width: 100%; height: 100%; object-fit: cover; }
.a-still .stamp, .a-still .play { position: absolute; bottom: 8px; background: rgba(6,10,18,.82); color: #fff; font-size: 12.5px; padding: 3px 8px; border-radius: 4px; }
.a-still .stamp { left: 8px; }
.a-still .play { right: 8px; }
.a-still figcaption { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.a-data { font-size: 14px; overflow-x: auto; }
.a-data table { width: 100%; border-collapse: collapse; }
.a-data th { text-align: left; font-weight: 700; color: var(--text-3); font-size: 12.5px; padding: 0 8px 6px 0; border-bottom: 1px solid var(--line); }
.a-data td { padding: 7px 8px 7px 0; border-bottom: 1px solid var(--line-2); color: var(--text); font-variant-numeric: tabular-nums; }
.a-data td.hl { color: var(--civic); font-weight: 700; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: var(--paper); border-radius: 8px; padding: 10px 12px; }
.stat b { display: block; font: 700 23px/1.1 var(--head); color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { font-size: 12.5px; color: var(--text-2); }
.tl { margin-top: 18px; }
.tl-head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-3); margin-bottom: 6px; }
.tl-track { position: relative; height: 34px; }
.tl-track::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 4px; background: var(--line-2); border-radius: 2px; }
.tl-fill { position: absolute; left: 0; top: 15px; height: 4px; width: 0; background: var(--civic); border-radius: 2px; }
.tl-dot { position: absolute; top: 9px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--line); border: 3px solid var(--white); transition: background-color .25s; padding: 0; cursor: pointer; }
.tl-dot.on { background: var(--civic); }
.tl-dot.warn.on { background: var(--warn); }
.tl-dot.ok.on { background: var(--ok); }
.tl-now { font-size: 14px; color: var(--text); min-height: 44px; margin-top: 4px; }
.tl-now b { font-variant-numeric: tabular-nums; color: var(--civic); font-weight: 700; margin-right: 8px; }
.task { margin-top: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.task-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; align-items: baseline; margin-bottom: 12px; }
.task-top strong { font-size: 15.5px; }
.task-top span { font-size: 13.5px; color: var(--text-2); }
.status { font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.status.closed { background: var(--ok-soft); color: #1F6B44; }
.status.open { background: var(--warn-soft); color: #8A4510; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.steps li { font-size: 13px; color: var(--text-3); border-top: 3px solid var(--line-2); padding-top: 8px; line-height: 1.4; opacity: .55; transition: opacity .3s, border-color .3s; }
.steps li b { display: block; color: var(--text); font-weight: 700; font-size: 13px; }
.steps li.done { opacity: 1; border-color: var(--civic); }
.steps li.done.verify { border-color: var(--ok); }
.steps li.wait { opacity: 1; border-color: var(--warn); }

/* Use cases */
.uc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.uc { background: var(--white); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); border: 1px solid var(--line); transition: border-color .2s; }
.uc:hover { border-color: #9AA5B5; }
.uc .frame { position: relative; aspect-ratio: 16/10; background: var(--night); overflow: hidden; }
.uc .frame video, .uc .frame img { width: 100%; height: 100%; object-fit: cover; }
.uc .frame .cap { position: absolute; left: 10px; bottom: 8px; color: rgba(255,255,255,.85); font-size: 12px; text-shadow: 0 1px 2px rgba(0,0,0,.7); }
.uc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.uc-body h3 { margin: 0 0 8px; }
.uc-body p { margin: 0 0 14px; color: var(--text-2); font-size: 16.5px; }
.uc-body .arrow-link { font-size: 15px; margin-top: auto; align-self: flex-start; }
.uc-wide { grid-column: 1 / -1; flex-direction: row; }
.uc-wide .frame { flex: 0 0 58%; aspect-ratio: 16/9; }
.uc-wide .uc-body { padding: clamp(24px, 3vw, 40px); justify-content: center; }
.uc-wide h3 { font-size: clamp(24px, 2.3vw, 30px); }
.more { margin-top: 56px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.more h3 { font-size: 24px; }
.more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.more li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.more li strong { display: block; font-size: 16.5px; }
.more li span { color: var(--text-2); font-size: 15.5px; }

/* The output is the document */
.doc-sec { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; }
.ticks li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 12px; height: 7px; border-left: 3px solid var(--civic); border-bottom: 3px solid var(--civic); transform: rotate(-45deg); }
.night .ticks li { border-color: var(--line-d); }
.paper-label { font-size: 13px; color: var(--text-3); margin: 12px 0 0; }
.report { background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 24px 50px -28px rgba(11,19,34,.4); padding: 28px 30px; font-size: 14px; color: var(--text); }
.r-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.r-head img { height: 20px; width: auto; }
.r-head h4 { font-size: 18px; margin: 10px 0 2px; }
.r-head .meta { color: var(--text-2); font-size: 13px; text-align: right; }
.r-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.r-row b { display: block; font: 700 22px/1.1 var(--head); font-variant-numeric: tabular-nums; }
.r-row span { font-size: 12px; color: var(--text-2); }
.report h5 { font: 700 13px var(--body); margin: 16px 0 8px; }
.report .tbl { overflow-x: auto; }
.report table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.report th { text-align: left; color: var(--text-2); font-weight: 700; padding: 4px 8px 4px 0; border-bottom: 1px solid var(--line); }
.report td { padding: 5px 8px 5px 0; border-bottom: 1px solid var(--line-2); }
.r-sign { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--text-2); }
.r-sign strong { color: var(--text); }

/* Proof */
.proof { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: end; }
.proof h2 { margin: 0; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.num b { display: block; font: 700 clamp(40px, 4.4vw, 58px)/1 var(--head); color: var(--civic); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.num span { display: block; margin-top: 10px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.safety-note { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.safety-note h3 { margin: 0; }
.safety-note p { margin: 0; color: var(--text-2); }

/* Integrations flow */
.flow { display: grid; grid-template-columns: 1fr auto 1.15fr auto 1fr; align-items: stretch; }
.flow-box { border: 1px solid var(--line); background: var(--white); border-radius: 12px; padding: 24px; }
.flow-box.mid { background: var(--civic); color: #fff; border-color: var(--civic); }
.flow-box.mid h3 { color: #fff; }
.flow-box h3 { font-size: 20px; margin: 0 0 12px; }
.flow-box ul { margin: 0; padding: 0; list-style: none; }
.flow-box li { padding: 7px 0; border-top: 1px solid var(--line-2); font-size: 15.5px; color: var(--text-2); }
.flow-box.mid li { border-color: rgba(255,255,255,.2); color: #D5EEF2; }
.flow-arrow { width: 56px; display: flex; align-items: center; justify-content: center; }
.flow-arrow span { display: block; width: 100%; height: 2px; background: var(--ink); position: relative; }
.flow-arrow span::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 9px solid var(--ink); border-right: 0; }

/* Calculators */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.calc-in { padding: clamp(22px, 3vw, 40px); }
.calc-in fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.calc-in legend { font: 700 18px var(--head); margin-bottom: 12px; padding: 0; color: var(--ink); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; align-items: end; }
.field { min-width: 0; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.field input, .field select, .form input, .form select, .form textarea { width: 100%; height: 48px; border: 1px solid #B7C0CC; border-radius: 8px; background: var(--white); color: var(--text); font: 400 17px var(--body); padding: 0 12px; font-variant-numeric: tabular-nums; }
.field input:focus, .field select:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--civic); box-shadow: 0 0 0 3px rgba(15,127,148,.22); }
.field .unit { font-weight: 400; color: var(--text-3); }
.calc-out { background: var(--civic-soft); padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; }
.calc-out .tag-example { align-self: flex-start; margin-bottom: 16px; }
.out-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(15,127,148,.16); font-size: 15px; color: var(--text-2); }
.out-row b { font: 700 20px var(--head); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.out-big { margin-top: 20px; }
.out-big span { display: block; font-size: 15px; color: var(--text-2); }
.out-big b { display: block; font: 700 clamp(36px, 4vw, 52px)/1.05 var(--head); color: var(--civic); font-variant-numeric: tabular-nums; margin: 6px 0 4px; letter-spacing: -.02em; }
.out-big small { font-size: 14px; color: var(--text-2); }
.calc-out .fine { font-size: 13px; color: var(--text-3); margin: auto 0 0; padding-top: 22px; }

/* Partner band on home */
.pband { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(28px, 4vw, 56px); }
.pband h2 { margin-bottom: 12px; }
.pband ul { list-style: none; margin: 0; padding: 0; }
.pband li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line-2); position: relative; }
.pband li::before { content: ""; position: absolute; left: 0; top: 22px; width: 14px; height: 3px; background: var(--civic); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 5vw, 80px); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 19px 44px 19px 0; position: relative; font: 700 18px/1.4 var(--body); color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 8px; top: 25px; width: 10px; height: 10px; border-right: 2.5px solid var(--civic); border-bottom: 2.5px solid var(--civic); transform: rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq-list details p { margin: 0 0 22px; color: var(--text-2); max-width: 44rem; }

/* Final CTA (dark) */
.cta-band { background: var(--night); color: var(--fg); }
.cta-band .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px 56px; align-items: center; padding-top: clamp(64px, 7vw, 96px); padding-bottom: clamp(64px, 7vw, 96px); }
.cta-band h2 { color: #fff; margin: 0 0 12px; font-size: clamp(30px, 3.4vw, 44px); }
.cta-band p { margin: 0; color: var(--fg-2); max-width: 36rem; }
.cta-band .btns { margin: 0; justify-content: flex-end; }

/* Inner page hero (light) */
.page-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero .grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(34px, 3.9vw, 54px); }
.page-hero .sub { color: var(--text-2); font-size: clamp(18px, 1.4vw, 20px); max-width: 35rem; }
.crumbs { font-size: 14px; color: var(--text-3); margin-bottom: 20px; }
.crumbs a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.clip { margin: 0; }
.clip .frame { position: relative; aspect-ratio: 16 / 9; background: var(--night); border-radius: 14px; overflow: hidden; }
.clip video, .clip img { width: 100%; height: 100%; object-fit: cover; }
.clip figcaption { font-size: 13px; color: var(--text-3); margin-top: 10px; }

/* Use case pages */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.problem p { font-size: 18px; color: var(--text-2); }
.pains { list-style: none; margin: 0; padding: 0; align-self: center; }
.pains li { padding: 15px 0 15px 28px; border-top: 1px solid var(--line); position: relative; font-weight: 700; }
.pains li:last-child { border-bottom: 1px solid var(--line); }
.pains li::before { content: ""; position: absolute; left: 0; top: 26px; width: 14px; height: 3px; background: var(--warn); }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.stops { list-style: none; margin: 0; padding: 0; position: relative; }
.stops::before { content: ""; position: absolute; left: 10px; top: 12px; bottom: 12px; width: 3px; background: var(--civic); opacity: .25; }
.stops li { position: relative; padding: 0 0 28px 46px; }
.stops li:last-child { padding-bottom: 0; }
.stops li::before { content: ""; position: absolute; left: 0; top: 3px; width: 23px; height: 23px; border-radius: 50%; background: var(--white); border: 4px solid var(--civic); }
.stops li:last-child::before { border-color: var(--ok); }
.stops h3 { margin: 0 0 4px; font-size: 20px; }
.stops p { margin: 0; color: var(--text-2); }
.stops.on-paper li::before { background: var(--paper); }
.sample { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; overflow-x: auto; }
.sample h3 { font-size: 18px; margin: 0 0 4px; }
.sample .paper-label { margin: 0 0 14px; }
.sample table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; min-width: 480px; }
.sample th { text-align: left; font-weight: 700; color: var(--text-2); font-size: 13px; padding: 6px 10px 8px 0; border-bottom: 2px solid var(--ink); }
.sample td { padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line-2); }
.sample td.flag { color: var(--warn); font-weight: 700; }
.sample td.okc { color: var(--ok); font-weight: 700; }
.asks { display: grid; gap: 12px; margin-top: 8px; }
.asks blockquote { margin: 0; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--civic); border-radius: 0 10px 10px 0; color: var(--ink); font-size: 17px; font-weight: 700; }
.asks blockquote p { margin: 6px 0 0; color: var(--text-2); font-size: 15.5px; font-weight: 400; }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* How it works page */
.mod { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 80px); padding: 44px 0; border-top: 1px solid var(--line); }
.mod:first-child { border-top: 0; padding-top: 0; }
.mod h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 0; }
.mod .kicker { color: var(--civic); margin-top: 10px; font-size: 17px; font-weight: 700; }
.mod-body p { color: var(--text-2); font-size: 17.5px; }
.mod-body ul { margin: 0 0 1em; padding-left: 20px; color: var(--text-2); }
.mod-body li { margin: 6px 0; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.privacy-grid div { padding: 18px 0; border-top: 1px solid var(--line); }
.privacy-grid h3 { font-size: 18px; margin: 0 0 6px; }
.privacy-grid p { margin: 0; color: var(--text-2); font-size: 16px; }

/* Partners page */
.split-who { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.who-box { border-radius: 14px; padding: clamp(22px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); }
.who-box.us { background: var(--civic-soft); border-color: #BFE3EA; }
.who-box h3 { margin-bottom: 4px; }
.who-box .kicker { color: var(--text-3); margin: 0 0 14px; font-size: 15px; }
.who-box ul { margin: 0; padding: 0; list-style: none; }
.who-box li { padding: 10px 0; border-top: 1px solid rgba(11,19,34,.1); }
.brand-demo { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 28px 60px -34px rgba(11,19,34,.35); }
.brand-demo .bd-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: #1B2A40; color: #fff; font-size: 14px; }
.brand-demo .bd-logo { display: flex; align-items: center; gap: 10px; font: 700 15px var(--head); }
.brand-demo .bd-logo i { display: block; width: 22px; height: 22px; border-radius: 6px; background: repeating-linear-gradient(45deg, #8E9CB2 0 4px, #6B7A92 4px 8px); }
.brand-demo ul { list-style: none; margin: 0; padding: 6px 16px 12px; }
.brand-demo li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.brand-demo li:last-child { border-bottom: 0; }
.brand-demo li b { font: 700 14px var(--head); font-variant-numeric: tabular-nums; }
.brand-demo .st { font-size: 12.5px; font-weight: 700; padding: 2px 7px; border-radius: 4px; background: var(--ok-soft); color: #1F6B44; }
.brand-demo .st.open { background: var(--warn-soft); color: #8A4510; }
.brand-demo .st.sent { background: var(--civic-soft); color: var(--civic-ink); }

/* Contact / forms */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 3vw, 40px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form .f { margin-bottom: 16px; min-width: 0; }
.form label { display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }
.form label .opt { font-weight: 400; color: var(--text-3); }
.form textarea { height: 120px; padding: 12px; resize: vertical; font-size: 16px; }
.form .fine { font-size: 13.5px; color: var(--text-2); margin: 14px 0 0; }
.form .next { margin: 16px 0 0; font-size: 15px; color: var(--text-2); }
.form .btn { width: 100%; margin-top: 6px; }
.thanks { display: none; }
.form.sent form { display: none; }
.form.sent .thanks { display: block; }
.thanks h2 { font-size: 30px; }
.side-list { list-style: none; padding: 0; margin: 24px 0 0; }
.side-list li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--text-2); }
.side-list strong { display: block; color: var(--ink); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.seg label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-weight: 700; font-size: 15px; cursor: pointer; margin: 0; }
.seg input { width: auto; height: auto; margin: 0; accent-color: var(--civic); }

/* Legal */
.legal { max-width: 46rem; }
.legal h2 { font-size: 24px; margin-top: 36px; }
.legal p, .legal li { color: var(--text-2); }

/* Footer (light) */
.site-foot { background: var(--paper-2); color: var(--text-2); font-size: 15px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 36px; }
.foot-in img { height: 28px; width: auto; margin-bottom: 16px; }
.foot-in h3 { font: 700 14px var(--body); color: var(--ink); margin: 0 0 12px; letter-spacing: 0; }
.foot-in ul { list-style: none; margin: 0; padding: 0; }
.foot-in li { margin: 0 0 8px; }
.foot-in a { color: var(--text-2); text-decoration: none; }
.foot-in a:hover { color: var(--ink); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 30px; font-size: 14px; border-top: 1px solid var(--line); }
.foot-base a { color: var(--text-2); margin-left: 18px; }
.foot-base a:first-child { margin-left: 0; }

/* Reveal: content is visible without JS; JS adds .js-rv to animate */
.js-rv .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js-rv .rv.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav a { font-size: 15px; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { width: auto; height: 40px; }
  .flow-arrow span { width: 2px; height: 100%; }
  .flow-arrow span::after { right: -5px; top: auto; bottom: -4px; border: 6px solid transparent; border-top: 9px solid var(--ink); border-bottom: 0; }
  .nums { grid-template-columns: 1fr 1fr; }
  .proof, .safety-note { grid-template-columns: 1fr; gap: 28px; }
  .uc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --gut: 20px; }
  body { font-size: 17px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: 8px var(--gut) 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(11,19,34,.3); }
  .nav.open { display: flex; }
  .nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--civic); }
  .nav .btn { display: flex; margin-top: 16px; min-height: 50px; border-bottom: 1.5px solid transparent; }
  .intro, .ask, .doc-sec, .faq, .problem, .split, .contact, .page-hero .grid, .mod, .more, .calc, .paths, .case, .pband, .cta-band .wrap, .split-who { grid-template-columns: 1fr; }
  .cta-band .btns { justify-content: flex-start; }
  .mods { grid-template-columns: 1fr; }
  .loopline { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .loopline::before { display: none; }
  .uc-wide { flex-direction: column; }
  .uc-wide .frame { flex: none; }
  .more ul { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .mod { padding: 34px 0; gap: 14px; }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(33px, 9.4vw, 42px); }
  .hero-shell { padding: 8px 8px 0; }
  .hero { min-height: 88svh; border-radius: 14px; }
  .hero-in { padding-top: 200px; padding-bottom: 26px; }
  .hero::after { background: linear-gradient(0deg, rgba(6,10,18,.97) 0%, rgba(6,10,18,.9) 50%, rgba(6,10,18,.25) 78%, rgba(6,10,18,0) 100%); }
  .hero-foot { margin-top: 28px; }
  .btns .btn { width: 100%; }
  .hero .text-link { margin: 6px 0 0; }
  .uc-grid { grid-template-columns: 1fr; }
  .loopline { grid-template-columns: 1fr; }
  .mods > div { grid-template-columns: 1fr; gap: 4px; }
  .a-grid { grid-template-columns: 1fr; }
  .a-right { order: -1; }
  .steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fields { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .r-row { grid-template-columns: 1fr 1fr; }
  .report { padding: 20px 16px; }
  .r-head { flex-direction: column; gap: 6px; }
  .r-head .meta { text-align: left; }
  .privacy-grid { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > div:first-child { grid-column: 1 / -1; }
  .foot-base a { margin-left: 0; margin-right: 18px; }
  .cta-band .btn { width: 100%; }
  .console-bar .site span { display: none; }
  .case-log li { grid-template-columns: 56px 1fr; }
  .brand-demo li { grid-template-columns: 46px 1fr; }
  .brand-demo li .st { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-rv .rv { opacity: 1; transform: none; transition: none; }
  .answer { transition: none; }
  .caret { animation: none; }
}

/* ---------- One-screen fit: every section fits a laptop screen ---------- */
.mgrid { display: grid; gap: 36px; }
.mcell h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 0; }
.mcell .kicker { color: var(--civic); font-weight: 700; margin: 8px 0 12px; }
.mcell .mod-body p { font-size: 16.5px; }
.side-p { color: var(--text-2); margin-top: 14px; }
.ask-lead { color: var(--text-2); margin: 0 0 22px; }
.ask-qs h2 { font-size: clamp(28px, 2.6vw, 38px); }
.more h2 { font-size: clamp(26px, 2.6vw, 36px); }
@media (min-width: 961px) {
  .sec { padding: clamp(40px, 8vh, 104px) 0; }
  .sec-head { margin-bottom: clamp(22px, 4vh, 48px); }
  .hero { min-height: calc(100svh - 84px); max-height: 900px; }
  .hero-in { padding-top: 40px; padding-bottom: 26px; }
  .hero-foot { margin-top: 4vh; }
  .mods { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; }
  .mods > div { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .a-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 18px; }
  .a-right .a-text { margin-bottom: 12px; }
  .tl { margin-top: 10px; }
  #ask.sec { padding: clamp(24px, 4vh, 72px) 0; }
  .thinking { min-height: 0; padding-top: 8px; }
  .uc .frame { aspect-ratio: 16 / 9; }
  .related .uc { flex-direction: row; }
  .related .uc .frame { flex: 0 0 46%; aspect-ratio: auto; min-height: 190px; }
  .fields.f3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc { grid-template-columns: 1.5fr 1fr; }
  .mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .privacy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stops li { padding-bottom: 20px; }
  .faq-list summary { padding: 14px 40px 14px 0; font-size: 17px; }
  .faq-list summary::after { top: 20px; }
  .faq-list details[open] summary::after { top: 25px; }
  .who-box li { padding: 7px 0; }
  .more { margin-top: 0; padding-top: 0; border-top: 0; }
}
@media (min-width: 961px) and (max-height: 960px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(34px, 4.1vw, 56px); }
  h2 { font-size: clamp(26px, 2.6vw, 38px); }
  .lead, .sec-head p, .intro p, .problem p { font-size: 17px; }
  .hero .sub { font-size: 17px; }
  .page-hero { padding: 32px 0 36px; }
  .page-hero h1 { font-size: clamp(30px, 3.1vw, 44px); }
  .page-hero .sub { font-size: 17px; }
  .crumbs { margin-bottom: 12px; }
  .btns { margin-top: 20px; }
  .btn { min-height: 46px; }
  .ticks { margin-top: 16px; }
  .ticks li { padding: 7px 0 7px 28px; font-size: 16px; }
  .ticks li::before { top: 14px; }
  .pains li { padding: 11px 0 11px 28px; }
  .pains li::before { top: 22px; }
  .stops li { padding-bottom: 14px; }
  .stops p { font-size: 15.5px; }
  .stops h3 { font-size: 18px; }
  .qlist button { padding: 10px 28px 10px 0; font-size: 15.5px; }
  .qlist button::after { top: 10px; }
  .qbox { margin: 12px 14px 0; min-height: 46px; padding: 9px 14px; }
  .console-bar { padding: 9px 14px; }
  .answer { padding: 4px 14px 14px; }
  .answer .a-text { font-size: 15.5px; margin-bottom: 10px; }
  .a-still .frame { aspect-ratio: auto; height: 22vh; }
  .stat { padding: 7px 10px; }
  .stat b { font-size: 20px; }
  .a-data td { padding: 5px 8px 5px 0; }
  .tl-now { min-height: 0; font-size: 13.5px; }
  .tl-track { height: 28px; }
  .tl-track::before, .tl-fill { top: 12px; }
  .tl-dot { top: 6px; }
  .task { padding: 10px 14px; margin-top: 10px; }
  .task-top { margin-bottom: 8px; }
  .task-top br { display: none; }
  .task-top span:not(.status) { margin-left: 8px; }
  .steps li { font-size: 12.5px; padding-top: 6px; }
  .steps li b { font-size: 12.5px; }
  .uc .frame { aspect-ratio: auto; height: 28vh; }
  .uc-body { padding: 16px 18px 18px; }
  .uc-body p { font-size: 15.5px; }
  .report { padding: 18px 22px; }
  .r-row { padding: 10px 0; }
  .r-row b { font-size: 19px; }
  .num b { font-size: 44px; }
  .safety-note { margin-top: 28px; padding-top: 22px; }
  .flow-box { padding: 16px 18px; }
  .flow-box li { padding: 4px 0; font-size: 14.5px; }
  .out-row { padding: 7px 0; }
  .out-big { margin-top: 12px; }
  .out-big b { font-size: 36px; }
  .calc-in, .calc-out { padding: 20px 24px; }
  .calc-in fieldset { margin-bottom: 14px; }
  .calc-in legend { margin-bottom: 8px; }
  .field input, .field select, .form input, .form select { height: 42px; }
  .calc-out .fine { padding-top: 12px; }
  .case-body { padding: 20px 24px; }
  .case-log li { padding: 7px 0; font-size: 15px; }
  .faq-list summary { padding: 10px 36px 10px 0; font-size: 16px; }
  .faq-list summary::after { top: 16px; }
  .faq-list details[open] summary::after { top: 21px; }
  .form { padding: 22px 26px; }
  .form .f { margin-bottom: 10px; }
  .form textarea { height: 70px; }
  .form .next { margin-top: 8px; }
  .side-list { margin-top: 12px; }
  .side-list li { padding: 9px 0; }
  .seg { margin-bottom: 10px !important; }
  .seg label { padding: 7px 12px; }
  .loopline li { padding-top: 34px; }
  .loopline p { font-size: 15.5px; }
  .more li { padding: 8px 0; }
  .more li span { font-size: 15px; }
  .mod-body p, .mcell .mod-body p { font-size: 15.5px; }
  .mod-body li { margin: 3px 0; font-size: 15.5px; }
  .brand-demo li { padding: 7px 0; }
  .pband { padding: 28px 36px; }
  .pband li { padding: 9px 0 9px 28px; }
  .who-box { padding: 18px 22px; }
  .who-box .kicker { margin-bottom: 8px; }
  .privacy-grid div { padding: 12px 0; }
  .privacy-grid p { font-size: 15px; }
  .sample { padding: 16px 20px; }
  .sample td { padding: 6px 10px 6px 0; }
  .asks blockquote { padding: 11px 14px; font-size: 16px; }
  .asks blockquote p { font-size: 14.5px; }
  .clip .frame { aspect-ratio: auto; height: min(30vw * 9 / 16 * 1.9, 52vh); }
  .path { padding: 22px 28px; }
  .path h2 { font-size: clamp(22px, 2vw, 27px); }
  .intro p { font-size: 17px; }
}

[hidden] { display: none !important; }
.out-big span span { display: inline; }
.calc-head { margin-bottom: 18px; }
.calc-head h2 { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 8px; }
.calc-head p { color: var(--text-2); margin: 0; font-size: 16px; }

.form .seg input { width: auto; height: auto; }
.seg label { display: inline-flex; }
.fgrid { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 641px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 961px) { .contact-sec.sec { padding-top: 32px; } }
@media (min-width: 961px) and (max-height: 720px) {
  .sec { padding: 30px 0; }
  #ask.sec { padding: 18px 0; }
  h2 { font-size: clamp(24px, 2.3vw, 32px); }
  .promise { font-size: 24px; margin-bottom: 18px; }
  .mods > div { padding: 12px 0; }
  .mods p { font-size: 15px; }
  .a-still .frame { height: 20vh; }
  .answer .a-text { font-size: 15px; line-height: 1.5; }
  .qlist button { padding: 8px 26px 8px 0; font-size: 15px; }
  .uc .frame { height: 26vh; }
  .uc-body p { margin-bottom: 8px; }
  .report { padding: 14px 18px; font-size: 13px; }
  .report td { padding: 4px 8px 4px 0; }
  .doc-sec .lead { font-size: 16px; }
  .form textarea { height: 56px; }
  .side-list li { padding: 7px 0; font-size: 15px; }
}
@media (min-width: 961px) and (max-height: 720px) {
  .ask-qs h2 { font-size: 28px; }
  .ask-lead { margin-bottom: 12px; font-size: 15.5px; }
  .ask-note { margin-top: 8px; font-size: 13px; }
  .a-still .frame { height: 18vh; }
}
@media (min-width: 961px) and (max-height: 960px) {
  .task-top { flex-wrap: nowrap; align-items: center; }
  .task-top > div { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .task-top .status { flex: none; }
}

/* r1 judge: keep the right-hand overlay tabs inside the inset hero */
@media (min-width:961px){ .hero video, .hero .hero-still { object-position: 100% 50%; } }

/* outcomes first (7 Nov) */
.eyebrow { font-family: var(--head, inherit); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--civic); margin: 0 0 10px; }
.facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.facts li { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--civic); border-radius: 8px; padding: 12px 14px; }
.stone .facts li, .white .facts li { background: var(--paper); }
.facts p { margin: 0 0 4px; font-size: 15.5px; line-height: 1.45; color: var(--text); }
.facts a { font-size: 13px; color: var(--civic); text-decoration: underline; text-underline-offset: 2px; }
.outs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.out-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; display: flex; flex-direction: column; }
.sec:not(.white) .out-card { background: var(--white); }
.out-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--civic); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.out-card h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.2; }
.out-card p { margin: 0 0 12px; color: var(--text-2); font-size: 16px; line-height: 1.5; }
.out-card .measure { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--text); font-size: 15px; }
.out-card .measure b { display: block; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--civic); margin-bottom: 2px; }
.mods .for { display: inline-block; vertical-align: 3px; margin-left: 6px; font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--civic); background: var(--civic-soft); border-radius: 4px; padding: 2px 7px; }
.uc-grid.uc4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.uc4 .uc-body h3 { font-size: 19px; line-height: 1.25; }
.uc4 .uc-body p { font-size: 15px; }
.uc .frame img, .related .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof-line { font-weight: 700; color: var(--civic-ink); margin: 0 0 14px; }
@media (max-width: 1200px) { .uc-grid.uc4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) { .outs { grid-template-columns: 1fr; gap: 12px; } .related { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .uc-grid.uc4 { grid-template-columns: 1fr; } .out-card { padding: 16px; } .out-card h3 { font-size: 19px; } }
@media (min-width: 961px) and (max-height: 960px) { .out-card { padding: 18px 18px 14px; } .out-card p { font-size: 15px; } .facts p { font-size: 14.5px; } }
.clip .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 961px) { .related .uc { display: flex; flex-direction: column; } .related .uc .frame { flex: none; aspect-ratio: 16 / 9; min-height: 0; } .related .uc-body h3 { font-size: 19px; } }

/* Real-time alert card (7 Nov 2026) */
.alert-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.alert-copy h2 { margin: 0 0 12px; }
.alert-copy .lead { margin: 0; }
.alert-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 34px -18px rgba(11, 19, 34, .28); padding: 16px 18px; }
.al-top { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 12px; }
.al-top b { font-family: var(--head); font-weight: 600; color: var(--ink); }
.al-time { margin-left: auto; color: var(--text-3); font-variant-numeric: tabular-nums; }
.al-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); }
.al-body { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 14px; align-items: start; }
.al-body img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.al-what { margin: 0; font-size: 16px; line-height: 1.45; color: var(--text); }
.al-meta { margin: 12px 0 0; display: grid; font-size: 14.5px; line-height: 1.45; }
.al-meta div { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.al-meta dt { color: var(--text-3); font-weight: 700; }
.al-meta dd { margin: 0; color: var(--text-2); }
.alert-card figcaption { margin-top: 8px; font-size: 13px; color: var(--text-3); }
@media (max-width: 900px) { .alert-row { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .al-body { grid-template-columns: 1fr; }
  .al-meta div { grid-template-columns: 1fr; gap: 0; }
}

/* Hero alert card (7 Nov 2026, benchmark) */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 400px); gap: 24px 40px; align-items: end; }
.hero-alert { padding: 12px 14px; }
.hero-alert .al-top { margin-bottom: 8px; }
.hero-alert .al-body { grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }
.hero-alert .al-what { font-size: 14.5px; }
.hero-alert .al-meta { margin-top: 8px; font-size: 13.5px; }
.hero-alert .al-meta div { grid-template-columns: 112px minmax(0, 1fr); padding: 5px 0; }
.hero-alert figcaption { font-size: 12px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-alert { max-width: 420px; } }
@media (max-width: 560px) { .hero-alert .al-body img { display: none; } .hero-alert .al-body { grid-template-columns: 1fr; } }

/* Breadth round use-case pages (7 Nov 2026) */
.wide-hero .wh-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 64px); align-items: end; margin-bottom: 24px; }
.wide-hero .wh-row h1 { margin: 0; }
.wide-hero .wh-row .sub { margin: 0; }
.wide-hero .btns { margin-top: 18px; }
.clip.wide .frame { aspect-ratio: 21 / 8; }
.tbl-wrap { overflow-x: auto; }
.tbl-h { font-size: 18px; margin: 0 0 10px; }
.tbl2 { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.white .tbl2 { background: var(--paper); }
.tbl2 th { text-align: left; font-size: 13px; font-weight: 700; color: var(--text-2); padding: 10px 14px; border-bottom: 2px solid var(--ink); }
.tbl2 td { padding: 9px 14px; border-top: 1px solid var(--line-2); vertical-align: top; color: var(--text); }
.tbl2 td:first-child { font-weight: 700; color: var(--ink); }
.tbl2.spec td:first-child { white-space: nowrap; color: var(--civic-ink); font-variant-numeric: tabular-nums; }
.alert-copy .tbl2 { margin: 6px 0 12px; }
.alert-copy .fine, .problem .fine { font-size: 14.5px; color: var(--text-2); margin: 0; }
.cproof { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cproof .cp-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cproof.one .cp-imgs { grid-template-columns: 1fr; }
.cproof figure { margin: 0; }
.cproof img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; }
.cproof figcaption { font-size: 13.5px; color: var(--text-2); margin-top: 6px; font-weight: 700; }
.cp-log { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.white .cp-log { background: var(--paper); }
.cp-head { display: flex; flex-direction: column; margin-bottom: 8px; }
.cp-head b { font-family: var(--head); color: var(--ink); }
.cp-head span { font-size: 13.5px; color: var(--text-3); }
.cp-log ol { list-style: none; margin: 0; padding: 0; }
.cp-log li { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; padding: 7px 0; border-top: 1px solid var(--line-2); font-size: 14.5px; line-height: 1.4; }
.cp-log li b { font-variant-numeric: tabular-nums; color: var(--text-2); }
.cp-log li.ok b, .cp-log li.ok span { color: var(--ok); font-weight: 700; }
.cp-cap { font-size: 12.5px; color: var(--text-3); margin: 8px 0 0; }
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.tgrid div { padding: 16px 0; border-top: 2px solid var(--ink); }
.tgrid h3 { font-size: 19px; margin: 0 0 6px; }
.tgrid p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.ticks.cols { columns: 2; column-gap: 32px; margin: 0; }
.ticks.cols li { break-inside: avoid; }
.ticks a { color: var(--civic-ink); }
.rel-sec { padding: 40px 0 !important; border-top: 1px solid var(--line); }
.rel-h { font-size: clamp(22px, 2vw, 26px); margin-bottom: 14px; }
.rel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rel-t { display: block; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--text-2); font-size: 14.5px; line-height: 1.4; transition: border-color .2s; }
.rel-t:hover { border-color: var(--civic); }
.rel-t b { display: block; font: 700 16px/1.25 var(--head); color: var(--ink); margin-bottom: 4px; }
.doc-hero { background: var(--white); }
.page-hero .alert-card { max-width: 520px; justify-self: end; }
@media (min-width: 961px) and (max-height: 960px) {
  .tbl2 { font-size: 14.5px; }
  .tbl2 td { padding: 7px 12px; }
  .tbl2 th { padding: 8px 12px; }
  .cp-log li { padding: 5px 0; font-size: 14px; }
  .clip.wide .frame { aspect-ratio: 21 / 7; }
  .tgrid div { padding: 12px 0; }
}
@media (min-width: 961px) and (max-height: 720px) {
  .tbl2 { font-size: 14px; }
  .tbl2 td { padding: 5px 12px; }
  .clip.wide .frame { aspect-ratio: 21 / 6; }
  .wide-hero .wh-row { margin-bottom: 16px; }
  .cproof img { aspect-ratio: 16 / 8; }
}
@media (max-width: 960px) {
  .wide-hero .wh-row, .cproof { grid-template-columns: 1fr; }
  .clip.wide .frame { aspect-ratio: 16 / 9; }
  .tgrid { grid-template-columns: 1fr 1fr; }
  .rel-grid { grid-template-columns: 1fr 1fr; }
  .page-hero .alert-card { justify-self: start; }
}
@media (max-width: 560px) {
  .tgrid, .rel-grid, .cproof .cp-imgs { grid-template-columns: 1fr; }
  .ticks.cols { columns: 1; }
  .tbl2 { font-size: 14px; }
  .tbl2 th, .tbl2 td { padding: 7px 10px; }
  .cp-log li { grid-template-columns: 70px minmax(0, 1fr); }
}
@media print {
  .site-head, .site-foot, .zi-bar, .zi-foot, .skip, .cta-band, .btns, .rel-sec, .crumbs { display: none !important; }
  .sec, .page-hero { padding: 16px 0 !important; }
  .js-rv .rv { opacity: 1 !important; transform: none !important; }
  .faq-list details { break-inside: avoid; }
  .tbl2 { font-size: 11.5px; }
  body { font-size: 12.5px; background: #fff; }
  /* tender-spec.pdf (7 Nov): no boxes or rows split across pages, no hero clip, FAQ answers printed open */
  .facts li, .tbl2 tr, .faq-list details { break-inside: avoid; page-break-inside: avoid; }
  .tbl2 thead { display: table-header-group; }
  .page-hero .clip, .page-hero figure { display: none !important; }
  .faq-list summary::after, .faq-list summary svg { display: none !important; }
  h2, .lead { break-after: avoid; page-break-after: avoid; }
  .lead, .sec-head, .rv > h2 + .lead { break-inside: avoid; page-break-inside: avoid; }
  p { orphans: 3; widows: 3; }
  .tbl-wrap, ul.ticks { break-inside: avoid; page-break-inside: avoid; }
  ul.ticks.cols li { break-inside: avoid; border-top: 0; border-bottom: 1px solid var(--line); }
}
.clip.wide { max-width: 100%; min-width: 0; }
.clip.wide .frame { height: auto; width: 100%; }
@media (min-width: 961px) and (max-height: 720px) {
  .clip.wide .frame { aspect-ratio: 21 / 5; }
}
@media (min-width: 961px) and (max-height: 800px) {
  .wide-hero .wh-row h1 { font-size: clamp(30px, 2.6vw, 38px); }
}

/* r3 review (7 Nov): shorter phone hero so the use-case range shows sooner; results tables stack on phones. */
@media (max-width: 640px) {
  .hero { min-height: 0; }
  .hero-in { padding-top: 132px; }
  .hero h1 { font-size: clamp(29px, 8vw, 36px); margin-bottom: 14px; }
  .hero-foot { margin-top: 18px; }
  table.res-stack, table.res-stack tbody, table.res-stack tr, table.res-stack td { display: block; width: 100%; }
  table.res-stack thead { display: none; }
  table.res-stack tr { padding: 10px 12px; border-top: 1px solid var(--line-2); }
  table.res-stack tr:first-child { border-top: 0; }
  table.res-stack td { padding: 0; border: 0; }
  table.res-stack td + td { margin-top: 2px; color: var(--text-2); font-size: 14px; }
}

/* ---------- ZoneIntel AI (8 Nov 2026) ---------- */
.hero .hero-crumbs, .hero .hero-crumbs a { color: var(--fg-2); }
.hero .hero-crumbs { margin-bottom: 14px; }
.ucg-more { margin: 18px 0 0; font-size: 15.5px; color: var(--text-2); max-width: 62rem; }
.ucg-more a { color: var(--civic); font-weight: 700; text-decoration: none; }
.ucg-more a:hover { text-decoration: underline; }

.print-only { display: none; }
@media print { .print-only { display: flex; } .print-issuer { align-items: center; gap: 16px; font-size: 11px; color: var(--text-2); padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--line); } .print-issuer img { height: 22px; width: auto; } }

/* round 4: tender fill-in values, revision table, and a PDF where R1 to R10 start on page 1 */
.fill { display: inline-block; min-width: 2.6em; padding: 0 .2em; border-bottom: 1.5px solid currentColor; color: var(--civic); font-weight: 700; text-align: center; white-space: nowrap; }
.tbl-wrap.rev { max-width: 760px; }
@media print {
  .doc-hero { padding: 0 0 8px !important; border-bottom: 0; }
  .doc-hero .grid { display: block; }
  .doc-hero h1 { font-size: 24px; line-height: 1.15; margin: 0 0 6px; }
  .doc-hero .sub { font-size: 12px; margin: 0; }
  .tbl-wrap:has(table.spec) { break-inside: auto; page-break-inside: auto; }
  #requirements { padding-top: 6px !important; }
  .fill { color: #000; }
}

/* round 5: agency fill-ins are drawn by CSS (the docx prints [____]); Annex A table; background annex */
.fill:empty::before { content: "[\2007\2007\2007]"; }
table.annex td:first-child { white-space: nowrap; font-weight: 600; }
table.annex td:first-child a { color: inherit; }
ul.facts.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
@media (max-width: 640px) { table.annex td:first-child { white-space: normal; } }
@media print { #annex { break-before: page; page-break-before: always; } table.annex { font-size: 10.5px; } table.annex td { padding-top: 6px; padding-bottom: 6px; } table.annex td:first-child a { color: inherit; text-decoration: none; } }
/* round 5: the cities hero runs a clean plate (no burned-in labels) under a stronger left scrim, so the H1 reads at 1220 */
@media (min-width: 641px) {
  .hero::after { background: linear-gradient(90deg, rgba(6,10,18,.95) 0%, rgba(6,10,18,.9) 40%, rgba(6,10,18,.6) 60%, rgba(6,10,18,.28) 80%, rgba(6,10,18,.12) 100%),
                             linear-gradient(0deg, rgba(6,10,18,.85) 0%, rgba(6,10,18,0) 45%); }
}
