/* ==========================================================================
   Team 360° Review – Omnicor
   1. Fonts   2. Tokens   3. Base   4. Layout   5. Components   6. Sections
   7. Dialogs   8. Utilities
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }
/* Open Sans ships as one variable file covering 400–700 */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/open-sans-variable.woff2") format("woff2"); }

/* 2. Tokens --------------------------------------------------------------- */
:root {
  /* palette */
  --teal-500: #01acc8;
  --teal-700: #00879c;
  --teal-tint: #e5f6fa;
  --lime-400: #a3d55d;
  --navy-900: #1f2a36;
  --navy-800: #2f3d4c;
  --slate-600: #5c6b78;
  --slate-500: #6f7e8c;
  --slate-400: #8a98a6;
  --slate-200: #c8d2dc;
  --mist: #dce3ea;
  --surface-100: #f5f7f9;
  --white: #fff;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5a;

  /* semantic */
  --color-text: var(--slate-600);
  --color-heading: var(--navy-900);
  --color-ink: var(--navy-800);
  --color-border: var(--slate-200);
  --color-on-dark: var(--mist);
  --gradient-brand: linear-gradient(90deg, var(--teal-500) 0%, var(--lime-400) 100%);
  --shadow-card: 0 4px 20px rgb(31 42 54 / 0.08);
  --shadow-card-hover: 0 10px 30px rgb(31 42 54 / 0.12);
  --shadow-float: 0 10px 30px rgb(31 42 54 / 0.3);

  /* type */
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --fs-caption: 0.875rem;  /* 14 */
  --fs-small: 0.9375rem;   /* 15 */
  --fs-body: 1rem;         /* 16 */
  --fs-lead: 1.125rem;     /* 18 */
  --fs-h4: 1.25rem;        /* 20 */
  --fs-h3: clamp(1.25rem, 1.8vw, 1.5rem);
  --fs-h2: clamp(1.875rem, 3.6vw, 2.5rem);
  --fs-h1: clamp(2.5rem, 6vw, 4.25rem);
  --tracking-caps: 0.08em;

  /* space & shape */
  --gutter: 2rem;
  --section-y: clamp(4rem, 9vw, 7rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-pill: 999px;
  --container: 1240px;
  --header-h: 72px;
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-heading);
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); line-height: 1.15; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
ul[class], ol[class] { padding: 0; list-style: none; }

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

a { color: var(--teal-700); }
a:hover { color: var(--navy-900); }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 4. Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 1000px; }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-100); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 760px;
  margin-bottom: 3rem;
}
.section-head--wide { max-width: 820px; }
.section-head--row {
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.section-head--row > .stack { max-width: 760px; }

/* Two columns that collapse on narrow screens */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.split--top { align-items: start; }
.split--stretch { align-items: stretch; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid--fits { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.grid--testimonials { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); align-items: stretch; }

.stack { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.stack--sm { gap: 0.625rem; }
.stack--lg { gap: 1.75rem; }

/* 5. Components ----------------------------------------------------------- */

/* Skip link & screen-reader text */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.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;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 2rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.8125rem; }

.btn--primary { background: var(--teal-500); color: var(--white); }
.btn--primary:hover { background: var(--teal-700); color: var(--white); }

.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--teal-700); color: var(--white); }

.btn--outline-light { background: transparent; color: var(--white); border-color: rgb(255 255 255 / 0.6); }
.btn--outline-light:hover { background: rgb(255 255 255 / 0.08); border-color: var(--white); color: var(--white); }

.btn--outline-dark { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn--outline-dark:hover { background: var(--navy-900); color: var(--white); }

.btn--outline-teal { background: transparent; color: var(--white); border-color: var(--teal-500); }
.btn--outline-teal:hover { background: var(--teal-500); color: var(--white); }

.btn--whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); color: var(--white); }
.btn--whatsapp:hover { background: var(--whatsapp-dark); border-color: var(--whatsapp-dark); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.btn-row--center { gap: 1.25rem; }

/* Badges, eyebrows, kickers */
.badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-caption);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}
.badge--gradient { background: var(--gradient-brand); color: var(--white); }
.badge--tint { background: var(--teal-tint); color: var(--teal-700); }
.badge--dark { background: rgb(255 255 255 / 0.1); color: var(--white); border: 1px solid rgb(255 255 255 / 0.25); }

.eyebrow,
.kicker {
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  line-height: 1.3;
}
.eyebrow { color: var(--slate-600); }
.kicker { color: var(--lime-400); font-size: var(--fs-caption); }

.lead { font-size: var(--fs-lead); }
.muted { color: var(--slate-500); font-size: var(--fs-caption); }

/* Dark photographic background (hero, CTA panels) */
.bg-photo {
  --overlay: rgb(31 42 54 / 0.84);
  position: relative;
  background:
    linear-gradient(var(--overlay), var(--overlay)),
    var(--navy-900) url("../img/network-background.jpg") center / cover no-repeat;
  color: var(--color-on-dark);
}
.bg-photo--heavy { --overlay: rgb(31 42 54 / 0.88); }
.bg-photo h1, .bg-photo h2, .bg-photo h3, .on-dark { color: var(--white); }

/* Cards */
.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.card h3 { font-size: 1.3125rem; }
.card--dark { background: var(--navy-900); color: var(--color-on-dark); box-shadow: none; }
.card--dark h3 { color: var(--white); }
.card--tint { background: var(--teal-tint); box-shadow: none; justify-content: center; }
.card--outline { background: transparent; border: 2px solid var(--teal-500); box-shadow: none; }
.card--tint, .card--outline { padding: 2.25rem; }
.card--tint h4, .card--outline h4 { font-size: 1.375rem; }

.num-circle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: 2px solid var(--teal-500);
  border-radius: 50%;
  color: var(--teal-500);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}
.num-circle--filled { background: var(--teal-500); color: var(--white); border: 0; }

.photo-card {
  border-radius: var(--radius);
  overflow: hidden;
}
.photo-card__body {
  height: 100%;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
}
.photo-card__body--center { justify-content: center; }
.photo-card__body p { font-size: var(--fs-lead); }
.photo-card__body .kicker { font-size: var(--fs-caption); }
.photo-card__body .photo-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
  line-height: 1.15;
  color: var(--white);
}
.photo-card__img { margin-top: auto; align-self: center; width: 100%; max-width: 420px; }

/* Bulleted list with teal dots */
.dot-list { margin-top: 0.5rem; width: 100%; }
.dot-list li {
  position: relative;
  padding: 1rem 0 1rem 1.625rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-ink);
  font-size: 1.0625rem;
  line-height: 1.55;
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal-500);
}

/* Definition list separated by rules */
.rule-list > div {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 1.125rem 0;
  border-top: 1px solid var(--color-border);
}
.rule-list dt { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--teal-700); }

.pill-note {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem 0.75rem 0.75rem;
  background: var(--teal-tint);
  border-radius: var(--radius-pill);
  color: var(--navy-900);
  font-weight: 700;
}
.pill-note__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-500);
  color: var(--white);
}
.pill-note__icon svg { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* 6. Sections ------------------------------------------------------------- */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: var(--header-h);
  padding-block: 0.875rem;
}
.site-header__logo img { height: 40px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 1rem 1.75rem; }
.site-nav__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem clamp(0.875rem, 2vw, 1.75rem); }
.site-nav__list a {
  color: var(--navy-800);
  font-size: clamp(0.8125rem, 1.3vw, 0.9375rem);
  font-weight: 600;
  text-decoration: none;
}
.site-nav__list a:hover { color: var(--teal-500); }

.nav-toggle { display: none; }

/* Collapsible menu (only when JS is available to open it) */
@media (max-width: 960px) {
  .js .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
  }
  .nav-toggle__bar,
  .nav-toggle__bar::before,
  .nav-toggle__bar::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy-900);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }
  .nav-toggle__bar { position: relative; }
  .nav-toggle__bar::before,
  .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bar::before { top: -6px; }
  .nav-toggle__bar::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

  .js .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav__list a { display: block; padding: 0.75rem 0; font-size: 1rem; border-bottom: 1px solid var(--surface-100); }
}

/* Hero */
.hero { --overlay: transparent; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(31 42 54 / 0.92) 0%, rgb(31 42 54 / 0.6) 100%);
}
@media (min-width: 1024px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero { background-attachment: fixed; }
}
.hero__inner {
  position: relative;
  padding-block: clamp(4.5rem, 10vw, 7rem) clamp(4rem, 9vw, 6.5rem);
}
.hero__title { font-size: var(--fs-h1); font-weight: 700; line-height: 1.05; }
.hero__subtitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  line-height: 1.3;
  color: var(--lime-400);
}
.hero__lead { max-width: 560px; font-size: var(--fs-lead); }
.hero .btn-row { margin-top: 0.5rem; }
.hero__graphic { justify-self: center; width: 70%; max-width: 392px; }

/* "What it is" comparison diagrams */
.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1rem;
  width: 100%;
  margin-top: 0.75rem;
}
.compare__card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.5rem;
  background: var(--surface-100);
  border-radius: var(--radius);
}
.compare__card--dark { background: var(--navy-900); }
.compare__head { display: flex; flex-direction: column; gap: 0.25rem; }
.compare__label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate-500); }
.compare__title { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--navy-900); }
.compare__caption { font-size: var(--fs-caption); }
.compare__card--dark .compare__label { color: var(--lime-400); }
.compare__card--dark .compare__title { color: var(--white); }
.compare__card--dark .compare__caption { color: var(--color-on-dark); }

.diagram { width: 100%; height: auto; text-rendering: geometricPrecision; }
.diagram__label { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; fill: var(--navy-800); text-anchor: middle; }
.diagram__label--strong { font-weight: 700; fill: var(--navy-900); }
.diagram--dark .diagram__label { fill: var(--mist); }
.diagram--dark .diagram__label--strong { fill: var(--white); }
.diagram__note { font-family: var(--font-body); font-size: 11px; font-weight: 700; fill: var(--lime-400); }

.prose { display: flex; flex-direction: column; gap: 1.25rem; padding-top: 2.5rem; font-size: var(--fs-lead); line-height: 1.65; }
.answer strong { color: var(--color-ink); font-weight: 600; }

/* Health-check banner */
.cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--teal-tint);
  border-radius: var(--radius);
}
.cta-banner > .stack { max-width: 680px; }
.cta-banner h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.25; }
.cta-banner p:not(.badge) { color: var(--color-ink); font-size: 1.0625rem; }

/* Process steps */
.step__num { display: flex; align-items: center; gap: 0.875rem; width: 100%; }
.step__num::after { content: ""; flex: 1; height: 2px; background: var(--color-border); }
.step__num .num-circle { font-size: 1.25rem; }
.step h3 { font-size: 1.5rem; }

/* Quadrants */
.quadrants {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
}
.quadrants__axis {
  padding: 0.5rem;
  color: var(--navy-800);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-align: center;
  text-transform: uppercase;
}
.quadrants__axis--x:first-child { grid-column: 2; }
.quadrants__axis--y { writing-mode: vertical-rl; transform: rotate(180deg); }

.quadrant {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-height: 190px;
  padding: 2rem;
  border-radius: var(--radius);
  color: var(--color-ink);
  line-height: 1.55;
}
.quadrant h3 { font-size: 1.5rem; }
.quadrant--teal { background: var(--teal-500); color: var(--white); }
.quadrant--teal h3 { color: var(--white); }
.quadrant--tint { background: var(--teal-tint); }
.quadrant--dark { background: var(--navy-900); color: var(--color-on-dark); }
.quadrant--dark h3 { color: var(--white); }
.quadrant--grey { background: var(--surface-100); }

@media (max-width: 640px) {
  .quadrants { gap: 0.5rem; }
  .quadrants__axis { font-size: 0.6875rem; padding: 0.25rem; }
  .quadrant { min-height: 0; padding: 1.125rem; font-size: var(--fs-caption); }
  .quadrant h3 { font-size: 1.0625rem; }
}

/* Sample report panel */
.panel {
  align-self: start;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface-100);
  border-radius: var(--radius);
}
.panel__img { width: 100%; border-radius: 12px; background: var(--white); box-shadow: var(--shadow-card); }
.figure-img { width: 100%; max-width: 560px; margin-top: 1rem; border-radius: 12px; }
.panel h3 { font-size: 1.5rem; }

/* Dashboard launcher */
.dash-launch {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.dash-launch:hover { box-shadow: var(--shadow-card-hover); }
.dash-launch__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
}
.dash-launch__body > .stack { max-width: 640px; }
.dash-launch__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.2;
  color: var(--white);
}
.dash-launch:hover .btn--primary { background: var(--teal-700); }

/* Case study */
.case {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.case__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--surface-100);
}
.case__media img { width: 100%; max-width: 520px; mix-blend-mode: multiply; }
.case__body { justify-content: center; padding: clamp(1.75rem, 5vw, 3rem); gap: 1.125rem; line-height: 1.7; }
.h2--sm { font-size: clamp(1.625rem, 3vw, 2.125rem); line-height: 1.2; }
.h2--lg { font-size: clamp(1.875rem, 3.8vw, 2.75rem); line-height: 1.12; }

/* Why Omnicor */
.stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 0.75rem; }
.stats > div { display: flex; flex-direction: column-reverse; gap: 0.5rem; }
.stats dd {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--teal-500);
}
.stats dt { font-size: var(--fs-lead); color: var(--color-ink); }

.table-card { overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.benefits { width: 100%; border-collapse: collapse; text-align: left; }
.benefits thead th {
  padding: 1.125rem 2rem;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.benefits tbody th,
.benefits td { padding: 1.5rem 2rem; border-top: 1px solid var(--color-border); vertical-align: top; }
.benefits tbody th {
  width: 45%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.35;
  color: var(--navy-900);
}
.benefits td { font-size: var(--fs-small); }
@media (max-width: 560px) {
  .benefits thead { display: none; }
  .benefits tr, .benefits tbody th, .benefits td { display: block; width: auto; }
  .benefits tbody th { padding: 1.25rem 1.5rem 0.25rem; }
  .benefits td { padding: 0 1.5rem 1.25rem; border-top: 0; }
}

/* Features grid (1px hairlines between cells) */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2.25rem 2rem;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--color-border);
}
.feature img { width: 56px; height: 56px; object-fit: contain; }
.feature h3 { font-size: var(--fs-h4); }

/* Where it fits */
.glass-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  line-height: 1.55;
}
.glass-card h3 { font-size: 1.125rem; }

/* Testimonials */
.quotes { display: flex; flex-direction: column; gap: 1.25rem; }
.quote {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.quote__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border: 2px solid var(--teal-500);
  border-radius: 50%;
  color: var(--teal-500);
}
.quote__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.quote__tag { font-size: 0.75rem; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--teal-700); }
.quote blockquote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.125rem, 1.8vw, 1.3125rem);
  line-height: 1.45;
  color: var(--navy-800);
}
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
@media (max-width: 480px) {
  .quote { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
}

/* FAQ accordion (native <details>) */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq__item { overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: 1.1875rem; }
.faq__item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 2px solid var(--teal-500);
  border-radius: 50%;
  color: var(--teal-500);
  font-size: 1.25rem;
  line-height: 1;
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__item > p { max-width: 780px; padding: 0 1.75rem 1.625rem; line-height: 1.65; }

/* Contact */
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.contact-email:hover { color: var(--lime-400); }
.contact-email svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--slate-400); font-size: var(--fs-small); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--slate-400); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 2.5rem;
  padding-block: 4.5rem 2.5rem;
}
.site-footer__grid ul { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__logo { display: flex; padding: 0.625rem 0.875rem; background: var(--white); border-radius: 12px; }
.site-footer__logo img { height: 36px; width: auto; }
.site-footer__tagline { color: var(--color-on-dark); }
.site-footer .site-footer__email { color: var(--white); font-weight: 700; }
.site-footer .site-footer__email:hover { color: var(--teal-500); }
.site-footer .btn--outline-teal { color: var(--white); }
.site-footer__heading { margin-bottom: 1rem; font-size: 1rem; color: var(--white); }
.site-footer__bottom { border-top: 1px solid rgb(255 255 255 / 0.12); font-size: var(--fs-caption); }
.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.5rem;
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* 7. Dialogs -------------------------------------------------------------- */
.modal {
  width: min(640px, calc(100% - 3rem));
  max-height: calc(100% - 3rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--color-text);
  overflow: hidden;
}
.modal[open] { display: flex; flex-direction: column; }
.modal::backdrop { background: rgb(31 42 54 / 0.7); }
.modal--wide { width: min(1000px, calc(100% - 3rem)); height: min(780px, calc(100% - 3rem)); }
.modal--xwide { width: min(1280px, calc(100% - 3rem)); height: min(860px, calc(100% - 3rem)); }
.modal--narrow { width: min(480px, calc(100% - 3rem)); padding: 2.5rem; overflow-y: auto; }

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}
.modal__title { font-size: 1.0625rem; }
.modal__title--lg { font-size: 1.5rem; }
.modal__actions { display: flex; align-items: center; gap: 1rem; }
.modal__link { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.modal__body { padding: 1.75rem 2rem; overflow-y: auto; }
.modal__frame { flex: 1; width: 100%; min-width: 0; border: 0; }

.modal__close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--navy-800);
  font-size: 1.125rem;
  line-height: 1;
}
.modal__close:hover { background: var(--surface-100); }
.modal__close--corner { position: absolute; top: 1rem; right: 1rem; }

.hs-form-target { min-height: 360px; }

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  color: var(--navy-800);
  font-size: var(--fs-caption);
  font-weight: 600;
}
.field input {
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
  font-weight: 400;
}
.field input:focus-visible { outline-offset: 0; border-color: var(--teal-500); }

/* 8. Utilities ------------------------------------------------------------ */
.measure-wide { max-width: 820px; font-size: 1.0625rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-18 { margin-top: clamp(3rem, 7vw, 4.5rem); }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.h4 { font-size: 1.375rem; }

@media (max-width: 480px) {
  :root { --gutter: 1.25rem; }
  .btn { white-space: normal; }
}
