/* =====================================================================
   MortisOS — site styles
   Palette: brushed silver + charcoal ink + slate-blue accent
   Type: Cormorant Garamond (display serif) + Inter (body sans)
   ===================================================================== */

:root,
[data-theme="light"] {
  /* Surfaces — brushed silver / cool neutrals */
  --color-bg: #e8ecef;
  --color-surface: rgba(245, 247, 249, 0.9);
  --color-surface-2: rgba(255, 255, 255, 0.8);
  --color-surface-offset: #c9d2da;
  --color-surface-contrast: #0f1419;
  --color-divider: rgba(40, 55, 70, 0.18);
  --color-border: rgba(40, 55, 70, 0.25);

  /* Text — charcoal ink */
  --color-text: #0a0e13;
  --color-text-muted: #3d4856;
  --color-text-faint: #6a7382;
  --color-text-inverse: #f1f4f7;

  /* Primary — deep navy foundation (logo) */
  --color-primary: #0f2336;
  --color-primary-hover: #08182a;
  --color-primary-soft: #c8d4e0;
  --color-warm-light: #a5b8c8;
  /* Restrained gold accent (logo mark) */
  --color-accent: #b08a3e;
  --color-accent-hover: #8f6e2c;
  --color-accent-soft: rgba(176, 138, 62, 0.14);
  --color-photo-shadow: rgba(15, 20, 25, 0.32);

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.83rem + 0.2vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --text-hero: clamp(2.5rem, 1.5rem + 4.5vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radii / shadows / motion */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(15, 20, 25, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 20, 25, 0.1);
  --shadow-lg: 0 24px 48px rgba(15, 20, 25, 0.14);

  --transition: 220ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 720px;
  --content-default: 1080px;
  --content-wide: 1240px;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  --color-bg: #14181d;
  --color-surface: rgba(26, 31, 37, 0.9);
  --color-surface-2: rgba(32, 38, 45, 0.8);
  --color-surface-offset: #1f262e;
  --color-surface-contrast: #f1f4f7;
  --color-divider: #2a3340;
  --color-border: #3a4654;

  --color-text: #e2e6ec;
  --color-text-muted: #9aa5b3;
  --color-text-faint: #6a7382;
  --color-text-inverse: #14181d;

  --color-primary: #b8c8d4;
  --color-primary-hover: #d4dde6;
  --color-primary-soft: #2a3a4a;
  --color-warm-light: #7d96aa;
  --color-photo-shadow: rgba(0, 0, 0, 0.55);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.55);
}

/* ============== BASE ============== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  /* Lock color rendering so mobile browsers (iOS Safari, Chrome Android)
     don't auto-tint form controls, scrollbars, or backgrounds to dark mode
     when the OS is in dark mode. */
  color-scheme: light;
  background-color: var(--color-bg);
}

[data-theme="dark"] {
  color-scheme: dark;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 78% 4%, rgba(184, 200, 212, 0.55), transparent 30rem),
    radial-gradient(circle at 6% 18%, rgba(58, 90, 114, 0.12), transparent 28rem),
    linear-gradient(135deg, var(--color-bg), #f1f4f7 44%, #c9d2da);
  background-attachment: fixed;
  -webkit-text-size-adjust: 100%;
  /* Prevent iOS from desaturating wide-gamut colors */
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

[data-theme="dark"] body {
  background-image:
    radial-gradient(circle at 78% 4%, rgba(125, 150, 170, 0.2), transparent 30rem),
    radial-gradient(circle at 6% 18%, rgba(184, 200, 212, 0.1), transparent 28rem),
    linear-gradient(135deg, var(--color-bg), #181d23 50%, #0e1216);
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.12;
  color: var(--color-text);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}
[data-theme="dark"] a {
  color: var(--color-primary-hover);
}

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

::selection {
  background: var(--color-primary-soft);
  color: var(--color-text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-4);
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============== LAYOUT ============== */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(var(--space-24), 10vw, var(--space-32));
  position: relative;
}

.section--surface {
  background:
    linear-gradient(180deg, rgba(255, 251, 243, 0.88), rgba(245, 238, 226, 0.84)),
    var(--color-surface);
  border-block: 1px solid var(--color-divider);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.section__head {
  max-width: 60ch;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__title {
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.section__lede {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  color: var(--color-text);
  font-weight: 450;
  line-height: 1.55;
  max-width: 60ch;
}

.section__head--center .section__lede {
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-text) 55%, transparent);
  margin-bottom: var(--space-4);
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85em 1.5em;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--sm {
  padding: 0.6em 1.2em;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
}

.btn--lg {
  padding: 1em 1.6em;
}

.btn--primary {
  background: linear-gradient(180deg, #4a6c84, #2c4660);
  color: #ffffff;
  border-color: rgba(15, 20, 25, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 6px 16px rgba(15, 20, 25, 0.22);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #3a5a72, #1d3447);
  border-color: rgba(15, 20, 25, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 10px 22px rgba(15, 20, 25, 0.28);
}
[data-theme="dark"] .btn--primary {
  background: linear-gradient(180deg, #d4dde6, #9fb2c2);
  color: #0f1419;
  border-color: rgba(15, 20, 25, 0.4);
  text-shadow: none;
}
[data-theme="dark"] .btn--primary:hover {
  background: linear-gradient(180deg, #e6ecf1, #b8c8d4);
  color: #0f1419;
}

.btn--ghost {
  background: color-mix(in oklab, var(--color-bg) 65%, transparent);
  color: var(--color-text);
  border-color: color-mix(in oklab, var(--color-text) 35%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: color-mix(in oklab, var(--color-primary) 12%, var(--color-bg));
  border-color: var(--color-primary);
  color: var(--color-primary);
}
[data-theme="dark"] .btn--ghost {
  background: color-mix(in oklab, #ffffff 8%, transparent);
  color: var(--color-text);
  border-color: color-mix(in oklab, #ffffff 35%, transparent);
}
[data-theme="dark"] .btn--ghost:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--full {
  width: 100%;
}

/* ============== HEADER ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 76%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--transition),
    background var(--transition);
}
.site-header.is-scrolled {
  border-bottom-color: var(--color-divider);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 5.5rem;
  padding-block: var(--space-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  /* Clear-space around the logo */
  padding: 6px 4px;
}
.brand__mark {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.brand__logo {
  height: 64px;
  width: auto;
  display: block;
  flex-shrink: 0;
  image-rendering: -webkit-optimize-contrast;
}
.brand--footer .brand__logo {
  height: 76px;
}
@media (max-width: 640px) {
  .brand__logo {
    height: 48px;
  }
  .brand--footer .brand__logo {
    height: 60px;
  }
}
.brand__name {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: var(--font-display);
}
.brand__word {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.brand__word--muted {
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.nav {
  display: none;
  gap: var(--space-6);
}
.nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}
.nav a:hover {
  color: var(--color-text);
}

.header__actions {
  display: none;
  align-items: center;
  gap: var(--space-3);
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.icon-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 10px 8px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 1px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) clamp(1.25rem, 4vw, 2.5rem) var(--space-6);
  border-top: 1px solid var(--color-divider);
  background: var(--color-bg);
}
.mobile-nav a {
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav a:last-child {
  border-bottom: 0;
  margin-top: var(--space-3);
}

@media (min-width: 880px) {
  .nav,
  .header__actions {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: calc(100svh - 4.5rem);
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(239, 231, 218, 0.98) 0%,
      rgba(239, 231, 218, 0.9) 44%,
      rgba(239, 231, 218, 0.26) 72%,
      rgba(239, 231, 218, 0.08) 100%
    ),
    radial-gradient(circle at 76% 34%, rgba(242, 216, 167, 0.34), transparent 21rem),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=82")
      center right / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 55% at 22% 42%, rgba(79, 70, 229, 0.10), transparent 65%),
    radial-gradient(ellipse 45% 40% at 78% 60%, rgba(45, 138, 158, 0.09), transparent 60%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.035) 0,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 5px
  );
  mix-blend-mode: soft-light;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin-inline: clamp(1.25rem, 8vw, 7rem) auto;
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: var(--space-2);
  color: #06090d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.hero__title-em {
  display: block;
  font-style: italic;
  font-weight: 600;
  color: #0f2336;
}

[data-theme="dark"] .hero__title {
  color: #06090d;
}
[data-theme="dark"] .hero__title-em {
  color: #0f2336;
}

.hero__lede {
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  line-height: 1.6;
  color: #1a232e;
  font-weight: 450;
  max-width: 48rem;
}

.hero__cta {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero__stats {
  margin-top: clamp(var(--space-12), 7vw, var(--space-20));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-8);
  max-width: 720px;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}
.hero__stats dt {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: #06090d;
}
.hero__stats dd {
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  color: #3d4856;
  font-weight: 500;
  line-height: 1.4;
}

.hero__lede {
  color: #1a232e !important;
}
.hero .btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  color: #0f1419;
  border-color: rgba(15, 20, 25, 0.4);
}
.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.75);
  color: #1d3447;
  border-color: #1d3447;
}
[data-theme="dark"] .hero__stats dt {
  color: #0f1419;
}
[data-theme="dark"] .hero__stats dd {
  color: #5a6878;
}
[data-theme="dark"] .hero__lede {
  color: #2a3340 !important;
}
[data-theme="dark"] .hero .btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  color: #0f1419;
  border-color: rgba(15, 20, 25, 0.4);
}
[data-theme="dark"] .hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.75);
  color: #1d3447;
  border-color: #1d3447;
}

.hero-media {
  position: absolute;
  z-index: 1;
  right: clamp(1rem, 2.5vw, 2rem);
  top: 52%;
  transform: translateY(-44%);
  width: min(31vw, 410px);
  min-width: 300px;
  height: min(48vw, 540px);
  pointer-events: none;
}
.hero-media__frame {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 251, 243, 0.48);
  border-radius: 1.45rem;
  background-color: #1d221e;
  background-position: center;
  background-size: cover;
  box-shadow: 0 28px 70px var(--color-photo-shadow);
  isolation: isolate;
}
.hero-media__frame::before {
  content: "";
  position: absolute;
  inset: -6%;
  background: inherit;
  background-size: cover;
  transform: scale(1.04);
  animation: cinematic-pan 18s ease-in-out infinite alternate;
  z-index: -2;
}
.hero-media__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 18, 15, 0.08), rgba(16, 18, 15, 0.74)),
    radial-gradient(circle at 22% 18%, rgba(242, 216, 167, 0.38), transparent 18rem);
  z-index: -1;
}
.hero-media__frame--main {
  inset: 0 0 32% 4%;
  background-image: url("https://images.unsplash.com/photo-1511895426328-dc8714191300?auto=format&fit=crop&w=1200&q=82");
}
.hero-media__frame--paperwork {
  left: 0;
  bottom: 2%;
  width: 47%;
  height: 28%;
  background-image: url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=900&q=82");
}
.hero-media__frame--aftercare {
  right: 0;
  bottom: 0;
  width: 49%;
  height: 30%;
  background-image: url("https://images.unsplash.com/photo-1526047932273-341f2a7631f9?auto=format&fit=crop&w=900&q=82");
}
.hero-media__chrome {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 251, 243, 0.82);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-media__live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(14, 19, 16, 0.58);
  backdrop-filter: blur(10px);
}
.hero-media__live::before {
  content: "";
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--color-warm-light);
  box-shadow: 0 0 0 0 rgba(242, 216, 167, 0.72);
  animation: pulse-record 2.4s ease-out infinite;
}
.hero-media__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.2rem;
  color: #fff7e8;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.38);
}
.hero-media__caption span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 247, 232, 0.72);
}
.hero-media__caption strong {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.08;
}

@keyframes cinematic-pan {
  0% {
    transform: scale(1.04) translate3d(-1.2%, -0.8%, 0);
  }
  100% {
    transform: scale(1.1) translate3d(1.4%, 1%, 0);
  }
}
@keyframes pulse-record {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 216, 167, 0.62);
  }
  80%,
  100% {
    box-shadow: 0 0 0 0.55rem rgba(242, 216, 167, 0);
  }
}

@media (max-width: 980px) {
  .hero {
    padding-bottom: clamp(var(--space-20), 16vw, var(--space-32));
    background-position: center;
  }
  .hero-media {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(100%, 620px);
    min-width: 0;
    height: 460px;
    margin: var(--space-12) auto 0;
  }
  .hero__inner {
    margin-inline: auto;
  }
  .hero__lede {
    max-width: 56ch;
  }
}
@media (max-width: 620px) {
  .hero-media {
    height: 360px;
  }
  .hero-media__frame--paperwork,
  .hero-media__frame--aftercare {
    display: none;
  }
  .hero-media__frame--main {
    inset: 0;
  }
}

/* ============== TRUST ============== */
.trust {
  padding-block: var(--space-12);
  border-block: 1px solid var(--color-divider);
  background: var(--color-surface-2);
}
.trust__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: center;
  text-align: center;
}
.trust__label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}
.trust__logos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-8) var(--space-10);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

/* ============== PAIN GRID ============== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.pain-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.pain-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
.pain-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}
.pain-card p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* ============== SOLUTION ============== */
#solution.section {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
  background:
    linear-gradient(180deg, rgba(220, 230, 238, 0.98), rgba(198, 213, 224, 0.96)),
    var(--color-surface-offset);
  border-block: 1px solid rgba(29, 52, 71, 0.24);
}
#solution .section__head {
  margin-bottom: var(--space-5);
}
#solution .eyebrow,
#solution .section__title {
  color: #0f2336;
}
#solution .section__lede {
  color: #24313d;
}
#solution .section__title {
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  letter-spacing: -0.015em;
}
#solution .section__lede {
  max-width: 56ch;
  margin-inline: auto;
}
.solution-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--space-3);
  margin: var(--space-5) auto 0;
  max-width: 1120px;
}
.solution-card {
  flex: 1 1 240px;
  max-width: 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(243, 247, 250, 0.96));
  border: 1px solid rgba(15, 20, 25, 0.06);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 35, 54, 0.05), 0 1px 3px rgba(15, 35, 54, 0.04);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}
@media (max-width: 520px) {
  .solution-card {
    flex-basis: 100%;
    max-width: 100%;
  }
}
.solution-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 20, 25, 0.1);
  box-shadow: 0 4px 6px rgba(15, 35, 54, 0.06), 0 10px 20px rgba(15, 35, 54, 0.08);
}
.solution-card__icon {
  width: 36px;
  height: 36px;
  color: #f7fafc;
  padding: 7px;
  border: 1px solid rgba(15, 35, 54, 0.3);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #2c4660, #132b40);
  stroke-width: 1.75;
}
.solution-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f2336;
  letter-spacing: -0.01em;
  margin: 0;
}
.solution-card p {
  color: #2c3a46;
  font-weight: 450;
  line-height: 1.45;
  font-size: 0.875rem;
  margin: 0;
}

/* ============== MODULES ============== */
.modules-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--color-divider);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.module {
  background: var(--color-bg);
  padding: var(--space-8);
  position: relative;
  transition: background var(--transition);
}
.module:hover {
  background: var(--color-surface);
}
.module__num {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-primary);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: var(--space-3);
}
.module h3 {
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-3);
}
.module p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.55;
}

/* ============== WORKFLOW ============== */
.workflow {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--color-divider);
  margin-left: var(--space-4);
}
.workflow__step {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: var(--space-8);
  padding: var(--space-6) 0 var(--space-6) var(--space-8);
  position: relative;
}
.workflow__step::before {
  content: "";
  position: absolute;
  left: -7px;
  top: var(--space-8);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-primary);
}
.section--surface .workflow__step::before {
  background: var(--color-surface);
}
.workflow__time {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-base);
  color: var(--color-primary);
  padding-top: 2px;
}
.workflow__body h3 {
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.workflow__body p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .workflow__step {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}

/* ============== BENEFITS ============== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-8);
  padding: var(--space-10);
  background: var(--color-surface-contrast);
  color: var(--color-text-inverse);
  border-radius: var(--radius-lg);
}
[data-theme="dark"] .benefits-grid {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
}
.benefit {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.benefit__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text-inverse);
  line-height: 1;
}
[data-theme="dark"] .benefit__value {
  color: var(--color-primary);
}
.benefit__label {
  font-size: var(--text-sm);
  color: color-mix(in oklab, var(--color-text-inverse) 75%, transparent);
  line-height: 1.45;
}
[data-theme="dark"] .benefit__label {
  color: var(--color-text-muted);
}

/* ============== AUDIENCE ============== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.audience {
  padding: var(--space-8);
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
}
.audience h3 {
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-3);
  color: var(--color-primary);
}
.audience p {
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ============== IMPLEMENTATION ============== */
.impl {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
}
.impl__step {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  position: relative;
}
.impl__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: var(--text-base);
  margin-bottom: var(--space-4);
}
.impl__step h3 {
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-2);
}
.impl__step p {
  color: var(--color-text-muted);
  line-height: 1.55;
  font-size: var(--text-base);
}

/* ============== TESTIMONIALS ============== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.testimonial {
  padding: var(--space-8);
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
}
.testimonial blockquote p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.testimonial figcaption strong {
  color: var(--color-text);
  font-weight: 500;
}

/* ============== PRICING ============== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  align-items: stretch;
  justify-content: center;
  max-width: 1120px;
  margin-inline: auto;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid rgba(15, 20, 25, 0.06);
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 35, 54, 0.05), 0 1px 3px rgba(15, 35, 54, 0.04);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}
.plan:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 20, 25, 0.1);
  box-shadow: 0 4px 6px rgba(15, 35, 54, 0.06), 0 10px 20px rgba(15, 35, 54, 0.08);
}
.plan--featured {
  border-color: var(--color-primary);
  background: var(--color-bg);
  box-shadow: var(--shadow-md);
}
.plan h3 {
  font-size: var(--text-xl);
  font-weight: 500;
}
.plan__cases {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.plan__bestfor {
  margin-top: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: 8px;
  background: color-mix(in oklab, var(--color-primary) 6%, transparent);
  border: 1px solid color-mix(in oklab, var(--color-primary) 18%, transparent);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
}
.plan__bestfor strong {
  color: var(--color-text);
  font-weight: 600;
}
.pricing__trust {
  margin-top: var(--space-10);
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  padding: var(--space-6);
  border: 1px solid var(--color-divider);
  border-radius: 12px;
  background: var(--color-surface);
}
.pricing__trust h4 {
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 var(--space-2);
}
.pricing__trust p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}
.plan__price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-block: var(--space-4);
  border-block: 1px solid var(--color-divider);
}
.plan__from {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.plan__amount {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
}
.plan ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.plan ul li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.plan ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--color-primary);
  border-radius: 50%;
}
.pricing__note {
  margin-top: var(--space-10);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 65ch;
  margin-inline: auto;
}

/* ============== FAQ ============== */
.faq {
  max-width: var(--content-narrow);
  margin-inline: auto;
  border-top: 1px solid var(--color-divider);
}
.faq details {
  border-bottom: 1px solid var(--color-divider);
  padding: var(--space-5) 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  padding-block: var(--space-2);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 65ch;
}

/* ============== CONTACT ============== */
.section--contact {
  background: var(--color-surface-contrast);
  color: var(--color-text-inverse);
}
.section--contact .eyebrow {
  color: var(--color-primary-soft);
}
[data-theme="dark"] .section--contact {
  background: var(--color-surface-2);
  border-block: 1px solid var(--color-border);
  color: var(--color-text);
}
[data-theme="dark"] .section--contact .contact__list li > span,
[data-theme="dark"] .section--contact .contact__trust-line {
  color: var(--color-text) !important;
}
[data-theme="dark"] .section--contact .contact__trust-line strong {
  color: var(--color-text) !important;
}
[data-theme="dark"] .section--contact .eyebrow {
  color: var(--color-primary);
}
.section--contact .section__title,
.section--contact h2,
.section--contact h3 {
  color: var(--color-text-inverse);
}
[data-theme="dark"] .section--contact .section__title {
  color: var(--color-text);
}
.section--contact .section__lede {
  color: color-mix(in oklab, var(--color-text-inverse) 80%, transparent);
}
[data-theme="dark"] .section--contact .section__lede {
  color: var(--color-text-muted);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-16));
}
@media (min-width: 900px) {
  .contact__inner {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.contact__list {
  list-style: none;
  margin-top: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.contact__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid color-mix(in oklab, var(--color-text-inverse) 15%, transparent);
}
[data-theme="dark"] .contact__list li {
  border-bottom-color: var(--color-divider);
}
.contact__list li:last-child {
  border-bottom: 0;
}
.contact__label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--color-text-inverse) 60%, transparent);
}
[data-theme="dark"] .contact__label {
  color: var(--color-text-muted);
}
.contact__list a {
  color: var(--color-text-inverse);
  font-size: var(--text-base);
}
[data-theme="dark"] .contact__list a {
  color: var(--color-text);
}
.contact__list a:hover {
  color: var(--color-primary-soft);
}

/* Contact form */
.contact-form {
  background: var(--color-surface-2);
  color: var(--color-text);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .contact-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 540px) {
  .contact-form .row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.field label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}
.field__hint {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  margin-left: var(--space-1);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75em 0.9em;
  font-size: var(--text-base);
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea {
  background: var(--color-surface-2);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}
.field textarea {
  resize: none;
  min-height: 84px;
  max-height: 240px;
  font-family: inherit;
  line-height: 1.5;
  overflow-y: auto;
}
.field textarea::placeholder,
.field input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}
.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #c5604f;
  box-shadow: 0 0 0 3px rgba(197, 96, 79, 0.16);
}
.field__error {
  margin: 6px 0 0;
  font-size: var(--text-xs);
  color: #b94e4e;
  line-height: 1.4;
}

.field--consent label {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.5;
  cursor: pointer;
}
.field--consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.form-status {
  font-size: var(--text-sm);
  color: var(--color-primary);
  min-height: 0;
}
.form-status[data-state="error"] {
  color: #b94e4e;
}
.form-success {
  margin-top: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: color-mix(in oklab, var(--color-primary) 6%, var(--color-bg));
  border: 1px solid color-mix(in oklab, var(--color-primary) 24%, transparent);
  border-radius: var(--radius-md);
  display: grid;
  gap: 4px;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.form-success strong {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-primary);
  font-weight: 600;
}
.form-success a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ============== FOOTER ============== */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-16);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
}
@media (min-width: 760px) {
  .footer__inner {
    grid-template-columns: 1.1fr 2fr;
    gap: var(--space-16);
  }
}

.footer__tag {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  max-width: 36ch;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-8);
}
.footer__nav h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: var(--space-4);
}
.footer__nav a {
  display: block;
  padding: 4px 0;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.footer__nav a:hover {
  color: var(--color-primary);
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-6);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.footer__legal a {
  color: var(--color-text-muted);
  margin-left: var(--space-2);
}
.footer__legal a:hover {
  color: var(--color-primary);
}

/* Recommended pilot badge */
.plan__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: #0f2336;
  color: #f7fafc;
  margin-bottom: 10px;
}
.plan--recommended {
  border-color: rgba(15, 35, 54, 0.45);
  box-shadow: 0 8px 24px rgba(15, 35, 54, 0.1);
}
.footer__muted {
  color: var(--color-text-muted, #6b7280);
  display: block;
  margin-top: 4px;
}

/* =====================================================================
   FINAL PASS — Guided tour, roles, cremation, owners, family, impl
   ===================================================================== */

.nav__signin {
  margin-left: var(--space-3);
  padding: 6px 12px;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.nav__signin:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Methodology / disclaimer block */
.method-note {
  margin-top: var(--space-8);
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}
.method-note strong { color: var(--color-text); }
.method-note--center { text-align: center; max-width: 760px; margin-inline: auto; }

/* Guided tour */
.tour-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-10);
}
@media (min-width: 760px) { .tour-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .tour-grid { grid-template-columns: 1fr 1fr 1fr; } }

.tour-figure { margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.tour-figure__frame {
  background: linear-gradient(180deg, #0f2336 0%, #0a1a2a 100%);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.tour-figure__frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(255,255,255,0.06);
}
.tour-figure__frame--text {
  min-height: 260px;
  padding: var(--space-8);
  display: flex;
  align-items: center;
  color: var(--color-text-inverse);
}
.tour-figure__list {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: grid;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-inverse);
}
.tour-figure__list li::before { content: "— "; opacity: 0.5; }
.tour-figure__heading {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.25;
  margin: var(--space-2) 0 0;
  color: var(--color-text-inverse);
  font-weight: 600;
}
.tour-figure__list li strong { color: var(--color-text-inverse); font-weight: 600; }
.tour-figure figcaption {
  display: grid;
  gap: 4px;
  padding: 0 4px;
}
.tour-figure figcaption strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  font-weight: 500;
}
.tour-figure figcaption span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Roles strip */
.roles-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.role-card {
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  display: grid;
  gap: 6px;
}
.role-card strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-primary);
  font-weight: 500;
}
.role-card span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Cremation workflow */
.workflow-steps {
  counter-reset: workflow;
  list-style: none;
  padding: 0;
  margin: var(--space-8) auto 0;
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  max-width: 1080px;
}
@media (min-width: 700px) {
  .workflow-steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
}
.workflow-steps li {
  position: relative;
  padding: var(--space-7) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.workflow-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
}
.workflow-steps li h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin: 0;
  color: var(--color-text);
  font-weight: 500;
}
.workflow-steps li p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.workflow-steps__block {
  margin-top: var(--space-2);
  font-size: 0.78rem;
  font-weight: 500;
  color: #8a3a1c;
  background: rgba(176, 80, 40, 0.10);
  border: 1px solid rgba(176, 80, 40, 0.25);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  align-self: start;
}

/* Owner outcomes */
.owners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}
@media (min-width: 900px) { .owners-grid { grid-template-columns: repeat(3, 1fr); } }
.owners-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  display: grid;
  gap: var(--space-3);
}
.owners-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin: 0;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.2;
}
.owners-card p { margin: 0; font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }
.owners-quote {
  margin: var(--space-10) auto 0;
  max-width: 720px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-primary);
  line-height: 1.3;
  padding: var(--space-6);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

/* Family */
.family-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}
@media (min-width: 900px) { .family-grid { grid-template-columns: 1fr 1fr; } }
.family-card {
  padding: var(--space-6) var(--space-7);
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
}
.family-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin: 0 0 var(--space-4);
  color: var(--color-text);
  font-weight: 500;
}
.family-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2);
}
.family-card ul li {
  position: relative;
  padding-left: 1.25rem;
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.6;
}
.family-card ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}
.family-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: famstep;
  display: grid;
  gap: var(--space-4);
}
.family-steps li {
  counter-increment: famstep;
  padding-left: 2.5rem;
  position: relative;
  display: grid;
  gap: 2px;
}
.family-steps li::before {
  content: counter(famstep);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
}
.family-steps li strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  font-weight: 500;
}
.family-steps li span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Implementation arc */
.implementation-arc {
  list-style: none;
  padding: 0;
  margin: var(--space-10) 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 900px) {
  .implementation-arc { grid-template-columns: repeat(4, 1fr); }
}
.implementation-arc li {
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  position: relative;
}
.implementation-arc__week {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}
.implementation-arc li h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  font-weight: 500;
}
.implementation-arc li p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}


/* Pilot includes */
.pilot-includes {
  list-style: none;
  padding: 0;
  margin: var(--space-10) 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 720px) {
  .pilot-includes { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .pilot-includes { grid-template-columns: repeat(3, 1fr); }
}
.pilot-includes li {
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pilot-includes__step {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}
.pilot-includes li h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  font-weight: 500;
}
.pilot-includes li p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ============== DARK MODE CONTRAST FIXES ============== */
/* Light-overlay surface sections need a dark overlay in dark theme,
   otherwise theme-driven light text becomes white-on-cream. */
[data-theme="dark"] .section--surface {
  background:
    linear-gradient(180deg, rgba(20, 24, 29, 0.82), rgba(14, 18, 22, 0.88)),
    var(--color-surface);
  border-block-color: rgba(255, 255, 255, 0.06);
}

/* Tour-figure text frames have a hardcoded dark navy background, so their
   inner text must always be a light color — not --color-text-inverse, which
   flips to dark in dark mode. */
.tour-figure__frame--text,
.tour-figure__frame--text .tour-figure__heading,
.tour-figure__frame--text .tour-figure__list,
.tour-figure__frame--text .tour-figure__list li,
.tour-figure__frame--text .tour-figure__list li strong,
.tour-figure__frame--text .eyebrow {
  color: #f1f4f7;
}
.tour-figure__frame--text .eyebrow {
  color: color-mix(in oklab, #f1f4f7 78%, transparent);
}

/* Solution cards have hardcoded light surfaces. Adapt them so the page
   doesn't show light-card + light-text in dark mode. */
[data-theme="dark"] .solution-card {
  background: linear-gradient(180deg, rgba(28, 34, 42, 0.96), rgba(20, 24, 29, 0.96));
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .solution-card h3 { color: #e8edf3; }
[data-theme="dark"] .solution-card p  { color: #aab4c2; }
[data-theme="dark"] .solution-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

/* Role cards: ensure label has enough contrast on dark surfaces. */
[data-theme="dark"] .role-card {
  background: rgba(28, 34, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .role-card strong { color: #e8edf3; }
[data-theme="dark"] .role-card span   { color: #aab4c2; }

/* ===== Hero wedge proof block ===== */
.hero__wedge {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  max-width: 720px;
}
@media (min-width: 720px) {
  .hero__wedge { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
.hero__wedge li {
  background: var(--color-surface-2, #f7f5f0);
  border: 1px solid var(--color-divider, rgba(15, 23, 42, 0.08));
  border-radius: var(--radius-md, 10px);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__wedge strong {
  font-size: 0.92rem;
  color: var(--color-text-strong, #11161d);
  letter-spacing: -0.01em;
}
.hero__wedge span {
  font-size: 0.86rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.4;
}
[data-theme="dark"] .hero__wedge li {
  background: rgba(28, 34, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .hero__wedge strong { color: #e8edf3; }
[data-theme="dark"] .hero__wedge span   { color: #aab4c2; }

/* ===== Owners operational stat strip ===== */
.owners-strip {
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .owners-strip { grid-template-columns: repeat(3, 1fr); }
}
.owners-strip > div {
  background: var(--color-surface-2, #f7f5f0);
  border: 1px solid var(--color-divider, rgba(15, 23, 42, 0.08));
  border-radius: var(--radius-md, 10px);
  padding: 18px 20px;
}
.owners-strip dt {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-strong, #11161d);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.owners-strip dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.45;
}
[data-theme="dark"] .owners-strip > div {
  background: rgba(28, 34, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .owners-strip dt { color: #e8edf3; }
[data-theme="dark"] .owners-strip dd { color: #aab4c2; }

/* ===== Operational proof previews ===== */
.proof-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
}
.proof-card {
  background: var(--color-surface, #ffffff);
  border: 1px solid var(--color-divider, rgba(15, 23, 42, 0.08));
  border-radius: var(--radius-md, 12px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.proof-card__head .eyebrow { margin: 0; }
.proof-card h3 {
  margin: 4px 0 0;
  font-size: 1.05rem;
  color: var(--color-text-strong, #11161d);
}
.proof-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.5;
}
.proof-card .method-note { font-size: 0.82rem; }
.proof-link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent, #14213D);
  text-decoration: none;
  border-top: 1px solid var(--color-divider, rgba(15, 23, 42, 0.08));
  padding-top: 10px;
}
.proof-link:hover { text-decoration: underline; }

.proof-preview {
  background: #14213D;
  color: #E8EDF3;
  border-radius: 10px;
  padding: 12px;
  font-size: 0.78rem;
  line-height: 1.35;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 24px -16px rgba(20, 33, 61, 0.5);
}
.proof-preview__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.proof-preview__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.22);
}
.proof-preview__title {
  margin-left: 6px;
  font-size: 0.72rem;
  color: rgba(232, 237, 243, 0.7);
  letter-spacing: 0.01em;
}
.proof-preview__kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}
.proof-preview__kpis > div {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 6px 8px;
}
.proof-preview__kpis span {
  display: block;
  font-size: 0.62rem;
  color: rgba(232, 237, 243, 0.6);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.proof-preview__kpis strong {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 600;
}
.proof-preview__kpis .is-warn strong { color: #f0c674; }
.proof-preview__rows { display: flex; flex-direction: column; gap: 4px; }
.proof-preview__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 8px;
  padding: 6px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  align-items: center;
}
.proof-preview__row span { color: rgba(232, 237, 243, 0.78); }
.proof-preview__row b { color: #ffffff; font-weight: 600; }

.proof-preview__gates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.proof-preview__gates li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 5px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  color: rgba(232, 237, 243, 0.85);
}
.proof-preview__gates em {
  font-style: normal;
  font-size: 0.7rem;
  color: rgba(232, 237, 243, 0.55);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.proof-preview__check {
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(46, 160, 67, 0.18);
  color: #6ee7a0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
  border: 1px solid rgba(46, 160, 67, 0.35);
}
.proof-preview__stamp {
  margin-top: 10px;
  display: inline-block;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(46, 160, 67, 0.14);
  color: #6ee7a0;
  border: 1px solid rgba(46, 160, 67, 0.35);
}

.proof-preview__family {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.proof-preview__family li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 5px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  color: rgba(232, 237, 243, 0.85);
}
.proof-preview__family b { color: #ffffff; font-weight: 600; }
.proof-preview__family span { color: rgba(232, 237, 243, 0.72); }
.proof-preview__family em {
  font-style: normal;
  font-size: 0.7rem;
  color: rgba(232, 237, 243, 0.55);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

[data-theme="dark"] .proof-card {
  background: rgba(28, 34, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .proof-card h3 { color: #e8edf3; }
[data-theme="dark"] .proof-card p  { color: #aab4c2; }
[data-theme="dark"] .proof-link {
  color: #cdd6e3;
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* === Pilot-outcomes proof preview === */
.proof-preview--pilot .proof-preview__pilot {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.proof-preview--pilot .proof-preview__pilot li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: baseline;
  font-size: 12.5px;
  color: var(--color-text-muted, #51607A);
  padding: 6px 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 6px;
}
.proof-preview--pilot .proof-preview__pilot li b {
  color: var(--color-text, #14213D);
  font-weight: 600;
}
.proof-preview--pilot .proof-preview__pilot li em {
  font-style: normal;
  color: #0F7B5A;
  font-weight: 600;
  font-size: 11.5px;
}

/* Dark-mode contrast fix: pilot rows use a near-white tile,
   so force readable ink-on-light text regardless of theme. */
[data-theme="dark"] .proof-preview--pilot .proof-preview__pilot li {
  background: rgba(255, 255, 255, 0.92);
  color: #2a3140;
}
[data-theme="dark"] .proof-preview--pilot .proof-preview__pilot li b {
  color: #14213D;
}
[data-theme="dark"] .proof-preview--pilot .proof-preview__pilot li em {
  color: #0F7B5A;
}

/* === How firms start === */
.how-firms-start {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 720px) {
  .how-firms-start { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.how-firms-start li {
  background: #fff;
  border: 1px solid var(--color-border, #DEE2E7);
  border-radius: 12px;
  padding: 20px;
  position: relative;
}
.how-firms-start__step {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-muted, #8A93A3);
  margin-bottom: 8px;
}
.how-firms-start h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--color-text, #14213D);
}
.how-firms-start p {
  margin: 0;
  font-size: 13.5px;
  color: var(--color-text-muted, #51607A);
  line-height: 1.5;
}
[data-theme="dark"] .how-firms-start li {
  background: #182232;
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .how-firms-start h3 { color: #e8edf3; }
[data-theme="dark"] .how-firms-start p { color: #aab4c2; }
[data-theme="dark"] .how-firms-start__step { color: #7d8696; }

/* === Implementation trust block === */
.implementation-trust {
  margin-top: 28px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--color-border, #DEE2E7);
  border-radius: 12px;
  display: grid;
  gap: 20px;
}
@media (min-width: 860px) {
  .implementation-trust { grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
}
.implementation-trust h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--color-text, #14213D);
}
.implementation-trust > div > p {
  margin: 0;
  font-size: 13.5px;
  color: var(--color-text-muted, #51607A);
  line-height: 1.55;
}
.implementation-trust ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.implementation-trust li {
  font-size: 13px;
  color: var(--color-text-muted, #51607A);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}
.implementation-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C8A86B;
}
.implementation-trust strong { color: var(--color-text, #14213D); font-weight: 600; }
[data-theme="dark"] .implementation-trust {
  background: #182232;
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .implementation-trust h4 { color: #e8edf3; }
[data-theme="dark"] .implementation-trust > div > p,
[data-theme="dark"] .implementation-trust li { color: #aab4c2; }
[data-theme="dark"] .implementation-trust strong { color: #e8edf3; }

/* ============== COMPARISON TABLE ============== */
.compare {
  margin-top: var(--space-8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 0.75rem);
  background: var(--color-surface);
  overflow: hidden;
}
.compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.compare__table thead th {
  text-align: left;
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
}
.compare__table thead th.compare__col--ours,
.compare__table thead th.compare__col--them {
  text-align: center;
  width: 22%;
}
.compare__table thead th.compare__col--ours {
  color: var(--color-primary);
  background: var(--color-accent-soft);
}
.compare__table tbody th {
  text-align: left;
  font-weight: 500;
  padding: var(--space-3) var(--space-5);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-divider);
}
.compare__cell {
  text-align: center;
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--color-divider);
  color: var(--color-text-muted);
}
.compare__cell--ours {
  background: color-mix(in srgb, var(--color-accent-soft) 55%, transparent);
}
.compare__table tbody tr:last-child th,
.compare__table tbody tr:last-child td {
  border-bottom: 0;
}
.compare__yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1;
}
.compare__cell--ours .compare__yes {
  color: var(--color-accent);
}
.compare__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-text-faint);
  line-height: 1;
}
.compare__support {
  margin-top: var(--space-6);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.compare__note {
  margin-top: var(--space-4);
  text-align: center;
  color: var(--color-text-faint);
  font-size: var(--text-xs);
}
.compare__cta {
  margin-top: var(--space-3);
  text-align: center;
  font-size: var(--text-sm);
}
.compare__cta a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.compare__cta a:hover {
  color: var(--color-accent);
}

@media (max-width: 640px) {
  .compare__table thead {
    display: none;
  }
  .compare__table,
  .compare__table tbody,
  .compare__table tr {
    display: block;
    width: 100%;
  }
  .compare__table tbody tr {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--color-divider);
  }
  .compare__table tbody tr:last-child {
    border-bottom: 0;
  }
  .compare__table tbody th {
    display: block;
    padding: 0 0 var(--space-2) 0;
    border-bottom: 0;
    font-weight: 600;
    color: var(--color-text);
  }
  .compare__cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) 0;
    border-bottom: 0;
    text-align: left;
  }
  .compare__cell::before {
    content: attr(data-label);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .compare__cell--ours {
    background: transparent;
  }
  .compare__cell--ours::before {
    color: var(--color-primary);
  }
}

/* ============== PREMIUM UPGRADES ============== */

/* Metric pills — hero stats */
.hero__stats {
  gap: var(--space-4) !important;
}
.hero__stats > div {
  padding: var(--space-4) var(--space-5);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 20, 25, 0.06);
  border-radius: 0.875rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(15, 35, 54, 0.04), 0 1px 3px rgba(15, 35, 54, 0.03);
}
.hero__stats dt {
  background: linear-gradient(135deg, #06090d 0%, #3d4856 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.01em;
}

/* Glassmorphism refinements for cards */
.solution-card {
  background: rgba(255, 255, 255, 0.62) !important;
  backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(15, 20, 25, 0.05) !important;
  position: relative;
}
.solution-card h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.solution-card h3::after {
  content: "→";
  font-weight: 400;
  color: rgba(79, 70, 229, 0.7);
  transform: translateX(-2px);
  opacity: 0;
  transition: transform 300ms ease, opacity 300ms ease;
}
.solution-card:hover h3::after {
  transform: translateX(2px);
  opacity: 1;
}
.solution-card:hover {
  border-color: rgba(79, 70, 229, 0.28) !important;
  box-shadow:
    0 0 0 1px rgba(79, 70, 229, 0.08),
    0 4px 6px rgba(15, 35, 54, 0.06),
    0 12px 24px rgba(15, 35, 54, 0.08) !important;
}

/* Bento grid — modules section */
.solution-grid--bento {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
  max-width: 1180px;
}
.solution-grid--bento .solution-card {
  max-width: none;
  grid-column: span 2;
  padding: var(--space-5);
}
.solution-grid--bento .solution-card--wide {
  grid-column: span 3;
  background: linear-gradient(135deg, rgba(255,255,255,0.75), rgba(230, 238, 246, 0.55)) !important;
  padding: var(--space-6);
}
.solution-grid--bento .solution-card--wide h3 {
  font-size: 1.125rem;
}
@media (max-width: 900px) {
  .solution-grid--bento { grid-template-columns: repeat(2, 1fr); }
  .solution-grid--bento .solution-card,
  .solution-grid--bento .solution-card--wide { grid-column: span 2; }
}

/* Dark wedge section — high-contrast break */
#wedge.section {
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(79, 70, 229, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 75%, rgba(45, 138, 158, 0.14), transparent 60%),
    #05070d;
  color: #e2e8f0;
  position: relative;
}
#wedge.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.06), transparent 40%);
  pointer-events: none;
}
#wedge .section__title {
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#wedge .eyebrow {
  color: rgba(226, 232, 240, 0.6) !important;
}
#wedge .section__lede {
  color: rgba(226, 232, 240, 0.75);
}
#wedge .solution-card {
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 28px rgba(0,0,0,0.35) !important;
}
#wedge .solution-card h3 {
  color: #f8fafc;
}
#wedge .solution-card p {
  color: rgba(226, 232, 240, 0.72);
}
#wedge .solution-card:hover {
  border-color: rgba(129, 140, 248, 0.45) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.18),
    0 20px 40px rgba(0,0,0,0.45) !important;
}
#wedge .solution-card h3::after {
  color: rgba(165, 180, 252, 0.9);
}
