/* ==========================================================================
   Ozonetel — marketing site. One light theme: navy + electric blue, airy layout, pill buttons, soft cards.
   Layer order: Bootstrap 5.3.8 (CDN) → this file.
   Every colour goes through a token; no hard-coded hex inside components.
   (Spacing, controls and component anatomy still follow Design.md; colour, type and shape follow the Ozonetel look — see "Applied theme" there.)
   ========================================================================== */

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* brand & semantic */
  --color-primary: #0084FF;             /* electric blue: rings, outlines, icon chips (3.66:1 with white) */
  --primary-rgb: 0, 132, 255;
  --color-primary-aa: #0064D9;          /* 5.49:1 with white — fill behind small white text; 4.87:1 as text on #E6F3FF */
  --color-primary-aa-hover: #0052B4;
  --color-sky: #019DF9;                 /* glow and gradients only — 2.9:1 with white, never behind text */
  --color-secondary: #25235D;           /* Ozonetel navy */
  --color-success: #03C95A;
  --color-info: #4E35DF;                /* violet, so "info" stays distinct from the blue brand colour */
  --color-warning: #F8BB00;
  --color-danger: #E70D0D;
  --color-pink: #FD3995;
  --color-purple: #7C5C9F;
  --color-skyblue: #07BAC2;
  --chart-2: var(--color-secondary);
  --chip-info-aa: #4E35DF;             /* AA fills for chips that carry initials text */
  --chip-pink-aa: #C21E6F;

  /* tints (status = soft bg + saturated text; text darkened for AA) */
  --primary-transparent: rgba(var(--primary-rgb), .1);
  --tint-secondary-bg: #ECECF7; --tint-secondary-fg: #25235D;
  --tint-success-bg:   #D2F5E1; --tint-success-fg:   #027A38;
  --tint-info-bg:      #EFECFC; --tint-info-fg:      #4E35DF;
  --tint-warning-bg:   #FFF6DB; --tint-warning-fg:   #7A5900;
  --tint-danger-bg:    #FAE7E7; --tint-danger-fg:    #B80A0A;
  --tint-purple-bg:    #F1ECF7; --tint-purple-fg:    #6A4A8C;
  --tint-pink-bg:      #FFEDF6; --tint-pink-fg:      #C21E6F;

  /* neutrals: white canvas, pale-blue bands */
  --bg-page: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F3F8FE;
  --bg-table-head: #E6F3FF;
  --border: #DDE8F4;
  --border-strong: #C5D3E4;
  --border-soft: #E6EEF8;
  --text-heading: #25235D;
  --text-title: #16123E;
  --text-body: #344054;
  --text-muted: #556070;               /* 5.7:1 on #E6F3FF */
  --text-nav: #25235D;
  --text-disabled: #8A93A5;
  --text-accent: var(--color-primary-aa);   /* accent used as small text on plain surfaces */
  --text-accent-strong: var(--color-primary-aa-hover);   /* accent text sitting on an accent tint */
  --gradient-end: #FFFFFF;
  --footer-bg: #16123E;
  --topstrip-bg: #16123E;
  --on-dark: #B8BCD9;                  /* body text on the navy strip and footer (9.4:1) */
  --on-dark-strong: #DDE0F2;

  /* type */
  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: 16px;

  /* shape & elevation: generous radii, soft blue-tinted shadows */
  --radius-sm: 8px; --radius: 12px; --radius-md: 16px; --radius-lg: 24px; --radius-pill: 999px;
  --shadow-card: 0 2px 14px 0 rgba(37,35,93,.07);
  --shadow-sm: 0 4px 16px 0 rgba(37,35,93,.08);
  --shadow-md: 0 10px 30px 0 rgba(37,35,93,.12);
  --shadow-menu: 0 12px 32px 0 rgba(37,35,93,.14);

  /* layout & motion */
  --header-h: 68px;
  --control-h: 44px;
  --t-base: .5s; --t-fast: .25s; --ease: ease;

  /* gradients */
  --primary-linear-gradient: linear-gradient(270deg, rgba(var(--primary-rgb), .16) 0%, var(--gradient-end) 100%);
  --info-linear-gradient:    linear-gradient(270deg, rgba(78,53,223,.12) 0%, var(--gradient-end) 100%);
  --success-linear-gradient: linear-gradient(270deg, rgba(3,201,90,.16) 0%, var(--gradient-end) 100%);
  --warning-linear-gradient: linear-gradient(270deg, rgba(248,187,0,.18) 0%, var(--gradient-end) 100%);

  /* Bootstrap bridge */
  --bs-primary: var(--color-primary);
  --bs-primary-rgb: var(--primary-rgb);
  --bs-body-font-family: var(--font-sans);
  --bs-body-font-size: var(--fs-body);
  --bs-body-color: var(--text-body);
  --bs-body-bg: var(--bg-page);
  --bs-border-color: var(--border);
  --bs-heading-color: var(--text-heading);
  --bs-link-color-rgb: var(--primary-rgb);
}

/* ── 2. Base ───────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans); font-size: var(--fs-body); line-height: 1.5;
  color: var(--text-body); background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--color-primary-aa); color: #fff; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-sans); color: var(--text-heading); font-weight: 700; margin: 0; }
h3 { font-size: 22px; font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }
h5 { font-size: 16px; font-weight: 600; }
h6 { font-size: 14px; font-weight: 600; }
.t-h4 { font-size: 18px; font-weight: 600; }
.t-h6 { font-size: 14px; font-weight: 600; }
.t-h5 { font-size: 16px; font-weight: 600; }
p { margin-bottom: 20px; } p:last-child { margin-bottom: 0; }
a { color: var(--text-accent); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--color-primary-aa-hover); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
section[id], [id="top"] { scroll-margin-top: 84px; }
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 2000; padding: 8px 14px;
  background: var(--bg-surface); color: var(--text-title); border: 1px solid var(--border-strong); border-radius: var(--radius);
}
.skip-link:focus { top: 8px; }
.text-accent { color: var(--text-accent) !important; }
.text-heading { color: var(--text-heading) !important; }
.text-title { color: var(--text-title) !important; }
.text-muted { color: var(--text-muted) !important; }
.fs-12 { font-size: 12px; } .fs-13 { font-size: 13px; }

/* ── 3. Buttons ────────────────────────────────────────────────────────── */
.btn {
  --bs-btn-padding-y: .5rem; --bs-btn-padding-x: 1.3rem;
  --bs-btn-font-size: 15px; --bs-btn-font-weight: 600; --bs-btn-border-radius: var(--radius-pill);
  --bs-btn-focus-shadow-rgb: var(--primary-rgb);
  min-height: var(--control-h);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: all var(--t-fast) var(--ease);
}
.btn-sm { --bs-btn-padding-y: .25rem; --bs-btn-padding-x: 1rem; --bs-btn-font-size: 14px; min-height: 38px; }
.btn-lg { --bs-btn-padding-y: .7rem; --bs-btn-padding-x: 1.7rem; --bs-btn-font-size: 16px; min-height: 52px; }
.btn-primary {
  --bs-btn-color: #fff; --bs-btn-bg: var(--color-primary-aa); --bs-btn-border-color: var(--color-primary-aa);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--color-primary-aa-hover); --bs-btn-hover-border-color: var(--color-primary-aa-hover);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--color-primary-aa-hover); --bs-btn-active-border-color: var(--color-primary-aa-hover);
}
.btn-white {
  --bs-btn-color: var(--text-title); --bs-btn-bg: var(--bg-surface); --bs-btn-border-color: var(--border);
  /* signature interaction (§3.10): neutral buttons turn accent on hover */
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--color-primary-aa); --bs-btn-hover-border-color: var(--color-primary-aa);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--color-primary-aa-hover); --bs-btn-active-border-color: var(--color-primary-aa-hover);
}
.btn-outline-primary {
  --bs-btn-color: var(--text-accent); --bs-btn-border-color: var(--color-primary);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--color-primary-aa); --bs-btn-hover-border-color: var(--color-primary-aa);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--color-primary-aa-hover); --bs-btn-active-border-color: var(--color-primary-aa-hover);
}
.btn-outline-primary:hover { box-shadow: 0 3px 10px rgba(var(--primary-rgb), .5); }
.btn-on-dark { --bs-btn-color: #fff; --bs-btn-bg: transparent; --bs-btn-border-color: rgba(255,255,255,.35); --bs-btn-hover-color: var(--footer-bg); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff; }
.icon-btn {
  width: var(--control-h); height: var(--control-h); padding: 0; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-title); background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-pill);
  font-size: 18px; cursor: pointer; transition: all var(--t-fast) var(--ease);
}
.icon-btn:hover, .icon-btn[aria-expanded="true"] { color: #fff; background: var(--color-primary-aa); border-color: var(--color-primary-aa); }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }
.link-arrow i { transition: transform var(--t-fast) var(--ease); }
@media (pointer: coarse) { .link-arrow { min-height: var(--control-h); } }   /* text links are ~24px tall — too small a thumb target */
.link-arrow:hover i { transform: translateX(4px); }

/* ── 4. Cards, chips, badges ───────────────────────────────────────────── */
.card {
  --bs-card-bg: var(--bg-surface); --bs-card-border-color: var(--border); --bs-card-border-radius: var(--radius-md);
  --bs-card-spacer-y: 1.25rem; --bs-card-spacer-x: 1.25rem; --bs-card-cap-bg: transparent; --bs-card-color: var(--text-body);
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); margin-bottom: 0;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-base) var(--ease);
}
.card-header, .card-footer { padding: 1rem 1.25rem; background: transparent; border-color: var(--border); }
.card-title { font-size: 18px; font-weight: 700; color: var(--text-title); margin: 0; }
.card-hover:hover { border-color: rgba(var(--primary-rgb), .45); box-shadow: var(--shadow-md); }
.card-wash-primary { background: var(--primary-linear-gradient), var(--bg-surface); }
.card-wash-info    { background: var(--info-linear-gradient), var(--bg-surface); }
.card-wash-success { background: var(--success-linear-gradient), var(--bg-surface); }
.card-wash-warning { background: var(--warning-linear-gradient), var(--bg-surface); }

.chip {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 500; line-height: 1;
}
.chip-lg { width: 48px; height: 48px; font-size: 22px; }
.chip-sm { width: 32px; height: 32px; font-size: 16px; }
.chip-sq { border-radius: var(--radius-sm); }
.chip-primary   { background: var(--color-primary); }
.chip-secondary { background: var(--color-secondary); }
.chip-info      { background: var(--color-info); }
.chip-pink      { background: var(--color-pink); }
.chip-purple    { background: var(--color-purple); }
.chip-success   { background: #027A38; }                       /* white on #03C95A is 2.21:1 → darkened */
.chip-warning   { background: var(--color-warning); color: var(--text-title); }
.chip-skyblue   { background: var(--color-skyblue); color: var(--text-title); }
/* chips carrying text (initials) need 4.5:1 — icon-only chips only need 3:1 */
.chip-sq.chip-primary { background: var(--color-primary-aa); }
.chip-sq.chip-info    { background: var(--chip-info-aa); }
.chip-sq.chip-pink    { background: var(--chip-pink-aa); }
.chip-soft      { background: var(--primary-transparent); color: var(--text-accent-strong); }
.chip-soft-sq   { border-radius: var(--radius); }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: .35rem .8rem; font-size: 13px; font-weight: 600; letter-spacing: .1px; line-height: 1.4;
  border-radius: var(--radius-pill); text-transform: none;
}
.badge-soft-primary   { background: var(--primary-transparent); color: var(--text-accent-strong); }
.badge-secondary-tint { background: var(--tint-secondary-bg); color: var(--tint-secondary-fg); }
.badge-success-tint   { background: var(--tint-success-bg); color: var(--tint-success-fg); }
.badge-info-tint      { background: var(--tint-info-bg); color: var(--tint-info-fg); }
.badge-warning-tint   { background: var(--tint-warning-bg); color: var(--tint-warning-fg); }
.badge-danger-tint    { background: var(--tint-danger-bg); color: var(--tint-danger-fg); }
.badge-purple-tint    { background: var(--tint-purple-bg); color: var(--tint-purple-fg); }
.badge-pink-tint      { background: var(--tint-pink-bg); color: var(--tint-pink-fg); }
.badge-dark-solid     { background: var(--footer-bg); color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.dot-live { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ── 5. Forms, tables, dropdowns, tabs, modal ──────────────────────────── */
.form-label { font-size: 14px; font-weight: 500; color: var(--text-heading); }
.form-control, .form-select {
  height: var(--control-h); padding: .5rem .875rem; font-size: 15px; line-height: 1.6;
  color: var(--text-title); background-color: var(--bg-surface);
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  transition: all var(--t-fast) var(--ease);
}
/* iOS Safari zooms the whole page when a field under 16px gets focus, and leaves it zoomed */
@media (max-width: 991.98px), (pointer: coarse) { .form-control, .form-select { font-size: 16px; } }
.form-control::placeholder { color: var(--text-disabled); }
textarea.form-control { height: auto; min-height: 96px; resize: vertical; }
.form-control:focus, .form-select:focus {
  color: var(--text-title); background-color: var(--bg-surface);
  border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .25); outline: 0;
}
.form-check-input:checked { background-color: var(--color-primary-aa); border-color: var(--color-primary-aa); }
.form-check-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .25); }
.was-validated .form-control:valid, .was-validated .form-control:invalid,
.was-validated textarea.form-control:valid, .was-validated textarea.form-control:invalid { background-image: none; padding-right: .875rem; }
.was-validated .form-select:valid, .was-validated .form-select:invalid { --bs-form-select-bg-icon: none; padding-right: 2.25rem; }
.was-validated .form-control:valid, .was-validated .form-select:valid { border-color: var(--border-strong); }
.was-validated .form-control:invalid, .was-validated .form-select:invalid, .form-control.is-invalid { border-color: var(--color-danger); }
.was-validated .form-check-input:valid { border-color: var(--border-strong); }
.was-validated .form-check-input:valid ~ .form-check-label { color: inherit; }
.was-validated .form-check-input:invalid ~ .form-check-label { color: var(--tint-danger-fg); }
.invalid-feedback { font-size: 12px; color: var(--tint-danger-fg); }

.table {
  --bs-table-bg: transparent; --bs-table-color: var(--text-body); --bs-table-border-color: var(--border-soft);
  --bs-table-hover-bg: var(--primary-transparent); --bs-table-hover-color: var(--text-body);
  margin-bottom: 0; color: var(--text-body);
}
.table > :not(caption) > * > * { padding: 8px 20px; vertical-align: middle; font-size: 14px; background-color: var(--bs-table-bg); }
.table thead th { background: var(--bg-table-head); color: var(--text-title); font-weight: 600; border-color: var(--border-soft); white-space: nowrap; }
.table tbody tr { border-color: var(--border-soft); }
.table-nowrap td { white-space: nowrap; }

.dropdown-menu {
  --bs-dropdown-bg: var(--bg-surface); --bs-dropdown-color: var(--text-title);
  background: var(--bg-surface); color: var(--text-title);
  border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-menu);
  padding: 0; font-size: 15px; margin-top: 0;
}
.dropdown-item { padding: .594rem .9375rem; color: var(--text-title); border-radius: var(--radius-sm); }
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active { color: var(--text-accent-strong); background: var(--primary-transparent); }

.nav-tabs { --bs-nav-tabs-border-width: 0; border-bottom: 1px solid var(--border); }
.nav-tabs .nav-link {
  margin: 0; padding: 12px 16px; color: var(--text-title); font-weight: 500; font-size: 14px;
  background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: all .2s var(--ease);
}
.nav-tabs .nav-link:hover { color: var(--text-accent-strong); background: var(--primary-transparent); }
.nav-tabs .nav-link.active { color: var(--text-accent); background: transparent; border-bottom-color: var(--color-primary); }
.tabs-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
/* edge shadows that show only on the side with more tabs to scroll to (the "local" covers hide them once you reach that end) */
.tabs-scroll {
  --fade: var(--bg-surface);
  background:
    linear-gradient(to right, var(--fade) 30%, transparent) left center / 28px 100% no-repeat local,
    linear-gradient(to left, var(--fade) 30%, transparent) right center / 28px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(37, 35, 93, .16), transparent) left center / 10px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(37, 35, 93, .16), transparent) right center / 10px 100% no-repeat scroll;
}

.modal-content { background: var(--bg-surface); color: var(--text-body); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-menu); }
.modal-header, .modal-footer { border-color: var(--border); }
.modal-title { font-size: 20px; font-weight: 700; color: var(--text-title); }
.modal-x {
  margin-left: auto; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; flex: none;
  color: #fff; background: #6B7280; display: inline-flex; align-items: center; justify-content: center; transition: background var(--t-fast);
}
.modal-x:hover { background: var(--color-danger); }

/* ── 6. Top strip + header + navigation ────────────────────────────────── */
.topstrip { background: var(--topstrip-bg); color: var(--on-dark); font-size: 13px; }
.topstrip .container { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topstrip a { color: var(--on-dark-strong); }
.topstrip a:hover { color: #fff; }
.topstrip .strip-link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; white-space: nowrap; }
.topstrip .strip-award i { color: var(--color-sky); }

.site-header {
  position: sticky; top: 0; z-index: 999; background: var(--bg-surface);
  border-bottom: 1px solid var(--border); transition: box-shadow var(--t-fast) var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.site-header .navbar {
  --bs-navbar-padding-y: 0; --bs-navbar-color: var(--text-nav); --bs-navbar-hover-color: var(--text-accent);
  --bs-navbar-active-color: var(--text-accent); --bs-navbar-toggler-border-color: var(--border);
  min-height: var(--header-h); padding: 0;
}
/* logos: large_logo.svg = header + footer wordmark, small_logo.svg = compact "V" mark, favicon_icon.svg = tab icon */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { display: block; height: 36px; width: auto; }
.brand-icon { display: inline-block; height: 1.25em; width: auto; flex: none; vertical-align: -.25em; margin-right: .5em; }
.navbar-nav .nav-link {
  padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--text-nav);
  border-radius: var(--radius-pill); transition: all var(--t-fast) var(--ease);
  display: inline-flex; align-items: center; gap: 4px;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus, .navbar-nav .nav-link.show { color: var(--text-accent-strong); background: var(--primary-transparent); }
.navbar .dropdown-toggle::after {
  content: "\ea5f"; font-family: "tabler-icons"; border: 0; margin: 0; font-size: 14px; line-height: 1;
  vertical-align: middle; transition: transform var(--t-fast) var(--ease);
}
.navbar .dropdown-toggle.show::after { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* mega menu */
.navbar .dropdown.mega { position: static; }
.mega-menu { left: 0; right: 0; border-left: 0; border-right: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.mega-menu > .container { padding-top: 24px; padding-bottom: 24px; }
.mega-head { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--text-disabled); margin-bottom: 12px; }
.mega-product { display: flex; gap: 12px; align-items: flex-start; }
.mega-product .chip-sm { border-radius: var(--radius); }
.mega-product .mega-title { font-size: 14px; font-weight: 600; color: var(--text-title); margin: 0; }
.mega-product p { font-size: 13px; color: var(--text-muted); margin: 0 0 6px; }
.mega-links { list-style: none; margin: 0; padding: 0; }
.mega-links a {
  display: block; padding: 5px 8px; margin: 0 -8px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-title);
}
.mega-links a:hover { color: var(--text-accent-strong); background: var(--primary-transparent); }
.mega-note { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.dropdown-menu .dropdown-item { display: flex; align-items: center; gap: 8px; }

@media (max-width: 991.98px) {
  /* 100vh is taller than the visible area on phones (the browser toolbars); dvh follows it, so the last menu items stay reachable */
  .navbar-collapse { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; padding-bottom: 16px; }
  .navbar-nav { padding: 8px 0; }
  .navbar-nav .nav-link { min-height: var(--control-h); }
  .mega-menu { border: 0; box-shadow: none; background: var(--bg-subtle); border-radius: var(--radius); }
  .mega-menu > .container { padding: 16px; }
  .mega-head { font-size: 12px; }
  .mega-links a { padding: 10px 8px; }
  .header-actions.is-mobile-cta { display: none; }   /* holds only the desktop demo button; the header already carries "Demo" */
}

/* ── 7. Page sections ──────────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section-band { background: var(--bg-subtle); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head .badge { margin-bottom: 12px; }
.section-title { font-size: 38px; font-weight: 700; line-height: 1.2; letter-spacing: -.5px; }
.lead-copy { font-size: 18px; line-height: 1.6; margin-top: 14px; }
@media (max-width: 767.98px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .lead-copy { font-size: 16px; }
}

/* hero */
.hero { padding: 32px 0 16px; overflow-x: clip; }
.hero-card { border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(var(--primary-rgb), .13) 0%, var(--bg-surface) 58%); padding: 44px 52px; box-shadow: var(--shadow-sm); }
.hero-card .badge { white-space: normal; text-align: left; }
.display-hero { font-size: 48px; line-height: 1.12; font-weight: 800; letter-spacing: -1px; }
.hero-lead { font-size: 18px; line-height: 1.6; max-width: 520px; margin: 20px 0 32px; }
.hero-stats { display: flex; gap: 0; margin-top: 32px; }
.hero-stats > div { padding-right: 24px; margin-right: 24px; border-right: 1px solid var(--border-strong); }
.hero-stats > div:last-child { border: 0; margin: 0; padding: 0; }
.hero-stats .hs-value { display: block; margin: 0 0 2px; font-size: 28px; font-weight: 700; color: var(--text-heading); line-height: 1.3; }
.hero-stats span { font-size: 14px; font-weight: 500; }
@media (max-width: 1399.98px) { .display-hero { font-size: 42px; } }
@media (max-width: 991.98px) { .display-hero { font-size: 36px; } .hero-card { padding: 32px 24px; } }
@media (max-width: 767.98px) { .display-hero { font-size: 30px; } .hero-card { padding: 24px 16px; } .hero-stats > div { padding-right: 16px; margin-right: 16px; } }
@media (max-width: 399.98px) {
  .hero-stats > div { min-width: 0; padding-right: 12px; margin-right: 12px; }
  .hero-stats .hs-value { font-size: 22px; }
  .hero-stats span { font-size: 13px; }
}

/* shared waveform (hero journey, voice agent, smart IVR) */
.wave { display: inline-flex; align-items: center; gap: 2px; height: 22px; }
.wave i { width: 3px; height: 30%; border-radius: 2px; background: var(--color-primary); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: .15s; } .wave i:nth-child(3n) { animation-delay: .3s; } .wave i:nth-child(5n) { animation-delay: .45s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* shared keyframes + check list (used by the Experience Studio) */
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-title); }
.check-list i { color: var(--tint-success-fg); font-size: 18px; margin-top: 1px; }

/* solutions section (#ai-solutions): assets/css/solutions.css */

/* generic feature cards */
.feature-card { display: block; padding: 28px; height: 100%; }
.feature-card h3 { margin: 16px 0 8px; }
.feature-card p { font-size: 15px; }
.kpi-label { font-size: 13px; font-weight: 500; color: var(--text-body); margin: 12px 0 4px; }
.bullet-list { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 8px; }
.bullet-list li { display: flex; gap: 8px; align-items: center; color: var(--text-title); font-weight: 500; }
.bullet-list i { color: var(--text-accent); }

/* stories */
.story { display: flex; flex-direction: column; height: 100%; }
.story .card-body { flex: 1; }
.story .card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

/* impact */
.impact-value { font-size: 46px; font-weight: 700; color: var(--text-heading); line-height: 1.1; margin: 4px 0; font-variant-numeric: tabular-nums; }
@media (max-width: 991.98px) { .impact-value { font-size: 32px; } }
@media (max-width: 767.98px) { .impact-value { font-size: 26px; } }

/* customers */
.customer { flex-direction: row; align-items: center; gap: 14px; padding: 16px 20px; }
.customer h3 { margin: 0; }
.customer small { color: var(--text-muted); font-size: 12px; }
.play-btn { margin-left: auto; }

/* recognition */
.award-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.award-row:last-child { border: 0; padding-bottom: 0; }
.award-row h3 { margin: 0; }
.award-row small { color: var(--text-muted); }

/* CTA */
.cta-card { align-items: center; padding: 64px 32px; text-align: center; border-radius: var(--radius-lg); }
.contact-tile { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; text-align: left; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); }
.contact-tile small { display: block; font-size: 12px; color: var(--text-muted); }
.contact-tile a { font-weight: 600; color: var(--text-title); }
.contact-tile a:hover { color: var(--text-accent); }

/* footer */
.site-footer { background: var(--footer-bg); color: var(--on-dark); padding: 72px 0 0; }
/* the wordmark is navy, so on the dark footer it sits on a white tile instead of being recoloured */
.site-footer .brand-on-dark { padding: 10px 14px; background: #fff; border-radius: var(--radius); }
.site-footer .footer-h { color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); font-size: 15px; }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 8px; margin-top: 20px; }
.social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: var(--on-dark-strong); font-size: 18px; transition: all var(--t-fast); }
.social a:hover { color: #fff; background: var(--color-primary-aa); border-color: var(--color-primary-aa); }
.footer-bottom { margin-top: 48px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { font-size: 14px; }
.footer-bottom .copyright { display: inline-flex; align-items: center; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* floating bits */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 1050; max-width: 420px;
  display: none; align-items: center; gap: 16px; padding: 14px 16px;
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-menu);
}
.cookie.show { display: flex; }
.cookie p { margin: 0; font-size: 14px; }
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 1040; opacity: 0; visibility: hidden; transform: translateY(8px); box-shadow: var(--shadow-md); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.play-poster { aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; border-radius: var(--radius-md); background: var(--primary-linear-gradient), var(--bg-surface); border: 1px solid var(--border); padding: 24px; }
.play-poster iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); }

/* scroll reveal — content stays visible if JS is off (.js is added in <head>) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (pointer: coarse) {
  .site-footer ul { gap: 0; }
  .site-footer ul a, .footer-bottom a, .contact-tile a { display: inline-block; padding: 10px 0; }
}

@media (max-width: 575.98px) {
  /* one compact row, so the notice does not cover a fifth of the first screen */
  .cookie { left: 8px; right: 8px; bottom: 8px; max-width: none; gap: 12px; padding: 10px 12px; }
  .cookie p { font-size: 13px; line-height: 1.4; }
  .cookie .btn { flex: none; }
  .footer-bottom { flex-direction: column; }
}

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