/* Fatbike Limburg — design tokens
   Source: Figma "Redesign" variable collection (aliases the "Current identity" collection).
   Every variable name matches its Figma code syntax. Do not hard-code colours elsewhere. */

:root {
  /* Surfaces */
  --surface-page: #ffffff;
  --surface-subtle: #f9fafb;
  --surface-warm: #fff7ed;
  --surface-warm-strong: #ffedd5;
  --surface-ink: #18181b;

  /* Text */
  --text-strong: #18181b;
  --text-body: #3f3f46;
  --text-muted: #71717a;
  --text-on-ink: #ffffff;
  --text-accent: #ea580c;
  --text-sale: #dc2626;

  /* Actions */
  --action-primary: #ea580c;
  --action-primary-hover: #c2410c;
  --action-dark: #18181b;
  --action-dark-hover: #3f3f46;
  --action-whatsapp: #16a34a;
  --action-whatsapp-hover: #000000;

  /* Borders */
  --border-default: #e4e4e7;
  --border-strong: #18181b;

  /* Feedback */
  --feedback-sale: #dc2626;
  --feedback-success: #16a34a;
  --feedback-warning: #ca8a04;

  /* Icons */
  --icon-default: #18181b;
  --icon-muted: #71717a;
  --icon-on-ink: #ffffff;
  --icon-accent: #ea580c;

  /* Brand */
  --brand-logo-orange: #f7740a;

  /* Spacing scale (space/4 … space/128) */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;
  --space-128: 128px;

  /* Radius (8 controls · 16 cards · 24 large media) */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Typography families */
  --font-heading: "Montserrat";
  --font-body: "Inter";
  --font-mono: "JetBrains Mono";

  /* Layout */
  --container: 1280px;
  --gutter-desktop: 80px;
  --gutter-mobile: 20px;
  --grid-gap: 24px;
  --grid-gap-mobile: 12px;
  --header-desktop: 187px;
  --header-mobile: 99px;
  --announcement-height: 40px;

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 220ms;
  --toast-duration: 1800ms;

  /* Backdrops */
  --backdrop-35: rgba(24, 24, 27, 0.35);
  --backdrop-40: rgba(24, 24, 27, 0.40);
  --backdrop-45: rgba(24, 24, 27, 0.45);
}

/* ------------------------------------------------------------------ */
/* Type ramp utilities — names follow the Figma text styles            */
/* ------------------------------------------------------------------ */
.t-desktop-statement { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 800; font-size: 120px; line-height: .94; letter-spacing: -.03em; }
.t-desktop-hero      { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 800; font-size: 112px; line-height: .94; letter-spacing: -.03em; }
.t-desktop-display   { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 800; font-size: 96px;  line-height: 1;   letter-spacing: -.03em; }
.t-desktop-h1        { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 800; font-size: 64px;  line-height: 1.04; letter-spacing: -.03em; }
.t-desktop-h2        { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 800; font-size: 44px;  line-height: 1.10; letter-spacing: -.02em; }
.t-desktop-h3        { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 700; font-size: 24px;  line-height: 1.25; letter-spacing: -.01em; }
.t-desktop-h4        { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 700; font-size: 18px;  line-height: 1.30; }
.t-desktop-h5        { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 700; font-size: 20px;  line-height: 1.30; }

.t-mobile-display { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 800; font-size: 48px; line-height: 1;    letter-spacing: -.03em; }
.t-mobile-h1      { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 800; font-size: 38px; line-height: 1.05; letter-spacing: -.03em; }
.t-mobile-h2      { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 800; font-size: 30px; line-height: 1.12; letter-spacing: -.02em; }
.t-mobile-h3      { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
.t-mobile-h4      { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 700; font-size: 17px; line-height: 1.30; }

.t-body-l        { font-family: var(--font-body), system-ui, sans-serif; font-weight: 400; font-size: 18px; line-height: 1.56; }
.t-body-m        { font-family: var(--font-body), system-ui, sans-serif; font-weight: 400; font-size: 16px; line-height: 1.5; }
.t-body-s        { font-family: var(--font-body), system-ui, sans-serif; font-weight: 400; font-size: 14px; line-height: 1.43; }
.t-body-m-strong { font-family: var(--font-body), system-ui, sans-serif; font-weight: 600; font-size: 16px; line-height: 1.5; }
.t-body-s-strong { font-family: var(--font-body), system-ui, sans-serif; font-weight: 600; font-size: 14px; line-height: 1.43; }
.t-caption       { font-family: var(--font-body), system-ui, sans-serif; font-weight: 500; font-size: 12px; line-height: 1.33; }
.t-ui-button-m   { font-family: var(--font-body), system-ui, sans-serif; font-weight: 600; font-size: 16px; line-height: 1; }
.t-ui-button-s   { font-family: var(--font-body), system-ui, sans-serif; font-weight: 600; font-size: 14px; line-height: 1; }
.t-ui-nav        { font-family: var(--font-body), system-ui, sans-serif; font-weight: 500; font-size: 15px; line-height: 1; }

.t-price-l   { font-family: var(--font-mono), ui-monospace, monospace; font-weight: 700; font-size: 28px; line-height: 1.2; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.t-price-m   { font-family: var(--font-mono), ui-monospace, monospace; font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.t-price-s   { font-family: var(--font-mono), ui-monospace, monospace; font-weight: 700; font-size: 15px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.t-price-old { font-family: var(--font-mono), ui-monospace, monospace; font-weight: 500; font-size: 13px; line-height: 1.2; color: var(--text-muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }

/* Responsive heading helpers: mobile size by default, desktop from 1024px */
.t-h1 { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 800; font-size: 38px; line-height: 1.05; letter-spacing: -.03em; }
.t-h2 { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 800; font-size: 30px; line-height: 1.12; letter-spacing: -.02em; }
.t-h3 { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
.t-h4 { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 700; font-size: 17px; line-height: 1.30; }
.t-display { font-family: var(--font-heading), system-ui, sans-serif; font-weight: 800; font-size: 48px; line-height: 1; letter-spacing: -.03em; }
@media (min-width: 1024px) {
  .t-h1 { font-size: 64px; line-height: 1.04; }
  .t-h2 { font-size: 44px; line-height: 1.10; }
  .t-h3 { font-size: 24px; }
  .t-h4 { font-size: 18px; }
  .t-display { font-size: 96px; }
}

/* ------------------------------------------------------------------ */
/* Layout helpers                                                      */
/* ------------------------------------------------------------------ */
.container-site {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter-mobile));
  margin-inline: auto;
  padding-inline: var(--gutter-mobile);
}
@media (min-width: 1024px) {
  .container-site {
    max-width: calc(var(--container) + 2 * var(--gutter-desktop));
    padding-inline: var(--gutter-desktop);
  }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--surface-ink);
  color: var(--text-on-ink);
  border-radius: var(--radius-sm);
  font: 600 14px/1 var(--font-body), system-ui, sans-serif;
}
.skip-link:focus { top: 16px; outline: 2px solid var(--action-primary); outline-offset: 2px; }

:focus-visible {
  outline: 2px solid var(--border-strong);
  outline-offset: 2px;
  border-radius: 4px;
}
.on-ink :focus-visible { outline-color: var(--text-on-ink); }

[x-cloak] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body), system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.scroll-lock { overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none; }
}
