/* GaariHaat design tokens. Source: tokens-1-color.md, tokens-2-typography.md, tokens-3-spacing-shape.md (with 8 Oct review fixes). Mirrors Figma collections Color, Type, Layout. */

:root {
  /* color: surfaces */
  --color-bg-page: #F6F5F1;
  --color-bg-surface: #FFFFFF;
  --color-bg-subtle: #EEECE6;
  --color-bg-inverse: #16181D;

  /* color: borders */
  --color-border-default: #E0DDD5;
  --color-border-strong: #8C8578;
  --color-focus-ring: #1D4ED8;

  /* color: text */
  --color-text-primary: #16181D;
  --color-text-secondary: #4F5560;
  --color-text-tertiary: #6B707A;
  --color-text-inverse: #FFFFFF;

  /* color: action (marigold with ink text, never white on marigold) */
  --color-action: #F2A900;
  --color-action-hover: #DB9900;
  --color-text-on-action: #16181D;
  --color-action-secondary: #16181D;

  /* color: status, each means one thing */
  --color-verified: #126B33;
  --color-verified-bg: #E5F3EA;
  --color-reserved: #8A4B00;
  --color-reserved-bg: #FCEFD9;
  --color-error: #B42318;
  --color-error-bg: #FDECEA;
  --color-info: #1D4ED8;
  --color-info-bg: #E8EFFD;

  /* type: Noto Sans Bengali is subset to ৳ only, everything else falls through to Inter */
  --font-body: 'Noto Sans Bengali', 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-size-h1: 72px;
  --font-size-h2: 48px;
  --font-size-h3: 32px;
  --font-size-h4: 24px;
  --font-size-body-lg: 20px;
  --font-size-body: 18px;
  --font-size-small: 16px;
  --font-size-caption: 14px;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.1;
  --line-height-snug: 1.3;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  --letter-spacing-heading: -0.025em;

  /* spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-base: 16px;
  --space-comfortable: 24px;
  --space-roomy: 32px;
  --space-spacious: 48px;
  --space-section-gap: 64px;

  /* layout */
  --layout-page-x: 160px;
  --layout-section-y: 120px;
  --layout-grid-gutter: 24px;
  --layout-content-width: 1600px;
  --size-touch-min: 44px;

  /* radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* shadow */
  --shadow-flat: none;
  --shadow-subtle: 0 2px 6px rgba(23, 23, 28, 0.06);
  --shadow-medium: 0 12px 28px -6px rgba(23, 23, 28, 0.10);
  --shadow-high: 0 24px 56px -8px rgba(23, 23, 28, 0.18);
}

/* page margin steps down between 1920 and 768 so 1440 and 1280 are not cramped */
@media (max-width: 1599px) {
  :root { --layout-page-x: 80px; --layout-section-y: 96px; }
}
@media (max-width: 1199px) {
  :root {
    --layout-page-x: 40px;
    --layout-section-y: 80px;
    --font-size-h1: 56px;
    --font-size-h2: 40px;
  }
}

@media (max-width: 767px) {
  :root {
    --font-size-h1: 40px;
    --font-size-h2: 32px;
    --font-size-h3: 24px;
    --font-size-h4: 20px;
    --font-size-body-lg: 18px;
    --font-size-body: 16px;
    --font-size-small: 14px;
    --font-size-caption: 14px;

    --space-roomy: 24px;
    --space-spacious: 32px;
    --space-section-gap: 40px;
    --layout-page-x: 20px;
    --layout-section-y: 56px;
    --layout-grid-gutter: 16px;
    --layout-content-width: 100%;
    --radius-md: 12px;
    --radius-lg: 16px;
  }
}
