/* ScreenDuty website: same "G · Aqua green" style as the app (CLAUDE.md Part B §14). */
/* Fonts served from this site (no request to Google Fonts: visitors' IP addresses stay with us). SIL OFL 1.1. */
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("/assets/fonts/Manrope_400Regular.ttf") format("truetype"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("/assets/fonts/Manrope_700Bold.ttf") format("truetype"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("/assets/fonts/Manrope_800ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("/assets/fonts/SpaceGrotesk_700Bold.ttf") format("truetype"); }
:root {
  --background: #F2F4F6;
  --surface: #FFFFFF;
  --border: #E3E7EA;
  --primary: #66CDBE;
  --primary-tint: #D9F3EE;
  --primary-dark: #1B7A6D;
  --text: #17282C;
  --text-muted: #5B6970;
  --danger: #B3261E;
  --heading: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--background); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5; }
main { max-width: 520px; margin: 0 auto; padding-inline: 20px; padding-block: 56px 40px; display: grid; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--heading); font-weight: 700; font-size: 22px; letter-spacing: -0.3px; }
.brand b { color: var(--primary-dark); font-weight: 700; }
h1 { font-family: var(--heading); font-weight: 700; font-size: 32px; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; color: var(--text-muted); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 20px; display: grid; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 20px; border-radius: 16px; border: 0;
  background: var(--primary); color: var(--text); font: 800 16px var(--body); text-decoration: none; cursor: pointer; width: 100%; }
.button.secondary { background: var(--surface); border: 1px solid #D5DBDF; }
.button:disabled { background: #EEF1F3; color: var(--text-muted); cursor: default; }
.button:focus-visible, input:focus-visible { outline: 3px solid var(--primary-dark); outline-offset: 2px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 13px; }
input { font: 400 16px var(--body); padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.note { font-size: 13px; }
.error { color: var(--danger); font-size: 14px; }
.ok { color: var(--primary-dark); font-weight: 700; }
footer { font-size: 13px; color: var(--text-muted); display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--primary-dark); }
[hidden] { display: none !important; }
/* Legal pages (scripts/build-legal.js): long text, so a wider column and readable tables. */
main.legal { max-width: 720px; gap: 14px; }
.legal h1 { margin-bottom: 4px; }
.legal h2 { font-family: var(--heading); font-size: 22px; margin: 18px 0 0; }
.legal h3 { font-size: 17px; margin: 10px 0 0; }
.legal p, .legal li { color: var(--text); }
.legal ul, .legal ol { margin: 0; padding-inline-start: 22px; display: grid; gap: 6px; }
.legal blockquote { margin: 0; padding: 14px 16px; background: var(--primary-tint); border-radius: 16px; }
.legal .table { overflow-x: auto; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; background: var(--surface); border-radius: 12px; }
.legal th, .legal td { text-align: start; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.legal th { font-weight: 700; }
.legal .lang { font-size: 14px; }
.legal a { color: var(--primary-dark); }
