/* App design: design tokens, then the page base, then one block per component (components/<name>.html, root class
   .c-<name>, parts .c-<name>__<part>). The studio (make studio) edits component rules and tokens here. Overrides for
   one page only live in compositions.css, which the build appends to this file. */

/* Tokens (light, then dark) */
:root {
  --bg: #f6f5f2; --card: #fff; --ink: #1c1b1a; --muted: #6b6862; --line: #e4e1db;
  --accent: #1f6feb; --accent-ink: #fff; --ok: #1a7f37; --warn: #9a6700; --bad: #cf222e;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121211; --card: #1c1b1a; --ink: #f2f1ee; --muted: #a29e97; --line: #2e2c29; --accent: #4493f8; }
}

/* Base */
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
main { max-width: 30rem; margin: 0 auto; padding: 2rem 1.25rem 3rem; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.phone { font-variant-numeric: tabular-nums; font-weight: 600; }
.status-ok { color: var(--ok); } .status-warn { color: var(--warn); } .status-bad { color: var(--bad); }
[hidden] { display: none !important; }

/* c-brand */
.c-brand { font-weight: 700; letter-spacing: .02em; margin-bottom: 1.5rem; }

/* c-card (c-problem is a card too) */
.c-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; }
.c-card__title { font-size: 1.4rem; line-height: 1.25; margin: 0 0 .75rem; }
.c-card__text { margin: .5rem 0; }

/* c-muted-text */
.c-muted-text { color: var(--muted); font-size: .9rem; margin: .5rem 0; }

/* c-consent-list */
.c-consent-list { padding-left: 1.1rem; margin: 1rem 0; }
.c-consent-list__item { margin: .4rem 0; }

/* c-button */
.c-button { display: block; width: 100%; margin-top: 1.25rem; padding: .85rem 1rem; border: 0; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; }
.c-button[disabled] { opacity: .6; cursor: default; }
.c-button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* c-footer */
.c-footer { margin-top: 1.5rem; text-align: center; color: var(--muted); font-size: .9rem; }

/* compositions.css */
/* Overrides for one composition (page) only, written by the studio (make studio) when a change is saved with
   "only in this composition": .page-<name> .c-<component> { … }. The build appends this file to app.css. */
