/* ==========================================================================
   360° Feedback Reviews – 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-350: #8a9099;
  --slate-200: #c8d2dc;
  --mist: #dce3ea;
  --surface-100: #f5f7f9;
  --white: #fff;

  /* 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, iframe { 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: 1100px; }

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

/* 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; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 1.25rem; }

.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--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-teal { background: transparent; color: var(--white); border-color: var(--teal-500); }
.btn--outline-teal:hover { background: var(--teal-500); color: var(--white); }

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

/* 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); }
.lead--strong { font-family: var(--font-display); font-weight: 600; color: var(--color-ink); }

/* Dark photographic background (hero, reports, pricing) */
.bg-photo {
  --overlay: rgb(31 42 54 / 0.86);
  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;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.card h3 { font-size: 1.125rem; }
.card p { font-size: var(--fs-small); line-height: 1.55; }

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

/* Bulleted list with teal dots */
.dot-list { 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);
}
.dot-list--compact li { padding: 0.375rem 0 0.375rem 1.25rem; border: 0; font-size: var(--fs-body); }
.dot-list--compact li::before { top: 0.9rem; width: 8px; height: 8px; }

/* Bordered image */
.framed-img {
  width: 100%;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

/* 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__inner > .stack { max-width: 700px; }
.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: 580px; font-size: var(--fs-lead); }
.hero .btn-row { margin-top: 0.5rem; }

/* Client logos */
.logos { display: flex; flex-direction: column; align-items: center; gap: 1.75rem; padding-top: 4.5rem; }
.logos__title {
  color: var(--slate-350);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-align: center;
  text-transform: uppercase;
}
.logos__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem clamp(0.75rem, 2.5vw, 2.5rem);
  width: 100%;
}
.logos__list li { flex: 1 1 0; min-width: 96px; display: flex; justify-content: center; }
.logos__list img { width: auto; max-width: 170px; height: 72px; object-fit: contain; }
@media (max-width: 640px) {
  .logos__list { justify-content: center; }
  .logos__list li { flex: 0 0 calc(33.333% - 1rem); }
  .logos__list img { height: 56px; }
}

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

/* Demo video with chapters */
.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-900);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.chapters {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  /* Match the list height to the 16:9 player beside it */
  max-height: calc((min(var(--container), 100vw) - 2 * var(--gutter) - 1.5rem) * 0.75 * 0.5625);
  overflow-y: auto;
  padding-right: 0.25rem;
}
.chapters__title { margin-bottom: 0.5rem; font-size: var(--fs-body); }
.chapter {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 0.875rem;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 12px;
  color: var(--navy-900);
  text-decoration: none;
}
.chapter:hover { border-color: var(--color-border); color: var(--navy-900); }
.chapter[aria-current="true"] { background: var(--teal-tint); border-color: var(--teal-500); }
.chapter__time {
  flex: 0 0 3.25rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-700);
}
.chapter__time::before { content: "\25B6"; margin-right: 0.375rem; font-size: 0.5625rem; vertical-align: 0.1em; }
.chapter__label { font-family: var(--font-display); font-size: var(--fs-caption); font-weight: 600; line-height: 1.35; }

@media (max-width: 900px) {
  .video-layout { grid-template-columns: minmax(0, 1fr); }
  .chapters { max-height: none; }
}

/* Reports panel */
.feature-panel {
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-panel__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 2.5rem 4rem;
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3.5rem);
}
.feature-panel__title {
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--lime-400) !important;
}
.feature-panel p { font-size: 1.0625rem; line-height: 1.65; }
.feature-panel__media { display: flex; flex-direction: column; align-items: flex-end; gap: 1.75rem; }
.report-thumb {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgb(0 0 0 / 0.3);
  transition: box-shadow 0.2s;
}
.report-thumb:hover { box-shadow: 0 0 0 3px var(--teal-500), 0 20px 40px rgb(0 0 0 / 0.3); }
.report-thumb img { width: 100%; border-radius: 8px; }

/* Evaluation banner */
.cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 3.5rem;
  padding: clamp(1.75rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3.5rem);
  background: var(--teal-tint);
  border-radius: var(--radius);
}
.cta-banner__body { flex: 1 1 420px; max-width: 640px; }
.cta-banner__body h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.25; }
.cta-banner__body p:not(.badge) { color: var(--color-ink); }
.cta-banner__body .btn { margin-top: 0.875rem; }
.cta-banner__media { flex: 0 1 420px; margin-left: auto; }
.cta-banner__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-card); }

/* Webinar */
.video-frame--wide { box-shadow: var(--shadow-card); }

/* Advantages 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); }

/* Licensing & pricing */
.plan {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--white);
  border-radius: var(--radius);
  color: var(--color-text);
}
.plan__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--teal-700); }
.bg-photo .plan h3 { font-size: 1.5rem; color: var(--navy-900); }
.check-list li {
  display: flex;
  gap: 0.875rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-ink);
  line-height: 1.5;
}
.check-list li::before { content: "\2713"; flex-shrink: 0; color: var(--teal-500); font-weight: 700; }
.plan__link {
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-card {
  margin-top: 2.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
  border-radius: 25px;
  color: var(--color-text);
}
.bg-photo .form-card h3 { color: var(--navy-900); margin-bottom: 1rem; }

/* FAQ */
.faq-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.faq-tab {
  padding: 0.625rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--navy-800);
  font-size: var(--fs-caption);
  font-weight: 700;
}
.faq-tab:hover { border-color: var(--navy-900); }
.faq-tab[aria-selected="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.faq-tabs:not(.is-ready) { display: none; } /* tabs only appear once JS can drive them */

.faq-group + .faq-group { margin-top: 2.5rem; }
.faq-tabs.is-ready ~ .faq-group { margin-top: 0; }
.faq-group__title { margin-bottom: 1rem; font-size: 1.375rem; }
.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.375rem 1.75rem;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h4 { font-size: 1.125rem; }
.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__answer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 820px;
  padding: 0 1.75rem 1.625rem;
  line-height: 1.65;
}

/* Testimonials */
.quote {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.quote::before {
  content: "\201C";
  height: 1.5rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.9;
  color: var(--teal-500);
}
.quote blockquote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--navy-800);
}

/* Contact */
.contact-email { font-weight: 700; margin-top: 0.5rem; }
.form-panel {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* 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--narrow { width: min(560px, calc(100% - 3rem)); padding: 2.5rem; gap: 1.25rem; 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__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; }
.hs-form-target--tall { min-height: 420px; }

/* 8. Utilities ------------------------------------------------------------ */
.mt-10 { margin-top: 2.5rem; }

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