/* Gotham 311 website. Colours come from the app icon: amber #FFAA00 and navy #0B1F44.
   Fonts are the pair nyc.gov uses, served from this site (no third-party requests):
   Noto Sans (SIL Open Font License) and Clash Grotesk (ITF Free Font License, fontshare.com). */

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/noto-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Clash Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/clash-grotesk-600.woff2") format("woff2");
}
@font-face {
  font-family: "Clash Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/clash-grotesk-700.woff2") format("woff2");
}


:root {
  --amber: #ffaa00;
  --navy: #0b1f44;
  --ink: #1a1a1a;
  --muted: #5c5f66;
  --line: #e7e7e7;
  --max: 700px;
  --head: "Clash Grotesk", "Noto Sans", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 18px/1.7 "Noto Sans", -apple-system, "Segoe UI", Arial, sans-serif; }
a { color: var(--ink); text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 3px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; color: var(--navy); }

.wrap, .narrow { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font: 700 18px var(--head); }
.brand img { width: 28px; height: 28px; border-radius: 6px; }
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }

/* Hero, centred */
.hero { padding: 56px 0 40px; text-align: center; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; }
.hero-icon { order: -1; width: 128px; border-radius: 22.5%; margin-bottom: 32px; }
.hero h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.1; margin: 0 0 18px; }
.hero h1 em { font-style: normal; }
.hero .lede { color: var(--muted); font-size: 20px; margin: 0 auto 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.button { display: inline-block; background: var(--navy); color: #fff; font-weight: 600; padding: 12px 22px; border-radius: 10px; text-decoration: none; }
.button[aria-disabled="true"] { cursor: default; }
.button.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.cta-note { color: var(--muted); font-size: 15px; margin: 16px 0 0; }

/* Sections: plain stacked text */
section { padding: 48px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: 30px; line-height: 1.2; margin: 0 0 10px; }
h3 { font-size: 20px; line-height: 1.3; margin: 0 0 4px; }
.section-lede { color: var(--muted); margin: 0 0 28px; }

.steps { padding-left: 0; list-style: none; counter-reset: step; margin: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; margin-bottom: 22px; }
.steps li::before { content: counter(step) "."; grid-row: span 2; font: 700 20px/1.3 var(--head); color: var(--amber); }
.steps p { margin: 0; color: var(--muted); }

.coverage { display: grid; gap: 24px; }
.coverage-card { display: grid; grid-template-columns: 110px 1fr; column-gap: 16px; }
.coverage-card .big-number { grid-row: span 2; font: 700 48px/1 var(--head); color: var(--navy); margin: 0; }
.coverage-card p { margin: 0; color: var(--muted); }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.shot { margin: 0; text-align: center; }
.phone { aspect-ratio: 9 / 19.5; border-radius: 18px; background: #f3f3f3; display: grid; place-items: center; color: var(--muted); font-size: 12px; padding: 10px; }
.shot figcaption { margin-top: 6px; font-size: 14px; color: var(--muted); }

.compare-card { margin-bottom: 28px; }
.compare-card ul { margin: 6px 0 0; padding-left: 22px; color: var(--muted); }
.compare-card li { margin-bottom: 6px; }
.compare-card li::marker { color: var(--amber); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
.faq details p { color: var(--muted); margin-top: 0; }

/* Document pages */
.page-head { padding: 32px 0 8px; }
.page-head h1 { margin: 0; font-size: 40px; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.doc { padding: 16px 0 64px; }
.doc h2 { font-size: 24px; margin-top: 40px; }
.doc li { margin-bottom: 6px; }
.callout { background: #f7f7f7; border-radius: 10px; padding: 16px 20px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.release time { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
.site-footer p { margin: 4px 0; }

@media (max-width: 520px) {
  .wrap, .narrow { padding: 0 16px; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .coverage-card { grid-template-columns: 84px 1fr; }
  .coverage-card .big-number { font-size: 40px; }
}
