/* page.css: the public site's plain pages (privacy, terms, contact, pricing) in the same look as the home page:
   a white ground, Inter, the same bar and foot. These pages are hand-written or generated HTML, served as they are,
   so this sheet carries the look's values itself; they are the app's tokens (tokens/tokens.json) and follow them. */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/site/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/site/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/site/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('/site/fonts/inter-latin-700-normal.woff2') format('woff2'); }
:root { --ink: #1B1D22; --ink-2: #3A3F47; --ink-3: #5D626C; --line: #E6E4DE; --tone: #F4F3EF; --accent: #2F5BEA; --accent-hover: #2549C4; --accent-soft: #ECF1FE; --gutter: clamp(20px, 5vw, 48px); --width: 1216px; --measure: 720px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: #FFFFFF; color: var(--ink); font: 400 16px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: inherit; }
main { flex: 1; }

/* the bar and the foot: the home page's own */
.bar, .foot { width: 100%; max-width: var(--width); margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bar { min-height: 64px; margin-block: 12px; }
.bar-name { font-size: 16px; font-weight: 600; text-decoration: none; }
.bar nav { display: flex; align-items: center; gap: 8px; }
.bar-quiet, .bar-go, .btn-primary, .btn-quiet { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 9px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.bar-quiet { color: var(--ink-3); }
.bar-quiet:hover { color: var(--ink); }
.bar-go, .btn-primary { background: var(--accent); color: #FFFFFF; box-shadow: 0 2px 6px rgba(47, 91, 234, 0.28); }
.bar-go:hover, .btn-primary:hover { background: var(--accent-hover); }
.btn-quiet { border: 1px solid var(--line); }
.btn-quiet:hover { background: var(--tone); }
.foot { padding-block: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.foot nav { display: flex; gap: 16px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* a plain page: one column */
.band { width: 100%; max-width: var(--width); margin: 0 auto; padding: clamp(40px, 8vw, 96px) var(--gutter); }
.band + .band { padding-top: 0; }
.wrap { max-width: var(--measure); margin: 0 auto; }
.wrap.centred { text-align: center; }
.eyebrow, .contact-label, .legal-toc-title { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.h-big, .legal-title { margin: 0; font-size: clamp(32px, 6vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.h-big em { font-style: normal; }
.prose { margin-top: 32px; }

/* contact */
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; }
.contact-addr { display: inline-block; font-size: clamp(18px, 3.4vw, 24px); font-weight: 600; color: var(--accent); overflow-wrap: anywhere; }
.contact-note { margin: 16px 0 0; color: var(--ink-2); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: none; }
.band-alt .wrap { max-width: none; }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; }
.plan--lead { border-color: var(--accent); box-shadow: 0 0 0 5px rgba(47, 91, 234, 0.10); }
.plan-name { margin: 0; font-size: 16px; font-weight: 600; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.plan-amount { font-size: 22px; font-weight: 600; }
.plan-per { font-size: 13px; color: var(--ink-3); }
.plan-list { flex: 1; margin: 0; padding-left: 20px; display: grid; gap: 8px; align-content: start; color: var(--ink-2); }
.plan-cta { align-self: start; margin-top: 8px; }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* the legal pages: a title, the date it took effect, a contents list, then the text at a reading measure */
.legal-head { margin-bottom: 40px; }
.legal-head p { margin: 20px 0 0; font-size: 15px; color: var(--ink-3); }
.legal-head p + p { margin-top: 10px; }
.legal-head a { color: var(--accent); }
.legal-toc { display: none; }
.legal-toc-compact { margin-bottom: 40px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; }
.legal-toc-compact summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.legal-toc-compact ol, .legal-toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.legal-page h2 { margin: 48px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 22px; line-height: 1.3; font-weight: 600; scroll-margin-top: 24px; }
.legal-page h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-page h3 { margin: 28px 0 6px; font-size: 16px; font-weight: 600; }
.legal-page p, .legal-page li { color: var(--ink-2); }
.legal-page p { margin: 0 0 12px; }
.legal-page ul, .legal-page ol { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 6px; }
.legal-page a { color: var(--accent); }
.legal-kept { display: inline-block; margin: 0 0 4px; padding: 2px 10px; border-radius: 999px; background: var(--tone); font-size: 13px; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
