/* Datenal Technologies design tokens — central source of truth for the retail redesign. */
:root {
  /* Colour: restrained, near-black typography on white / light grey. */
  --c-ink: #111317;
  --c-ink-soft: #3a3f47;
  --c-muted: #6c727c;
  --c-line: #e4e6e9;
  --c-line-strong: #cdd1d6;
  --c-surface: #ffffff;
  --c-surface-2: #f6f7f8;
  --c-surface-3: #eceef0;
  --c-accent: #1b3a8b;
  --c-accent-hover: #122a68;
  --c-focus: #1b3a8b;
  --c-success: #1f7a4d;
  --c-warning: #8a5a00;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 15px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 30px;
  --fs-3xl: clamp(30px, 4vw, 42px);
  --fs-display: clamp(38px, 5.4vw, 68px);
  --lh-tight: 1.06;
  --lh-snug: 1.25;
  --lh-body: 1.62;
  --ls-tight: -0.035em;
  --ls-wide: 0.14em;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --gutter: clamp(20px, 5vw, 64px);
  --container: 1440px;

  /* Borders, radii, shadows */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-pill: 999px;
  --border: 1px solid var(--c-line);
  --shadow-menu: 0 18px 36px rgba(17, 19, 23, 0.09);
  --shadow-overlay: 0 20px 60px rgba(17, 19, 23, 0.18);

  /* Motion */
  --t-fast: 140ms ease;
  --t-base: 240ms ease;
  --t-slow: 620ms cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Breakpoints: 1280 / 1024 / 768 / 520 (used in media queries below). */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 128px; }
body {
  margin: 0;
  background: var(--c-surface);
  color: var(--c-ink);
  font: var(--fs-base)/var(--lh-body) var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; }
[hidden] { display: none !important; }

.container { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: var(--sp-4); top: -60px; z-index: 200;
  background: var(--c-ink); color: #fff; padding: 10px 16px;
  transition: top var(--t-fast);
}
.skip-link:focus { top: var(--sp-4); }
.muted { color: var(--c-muted); font-size: var(--fs-sm); }

/* Reveal: only active once JS marks the document, so content stays visible without JS. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow), transform var(--t-slow); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-padding-top: 112px; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
