/* Listing Launch Pack design tokens. GENERATED by brand/tools/build.py from brand/brands.json; edit the config, not this file.
   Use: <link rel="stylesheet" href="tokens.css"> (or the @import below via a <link> to Google Fonts for speed).
   Light is the default. Dark: <html data-theme="dark">, or <html data-theme="auto"> to follow the OS setting.
   Legacy aliases (--bg, --ink, --muted, --line, --soft, --cta, --go, --bad) match the existing offer sites in this repo. */
/* fonts: each page links Google Fonts itself (one request; the @import here made a duplicate fetch) */

:root {
  /* ---- brand ---- */
  --brand-name: "Listing Launch Pack";
  --brand-domain: "listinglaunchpack.com";

  /* ---- color (light) ---- */
  --color-bg: #FBF8F3;              /* page background */
  --color-surface: #F3EDE3;         /* cards, alt sections */
  --color-ink: #1C2321;             /* headings + body text */
  --color-muted: #5E6663;           /* secondary text (AA on bg + surface) */
  --color-line: #E2DACD;            /* borders, dividers */
  --color-primary: #17545A;         /* brand color, links, CTA fill */
  --color-primary-strong: #0F3E43;  /* CTA hover / pressed */
  --color-on-primary: #FFFFFF;      /* text on primary */
  --color-accent: #F06A4C;          /* highlight, badges, marker; never body text */
  --color-on-accent: #1C2321;       /* text on accent */
  --color-go: #2E7D4F;              /* good / pass / found */
  --color-bad: #B5442B;             /* problem / fail / missing */
  --shadow-rgb: 28,35,33;

  /* ---- typography ---- */
  --font-display: "DM Serif Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --weight-display: 400;
  --weight-body: 400;
  --weight-strong: 600;
  /* fluid type scale, 1.25 ratio; body never below 16px on phones */
  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.18rem + 0.35vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.38rem + 0.6vw, 1.85rem);
  --step-3: clamp(1.875rem, 1.65rem + 1.1vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.9rem + 1.8vw, 3.4rem);
  --step-5: clamp(2.75rem, 2.2rem + 2.8vw, 4.5rem);
  --leading-tight: 1.08;
  --leading-snug: 1.25;
  --leading-body: 1.6;
  --tracking-display: -0.005em;
  --tracking-caps: 0.08em;

  /* ---- shape + depth ---- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(var(--shadow-rgb), 0.08);
  --shadow-md: 0 2px 4px rgba(var(--shadow-rgb), 0.06), 0 8px 20px rgba(var(--shadow-rgb), 0.08);
  --shadow-lg: 0 4px 8px rgba(var(--shadow-rgb), 0.06), 0 20px 48px rgba(var(--shadow-rgb), 0.14);
  --focus-ring: 0 0 0 3px var(--color-bg), 0 0 0 5px var(--color-primary);

  /* ---- layout ---- */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
  --measure: 680px;      /* body copy max width */
  --container: 1120px;   /* page max width */
  --gutter: 16px;        /* phone side padding */

  /* ---- legacy aliases used by scan/site, leads/site, etc. ---- */
  --bg: var(--color-bg);
  --ink: var(--color-ink);
  --muted: var(--color-muted);
  --line: var(--color-line);
  --soft: var(--color-surface);
  --cta: var(--color-primary);
  --go: var(--color-go);
  --bad: var(--color-bad);
}

:root[data-theme="dark"] {
  --color-bg: #111716;              /* page background */
  --color-surface: #1A2321;         /* cards, alt sections */
  --color-ink: #F3EFE8;             /* headings + body text */
  --color-muted: #A9B2AE;           /* secondary text (AA on bg + surface) */
  --color-line: #2C3634;            /* borders, dividers */
  --color-primary: #5FC1B8;         /* brand color, links, CTA fill */
  --color-primary-strong: #82D3CB;  /* CTA hover / pressed */
  --color-on-primary: #111716;      /* text on primary */
  --color-accent: #FF8A70;          /* highlight, badges, marker; never body text */
  --color-on-accent: #111716;       /* text on accent */
  --color-go: #6BCB8F;              /* good / pass / found */
  --color-bad: #FF8A70;             /* problem / fail / missing */
  --shadow-rgb: 0,0,0;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --color-bg: #111716;              /* page background */
    --color-surface: #1A2321;         /* cards, alt sections */
    --color-ink: #F3EFE8;             /* headings + body text */
    --color-muted: #A9B2AE;           /* secondary text (AA on bg + surface) */
    --color-line: #2C3634;            /* borders, dividers */
    --color-primary: #5FC1B8;         /* brand color, links, CTA fill */
    --color-primary-strong: #82D3CB;  /* CTA hover / pressed */
    --color-on-primary: #111716;      /* text on primary */
    --color-accent: #FF8A70;          /* highlight, badges, marker; never body text */
    --color-on-accent: #111716;       /* text on accent */
    --color-go: #6BCB8F;              /* good / pass / found */
    --color-bad: #FF8A70;             /* problem / fail / missing */
    --shadow-rgb: 0,0,0;
  }
}
