/* faro-landing/lib/site-tokens.css — the ONE place a colour literal may live on
 * the public site (2026-10-01). Pages and components reference tokens
 * only. Values mirror the brand palette index.html already shipped. */
:root {
  --navy:         #131e36;
  --navy-soft:    #1f2c4e;
  --navy-deep:    #0d1526;
  --gold:         #d4a017;
  --gold-soft:    rgba(212, 160, 23, 0.15);
  --cream:        #f5ecd5;
  --cream-muted:  #c4bb9c;
  --white:        #ffffff;
  --green:        #10b981;
  --amber:        #f59e0b;
  --slate:        #94a3b8;
  --rose:         #fb7185;
  --blue:         #60a5fa;

  /* semantic */
  --bg:           var(--navy);
  --bg-card:      var(--navy-soft);
  --bg-card-2:    var(--navy-deep);
  --fg:           var(--cream);
  --fg-muted:     var(--cream-muted);
  --accent:       var(--gold);
  --accent-soft:  var(--gold-soft);
  --border:       rgba(245, 236, 213, 0.14);
  --focus:        var(--gold);

  --status-live:        var(--green);
  --status-launching:   var(--blue);
  --status-projected:   var(--slate);
  --status-unavailable: var(--rose);
  /* legacy aliases (internal statuses), kept for any page-level CSS that still names them */
  --status-staged:      var(--status-launching);
  --status-planned:     var(--status-projected);

  --max-width:    1100px;
  --gutter:       1rem;          /* 16px minimum side gutter on every viewport (SOP) */
  --radius:       12px;
  --radius-sm:    8px;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  --fs-body:      1rem;          /* 16px minimum body text (SOP) */
  --lh-body:      1.6;
}

/* Light scheme: same brand, inverted surfaces. The public site ships dark by
 * default (brand); a page opts in with <html data-theme="light"> or, with
 * data-theme="auto", follows the visitor's system preference. */
:root[data-theme="light"],
:root[data-theme="auto"] {
  --bg-light:        #faf6ea;
  --bg-card-light:   #ffffff;
  --bg-card-2-light: #f1ebd8;
  --fg-light:        #131e36;
  --fg-muted-light:  #4b5566;
  --border-light:    rgba(19, 30, 54, 0.14);
}
:root[data-theme="light"] {
  --bg: var(--bg-light); --bg-card: var(--bg-card-light); --bg-card-2: var(--bg-card-2-light);
  --fg: var(--fg-light); --fg-muted: var(--fg-muted-light); --border: var(--border-light);
  --accent: #6b520b; --accent-soft: rgba(107, 82, 11, 0.14); --focus: #6b520b;
  --status-live: #047857; --status-launching: #1d4ed8; --status-projected: #475569; --status-unavailable: #be123c;
}
@media (prefers-color-scheme: light) {
  :root[data-theme="auto"] {
    --bg: var(--bg-light); --bg-card: var(--bg-card-light); --bg-card-2: var(--bg-card-2-light);
    --fg: var(--fg-light); --fg-muted: var(--fg-muted-light); --border: var(--border-light);
    --accent: #6b520b; --accent-soft: rgba(107, 82, 11, 0.14); --focus: #6b520b;
    --status-live: #047857; --status-launching: #1d4ed8; --status-projected: #475569; --status-unavailable: #be123c;
  }
}
