/* ─── Fonts ─────────────────────────────────────── */
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('../Font/PP%20Neue%20Montreal%20Light.otf') format('opentype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('../Font/PP%20Neue%20Montreal%20Book.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('../Font/PP%20Neue%20Montreal%20Regular.otf') format('opentype');
  font-weight: 450; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('../Font/PP%20Neue%20Montreal%20Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('../Font/PP%20Neue%20Montreal%20SemiBold.otf') format('opentype');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ─── Tokens ────────────────────────────────────── */
:root {
  --color-bg: #f6f8f9;
  --color-ink: #0a2633;
  --color-ink-soft: #6c7d85;
  --color-ink-darken: #133644;          /* hover-darken for ink-filled buttons */
  --color-surface: #ffffff;
  --color-cream: #faf9f5;               /* warm off-white for light pills */
  --color-accent-yellow: #ffebba;       /* brand accent (titles, urgent flags) */
  --color-pill: rgba(255, 255, 255, 0.5);
  --color-cta-fg: #f7f7f7;

  --radius-card: 24px;
  --radius-pill: 100px;

  --container: 1496px;
  --gutter: 40px;

  --shadow-pill: 0 0.975px 2.925px rgba(10, 36, 66, 0.24);
  --shadow-card: 10px 10px 24px 0 rgba(9, 37, 78, 0.08);
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
::selection { background: #FFEFC8; color: var(--color-ink); }
::-moz-selection { background: #FFEFC8; color: var(--color-ink); }
body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: 'PP Neue Montreal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; font-family: inherit; cursor: pointer; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; font-family: 'PP Neue Montreal', sans-serif; }
/* `cursor` inherits by default — these declarations make sure no descendant
   accidentally falls back to the auto/text cursor in browsers that compute
   cursor against the topmost paint layer rather than walking the DOM. */
a, a *, button, button *, [role="button"], [role="button"] *, [data-copy] { cursor: pointer; }
input, input *, textarea, textarea * { cursor: text; }
h1, h2, h3, h4, h5, h6, p, a, span, button, li { font-family: inherit; }

/* ─── Shared utilities ──────────────────────────── */
/* Muted second line on a split title (line 1 ink, line 2 #6C7D85).
   Reused by .features__title, .sec__title, .exp__title, .overhead__title. */
.title-muted {
  display: block;
  color: var(--color-ink-soft);
}

/* ─── Button component ──────────────────────────── */
/* Pill button used across pages. Composition:
     .btn                      base geometry + transitions
     .btn--filled-dark         ink bg, light text  (hero / sec CTA)
     .btn--filled-light        cream bg, ink text  (features / doctors hero)
     .btn--outline             transparent bg, ink border + text → fills on hover
     .btn--lg                  48px tall variant (hero CTA size)

   All filled buttons share the translateY(-1px) lift on hover,
   matching the `.hero__cta` pattern that was approved earlier.
   Specific page-level rules can still override margin / width
   / size, but the visual treatment lives here. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  padding: 8px 18px;
  border-radius: 42px;
  border: 1px solid transparent;
  font-weight: 500;                     /* PP Neue Montreal Medium */
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.35s cubic-bezier(0.32, 0.72, 0, 1),
              color            0.35s cubic-bezier(0.32, 0.72, 0, 1),
              border-color     0.35s cubic-bezier(0.32, 0.72, 0, 1),
              transform        0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.btn--lg {
  height: 48px;
  padding: 12px 24px;
  font-size: 15px;
}

.btn--filled-dark {
  background: var(--color-ink);
  color: var(--color-cta-fg);
}
.btn--filled-dark:hover {
  background: var(--color-ink-darken);
  transform: translateY(-1px);
}

.btn--filled-light {
  background: var(--color-cream);
  color: var(--color-ink);
}
.btn--filled-light:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-ink);
  color: var(--color-ink);
}
.btn--outline:hover {
  background: var(--color-ink);
  color: var(--color-cream);
  transform: translateY(-1px);
}

/* ─── Voice overlay component ──────────────────────
   Dark-glass card with chat text + "Jiva" label + waveform.
   Animated by the [data-voice-overlay] handler in js/home.js
   (per-word fade-in, then waveform pulse, then fade-out loop).
   Pages position it via their own context (e.g. .feature__card
   .voice-overlay or .exp-block__media--full .voice-overlay). */
.voice-overlay {
  position: absolute;
  padding: 22px 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, #041117 0%, #04111778 0%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
          backdrop-filter: blur(10px) saturate(160%);
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.voice-overlay__text {
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.48);
}

/* Per-word reading animation. JS sets opacity on each word over time. */
.voice-overlay__word {
  color: #ffffff;
  opacity: 0.48;
  will-change: opacity;
  transition: opacity 0.15s linear;
}

.voice-overlay__wave {
  position: absolute;
  bottom: 22px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.voice-overlay__label {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.4px;
  color: #ffffff;
  flex-shrink: 0;
}
.voice-overlay__bars {
  flex: 1;
  height: 24px;
  color: rgba(255, 255, 255, 0.32);
}
.voice-overlay__bars rect {
  transition: fill 0.55s cubic-bezier(0.32, 0.72, 0, 1);
}
.voice-overlay__bars rect.is-active {
  fill: var(--color-accent-yellow);
}

/* ─── Header / Nav ──────────────────────────────── */
.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;

  display: flex;
  align-items: center;

  height: 56px;
  padding: 8px 8px 8px 24px;

  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(28px) saturate(100%);
  backdrop-filter: blur(28px) saturate(100%);
  border-radius: var(--radius-pill);
  box-shadow:
    0 1px 3px 0 rgba(10, 36, 66, 0.24),
    inset 0.5px 0.5px 0 rgba(255, 255, 255, 0.40),
    inset -0.5px -0.5px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1),
              opacity 0.35s ease;
}
.nav.is-hidden {
  transform: translateX(-50%) translateY(calc(-100% - 24px));
  opacity: 0;
  pointer-events: none;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo img { width: 44px; height: 15px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-left: 140px;
  padding-right: 116px;
}
.nav__links a {
  font-weight: 500;
  font-size: 15px;
  line-height: 32px;
  color: var(--color-ink);
  opacity: 0.8;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}
.nav__links a:hover,
.nav__links a:focus-visible,
.nav__links a.is-active,
.nav__links a[aria-current="page"] { opacity: 1; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 40px;
  padding: 0 25px;
  background: var(--color-ink);
  color: var(--color-cta-fg);
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
  border-radius: 42px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.nav__cta:hover {
  background: #233C47;
  color: #ffffff;
}

/* hamburger toggle (mobile only) */
.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 49px;
  height: 48px;
  margin-left: auto;
  background: #ffffff;
  border-radius: 100px;
  cursor: pointer;
  transition: background-color 0.18s ease;
}
.nav__toggle:hover { background: #f4f6f7; }

.nav__toggle-icon {
  position: relative;
  display: block;
  width: 19px;
  height: 14px;
}
.nav__toggle-icon span {
  position: absolute;
  left: 0;
  width: 19px;
  height: 2px;
  background: #052e28;
  border-radius: 40px;
  transform-origin: center;
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1),
              top 0.32s cubic-bezier(0.32, 0.72, 0, 1),
              opacity 0.18s ease;
}
.nav__toggle-icon span:nth-child(1) { top: 0; }
.nav__toggle-icon span:nth-child(2) { top: 6px; }
.nav__toggle-icon span:nth-child(3) { top: 12px; }
.nav.is-open .nav__toggle-icon span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.nav.is-open .nav__toggle-icon span:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav__toggle-icon span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* ─── Page wrapper ──────────────────────────────── */
main {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── Hero ──────────────────────────────────────── */
.hero {
  text-align: center;
  padding-top: 244px;       /* 256px from frame top - 12px nav offset */
  padding-bottom: 88px;     /* gap to cards (576 - 432 - 56 ≈ 88) */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  font-weight: 450;          /* PP Neue Montreal Regular */
  font-size: 72px;
  line-height: 76px;
  letter-spacing: 0.4px;
  color: var(--color-ink);
  max-width: 590px;
}
.hero__title span {
  color: var(--color-ink-soft);
}

.hero__lede {
  margin-top: 32px;
  max-width: 681px;
  font-weight: 400;          /* PP Neue Montreal Book */
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.4px;
  color: var(--color-ink);
}

/* ─── Cards ─────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 740px;
  padding: 40px;
  background: var(--color-surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(10, 38, 51, 0.06);
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.card__title {
  font-weight: 450;          /* PP Neue Montreal Regular */
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 0.4px;
  color: var(--color-ink);
}

/* .card__cta has no extra styling — it just uses .btn / .btn--outline. */

.card__media {
  flex: 1;
  margin-top: 40px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2f4;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.card:hover .card__media img {
  transform: scale(1.04);
}

/* ─── CTA Banner ────────────────────────────────── */
.cta {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #0a2633;
  color: #ffffff;
  margin-top: 180px;
}

.cta__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 117px 32px 0;
}

.cta__title {
  width: 582px;
  max-width: 100%;
  font-weight: 450;
  font-size: 64px;
  line-height: 72px;
  color: #ffffff;
}
.cta__title-line {
  display: block;
}
.cta__title-line--accent {
  color: var(--color-accent-yellow);
}

.cta__copy {
  margin-top: 80px;
  width: 451px;
  max-width: 100%;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.4px;
  color: #ffffff;
}

.cta__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;            /* 418 - (346 + 48) = 24 */
  height: 64px;
  padding: 12px 14px 12px 12px;
  cursor: pointer;
  /* Figma Glass: Light -45° 64%, Refraction 80, Depth 20, Dispersion 50, Frost 47 */
  background:
    /* light hotspot from upper-left (light direction -45° @ 64%) */
    radial-gradient(120% 160% at 0% 0%,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.05) 30%,
      rgba(255, 255, 255, 0) 60%),
    /* dispersion tint along the diagonal */
    linear-gradient(135deg,
      rgba(180, 220, 255, 0.05) 0%,
      rgba(255, 200, 220, 0.06) 50%,
      rgba(180, 255, 230, 0.08) 100%),
    /* frost (47) */
    rgba(51, 85, 101, 0.17);
  border-radius: 32px;
  /* Depth 20 → soft outer drop + inner light edges */
  box-shadow:
    0 1px 3px rgba(10, 36, 66, 0.24),
    0 8px 24px rgba(10, 36, 66, 0.18),
    inset 1px 1px 0 rgba(255, 255, 255, 0.32),
    inset -1px -1px 0 rgba(255, 255, 255, 0.06);
  color: #ffffff;
  transition: background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.18s ease;
}
.cta__btn::after {
  /* dispersion edge highlight along bottom-right */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg,
    transparent 60%,
    rgba(180, 220, 255, 0.18) 88%,
    rgba(255, 220, 200, 0.14) 100%);
  mix-blend-mode: screen;
  opacity: 0.55;
}
.cta__btn:hover {
  background-color: rgba(51, 85, 101, 0.8);
  transform: translateY(-1px);
}
.cta__btn:active {
  transform: translateY(1px);
}

/* Sticky duplicate floating in the bottom-right */
.cta__btn--sticky {
  position: fixed;
  right: 24px;
  bottom: 24px;
  margin-top: 0;
  z-index: 90;
  height: 56px;
  width: 216px;
  padding: 8px 12px 8px 12px;
  gap: 12px;
  background: rgba(10, 38, 51, 0.48);
  border-radius: 31.204px;
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  box-shadow:
    0 0.975px 2.925px rgba(10, 36, 66, 0.24),
    inset 1px 1px 0 rgba(255, 255, 255, 0.18),
    inset -1px -1px 0 rgba(255, 255, 255, 0.06);
}
.cta__btn--sticky:hover {
  background-color: rgba(10, 38, 51, 0.72);
  transform: translateY(-1px);
}

/* Hidden when the CTA banner is in view (sticky button slides down/fades
   behind the banner instead of overlapping it). */
.cta__btn--sticky {
  transition:
    background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.45s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.35s ease;
}
.cta__btn--sticky.is-hidden {
  transform: translateY(calc(100% + 32px));
  opacity: 0;
  pointer-events: none;
}
.cta__btn--sticky .cta__avatars {
  width: 56px;
  height: 40px;
}
.cta__btn--sticky .cta__btn-title {
  font-size: 14px;
}
.cta__btn--sticky .cta__btn-sub {
  font-size: 13px;
}

@media (max-width: 720px) {
  .cta__btn--sticky {
    right: 16px;
    bottom: 16px;
  }
}

/* ─── Demo pill (slide-up from bottom) ─────────────
   Triggered when the user clicks any "Request a demo" /
   "Book a demo" / "Try the app" mailto CTA. Mailto still
   fires (so the user's mail app opens); the pill slides up
   as a visible fallback that lets them copy the address. */
.demo-pill {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 95;
  display: flex;
  align-items: center;
  width: 530px;
  height: 64px;
  padding: 8px 24px 8px 8px;
  background: var(--color-ink);
  border-radius: 100px;
  box-shadow: 0 12px 40px rgba(10, 36, 66, 0.32);
  transform: translateX(-50%) translateY(calc(100% + 32px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.35s ease;
}
.demo-pill.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.demo-pill__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.demo-pill__close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}
.demo-pill__close svg {
  width: 14px;
  height: 14px;
}

.demo-pill__text {
  margin-left: 40px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.demo-pill__email-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}
.demo-pill__email {
  font-family: inherit;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.4px;
  color: #ffffff;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.demo-pill__email:hover { opacity: 0.8; }

.demo-pill__copied {
  position: absolute;
  top: 50%;
  left: calc(100% + 4px);
  transform: translate(0, -50%);
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  background: var(--color-accent-yellow);
  color: #6c5d2c;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.4px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.demo-pill__email-wrap.is-copied .demo-pill__copied {
  transform: translate(8px, -50%);
  opacity: 1;
}

@media (max-width: 720px) {
  .demo-pill {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    transform: translateY(calc(100% + 32px));
    padding: 6px 18px 6px 6px;
    height: 56px;
    justify-content: center;
  }
  .demo-pill.is-visible {
    transform: translateY(0);
  }
  .demo-pill__close {
    width: 44px;
    height: 44px;
  }
  .demo-pill__text {
    display: none;
  }
  .demo-pill__email-wrap {
    margin-left: 8px;
  }
  .demo-pill__email {
    font-size: 15px;
  }
}

.cta__avatars {
  display: inline-flex;
  flex-shrink: 0;
  width: 70px;
  height: 40px;
}
.cta__avatars img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cta__btn-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1;
  padding-right: 8px;
}
.cta__btn-title {
  font-weight: 500;
  font-size: 15px;
  color: #ffffff;
}
.cta__btn-sub {
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.cta__btn-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-left: auto;
  border-radius: 50%;
  background: rgba(229, 233, 236, 0.2);
  color: #ffffff;
  overflow: hidden;
}
.cta__btn-arrow-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.cta__btn-arrow-svg--out {
  transform: translate(-50%, -50%);
}
.cta__btn-arrow-svg--in {
  /* enters from bottom-left, fully hidden by default */
  transform: translate(-250%, 150%);
}
.cta__btn:hover .cta__btn-arrow-svg--out {
  /* exits to top-right, fully off-stage */
  transform: translate(150%, -250%);
}
.cta__btn:hover .cta__btn-arrow-svg--in {
  transform: translate(-50%, -50%);
}
.cta__btn-arrow svg {
  width: 8px;
  height: 8px;
  display: block;
}
.cta__btn-arrow svg path {
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
}

/* ─── Footer ────────────────────────────────────── */
.footer {
  background: #ffffff;
  color: var(--color-ink);
  height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 150px 0 32px;
}

.footer__inner,
.footer__base {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 216px 168px;
  gap: 0;
  align-items: start;
}

.footer__brand {
  max-width: 373px;
}
.footer__logo {
  display: inline-flex;
}
.footer__logo img {
  width: 67px;
  height: 23px;
}
.footer__tagline {
  margin-top: 40px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.6px;
  color: var(--color-ink-soft);
}
.footer__email-wrap {
  position: relative;
  display: inline-block;
  margin-top: 16px;
}
.footer__email {
  display: inline-block;
  padding: 0;
  font-family: inherit;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.6px;
  color: var(--color-ink);
  background: none;
  border: 0;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.footer__email:hover { opacity: 0.7; }

.footer__copied {
  position: absolute;
  top: 50%;
  left: 192px;
  transform: translate(0, -50%);
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  background: var(--color-accent-yellow);
  color: #6c5d2c;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.4px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer__email-wrap.is-copied .footer__copied {
  transform: translate(17px, -50%); /* 209 - 192 = 17px slide */
  opacity: 1;
}

.footer__col {
  min-width: 120px;
}
.footer__heading {
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.6px;
  color: var(--color-ink-soft);
  margin-bottom: 24px;
}
.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__list a {
  position: relative;
  display: inline-block;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.6px;
  color: var(--color-ink);
}
.footer__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;   /* exit: contracts to the right edge */
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer__list a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;    /* enter: expands from the left edge */
}

.footer__base {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.footer__compliance {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  opacity: 0.5;
}
.footer__compliance img {
  height: 36px;
  width: auto;
}

.footer__copy {
  font-weight: 400;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: 0.6px;
  color: #849299;
}

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 1100px) {
  main { padding: 0 24px; }

  .cards {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 0;
  }

  .card {
    height: auto;
    padding: 32px;
  }
  .card__media {
    margin-top: 40px;
    width: 100%;
  }

  .hero {
    padding-top: 180px;
    padding-bottom: 56px;
  }
  .hero__title {
    font-size: 56px;
    line-height: 60px;
  }

  .cta {
    height: auto;
    min-height: 520px;
  }
  .cta__inner {
    padding: 96px 24px 64px;
  }
  .cta__title {
    font-size: 56px;
    line-height: 64px;
  }
  .cta__copy {
    margin-top: 56px;
  }

  .footer {
    height: auto;
    padding: 96px 0 32px;
  }
  .footer__inner,
  .footer__base {
    padding-left: 24px;
    padding-right: 24px;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 56px 40px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__base {
    margin-top: 96px;
  }
}

@media (max-width: 860px) {
  /* keep the hide-on-scroll transform centred on mobile too */
  .nav.is-hidden {
    transform: translateX(-50%) translateY(calc(-100% - 24px));
  }

  /* mobile pill: 72 tall, full-width minus 16px gutter, logo-left + hamburger-right */
  .nav {
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 480px;
    height: 72px;
    padding: 0;
    border-radius: 36px;             /* 72/2 → full pill closed, soft card open */
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .nav__logo {
    position: absolute;
    top: 26px;
    left: 24px;
  }
  .nav__logo img { width: 56px; height: 19px; }

  .nav__toggle {
    display: inline-flex;
    position: absolute;
    top: 12px;
    right: 12px;
    margin-left: 0;
  }

  /* Menu items live in their final positions at all times — the container
     just expands to reveal them. No internal slide. */
  .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0;
    position: absolute;
    top: 96px;
    left: 40px;
    right: 40px;
  }
  .nav__links a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 8px 24px;
    background: #ffffff;
    border: 1px solid rgba(230, 234, 235, 0.5);
    border-radius: 100px;
    font-weight: 500;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0.4px;
    color: #0a2633;
    opacity: 1;
  }
  .nav__links a::after { content: none; }

  .nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 40px;
    right: 40px;
    top: 228px;             /* 300 - 24 - 48 → fixed in open-state coords */
    width: auto;
    height: 48px;
    padding: 12px 26px;
    border-radius: 100px;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.4px;
  }

  /* expanded card */
  .nav.is-open {
    height: 300px;
  }

  .hero {
    padding-top: 140px;
    padding-bottom: 48px;
  }
  .hero__title {
    font-size: 40px;
    line-height: 44px;
    letter-spacing: 0;
  }
  .hero__lede {
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
  }

  .card {
    padding: 24px;
  }
  .card__media {
    margin-top: 28px;
  }

  .cta {
    margin-top: 90px;
  }
}

@media (max-width: 720px) {
  .cta__title {
    font-size: 44px;
    line-height: 50px;
  }
  .cta__copy {
    margin-top: 40px;
    font-size: 15px;
  }
  .cta__btn:not(.cta__btn--sticky) {
    padding: 10px 20px 10px 10px;
    height: 60px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 64px;
  }
  .footer__email {
    font-size: 18px;
  }
}

