/* ============================================================
   ROSSA RENT A CAR — Design tokens
   DM Sans (display) + Bricolage Grotesque (UI)
   Ink / Paper / Rossa red / Chrome
   ============================================================ */

:root {
  /* ── color ─────────────────────────────────────── */
  --ink: #0c0c0e;
  --ink-soft: #1a1a1d;
  --ink-2: #232328;
  --ink-line: rgba(255, 255, 255, .12);

  --paper: #f6f3ee;
  --paper-warm: #efeae0;
  --paper-cool: #ecebe6;
  --paper-line: rgba(12, 12, 14, .12);

  --rossa: #c1272d;
  --rossa-deep: #840016;
  --rossa-bright: #e84a4f;
  --rossa-tint: #f6dcdd;

  --chrome-1: #fafcfd;
  --chrome-2: #d4d4d4;
  --chrome-3: #9a9a9a;

  --muted: #6b6863;
  --muted-on-dark: #9c9893;

  /* ── type ──────────────────────────────────────── */
  --f-display: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-ui: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", "DM Mono", ui-monospace, "SFMono-Regular", monospace;

  /* ── radii (we use almost none) ───────────────── */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;

  /* ── spacing scale ─────────────────────────────── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* ── layout ────────────────────────────────────── */
  --container: 1320px;
  --gutter: 48px;
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }
}
@media (max-width: 560px) {
  :root { --gutter: 18px; }
}

/* ─────────────────────────────────────────────────
   Base
   ───────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  font-variation-settings: "wdth" 100;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

::selection { background: var(--rossa); color: #fff; }

/* ─────────────────────────────────────────────────
   Type primitives
   ───────────────────────────────────────────────── */

.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.display em {
  font-style: italic;
  font-weight: 500;
  color: var(--rossa);
}

.eyebrow {
  font-family: var(--f-ui);
  font-variation-settings: "wdth" 85;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--ink { color: var(--ink); }
.eyebrow--red { color: var(--rossa); }
.eyebrow--paper { color: var(--paper); }
.eyebrow--muted-light { color: var(--muted-on-dark); }

.kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────
   Container + utility
   ───────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.hr-thin {
  height: 1px;
  background: var(--paper-line);
  border: 0;
  margin: 0;
}

.hr-thin--ink { background: var(--ink-line); }

/* ─────────────────────────────────────────────────
   Buttons
   ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 90;
  border: 1px solid currentColor;
  border-radius: var(--r-xs);
  background: transparent;
  color: var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn--primary {
  background: var(--rossa);
  color: #fff;
  border-color: var(--rossa);
}
.btn--primary:hover { background: var(--rossa-deep); border-color: var(--rossa-deep); color: #fff; }

.btn--ghost-light {
  color: var(--paper);
  border-color: rgba(255, 255, 255, .35);
}
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.btn--ghost-ink {
  color: var(--ink);
  border-color: rgba(12, 12, 14, .25);
}
.btn--ghost-ink:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* small inline link with chrome rule underneath */
.link-rule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-ui);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 90;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--rossa);
}
.link-rule:hover { color: var(--rossa-deep); }
