@font-face {
  font-family: 'Receipt';
  src: url('./receipt.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

:root {
  /* Light palette */
  --bg-color: rgb(239, 245, 255);
  --bg-color-alt: rgb(208, 216, 228);
  --text-color: rgb(57, 74, 102);
  --hearts-muted-color: rgba(57, 74, 102, 0.22);
  --window-bg: rgb(210, 221, 238);
  --window-bg-alt: rgb(227, 234, 245);
  --window-border-color: rgba(0, 0, 0, 0.08);
  --masked-circle-bg: rgb(245, 249, 255);
  --masked-window-bg: rgb(32, 49, 78);
  --button-bg: rgb(18, 18, 18);
  --button-text: rgb(239, 245, 255);
  --circle-shadow-white: rgba(255, 255, 255, 0.2);
  --circle-shadow-white-outline: rgb(211, 224, 244);
  /* Color-matched shadow (HSL, no alpha): hue/sat/light for realistic cast shadows */
  --shadow-hsl: 220deg 25% 40%;

  /* Intro timing */
  --windows-intro-duration: 700ms;
  --windows-intro-stagger: 100ms;
  /* 6 windows → duration + (5 * stagger) */
  --windows-intro-total: calc(var(--windows-intro-duration) + (5 * var(--windows-intro-stagger)));

  /* Container overlay */
  --container-overlay-opacity: 0.05;
  --stat-number-shadow: 0.5px 1px 1px hsl(var(--shadow-hsl) / 0.08);
}

body {
  background-color: var(--bg-color);
  font-family: 'Yomogi', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  transition: background-color 600ms ease, color 600ms ease;
  position: relative;
}

body[data-palette="benefits"] {
  /* Warm cream / soft amber – bridges hero to breaks */
  --bg-color: rgb(252, 246, 238);
  --bg-color-alt: rgb(245, 235, 218);
  --text-color: rgb(82, 62, 48);
  --hearts-muted-color: rgba(82, 62, 48, 0.22);
  --window-bg: rgb(240, 229, 218);
  --window-bg-alt: rgb(225, 205, 180);
  --window-border-color: rgba(82, 62, 48, 0.1);
  --masked-circle-bg: rgb(250, 242, 232);
  --masked-window-bg: rgb(82, 62, 48);
  --button-bg: rgb(82, 62, 48);
  --button-text: rgb(252, 248, 242);
  --circle-shadow-white-outline: rgba(82, 62, 48, 0.1);
  --shadow-hsl: 30deg 26% 32%;
}

body[data-palette="implement"] {
  /* Dusty purple / soft lavender – distinct from yellow benefits */
  --bg-color: rgb(237, 228, 245);                 /* Pale dusty lavender */
  --bg-color-alt: rgb(220, 208, 235);             /* Slightly deeper dusty lilac */
  --text-color: rgb(68, 50, 88);                  /* Muted dark purple */
  --hearts-muted-color: rgba(68, 50, 88, 0.22);
  --window-bg: rgb(225, 214, 240);                /* Soft dusty violet */
  --window-bg-alt: rgb(208, 192, 228);            /* Dusty medium lavender */
  --window-border-color: rgba(68, 50, 88, 0.1);
  --masked-circle-bg: rgb(242, 236, 250);         /* Very pale purple */
  --masked-window-bg: rgb(68, 50, 88);
  --button-bg: rgb(68, 50, 88);
  --button-text: rgb(245, 240, 252);
  --circle-shadow-white-outline: rgba(68, 50, 88, 0.1);
  --shadow-hsl: 270deg 28% 32%;
}

body[data-palette="breaks"] {
  /* Orange with pink on top (tone-on-tone) */
  --bg-color: rgb(255, 234, 214);
  --bg-color-alt: rgb(228, 202, 180);
  --text-color: rgb(92, 45, 28);
  --hearts-muted-color: rgba(92, 45, 28, 0.22);
  --window-bg: rgb(236, 174, 135);
  --window-bg-alt: rgb(198, 145, 109);
  --window-border-color: rgba(92, 45, 28, 0.12);
  --masked-circle-bg: rgb(255, 242, 232);
  --masked-window-bg: rgb(92, 45, 28);
  --button-bg: rgb(92, 45, 28);
  --button-text: rgb(255, 248, 242);
  --circle-shadow-white-outline: rgba(92, 45, 28, 0.12);
  --shadow-hsl: 20deg 45% 32%;
}

body[data-palette="timeline"] {
  /* Sky blue with light blue on top (tone-on-tone) */
  --bg-color: rgb(243, 223, 233);                 /* Dusty pale pink */
  --bg-color-alt: rgb(229, 207, 225);             /* Dusty lavender */
  --text-color: rgb(88, 63, 84);                  /* Dusty muted plum */
  --hearts-muted-color: rgba(139, 102, 132, 0.22);/* Dusty violet, muted */
  --window-bg: rgb(234, 206, 220);                /* Dusty rose */
  --window-bg-alt: rgb(215, 195, 215);            /* Dusty soft purple */
  --window-border-color: rgba(102, 72, 107, 0.13);/* Dusty purple, soft */
  --masked-circle-bg: rgb(248, 235, 240);         /* Dusty off-pink */
  --masked-window-bg: rgb(122, 89, 125);          /* Dusty dark mauve */
  --button-bg: rgb(180, 137, 161);                /* Dusty mauve */
  --button-text: rgb(255, 247, 253);              /* Off-white, hint pink */
  --circle-shadow-white-outline: rgba(117, 98, 124, 0.11); /* Dusty purple outline */
  --shadow-hsl: 320deg 22% 42%;
}

body[data-palette="testimonials"] {
  /* Dusty green, teal, and muted tones (tone-on-tone) */
  --bg-color: rgb(224, 231, 226);              /* Dusty pale sage green */
  --bg-color-alt: rgb(209, 224, 222);          /* Dusty, slightly blue-tinted mint */
  --text-color: rgb(51, 78, 74);               /* Muted dark green-teal */
  --hearts-muted-color: rgba(51, 78, 74, 0.22);/* Muted green-teal with transparency */
  --window-bg: rgb(196, 215, 208);             /* Dusty, softer teal */
  --window-bg-alt: rgb(180, 200, 192);         /* Dusty greenish teal, muted */
  --window-border-color: rgba(51, 78, 74, 0.10);/* Faint dusty teal border */
  --masked-circle-bg: rgb(218, 232, 229);      /* Faded dusty seafoam */
  --masked-window-bg: rgb(64, 112, 111);       /* Dusty mid teal, muted and cool */
  --button-bg: rgb(89, 106, 110);              /* Dusty teal-green, less saturated */
  --button-text: rgb(241, 249, 247);           /* Dusty off-white, hint of green */
  --circle-shadow-white-outline: rgba(51, 78, 74, 0.09); /* Very soft dusty green-teal outline */
  --shadow-hsl: 165deg 18% 38%;
}

body[data-palette="contact"] {
  /* Black on white – clean, business-like */
  --bg-color: rgb(255, 255, 255);              /* White background */
  --bg-color-alt: rgb(240, 240, 240);          /* Slightly off-white alt */
  --text-color: rgb(30, 30, 30);               /* Near-black text */
  --hearts-muted-color: rgba(30, 30, 30, 0.12);/* Muted dark hearts */
  --window-bg: rgb(245, 245, 245);             /* Very light gray */
  --window-bg-alt: rgb(235, 235, 235);         /* Light gray alt */
  --window-border-color: rgba(30, 30, 30, 0.15);/* Soft dark border */
  --masked-circle-bg: rgb(230, 230, 230);      /* Light gray circle */
  --masked-window-bg: rgb(30, 30, 30);         /* Dark window mask */
  --button-bg: rgb(30, 30, 30);               /* Dark button */
  --button-text: rgb(255, 255, 255);           /* White text on button */
  --circle-shadow-white-outline: rgba(0, 0, 0, 0.06); /* Subtle dark outline */
  --shadow-hsl: 0deg 0% 20%;
}


.container {
  width: 100%;
  height: 100vh;
  min-height: 1000px;
  position: relative;
  overflow: hidden;
  padding: 20px;
  box-sizing: border-box;
}

.container-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./noise.png');
  background-size: 250px 250px;
  background-position: 0 0;
  background-repeat: repeat;
  z-index: 1;
  opacity: var(--container-overlay-opacity);
  mix-blend-mode: multiply;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.container-caption {
  position: absolute;
  bottom: 10px;
  white-space: nowrap;
  left: 50%;
  z-index: 1;
  font-size: 13px;
  color: var(--text-color);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
  transform: translateX(-50%) translateY(100%);
  background-color: var(--bg-color-alt);
  padding: 10px;
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
}


@media (max-width: 768px) {
  
}

.container-caption svg.container-caption-arrow {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  vertical-align: -5px;
}

.container-caption svg.container-caption-corner {
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 0;
  left: -20px;
  path {
    fill: var(--bg-color-alt);
    transition: fill 0.3s ease;
  }
  &:nth-of-type(2) {
    left: auto;
    right: -20px;
    scale: -1 1;
  }
}

.container-caption.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.3s ease 1s, transform 0.3s ease 1s, background-color 0.3s ease;
}


.container-caption:hover {
  .container-caption-text {
    transform: translateY(20px);
  }
  
}

/* 100vh section below the hero for scroll-driven parallax; content sits here */
.parallax-spacer {
  width: 100%;
  min-height: 100vh;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  position: relative;
  overflow: visible;
  box-sizing: border-box;
  padding-top: 80px;
}

/* ── Benefits accordion ── */
.benefits-accordion-wrapper {
  width: 100%;
  max-width: 960px;
  padding: 0 max(3vw, 20px);
  box-sizing: border-box;
}

.benefits-accordion-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-color);
  transition: color 0.3s ease;
  margin: 0 0 3rem;
  text-align: center;
  font-family: 'Cherry Bomb One', sans-serif;
  font-weight: 400;
  opacity: 0;
  transform: translateY(16px);
  transition: color 0.3s ease, opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.parallax-spacer.in-view .benefits-accordion-title {
  opacity: 1;
  transform: translateY(0);
}

.benefits-accordion {
  width: 100%;
}

/* Accordion item */
.accordion-item {
  border-top: 1px solid color-mix(in srgb, var(--text-color) 12%, transparent);
  opacity: 0;
  transform: translateY(20px);
  transition: border-color 0.6s ease;
}

.accordion-item:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--text-color) 12%, transparent);
}

/* Staggered scroll reveal */
.parallax-spacer.in-view .accordion-item {
  animation: accordion-reveal 0.7s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}
.parallax-spacer.in-view .accordion-item:nth-child(1) { animation-delay: 100ms; }
.parallax-spacer.in-view .accordion-item:nth-child(2) { animation-delay: 180ms; }
.parallax-spacer.in-view .accordion-item:nth-child(3) { animation-delay: 260ms; }
.parallax-spacer.in-view .accordion-item:nth-child(4) { animation-delay: 340ms; }
.parallax-spacer.in-view .accordion-item:nth-child(5) { animation-delay: 420ms; }

@keyframes accordion-reveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .benefits-accordion-title {
    opacity: 1;
    transform: none;
  }
  .accordion-item {
    opacity: 1;
    transform: none;
  }
  .parallax-spacer.in-view .accordion-item {
    animation: none;
  }
}

/* Accordion header (button) */
.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
  font-family: inherit;
  text-align: left;
  transition: color 0.3s ease;
}

.accordion-number {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.3;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  min-width: 1.5rem;
  transition: opacity 0.3s ease;
}

.accordion-header:hover .accordion-number {
  opacity: 0.7;
}

.accordion-heading-text {
  flex: 1;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.accordion-header:hover .accordion-heading-text {
  transform: translateX(4px);
}

/* Plus → minus icon */
.accordion-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.accordion-header:hover .accordion-icon {
  opacity: 0.8;
}

.accordion-icon-v {
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1);
  transform-origin: center;
}

.accordion-item.active .accordion-icon-v {
  transform: scaleY(0);
}

/* Smooth height animation (CSS grid technique) */
.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.accordion-item.active .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-panel-inner {
  overflow: hidden;
}

/* Accordion content layout */
.accordion-content {
  padding: 0.25rem 0 2.25rem 2.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.accordion-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-color);
  margin: 0;
  opacity: 0.8;
  transition: color 0.3s ease;
}

/* Proof callout card */
.accordion-proof {
  background-color: var(--window-bg);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  transition: background-color 0.3s ease;
}

.accordion-proof-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-color);
  opacity: 0.4;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.accordion-proof-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0 0 1rem;
  opacity: 0.75;
  transition: color 0.3s ease;
}

.accordion-proof-text em {
  font-style: italic;
}

.accordion-source {
  font-size: 0.8rem;
  color: var(--text-color);
  opacity: 0.45;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s ease, color 0.3s ease;
}

.accordion-source::after {
  content: '';
  display: inline-block;
  width: 0.88em;
  height: 0.88em;
  margin-left: 0.3em;
  vertical-align: -0.08em;
  opacity: 0.55;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M14%203a1%201%200%201%200%200%202h3.586L10.293%2014.293a1%201%200%200%200%201.414%201.414L21%206.414V10a1%201%200%201%200%202%200V4a1%201%200%200%200-1-1h-8ZM5%205a2%202%200%200%200-2%202v12a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2v-6a1%201%200%201%200-2%200v6H5V7h6a1%201%200%201%200%200-2H5Z%27/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M14%203a1%201%200%201%200%200%202h3.586L10.293%2014.293a1%201%200%200%200%201.414%201.414L21%206.414V10a1%201%200%201%200%202%200V4a1%201%200%200%200-1-1h-8ZM5%205a2%202%200%200%200-2%202v12a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2v-6a1%201%200%201%200-2%200v6H5V7h6a1%201%200%201%200%200-2H5Z%27/%3E%3C/svg%3E") no-repeat center / contain;
}

.accordion-source:hover {
  opacity: 0.85;
}

/* Benefits accordion mobile */
@media (max-width: 768px) {
  .benefits-accordion-wrapper {
    padding: 0 24px;
  }

  .benefits-accordion-title {
    margin-bottom: 2rem;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .accordion-content {
    grid-template-columns: 1fr;
    padding-left: 0;
    gap: 1.25rem;
  }

  .accordion-header {
    padding: 1.25rem 0;
    gap: 1rem;
  }

  .accordion-heading-text {
    font-size: 1rem;
  }

  .accordion-header:hover .accordion-heading-text {
    transform: none;
  }
}

/* ── Secondary benefits (chip cards) ── */
.benefits-extra {
  width: 100%;
  background: transparent;
  position: relative;
  padding: 0 max(5vw, 24px) 80px;
  box-sizing: border-box;
}

.benefits-extra-wrapper {
  max-width: 960px;
  margin: 20px auto 0;
}

.benefits-extra-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-color);
  opacity: 0.35;
  margin-bottom: 1.25rem;
  transition: color 0.3s ease;
  text-align: center;
}

.benefits-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}

/* Individual chip card */
.chip-card {
  background-color: var(--window-bg);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  transition:
    background-color 0.3s ease,
    transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
  will-change: transform;
  /* scroll reveal */
  opacity: 0;
  transform: translateY(14px) scale(0.97);
}


/* Scroll reveal stagger */
.benefits-extra.in-view .chip-card {
  animation: chip-reveal 0.6s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}
.benefits-extra.in-view .chip-card:nth-child(1) { animation-delay: 0ms; }
.benefits-extra.in-view .chip-card:nth-child(2) { animation-delay: 70ms; }
.benefits-extra.in-view .chip-card:nth-child(3) { animation-delay: 140ms; }
.benefits-extra.in-view .chip-card:nth-child(4) { animation-delay: 210ms; }
.benefits-extra.in-view .chip-card:nth-child(5) { animation-delay: 280ms; }

@keyframes chip-reveal {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .chip-card {
    opacity: 1;
    transform: none;
  }
  .benefits-extra.in-view .chip-card {
    animation: none;
  }
}

/* Chip card content */
.chip-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.chip-card-desc {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.65;
  transition: color 0.3s ease;
}

/* Chips mobile */
@media (max-width: 768px) {
  .benefits-extra {
    padding: 0 24px 60px;
  }

  .benefits-chips-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

}

/* ── Implement section (two-column guide) ── */
.implement-section {
  width: 100%;
  background: transparent;
  position: relative;
  padding: 80px max(5vw, 24px) 100px;
  box-sizing: border-box;
}

.implement-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.implement-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-color);
  transition: color 0.3s ease;
  margin: 0 0 1rem;
  text-align: center;
  font-family: 'Cherry Bomb One', sans-serif;
  font-weight: 400;
  opacity: 0;
  transform: translateY(16px);
  transition: color 0.3s ease, opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.implement-section.in-view .implement-title {
  opacity: 1;
  transform: translateY(0);
}

.implement-subtitle {
  max-width: 560px;
  margin: 0 auto 3.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-color);
  opacity: 0.7;
  text-align: center;
  transition: color 0.3s ease;
}

.implement-section.in-view .implement-subtitle {
  opacity: 0.7;
}

.implement-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Individual column card */
.implement-col {
  background-color: var(--window-bg);
  border-radius: 24px;
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease;
  opacity: 0;
  transform: translateY(24px);
}

.implement-section.in-view .implement-col {
  animation: implement-col-reveal 0.7s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.implement-section.in-view .implement-col:nth-child(1) {
  animation-delay: 100ms;
}

.implement-section.in-view .implement-col:nth-child(2) {
  animation-delay: 220ms;
}

@keyframes implement-col-reveal {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .implement-title {
    opacity: 1;
    transform: none;
  }
  .implement-col {
    opacity: 1;
    transform: none;
  }
  .implement-section.in-view .implement-col {
    animation: none;
  }
}

/* Column header */
.implement-col-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.implement-col-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--bg-color);
  color: var(--text-color);
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.implement-col-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  transition: color 0.3s ease;
}

/* Steps list */
.implement-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.implement-step {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid color-mix(in srgb, var(--text-color) 8%, transparent);
  transition: border-color 0.3s ease;
}

.implement-step:first-child {
  border-top: none;
}

.implement-step:last-child {
  border-bottom: none;
}

.implement-step-number {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-color);
  opacity: 0.25;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  min-width: 1.5rem;
  padding-top: 0.15rem;
  transition: color 0.3s ease;
}

.implement-step-content {
  flex: 1;
}

.implement-step-heading {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-color);
  margin-bottom: 0.35rem;
  transition: color 0.3s ease;
}

.implement-step-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-color);
  opacity: 0.65;
  margin: 0;
  transition: color 0.3s ease;
}

/* CTA button at column bottom */
.implement-cta-wrap {
  margin-top: 2rem;
}

.implement-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  padding: 14px 28px;
  background-color: var(--button-bg);
  color: var(--button-text);
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.implement-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.implement-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    1px 2px 2px hsl(var(--shadow-hsl) / 0.2),
    2px 4px 4px hsl(var(--shadow-hsl) / 0.15),
    4px 8px 8px hsl(var(--shadow-hsl) / 0.1);
}

.implement-cta:hover svg {
  transform: translate(2px, -2px);
}

.implement-cta:active {
  transform: translateY(0);
}

/* Implement mobile */
@media (max-width: 768px) {
  .implement-section {
    padding: 60px 24px 80px;
  }

  .implement-columns {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .implement-col {
    padding: 2rem 1.5rem 1.75rem;
  }

  .implement-subtitle {
    margin-bottom: 2.5rem;
  }
}


/* Micro-break section (breathing exercise) */
.micro-break-section {
  width: 100%;
  min-height: 100vh;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  box-sizing: border-box;
}

.micro-break-section .breathing-exercise-title {
  transform: none;
  margin-bottom: 1rem;
}

/* Breathing exercise split layout */
.breathing-exercise {
  display: flex;
  width: 100%;
  max-width: 1200px;
  gap: 60px;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.breathing-exercise-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-color);
  transition: color 0.3s ease;
  margin: 0;
  text-align: center;
  font-family: 'Cherry Bomb One', sans-serif;
  transform: translateY(300%);
  font-weight: 400;
}

.breathing-ticker {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 200px;
  opacity: 0;
  transition: opacity 1s ease;
  margin-top: 50px;
}

.parallax-spacer.in-view .breathing-ticker,
.micro-break-section.in-view .breathing-ticker {
  opacity: 1;
}

.ticker-line {
  color: var(--text-color);
  font-size: 24px;
  line-height: 1.4;
  text-align: center;
  transition: opacity 100ms ease, color 100ms ease, transform 100ms ease;
  font-weight: 400;
  transform: translateY(0);
}

.ticker-line.active {
  opacity: 1;
  color: var(--text-color);
}

.ticker-line.next {
  opacity: 0.5;
  color: var(--text-color);
}

.ticker-line.dimmed {
  opacity: 0.25;
  color: var(--text-color);
}

.ticker-line:nth-of-type(1) {
  opacity: 0;
}

.breathing-circle-container {
  flex: 1;
  max-width: 500px;
  aspect-ratio: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-radius: 20px;
  background:var(--window-bg-alt);
  transition: background 0.3s ease, opacity 1s ease, box-shadow 0.3s ease;
  isolation: isolate;
  opacity: 1;
  box-sizing: border-box;
}

.parallax-spacer.in-view .breathing-circle-container,
.micro-break-section.in-view .breathing-circle-container {
  opacity: 1;
}
/* 
.breathing-circle-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(to right, rgba(120, 139, 191, 0.3), rgba(97, 102, 117, 0.3));
  padding: 1px;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
} */

.breathing-circle-container .caption {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  display: table;
  white-space: nowrap;
  z-index: 2;
  transition: opacity 0.3s ease;
  font-size: 13px;
  color: var(--text-color);
}

.breathing-circle,
.breathing-instruction,
.restart-button {
  position: relative;
  z-index: 2;
}

.breathing-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-color);
  transition: background-color 0.3s ease, opacity 0.3s ease 500ms;
  will-change: width, height, opacity;
  opacity: 0;
}

.parallax-spacer.in-view .breathing-circle,
.micro-break-section.in-view .breathing-circle {
  opacity: 1;
  width: 80px;
  height: 80px;
}


.breathing-instruction {
  margin-top: 30px;
  color: var(--text-color);
  font-size: 18px;
  font-weight: 400;
  text-transform: lowercase;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.in-view .breathing-instruction.visible {
  opacity: 1;
}

.breathing-instruction-wrapper {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  /* opacity: 0;
  transition: opacity 1s ease; */
}


.parallax-spacer.in-view .breathing-instruction-wrapper,
.micro-break-section.in-view .breathing-instruction-wrapper {
  opacity: 1;
}


.restart-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0.6;
  transition: opacity 0.2s ease, transform 0.3s ease;
  z-index: 10;
}

.restart-button:hover {
  opacity: 1;
  transform: rotate(180deg);
}

.restart-button:active {
  transform: rotate(180deg) scale(0.9);
}

.restart-button svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .parallax-spacer {
    padding-inline: 16px;
    box-sizing: border-box;
  }

  /* (benefits accordion mobile styles defined in the accordion block above) */

  .micro-break-section {
    padding: 40px 16px;
  }

  .breathing-exercise {
    flex-direction: column;
    gap: 40px;
    padding: 20px;
  }

  .breathing-ticker {
    min-height: auto;
  }

  .ticker-line {
    font-size: 20px;
  }

  .breathing-circle-container {
    max-width: 100%;
    width: 100%;
    max-width: 400px;

    &::before {
      border-radius: 0;
      border-right: none;
      border-left: none;
    }
  }
}


/* Pill-shaped nav island: desktop only, fixed center top */
.nav-island {
  display: none;
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 8px 10px;
  border-radius: 9999px;
  background: var(--circle-shadow-white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0.5px 1px 1px hsl(var(--shadow-hsl) / 0.24),
    0.5px 1px 1px 0 var(--circle-shadow-white) inset;
  border: 1px solid color-mix(in srgb, var(--text-color) 0.08, transparent);
  align-items: center;
  gap: 4px;
  transition: background-color 0.6s ease, box-shadow 0.6s ease;
}

@media (min-width: 769px) {
  .nav-island {
    display: flex;
  }
}

.nav-island-link {
  padding: 8px 10px;
  border-radius: 9999px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.6s ease, color 0.6s ease;
}

.nav-island-link:hover {
  background: hsl(var(--shadow-hsl) / 0.14);
  transition: background-color 0.1s ease, color 0.1s ease;

}

.nav-island-link:active {
  background: hsl(var(--shadow-hsl) / 0.26);
  transition: background-color 0.1s ease, color 0.1s ease;
}

/* ═══════════════════════════════════════════════════
   Mobile hamburger button
   ═══════════════════════════════════════════════════ */
.mobile-menu-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.hamburger-line {
  display: block;
  position: absolute;
  width: 22px;
  height: 2px;
  background-color: var(--text-color);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1),
              top 0.35s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.25s ease,
              background-color 0.6s ease;
  left: 50%;
  transform: translateX(-50%);
}

.hamburger-line:nth-child(1) { top: 12px; }
.hamburger-line:nth-child(2) { top: 19px; }
.hamburger-line:nth-child(3) { top: 26px; }

/* Hamburger → X animation */
.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
}


/* ═══════════════════════════════════════════════════
   Mobile menu overlay
   ═══════════════════════════════════════════════════ */
.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: color-mix(in srgb, var(--bg-color) 85%, transparent);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.6s ease;
    padding: 100px 32px 60px;
    box-sizing: border-box;
  }

  .mobile-menu[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
  }
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 320px;
}

.mobile-menu-link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 16px;
  transition: background-color 0.2s ease,
              color 0.6s ease,
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(16px);
}

.mobile-menu[aria-hidden="false"] .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered entrance for links */
.mobile-menu[aria-hidden="false"] .mobile-menu-link:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu[aria-hidden="false"] .mobile-menu-link:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu[aria-hidden="false"] .mobile-menu-link:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu[aria-hidden="false"] .mobile-menu-link:nth-child(4) { transition-delay: 0.24s; }
.mobile-menu[aria-hidden="false"] .mobile-menu-link:nth-child(5) { transition-delay: 0.30s; }

/* Reset delay on close so all links fade out together */
.mobile-menu[aria-hidden="true"] .mobile-menu-link {
  transition-delay: 0s;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus-visible {
  background: hsl(var(--shadow-hsl) / 0.10);
}

.mobile-menu-link:active {
  background: hsl(var(--shadow-hsl) / 0.18);
  transform: scale(0.98);
}

/* CTA inside mobile menu */
.mobile-menu-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 40px;
  background-color: var(--button-bg);
  color: var(--button-text);
  text-decoration: none;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.6s ease,
              color 0.6s ease;
  opacity: 0;
  transform: translateY(16px);
}

.mobile-menu[aria-hidden="false"] .mobile-menu-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.36s;
}

.mobile-menu[aria-hidden="true"] .mobile-menu-cta {
  transition-delay: 0s;
}

.mobile-menu-cta:active {
  transform: scale(0.97);
}

/* Body scroll lock when menu is open */
html.mobile-menu-open,
html.mobile-menu-open body {
  overflow: hidden;
  overscroll-behavior: none;
}


.header-controls {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1002;
}

.cta-button {
  padding: 8px 24px;
  background-color: var(--button-bg);
  color: var(--button-text);
  text-decoration: none;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.2s ease;
  pointer-events: auto;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow:
    1px 2px 2px hsl(var(--shadow-hsl) / 0.2),
    2px 4px 4px hsl(var(--shadow-hsl) / 0.15),
    4px 8px 8px hsl(var(--shadow-hsl) / 0.1);
}

.cta-button:active {
  transform: translateY(0);
}

h1 {
  color: var(--text-color);
  font-size: 29px;
  line-height: 1;
  margin: 0;
  font-weight: 200;
  transition: color 0.3s ease;
  z-index: 1000;
  font-family: 'Cherry Bomb One', sans-serif;
}

.logo {
  position: fixed;
} 


/* Horizontal scroll timeline */
.timeline-section {
  width: 100%;
  background-color: transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0 60px;
}

.timeline-title-header {
  width: 100%;
  position: relative;
  z-index: 10;
  pointer-events: none;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.timeline-section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-color);
  transition: color 0.3s ease;
  margin: 0;
  text-align: center;
  font-family: 'Cherry Bomb One', sans-serif;
  font-weight: 400;
}

.timeline-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 0 max(5vw, 24px);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted-text-color, rgba(10, 10, 10, 0.8));
  text-align: center;
}

@media (max-width: 768px) {
  .timeline-section {
    padding: 60px 0;
  }

  .timeline-intro {
    padding-inline: 24px;
    text-align: left;
  }
}

.timeline-pin {
  width: 100%;
  height: 780px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

/* Fallback when GSAP/ScrollTrigger not used or reduced motion: native horizontal scroll */
.timeline-section.timeline-fallback .timeline-pin {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 769px) { 
  .timeline-section.timeline-fallback .timeline-track {
    margin-right: max(5vw, 24px);
  }
}

.timeline-track {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  padding-inline: max(5vw, 24px);
  will-change: transform;
  box-sizing: border-box;
  position: relative;
}

/* Timeline spine: horizontal line across all items + vertical connectors from year to line */
.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.timeline-line-horizontal {
  color: var(--window-bg);
  position: absolute;
  left: 0;
  top: calc(50% - 110px);
  width: 100%;
  height: 80px;
  margin-top: -40px; /* center the wiggle vertically on the original line */
  opacity: 1;
  overflow: visible;
}

.timeline-line-horizontal .timeline-line-wiggle {
  stroke: currentColor;
}


.timeline-item {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: min(420px, 85vw);
  max-width: 420px;
  padding: 1.5rem 2rem;
  color: var(--text-color);
  transition: color 0.3s ease, background-color 0.3s ease;
  box-sizing: border-box;
  border-radius: 2rem;
  background-color: var(--window-bg);
}

/* Content block (year, title, desc) – allows column-reverse for above-line items */
.timeline-item-content {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .timeline-section {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .timeline-title-header {
    position: static;
    transform: none;
    margin-bottom: 2rem;
    padding: 0 64px;
    width: 100%;
    order: -1;
  }
  .timeline-pin {
    height: auto;
    overflow: visible;
    width: 100%;
  }
  .timeline-track {
    flex-direction: column;
    align-items: stretch;
    padding-inline: 24px;
    gap: 1.5rem;
    height: auto;
  }
  .timeline-item {
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    border-radius: 1rem;
  }
  .timeline-item-empty {
    display: none;
  }
  .timeline-line,
  .timeline-connector {
    display: none;
  }
}
@media screen and (min-width: 769px) {
 
  .timeline-item-above .timeline-item-content {
    flex-direction: column-reverse;
  }

  .timeline-item-above  {
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
  }
  .timeline-item:not(.timeline-item-above) {
    border-top-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

}

/* Every second event above the line, rest below */
.timeline-item:not(.timeline-item-empty) {
  align-self: flex-end;
}

.timeline-item-above {
  align-self: flex-start;
}

/* Vertical connector from card to the wiggly timeline line (top/height set by JS) */
.timeline-connector {
  position: absolute;
  left: 0rem;
  top: 0.75rem;
  width: 4px;
  min-height: 4px;
  background: var(--window-bg);
  opacity: 1;
  border-radius: 0px; /* round end caps */
}

.timeline-item-empty {
  padding: 0;
  width: min(420px, 85vw);
  max-width: 420px;
}

.timeline-year {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.timeline-item-above .timeline-year {
  margin-bottom: 0;
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.75rem 0;
}

.timeline-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  opacity: 0.85;
}

/* Spacer between items (visual gap without extra card width) */
.timeline-item + .timeline-item {
  margin-left: 4rem;
}


/* Testimonials section – masonry grid, title on top */
.testimonials-section {
  width: 100%;
  min-height: auto;
  background-color: transparent;
  position: relative;
  padding: 80px max(5vw, 24px) 80px;
  display: block;
  box-sizing: border-box;
}

.testimonials-title-header {
  width: 100%;
  margin-bottom: 3rem;
  padding: 0;
}

.testimonials-section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-color);
  transition: color 0.3s ease;
  margin: 0;
  text-align: center;
  font-family: 'Cherry Bomb One', sans-serif; 
  font-weight: 400;
}

/* Pinterest-style masonry with CSS columns */
.testimonials-masonry {
  column-count: 3;
  column-gap: 1.5rem;
}

@media (min-width: 2000px) {
  .testimonials-masonry {
    column-count: 4;
  }
}

.testimonial-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  padding: 14px 14px 12px;
  background-color: var(--window-bg-alt);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(24px);
}

.testimonials-section.in-view .testimonial-card {
  animation: testimonial-stagger-in 0.6s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

@keyframes testimonial-stagger-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonials-section.reduced-motion .testimonial-card {
  animation: none;
  opacity: 1;
  transform: none;
}

.testimonial-quote {
  margin: 0 0 1.5rem 0;
  padding: 0;
  border: none;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  transition: color 0.3s ease;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: auto;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
  transition: color 0.3s ease;
  display: block;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-color);
  opacity: 0.7;
  transition: color 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 1024px) {
  .testimonials-masonry {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .testimonials-section {
    padding: 60px 24px 60px;
  }
  .testimonials-title-header {
    margin-bottom: 2rem;
  }
  .testimonials-masonry {
    column-count: 1;
    column-gap: 0;
  }
  .testimonial-card {
    margin-bottom: 1.25rem;
  }
  .testimonial-text {
    font-size: 0.9rem;
  }
}

.footer {
  color: var(--text-color);
  font-size: 12px;
  transition: color 0.3s ease;
  z-index: 1000;
  position: fixed;
  bottom: 15px;
  left: 20px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: calc(100% - 30px);
  svg {
    width: 14px;
    height: 14px;
    vertical-align: -3px;
  }
}

@media (max-width: 768px) {
  .footer-right {
    display: none;
  }
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

p {
  color: var(--text-color);
  font-size: 20px;
  transition: color 0.3s ease;
}

.window {
  background-color: var(--window-bg);
  position: absolute;
  border-radius: 22px;
  translate: 0 var(--parallax-y, 0);
  transition: background-color 0.3s ease, translate 800ms cubic-bezier(0.2, 0.9, 0.2, 1);
  box-sizing: border-box;

  /* One-time intro animation (applies to both outer + masked-circle windows) */
  animation-duration: var(--windows-intro-duration);
  animation-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1);
  animation-fill-mode: both;
  animation-iteration-count: 1;
}

/* During scroll parallax, skip translate transition so it follows scroll 1:1 */
body.parallax-active .container > .window {
  transition: background-color 0.3s ease;
}


.window-1 {
  /* initial configuration */
  /* width: 347px;
  height: 260px;
  transform: translate(calc(-100% + 40px), calc(-100% + 5px)); */
  /* animated configuration */
  width: 509px;
  height: 386px;
  transform: translate(calc(-100% + 40px), calc(-100% + 5px));

  top: 50%;
  left: 50%;
  animation-name: window-1-intro;
  animation-delay: calc(0 * var(--windows-intro-stagger));

  /* --- Window 1 content (toolbar + popover + chevron) --- */
  position: absolute;
  overflow: hidden;

}
  

.window-1 .toolbar {
  --window-1-toolbar-height: 32px;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url('./toolbar.png');
  background-repeat: no-repeat;
  background-size: 509px var(--window-1-toolbar-height);
  background-position: right var(--window-1-left-inset) top var(--window-1-top-inset);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Case study slider: horizontal scroll + snap, touch-friendly */
.case-study-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  isolation: isolate;
}

.case-study-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.case-study-slider-track::-webkit-scrollbar {
  display: none;
}

.case-study-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.case-study-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Quote slide (last slide) */
.case-study-slide-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  background-color: var(--window-bg);
  box-sizing: border-box;
  z-index: 2;
  transition: background-color 0.3s ease;
}

.case-study-quote {
  margin: 0;
  text-align: center;
}

.case-study-quote-text {
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 14px;
}

.case-study-quote-attribution {
  color: var(--text-color);
  font-size: 12px;
  opacity: 0.8;
  font-style: normal;
}


.case-study-slide .case-study-quote-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
  display: inline;
}

.case-study-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px 20px 28px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.4) 25%,
    transparent 60%
  );
  border-radius: inherit;
}

.case-study-label {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.case-study-label-prefix {
  background-color: #ffffff26;
  backdrop-filter: blur(10px);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: none;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #fff;
  position: absolute;
  top: 20px;
  left: 20px;
}

/* Prev/next buttons – bottom right, circular */
.case-study-nav {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 3;
  display: flex;
  gap: 8px;
  pointer-events: none;
  mix-blend-mode: difference;
}

.case-study-nav-btn {
  pointer-events: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
  backdrop-filter: blur(10px);
}

.case-study-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  inset: 0;
}

.case-study-nav-btn:active {
  transform: scale(0.96);
  inset: 0;
}

.case-study-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.case-study-nav-btn:disabled:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.case-study-nav-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.case-study-nav-btn:first-of-type svg {
  translate: -1px 0;
}


.case-study-nav-btn:last-of-type svg {
  translate: 1px 0;
}

/* Window 1: case study overlay label fades/slides in (replaces .caption) */
.window-1 .case-study-overlay .case-study-label,
.window-1 .case-study-overlay .case-study-label-prefix {
  opacity: 0;
  transform: translateY(var(--window-content-reveal-offset));
  animation: window-content-reveal var(--window-content-reveal-duration) ease both;
  animation-delay: calc((0 * var(--windows-intro-stagger)) + var(--window-content-reveal-after-intro));
}




/* --- Window content reveal (match stats reveal elegance) --- */
:root {
  --window-content-reveal-duration: 520ms;
  --window-content-reveal-stagger: 80ms;
  --window-content-reveal-offset: 6px;
  /* Start content reveal near the end of each window's intro */
  --window-content-reveal-after-intro: calc(var(--windows-intro-duration) - 180ms);
}

@keyframes window-content-reveal {
  0% {
    opacity: 0;
    transform: translateY(var(--window-content-reveal-offset));
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Window 2: achievements then bottom copy/cta with a gentle stagger */
.window-2 .pricing-achievements,
.window-2 .pricing-bottom > * {
  opacity: 0;
  transform: translateY(var(--window-content-reveal-offset));
  animation: window-content-reveal var(--window-content-reveal-duration) ease both;
}

.window-2 .pricing-achievements {
  animation-delay: calc((1 * var(--windows-intro-stagger)) + var(--window-content-reveal-after-intro));
}

.window-2 .pricing-bottom > :nth-child(1) {
  animation-delay: calc((1 * var(--windows-intro-stagger)) + var(--window-content-reveal-after-intro) + (0 * var(--window-content-reveal-stagger)));
}
.window-2 .pricing-bottom > :nth-child(2) {
  animation-delay: calc((1 * var(--windows-intro-stagger)) + var(--window-content-reveal-after-intro) + (1 * var(--window-content-reveal-stagger)));
}
.window-2 .pricing-bottom > :nth-child(3) {
  animation-delay: calc((1 * var(--windows-intro-stagger)) + var(--window-content-reveal-after-intro) + (2 * var(--window-content-reveal-stagger)));
}
.window-2 .pricing-bottom > :nth-child(4) {
  animation-delay: calc((1 * var(--windows-intro-stagger)) + var(--window-content-reveal-after-intro) + (3 * var(--window-content-reveal-stagger)));
}

/* Window 3: icon, title, copy */
.window-3 .feature-title,
.window-3 .feature-copy {
  opacity: 0;
  transform: translateY(var(--window-content-reveal-offset));
  animation: window-content-reveal var(--window-content-reveal-duration) ease both;
}

/* --- Apple logo "power on" (single pass: fade + slide + glow) --- */
:root {
  --apple-power-on-duration: 5800ms;
  --apple-power-on-delay: calc((2 * var(--windows-intro-stagger)) + var(--window-content-reveal-after-intro) + 100ms);
}

@keyframes apple-power-on {
  0% {
    opacity: 0;
    transform: translateY(var(--window-content-reveal-offset));
    filter: brightness(0.85) drop-shadow(0 0 0 rgba(0, 133, 255, 0));
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: brightness(1) drop-shadow(0 0 34px rgba(0, 133, 255, 0.33));
  }
}

.window-3 .feature-icon {
  opacity: 0;
  transform: translateY(var(--window-content-reveal-offset));
  filter: brightness(0.85) drop-shadow(0 0 0 rgba(0, 133, 255, 0));
  will-change: opacity, transform, filter;
  animation: apple-power-on var(--apple-power-on-duration) cubic-bezier(0.2, 0.9, 0.2, 1) both;
  animation-delay: var(--apple-power-on-delay);
}
.window-3 .feature-title {
  animation-delay: calc((2 * var(--windows-intro-stagger)) + var(--window-content-reveal-after-intro) + (1 * var(--window-content-reveal-stagger)));
}
.window-3 .feature-copy {
  animation-delay: calc((2 * var(--windows-intro-stagger)) + var(--window-content-reveal-after-intro) + (2 * var(--window-content-reveal-stagger)));
}

@media (prefers-reduced-motion: reduce) {
  .window-1 .case-study-overlay .case-study-label,
  .window-2 .pricing-achievements,
  .window-2 .pricing-bottom > *,
  .window-3 .feature-title,
  .window-3 .feature-copy,
  .window-3 .social-proof h3,
  .window-3 .logo-grid {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .window-3 .feature-icon {
    animation: none;
    opacity: 1;
    transform: none;
    filter: brightness(1) drop-shadow(0 0 34px rgba(0, 133, 255, 0.33));
  }
}
.window-2 {
  /* initial configuration */
  /* width: 265px;
  height: 264px;
  transform: translate(calc(-100% + 43px), calc(-100% + 296px)); */
  /* animated configuration */
  width: 265px;
  height: 390px;
  transform: translate(calc(-100% + 43px), calc(-100% + 425px));
  top: 50%;
  left: 50%;
  animation-name: window-2-intro;
  animation-delay: calc(1 * var(--windows-intro-stagger));

  /* content layout only (keep window look unchanged) */
  display: flex;
/* 
  &:after {
    content: '';
    height: 100px;
    position: absolute;
    display: block;
    inset-block-start: 0;
    inset-inline: 0;
    background-image: linear-gradient(to bottom, var(--window-bg), transparent);
    z-index: 1;
    pointer-events: none;
    border-start-start-radius: 22px;
    border-start-end-radius: 22px;
  } */
}

/* Prefer an animatable overlay: solid color + gradient mask */
@supports ((-webkit-mask-image: linear-gradient(#000, transparent)) or (mask-image: linear-gradient(#000, transparent))) {
  .window-2::after {
    background-image: none;
    background-color: var(--window-bg);
    transition: background-color 0.3s ease;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
    mask-image: linear-gradient(to bottom, #000, transparent);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }
}

.pricing-tile {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;

}

.pricing-achievements {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
}

.achievements-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-color);
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.85;
}


.achievement-item .stat-number {
  font-size: inherit;
  line-height: 1;
}


.achievement-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--text-color);
  opacity: 0.7;
}

.achievement-item span {
  flex: 1;
}

.pricing-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.pricing-kicker {
  color: var(--text-color);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.5;
}

.pricing-title {
  color: var(--text-color);
  font-size: 28px;
  line-height: 1.05;
}

.pricing-copy {
  color: var(--text-color);
  font-size: 12px;
  line-height: 1.45;
  opacity: 0.7;
}

.pricing-cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 30px;
  border-radius: 20px;
  background-color: var(--button-bg);
  color: var(--button-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.pricing-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    1px 2px 2px hsl(var(--shadow-hsl) / 0.25),
    2px 4px 4px hsl(var(--shadow-hsl) / 0.2),
    4px 8px 8px hsl(var(--shadow-hsl) / 0.15),
    8px 16px 16px hsl(var(--shadow-hsl) / 0.1);
}

.pricing-cta:active {
  transform: translateY(0);
  opacity: 0.9;
}

.window-3 {
  /* initial configuration */
  /* width: 308px;
  height: 305px;
  transform: translate(calc(-100% + 373px), calc(-100% + 156px)); */
  /* animated configuration */
  width: 408px;
  height: 305px;
  transform: translate(calc(-100% + 475px), calc(-100% + 156px));
  top: 50%;
  left: 50%;
  
  animation-name: window-3-intro;
  animation-delay: calc(2 * var(--windows-intro-stagger));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.feature-tile {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.feature-icon {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 150px;
  height: auto;
  display: block;
}

/* (animation handled on .window-3 .feature-icon for a single-pass reveal) */

.feature-title {
  color: var(--text-color);
  font-size: 34px;
}

.feature-copy {
  color: var(--text-color);
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.55;
  max-width: 260px;
}

/* Window 3: social proof + logo grid */
.window-3 .social-proof {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.window-3 .social-proof h3 {
  color: var(--text-color);
  font-size: 14px;
  margin: 0;
  font-weight: normal;
  text-align: center;
  flex-shrink: 0;
}

.window-3 .logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  flex: 1;
  min-height: 0;
  gap: 1px;
  background:
    linear-gradient(to right, transparent 0%, var(--window-border-color) 50%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, var(--window-border-color) 50%, transparent 100%);
  background-color: transparent;
  background-blend-mode: lighten;
  transition: background-color 0.3s ease;
}

.window-3 .logo-grid-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  box-sizing: border-box;
  background-color: var(--window-bg);
  transition: background-color 0.3s ease;
}

.window-3 .logo-svg {
  width: 100%;
  max-width: 72px;
  height: auto;
  max-height: 28px;
  color: var(--text-color);
  transition: color 0.2s ease;
  opacity: 0.55;
}

/* BCG logo - make it smaller */
.window-3 .logo-grid-cell:nth-child(3) .logo-svg {
  max-width: 60px;
  max-height: 24px;
}

/* Novo Nordisk logo - double its size */
.window-3 .logo-grid-cell:nth-child(4) .logo-svg {
  max-width: 134px;
  max-height: 56px;
}

/* Window 3: social proof content reveal */
.window-3 .social-proof h3,
.window-3 .logo-grid {
  opacity: 0;
  transform: translateY(var(--window-content-reveal-offset));
  animation: window-content-reveal var(--window-content-reveal-duration) ease both;
}

.window-3 .social-proof h3 {
  animation-delay: calc((2 * var(--windows-intro-stagger)) + var(--window-content-reveal-after-intro));
}

.window-3 .logo-grid {
  animation-delay: calc((2 * var(--windows-intro-stagger)) + var(--window-content-reveal-after-intro) + var(--window-content-reveal-stagger));
}

.window-4 {
  /* initial configuration */
  /* width: 210px;
  height: 210px;
  top: 50%;
  left: 50%;
  transform: translate(66px, calc(-100% - 170px)); */
  /* animated configuration */
  width: 410px;
  height: 210px;
  transform: translate(66px, calc(-100% - 170px));
  top: 50%;
  left: 50%;
  background-color: var(--window-bg-alt);

  animation-name: window-4-intro;
  animation-delay: calc(3 * var(--windows-intro-stagger));
}

.window-5 {
  /* initial configuration */
  /* width: 250px;
  height: 245px;
  transform: translate(66px, calc(180px)); */
  /* animated configuration */
  width: 405px;
  height: 245px;
  transform: translate(70px, calc(180px));
  top: 50%;
  left: 50%;
  
  background-color: var(--window-bg-alt);

  animation-name: window-5-intro;
  animation-delay: calc(4 * var(--windows-intro-stagger));
}

.window-6 {
  /* initial configuration */
  /* width: 220px;
  height: 220px;
  transform: translate(calc(-100% - 250px), 34px); */
  /* animated configuration */
  width: 220px;
  height: 390px;
  transform: translate(calc(-100% - 250px), 34px);
  top: 50%;
  left: 50%;
  background-color: var(--window-bg-alt);

  animation-name: window-6-intro;
  animation-delay: calc(5 * var(--windows-intro-stagger));
}

/* Window intro keyframes (from initial → animated config) */
@keyframes window-1-intro {
  0% {
    width: 347px;
    height: 260px;
    transform: translate(calc(-100% + 40px), calc(-100% + 5px));
    opacity: 0;
  }
  100% {
    width: 509px;
    height: 386px;
    transform: translate(calc(-100% + 40px), calc(-100% + 5px));
    opacity: 1;
  }
}

@keyframes window-2-intro {
  0% {
    width: 265px;
    height: 264px;
    transform: translate(calc(-100% + 43px), calc(-100% + 296px));
    opacity: 0;
  }
  100% {
    width: 265px;
    height: 390px;
    transform: translate(calc(-100% + 43px), calc(-100% + 425px));
    opacity: 1;
  }
}

@keyframes window-3-intro {
  0% {
    width: 308px;
    height: 305px;
    transform: translate(calc(-100% + 373px), calc(-100% + 156px));
    opacity: 0;
  }
  100% {
    width: 408px;
    height: 305px;
    transform: translate(calc(-100% + 475px), calc(-100% + 156px));
    opacity: 1;
  }
}

@keyframes window-4-intro {
  0% {
    width: 210px;
    height: 210px;
    transform: translate(66px, calc(-100% - 170px));
    opacity: 0;
  }
  100% {
    width: 410px;
    height: 210px;
    transform: translate(66px, calc(-100% - 170px));
    opacity: 1;
  }
}

@keyframes window-5-intro {
  0% {
    width: 250px;
    height: 245px;
    transform: translate(70px, calc(180px));
    opacity: 0;
  }
  100% {
    width: 405px;
    height: 245px;
    transform: translate(70px, calc(180px));
    opacity: 1;
  }
}

@keyframes window-6-intro {
  0% {
    width: 220px;
    height: 220px;
    transform: translate(calc(-100% - 250px), 34px);
    opacity: 0;
  }
  100% {
    width: 220px;
    height: 390px;
    transform: translate(calc(-100% - 250px), 34px);
    opacity: 1;
  }
}

/* --- Stats tiles (windows 4, 5, 6) --- */
.window-4,
.window-5,
.window-6 {
  padding: 14px 14px 12px;

  .stat-number {
    margin-top: -10px;
  }
}

.stat-tile {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-size: 70px;
  line-height: 1;
  font-family: 'Cherry Bomb One', sans-serif;
  color: var(--text-color);
}


.stat-headline {
  color: var(--text-color);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
}

.stat-copy {
  color: var(--text-color);
  font-size: 12px;
  line-height: 1.35;
  opacity: 0.85;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 6;
  -webkit-line-clamp: 6;
}

.stat-source {
  margin-top: auto;
  color: var(--text-color);
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.55;
  font-weight: 500;
  text-decoration: none;
  display: inline;
}

.stat-source::after {
  content: '';
  display: inline-block;
  width: 0.88em;
  height: 0.88em;
  margin-left: 0.3em;
  vertical-align: -0.08em;
  opacity: 0.55;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M14%203a1%201%200%201%200%200%202h3.586L10.293%2014.293a1%201%200%200%200%201.414%201.414L21%206.414V10a1%201%200%201%200%202%200V4a1%201%200%200%200-1-1h-8ZM5%205a2%202%200%200%200-2%202v12a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2v-6a1%201%200%201%200-2%200v6H5V7h6a1%201%200%201%200%200-2H5Z%27/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M14%203a1%201%200%201%200%200%202h3.586L10.293%2014.293a1%201%200%200%200%201.414%201.414L21%206.414V10a1%201%200%201%200%202%200V4a1%201%200%200%200-1-1h-8ZM5%205a2%202%200%200%200-2%202v12a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2v-6a1%201%200%201%200-2%200v6H5V7h6a1%201%200%201%200%200-2H5Z%27/%3E%3C/svg%3E") no-repeat center / contain;
}

.stat-source:hover {
  opacity: 0.75;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stat-source:focus-visible {
  outline: 2px solid rgba(160, 185, 255, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

.stat-headline,
.stat-copy,
.stat-source {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 450ms ease, transform 450ms ease;
}

body.stats-reveal .stat-headline {
  opacity: 1;
}

body.stats-reveal .stat-copy {
  opacity: 0.85;
}

body.stats-reveal .stat-source {
  opacity: 0.55;
}

body.stats-reveal .stat-source:hover {
  opacity: 0.75;
}

body.stats-reveal .stat-source:focus-visible {
  outline: 2px solid rgba(160, 185, 255, 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

body.stats-reveal .stat-headline,
body.stats-reveal .stat-copy,
body.stats-reveal .stat-source {
  transform: translateY(0);
}

/* --- Very large screens: scale up the bento composition --- */
@media (min-width: 2000px) {
  .window-1 {
    width: 640px;
    height: 486px;
    transform: translate(calc(-100% + 60px), calc(-100% + 10px));
    background-size:
      480px auto,
      100% 100%;
  }

  .window-1 .toolbar {
    --window-1-toolbar-height: 40px;
    background-size:
      640px var(--window-1-toolbar-height),
      100% 100%;
  }

  .window-2 {
    width: 340px;
    height: 490px;
    transform: translate(calc(-100% + 55px), calc(-100% + 530px));
  }

  .pricing-achievements {
    padding: 20px;
  }
  
  .achievement-item {
    font-size: 12px;
  }

  .window-3 {
    width: 510px;
    height: 382px;
    transform: translate(calc(-100% + 590px), calc(-100% + 195px));
  }

  .window-4 {
    width: 512px;
    height: 262px;
    transform: translate(90px, calc(-100% - 215px));
  }

  .window-5 {
    width: 506px;
    height: 306px;
    transform: translate(90px, calc(225px));
  }

  .window-6 {
    width: 275px;
    height: 490px;
    transform: translate(calc(-100% - 310px), 45px);
  }

  /* Match the intro animations to the larger final geometry */
  @keyframes window-1-intro {
    0% {
      width: 434px;
      height: 325px;
      transform: translate(calc(-100% + 60px), calc(-100% + 10px));
      opacity: 0;
    }
    100% {
      width: 640px;
      height: 486px;
      transform: translate(calc(-100% + 60px), calc(-100% + 10px));
      opacity: 1;
    }
  }

  @keyframes window-2-intro {
    0% {
      width: 340px;
      height: 330px;
      transform: translate(calc(-100% + 55px), calc(-100% + 370px));
      opacity: 0;
    }
    100% {
      width: 340px;
      height: 490px;
      transform: translate(calc(-100% + 55px), calc(-100% + 530px));
      opacity: 1;
    }
  }

  @keyframes window-3-intro {
    0% {
      width: 385px;
      height: 382px;
      transform: translate(calc(-100% + 470px), calc(-100% + 195px));
      opacity: 0;
    }
    100% {
      width: 510px;
      height: 382px;
      transform: translate(calc(-100% + 590px), calc(-100% + 195px));
      opacity: 1;
    }
  }

  @keyframes window-4-intro {
    0% {
      width: 262px;
      height: 262px;
      transform: translate(90px, calc(-100% - 215px));
      opacity: 0;
    }
    100% {
      width: 512px;
      height: 262px;
      transform: translate(90px, calc(-100% - 215px));
      opacity: 1;
    }
  }

  @keyframes window-5-intro {
    0% {
      width: 312px;
      height: 306px;
      transform: translate(90px, calc(225px));
      opacity: 0;
    }
    100% {
      width: 506px;
      height: 306px;
      transform: translate(90px, calc(225px));
      opacity: 1;
    }
  }

  @keyframes window-6-intro {
    0% {
      width: 275px;
      height: 275px;
      transform: translate(calc(-100% - 310px), 45px);
      opacity: 0;
    }
    100% {
      width: 275px;
      height: 490px;
      transform: translate(calc(-100% - 310px), 45px);
      opacity: 1;
    }
  }
}

@media (max-width: 768px) {
  
  .logo {
    font-size: 40px;
    position: relative;
    inset: auto;
    margin: 0 0 18px 0;
  }

  .container {
    height: auto;
    min-height: 0;
    overflow: visible;
    /* make room for the fixed header controls */
    padding: 92px 16px 58px;
  }

  .header-controls {
    top: 16px;
    right: 16px;
    left: 16px;
    justify-content: space-between;
  }

  .cta-button {
    padding: 10px 16px;
    text-align: center;
  }

  .container-overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: auto;
  }

  .footer {
    position: relative;
  }


  /* Mobile layout: stack everything in normal flow */
  .window {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    translate: 0 0 !important;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin: 0 auto 14px;
    animation: none;
  }

  /* Window-specific sizing adjustments */
  .window-1 {
    /* keep the “toolbar + popover” visible while being responsive */
    aspect-ratio: 509 / 386;
    background-position: center calc(50% - 20px) , center center;
    background-size:
      min(78%, 390px) auto,
      100% 100%;
  }

  .window-1 .toolbar {
    --window-1-toolbar-height: 24px;
    background-size:
      100% auto;
  }

  .pricing-achievements {
    padding: 16px;
  }

  /* Content reveal animations: keep everything visible on mobile */
  .window-1 .case-study-overlay .case-study-label,
  .window-1 .case-study-overlay .case-study-label-prefix,
  .window-2 .pricing-achievements,
  .window-2 .pricing-bottom > *,
  .window-3 .feature-title,
  .window-3 .feature-copy,
  .window-3 .social-proof h3,
  .window-3 .logo-grid {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .window-3 .feature-icon {
    animation: none;
    opacity: 1;
    transform: none;
    filter: brightness(1) drop-shadow(0 0 34px rgba(0, 133, 255, 0.33));
  }
}

/* --- Mobile: stacked layout (override desktop bento positioning) --- */
@media (max-width: 768px) {
  .window.window-1,
  .window.window-2,
  .window.window-3,
  .window.window-4,
  .window.window-5,
  .window.window-6 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 560px;
    height: auto !important;
    margin: 0 auto 14px;
    animation: none !important;
  }

}

.linkedin-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background-color: #000d13;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* Get in touch section */
.get-in-touch-section {
  width: 100%;
  min-height: 100vh;
  background-color: transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px max(5vw, 24px);
  box-sizing: border-box;
  overflow: hidden;
}

.get-in-touch-title-header {
  width: 100%;
  margin-bottom: 4rem;
  text-align: center;
}

.get-in-touch-section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-color);
  transition: color 0.3s ease;
  margin: 0;
  text-align: center;
  font-family: 'Cherry Bomb One', sans-serif;
  font-weight: 400;
}

.get-in-touch-content {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  position: relative;
}

/* Contact line container with switch */
.contact-line-container {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  min-height: 60px;
  padding: 0;
  box-sizing: border-box;
}

.contact-switch-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 60px;
  margin: 0 auto;
}

.contact-switch {
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: 4px solid var(--window-bg);
  border-radius: 30px;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 
    0.5px 1px 1px hsl(var(--shadow-hsl) / 0.1),
    1px 2px 2px hsl(var(--shadow-hsl) / 0.08);
}

.contact-switch:hover {
  border-color: var(--window-bg-alt);
  box-shadow: 
    0.5px 1px 1px hsl(var(--shadow-hsl) / 0.15),
    1px 2px 2px hsl(var(--shadow-hsl) / 0.12),
    2px 4px 4px hsl(var(--shadow-hsl) / 0.1);
}

.contact-switch-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
  z-index: 2;
  position: relative;
}

.contact-switch-option.active {
  opacity: 1;
  color: var(--text-color);
}

.contact-switch::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background-color: var(--window-bg-alt);
  border-radius: 26px;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1);
  z-index: 1;
}

.contact-switch[data-active="individual"]::before {
  transform: translateX(0);
}

.contact-switch[data-active="organization"]::before {
  transform: translateX(100%);
}

/* Typeform-style form */
.typeform-container {
  width: 100%;
  max-width: 500px;
  position: relative;
  min-height: 400px;
  padding: 0 20px;
}

.typeform-progress {
  width: min(390px, 100%);
  margin: 0 auto;
  height: 4px;
  background-color: var(--window-bg);
  border-radius: 2px;
  margin-bottom: 3rem;
  opacity: 0;
  transition: opacity 0.4s ease,
              background-color 0.6s ease;
}

.complete .typeform-progress {
  display: none;
}

.typeform-progress.visible {
  opacity: 1;
}

.typeform-progress-bar {
  height: 100%;
  background-color: var(--button-bg);
  width: 0%;
  transition: width 0.5s cubic-bezier(0.2, 0.9, 0.2, 1),
              background-color 0.6s ease;
  border-radius: 2px;
}

/* Progress row: back + bar */
.typeform-progress-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  margin-bottom: 0;
}
.typeform-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 12px;
}
.typeform-question-counter {
  font-size: 0.85rem;
  color: var(--text-color);
  opacity: 0.75;
}
.typeform-question-counter[aria-hidden="true"]:empty {
  visibility: hidden;
}
.typeform-back-btn {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.8;
  padding: 4px 0;
  margin-bottom: 0;
  font-family: inherit;
}
.typeform-back-btn:hover {
  opacity: 1;
  text-decoration: underline;
}
.typeform-back-btn[aria-hidden="true"] {
  visibility: hidden;
  pointer-events: none;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.typeform-progress-row .typeform-progress {
  width: 100%;
  margin-bottom: 3rem;
}

/* Progress shell */
.typeform-progress-shell {
  width: 100%;
  position: relative;
}
.typeform-progress-shell.hidden-for-simple {
  display: none !important;
}
.typeform-progress-shell.simple-message-mode .typeform-progress {
  display: none;
}

.typeform-progress-shell .typeform-progress {
  position: relative;
  z-index: 2;
}

.typeform-progress-shell.complete .typeform-progress-bar {
  background-color: color-mix(in srgb, var(--bg-color) 70%, #000 30%);
}
.typeform-progress-shell.complete .typeform-progress-top {
  display: none;
}

button .check-icon {
  width: 10px;
  height: 11px;
  margin-left: 4px;
  path {
    stroke-width: 1.5px;
  }
}

/* ── Confetti canvas ── */
.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.confetti-canvas.active {
  opacity: 1;
}

/* ── Success celebration screen ── */
.typeform-success {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 3;
}

/* Animated check circle */
.success-circle {
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
  color: var(--text-color);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.typeform-success.active .success-circle {
  opacity: 1;
  transform: scale(1);
}

.success-check {
  width: 100%;
  height: 100%;
}

.success-check-circle {
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  transition: stroke-dashoffset 0.6s ease 0.2s;
}
.typeform-success.active .success-check-circle {
  stroke-dashoffset: 0;
}

.success-check-mark {
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  transition: stroke-dashoffset 0.4s ease 0.6s;
}
.typeform-success.active .success-check-mark {
  stroke-dashoffset: 0;
}

.success-title {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
}
.typeform-success.active .success-title {
  opacity: 1;
  transform: translateY(0);
}

.typeform-success-message {
  font-size: 17px;
  color: var(--text-color);
  opacity: 0;
  line-height: 1.6;
  margin: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.6s, transform 0.5s ease 0.6s, color 0.6s ease;
}
.typeform-success.active .typeform-success-message {
  opacity: 0.75;
  transform: translateY(0);
}

.success-micro-break {
  font-size: 15px;
  color: var(--text-color);
  opacity: 0;
  margin: 6px 0 0;
  font-style: italic;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.9s, transform 0.5s ease 0.9s, color 0.6s ease;
}
.typeform-success.active .success-micro-break {
  opacity: 0.5;
  transform: translateY(0);
}

/* Link-style "Just send a message" below first question */
.typeform-link-btn {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  margin-top: 0.5rem;
  text-decoration: underline;
  opacity: 0.85;
}
.typeform-link-btn:hover {
  opacity: 1;
}

/* Simple message form (email + message only) */
.simple-message-wrap {
  display: none;
  width: 100%;
}
.simple-message-wrap[hidden] {
  display: none !important;
}
.simple-message-wrap:not([hidden]) {
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.simple-message-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.simple-message-label {
  font-size: 0.95rem;
  color: var(--text-color);
  margin: 0;
  font-weight: 400;
}
.simple-message-submit {
  align-self: flex-start;
}

.typeform-form {
  width: 100%;
  position: relative;
}
.typeform-form.hidden-for-simple {
  display: none !important;
}

.typeform-question {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.2, 0.9, 0.2, 1),
              transform 0.5s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.typeform-question.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.typeform-question.prev {
  transform: translateX(-30px);
}

.typeform-question-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.typeform-question-title {
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  color: var(--text-color);
  margin: 0;
  font-weight: 400;
  line-height: 1.2;
  transition: color 0.6s ease;
  text-align: center;
}

.typeform-input,
.typeform-textarea {
  width: 100%;
  padding: 16px 20px;
  background-color: var(--window-bg);
  border: 2px solid var(--window-border-color);
  border-radius: 12px;
  color: var(--text-color);
  font-size: 16px;
  font-family: inherit;
  transition: background-color 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease;
  box-sizing: border-box;
}

.typeform-input::placeholder,
.typeform-textarea::placeholder {
  color: var(--text-color);
  opacity: 0.4;
}

.typeform-input:focus,
.typeform-textarea:focus {
  outline: none;
  border-color: var(--text-color);
}

.typeform-textarea {
  resize: vertical;
  min-height: 140px;
  font-family: inherit;
  line-height: 1.5;
}

.typeform-options-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.typeform-option {
  width: 100%;
  padding: 18px 24px;
  background-color: var(--window-bg);
  border: 2px solid var(--window-border-color);
  border-radius: 12px;
  color: var(--text-color);
  font-size: 16px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease,
              transform 0.3s cubic-bezier(0.2, 0.9, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.typeform-option::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background-color: var(--window-bg-alt);
  transition: width 0.3s cubic-bezier(0.2, 0.9, 0.2, 1),
              background-color 0.2s ease;
  z-index: 0;
}

.typeform-option span {
  position: relative;
  z-index: 1;
}

.typeform-option:hover {
  border-color: var(--text-color);
  transform: translateX(4px);
  box-shadow: 
    0.5px 1px 1px hsl(var(--shadow-hsl) / 0.08);
}

.typeform-option:hover::before {
  width: 100%;
}

.typeform-option:active {
  transform: translateX(2px);
}

.typeform-next-btn {
  align-self: flex-start;
  padding: 14px 28px;
  background-color: var(--button-bg);
  color: var(--button-text);
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.6s ease,
              color 0.6s ease,
              transform 0.2s ease,
              box-shadow 0.2s ease,
              opacity 0.3s ease;
  opacity: 0.5;
  pointer-events: none;
}

.typeform-next-btn:enabled {
  opacity: 1;
  pointer-events: auto;
}

.typeform-next-btn:enabled:hover {
  transform: translateY(-1px);
  box-shadow:
    1px 2px 2px hsl(var(--shadow-hsl) / 0.25),
    2px 4px 4px hsl(var(--shadow-hsl) / 0.2),
    4px 8px 8px hsl(var(--shadow-hsl) / 0.15);
}

.typeform-next-btn:enabled:active {
  transform: translateY(0);
}

.typeform-success {
  text-align: center;
}

.typeform-success-message {
  font-size: 18px;
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
  margin: 0;
  transition: color 0.6s ease;
}

@media (max-width: 768px) {
  .get-in-touch-section {
    padding: 60px 24px;
    min-height: 90vh;
  }

  .get-in-touch-title-header {
    margin-bottom: 3rem;
  }

  .typeform-container {
    min-height: 350px;
  }

  .typeform-progress {
    margin-bottom: 2rem;
  }

  .typeform-question-title {
    font-size: 1.5rem;
  }

  .typeform-input,
  .typeform-textarea,
  .typeform-option {
    font-size: 15px;
    padding: 14px 18px;
  }

  .typeform-option {
    padding: 16px 20px;
  }

  .contact-switch-container {
    width: 200px;
    height: 50px;
  }

  .contact-switch-option {
    font-size: 13px;
  }

  .form-fields-container {
    min-height: 280px;
  }
}

/* ═══════════════════════════════════════════════════
   Cookie Consent Toast
   ═══════════════════════════════════════════════════ */

.cookie-toast {
  position: fixed;
  bottom: 48px;
  left: 20px;
  transform: translateY(20px);
  z-index: 10000;
  background: var(--window-bg);
  border: 1px solid var(--window-border-color);
  border-radius: 18px;
  padding: 20px 26px;
  max-width: 293px;
  width: calc(100% - 40px);
  box-shadow:
    0 4px 12px hsl(var(--shadow-hsl) / 0.12),
    0 16px 40px hsl(var(--shadow-hsl) / 0.08);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 400ms ease,
    transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
    background 600ms ease,
    border-color 600ms ease;
  font-family: inherit;
  box-sizing: border-box;
}

.cookie-toast-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-toast-text {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-color);
  transition: color 600ms ease;
}

.cookie-toast-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-btn {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 9px 16px;
  cursor: pointer;
  transition:
    background 200ms ease,
    color 200ms ease,
    transform 120ms ease,
    box-shadow 200ms ease;
}

.cookie-btn:active {
  transform: scale(0.97);
}

.cookie-btn-accept {
  background: var(--button-bg);
  color: var(--button-text);
}

.cookie-btn-accept:hover {
  box-shadow: 0 2px 8px hsl(var(--shadow-hsl) / 0.25);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--window-border-color);
  transition: background 200ms ease, color 200ms ease, border-color 600ms ease;
}

.cookie-btn-reject:hover {
  background: hsl(var(--shadow-hsl) / 0.06);
}

.cookie-btn-customize,
.cookie-btn-back {
  background: transparent;
  color: var(--text-color);
  opacity: 0.7;
  padding: 9px 12px;
  transition: opacity 200ms ease, color 600ms ease;
}

.cookie-btn-customize:hover,
.cookie-btn-back:hover {
  opacity: 1;
}

.cookie-toast-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-color);
  opacity: 0.5;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 200ms ease, color 600ms ease;
}

.cookie-toast-link:hover {
  opacity: 0.8;
}

/* ── Toggles ─────────────────────────────────────── */

.cookie-toggles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

.cookie-toggle-info {
  flex: 1;
}

.cookie-toggle-info strong {
  display: block;
  font-size: 13px;
  color: var(--text-color);
  margin-bottom: 2px;
  transition: color 600ms ease;
}

.cookie-toggle-info small {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-color);
  opacity: 0.6;
  transition: color 600ms ease;
}

.cookie-toggle-info code {
  font-size: 10px;
  background: hsl(var(--shadow-hsl) / 0.08);
  padding: 1px 5px;
  border-radius: 4px;
}

/* Hide native checkbox */
.cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Slider track */
.cookie-slider {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 22px;
  background: hsl(var(--shadow-hsl) / 0.15);
  border-radius: 12px;
  transition: background 200ms ease;
}

/* Slider knob */
.cookie-slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 200ms ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* Checked state */
.cookie-toggle input:checked + .cookie-slider {
  background: var(--button-bg);
}

.cookie-toggle input:checked + .cookie-slider::after {
  transform: translateX(18px);
}

/* Locked (always-on) */
.cookie-slider-locked {
  background: var(--button-bg);
  opacity: 0.5;
}

.cookie-slider-locked::after {
  transform: translateX(18px);
}

/* ── Mobile adjustments ─────────────────────────── */
@media (max-width: 480px) {
  .cookie-toast {
    bottom: 16px;
    left: 16px;
    border-radius: 14px;
    padding: 16px 18px;
    max-width: calc(100% - 32px);
  }

  .cookie-toast-text {
    font-size: 12px;
  }

  .cookie-btn {
    font-size: 11px;
    padding: 8px 12px;
  }
}
