/* ==========================================================================
   Base styles — tokens, reset, typography, buttons
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

/* ==========================================================================
   Design tokens — Dario Brand Library + Website 2026
   Single source of truth for colour, type, spacing, radius and layout.
   ========================================================================== */

:root {
  /* Colour — brand */
  --color-orange: #f25607;          /* Primary/Orange */
  --color-charcoal: #1f313c;        /* Primary/Charcoal */
  --color-steel-black: #2e223a;     /* Neutrals/Steel Black */
  --color-steel-black-100: #eae9eb; /* Neutrals/Steel Black 100 */
  --color-steel-black-300: #6d6475; /* Neutrals/Steel Black 300 */
  --color-sky-blue: #189efc;        /* Secondary/Sky Blue */
  --color-gray: #f7f5f3;            /* Primary/Gray */
  --color-gray-50: #f7f7f7;         /* Add-on cards (mobile) */
  --color-peach-50: #fdeee7;        /* ROI section */
  --color-peach: #feebe1;           /* Solutions "Configure" section */
  --color-charcoal-100: #8f989e;   /* Shades & Tints/Charcoal 100 (switcher pills) */
  --color-indigo: #2a2c80;          /* Secondary/Indigo */
  --color-indigo-100: #d4d5e6;      /* Shades & Tints/Indigo 100 */
  --color-indigo-400: #1d1f5a;      /* Shades & Tints/Indigo 400 */
  --color-sky-50: #e4f3fe;          /* Platform cards (blue) */
  --color-steel-black-200: #aba7b0; /* Dividers */
  --color-ice: #f2f6f7;             /* Dario Move tile */
  --color-orange-100: #fcddcd;      /* Shades & Tints/Orange 100 */
  --color-orange-200: #f68951;      /* Shades & Tints/Orange 200 */
  --color-white: #ffffff;           /* Neutrals/White */
  --color-text-body: #212529;       /* Text / Body */

  /* Typography — Inter */
  --font-family-base: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Type scale (size / line-height / letter-spacing) */
  --fs-display-1: 3.5rem;   /* 56 */
  --fs-display-2: 3rem;     /* 48 */
  --fs-h1: 2.5rem;          /* 40 */
  --fs-h2: 2rem;            /* 32 */
  --fs-h3: 1.5rem;          /* 24 */
  --fs-h4: 1.25rem;         /* 20 */
  --fs-eyebrow: 1.125rem;   /* 18 */
  --fs-cta: 1.125rem;       /* 18 */
  --fs-body: 1rem;          /* 16 */
  --fs-caption: 0.875rem;   /* 14 */
  --fs-tiny: 0.75rem;       /* 12 */

  --lh-display: 1.25;
  --lh-h2: 1.3;
  --lh-text: 1.4;

  --ls-heading: -0.01em;
  --ls-eyebrow: 0.12em;
  --ls-cta: 0.04em;         /* 0.72px at 18px */

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 5rem;

  /* Radius */
  --radius-xs: 3px;
  --radius-sm: 4px;
  --radius-md: 8px;

  /* Layout */
  --container-max: 1440px;
  --gutter-header: 100px;
  --page-gutter: clamp(1rem, calc(3.409vw + 5.09px), 2.5rem); /* 16px at 320, 40px at 1024; grows to 100px at 1440 (responsive.css) */
  --header-height-mobile: 64px;
  --dropdown-width: 320px;

  /* Motion */
  --transition-fast: 150ms ease;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-base: 300ms;
  --duration-reveal: 700ms;
  --duration-move: 900ms;
  --ease-move: cubic-bezier(0.65, 0, 0.35, 1);

  /* Elevation */
  --shadow-dropdown: 0 8px 24px rgb(46 34 58 / 12%);
  --shadow-card: 0 4px 3px rgb(0 0 0 / 8%);   /* Below/small shadow */
  --shadow-icon: 0 4px 6px rgb(0 0 0 / 8%);
  --shadow-regular: 0 8px 16px rgb(0 0 0 / 15%);  /* Below/Regular shadow */
  --shadow-larger: 0 16px 48px rgb(0 0 0 / 17.6%); /* Below/Larger shadow */

  /* Layers */
  --z-header: 100;
  --z-dropdown: 110;
}

/* ==========================================================================
   2. RESET
   ========================================================================== */

/* Minimal modern reset */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

picture {
  display: contents;
}

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

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

:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

.skip-link {
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 1000;
  padding: var(--space-3) var(--space-4);
  background: var(--color-charcoal);
  color: var(--color-white);
  transform: translateY(-100%);
}

.skip-link:focus {
  transform: none;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

/* Base typography + brand type styles (Dario Brand Library → Type Styles) */

body {
  font-family: var(--font-family-base);
  font-size: var(--fs-body);
  font-weight: var(--font-weight-regular);
  line-height: var(--lh-text);
  color: var(--color-text-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.text-display-1 { font-size: var(--fs-display-1); font-weight: var(--font-weight-bold); line-height: var(--lh-display); letter-spacing: var(--ls-heading); }
.text-display-2 { font-size: var(--fs-display-2); font-weight: var(--font-weight-bold); line-height: var(--lh-display); letter-spacing: var(--ls-heading); }
.text-h1 { font-size: var(--fs-h1); font-weight: var(--font-weight-bold); line-height: var(--lh-display); letter-spacing: var(--ls-heading); }
.text-h2 { font-size: var(--fs-h2); font-weight: var(--font-weight-semibold); line-height: var(--lh-h2); letter-spacing: var(--ls-heading); }
.text-h3 { font-size: var(--fs-h3); font-weight: var(--font-weight-semibold); line-height: var(--lh-text); letter-spacing: var(--ls-heading); }
.text-h4 { font-size: var(--fs-h4); font-weight: var(--font-weight-semibold); line-height: var(--lh-text); letter-spacing: var(--ls-heading); }
.text-eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--lh-text);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

/* ==========================================================================
   Buttons — CTA (orange / white / charcoal), secondary link, outline
   Default/hover values mirror "Footer & CTA Components → CTA Button States".
   A 2px border matching the background is reserved in the default state so the
   hover border never shifts layout.
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-size: var(--fs-cta);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  letter-spacing: var(--ls-cta);
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

/* Orange */
.btn--orange {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
}

.btn--orange:hover,
.btn--orange:focus-visible {
  background-color: var(--color-white);
  color: var(--color-steel-black);
}

/* White */
.btn--white {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-steel-black);
}

.btn--white:hover,
.btn--white:focus-visible {
  border-color: var(--color-charcoal);
  color: var(--color-orange);
}

/* Charcoal */
.btn--charcoal {
  background-color: var(--color-charcoal);
  border-color: var(--color-charcoal);
  color: var(--color-white);
}

.btn--charcoal:hover,
.btn--charcoal:focus-visible {
  background-color: var(--color-white);
  color: var(--color-steel-black);
}

/* Compact variant used by the header "Request a Demo" (px12 / py8, 16px, semibold) */
.btn--sm {
  padding: 6px 10px;
  font-size: var(--fs-body);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0;
}

/* Secondary CTA — text link with arrow */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  font-size: var(--fs-cta);
  font-weight: var(--font-weight-bold);
  line-height: var(--lh-text);
  letter-spacing: 0.01em;
  color: var(--color-orange);
  transition: color var(--transition-fast);
}

.btn-link:hover,
.btn-link:focus-visible {
  color: var(--color-charcoal);
}

/* Outline (footer "Contact Us", "Supported Devices") */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  border: 1px solid var(--color-white);
  border-radius: var(--radius-sm);
  font-size: var(--fs-caption);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  color: var(--color-white);
  text-align: center;
  white-space: nowrap;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: var(--color-white);
  color: var(--color-charcoal);
}

.cs-more__link:hover{color:#1F313C}