/* IDS shared theme */
:root {
  --bg: #f3f0e8;
  --ink: #0c0d0e;
  --paper: #faf9f5;
  --blue: #274cff;
  --acid: #b7cc16;
  --muted: #676a6f; /* 4.5:1+ on --bg and --paper (WCAG AA) */
  --line: #d8d6cf;
  --dark: #111315;

  /* Responsive heading scale */
  --h1: clamp(42px, 7.5vw, 140px);
  --h1-mobile: 42px;
  --h2: clamp(36px, 5vw, 88px);
  --h3: clamp(30px, 3.5vw, 56px);
  --h4: clamp(26px, 2.8vw, 40px);
  --h5: clamp(21px, 2.2vw, 30px);
  --h6: clamp(18px, 1.8vw, 22px);

  --heading-font: "Archivo Black", "Arial Black", sans-serif;
  --body-font: "Inter", Arial, sans-serif;
}
/* phones/tablets: larger minimums so headings keep their weight (desktop unchanged) */
@media (max-width: 991.98px) {
  :root {
    --h2: clamp(40px, 5vw, 88px);
    --h3: clamp(34px, 3.5vw, 56px);
  }
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: var(--heading-font);
  line-height: 1;
}
/* large headings: same tight setting as the page hero */
h1,
.h1,
h2,
.h2,
h3,
.h3 {
  line-height: 0.82;
  letter-spacing: -0.055em;
}

h1,
.h1 {
  font-size: var(--h1);
}
h2,
.h2 {
  font-size: var(--h2);
}
h3,
.h3 {
  font-size: var(--h3);
}
h4,
.h4 {
  font-size: var(--h4);
}
h5,
.h5 {
  font-size: var(--h5);
}
h6,
.h6 {
  font-size: var(--h6);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body-font);
  overflow-x: hidden;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}

/* buttons */
.btn {
  --bs-btn-padding-x: 22px;
  --bs-btn-padding-y: 0;
  --bs-btn-line-height: 1.2;
  --bs-btn-border-width: 1px;
  --bs-btn-border-radius: 999px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-dark {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ink);
  --bs-btn-border-color: var(--ink);
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: var(--ink);
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-bg: transparent;
  --bs-btn-active-border-color: var(--ink);
}
.btn-outline-dark {
  --bs-btn-color: var(--ink);
  --bs-btn-border-color: var(--ink);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ink);
  --bs-btn-hover-border-color: var(--ink);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--ink);
  --bs-btn-active-border-color: var(--ink);
}
.btn-light {
  --bs-btn-color: var(--ink);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: transparent;
  --bs-btn-active-border-color: #fff;
}
.btn-outline-light {
  --bs-btn-color: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--ink);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: var(--ink);
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: #fff;
}
/* Match .wrap to Bootstrap container */
.wrap {
  width: 100%;
  padding-inline: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  margin-inline: auto;
}

@media (min-width: 576px) {
  .wrap {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .wrap {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .wrap {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .wrap {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .wrap {
    max-width: 1320px;
  }
}

/* Wider layout for large desktops */
@media (min-width: 1600px) {
  .container,
  .wrap {
    max-width: 1550px;
  }
}

/* colors */
.text-blue {
  color: var(--blue);
}
.img-invert {
  filter: invert(1) brightness(2) grayscale(1);
}

/* Typography — Letter Spacing */
.tracking-sm {
  letter-spacing: 0.02em !important;
}
.tracking-md {
  letter-spacing: 0.05em !important;
}
.tracking-lg {
  letter-spacing: 0.1em !important;
}
.tracking-xl {
  letter-spacing: 0.2em !important;
}
.tracking-tight {
  letter-spacing: -0.05em !important;
}

.fs-7 {
  font-size: 0.75rem !important; /* 12px */
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* header */
/* reserve the header's height while layout.js loads partials/header.html */
[data-include$="header.html"] {
  min-height: 89px;
}
.ids-site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(243, 240, 232, 0.96);
  backdrop-filter: blur(16px);
}
.ids-site-nav {
  margin: auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* nav brand */
.ids-site-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.ids-site-brand img,
.ids-site-brand .ids-logo {
  display: block;
  height: 36px;
  width: auto;
}
/* logo letters follow the background behind them (theme.js sets .header-on-dark); the dot stays green */
.ids-logo {
  color: var(--ink, #0c0d0e);
  transition: color 0.3s;
}
.ids-site-header.header-on-dark .ids-logo {
  color: #fff;
}

.ids-nav-items {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.ids-nav-link,
.ids-drop-toggle {
  color: var(--ink, #0c0d0e);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 12px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.ids-nav-link:hover,
.ids-drop-toggle:hover,
.ids-nav-link.active,
.ids-drop-toggle.active {
  color: var(--blue, #274cff);
}
.ids-dropdown {
  position: relative;
}
.ids-drop-toggle:after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 3px;
}
.ids-drop-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: -18px;
  min-width: 270px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}
.ids-dropdown:hover .ids-drop-menu,
.ids-dropdown.open .ids-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.ids-drop-menu a {
  display: block;
  padding: 12px 13px;
  border-radius: 10px;
  color: #0c0d0e;
  text-decoration: none;
  line-height: 1.25;
}
.ids-drop-menu a:hover,
.ids-drop-menu a.active {
  background: #f2f3f6;
  color: #274cff;
}

/* morph dropdown (desktop, enabled by theme.js) */
.has-morph {
  position: relative;
}
.ids-morph-bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 16px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease;
}
.ids-morph-bg.visible {
  opacity: 1;
}
.ids-morph-bg.no-move {
  transition: opacity 0.2s ease;
}
/* menu is clipped to the morphing background; links do the sliding */
.has-morph .ids-drop-menu,
.has-morph .ids-dropdown:hover .ids-drop-menu {
  z-index: 1;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: none;
  clip-path: inset(0 round 16px);
  transition:
    opacity 0.25s ease,
    clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.25s;
}
.has-morph .ids-drop-menu a {
  transform: translate(calc(var(--dx, 0) * 28px), calc(var(--dy, 1) * 8px));
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.has-morph .ids-dropdown.is-active .ids-drop-menu {
  opacity: 1;
  visibility: visible;
}
.has-morph .ids-dropdown.is-active .ids-drop-menu a {
  transform: none;
}
.has-morph .ids-drop-menu.no-anim,
.has-morph .ids-drop-menu.no-anim a {
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .ids-morph-bg,
  .has-morph .ids-drop-menu {
    transition: opacity 0.15s ease;
  }
  .has-morph .ids-drop-menu a {
    transition: none;
  }
}
/* Transparent header — enable with header.classList.add("header-transparent"); theme.js toggles .is-scrolled */
.ids-site-header.header-transparent {
  transition:
    background-color 0.3s,
    backdrop-filter 0.3s;
}
.ids-site-header.header-transparent:not(.is-scrolled, .ids-mobile-open) {
  background: transparent;
  backdrop-filter: none;
}
.ids-site-header.header-transparent:not(.is-scrolled, .ids-mobile-open) .ids-mobile-toggle span,
.ids-site-header.header-transparent:not(.is-scrolled, .ids-mobile-open) .ids-mobile-toggle::before,
.ids-site-header.header-transparent:not(.is-scrolled, .ids-mobile-open) .ids-mobile-toggle::after {
  background: #fff;
}
@media (min-width: 1121px) {
  .ids-site-header.header-transparent:not(.is-scrolled) :is(.ids-nav-link, .ids-drop-toggle) {
    color: #fff;
  }
  .ids-site-header.header-transparent:not(.is-scrolled) .ids-nav-items > .btn-dark {
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-color: var(--ink);
    --bs-btn-hover-bg: rgba(255, 255, 255, 0.85);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-hover-color: var(--ink);
  }
}
/* pull the page's first section up under the header */
body:has(.ids-site-header.header-transparent) main > :first-child {
  margin-top: -88px;
  padding-top: 88px;
}

/* Mobile navigation (1120px and below) lives in css/mobile-menu.css */
@media (max-width: 650px) {
  .ids-site-brand img {
    height: 28px;
  }
}

/* footer */
.site-footer {
  padding-top: 72px;
  background: var(--dark);
  color: #fff;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: var(--acid);
}
.site-footer .footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--heading-font);
  font-size: clamp(24px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  color: #fff;
}
.site-footer .footer-mail:hover {
  color: var(--acid);
}
.footer-mail i {
  font-size: 0.55em;
  color: var(--acid);
  transition: transform 0.2s ease;
}
.footer-mail:hover i {
  transform: translateX(8px);
}
.footer-tagline {
  margin: 20px 0 48px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-heading {
  margin: 0 0 16px;
  font-size: 0.875em;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.5;
}
/* large logo at the bottom of the footer */
.footer-wordmark {
  display: inline-block;
  margin: 48px 0 40px;
}
.footer-wordmark img {
  display: block;
  height: clamp(64px, 12vw, 180px);
  width: auto;
}
.footer-reveal {
  background: var(--dark);
}
.footer-reveal main {
  position: relative;
  z-index: 1;
  background: var(--bg);
  overflow: clip;
}
.footer-reveal .site-footer {
  position: sticky;
  bottom: 0;
}
@media (max-width: 650px) {
  .wrap {
    width: min(100% - 40px, 1260px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* page hero */
.hero {
  padding: 80px 0 34px;
}
@media (max-width: 992px) {
  .hero {
    padding: 40px 0 20px;
  }
}
.hero-copy {
  max-width: 1280px;
  margin: 0 auto;
  container-type: inline-size;
}
/* kicker: small blue label above a heading */
.kicker {
  font-size: 12px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 22px;
}
.hero h1 {
  line-height: 0.82;
  letter-spacing: -0.055em;
  margin: 0;
  text-transform: uppercase;
}
.hero h1 span {
  display: block;
}
/* even line breaks (no single word left on its own line) */
.hero h1,
.hero h1 span {
  text-wrap: balance;
}
/* inner-page heroes: sized from the text column, not the screen, so each line
   keeps its width as .wrap steps between breakpoints (~24 characters per line) */
.hero h1.h2 {
  font-size: clamp(30px, 5.5cqi, 76px);
  /* lines longer than ~16em (e.g. "BUILD STRONGER RELATIONSHIPS.") wrap into two even lines */
  max-width: 16em;
  margin-inline: auto;
}
@media (max-width: 991.98px) {
  .hero h1.h2 {
    /* 34px keeps the longest hero word ("RELATIONSHIPS.") inside a 360px phone */
    font-size: clamp(34px, 5.5cqi, 76px);
  }
}
.hero-sub {
  max-width: 760px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

/* accordion: + / − instead of Bootstrap's chevron (uses Bootstrap's own icon variables) */
.accordion-plus .accordion-button::after {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round'%3e%3cpath d='M8 2v12M2 8h12'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round'%3e%3cpath d='M2 8h12'/%3e%3c/svg%3e");
  --bs-accordion-btn-icon-transform: none;
}
/* keyboard focus ring (.shadow-none removes Bootstrap's own) */
.accordion-plus .accordion-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* CTA box (blue panel with acid circle) */
.ctabox {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: 32px;
  background: var(--blue);
  color: #fff;
}
.ctabox h2 {
  margin: 0 0 12px;
  text-transform: uppercase;
}
.ctabox p {
  margin: 0;
  color: #dde3ff;
}
/* keep the button above the acid circle */
.ctabox .btn {
  position: relative;
  z-index: 1;
}
@media (max-width: 600px) {
  .ctabox {
    padding: 32px 24px;
  }
}
.ctabox::after {
  content: "";
  position: absolute;
  top: -48px;
  right: -42px;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background: var(--acid);
  pointer-events: none;
}

/* content sections */
.buyer-journey {
  background: var(--paper);
}
.section-title {
  font-family: var(--heading-font);
  text-transform: uppercase;
  margin: 0;
}
.copy {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

/* points grid: 2x2 label + statement with dividers */
.points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.point {
  padding: 22px 24px 22px 0;
  border-right: 1px solid var(--line);
}
.point:nth-child(2n) {
  padding-left: 24px;
  border-right: 0;
}
.point:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}
.point small {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
/* low specificity so .text-blue on the label still wins */
:where(.point) small {
  color: var(--muted);
}
.point strong {
  font-size: 17px;
}
@media (max-width: 600px) {
  .points {
    grid-template-columns: 1fr;
  }
  .point,
  .point:nth-child(2n) {
    padding: 18px 0;
    border-right: 0;
  }
  .point:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }
}

/* outcome rows: bold line + muted sentence, ruled */
.outcome-list {
  border-top: 1px solid var(--line);
}
.outcome-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.outcome-row strong {
  display: block;
  font-size: 18px;
  margin-bottom: 5px;
}
.outcome-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* journey section: heading block + step cards */
.journey-head p {
  max-width: 720px;
  margin-top: 18px;
}
.journey-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.journey-card > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 12px;
}
.journey-card h3 {
  margin: 28px 0 10px;
}
.journey-card p {
  font-size: 13px;
  line-height: 1.6;
}
.journey-card-acid {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}
.journey-card-acid > span {
  display: none;
}
.journey-card-acid p {
  margin: 0;
  color: #31351b;
  line-height: 1.62;
}

/* acid highlight behind a word */
.acid-underline,
.section-title .acid-underline {
  position: relative;
  z-index: 1;
  color: var(--ink);
}
.acid-underline::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: 5px;
  height: 13px;
  background: var(--acid);
  z-index: -1;
}
