/* Ohcci story: ground search coverage layout. Cyan and mint lantern palette on a dark reading column,
   three-state coverage key in the hero, 2x2 volunteer coordination grid, mobile-safe priority table,
   safety-gate split panel, side-by-side coverage and handover screens, and two-part honesty grid.
   Chromium 67 compatible (no clamp, min, max, flex gap, inset, logical props, or aspect-ratio). */

@font-face {
  font-family: "OH UI";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "OH Display";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-latin.woff2") format("woff2");
}

body.page-ohcci {
  --head: "OH Display", "Segoe UI", Roboto, Arial, sans-serif;
  --body: "OH UI", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --bg: #0A0D14;
  --surface: #121726;
  --raised: #1A2033;
  --bar: rgba(10, 13, 20, 0.92);
  --hair: rgba(255, 255, 255, 0.08);
  --hair-2: rgba(255, 255, 255, 0.16);
  --text: #EEF1F7;
  --text-2: #B0BACB;
  --muted: #8692A8;
  --accent: #7CE8FF;
  --accent-ink: #07141D;
  --accent-soft: rgba(124, 232, 255, 0.13);
  --oh-mint: #58D8B1;
  --oh-mint-soft: rgba(88, 216, 177, 0.13);
  --oh-fog: #B9B7E8;
  --oh-fog-soft: rgba(185, 183, 232, 0.12);
  --live: #34D399;
}

@media (prefers-color-scheme: light) {
  body.page-ohcci {
    --bg: #0A0D14;
    --surface: #121726;
    --raised: #1A2033;
    --bar: rgba(10, 13, 20, 0.92);
    --hair: rgba(255, 255, 255, 0.08);
    --hair-2: rgba(255, 255, 255, 0.16);
    --text: #EEF1F7;
    --text-2: #B0BACB;
    --muted: #8692A8;
    --accent: #7CE8FF;
    --accent-ink: #07141D;
    --accent-soft: rgba(124, 232, 255, 0.13);
    --live: #34D399;
  }
}

/* Frame and reading column */
.page-ohcci main { padding-bottom: 52px; }
.page-ohcci main .wrap { max-width: 820px; }
.page-ohcci main > .wrap:first-child { padding-top: 40px; }
.page-ohcci .crumb { margin: 0 0 24px; font-size: 14px; }
.page-ohcci .crumb a { color: var(--muted); text-decoration: none; }
.page-ohcci .crumb a:before { content: "\2190"; margin-right: 8px; }
.page-ohcci .crumb a:hover { color: var(--accent); }
.page-ohcci .story-app { margin-bottom: 36px; }
.page-ohcci main strong { color: var(--text); font-weight: 600; }

/* Inline links */
.page-ohcci main p:not(.crumb) a:not(.btn),
.page-ohcci main li a {
  color: var(--text);
  text-decoration: underline;
  -webkit-text-decoration-color: var(--accent);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.page-ohcci main p:not(.crumb) a:not(.btn):hover,
.page-ohcci main li a:hover {
  color: var(--accent);
}

/* Hero */
.oh-hero {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--hair-2);
}
.oh-eyebrow {
  margin: 0 0 12px;
  font: 600 12px/1.4 var(--head);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.oh-hero h1 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.14;
}
.oh-lead {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.62;
  color: var(--text-2);
}

/* Three-state coverage legend strip */
.oh-strip {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 10px;
}
.oh-state {
  padding: 13px 15px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-left: 3px solid var(--muted);
  border-radius: 10px;
}
.oh-state-covered {
  border-left-color: var(--oh-mint);
}
.oh-state-active {
  border-left-color: var(--accent);
}
.oh-state-tag {
  margin: 0 0 4px;
  font: 700 11px/1.3 var(--head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.oh-state-covered .oh-state-tag { color: var(--oh-mint); }
.oh-state-active .oh-state-tag { color: var(--accent); }
.oh-state p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.48;
  color: var(--text-2);
}

/* Sections */
.oh-sec { padding-top: 40px; }
.oh-sec h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.24;
}
.oh-sec h3 {
  margin: 26px 0 12px;
  font-size: 19px;
  line-height: 1.3;
  color: var(--text);
}
.oh-sec p {
  margin: 0 0 18px;
  color: var(--text-2);
}
.oh-sec p:last-child {
  margin-bottom: 0;
}

/* Source callouts */
.oh-quote {
  margin: 22px 0 24px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
}
.oh-quote-mint {
  border-left-color: var(--oh-mint);
}
.oh-quote p {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.56;
  color: var(--text);
}
.oh-quote cite {
  font-size: 13px;
  font-style: normal;
  color: var(--muted);
}

/* 2x2 volunteer search cards */
.oh-grid {
  list-style: none;
  margin: 8px 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 14px;
}
.oh-card {
  position: relative;
  padding: 18px 18px 18px 20px;
  background: var(--surface);
  border: 1px solid var(--hair-2);
  border-radius: 12px;
}
.oh-num {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
  font: 700 12px/1.3 var(--head);
  letter-spacing: 0.06em;
}
.oh-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--head);
  font-size: 17px;
  line-height: 1.3;
}
.oh-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.58;
  color: var(--text-2);
}

/* Lists with custom :before markers */
.oh-list {
  list-style: none;
  margin: 6px 0 22px;
  padding: 0;
}
.oh-list li {
  position: relative;
  margin: 0 0 13px;
  padding-left: 24px;
  color: var(--text-2);
  line-height: 1.6;
}
.oh-list li:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--accent);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.oh-list-mint li:before {
  background: var(--oh-mint);
}

/* Priority scoring table */
.oh-table-wrap {
  margin: 18px 0 22px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border: 1px solid var(--hair-2);
  border-radius: 12px;
}
.oh-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 14px;
}
.oh-table caption {
  padding: 12px 16px 8px;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--hair);
}
.oh-table th {
  padding: 11px 14px;
  text-align: left;
  font: 600 13px/1.35 var(--head);
  color: var(--accent);
  background: var(--accent-soft);
  border-bottom: 2px solid var(--accent);
}
.oh-table td {
  padding: 11px 14px;
  color: var(--text-2);
  border-top: 1px solid var(--hair);
  vertical-align: top;
}
.oh-table tbody th {
  padding: 11px 14px;
  text-align: left;
  font: 600 14px/1.35 var(--head);
  color: var(--text);
  background: transparent;
  border-bottom: 0;
  border-top: 1px solid var(--hair);
}

/* Split safety-gate panel */
.oh-split {
  margin: 22px 0 28px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--hair-2);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 24px;
  -webkit-align-items: start;
  align-items: start;
}
.oh-split-shot {
  margin: 0 auto;
  width: 100%;
  max-width: 260px;
}
.oh-split-shot img,
.oh-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--hair-2);
}
.oh-split-shot figcaption,
.oh-shot figcaption {
  margin-top: 11px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.oh-split-copy h3 {
  margin: 0 0 12px;
}

/* Side-by-side phone figures */
.oh-shots {
  margin: 28px auto 30px;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 24px;
  justify-items: center;
}
.oh-shot {
  margin: 0;
  width: 100%;
  max-width: 276px;
}

/* Two-part limits and what was not checked */
.oh-honest-wrap {
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--hair-2);
  border-radius: 14px;
}
.oh-honest-wrap h2 {
  margin-bottom: 14px;
}
.oh-honest-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 16px;
  margin-top: 16px;
}
.oh-honest-box {
  padding: 18px;
  background: var(--raised);
  border: 1px solid var(--hair);
  border-top: 3px solid var(--oh-fog);
  border-radius: 10px;
}
.oh-honest-box-checks {
  border-top-color: var(--oh-mint);
}
.oh-honest-box h3 {
  margin: 0 0 12px;
  font-size: 18px;
}
.oh-honest-box .oh-list {
  margin-bottom: 0;
}

/* Closing actions */
.oh-end {
  margin: 36px 0 0;
}
.oh-end .btn {
  margin: 0 18px 12px 0;
  vertical-align: middle;
}
.page-ohcci .oh-end a:not(.btn) {
  display: inline-block;
  margin-bottom: 12px;
  vertical-align: middle;
}

@media (max-width: 600px) {
  .oh-table {
    min-width: 0;
  }
  .oh-table caption {
    padding: 10px 10px 8px;
    font-size: 12px;
  }
  .oh-table th,
  .oh-table td,
  .oh-table tbody th {
    min-width: 0;
    padding: 9px 7px;
    font-size: 13px;
  }
  .oh-table tbody th {
    white-space: nowrap;
  }
}

@media (min-width: 640px) {
  .oh-strip {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .oh-grid {
    grid-template-columns: 1fr 1fr;
  }
  .oh-shots {
    grid-template-columns: 1fr 1fr;
    max-width: 600px;
    grid-gap: 32px;
  }
}

@media (min-width: 720px) {
  .oh-split {
    grid-template-columns: 260px 1fr;
    padding: 24px;
  }
  .oh-honest-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .page-ohcci main > .wrap:first-child { padding-top: 64px; }
  .oh-hero h1 { font-size: 44px; }
  .oh-lead { font-size: 20px; }
  .oh-sec { padding-top: 56px; }
  .oh-sec h2 { font-size: 29px; }
}
