/* SiteIn48 Light: the frame shared by Terms, Privacy and the welcome page.
   Tokens, type and the header are the home page's ("SiteIn48 Light" design system). */
:root {
  color-scheme: light;
  --bg: #f3f5f7;
  --bg-2: #e9edf1;
  --surface: #ffffff;
  --line: #e1e5ea;
  --line-strong: #8a95a3;
  --text: #0b1622;
  --muted: #525d6b;
  --accent: #24abe8;      /* a fill or a mark only, never text on a light ground */
  --accent-soft: #0a6aa1; /* cyan as text, links and the focus ring */
  --accent-wash: #e7f4fb;
  --action: #04101e;
  --action-text: #f2f6fa;
  --action-track: #24abe8;
  --action-hover: #0f2236;
  --radius: 18px;
  --panel-shadow: 0 1px 2px rgba(11,22,34,0.04), 0 24px 48px -32px rgba(11,22,34,0.28);
  --font: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-soft); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 4px; }
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.25; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand em { font-style: normal; color: var(--accent-soft); }
.back { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.875rem; color: var(--muted); text-decoration: none; }
.wrap { width: 100%; max-width: 824px; margin: 0 auto; padding: 0 32px; }
main { padding: 56px 0 80px; }
h1 { font-weight: 600; font-size: clamp(2rem, 4.4vw, 2.5rem); line-height: 1.1; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
h2 { font-weight: 600; font-size: 1.3125rem; line-height: 1.3; letter-spacing: -0.02em; margin: 40px 0 8px; }
p, li { color: var(--muted); max-width: 68ch; }
p { margin: 8px 0; }
ul, ol { padding-left: 20px; margin: 8px 0; }
li { margin: 4px 0; }
strong { color: var(--text); font-weight: 600; }
.meta { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-soft); margin-top: 14px; }
/* Terms and Privacy: the document sits in one white panel */
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--panel-shadow); padding: 48px 56px 56px; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 0.875rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
@media (hover: hover) { .back:hover, footer a:hover { color: var(--text); } }
@media (max-width: 767.98px) {
  .wrap { padding: 0 16px; }
  main { padding: 32px 0 56px; }
  .doc { padding: 28px 20px 32px; }
}
