/* ==========================================================================
   Sintegrum — landing page
   Design system: Awesomic style reference (editorial zinc grid, single
   punctuation accent) with the accent recolored to Sintegrum's brand blue.
   See design.md for rationale.
   Dark theme only — the site no longer offers a light mode or a toggle.
   ========================================================================== */

:root {
  /* Colors — fixed palette, do not theme these directly; use the semantic
     tokens below */
  --color-obsidian: #09090b;
  --color-graphite: #18181b;
  --color-slate: #27272a;
  --color-iron: #3f3f46;
  --color-steel: #52525b;
  --color-fog: #71717a;
  --color-ash: #a1a1aa;
  --color-mist: #d4d4d8;
  --color-cloud: #ececee;
  --color-paper: #f4f4f5;
  --color-snow: #ffffff;
  --color-accent: #1689ff;
  --color-electric: #59d7ff;
  --color-ice: #eaf6ff;
  --gradient-accent: linear-gradient(135deg, #050f2c 0%, #0a3fb8 45%, #1c72ea 78%, #3e8fff 100%);
  --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(17, 80, 180, 0.2) 42%, rgba(5, 9, 20, 0.72));

  /* Semantic surfaces */
  --surface-canvas: #02040a;
  --surface-card: rgba(10, 14, 24, 0.86);
  --surface-subtle-card: rgba(17, 24, 39, 0.8);
  --surface-dark: rgba(4, 12, 28, 0.94);
  --surface-emphasis: var(--color-snow);
  --nav-bg: rgba(9, 9, 11, 0.86);

  /* Semantic text */
  --text-heading: var(--color-snow);
  --text-body-color: rgba(255, 255, 255, 0.88);
  --text-secondary: #7d8196;
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-on-emphasis: var(--color-obsidian);

  /* Semantic borders */
  --border-hairline: rgba(181, 215, 255, 0.16);

  /* Typography */
  --font-cosmica: 'DM Sans', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-caption: 12px;
  --leading-caption: 1.64;
  --text-body: 16px;
  --leading-body: 1.55;
  --text-body-lg: 16px;
  --leading-body-lg: 1.55;
  --text-subheading: 20px;
  --leading-subheading: 1.5;
  --text-heading-sm: 32px;
  --leading-heading-sm: 1.5;
  --text-heading-md: 40px;
  --leading-heading-md: 1.28;
  --text-heading-lg: 56px;
  --leading-heading-lg: 1.28;
  --text-display: 64px;
  --leading-display: 1.12;

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --spacing-28: 28px;
  --spacing-32: 32px;
  --spacing-36: 36px;
  --spacing-40: 40px;
  --spacing-48: 48px;
  --spacing-64: 64px;
  --spacing-68: 68px;
  --spacing-80: 80px;
  --spacing-120: 120px;

  /* Layout */
  --page-max-width: 1200px;
  --section-gap: 50px;
  --card-padding: 28px;
  --element-gap: 8px;

  /* Radii */
  --radius-badges: 12px;
  --radius-inputs: 14px;
  --radius-buttons: 14px;
  --radius-cards: 22px;
  --radius-icons: 40px;
  --radius-pills: 10000px;

  /* Shadows (used sparingly — hairline borders are the primary elevation tool) */
  --shadow-subtle: rgba(255, 255, 255, 0.5) 0px 0.5px 0px 0px inset,
    rgba(117, 123, 133, 0.4) 0px 9px 14px -5px inset,
    rgb(44, 46, 52) 0px 0px 0px 1.5px,
    rgba(0, 0, 0, 0.14) 0px 4px 6px 0px;
  --shadow-md: rgba(0, 0, 0, 0.04) 0px 4px 12px 0px;
}

/* ---------------------------------------------------------------------- */
/* Reset                                                                   */
/* ---------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

html, body {
  overflow-x: hidden;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body {
  margin: 0;
  background: var(--surface-canvas);
  color: var(--text-body-color);
  font-family: var(--font-cosmica);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}

h1, h2, h3, p, ul, ol {
  margin: 0;
}

h1, h2, h3,
.nav__logo,
.footer__brand span,
.calc-result strong,
.case-photo__stat span:first-child {
  font-family: var(--font-heading);
  letter-spacing: 0;
}

h1,
h2 {
  font-weight: var(--font-weight-regular);
  color: var(--color-snow);
}

h3 {
  font-weight: var(--font-weight-medium);
  color: var(--color-snow);
}

p {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--text-secondary);
}

ul {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section--tight {
  padding: 48px 0 var(--section-gap);
}

.section--contrast {
  position: relative;
  isolation: isolate;
}

.section--contrast::before,
.section--contrast::after {
  display: none;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-12);
  text-align: center;
  margin-bottom: var(--spacing-48);
}

.section-head__eyebrow {
  display: none;
}

.section-head h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: var(--font-weight-regular);
  line-height: 1.04;
  color: var(--text-heading);
  letter-spacing: 0;
}

.section-head__line {
  display: block;
}

.section-head p {
  max-width: 720px;
  color: var(--text-secondary);
  font-size: var(--text-body-lg);
  line-height: var(--leading-body-lg);
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: none;
  font-family: inherit;
  font-size: var(--text-body);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  transition:
    background-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background-position 520ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:not(.btn--pill)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 18px;
  font-size: 1.15em;
  font-weight: 400;
  line-height: 1;
  opacity: 0;
  transform: translate(10px, -50%);
  transition:
    opacity 380ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn:not(.btn--pill):hover::after,
.btn:not(.btn--pill):focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.btn__label {
  display: inline-block;
  transform: translateX(0);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:not(.btn--pill):hover .btn__label,
.btn:not(.btn--pill):focus-visible .btn__label {
  transform: translateX(-10px);
}

.btn--ghost,
.btn--ghost-dark {
  background: var(--color-snow);
  color: #02040a;
  border-radius: var(--radius-buttons);
  padding: 11px 44px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.btn--ghost:hover,
.btn--ghost-dark:hover {
  background: var(--color-snow);
  color: #02040a;
  opacity: 1;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.btn--primary {
  height: 48px;
  padding: 0 44px;
  border-radius: var(--radius-buttons);
  background: var(--color-snow);
  color: #02040a;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.btn--primary:hover {
  background: var(--color-snow);
  color: #02040a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.nav .btn--primary {
  height: 40px;
  padding: 0 34px;
  font-size: 14px;
}

.nav .btn--primary::after {
  right: 10px;
  font-size: 1em;
}

.btn--pill {
  border-radius: var(--radius-buttons);
  padding: 9px 20px;
  font-size: 14px;
  background: var(--surface-subtle-card);
  color: var(--text-muted);
}

.btn--pill:hover {
  background: var(--surface-subtle-card);
}

.btn--pill[aria-selected="true"] {
  background: var(--surface-emphasis);
  color: var(--text-on-emphasis);
}

.btn--pill[aria-selected="true"]:hover {
  background: var(--surface-emphasis);
}

/* ---------------------------------------------------------------------- */
/* Nav                                                                     */
/* ---------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(1, 6, 18, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-hairline);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: var(--font-weight-semibold);
  font-size: 18px;
  color: var(--text-heading);
  letter-spacing: 0;
}

.nav__logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s ease-out;
}

.nav__links a:hover {
  color: var(--text-heading);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  flex-shrink: 0;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-heading);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 4px 24px 16px;
  border-top: 1px solid var(--border-hairline);
  background: rgba(1, 6, 18, 0.98);
}

.nav__mobile a {
  padding: 14px 0;
  font-size: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-hairline);
}

.nav__mobile a:last-child {
  border-bottom: none;
}

.nav__mobile.is-open {
  display: flex;
}

.nav__mobile-cta {
  display: none;
}

@media (max-width: 1080px) {
  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__mobile-cta {
    display: flex;
    width: 100%;
    margin-top: 12px;
  }
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 106px 0 0;
  overflow: hidden;
  background: #01040c;
  border-radius: 0;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  z-index: 1;
}

.hero::before {
  background:
    linear-gradient(180deg, #01040c 0%, #01040c 24%, rgba(1, 4, 12, 0.88) 30%, rgba(1, 4, 12, 0.22) 42%, rgba(1, 4, 12, 0.04) 52%, transparent 64%),
    radial-gradient(ellipse at 78% 52%, rgba(36, 80, 255, 0.24), transparent 38%);
}

.hero::after {
  background: linear-gradient(180deg, transparent 88%, rgba(1, 4, 12, 0.04) 94%, #01040c 100%);
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
  padding-bottom: 0;
}

.hero__eyebrow {
  display: none;
}

.hero h1 {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: var(--font-weight-regular);
  line-height: 1.03;
  color: var(--text-heading);
  letter-spacing: 0;
  max-width: 820px;
  text-wrap: balance;
  text-shadow: 0 0 36px rgba(255, 255, 255, 0.1);
}

.hero__lede {
  max-width: 760px;
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.hero__media {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 16 / 7.4;
  overflow: hidden;
  margin: calc(-0.04 * min(100vw, 1600px)) auto 0;
  border: none;
  border-radius: 0;
  background: #01040c;
  box-shadow: none;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, #01040c 0%, rgba(1, 4, 12, 0.64) 8%, rgba(1, 4, 12, 0.12) 24%, transparent 40%);
}

.hero__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* ---------------------------------------------------------------------- */
/* Logo ticker                                                            */
/* ---------------------------------------------------------------------- */

.ticker {
  position: relative;
  overflow: hidden;
  height: 96px;
  display: flex;
  align-items: center;
  margin-bottom: var(--section-gap);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  background: rgba(2, 4, 10, 0.64);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.ticker__track.is-ready {
  animation: ticker-scroll 96s linear infinite;
}

.ticker__group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  flex-shrink: 0;
}

.ticker__group img {
  height: 34px;
  width: auto;
  max-width: 174px;
  flex-shrink: 0;
}

.ticker__group img {
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.76;
}

.ticker__wordmark {
  color: var(--color-snow);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.76;
}

@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------------------------------------------------------------------- */
/* Pain quotes                                                            */
/* ---------------------------------------------------------------------- */

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.quote-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  min-height: 252px;
  height: 100%;
  background: var(--surface-card);
  contain: layout paint;
}

.quote-card--plain:hover {
  transform: none;
}

.quote-card--featured {
  grid-column: auto;
  color: var(--color-snow);
}

.quote-card__mark {
  position: absolute;
  top: 8px;
  left: var(--card-padding);
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1;
  font-weight: var(--font-weight-medium);
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  user-select: none;
}

.quote-card--plain .quote-card__mark {
  color: var(--border-hairline);
}

.quote-card p {
  position: relative;
  z-index: 1;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  margin: 56px 0 0;
  color: var(--color-snow);
  font-weight: var(--font-weight-medium);
  min-height: 0;
}

.quote-card--featured p {
  font-size: var(--text-body);
}

/* ---------------------------------------------------------------------- */
/* Calculator                                                             */
/* ---------------------------------------------------------------------- */

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.calc-card {
  position: relative;
  overflow: hidden;
  background: var(--gradient-accent);
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-card > * {
  position: relative;
  z-index: 1;
}

.calc-card h3 {
  font-size: 24px;
  font-weight: var(--font-weight-semibold);
  color: var(--text-heading);
}

.calc-card__hint {
  font-size: var(--text-body);
  color: rgba(255, 255, 255, 0.78);
  line-height: var(--leading-body);
  margin-top: 6px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-field__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.calc-field__row span:first-child {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.calc-field__row span:last-child {
  font-size: 22px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-snow);
  white-space: nowrap;
  flex-shrink: 0;
}

.calc-field input[type="range"] {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(
    to right,
    var(--color-snow) var(--fill, 0%),
    rgba(255, 255, 255, 0.34) var(--fill, 0%)
  );
}

.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-snow);
  border: 3px solid var(--color-accent);
  box-shadow: 0 0 0 2px rgba(89, 215, 255, 0.22), 0 0 22px rgba(22, 137, 255, 0.5);
}

.calc-field input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-snow);
  border: 3px solid var(--color-accent);
  box-shadow: 0 0 0 2px rgba(89, 215, 255, 0.22), 0 0 22px rgba(22, 137, 255, 0.5);
}

.calc-result {
  position: relative;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
  padding: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-result::after {
  display: none;
}

.calc-result p:first-child {
  font-size: var(--text-body);
  color: rgba(255, 255, 255, 0.8);
}

.calc-result__caption {
  font-family: monospace;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.calc-result strong {
  font-size: clamp(56px, 7vw, 84px);
  font-weight: var(--font-weight-semibold);
  color: var(--color-snow);
  line-height: 1;
  text-shadow: 0 0 34px rgba(89, 215, 255, 0.22);
}

.calc-notes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-notes p {
  font-size: var(--text-body);
  color: var(--color-snow);
  line-height: var(--leading-body);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.diagnosis-card {
  background: var(--surface-card);
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--color-snow);
}

.diagnosis-card__eyebrow {
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.diagnosis-card h3 {
  font-size: 22px;
  font-weight: var(--font-weight-medium);
  line-height: 1.3;
  color: var(--color-snow);
}

.diagnosis-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.diagnosis-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-body);
}

.diagnosis-list li p {
  color: var(--color-snow);
}

.diagnosis-list li img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------- */
/* Cases / testimonials                                                  */
/* ---------------------------------------------------------------------- */

.tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.case-progress {
  --case-interval: 6500ms;
  position: relative;
  z-index: 2;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(4, 8, 18, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.case-tab {
  position: relative;
  min-height: 56px;
  overflow: hidden;
  padding: 14px 20px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(12, 20, 42, 0.76), rgba(3, 7, 17, 0.68));
  color: var(--text-heading);
  text-align: center;
  isolation: isolate;
  transition: background 220ms ease, color 220ms ease;
}

.case-tab:last-child {
  border-right: 0;
}

.case-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle at 22% 0%, rgba(23, 155, 255, 0.42), transparent 36%),
    linear-gradient(135deg, rgba(16, 62, 163, 0.72), rgba(7, 15, 37, 0.62));
  transition: opacity 220ms ease;
}

.case-tab[aria-selected="true"]::before {
  opacity: 1;
}

.case-tab__progress {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, var(--color-accent), #89d9ff);
  box-shadow: 0 0 26px rgba(20, 156, 255, 0.7);
}

.case-tab[aria-selected="true"] .case-tab__progress {
  animation: caseProgress var(--case-interval) linear forwards;
}

.case-progress.is-paused .case-tab__progress {
  animation-play-state: paused;
}

.case-tab__title {
  position: relative;
  display: block;
  font-size: 15px;
  font-weight: var(--font-weight-medium);
  line-height: 1.3;
  color: var(--text-heading);
}

@keyframes caseProgress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(400px, 1fr) 1fr;
  gap: 18px;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 32px;
  background: rgba(4, 8, 18, 0.92);
  height: 720px;
}

.case-grid::before {
  display: none;
}

.case-photo {
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  border-radius: 22px;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  background: transparent;
}

.case-photo__media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface-subtle-card);
}

.case-photo__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(2, 5, 13, 0.28) 100%);
  pointer-events: none;
}

.case-photo__media > #caseImg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.05) brightness(0.92);
  transition: opacity 360ms ease, transform 440ms ease;
}

.case-photo__media > #caseImg[data-case="1"] {
  object-position: center;
}

.case-photo__media > #caseImg[data-case="2"] {
  object-position: center;
}

.case-photo__media > #caseImg[data-case="3"] {
  object-position: center;
}

.case-photo__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  transition: opacity 320ms ease, transform 360ms ease;
}

.case-photo__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 124px;
  justify-content: center;
  padding: 18px 20px;
  border-radius: 16px;
  background:
    linear-gradient(0deg, rgba(2, 6, 16, 0.55) 0%, rgba(2, 6, 16, 0.18) 45%, transparent 72%),
    var(--gradient-accent);
  box-shadow: none;
  overflow: hidden;
}

.case-photo__stat > span:first-of-type,
.case-photo__stat > span:last-of-type {
  overflow-wrap: break-word;
}

.case-photo__stat > span:first-of-type {
  font-size: clamp(20px, 2vw, 32px);
  font-weight: var(--font-weight-medium);
  color: var(--color-snow);
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.case-photo__stat > span:last-of-type {
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.case-detail {
  position: relative;
  z-index: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  height: 100%;
  transition: opacity 320ms ease, transform 360ms ease;
}

.case-detail h3 {
  font-size: clamp(28px, 2.3vw, 34px);
  font-weight: var(--font-weight-medium);
  color: var(--text-heading);
  line-height: 1.08;
  letter-spacing: 0;
}

.case-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
}

.case-block span {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--color-accent);
}

.case-block p,
.case-block li {
  font-size: 15px;
  color: var(--color-snow);
  line-height: 1.48;
}

.case-grid.is-switching #caseImg {
  opacity: 0;
  transform: scale(1.018);
}

.case-grid.is-switching .case-photo__stats,
.case-grid.is-switching .case-detail {
  opacity: 0;
  transform: translateY(8px);
}

.case-block ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-block li {
  display: block;
}

/* ---------------------------------------------------------------------- */
/* Industries                                                             */
/* ---------------------------------------------------------------------- */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.industry-card {
  padding: 24px;
  min-height: 280px;
  border: 1px solid rgba(125, 129, 150, 0.16);
  border-radius: var(--radius-cards);
  background:
    radial-gradient(circle at 20% 0%, rgba(22, 137, 255, 0.18), transparent 24%),
    rgba(8, 12, 22, 0.64);
  display: flex;
  flex-direction: column;
}

.industry-card h3 {
  margin-top: 28px;
}

.industry-card p {
  margin-top: 16px;
}

.industry-card:hover {
  transform: none;
}

.industry-card__icon {
  width: 104px;
  height: 104px;
  object-fit: contain;
  margin: -20px 0 -4px -20px;
  filter: drop-shadow(0 0 24px rgba(22, 137, 255, 0.35));
  opacity: 0.9;
  transition: opacity 180ms ease;
}

.industry-card__icon.is-animating {
  opacity: 1;
}

.industry-card h3 {
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  color: var(--text-heading);
}

.industry-card p {
  font-size: var(--text-body);
  color: var(--text-secondary);
  line-height: var(--leading-body);
}

/* ---------------------------------------------------------------------- */
/* Before / after                                                         */
/* ---------------------------------------------------------------------- */

.compare-grid {
  display: flex;
  align-items: stretch;
  gap: 56px;
}

.compare-card {
  flex: 1;
  min-width: 0;
}

.compare-divider {
  position: relative;
  flex-shrink: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(22, 137, 255, 0.04) 10%,
    rgba(125, 129, 150, 0.16) 30%,
    rgba(22, 137, 255, 0.58) 50%,
    rgba(125, 129, 150, 0.16) 70%,
    rgba(22, 137, 255, 0.04) 90%,
    transparent 100%
  );
}

.compare-divider__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--color-snow);
  font-size: 18px;
  box-shadow: 0 12px 30px rgba(10, 101, 255, 0.35);
}

@media (max-width: 960px) {
  .compare-divider {
    display: none;
  }
}

.compare-card__head {
  padding: 8px 4px 20px;
  border-bottom: 1px solid var(--border-hairline);
}

.compare-card__head h3 {
  font-size: 20px;
  font-weight: var(--font-weight-medium);
  line-height: 1.35;
  color: var(--color-snow);
}

.compare-list {
  display: flex;
  flex-direction: column;
  padding: 28px 4px 4px;
}

.compare-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.compare-list li:first-child {
  padding-top: 0;
}

.compare-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.compare-list li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.compare-card--before .compare-list li p,
.compare-card--after .compare-list li p {
  color: var(--color-snow);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

/* ---------------------------------------------------------------------- */
/* Features                                                               */
/* ---------------------------------------------------------------------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-cards);
  padding: 24px;
  min-height: 238px;
  background: linear-gradient(180deg, #0a0909 0%, #09101f 100%);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-card:hover {
  transform: none;
}

.feature-card--blue::after,
.feature-card--violet::after {
  display: none;
}

.feature-card--blue {
  box-shadow:
    inset 0 -48px 36px -18px #144ccd,
    inset 0 -24px 18px -5px rgba(102, 148, 255, 0.5);
}

.feature-card--violet {
  box-shadow:
    inset 0 -48px 36px -18px #5b21d6,
    inset 0 -24px 18px -5px rgba(176, 132, 255, 0.5);
}

.feature-card__icon {
  position: relative;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  color: var(--text-heading);
  line-height: 1.2;
}

.feature-card p {
  font-size: var(--text-body);
  color: var(--text-secondary);
  line-height: var(--leading-body);
  margin-top: 16px;
}

.feature-card--cta {
  background: linear-gradient(135deg, #0d0a2c 0%, #3a0fb8 45%, #6b2af0 78%, #a26bff 100%);
  border: none;
  padding: var(--card-padding);
  justify-content: center;
  align-items: flex-start;
  min-height: 200px;
}

.feature-card--cta:hover {
  border-color: transparent;
}

.feature-card--cta .btn {
  align-self: flex-start;
}

.feature-card--cta h3 {
  color: var(--color-snow);
  font-size: 24px;
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
}

/* ---------------------------------------------------------------------- */
/* Try demo                                                               */
/* ---------------------------------------------------------------------- */

/* Hidden at owner's request pending confirmation from the
   recruitment.sintegrum.com backend team that shared interview
   tokens can handle traffic from two sites (see TZ risk note). */
#try-demo,
.nav__links a[href="#try-demo"],
.nav__mobile a[href="#try-demo"] {
  display: none;
}

.demo-interview-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--spacing-12);
}

.demo-interview-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-16);
  padding: var(--spacing-20) var(--spacing-12);
  border-radius: var(--radius-cards);
  background: var(--surface-card);
  text-decoration: none;
  transition: transform 220ms ease, background 220ms ease;
}

.demo-interview-card:hover {
  transform: translateY(-4px);
  background: rgba(17, 24, 39, 0.9);
}

.demo-interview-card__avatar {
  width: 96px;
  height: 96px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-pills);
  background: linear-gradient(160deg, rgba(22, 137, 255, 0.22), rgba(89, 215, 255, 0.08));
  border: 1px solid var(--border-hairline);
  transition: transform 220ms ease;
}

.demo-interview-card:hover .demo-interview-card__avatar {
  transform: scale(1.05);
}

.demo-interview-card h3 {
  margin: 0;
  text-align: center;
  font-size: var(--text-body);
  font-weight: var(--font-weight-medium);
  color: var(--text-heading);
  line-height: 1.3;
}

/* ---------------------------------------------------------------------- */
/* Roadmap                                                                */
/* ---------------------------------------------------------------------- */

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 24px;
  padding: 42px 28px 8px;
  background: transparent;
  margin-inline: 0;
}

.roadmap::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: 6%;
  height: 96%;
  display: none;
  background: radial-gradient(ellipse 60% 70% at 50% 62%, rgba(0, 96, 255, 0.6) 0%, rgba(0, 64, 255, 0.28) 38%, rgba(34, 150, 255, 0.08) 60%, transparent 78%);
  filter: blur(34px);
  opacity: 0.95;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 70%, transparent 100%);
}

.roadmap::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -20% 0;
  display: none;
  background: radial-gradient(ellipse at 50% 60%, rgba(3, 31, 88, 0.62), rgba(1, 7, 22, 0.28) 50%, transparent 74%);
  pointer-events: none;
}

.roadmap-step {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.roadmap-step + .roadmap-step::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  border-radius: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1) 60%, rgba(255, 255, 255, 0.04));
}

.roadmap-step__num {
  width: auto;
  height: clamp(72px, 8vw, 112px);
  display: flex;
  align-items: flex-start;
  background: none;
  box-shadow: none;
  border-radius: 0;
  font-family: var(--font-main);
  font-size: clamp(72px, 8vw, 112px);
  font-weight: 300;
  color: var(--color-snow);
  position: relative;
  z-index: 1;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 0 40px rgba(89, 215, 255, 0.2);
}

.roadmap-step h3 {
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
  color: var(--text-heading);
  margin-top: 40px;
}

.roadmap-step p {
  font-size: var(--text-body);
  color: var(--text-secondary);
  line-height: var(--leading-body);
  margin-top: 16px;
}

/* ---------------------------------------------------------------------- */
/* Two formats                                                            */
/* ---------------------------------------------------------------------- */

#formats {
  padding-top: 96px;
}

.formats-shell {
  padding: clamp(32px, 4vw, 64px);
  overflow: hidden;
  border-radius: var(--radius-cards);
  background-image: url('/v3/backgrounds/formats-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.formats-shell .section-head {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.formats-shell .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.formats-grid {
  display: flex;
  gap: 16px;
}

.format-card {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-cards);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 340px;
  background: rgba(3, 9, 22, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.format-card--light {
  background: rgba(3, 9, 22, 0.72);
}

.format-card--dark {
  background: rgba(3, 9, 22, 0.72);
}

.format-card__icon {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.format-card h3 {
  font-size: 24px;
  font-weight: var(--font-weight-semibold);
}

.format-card--light h3 {
  color: var(--color-snow);
}

.format-card--dark h3 {
  color: var(--color-snow);
}

.format-card p {
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.format-card--light p {
  color: rgba(255, 255, 255, 0.85);
}

.format-card--dark p {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------------------------------------------------------------------- */
/* Pricing                                                                */
/* ---------------------------------------------------------------------- */

.pricing-section {
  padding-top: var(--section-gap);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pricing-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 440px;
  padding: 40px;
  border: 1px solid transparent;
  border-radius: var(--radius-cards);
  background-color: rgba(8, 13, 26, 0.78);
  background-image:
    radial-gradient(circle at 84% 10%, rgba(25, 137, 255, 0.2), transparent 36%),
    linear-gradient(135deg, rgba(8, 13, 26, 0) 0%, rgba(8, 13, 26, 0) 100%);
  background-size: 100% 100%;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 84% 8%, rgba(87, 211, 255, 0.3), transparent 38%),
    linear-gradient(
      180deg,
      #0a46b8 0%,
      #075ee4 34%,
      #08327c 62%,
      #07162f 80%,
      #050a18 100%
  );
  opacity: 1;
  transform: scale(1);
}

.pricing-card--violet {
  background-image:
    radial-gradient(circle at 84% 10%, rgba(150, 100, 255, 0.2), transparent 36%),
    linear-gradient(135deg, rgba(8, 13, 26, 0) 0%, rgba(8, 13, 26, 0) 100%);
}

.pricing-card--violet::before {
  background:
    radial-gradient(circle at 84% 8%, rgba(176, 132, 255, 0.3), transparent 38%),
    linear-gradient(
      180deg,
      #4a14b0 0%,
      #5b21d6 34%,
      #3a1670 62%,
      #180a35 80%,
      #0a0518 100%
  );
}

.pricing-card__label {
  display: block;
  color: var(--color-snow);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.15;
}

.pricing-card__description {
  margin-top: 18px;
  max-width: 620px;
}

.pricing-card__price {
  margin-top: 40px;
  color: var(--color-snow);
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 400;
  line-height: 1;
}

.pricing-card__unit {
  margin-top: 14px;
}

.pricing-card__rates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 56px);
  margin-top: 40px;
}

.pricing-card__rates div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-card__rates strong {
  color: var(--color-snow);
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.pricing-card__rate-unit {
  font-size: 0.65em;
}

.pricing-card__rates span,
.pricing-card p,
.pricing-footer p {
  color: var(--color-snow);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.pricing-footer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.pricing-footer p {
  max-width: 720px;
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}

.pricing-card__cta {
  align-self: flex-start;
  margin-top: auto;
}

.btn--primary.pricing-card__cta {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-snow);
  box-shadow: none;
}

.btn--primary.pricing-card__cta:hover {
  background: var(--color-snow);
  color: #02040a;
  border-color: var(--color-snow);
}

/* ---------------------------------------------------------------------- */
/* FAQ                                                                    */
/* ---------------------------------------------------------------------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface-card);
  border-radius: var(--radius-badges);
  overflow: hidden;
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  transition: background-color 0.2s ease-out;
}

.faq-item__q:focus {
  outline: none;
}

.faq-item__q:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(89, 215, 255, 0.54);
}

.faq-item[aria-expanded="true"] .faq-item__q {
  background: rgba(255, 255, 255, 0.025);
}

.faq-item__q span:first-child {
  font-size: var(--text-body);
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-body);
  color: var(--text-heading);
  flex: 1;
}

.faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--surface-subtle-card);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--text-heading);
  transition: transform 0.2s, background 0.2s;
}

.faq-item__q:hover .faq-item__icon {
  background: var(--color-snow);
  border-color: var(--color-snow);
}

.faq-item__q:hover .faq-item__icon::before,
.faq-item__q:hover .faq-item__icon::after {
  background: var(--color-obsidian);
}

.faq-item__icon::before {
  width: 12px;
  height: 1.5px;
}

.faq-item__icon::after {
  width: 1.5px;
  height: 12px;
}

.faq-item[aria-expanded="true"] .faq-item__icon::after {
  transform: scaleY(0);
}

.faq-item__a {
  padding: 14px 24px 22px;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--text-secondary);
  display: none;
}

.faq-item[aria-expanded="true"] .faq-item__a {
  display: block;
}

/* ---------------------------------------------------------------------- */
/* Partners                                                               */
/* ---------------------------------------------------------------------- */

.partners-section .section-head__eyebrow {
  display: block;
  color: var(--color-accent);
  font-size: var(--text-caption);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.12em;
}

.partners-section .section-head h2 {
  max-width: 840px;
}

.partners-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  align-items: stretch;
  gap: 16px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.partner-card {
  min-height: 190px;
  padding: 28px;
  border-radius: var(--radius-cards);
  background: rgba(8, 13, 26, 0.72);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
}

.partner-card__brand {
  min-height: 52px;
  display: flex;
  align-items: center;
}

.partner-card__brand span {
  color: var(--color-snow);
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: var(--font-weight-medium);
}

.partner-card__brand--composite {
  gap: 14px;
}

.partner-card__brand--composite img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.partner-card__brand--composite span {
  font-size: clamp(19px, 1.7vw, 24px);
}

.partner-card__brand img {
  width: auto;
  height: 42px;
  max-width: 210px;
  object-fit: contain;
  object-position: left center;
  filter: none;
  opacity: 1;
}

.partner-card__brand .partner-card__logo--preserve-background {
  filter: none;
  opacity: 1;
}

.partner-card > p {
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.partnership-models {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-cards);
  background: linear-gradient(180deg, rgba(8, 13, 26, 0.95) 0%, #071435 38%, #0a3ea8 72%, #1678ed 100%);
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.partnership-models__intro h3,
.partners-cta h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
}

.partnership-models__intro p,
.partners-cta p {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.partnership-models__intro {
  max-width: none;
}

.partnership-models__list {
  display: grid;
  grid-template-columns: 1fr;
}

.partnership-models__list > div {
  min-height: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(181, 215, 255, 0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.partnership-models__list > div img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.partnership-models__list > div:first-child {
  padding-top: 0;
}

.partnership-models__list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.partnership-models__list p {
  color: var(--color-snow);
  font-size: 19px;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}

.partners-cta {
  margin-top: 16px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-cards);
  background:
    radial-gradient(circle at 82% 12%, rgba(89, 215, 255, 0.28), transparent 34%),
    linear-gradient(135deg, #071435 0%, #0a3ea8 58%, #1678ed 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.partners-cta > div {
  max-width: 650px;
}

.partners-cta p {
  color: rgba(255, 255, 255, 0.72);
}

.partners-cta .btn {
  box-shadow: none;
}

.partnership-models .partners-cta {
  margin-top: auto;
  padding: clamp(24px, 3vw, 36px) 0 0;
  background: none;
  border-radius: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.partnership-models .partners-cta h3 {
  font-size: 22px;
  line-height: 1.25;
}

.partnership-models .partners-cta > div {
  max-width: none;
}

.partnership-models .partners-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ---------------------------------------------------------------------- */
/* CTA banner                                                             */
/* ---------------------------------------------------------------------- */

.cta-banner {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(1, 5, 20, 0.48) 0%, rgba(1, 8, 31, 0.18) 52%, transparent 74%),
    url("/v3/final-cta-background-v5.webp") center / cover no-repeat;
  border-radius: 36px;
  min-height: 420px;
  padding: 52px 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
  align-items: center;
  text-align: left;
  box-shadow: none;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner__copy {
  grid-column: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.cta-banner h3 {
  max-width: 560px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: var(--font-weight-medium);
  line-height: 1.12;
  color: var(--color-snow);
  letter-spacing: 0;
}

.cta-banner p {
  max-width: 560px;
  font-size: var(--text-body-lg);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--leading-body);
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                 */
/* ---------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--border-hairline);
  padding: 60px 0;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
}

.footer__brand span {
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  color: var(--text-heading);
}

.footer__brand p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: var(--leading-body);
}

.footer__cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__col h3 {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0;
}

.footer__col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease-out;
}

.footer__col a:hover {
  color: var(--text-heading);
}

.footer__bottom {
  border-top: 1px solid var(--border-hairline);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom > span,
.footer__bottom a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

/* ---------------------------------------------------------------------- */
/* Responsive                                                            */
/* ---------------------------------------------------------------------- */

@media (max-width: 960px) {
  .quotes-grid,
  .industries-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-card--featured {
    grid-column: span 2;
  }

  .demo-interview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-16);
  }

  .calc-grid,
  .case-grid,
  .compare-grid,
  .formats-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .pricing-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-grid {
    height: auto;
    padding-bottom: 18px;
  }

  .formats-shell {
    padding: 32px 24px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-layout {
    grid-template-columns: 1fr;
  }

  .partnership-models__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partnership-models__list > div {
    min-height: 120px;
    padding: 0 28px;
    border-bottom: 0;
    border-left: 1px solid rgba(181, 215, 255, 0.12);
  }

  .partnership-models__list > div:first-child {
    padding-top: 0;
    padding-left: 0;
    border-left: 0;
  }

  .partnership-models__list > div:last-child {
    padding-right: 0;
    padding-bottom: 0;
  }

  .case-photo {
    height: 680px;
  }

  .case-detail {
    height: 600px;
  }

  .case-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 18px 16px;
  }

  .case-tab:nth-child(2n) {
    border-right: 0;
  }

  .case-tab:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .roadmap {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-inline: 0;
  }

  .roadmap::before {
    top: -12%;
    height: 66%;
    left: -48%;
    right: -48%;
  }

  .roadmap-step {
    min-height: 170px;
  }

  .roadmap-step + .roadmap-step::before {
    top: -12px;
    bottom: auto;
    left: 24px;
    right: 24px;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  }

  .cta-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .demo-interview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: 170px;
    gap: 28px;
  }

  .partnership-models__list {
    grid-template-columns: 1fr;
  }

  .partnership-models__list > div {
    min-height: 0;
    padding: 20px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(181, 215, 255, 0.12);
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
  }

  .partnership-models__list > div:first-child {
    padding-top: 0;
  }

  .partnership-models__list > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .partners-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-card {
    min-height: 0;
    padding: 28px;
  }

  .pricing-card__rates {
    grid-template-columns: 1fr;
  }

  .quotes-grid,
  .industries-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .quote-card--featured {
    grid-column: span 1;
  }

  .hero h1 {
    font-size: 30px;
    letter-spacing: 0;
  }

  .hero__lede {
    font-size: var(--text-body);
    max-width: 620px;
  }


  .section-head h2 {
    font-size: 28px;
  }

  .case-grid {
    padding: 10px;
    border-radius: 22px;
  }

  .case-progress {
    grid-template-columns: 1fr;
    margin: 0 10px 12px;
    border-radius: 16px;
  }

  .case-tab,
  .case-tab:nth-child(2n) {
    min-height: 48px;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .case-tab:first-child {
    border-top: 0;
  }

  .case-photo {
    height: 620px;
    border-radius: 16px;
  }

  .case-photo__stats {
    gap: 8px;
  }

  .case-photo__stat {
    min-height: 116px;
    padding: 14px;
    border-radius: 14px;
  }

  .case-photo__stat > span:first-of-type {
    font-size: 19px;
  }

  .case-photo__stat > span:last-of-type {
    font-size: 11px;
  }

  .case-detail {
    height: auto;
    min-height: 760px;
    padding: 24px 18px;
    border-radius: 16px;
  }

  .cta-banner {
    min-height: 590px;
    padding: 36px 28px 270px;
    justify-content: flex-start;
    text-align: left;
    align-items: start;
    background:
      linear-gradient(180deg, rgba(1, 5, 20, 0.98) 0%, rgba(1, 10, 38, 0.94) 50%, rgba(1, 19, 70, 0.34) 70%, transparent 100%),
      url("/v3/final-cta-background-v5.webp") 72% bottom / auto 72% no-repeat,
      #02091f;
  }

  .cta-banner h3 {
    font-size: 28px;
  }

}
