/* OfficeOurs design tokens — the single source of truth for both surfaces.
 *
 * This exact file is served twice:
 *   marketing site   /tokens.css            (public/tokens.css in officeours-site)
 *   booking + admin  /office/static/tokens.css
 *
 * Keep the two copies byte-identical: officeours-site is canonical, and
 * tools/publish_tokens.sh copies it into the app. Never edit the app's copy.
 *
 * The palette is the marketing brand (taupe #63585e, Baskervville headings,
 * Source Sans body). The Hebrew families are fallbacks inside the same stacks,
 * so a mixed-script line keeps one visual voice.
 */

@import url('./fonts/fonts.css');

:root {
  color-scheme: light;

  /* Brand */
  --accent: #63585e;         /* taupe — 7.0:1 on white, AA for body text */
  --accent-ink: #ffffff;     /* text on an accent-filled surface */
  --accent-soft: #63585e14;  /* accent at ~8% — tints, hovers, table stripes */

  /* Surfaces + text */
  --fg: #333333;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #faf9f8;             /* warm off-white, not the blue-grey #f9fafb */
  --card: #ffffff;

  /* Status */
  --ok: #15803d;
  --warn: #b45309;
  --danger: #b91c1c;

  /* Type */
  --font-body: "Source Sans Pro", "Noto Sans Hebrew", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Baskervville", "Noto Serif Hebrew", Georgia, serif;

  /* Shape */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
}

/* Shared element baseline. Anything below this line has to be safe on both a
 * marketing page and a booking form. */
* { box-sizing: border-box; }

body {
  margin: 0;
  font: 16px/1.55 var(--font-body);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.2;
}

a { color: var(--accent); }

/* RTL comes from <html dir>, never from an override sheet: logical properties
 * only, everywhere. */
th, td { text-align: start; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
