/* RistorUp design tokens for the web.
   Same values as lib/design_system/tokens.dart (the Flutter source of truth).
   Shared by every static page in public/ and by the per-restaurant pages
   (/r/<slug>, Cloud Function SSR): link /css/tokens.css, never copy values. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors */
  --ink: #111111;
  --red: #E23B2A;
  --red-pressed: #B92A1C;
  --white: #FFFFFF;
  --surface: #F3F3F3;
  --surface-warm: #F5F5F4;
  --text-secondary: #6B6B6B;
  --text-body: #444444;
  --text-on-dark: #BDBDBD;
  --line: #EAEAEA;
  --line-soft: #EFEFEF;
  --disabled-bg: #E6E6E6;
  --disabled-text: #9A9A9A;
  --border-neutral: #D0D0D0;
  --success: #1F9D55;
  --success-text: #13753A;
  --success-bg: #E7F6EC;
  --warning-text: #8A5300;
  --warning-bg: #FFF4E0;
  --danger-text: #B42318;
  --danger-bg: #FDE9E6;

  /* Type */
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Radii */
  --r-image: 14px;
  --r-block: 16px;
  --r-card: 22px;
  --r-card-lg: 28px;
  --r-pill: 999px;

  /* Sizes */
  --tap: 44px;
  --h-button: 56px;
  --h-button-primary: 58px;
  --h-field: 56px;

  /* Layout */
  --max: 1180px;
  --gutter: 24px;
  --section-y: clamp(56px, 8vw, 100px);
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }
}
