/* CarBharosa design tokens. Light mode only.
   Source of truth: design-system/tokens.json. Regenerate this file if tokens.json changes.
   Use the variable names (var(--brand)), never the raw values. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./fonts/PlusJakartaSans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./fonts/PlusJakartaSans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./fonts/PlusJakartaSans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./fonts/PlusJakartaSans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./fonts/PlusJakartaSans-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hind";
  src: url("./fonts/Hind-Devanagari-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hind";
  src: url("./fonts/Hind-Devanagari-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hind";
  src: url("./fonts/Hind-Devanagari-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hind";
  src: url("./fonts/Hind-Devanagari-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Colour */
:root {
  --blue-50: #F2F7FF; /* Faintest brand tint */
  --blue-100: #E3EDFF; /* Soft brand fill */
  --blue-200: #C7DCFF; /* Borders on brand-tinted panels, disabled fills, and secondary text on blue-600 fills (5.8:1 the… */
  --blue-300: #99BFFF; /* Decorative arcs and illustration tint on blue-600 and blue-800 panels (4.3:1 on blue-600) */
  --blue-400: #6196F4; /* Chart secondary series and illustration mid-tone */
  --blue-500: #2B6DE1; /* Illustration and chart mid-tone */
  --blue-600: #0448B6; /* BHAROSA BLUE, the master brand colour #0448B6 */
  --blue-700: #043B97; /* Hover state of blue-600 fills */
  --blue-800: #062F76; /* Pressed state of blue-600 fills and deep brand panels */
  --blue-900: #052155; /* Deep panel and footer alternative to blue-950 */
  --blue-950: #06173F; /* MIDNIGHT #06173F, the brand ink */
  --brand: var(--blue-600); /* Semantic alias of blue-600 for primary actions, links, active states and key figures; text on s… */
  --brand-hover: var(--blue-700); /* Hover fill for primary buttons */
  --brand-pressed: var(--blue-800); /* Pressed fill for primary buttons */
  --brand-soft: var(--blue-100); /* Tinted background behind brand text (chips, callouts, selected filters) */
  --brand-mist: var(--blue-50); /* Very light tinted band behind brand or ink text */
  --on-brand: #FFFFFF; /* Text and icons on brand, brand-hover, brand-pressed and surface-brand fills (8.05:1 or better) */
  --on-brand-muted: var(--blue-200); /* Secondary text on surface-brand fills (5.8:1) */
  --surface: #FFFFFF; /* Page and card background, and 75% of every layout */
  --surface-mist: #F4F7FC; /* The one quiet alternate */
  --surface-raised: #FFFFFF; /* Cards, menus and inputs */
  --surface-brand: var(--blue-600); /* Hero panels, showroom fascia, social posts */
  --surface-midnight: var(--blue-950); /* Rare dark panels (footers, price-drop banners) */
  --ink: var(--blue-950); /* Primary text and headings on surface, surface-mist, brand-soft and marigold */
  --ink-muted: #465369; /* Secondary text and metadata on surface (7.8:1) and surface-mist (7.2:1) */
  --ink-subtle: #5D6C86; /* Captions and placeholders, 12px and up, on surface (5.3:1) and surface-mist (4.95:1) */
  --line: #DFE5EF; /* 1px card borders and dividers */
  --line-strong: #6F819F; /* Input borders, checkbox outlines and any border that identifies a control (3.95:1 on surface, a… */
  --marigold: #FFB81C; /* MARIGOLD #FFB81C, the single warm accent */
  --marigold-soft: #FFF3D6; /* Tinted background behind marigold-deep text (caution and offer notes) */
  --marigold-deep: #7A4B00; /* Text and icons for caution or offer notes, on surface (7.4:1) and marigold-soft (6.7:1) */
  --on-marigold: var(--blue-950); /* Text and icons on marigold fills (10:1) */
  --verified: #01764C; /* Verified and success */
  --verified-soft: #DFFAEA; /* Tinted background behind verified text */
  --on-verified: #FFFFFF; /* Text on a verified fill (5.7:1) */
  --alert: #B71824; /* Errors and destructive actions */
  --alert-soft: #FFEBEA; /* Tinted background behind alert text */
  --on-alert: #FFFFFF; /* Text on an alert fill (6.6:1) */
  --focus-ring: var(--blue-600); /* Keyboard focus ring on light surfaces */
  --focus-ring-inverse: #FFFFFF; /* Keyboard focus ring on surface-brand and surface-midnight panels */
  --scrim: #06173F99; /* 60% Midnight overlay laid on photography under white text; keep white text at 4.5:1 or better o… */
}

/* Spacing */
:root {
  --space-1: 4px; /* Hairline offsets and the gap between a 16px icon and its label */
  --space-2: 8px; /* Tight gaps between related items */
  --space-3: 12px; /* Gap between a title and its details inside a card; compact control padding */
  --space-4: 16px; /* Default card padding and gap between form fields */
  --space-5: 24px; /* Gutter, gap between cards and the page margin on desktop */
  --space-6: 32px; /* Between a section heading and its content; large panel padding */
  --space-7: 48px; /* Between blocks inside one section */
  --space-8: 64px; /* Between sections on desktop (48px on mobile) */
  --space-9: 96px; /* Above and below hero blocks; the largest step */
}

/* Radius */
:root {
  --radius-xs: 4px; /* Tick chips, tags and other very small elements */
  --radius-sm: 8px; /* Tooltips, small buttons, table controls and icon tiles */
  --radius-md: 12px; /* The default */
  --radius-lg: 16px; /* Panels, sheets, modals and the report card */
  --radius-xl: 24px; /* Hero panels and social post frames */
  --radius-pill: 999px; /* Filter chips, badges with a dot, avatar frames and icon buttons */
}

/* Shadow */
:root {
  --shadow-float: 0 4px 16px rgba(6,23,63,0.10); /* Card hover, dropdown menus and sticky bars */
  --shadow-lift: 0 12px 32px rgba(6,23,63,0.16); /* Modals, bottom sheets and popovers above a scrim */
  --shadow-focus: 0 0 0 2px #FFFFFF, 0 0 0 4px #0448B6; /* Focus ring on light surfaces */
}

/* Layout and controls */
:root {
  --container: 1240px; /* Maximum content width on desktop */
  --container-narrow: 720px; /* Reading column for long copy and forms */
  --gutter: 24px; /* Column gutter in the 12-column grid */
  --page-margin: 24px; /* Left and right page margin (16px on mobile) */
  --control-height: 48px; /* Default height of buttons, inputs and selects */
  --control-height-sm: 40px; /* Compact controls in dense desktop tables and filters */
  --touch-target: 44px; /* Minimum height and width of any tappable control */
  --icon-sm: 16px; /* Icons inline with text and in listing spec rows */
  --icon-md: 24px; /* The default interface icon */
  --icon-lg: 32px; /* Trust tiles and feature icons */
}

/* Font stacks */
:root {
  --font-sans: "Plus Jakarta Sans", "Hind", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hindi: "Hind", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-email: Arial, Helvetica, sans-serif;
}

/* Type styles: one class per style, e.g. class="h4", class="price". */
/* Display and headings */
.display-xl { font-family: var(--font-sans); font-size: 64px; line-height: 68px; font-weight: 800; letter-spacing: -0.03em; }
.display { font-family: var(--font-sans); font-size: 48px; line-height: 54px; font-weight: 700; letter-spacing: -0.025em; }
.h1 { font-family: var(--font-sans); font-size: 36px; line-height: 44px; font-weight: 700; letter-spacing: -0.02em; }
.h2 { font-family: var(--font-sans); font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -0.015em; }
.h3 { font-family: var(--font-sans); font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -0.01em; }
.h4 { font-family: var(--font-sans); font-size: 18px; line-height: 26px; font-weight: 600; }
/* Text */
.body-lg { font-family: var(--font-sans); font-size: 18px; line-height: 28px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 26px; font-weight: 400; }
.body-strong { font-family: var(--font-sans); font-size: 16px; line-height: 26px; font-weight: 600; }
.small { font-family: var(--font-sans); font-size: 14px; line-height: 22px; font-weight: 400; }
.caption { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.01em; }
.overline { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; }
.button { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 600; }
/* Numbers and price */
.price-xl { font-family: var(--font-sans); font-size: 40px; line-height: 48px; font-weight: 700; letter-spacing: -0.02em; }
.price { font-family: var(--font-sans); font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.015em; }
.spec { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 500; }
/* Hindi */
.hindi-display { font-family: var(--font-hindi); font-size: 44px; line-height: 64px; font-weight: 700; }
.hindi-heading { font-family: var(--font-hindi); font-size: 28px; line-height: 42px; font-weight: 700; }
.hindi-body { font-family: var(--font-hindi); font-size: 17px; line-height: 29px; font-weight: 400; }
/* Email */
.email-name { font-family: var(--font-email); font-size: 16px; line-height: 20px; font-weight: 700; }
.email-body { font-family: var(--font-email); font-size: 13px; line-height: 20px; font-weight: 400; }
