/* streetclear.ca — same colours as the app; Hanken Grotesk for text, JetBrains Mono for numbers and small labels. Large text, plain words, works for older readers. */
@font-face { font-family: 'Hanken'; src: url(/fonts/hanken-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Hanken'; src: url(/fonts/hanken-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Hanken'; src: url(/fonts/hanken-800.woff2) format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'JBMono'; src: url(/fonts/jbmono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'JBMono'; src: url(/fonts/jbmono-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --navy: #0B1730; --blue: #1D4ED8; --orange: #D9480F; --orange-dark: #B83C0C; --bg: #EEF3FB;
  --text: #0B1730; --muted: #3F4D66; --line: #D5DEEC; --white: #fff;
  --green: #1F7A3D; --amber: #F2B234; --red: #C43C3C; --grey: #8A96A8; --lavender: #C7D2FE;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.25rem/1.6 'Hanken', system-ui, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.mono { font-family: 'JBMono', ui-monospace, monospace; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--white); padding: 10px 16px; border-radius: 12px; }

/* header */
.top { background: var(--navy); color: var(--white); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-weight: 800; font-size: 1.5rem; }
.brand img { border-radius: 10px; }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.top nav a { color: var(--white); text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: 12px; min-height: 48px; display: inline-flex; align-items: center; }
.top nav a:hover, .top nav a[aria-current] { background: rgba(255,255,255,.14); color: var(--white); }

/* hero */
.hero { background: var(--navy); color: var(--white); padding: 40px 0 72px; overflow: hidden; }
.hero-row { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.08; font-weight: 800; margin: 0 0 18px; }
.hero p.lead { font-size: 1.4rem; color: var(--lavender); margin: 0 0 28px; max-width: 34ch; }
.hero-icon { justify-self: center; width: min(320px, 70vw); border-radius: 22%; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 0 26px; border-radius: 18px;
       font-weight: 800; font-size: 1.2rem; text-decoration: none; border: 2px solid transparent; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); color: var(--white); }
.btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
.soon { font-family: 'JBMono', monospace; font-size: .95rem; font-weight: 700; color: var(--white); background: rgba(255,255,255,.14);
        padding: 8px 14px; border-radius: 999px; display: inline-block; margin-bottom: 18px; letter-spacing: .02em; }

/* sections */
section { padding: 56px 0; }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.15; font-weight: 800; margin: 0 0 14px; }
h3 { font-size: 1.4rem; font-weight: 800; margin: 0 0 6px; }
.label { font-family: 'JBMono', monospace; font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin: 0 0 10px; }
.intro { color: var(--muted); max-width: 46ch; margin: 0 0 28px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.card p { margin: 0; color: var(--muted); }
.step-num { font-family: 'JBMono', monospace; font-weight: 700; width: 48px; height: 48px; border-radius: 14px; background: var(--orange); color: var(--white);
            display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 14px; }

/* the three answers, like the app */
.answers { display: grid; gap: 12px; max-width: 520px; }
.answer { display: flex; gap: 16px; align-items: center; border-radius: 20px; padding: 16px 20px; color: var(--white); }
.answer b { font-size: 1.35rem; display: block; line-height: 1.2; }
.answer span { font-size: 1rem; }
.answer .dot { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 1.4rem; font-weight: 800; flex: none; }
.a-green { background: var(--green); } .a-amber { background: var(--amber); color: #3A2400; } .a-red { background: var(--red); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

/* map legend */
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.legend span { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.legend i { width: 34px; height: 8px; border-radius: 4px; display: inline-block; }

.band { background: var(--white); border-block: 1px solid var(--line); }
.privacy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.privacy-list li { display: flex; gap: 14px; align-items: flex-start; }
.privacy-list li::before { content: "✓"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #DCEBDF; color: var(--green); font-weight: 800; display: grid; place-items: center; margin-top: 2px; }

/* text pages (privacy, terms, help, what's new) */
.doc { padding: 44px 0 64px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1.1; font-weight: 800; margin: 0 0 8px; }
.doc .updated { font-family: 'JBMono', monospace; color: var(--muted); font-size: 1rem; margin: 0 0 28px; }
.doc h2 { font-size: 1.7rem; margin-top: 40px; }
.doc li { margin-bottom: 8px; }
.box { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--blue); border-radius: 16px; padding: 18px 22px; margin: 22px 0; }
.box.warn { border-left-color: var(--amber); }
details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 800; font-size: 1.25rem; padding: 18px 22px; min-height: 60px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: 'JBMono', monospace; color: var(--blue); }
details[open] summary::after { content: "−"; }
details > div { padding: 0 22px 18px; color: var(--muted); }
.release { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 18px; }
.release h2 { margin: 0 0 4px; font-size: 1.5rem; }
.release .when { font-family: 'JBMono', monospace; color: var(--muted); font-size: 1rem; margin: 0 0 12px; }
.release ul { margin: 0; padding-left: 1.2em; }

/* footer */
.foot { background: var(--navy); color: var(--lavender); padding: 40px 0 28px; font-size: 1.05rem; }
.foot a { color: var(--white); }
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.foot-row p { margin: 0 0 6px; }
.foot-brand { color: var(--white); font-weight: 800; font-size: 1.3rem; }
.foot nav { display: flex; gap: 8px 18px; flex-wrap: wrap; align-content: flex-start; }
.foot nav a { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.small { font-size: .95rem; opacity: .9; }

@media (max-width: 820px) {
  .hero-row, .split { grid-template-columns: 1fr; }
  .hero-icon { width: 200px; order: -1; justify-self: start; }
  .cards { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.l-green { background: var(--green); } .l-amber { background: var(--amber); } .l-red { background: var(--red); } .l-grey { background: var(--grey); }
