/* ==========================================================================
   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: #0a85f7;
  --gradient-accent: linear-gradient(135deg, #1e40af 0%, #0a85f7 40%, #38bdf8 75%, #7dd3fc 100%);

  /* Semantic surfaces */
  --surface-canvas: var(--color-obsidian);
  --surface-card: var(--color-graphite);
  --surface-subtle-card: #1f1f23;
  --surface-dark: var(--color-slate);
  --surface-emphasis: var(--color-snow);
  --nav-bg: rgba(9, 9, 11, 0.86);

  /* Semantic text */
  --text-heading: var(--color-snow);
  --text-body-color: #e4e4e7;
  --text-secondary: var(--color-ash);
  --text-muted: #8b8b93;
  --text-on-emphasis: var(--color-obsidian);

  /* Semantic borders */
  --border-hairline: rgba(255, 255, 255, 0.12);

  /* 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: 15px;
  --leading-body: 1.45;
  --text-body-lg: 18px;
  --leading-body-lg: 1.45;
  --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: 80px;
  --card-padding: 28px;
  --element-gap: 8px;

  /* Radii */
  --radius-badges: 12px;
  --radius-inputs: 14px;
  --radius-buttons: 14px;
  --radius-cards: 36px;
  --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%;
}

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

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

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

.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: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-badges);
  font-size: var(--text-caption);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--surface-card);
}

.section-head h2 {
  font-size: var(--text-heading-lg);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-heading-lg);
  color: var(--text-heading);
  letter-spacing: -0.5px;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  font-family: inherit;
  font-size: var(--text-body);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out,
    color 0.2s ease-out, opacity 0.2s ease-out;
}

.btn--primary {
  background: var(--surface-emphasis);
  color: var(--text-on-emphasis);
  border-radius: var(--radius-buttons);
  padding: 14px 28px;
  box-shadow: var(--shadow-subtle);
}

.btn--primary:hover {
  opacity: 0.85;
}

.btn--ghost {
  background: var(--surface-subtle-card);
  color: var(--text-body-color);
  border-radius: var(--radius-buttons);
  padding: 12px 24px;
}

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

.btn--ghost-dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-snow);
  border-radius: var(--radius-buttons);
  padding: 12px 24px;
}

.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.18);
}

.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-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: var(--nav-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-hairline);
}

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

.nav__logo {
  font-weight: var(--font-weight-semibold);
  font-size: 18px;
  color: var(--text-heading);
  letter-spacing: -0.2px;
}

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

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

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

.hero {
  padding: 64px 0 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-32);
  text-align: center;
  padding-bottom: var(--spacing-64);
}

.hero__eyebrow {
  font-size: var(--text-caption);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero h1 {
  font-size: var(--text-display);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-display);
  color: var(--text-heading);
  letter-spacing: -1px;
  max-width: 880px;
}

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

.hero__media {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  background: var(--surface-subtle-card);
  margin-top: -240px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 22%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 22%);
}

.hero__media video {
  display: block;
  width: 100%;
  height: auto;
}

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

.ticker {
  overflow: hidden;
  height: 96px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  -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;
  gap: 80px;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}

.ticker__track img {
  height: 24px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1) invert(1);
  opacity: 0.6;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

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

.quote-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 240px;
  transition: transform 0.2s ease-out, border-color 0.2s ease-out;
}

.quote-card--plain:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
}

.quote-card--featured {
  grid-column: span 2;
  background: var(--surface-dark);
  color: var(--color-snow);
}

.quote-card--plain {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
}

.quote-card__mark {
  position: absolute;
  top: 4px;
  right: 24px;
  font-family: Georgia, serif;
  font-size: 96px;
  line-height: 1;
  font-weight: 700;
  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__tag {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--color-accent);
}

.quote-card--plain .quote-card__tag {
  color: var(--text-muted);
}

.quote-card__tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

.quote-card p {
  position: relative;
  z-index: 1;
  font-size: 20px;
  line-height: 1.4;
  margin: 0;
}

.quote-card--plain p {
  color: var(--text-heading);
}

.quote-card--featured p {
  font-size: 26px;
}

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

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

.calc-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.calc-card__hint {
  font-size: 14px;
  color: var(--text-muted);
  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: var(--text-muted);
}

.calc-field__row span:last-child {
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
  color: var(--text-heading);
}

.calc-field input[type="range"] {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  background: var(--border-hairline);
}

.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid var(--surface-card);
  box-shadow: 0 0 0 1px var(--border-hairline);
}

.calc-field input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid var(--surface-card);
  box-shadow: 0 0 0 1px var(--border-hairline);
}

.calc-result {
  background: var(--gradient-accent);
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-result p:first-child {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.calc-result strong {
  font-size: 44px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-snow);
  line-height: 1;
}

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

.calc-notes p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

.diagnosis-card {
  background: var(--surface-dark);
  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: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
}

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

.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: 14px;
  color: rgba(255, 255, 255, 0.85);
}

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

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

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

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

.case-photo {
  position: relative;
  border-radius: var(--radius-cards);
  overflow: hidden;
  min-height: 460px;
  background: var(--surface-subtle-card);
  border: 1px solid var(--border-hairline);
}

.case-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-photo__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
}

.case-photo__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(6px);
}

.case-photo__stat:first-child {
  border-radius: 0 0 0 var(--radius-cards);
}

.case-photo__stat:last-child {
  border-radius: 0 0 var(--radius-cards) 0;
}

.case-photo__stat span:first-child {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-snow);
}

.case-photo__stat span:last-child {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.case-detail {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-cards);
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-detail h3 {
  font-size: 22px;
  font-weight: var(--font-weight-semibold);
  color: var(--text-heading);
}

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

.case-block span {
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

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

.case-block li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.case-block li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  margin-top: 7px;
}

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

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

.industry-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease-out, border-color 0.2s ease-out;
}

.industry-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
}

.industry-card__icon {
  width: 56px;
  height: 56px;
  padding: 10px;
  object-fit: contain;
  background: var(--surface-subtle-card);
  border-radius: var(--radius-badges);
  box-sizing: content-box;
}

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

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

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

.compare-card {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-cards);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background: var(--surface-card);
}

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

.compare-card__head p {
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
}

.compare-card--before .compare-card__head p {
  color: var(--color-iron);
}

.compare-card--after {
  background: var(--surface-dark);
}

.compare-card--after .compare-card__head {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.compare-card--after .compare-card__head p {
  color: var(--color-snow);
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 24px;
}

.compare-list li {
  display: flex;
  gap: 14px;
  align-items: center;
}

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

.compare-card--before .compare-list li p {
  color: var(--text-secondary);
  font-size: var(--text-body);
  line-height: 1.4;
}

.compare-card--after .compare-list li p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-body);
  line-height: 1.4;
}

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

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

.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: transform 0.2s ease-out, border-color 0.2s ease-out;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  padding: 10px;
  background: var(--surface-subtle-card);
  border-radius: var(--radius-badges);
  box-sizing: content-box;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.9;
}

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

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

.feature-card--cta {
  background: var(--gradient-accent);
  justify-content: space-between;
  min-height: 200px;
}

.feature-card--cta p {
  color: var(--color-snow);
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}

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

.roadmap {
  display: flex;
  gap: 32px;
  position: relative;
}

.roadmap::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 11%;
  width: 78%;
  height: 1px;
  background: var(--border-hairline);
}

.roadmap-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  position: relative;
}

.roadmap-step__num {
  width: 48px;
  height: 48px;
  background: var(--surface-dark);
  border-radius: var(--radius-pills);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-snow);
  position: relative;
  z-index: 1;
}

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

.roadmap-step p {
  font-size: var(--text-body);
  color: var(--text-secondary);
}

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

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

.format-card--light {
  background: linear-gradient(135deg, var(--surface-card) 0%, var(--surface-subtle-card) 100%);
  border: 1px solid var(--border-hairline);
}

.format-card--dark {
  background: var(--gradient-accent);
}

.format-card__icon {
  width: 40px;
  height: 40px;
  filter: grayscale(1);
  opacity: 0.9;
}

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

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

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

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

.format-card--light p {
  color: var(--text-secondary);
}

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

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

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

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  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:hover {
  background: var(--surface-subtle-card);
}

.faq-item__q span:first-child {
  font-size: var(--text-body-lg);
  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;
}

.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: 0 24px 20px;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--text-secondary);
  display: none;
}

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

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

.cta-banner {
  background: var(--surface-dark);
  border-radius: 48px;
  padding: 72px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.cta-banner h2 {
  max-width: 760px;
  font-size: 44px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.15;
  color: var(--color-snow);
  letter-spacing: -0.5px;
}

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

/* ---------------------------------------------------------------------- */
/* 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: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

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

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

.footer__col p {
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

  .roadmap {
    flex-direction: column;
    gap: 24px;
  }

  .roadmap::before {
    display: none;
  }
}

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

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

  .hero h1 {
    font-size: 40px;
  }

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

  .cta-banner h2 {
    font-size: 32px;
  }
}
