/* apps/web/public/guides.css — the guides, their list and /about/. They sit in legal.css's `body.policy` layout; this
   adds only what those pages have and the policies do not. Colours are theme tokens, so light and dark follow
   theme/tokens.css as on every other page. Approved mockups: docs/design/prototypes/guides/. */
.policy-hero .kicker { font: 600 13.5px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-700); margin: 0 0 16px; }
.policy-hero .kicker a { color: inherit; text-decoration: none; }
.policy-hero .kicker a:hover { text-decoration: underline; text-underline-offset: 3px; }
.policy-hero.list-hero { border-bottom: 0; padding-bottom: 8px; }
.byline { display: flex; align-items: center; gap: 14px; margin: 0 0 6px; }
.byline .av { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-wash); color: var(--accent-700); display: grid; place-items: center; font-weight: 600; flex: none; }
.byline strong { display: block; color: var(--ink-900); font-weight: 600; line-height: 1.3; }
.byline strong a { color: inherit; }
.byline span { font-size: 14.5px; color: var(--ink-600); }
.made { margin: 36px 0 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 15px; line-height: 1.55; color: var(--ink-600); display: flex; gap: 12px; }
.made svg { flex: none; margin-top: 2px; color: var(--accent-600); }
.made strong { color: var(--ink-900); }
.guides { list-style: none; margin: 0; padding: 40px 0 96px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.guides li { border-top: 1px solid var(--line); padding: 26px 0 30px; margin: 0; }
.guides .tag { font: 600 12.5px/1 var(--font-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-700); }
.guides h2 { font-size: 24px; line-height: 1.25; margin: 10px 0 8px; padding: 0; border: 0; }
.guides h2 a { color: var(--ink-900); text-decoration: none; }
.guides h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.guides p { color: var(--ink-600); margin: 0 0 10px; font-size: 16px; line-height: 1.55; }
.guides .when { font-size: 14px; color: var(--ink-400); }
.guides .none { grid-column: 1 / -1; color: var(--ink-600); }
.feed { font-size: 14.5px; }
@media (max-width: 960px) { .guides { grid-template-columns: minmax(0, 1fr); padding-top: 20px; } }
/* A long address in running text breaks rather than push the page sideways; a code block keeps its lines and scrolls. */
.doc :not(pre) > code { overflow-wrap: anywhere; }
/* A guide's code blocks are templates to read and copy: they wrap, so a phone shows every word without a sideways scroll. */
.doc pre { white-space: pre-wrap; overflow-wrap: anywhere; }
/* /about/'s one pulled-out line. */
.policy .doc .pull { margin: 30px 0 34px; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent-600); }
.policy .doc .pull p { margin: 0; max-width: 24ch; text-wrap: balance; font: 600 clamp(26px, 3.4vw, 34px)/1.2 var(--font-cond); letter-spacing: -0.005em; color: var(--ink-900); }
/* A picture inside a guide's text (![alt](/img/guides/…)): as wide as the column and no wider, or a chart overflows a phone. */
.doc p > img { display: block; max-width: 100%; height: auto; margin: 6px 0 10px; border-radius: 10px; background: var(--surface); }
/* A guide's picture (`cover:` in its front matter): the article shows it under the byline, the list above each card's tag.
   Width and height are on the <img>, so nothing below it moves as it loads. */
.policy-hero .cover { margin: 32px 0 0; }
.cover img, .guides .thumb img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--surface); }
.guides .thumb { display: block; margin: 0 0 18px; }
.guides .thumb img { border-radius: 10px; transition: opacity .15s; }
.guides .thumb:hover img { opacity: .92; }
/* Every guide's closing band: the shared brief's "dawn" ending (apps/dashboard/src/screens/shared.css .sp-dawn, approved
   2026-11-16), rebuilt here as static HTML. It is a fixed night-to-dawn scene, so its colours do NOT follow the theme: in
   light mode too it is the same dark band, as the footer below it is. The form is the homepage's `form.start` (visit.js
   adds the arrival, start-form.js checks the address). */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 200; font-display: swap; src: url('/fonts/barlowcond-200.woff2') format('woff2'); }
.dawn {
  --d-ink: #E6EEED; --d-ink-2: #A9BCBD; --d-ink-3: #7E9597; --d-line: rgba(230, 238, 237, .22);
  --d-accent: #4CC3D3; --d-accent-hi: #78D6E2; --d-sun: #F4D58F;
  padding: 112px 40px 96px; color: var(--d-ink);
  background:
    radial-gradient(70% 90% at 50% 120%, rgba(246, 206, 120, .62), rgba(239, 174, 113, .30) 30%, rgba(226, 160, 80, .08) 55%, transparent 70%),
    linear-gradient(180deg, #0E242A 0%, #0d2227 40%, #173238 100%);
}
.dawn-in { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.dawn h2 { margin: 0; padding: 0; border: 0; font: 600 clamp(52px, 7vw, 92px)/.9 'Barlow Condensed', 'Arial Narrow', sans-serif; letter-spacing: -.015em; color: var(--d-ink); }
.dawn h2 span { display: block; font-weight: 200; color: var(--d-sun); }
.dawn-pitch { margin: 22px 0 0; max-width: 32em; font-size: 18px; line-height: 1.55; color: var(--d-ink); }
.dawn .start label { display: block; margin: 0 0 10px; font-weight: 600; font-size: 16px; }
.dawn .row { display: flex; }
.dawn input { flex: 1; min-width: 0; height: 58px; padding: 0 16px; background: rgba(6, 16, 19, .55); border: 1px solid var(--d-line); border-right: 0; border-radius: 0; color: var(--d-ink); font: 400 17px var(--font-ui); }
.dawn input::placeholder { color: var(--d-ink-3); }
.dawn input:focus { outline: none; border-color: var(--d-accent); }
.dawn input[aria-invalid="true"] { border-color: #F3B38F; }
.dawn button { flex: none; height: 58px; padding: 0 24px; background: var(--d-accent); border: 0; border-radius: 0; color: #061013; font: 600 17px var(--font-ui); cursor: pointer; transition: background .2s; }
.dawn button:hover { background: var(--d-accent-hi); }
.dawn :focus-visible { outline: 2px solid var(--d-accent); outline-offset: 3px; }
.dawn .msg { margin: 8px 0 0; min-height: 0; font-size: 15px; color: #F3B38F; }
.dawn .msg:empty { display: none; }
.dawn .alt { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 0; font-size: 15px; color: var(--d-ink-2); }
.dawn .alt a { display: inline-flex; align-items: center; gap: 7px; color: var(--d-accent); text-underline-offset: 4px; }
@media (max-width: 960px) { .dawn { padding: 80px 24px 72px; } .dawn-in { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 480px) { .dawn { padding-left: 16px; padding-right: 16px; } .dawn .row { flex-direction: column; } .dawn input { flex: none; width: 100%; border-right: 1px solid var(--d-line); } .dawn button { width: 100%; } }
/* The footer under the dawn band: the band already took the page to dark, so the footer only deepens from the band's
   last colour into its night, in both themes. `f-dusk`'s light-mode ramp (footer.css) would climb back to light first
   and draw a pale stripe between two dark blocks. */
.foot.f-dawn { padding-top: calc(clamp(56px, 7vw, 96px) + 32px); background: linear-gradient(180deg, #173238 0, var(--f-night) 120px); }
