:root,
html[data-theme='dark'] {
  /* Background Colors */
  --bg-0: #0a0a0a;
  --bg-1: #10100f;
  --surface-0: #171716;
  --surface-1: #1d1d1b;

  /* Text Colors */
  --text-0: #f3f1ec;
  --text-1: #b9b6ae;
  --text-2: #8c8a84;
  --text-3: #706e68;

  /* Lines & Borders */
  --line-0: rgba(243, 241, 236, 0.12);
  --line-1: rgba(243, 241, 236, 0.07);

  /* Accent Colors */
  --accent: #14ea91;
  --accent-strong: #0fbf75;
  --accent-soft: rgba(20, 234, 145, 0.14);

  /* Shadows */
  --shadow-0: 0 18px 44px rgba(0, 0, 0, 0.34);
  --shadow-1: 0 6px 18px rgba(0, 0, 0, 0.26);

  /* Navbar */
  --nav-glass-bg: rgba(255, 255, 255, 0.03);
  --nav-glass-border: rgba(255, 255, 255, 0.08);
  --focus-ring: 0 0 0 3px rgba(20, 234, 145, 0.22);

  /* ============================================
     TYPOGRAPHY SYSTEM - Dark Theme Optimized
     ============================================ */

  /* Font Families */
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace;

  /* Font Weights - Dark theme: never below 400 */
  --font-weight-regular: 450;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;

  /* Letter Spacing - Dark needs more air */
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0.01em;
  --letter-spacing-wide: 0.03em;
  --letter-spacing-wider: 0.04em;

  /* Line Heights */
  --line-height-tight: 1.1;
  --line-height-snug: 1.25;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.7;
}

html,
body {
  background: var(--bg-0);
  color: var(--text-0);
}

body {
  transition: background-color 240ms ease, color 200ms ease;
}

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

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 12px;
}

/* Navbar glass */
.zen-nav-glass {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--surface-0) 24%, transparent) 0%,
      color-mix(in srgb, var(--surface-1) 22%, transparent) 100%),
    var(--nav-glass-bg);
  border: 1px solid var(--nav-glass-border);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
}

.zen-nav-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg,
      color-mix(in srgb, var(--surface-0) 42%, transparent) 0%,
      transparent 45%);
  opacity: 0.45;
}

.nav-links-pill-top {
  box-shadow: var(--shadow-1);
}

.nav-links-pill-scrolled {
  box-shadow: var(--shadow-0);
}

.theme-switch-inset {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line-0) 70%, transparent);
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--surface-0) 90%, transparent) 0%,
      color-mix(in srgb, var(--surface-1) 78%, transparent) 100%);
  color: var(--text-0);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--surface-0) 70%, transparent),
    var(--shadow-1);
  transition: all 180ms ease;
  position: relative;
  z-index: 1;
}

.theme-switch-inset:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line-0));
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--surface-0) 86%, var(--accent-soft)) 0%,
      color-mix(in srgb, var(--surface-1) 76%, var(--accent-soft)) 100%);
}

.theme-switch-inset:focus-visible {
  box-shadow: var(--focus-ring), var(--shadow-1);
}

/* Buttons */
.btn-primary {
  background: color-mix(in srgb, var(--surface-0) 86%, transparent);
  border-color: var(--line-0);
  color: var(--text-0);
  box-shadow: var(--shadow-1);
}

.btn-primary:hover {
  border-color: var(--accent-soft);
  background: color-mix(in srgb, var(--surface-0) 92%, var(--accent-soft));
}

.btn-outline {
  border-color: var(--line-0);
  color: var(--accent-strong);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text-0);
}

.btn-text {
  color: var(--text-1);
}

.btn-text:hover {
  color: var(--accent-strong);
}

/* Existing hardcoded classes mapped to tokens */
hr,
[class*='border-white/10'],
[class*='border-white/[0.10]'],
[class*='border-white/[0.06]'] {
  border-color: var(--line-1) !important;
}

[class*='bg-[#0A0A0A]'],
[class*='bg-[#0B0B0B]'],
[class*='bg-[#0C0C0C]'],
[class*='bg-[#0D0D0D]'],
[class*='bg-[#050505]'] {
  background-color: var(--bg-0) !important;
}

[class*='text-[#F3F1EC]'] {
  color: var(--text-0) !important;
}

[class*='text-[#B9B6AE]'] {
  color: var(--text-1) !important;
}

[class*='text-[#8C8A84]'],
[class*='text-[#A09D96]'],
[class*='text-[#706e68]'] {
  color: var(--text-2) !important;
}

[class*='text-[#14f195]'] {
  color: var(--accent) !important;
}

[class*='border-[#14f195]'] {
  border-color: var(--accent-soft) !important;
}

html[data-theme='dark'] [class*='bg-[#14f195]']:not([class*='bg-[#14f195]/']) {
  color: #0a0a0a !important;
}

/* ============================================
   LIGHT MODE - APPLE iOS BANDS
   ============================================ */
html[data-theme='light'] {
  --bg-0: #faf9f5;
  --bg-1: #f3f2ed;
  --surface-0: #ffffff;
  --surface-1: #f8f7f3;
  --text-0: #1b1d1c;
  --text-1: #444846;
  --text-2: #6f7471;
  --text-3: #9aa09c;
  --line-0: rgba(20, 24, 21, 0.1);
  --line-1: rgba(20, 24, 21, 0.06);
  --accent: #1f7a5c;
  --accent-strong: #155e46;
  --accent-soft: rgba(31, 122, 92, 0.12);
  --shadow-0: 0 22px 48px rgba(0, 0, 0, 0.08);
  --shadow-1: 0 8px 18px rgba(0, 0, 0, 0.06);
  --nav-glass-bg: rgba(255, 255, 255, 0.78);
  --nav-glass-border: rgba(19, 25, 22, 0.08);
  --focus-ring: 0 0 0 3px rgba(31, 122, 92, 0.2);

  --wm-bg-light: #faf9f5;
  --wm-bg-soft: #f3f2ed;
  --wm-bg-muted: #ebece7;
  --wm-bg-ink: #171a18;
  --wm-bg-ink-soft: #1e2220;
  --wm-line-light: rgba(20, 24, 21, 0.08);
  --wm-line-ink: rgba(255, 255, 255, 0.12);
  --wm-grain-opacity: 0.025;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.02em;
  --letter-spacing-wider: 0.03em;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
}

html[data-theme='light'] body {
  background: var(--wm-bg-light);
  color: var(--text-0);
}

html[data-theme='light'] body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--wm-grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

html[data-theme='light'] body::after {
  content: none;
}

html[data-theme='light'] #root {
  position: relative;
  z-index: 1;
}

html[data-theme='light'] .zen-nav-glass {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(20, 24, 21, 0.07);
  box-shadow:
    0 14px 36px rgba(11, 15, 13, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.82) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

html[data-theme='light'] .zen-nav-glass::before {
  opacity: 0.72;
}

html[data-theme='light'] .wm-band-light,
html[data-theme='light'] .wm-band-soft,
html[data-theme='light'] .wm-band-muted,
html[data-theme='light'] .wm-band-ink,
html[data-theme='light'] .wm-band-ink-soft {
  position: relative;
  transition: background-color 260ms ease;
}

html[data-theme='light'] .wm-band-light {
  --wm-band-top: #fdfbf8;
  --wm-band-mid: var(--wm-bg-light);
  --wm-band-bottom: #f6f4f0;
  background-color: var(--wm-bg-light) !important;
}

html[data-theme='light'] .wm-band-soft {
  --wm-band-top: #f8f6f2;
  --wm-band-mid: var(--wm-bg-soft);
  --wm-band-bottom: #efeee9;
  background-color: var(--wm-bg-soft) !important;
}

html[data-theme='light'] .wm-band-muted {
  --wm-band-top: #f3f4ef;
  --wm-band-mid: var(--wm-bg-muted);
  --wm-band-bottom: #e7e8e2;
  background-color: var(--wm-bg-muted) !important;
}

/* Section 2 after Hero: iOS neutral paper tone */
html[data-theme='light'] #problems .wm-band-muted {
  --wm-band-top: #f8f8fa;
  --wm-band-mid: #f5f5f7;
  --wm-band-bottom: #f3f3f5;
  background-color: #f5f5f7 !important;
}

html[data-theme='light'] .wm-band-ink-soft {
  --wm-band-top: #232826;
  --wm-band-mid: var(--wm-bg-ink-soft);
  --wm-band-bottom: #1a1e1c;
  --text-0: #f3f1ec;
  --text-1: #c4c0b8;
  --text-2: #97928a;
  --text-3: #7c7770;
  --line-0: rgba(243, 241, 236, 0.18);
  --line-1: rgba(243, 241, 236, 0.12);
  --surface-0: #252a27;
  --surface-1: #212624;
  background-color: var(--wm-bg-ink-soft) !important;
}

html[data-theme='light'] .wm-band-ink {
  --wm-band-top: #1f2421;
  --wm-band-mid: var(--wm-bg-ink);
  --wm-band-bottom: #131715;
  --text-0: #f3f1ec;
  --text-1: #c4c0b8;
  --text-2: #97928a;
  --text-3: #7c7770;
  --line-0: rgba(243, 241, 236, 0.19);
  --line-1: rgba(243, 241, 236, 0.13);
  --surface-0: #212523;
  --surface-1: #1b1f1d;
  background-color: var(--wm-bg-ink) !important;
}

html[data-theme='light'] .wm-band-light::after,
html[data-theme='light'] .wm-band-soft::after,
html[data-theme='light'] .wm-band-muted::after,
html[data-theme='light'] .wm-band-ink::after,
html[data-theme='light'] .wm-band-ink-soft::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(to right, transparent 0%, color-mix(in srgb, var(--line-1) 70%, transparent) 22%, color-mix(in srgb, var(--line-1) 70%, transparent) 78%, transparent 100%);
}

html[data-theme='light'] .wm-band-light [class*='bg-gradient-to-b'][class*='from-[#0A0A0A]'],
html[data-theme='light'] .wm-band-light [class*='bg-gradient-to-b'][class*='from-[#0B0B0B]'],
html[data-theme='light'] .wm-band-light [class*='bg-gradient-to-b'][class*='from-[#0C0C0C]'],
html[data-theme='light'] .wm-band-light [class*='bg-gradient-to-b'][class*='from-[#0D0D0D]'],
html[data-theme='light'] .wm-band-soft [class*='bg-gradient-to-b'][class*='from-[#0A0A0A]'],
html[data-theme='light'] .wm-band-soft [class*='bg-gradient-to-b'][class*='from-[#0B0B0B]'],
html[data-theme='light'] .wm-band-soft [class*='bg-gradient-to-b'][class*='from-[#0C0C0C]'],
html[data-theme='light'] .wm-band-soft [class*='bg-gradient-to-b'][class*='from-[#0D0D0D]'],
html[data-theme='light'] .wm-band-muted [class*='bg-gradient-to-b'][class*='from-[#0A0A0A]'],
html[data-theme='light'] .wm-band-muted [class*='bg-gradient-to-b'][class*='from-[#0B0B0B]'],
html[data-theme='light'] .wm-band-muted [class*='bg-gradient-to-b'][class*='from-[#0C0C0C]'],
html[data-theme='light'] .wm-band-muted [class*='bg-gradient-to-b'][class*='from-[#0D0D0D]'],
html[data-theme='light'] .wm-band-ink [class*='bg-gradient-to-b'][class*='from-[#0A0A0A]'],
html[data-theme='light'] .wm-band-ink [class*='bg-gradient-to-b'][class*='from-[#0B0B0B]'],
html[data-theme='light'] .wm-band-ink [class*='bg-gradient-to-b'][class*='from-[#0C0C0C]'],
html[data-theme='light'] .wm-band-ink [class*='bg-gradient-to-b'][class*='from-[#0D0D0D]'],
html[data-theme='light'] .wm-band-ink-soft [class*='bg-gradient-to-b'][class*='from-[#0A0A0A]'],
html[data-theme='light'] .wm-band-ink-soft [class*='bg-gradient-to-b'][class*='from-[#0B0B0B]'],
html[data-theme='light'] .wm-band-ink-soft [class*='bg-gradient-to-b'][class*='from-[#0C0C0C]'],
html[data-theme='light'] .wm-band-ink-soft [class*='bg-gradient-to-b'][class*='from-[#0D0D0D]'] {
  background-image: linear-gradient(to bottom, var(--wm-band-top) 0%, var(--wm-band-mid) 54%, var(--wm-band-bottom) 100%) !important;
}

html[data-theme='light'] #start {
  background: #fdfdfd !important;
}

html[data-theme='light'] #start .hero-bg-base {
  background:
    radial-gradient(900px 520px at 74% 24%, rgba(51, 132, 104, 0.055) 0%, transparent 72%),
    radial-gradient(760px 480px at 24% 78%, rgba(215, 221, 230, 0.04) 0%, transparent 74%),
    #fdfdfd !important;
}

html[data-theme='light'] #start .hero-bg-base::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  mix-blend-mode: multiply;
}

html[data-theme='light'] #start .hero-bg-depth,
html[data-theme='light'] #start .hero-bg-accent,
html[data-theme='light'] #start .hero-bg-blob-1,
html[data-theme='light'] #start .hero-bg-blob-2,
html[data-theme='light'] #start .hero-bg-blob-3 {
  display: none !important;
}

html[data-theme='light'] #start .hero-bg-noise {
  opacity: 0.025 !important;
}

html[data-theme='light'] #start .hero-title-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 185%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(31, 122, 92, 0.08) 0%, rgba(31, 122, 92, 0.03) 42%, transparent 74%);
  filter: blur(38px);
  z-index: -1;
}

html[data-theme='light'] #start .hero-light-visual {
  display: block !important;
}

html[data-theme='light'] #start .hero-light-halo {
  background: radial-gradient(900px 420px at 68% 24%, rgba(51, 132, 104, 0.055) 0%, rgba(51, 132, 104, 0.02) 38%, transparent 74%);
  animation: hero-light-aurora-drift 11s ease-in-out infinite alternate;
}

html[data-theme='light'] #start .hero-light-vignette {
  background: radial-gradient(120% 100% at 50% 50%, transparent 58%, rgba(0, 0, 0, 0.018) 100%);
}

html[data-theme='light'] #start .hero-light-grain {
  opacity: 0.02;
}

html[data-theme='light'] #start .hero-title {
  color: var(--text-0) !important;
  text-shadow: 0 2px 36px rgba(31, 122, 92, 0.08);
}

html[data-theme='light'] #start .hero-subline {
  color: #8b95a3 !important;
  opacity: 1 !important;
}

html[data-theme='light'] #start .hero-description {
  color: #767b84 !important;
  max-width: 780px;
  margin-inline: auto;
}

html[data-theme='light'] #start .hero-cta-primary {
  min-height: 56px;
  padding-inline: 72px;
  border-radius: 999px;
  background: #f5f5f6 !important;
  color: #14171b !important;
  border: 1px solid rgba(20, 24, 21, 0.06) !important;
  box-shadow:
    0 12px 26px -18px rgba(60, 66, 74, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

html[data-theme='light'] #start .hero-cta-secondary {
  min-height: 56px;
  padding-inline: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #80848c !important;
  box-shadow: none !important;
}

html[data-theme='light'] #start .hero-cta-secondary:hover {
  background: transparent !important;
  color: #6f747d !important;
}

html[data-theme='light'] #start .hero-subline-row {
  letter-spacing: -0.02em;
}

html[data-theme='light'] #start .hero-content-shell::before {
  content: none;
}

html[data-theme='light'] #start .hero-cta-row {
  gap: 2.1rem !important;
}

@keyframes hero-light-aurora-drift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
    opacity: 0.78;
  }

  100% {
    transform: translate3d(3%, 2%, 0) scale(1.05);
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme='light'] #start .hero-light-halo {
    animation: none !important;
  }
}

html[data-theme='light'] [class*='rounded-3xl'][class*='border'],
html[data-theme='light'] [class*='rounded-[3rem]'][class*='border'],
html[data-theme='light'] [class*='rounded-2xl'][class*='border'] {
  background: var(--surface-0);
  border: 1px solid var(--line-1) !important;
  box-shadow:
    0 1px 2px rgba(8, 11, 10, 0.04),
    0 8px 16px rgba(8, 11, 10, 0.05),
    0 14px 28px rgba(8, 11, 10, 0.04);
}

html[data-theme='light'] button[class*='bg-gradient-to-r'][class*='from-[#12d487'],
html[data-theme='light'] a[class*='bg-gradient-to-r'][class*='from-[#12d487'] {
  --tw-gradient-from: var(--accent) var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgba(31, 122, 92, 0) var(--tw-gradient-to-position) !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
  color: #ffffff !important;
  border-color: color-mix(in srgb, var(--accent) 45%, transparent) !important;
}

html[data-theme='light'] button[class*='bg-gradient-to-r'][class*='to-[#16e49a'],
html[data-theme='light'] a[class*='bg-gradient-to-r'][class*='to-[#16e49a'] {
  --tw-gradient-to: var(--accent-strong) var(--tw-gradient-to-position) !important;
}

html[data-theme='light'] [class*='text-[#F3F1EC]'] {
  color: var(--text-0) !important;
}

html[data-theme='light'] [class*='text-[#B9B6AE]'],
html[data-theme='light'] [class*='text-[#8C8A84]'],
html[data-theme='light'] [class*='text-[#A09D96]'],
html[data-theme='light'] [class*='text-[#706e68]'] {
  color: var(--text-2) !important;
}

html[data-theme='light'] [class*='text-[#14f195]'] {
  color: var(--accent) !important;
}

html[data-theme='light'] .wm-band-light [class*='bg-[radial-gradient'],
html[data-theme='light'] .wm-band-soft [class*='bg-[radial-gradient'],
html[data-theme='light'] .wm-band-muted [class*='bg-[radial-gradient'] {
  opacity: 0.58 !important;
}

html[data-theme='light'] #problems .wm-band-muted [class*='bg-[radial-gradient'] {
  opacity: 0.22 !important;
}

html[data-theme='light'] .wm-band-light [class*='opacity-[0.02]'],
html[data-theme='light'] .wm-band-soft [class*='opacity-[0.02]'],
html[data-theme='light'] .wm-band-muted [class*='opacity-[0.02]'],
html[data-theme='light'] .wm-band-light [class*='opacity-[0.025]'],
html[data-theme='light'] .wm-band-soft [class*='opacity-[0.025]'],
html[data-theme='light'] .wm-band-muted [class*='opacity-[0.025]'],
html[data-theme='light'] .wm-band-light [class*='opacity-[0.03]'],
html[data-theme='light'] .wm-band-soft [class*='opacity-[0.03]'],
html[data-theme='light'] .wm-band-muted [class*='opacity-[0.03]'] {
  opacity: 0.012 !important;
}

html[data-theme='light'] #problems .wm-band-muted [class*='opacity-[0.02]'],
html[data-theme='light'] #problems .wm-band-muted [class*='opacity-[0.025]'],
html[data-theme='light'] #problems .wm-band-muted [class*='opacity-[0.03]'] {
  opacity: 0.008 !important;
}

html[data-theme='light'] #problems .problems-bg-base {
  background: linear-gradient(to bottom, #f8f8fa 0%, #f5f5f7 50%, #f3f3f5 100%) !important;
}

html[data-theme='light'] #problems .problems-bg-glow,
html[data-theme='light'] #problems .problems-bg-blob-1,
html[data-theme='light'] #problems .problems-bg-blob-2,
html[data-theme='light'] #problems .problems-bg-noise {
  display: none !important;
}

html[data-theme='light'] #problems .problems-card-shell {
  background: #fafafc !important;
  border: 1px solid #e3e6eb !important;
  box-shadow:
    0 6px 16px -12px rgba(16, 24, 40, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
}

html[data-theme='light'] #problems .problems-card-shell:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 22%, #d7dbe2) !important;
  box-shadow:
    0 12px 24px -16px rgba(16, 24, 40, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.92) inset !important;
}

html[data-theme='light'] #problems .problems-card-title {
  color: #1f2328 !important;
}

html[data-theme='light'] #problems .problems-card-desc {
  color: #646b75 !important;
}

html[data-theme='light'] #problems .problems-quote-icon {
  color: color-mix(in srgb, var(--accent) 72%, #ffffff) !important;
}

html[data-theme='light'] #problems .problems-cta-icon {
  background: color-mix(in srgb, var(--accent) 12%, #ffffff) !important;
  border-color: color-mix(in srgb, var(--accent) 24%, #d7dbe2) !important;
}

html[data-theme='light'] #problems .problems-cta-accent {
  color: color-mix(in srgb, var(--accent) 86%, #1f2328) !important;
}

/* Section 3 tuning: dark anchor with smoother transition and calmer background */
html[data-theme='light'] #philosophy.wm-band-ink {
  --wm-band-top: #2b302e;
  --wm-band-mid: #1f2422;
  --wm-band-bottom: #1b201e;
  background:
    linear-gradient(to bottom,
      #f3f3f5 0%,
      #e8ece9 8%,
      #242a27 22%,
      #1f2422 58%,
      #1b201e 100%) !important;
}

html[data-theme='light'] #philosophy .philosophy-bg-base {
  background:
    radial-gradient(780px 360px at 12% 18%, rgba(31, 122, 92, 0.085) 0%, transparent 70%),
    radial-gradient(860px 420px at 88% 76%, rgba(198, 206, 216, 0.1) 0%, transparent 74%),
    linear-gradient(to bottom, #232826 0%, #1d2220 100%) !important;
}

html[data-theme='light'] #philosophy .philosophy-bg-mesh,
html[data-theme='light'] #philosophy .philosophy-bg-blob-1,
html[data-theme='light'] #philosophy .philosophy-bg-blob-2,
html[data-theme='light'] #philosophy .philosophy-bg-blob-3,
html[data-theme='light'] #philosophy .philosophy-bg-noise {
  display: none !important;
}

html[data-theme='light'] #philosophy .philosophy-heading,
html[data-theme='light'] #philosophy .philosophy-right-title,
html[data-theme='light'] #philosophy .philosophy-pillar-title {
  color: #f2f4f2 !important;
}

html[data-theme='light'] #philosophy .philosophy-body-text,
html[data-theme='light'] #philosophy .philosophy-quote,
html[data-theme='light'] #philosophy .philosophy-pillar-desc {
  color: #c4cac6 !important;
}

html[data-theme='light'] #philosophy .philosophy-accent-text,
html[data-theme='light'] #philosophy .philosophy-pillar-number {
  color: color-mix(in srgb, var(--accent) 84%, #cde8de) !important;
}

html[data-theme='light'] #philosophy .philosophy-strike-text {
  color: #98a29b !important;
  text-decoration: none !important;
  position: relative;
}

html[data-theme='light'] #philosophy .philosophy-strike-text::after {
  content: '';
  position: absolute;
  left: -0.02em;
  right: -0.02em;
  top: 56%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(203, 213, 208, 0.9), rgba(223, 232, 228, 0.95), rgba(203, 213, 208, 0.9));
}

/* Section 4 tuning: premium iOS-like light process band */
html[data-theme='light'] #process.process-section {
  background: #f7f7f8 !important;
  position: relative;
}

html[data-theme='light'] #process.process-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(22, 26, 24, 0.16) 0%, rgba(22, 26, 24, 0.06) 38%, rgba(22, 26, 24, 0) 100%);
}

html[data-theme='light'] #process .process-bg-base {
  background:
    radial-gradient(820px 360px at 22% 18%, rgba(31, 122, 92, 0.07) 0%, transparent 70%),
    radial-gradient(760px 380px at 84% 72%, rgba(194, 202, 212, 0.09) 0%, transparent 74%),
    linear-gradient(to bottom, #f8f8fa 0%, #f5f5f7 58%, #f7f7f8 100%) !important;
}

html[data-theme='light'] #process .process-bg-halo {
  opacity: 0.35;
  filter: blur(2px);
}

html[data-theme='light'] #process .process-heading {
  color: #171b20 !important;
}

html[data-theme='light'] #process .process-heading span {
  color: #727b87 !important;
}

html[data-theme='light'] #process .process-line-track {
  background: rgba(20, 24, 21, 0.12) !important;
}

html[data-theme='light'] #process .process-line-progress {
  background-image: linear-gradient(to bottom, color-mix(in srgb, var(--accent) 86%, #ffffff), color-mix(in srgb, var(--accent) 58%, #ffffff) 56%, rgba(31, 122, 92, 0)) !important;
}

html[data-theme='light'] #process .process-step-eyebrow {
  color: color-mix(in srgb, var(--accent) 62%, #5e6962) !important;
}

html[data-theme='light'] #process .process-step-title {
  color: #1b2026 !important;
}

html[data-theme='light'] #process .process-step-desc {
  color: #5e6672 !important;
}

html[data-theme='light'] #process .process-dot-ring {
  border-color: color-mix(in srgb, var(--accent) 34%, #a6b2ab) !important;
  background: #f8fbf9;
}

html[data-theme='light'] #process .process-dot-core {
  background: color-mix(in srgb, var(--accent) 88%, #bce2d2) !important;
}

html[data-theme='light'] #process .process-dot-glow {
  background: color-mix(in srgb, var(--accent) 34%, #ffffff) !important;
  opacity: 0.38;
}

html[data-theme='light'] #process .process-quote {
  color: #333a43 !important;
}

html[data-theme='light'] #process .process-quote span {
  color: color-mix(in srgb, var(--accent) 84%, #1f2429) !important;
}

/* Section 5 tuning: Future / SEO block premium white split */
html[data-theme='light'] .future-section {
  background: #fbfbfc !important;
}

html[data-theme='light'] .future-section .future-bg-base {
  background:
    radial-gradient(860px 440px at 18% 20%, rgba(31, 122, 92, 0.07) 0%, transparent 72%),
    radial-gradient(900px 480px at 86% 64%, rgba(194, 202, 212, 0.1) 0%, transparent 76%),
    linear-gradient(to bottom, #fdfdfe 0%, #fafbfc 52%, #f8f9fa 100%) !important;
}

html[data-theme='light'] .future-section .future-bg-mesh,
html[data-theme='light'] .future-section .future-bg-blob,
html[data-theme='light'] .future-section .future-bg-noise {
  display: none !important;
}

html[data-theme='light'] .future-section .future-heading {
  color: #171c21 !important;
}

html[data-theme='light'] .future-section .future-heading-muted {
  color: #7a838e !important;
}

html[data-theme='light'] .future-section .future-lead {
  color: #606a75 !important;
}

html[data-theme='light'] .future-section .future-feature-text {
  color: #1f252b !important;
}

html[data-theme='light'] .future-section .future-check-icon-wrap {
  background: color-mix(in srgb, var(--accent) 9%, #ffffff) !important;
  border-color: color-mix(in srgb, var(--accent) 26%, #d7dfe4) !important;
}

html[data-theme='light'] .future-section .future-check-icon {
  color: color-mix(in srgb, var(--accent) 86%, #ffffff) !important;
}

html[data-theme='light'] .future-section .future-bottom-quote {
  color: color-mix(in srgb, var(--accent) 84%, #1d2522) !important;
}

html[data-theme='light'] .future-section .future-bottom-quote-strong {
  color: #20262d !important;
}

html[data-theme='light'] .future-section .future-effect-panel {
  border-top: 0 !important;
  padding-top: 0.75rem;
}

html[data-theme='light'] .future-section .future-effect-panel::before {
  content: none;
}

html[data-theme='light'] .future-section .future-effect-panel>* {
  position: relative;
  z-index: 1;
}

html[data-theme='light'] .future-section .future-effect-shell {
  border-radius: 28px;
  padding: 1.5rem 1.15rem 1.25rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.84), rgba(247, 249, 251, 0.92));
  border: 1px solid rgba(20, 24, 21, 0.08);
  box-shadow:
    0 12px 30px -24px rgba(16, 24, 40, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-theme='light'] .future-section .future-effect-label {
  color: color-mix(in srgb, var(--accent) 84%, #36554a) !important;
}

html[data-theme='light'] .future-section .future-effect-main {
  color: #1d232a !important;
  max-width: 26ch;
}

html[data-theme='light'] .future-section .future-effect-sub {
  color: #666f79 !important;
  max-width: 34ch;
}

html[data-theme='light'] .future-section .future-effect-panel [class*='absolute -bottom-8'],
html[data-theme='light'] .future-section .future-effect-panel [class*='absolute -top-4'] {
  display: none !important;
}

/* Section 6 tuning: Offer / Pricing stays light for trust and readability */
html[data-theme='light'] #offer {
  background: #f6f6f7 !important;
}

html[data-theme='light'] #offer>.absolute>div:first-child {
  background:
    radial-gradient(900px 420px at 18% 20%, rgba(31, 122, 92, 0.055) 0%, transparent 72%),
    radial-gradient(960px 520px at 88% 74%, rgba(192, 201, 212, 0.09) 0%, transparent 76%),
    linear-gradient(to bottom, #f8f8f9 0%, #f5f5f7 56%, #f3f4f6 100%) !important;
}

html[data-theme='light'] #offer>.absolute>div:nth-child(2) {
  opacity: 0.22 !important;
  filter: blur(8px);
}

html[data-theme='light'] #offer h2 {
  color: #171c21 !important;
}

html[data-theme='light'] #offer h2+p {
  color: #66707b !important;
}

/* Main package card */
html[data-theme='light'] #offer .mb-8>div {
  background: linear-gradient(160deg, #ffffff 0%, #f9fbfb 100%) !important;
  border: 1px solid rgba(20, 24, 21, 0.09) !important;
  box-shadow:
    0 16px 36px -26px rgba(16, 24, 40, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

html[data-theme='light'] #offer .mb-8 h3,
html[data-theme='light'] #offer .mb-8 [class*='text-6xl'],
html[data-theme='light'] #offer .mb-8 [class*='text-7xl'] {
  color: #151b22 !important;
}

html[data-theme='light'] #offer .mb-8 p,
html[data-theme='light'] #offer .mb-8 span[class*='text-[#B9B6AE]'] {
  color: #626c77 !important;
}

html[data-theme='light'] #offer .mb-8 [class*='border-t'] {
  border-color: rgba(20, 24, 21, 0.1) !important;
}

html[data-theme='light'] #offer .mb-8 button {
  background: #151b22 !important;
  color: #f6f8fa !important;
  border-color: #151b22 !important;
  box-shadow: 0 12px 24px -18px rgba(21, 27, 34, 0.45) !important;
}

/* Secondary cards */
html[data-theme='light'] #offer [class*='md:grid-cols-2']>.group>div {
  background: linear-gradient(160deg, #f9fafb 0%, #f3f5f6 100%) !important;
  border: 1px solid rgba(20, 24, 21, 0.085) !important;
  box-shadow:
    0 10px 24px -20px rgba(16, 24, 40, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme='light'] #offer [class*='md:grid-cols-2']>.group:first-child>div {
  background:
    radial-gradient(520px 220px at 10% -4%, rgba(31, 122, 92, 0.08) 0%, transparent 72%),
    linear-gradient(160deg, #f9fbfc 0%, #f4f6f7 100%) !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2']>.group:last-child>div {
  background:
    radial-gradient(480px 220px at 88% -8%, rgba(31, 122, 92, 0.1) 0%, transparent 74%),
    linear-gradient(160deg, #f7fbfa 0%, #f0f5f3 100%) !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2']>.group>div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg,
      transparent 0%,
      color-mix(in srgb, var(--accent) 28%, #d6e7df) 18%,
      color-mix(in srgb, var(--accent) 28%, #d6e7df) 82%,
      transparent 100%);
  pointer-events: none;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] .space-y-3>div {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] h3,
html[data-theme='light'] #offer [class*='md:grid-cols-2'] [class*='text-[2rem]'] {
  color: #1d232a !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] p,
html[data-theme='light'] #offer [class*='md:grid-cols-2'] span[class*='text-[#8C8A84]'],
html[data-theme='light'] #offer [class*='md:grid-cols-2'] span[class*='text-[#B9B6AE]'] {
  color: #5f6975 !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] span[class*='uppercase tracking-widest'],
html[data-theme='light'] #offer [class*='md:grid-cols-2'] span[class*='text-[10px] uppercase tracking-widest'] {
  color: color-mix(in srgb, var(--accent) 70%, #55665f) !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] [class*='w-1 h-1 rounded-full'] {
  background: color-mix(in srgb, var(--accent) 76%, #98b7a9) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 10%, transparent);
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] button {
  background: color-mix(in srgb, var(--accent) 4%, #ffffff) !important;
  color: #1a2027 !important;
  border-color: color-mix(in srgb, var(--accent) 36%, rgba(26, 32, 39, 0.12)) !important;
  box-shadow: none !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] button:hover {
  background: color-mix(in srgb, var(--accent) 7%, #ffffff) !important;
  border-color: color-mix(in srgb, var(--accent) 36%, rgba(26, 32, 39, 0.24)) !important;
  box-shadow: 0 12px 26px -20px color-mix(in srgb, var(--accent) 36%, transparent) !important;
}

/* Offer premium pass v2: remove harsh lines, add soft morphism */
html[data-theme='light'] #offer.wm-band-soft::after {
  content: none !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2']>.group>div {
  position: relative;
  overflow: hidden;
  border-color: rgba(126, 167, 151, 0.28) !important;
  background:
    radial-gradient(500px 160px at 10% -6%, rgba(31, 122, 92, 0.11) 0%, transparent 76%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.76) 0%, rgba(247, 250, 249, 0.84) 100%) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 22px 46px -34px rgba(18, 30, 24, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(116, 154, 139, 0.12) !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2']>.group:last-child>div {
  background:
    radial-gradient(520px 170px at 92% -8%, rgba(31, 122, 92, 0.13) 0%, transparent 78%),
    linear-gradient(160deg, rgba(252, 255, 254, 0.74) 0%, rgba(245, 250, 247, 0.86) 100%) !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2']>.group>div::before {
  display: none !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] .space-y-3>div {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] [class*='border-t'],
html[data-theme='light'] #offer [class*='md:grid-cols-2'] .h-px {
  border-color: transparent !important;
  background: transparent !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] button {
  background: transparent !important;
  border-color: rgba(92, 150, 129, 0.52) !important;
  color: #172028 !important;
  box-shadow: none !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] button:hover {
  background: rgba(31, 122, 92, 0.045) !important;
  border-color: rgba(65, 136, 112, 0.68) !important;
  box-shadow: 0 12px 30px -24px rgba(31, 122, 92, 0.38) !important;
}

/* Section 6 v3: secondary cards final premium pass */
html[data-theme='light'] #offer [class*='md:grid-cols-2']>.group>div {
  border: 1px solid rgba(86, 138, 118, 0.24) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(460px 180px at 12% -8%, rgba(31, 122, 92, 0.1) 0%, transparent 74%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.82) 0%, rgba(247, 251, 249, 0.9) 100%) !important;
  box-shadow:
    0 24px 48px -36px rgba(16, 28, 22, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

html[data-theme='light'] #offer [class*='md:grid-cols-2']>.group:last-child>div {
  background:
    radial-gradient(500px 190px at 92% -10%, rgba(31, 122, 92, 0.12) 0%, transparent 76%),
    linear-gradient(155deg, rgba(253, 255, 254, 0.82) 0%, rgba(245, 250, 247, 0.9) 100%) !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2']>.group>div::before,
html[data-theme='light'] #offer [class*='md:grid-cols-2']>.group>div::after,
html[data-theme='light'] #offer [class*='md:grid-cols-2'] [class*='border-t'],
html[data-theme='light'] #offer [class*='md:grid-cols-2'] .h-px {
  content: none !important;
  border: 0 !important;
  background: transparent !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] .space-y-3>div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] [class*='w-1 h-1 rounded-full'] {
  width: 5px !important;
  height: 5px !important;
  background: color-mix(in srgb, var(--accent) 78%, #89b39f) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 12%, transparent) !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] h3 {
  color: #1a2128 !important;
  letter-spacing: -0.01em;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] [class*='text-[2rem]'] {
  color: #161e25 !important;
  letter-spacing: -0.02em;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] p,
html[data-theme='light'] #offer [class*='md:grid-cols-2'] span[class*='text-[#8C8A84]'],
html[data-theme='light'] #offer [class*='md:grid-cols-2'] span[class*='text-[#B9B6AE]'] {
  color: #5b6673 !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] span[class*='uppercase tracking-widest'],
html[data-theme='light'] #offer [class*='md:grid-cols-2'] span[class*='text-[10px] uppercase tracking-widest'] {
  color: color-mix(in srgb, var(--accent) 72%, #53645d) !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] button {
  background: transparent !important;
  color: #172029 !important;
  border: 1px solid rgba(72, 133, 110, 0.56) !important;
  box-shadow: none !important;
}

html[data-theme='light'] #offer [class*='md:grid-cols-2'] button:hover {
  background: rgba(31, 122, 92, 0.05) !important;
  border-color: rgba(57, 125, 101, 0.72) !important;
  box-shadow: 0 14px 28px -24px rgba(31, 122, 92, 0.32) !important;
}

/* Section 7 tuning: Growth "Ewolucja bez chaosu" clean premium */
html[data-theme='light'] #growth {
  background: #edf0ee !important;
}

html[data-theme='light'] #growth>.absolute>div:nth-child(1) {
  background:
    radial-gradient(760px 320px at 18% 18%, rgba(31, 122, 92, 0.05) 0%, transparent 72%),
    radial-gradient(840px 360px at 84% 78%, rgba(194, 202, 212, 0.06) 0%, transparent 76%),
    #edf0ee !important;
}

html[data-theme='light'] #growth>.absolute {
  background: #edf0ee !important;
}

html[data-theme='light'] #growth>.absolute>div:nth-child(2),
html[data-theme='light'] #growth>.absolute>div:nth-child(3),
html[data-theme='light'] #growth>.absolute>div:nth-child(4),
html[data-theme='light'] #growth>.absolute>div:nth-child(5),
html[data-theme='light'] #growth>.absolute>div:nth-child(6) {
  display: none !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(1) h2 {
  color: #1b2024 !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(1) h2 span {
  color: #6e7781 !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(1) p {
  color: #5f6873 !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(1)>div:last-child .relative.p-8.group {
  padding: 0.5rem !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(1)>div:last-child .relative.p-8.group>div:first-child {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.8), rgba(246, 249, 248, 0.88)) !important;
  border: 1px solid rgba(106, 149, 132, 0.22) !important;
  box-shadow:
    0 16px 34px -28px rgba(18, 30, 24, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.93) !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(1)>div:last-child .relative.p-8.group>div:first-child .border-b {
  border-color: rgba(93, 136, 119, 0.18) !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(1)>div:last-child .relative.p-8.group>div:first-child .text-\[\#14f195\] {
  color: color-mix(in srgb, var(--accent) 86%, #3a5f51) !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(1)>div:last-child .relative.p-8.group>div:nth-child(2) p {
  color: #5a6570 !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(1)>div:last-child .absolute.-bottom-4.-right-4 {
  background: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(95, 140, 122, 0.2) !important;
}

/* 3 category cards: full soft cards, no technical lines */
html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(2)>.group>div {
  border: 1px solid rgba(92, 141, 121, 0.2) !important;
  border-top-width: 1px !important;
  border-radius: 26px !important;
  padding: 1.65rem 1.5rem !important;
  background:
    radial-gradient(420px 150px at 12% -8%, rgba(31, 122, 92, 0.07) 0%, transparent 74%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.8) 0%, rgba(247, 250, 249, 0.9) 100%) !important;
  box-shadow:
    0 14px 28px -24px rgba(18, 30, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(2)>.group>div>div:first-child {
  display: none !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(2)>.group>div .mb-6>div {
  display: none !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(2)>.group>div h3 {
  color: #1d2328 !important;
  margin-bottom: 0 !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(2)>.group>div ul {
  margin-top: 0.7rem;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(2)>.group>div li span {
  color: #545f6c !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(2)>.group>div li div {
  background: color-mix(in srgb, var(--accent) 74%, #95b8a8) !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 8%, transparent);
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(2)>.group>div li {
  gap: 0.625rem !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(3) p:first-child {
  color: #1f252b !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(3) p:last-child {
  color: color-mix(in srgb, var(--accent) 88%, #254538) !important;
}

/* Section 7 micro-pass v2: spacing rhythm and visual balance */
html[data-theme='light'] #growth {
  padding-top: clamp(5.8rem, 9vw, 8rem) !important;
  padding-bottom: clamp(2rem, 3.6vw, 3.2rem) !important;
}

html[data-theme='light'] #growth>.max-w-6xl {
  max-width: 1120px !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(1) {
  margin-bottom: clamp(4.2rem, 7vw, 5.6rem) !important;
  column-gap: clamp(2.5rem, 5vw, 4.4rem) !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(2) {
  margin-bottom: clamp(1.6rem, 3.2vw, 2.6rem) !important;
  column-gap: clamp(1rem, 2vw, 1.6rem) !important;
  row-gap: clamp(1rem, 2vw, 1.4rem) !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(2)>.group>div {
  min-height: 236px;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(3) .inline-block {
  padding: clamp(0.7rem, 1.8vw, 1.2rem) clamp(0.6rem, 1.5vw, 1rem) !important;
}

html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(3) .inline-block .mt-8 {
  margin-top: 0.65rem !important;
}

html[data-theme='light'] #growth::before {
  content: none !important;
}

html[data-theme='light'] #growth::after {
  content: none !important;
}

html[data-theme='light'] #growth+section::after {
  content: none !important;
}

@media (max-width: 767px) {
  html[data-theme='light'] #growth>.max-w-6xl>div:nth-of-type(2)>.group>div li {
    gap: 0.5rem !important;
  }
}

/* Section 8 tuning: FAQ premium dark anchor for light mode */
html[data-theme='light'] #faq {
  background: #171b19 !important;
  position: relative;
  isolation: isolate;
}

html[data-theme='light'] #faq .faq-section {
  background: transparent !important;
  padding-top: clamp(5.4rem, 8.8vw, 7.6rem) !important;
  padding-bottom: clamp(4.6rem, 7vw, 6.4rem) !important;
}

html[data-theme='light'] #faq .faq-bg-base {
  background:
    radial-gradient(980px 420px at 50% -8%, rgba(31, 122, 92, 0.12) 0%, transparent 74%),
    radial-gradient(780px 440px at 86% 78%, rgba(112, 126, 146, 0.13) 0%, transparent 76%),
    linear-gradient(180deg, #1c211f 0%, #171b19 56%, #151917 100%) !important;
}

html[data-theme='light'] #faq .faq-bg-grid {
  opacity: 0.012 !important;
}

html[data-theme='light'] #faq .faq-bg-noise {
  opacity: 0.01 !important;
}

html[data-theme='light'] #faq .faq-bg-blob-a,
html[data-theme='light'] #faq .faq-bg-blob-b {
  opacity: 0.6;
  filter: blur(120px) !important;
}

html[data-theme='light'] #faq .faq-content {
  max-width: 980px !important;
}

html[data-theme='light'] #faq .faq-title {
  color: #f5f7f5 !important;
}

html[data-theme='light'] #faq .faq-subtitle {
  color: #b9c2bb !important;
}

html[data-theme='light'] #faq .faq-search-input {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03)) !important;
  border-color: rgba(181, 216, 198, 0.19) !important;
  color: #ecf2ee !important;
  box-shadow:
    0 10px 26px -20px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

html[data-theme='light'] #faq .faq-search-input::placeholder {
  color: #95a39a !important;
}

html[data-theme='light'] #faq .faq-search-input:focus {
  border-color: rgba(89, 186, 147, 0.44) !important;
  box-shadow:
    0 0 0 3px rgba(44, 160, 124, 0.14),
    0 14px 30px -22px rgba(5, 12, 9, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

html[data-theme='light'] #faq .faq-search-icon {
  color: #97a59d !important;
}

html[data-theme='light'] #faq .faq-list {
  margin-top: clamp(0.25rem, 1.1vw, 0.85rem);
  gap: clamp(0.6rem, 1.4vw, 0.95rem);
}

html[data-theme='light'] #faq .faq-item {
  border: 1px solid rgba(209, 228, 219, 0.2) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.008) !important;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

html[data-theme='light'] #faq .faq-item:hover {
  border-color: rgba(129, 186, 163, 0.36) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  box-shadow: 0 12px 28px -24px rgba(0, 0, 0, 0.45);
}

html[data-theme='light'] #faq .faq-item.faq-item-open {
  border-color: rgba(137, 200, 174, 0.44) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.016)) !important;
  box-shadow:
    0 14px 34px -24px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme='light'] #faq .faq-question {
  color: #d6ded8 !important;
}

html[data-theme='light'] #faq .faq-item.faq-item-open .faq-question {
  color: #f3f7f4 !important;
}

html[data-theme='light'] #faq .faq-icon {
  border-color: rgba(205, 230, 219, 0.22) !important;
  color: #b4c0b9 !important;
  background: rgba(255, 255, 255, 0.024) !important;
}

html[data-theme='light'] #faq .faq-item.faq-item-open .faq-icon {
  background: rgba(67, 177, 138, 0.16) !important;
  border-color: rgba(118, 212, 177, 0.44) !important;
  color: color-mix(in srgb, var(--accent) 80%, #dff7eb) !important;
}

html[data-theme='light'] #faq .faq-answer-divider {
  background: linear-gradient(to right, rgba(193, 224, 210, 0.42), rgba(193, 224, 210, 0)) !important;
}

html[data-theme='light'] #faq .faq-answer-body {
  border-left-color: rgba(104, 191, 156, 0.46) !important;
}

html[data-theme='light'] #faq .faq-answer-text {
  color: #c5cec8 !important;
}

html[data-theme='light'] #faq .faq-empty p,
html[data-theme='light'] #faq .faq-footer-note p {
  color: #a7b2ab !important;
}

html[data-theme='light'] #faq .faq-footer-divider {
  background: linear-gradient(to right, transparent, rgba(152, 209, 186, 0.34), transparent) !important;
}

@media (max-width: 767px) {
  html[data-theme='light'] #faq .faq-section {
    padding-top: clamp(4.2rem, 12vw, 5.6rem) !important;
    padding-bottom: clamp(3.8rem, 10vw, 5rem) !important;
  }

  html[data-theme='light'] #faq .faq-header {
    margin-bottom: 2.4rem !important;
  }

  html[data-theme='light'] #faq .faq-item {
    border-radius: 14px !important;
  }

  html[data-theme='light'] #faq .faq-question {
    font-size: 1.03rem !important;
    line-height: 1.45 !important;
  }

  html[data-theme='light'] #faq .faq-trigger {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
  }

  html[data-theme='light'] #faq .faq-answer {
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
    padding-bottom: 1.05rem !important;
  }

  html[data-theme='light'] #faq .faq-answer-text {
    font-size: 0.95rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {

  html[data-theme='light'] #faq .faq-item,
  html[data-theme='light'] #faq .faq-icon {
    transition: none !important;
  }
}

/* Final axis polish: Growth -> FAQ -> About tonal continuity */
html[data-theme='light'] #faq {
  margin-top: 0;
  margin-bottom: 0;
}

html[data-theme='light'] #faq::before {
  content: none !important;
}

html[data-theme='light'] #faq::after {
  content: none !important;
}

html[data-theme='light'] #about {
  background: #ebece8 !important;
}

html[data-theme='light'] #about .about-section {
  background: transparent !important;
  padding-top: clamp(3.2rem, 5.5vw, 4.6rem) !important;
  padding-bottom: clamp(3.2rem, 5.5vw, 4.6rem) !important;
}

html[data-theme='light'] #about .about-bg-base {
  background:
    radial-gradient(760px 300px at 82% 14%, rgba(31, 122, 92, 0.05) 0%, transparent 76%),
    radial-gradient(680px 360px at 14% 82%, rgba(174, 185, 198, 0.07) 0%, transparent 78%),
    linear-gradient(180deg, #f3f5f3 0%, #eeefeb 58%, #eceeea 100%) !important;
}

html[data-theme='light'] #about .about-bg-mesh-a,
html[data-theme='light'] #about .about-bg-mesh-b,
html[data-theme='light'] #about .about-bg-blob-a,
html[data-theme='light'] #about .about-bg-blob-b {
  opacity: 0.26 !important;
}

html[data-theme='light'] #about .about-bg-noise {
  opacity: 0.007 !important;
}

html[data-theme='light'] #about .about-content {
  max-width: 1160px !important;
}

html[data-theme='light'] #about .about-copy {
  row-gap: clamp(1.2rem, 2vw, 1.8rem) !important;
}

html[data-theme='light'] #about .about-photo-frame {
  border-color: rgba(112, 156, 139, 0.24) !important;
  background:
    radial-gradient(340px 130px at 12% -12%, rgba(31, 122, 92, 0.045) 0%, transparent 78%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.84), rgba(247, 250, 248, 0.92)) !important;
  box-shadow:
    0 16px 34px -28px rgba(16, 28, 22, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

html[data-theme='light'] #about .about-photo-img {
  object-fit: cover !important;
  object-position: 50% 30% !important;
  background: transparent !important;
}

html[data-theme='light'] #about .about-badge {
  background: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(78, 118, 101, 0.22) !important;
  box-shadow:
    0 10px 24px -18px rgba(18, 28, 22, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

html[data-theme='light'] #about .about-badge-text {
  color: #2a332f !important;
  letter-spacing: 0.18em !important;
}

html[data-theme='light'] #about .about-copy h2 {
  color: #1d2328 !important;
}

html[data-theme='light'] #about .about-copy p {
  color: #56616d !important;
}

html[data-theme='light'] #about .about-copy p .text-\[\#F3F1EC\] {
  color: #1e242a !important;
}

html[data-theme='light'] #about .about-copy p .text-\[\#14f195\] {
  color: color-mix(in srgb, var(--accent) 84%, #2f5446) !important;
}

html[data-theme='light'] #about .about-name-dot {
  background: var(--accent) !important;
  box-shadow: 0 0 0 4px rgba(31, 122, 92, 0.16);
}

html[data-theme='light'] #about .about-kokoro {
  padding-top: 2.2rem !important;
}

html[data-theme='light'] #about .about-kokoro-title {
  color: #1f2529 !important;
  letter-spacing: 0.34em !important;
}

html[data-theme='light'] #about .about-kokoro-sub {
  color: #6f7a84 !important;
  letter-spacing: 0.3em !important;
}

html[data-theme='light'] #about .about-kokoro-line {
  background: linear-gradient(to right, transparent, color-mix(in srgb, var(--accent) 46%, #d6e1da), transparent) !important;
}

@media (max-width: 767px) {
  html[data-theme='light'] #about .about-section {
    padding-top: clamp(2.8rem, 7vw, 3.8rem) !important;
    padding-bottom: clamp(2.8rem, 7vw, 3.8rem) !important;
  }

  html[data-theme='light'] #about .about-photo-img {
    object-fit: cover !important;
    object-position: 50% 24% !important;
  }
}

/* About image framing in both themes */

/* Testimonials: light-mode premium cleanup (dark remains unchanged) */
html[data-theme='light'] #testimonials.testimonials-section {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.92) 0%, rgba(245, 246, 248, 0.86) 54%, rgba(238, 240, 243, 0.9) 100%),
    linear-gradient(180deg, #f8f9fb 0%, #f1f3f6 100%);
  padding-top: clamp(6.25rem, 9vw, 8.5rem);
  padding-bottom: clamp(6.5rem, 10vw, 9rem);
}

html[data-theme='light'] #testimonials .testimonials-bg {
  opacity: 1;
}

html[data-theme='light'] #testimonials .testimonials-bg>.absolute.inset-0.bg-gradient-to-b {
  background: linear-gradient(180deg, rgba(247, 249, 251, 0.86), rgba(241, 244, 248, 0.75));
}

html[data-theme='light'] #testimonials .testimonials-aurora,
html[data-theme='light'] #testimonials .testimonials-blob {
  opacity: 0.38;
  filter: blur(78px) saturate(110%);
}

html[data-theme='light'] #testimonials .testimonials-quote {
  color: rgba(18, 26, 34, 0.045);
}

html[data-theme='light'] #testimonials .testimonials-content {
  max-width: 76rem;
  padding-left: clamp(1.25rem, 3vw, 2rem);
  padding-right: clamp(1.25rem, 3vw, 2rem);
}

html[data-theme='light'] #testimonials .testimonials-pill {
  color: #1d7f67;
  border-color: rgba(29, 127, 103, 0.22);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html[data-theme='light'] #testimonials .testimonials-title {
  color: #0f1724;
  letter-spacing: -0.035em;
}

html[data-theme='light'] #testimonials .testimonials-shell {
  max-width: 66rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(2.75rem, 7vw, 5rem);
  padding-right: clamp(2.75rem, 7vw, 5rem);
  isolation: isolate;
}

html[data-theme='light'] #testimonials .testimonials-shell::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 16%;
  bottom: -8%;
  border-radius: 2.4rem;
  background: radial-gradient(70% 85% at 50% 24%, rgba(255, 255, 255, 0.46), rgba(239, 243, 248, 0.2) 58%, rgba(234, 238, 244, 0));
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
}

html[data-theme='light'] #testimonials .testimonials-shell::after {
  content: '';
  position: absolute;
  left: 14%;
  right: 14%;
  top: 18%;
  bottom: 2%;
  border-radius: 2.2rem;
  background:
    radial-gradient(60% 60% at 20% 24%, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 70%),
    radial-gradient(54% 54% at 84% 74%, rgba(236, 239, 244, 0.34), rgba(236, 239, 244, 0) 72%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.24), rgba(240, 243, 247, 0.14));
  filter: blur(24px) saturate(105%);
  pointer-events: none;
  z-index: 0;
}

html[data-theme='light'] #testimonials .testimonials-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  justify-content: center;
  z-index: 1;
  border-radius: 2.15rem;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.34), rgba(252, 253, 255, 0.24) 52%, rgba(242, 244, 247, 0.34));
  box-shadow:
    0 30px 88px rgba(16, 23, 34, 0.16),
    0 12px 34px rgba(16, 23, 34, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5),
    inset 0 0 64px rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(54px) saturate(130%) contrast(108%);
  -webkit-backdrop-filter: blur(54px) saturate(130%) contrast(108%);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1), border-color 320ms ease;
  padding: clamp(2.35rem, 4.7vw, 3.65rem);
}

html[data-theme='light'] #testimonials .testimonials-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(88% 70% at 12% 8%, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.06));
  pointer-events: none;
  z-index: 0;
}

html[data-theme='light'] #testimonials .testimonials-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: calc(2.15rem - 1px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    inset 0 12px 24px rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 0;
}

html[data-theme='light'] #testimonials .testimonials-card>* {
  position: relative;
  z-index: 1;
}

html[data-theme='light'] #testimonials .testimonials-card-inner {
  width: min(100%, 44rem);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  justify-items: center;
}

html[data-theme='light'] #testimonials .testimonials-quote-icon {
  background: rgba(148, 163, 184, 0.14);
  border-color: rgba(148, 163, 184, 0.32);
}

html[data-theme='light'] #testimonials .testimonials-quote-icon-mark {
  color: #475569;
}

html[data-theme='light'] #testimonials .testimonials-text {
  color: #111926;
  line-height: 1.28;
  max-width: 34ch;
  text-wrap: balance;
  text-align: center;
}

html[data-theme='light'] #testimonials .testimonials-author {
  justify-content: center;
}

@media (hover: hover) and (pointer: fine) {
  html[data-theme='light'] #testimonials .testimonials-card:hover {
    transform: translateY(-3px) scale(1.004);
    border-color: rgba(255, 255, 255, 0.94);
    box-shadow:
      0 36px 102px rgba(16, 23, 34, 0.18),
      0 14px 36px rgba(16, 23, 34, 0.09),
      inset 0 1px 0 rgba(255, 255, 255, 0.96),
      inset 0 -1px 0 rgba(255, 255, 255, 0.54),
      inset 0 0 68px rgba(255, 255, 255, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme='light'] #testimonials .testimonials-card {
    transition: none;
  }
}

html[data-theme='light'] #testimonials .testimonials-author-line {
  background: linear-gradient(90deg, rgba(100, 116, 139, 0.4), rgba(100, 116, 139, 0));
}

html[data-theme='light'] #testimonials .testimonials-author-name {
  color: #475569;
  opacity: 0.9;
}

html[data-theme='light'] #testimonials .testimonials-arrow {
  border-color: rgba(15, 23, 36, 0.12);
  color: #6b7482;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html[data-theme='light'] #testimonials .testimonials-arrow:hover {
  border-color: rgba(15, 23, 36, 0.22);
  color: #0f1724;
  background: rgba(255, 255, 255, 0.74);
}

html[data-theme='light'] #testimonials .testimonials-dot {
  background: rgba(129, 140, 156, 0.26);
}

html[data-theme='light'] #testimonials .testimonials-dot:hover {
  background: rgba(129, 140, 156, 0.45);
}

html[data-theme='light'] #testimonials .testimonials-dot-active {
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 34%, transparent);
}

html[data-theme='light'] #testimonials .testimonials-section-endline {
  background: linear-gradient(90deg, rgba(15, 23, 36, 0), rgba(15, 23, 36, 0.12), rgba(15, 23, 36, 0));
}

html[data-theme='light'] #testimonials .testimonials-closing {
  color: #4f5968;
}

html[data-theme='light'] #testimonials .testimonials-closing span {
  color: #0f1724;
}

@media (max-width: 767px) {
  html[data-theme='light'] #testimonials .testimonials-shell {
    padding-left: 2.9rem;
    padding-right: 2.9rem;
  }

  html[data-theme='light'] #testimonials .testimonials-arrow {
    width: 2.2rem;
    height: 2.2rem;
  }

  html[data-theme='light'] #testimonials .testimonials-card {
    border-radius: 1.5rem;
    padding: 1.5rem;
  }

  html[data-theme='light'] #testimonials .testimonials-card::after {
    border-radius: calc(1.5rem - 1px);
  }

  html[data-theme='light'] #testimonials .testimonials-card-inner {
    width: 100%;
  }
}

/* Final CTA */
#final-cta.finalcta-section {
  position: relative;
}

#final-cta .finalcta-bg-aura {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 62%);
  filter: blur(16px);
}

#final-cta .finalcta-bg-aura-secondary {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 68%);
  filter: blur(20px);
}

#final-cta .finalcta-bg-blob-a,
#final-cta .finalcta-bg-blob-b {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(88px);
}

#final-cta .finalcta-bg-noise {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

#final-cta .finalcta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.8vw, 2.35rem);
  align-items: center;
  padding: clamp(1.5rem, 2.6vw, 2.35rem);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#final-cta .finalcta-copy {
  text-align: left;
  max-width: 44rem;
}

#final-cta .finalcta-subline {
  margin-top: 0.8rem;
}

#final-cta .finalcta-actions {
  display: grid;
  gap: 0.72rem;
  align-self: stretch;
  align-content: center;
  width: min(100%, 24rem);
  justify-self: end;
}

#final-cta .finalcta-btn-primary,
#final-cta .finalcta-btn-secondary {
  min-height: 3.25rem;
}

#final-cta .finalcta-btn-primary {
  background: linear-gradient(90deg, #12d487, #16e49a);
}

#final-cta .finalcta-btn-secondary {
  background: rgba(255, 255, 255, 0.02);
}

#final-cta .finalcta-meta {
  margin-top: 0.35rem;
  color: rgba(243, 241, 236, 0.66);
  font-size: 0.74rem;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-align: center;
}

#final-cta .finalcta-footnote {
  grid-column: 1 / -1;
  padding-top: clamp(1.25rem, 2.5vw, 2.25rem);
  text-align: center;
}

html[data-theme='dark'] #final-cta.finalcta-section {
  background:
    radial-gradient(120% 95% at 50% 0%, rgba(8, 11, 10, 0.96) 0%, rgba(7, 10, 9, 0.95) 52%, rgba(5, 8, 7, 0.97) 100%),
    linear-gradient(180deg, #070a09 0%, #050706 100%);
}

html[data-theme='dark'] #final-cta .finalcta-bg-base {
  background: linear-gradient(180deg, rgba(8, 11, 10, 0.86), rgba(6, 9, 8, 0.9));
}

html[data-theme='dark'] #final-cta .finalcta-bg-aura {
  background: radial-gradient(circle at center, rgba(20, 241, 149, 0.055) 0%, rgba(20, 241, 149, 0) 66%);
}

html[data-theme='dark'] #final-cta .finalcta-bg-aura-secondary {
  background: radial-gradient(circle at center, rgba(130, 145, 161, 0.14) 0%, rgba(130, 145, 161, 0) 70%);
}

html[data-theme='dark'] #final-cta .finalcta-panel {
  border: 1px solid rgba(243, 241, 236, 0.14);
  background:
    radial-gradient(620px 280px at 22% 20%, rgba(20, 241, 149, 0.05) 0%, transparent 72%),
    linear-gradient(162deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02) 56%, rgba(255, 255, 255, 0.015));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(122%);
  -webkit-backdrop-filter: blur(24px) saturate(122%);
}

html[data-theme='dark'] #final-cta .finalcta-title {
  color: #f3f1ec;
}

html[data-theme='dark'] #final-cta .finalcta-subline {
  color: #9a9790;
}

html[data-theme='dark'] #final-cta .finalcta-btn-primary {
  box-shadow:
    0 16px 32px rgba(20, 241, 149, 0.2),
    0 6px 14px rgba(0, 0, 0, 0.28);
}

html[data-theme='dark'] #final-cta .finalcta-btn-secondary {
  border-color: rgba(243, 241, 236, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012));
  color: #ece9e2;
}

html[data-theme='dark'] #final-cta .finalcta-btn-secondary:hover {
  border-color: rgba(20, 241, 149, 0.32);
  background: linear-gradient(180deg, rgba(20, 241, 149, 0.08), rgba(20, 241, 149, 0.03));
}

html[data-theme='dark'] #final-cta .finalcta-meta {
  color: #a4a199;
}

html[data-theme='dark'] #final-cta .finalcta-divider {
  background: linear-gradient(90deg, rgba(243, 241, 236, 0), rgba(243, 241, 236, 0.16), rgba(243, 241, 236, 0));
}

html[data-theme='dark'] #final-cta .finalcta-footnote p {
  color: #918e87;
}

html[data-theme='light'] #final-cta.finalcta-section {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(241, 244, 248, 0.95) 0%, rgba(233, 237, 243, 0.9) 52%, rgba(226, 231, 238, 0.93) 100%),
    linear-gradient(180deg, #eef2f6 0%, #e7ecf2 100%);
}

html[data-theme='light'] #final-cta .finalcta-bg-base {
  background: linear-gradient(180deg, rgba(238, 242, 246, 0.6), rgba(231, 236, 243, 0.66));
}

html[data-theme='light'] #final-cta .finalcta-bg-aura {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0) 66%);
}

html[data-theme='light'] #final-cta .finalcta-bg-aura-secondary {
  background: radial-gradient(circle at center, rgba(227, 232, 241, 0.36) 0%, rgba(227, 232, 241, 0) 70%);
}

html[data-theme='light'] #final-cta .finalcta-bg-blob-a,
html[data-theme='light'] #final-cta .finalcta-bg-blob-b {
  background: radial-gradient(circle, rgba(246, 248, 252, 0.8) 0%, rgba(246, 248, 252, 0) 70%);
  filter: blur(96px);
}

html[data-theme='light'] #final-cta .finalcta-panel {
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.42), rgba(245, 248, 252, 0.28));
  box-shadow:
    0 26px 72px rgba(17, 24, 39, 0.16),
    0 8px 24px rgba(17, 24, 39, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(30px) saturate(128%);
  -webkit-backdrop-filter: blur(30px) saturate(128%);
}

html[data-theme='light'] #final-cta .finalcta-title {
  color: #0f1724;
  font-weight: 500;
}

html[data-theme='light'] #final-cta .finalcta-subline {
  color: #6b7482;
}

html[data-theme='light'] #final-cta .finalcta-btn-secondary {
  color: #111926;
  border-color: rgba(15, 23, 36, 0.14);
  background: rgba(255, 255, 255, 0.44);
}

html[data-theme='light'] #final-cta .finalcta-btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  color: #f8fafc;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 26%, transparent);
}

html[data-theme='light'] #final-cta .finalcta-btn-secondary:hover {
  border-color: rgba(31, 122, 92, 0.32);
}

html[data-theme='light'] #final-cta .finalcta-meta {
  color: #566171;
}

html[data-theme='light'] #final-cta .finalcta-divider {
  background: linear-gradient(90deg, rgba(15, 23, 36, 0), rgba(15, 23, 36, 0.14), rgba(15, 23, 36, 0));
}

html[data-theme='light'] #final-cta .finalcta-footnote p {
  color: #718097;
}

@media (max-width: 1023px) {
  #final-cta .finalcta-panel {
    grid-template-columns: 1fr;
  }

  #final-cta .finalcta-copy {
    text-align: center;
    max-width: none;
  }

  #final-cta .finalcta-actions {
    width: min(100%, 30rem);
    justify-self: center;
  }
}

@media (max-width: 767px) {
  #final-cta.finalcta-section {
    padding-top: 5.5rem;
    padding-bottom: 6rem;
  }

  #final-cta .finalcta-panel {
    border-radius: 1.4rem;
    padding: 1rem;
  }

  #final-cta .finalcta-title {
    font-size: 2.2rem;
    line-height: 1.08;
  }

  #final-cta .finalcta-actions {
    width: 100%;
  }
}

@media (max-width: 390px) {
  #final-cta.finalcta-section {
    padding-top: 4.8rem;
    padding-bottom: 5.2rem;
  }

  #final-cta .finalcta-title {
    font-size: 1.92rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  #final-cta .finalcta-subline {
    font-size: 1.3rem;
  }

  #final-cta .finalcta-btn-primary,
  #final-cta .finalcta-btn-secondary {
    min-height: 3rem;
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.92rem;
    gap: 0.5rem;
  }

  #final-cta .finalcta-btn-primary svg,
  #final-cta .finalcta-btn-secondary svg {
    width: 16px;
    height: 16px;
  }

  #final-cta .finalcta-meta {
    font-size: 0.69rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  #final-cta .finalcta-bg-depth,
  #final-cta .finalcta-bg-blob-a,
  #final-cta .finalcta-bg-blob-b {
    transform: none !important;
    animation: none !important;
  }
}

/* Footer light-mode polish - iOS FULL PREMIUM LOOK */
html[data-theme='light'] #footer.footer-section {
  --footer-accent: #059669;
  /* Emerald-600 */
  --footer-text-main: #1f2937;
  /* Slate-800 */
  --footer-text-m: #64748b;
  /* Slate-500 */
  --footer-text-l: #94a3b8;
  /* Slate-400 */

  background: radial-gradient(140% 100% at 50% 0%, #ffffff 0%, #fcfdfe 40%, #f8fafc 100%) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 10;
}

html[data-theme='light'] #footer .footer-mesh-glow {
  display: block !important;
  background: radial-gradient(circle at 50% 0%, rgba(31, 122, 92, 0.03) 0%, transparent 60%);
  opacity: 1 !important;
}

html[data-theme='light'] #footer .footer-grid {
  display: block !important;
  opacity: 0.015 !important;
  background-size: 60px 60px;
  mix-blend-mode: multiply;
}

html[data-theme='light'] #footer .footer-top-line {
  background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.15), transparent);
  height: 1px;
  top: 0;
}

html[data-theme='light'] #footer .footer-logo {
  opacity: 0.95;
  filter: none;
}

html[data-theme='light'] #footer .footer-logo-dark {
  display: block !important;
  filter: invert(1) hue-rotate(180deg) brightness(0.95) contrast(1.1) !important;
}

html[data-theme='light'] #footer .footer-logo-light {
  display: none !important;
}

html[data-theme='light'] #footer .footer-brand-line {
  background: linear-gradient(90deg, rgba(5, 150, 105, 0.25), transparent);
}

html[data-theme='light'] #footer .footer-lead {
  color: var(--footer-text-main) !important;
  font-weight: 500;
  max-width: 38rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

html[data-theme='light'] #footer .footer-heading {
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

html[data-theme='light'] #footer .footer-nav-link {
  color: var(--footer-text-m) !important;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-theme='light'] #footer .footer-nav-link:hover {
  color: var(--footer-accent) !important;
  transform: translateX(4px);
  text-shadow: none;
}

html[data-theme='light'] #footer .footer-social-link {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: var(--footer-text-m) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  border-radius: 1rem;
  backdrop-filter: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html[data-theme='light'] #footer .footer-social-link::before {
  content: none;
}

html[data-theme='light'] #footer .footer-social-link:hover {
  border-color: rgba(5, 150, 105, 0.3) !important;
  background: #ffffff !important;
  color: var(--footer-accent) !important;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

html[data-theme='light'] #footer .footer-bottom {
  border-top: 1px solid #f1f5f9;
  padding-top: 2.5rem;
  margin-top: 4.5rem;
}

html[data-theme='light'] #footer .footer-copyright {
  color: #94a3b8;
  font-weight: 500;
}

html[data-theme='light'] #footer .footer-legal-link {
  color: #64748b;
  font-weight: 500;
  transition: color 0.2s;
}

html[data-theme='light'] #footer .footer-legal-link:hover {
  color: var(--footer-accent) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

html[data-theme='light'] #footer .footer-dot {
  background: #cbd5e1;
  box-shadow: none;
  width: 4px;
  height: 4px;
}

@media (max-width: 1023px) {
  html[data-theme='light'] #footer .footer-content-grid {
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  html[data-theme='light'] #footer.footer-section {
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
  }

  html[data-theme='light'] #footer .footer-lead {
    font-size: 1.35rem;
    line-height: 1.35;
  }

  html[data-theme='light'] #footer .footer-bottom {
    flex-direction: column-reverse;
    gap: 1.5rem;
    text-align: center;
  }

  html[data-theme='light'] #footer .footer-legal {
    justify-content: center;
    gap: 1.5rem;
  }
}

/* Preserve Dark Mode Styles */
html[data-theme='dark'] #footer .footer-social-link {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.016));
  border-color: rgba(243, 241, 236, 0.12);
  color: #e7e4dd;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px) saturate(116%);
  -webkit-backdrop-filter: blur(12px) saturate(116%);
}

html[data-theme='dark'] #footer .footer-logo-dark {
  display: block;
}

html[data-theme='dark'] #footer .footer-logo-light {
  display: none;
}

html[data-theme='dark'] #footer .footer-social-link:hover {
  color: #f4fff9;
  border-color: rgba(20, 241, 149, 0.3);
  background: linear-gradient(180deg, rgba(20, 241, 149, 0.08), rgba(20, 241, 149, 0.03));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(20, 241, 149, 0.08) inset;
}

/* About image framing fix */
#about .about-photo-img {
  object-fit: cover;
  object-position: 50% 28%;
}

#about .about-badge {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#about .about-badge-text {
  font-weight: 600;
}

#about .about-name-dot {
  background: var(--accent);
}

/* ============================================
   TYPOGRAPHY IMPLEMENTATION
   ============================================ */

/* Base Typography */
html {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--letter-spacing-normal);
  line-height: var(--line-height-normal);
}

/* Display / H1 - UI Sans Serif for impact */
h1,
.font-display {
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--line-height-tight);
}

/* H2-H3 - UI Sans Serif */
h2,
h3 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--line-height-snug);
}

/* H4-H6 - UI Sans Serif lighter */
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--letter-spacing-normal);
  line-height: var(--line-height-snug);
}

/* Body Text - Inter for warmth and readability */
p,
.font-body {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--letter-spacing-normal);
  line-height: var(--line-height-relaxed);
}

/* Navigation - UI Sans for clarity */
nav,
.nav-link,
.font-nav {
  font-family: var(--font-display);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wider);
}

/* Buttons - UI Sans for action clarity */
button,
.btn,
.btn-primary,
.btn-outline,
.font-button {
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
}

/* Labels, captions, small text */
.font-label,
.font-caption {
  font-family: var(--font-display);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wider);
}

/* Monospace - JetBrains Mono for technical elements */
code,
pre,
.font-mono,
.font-mono-accent {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0;
}

/* Numbers, pricing, step indicators */
.font-numbers,
.price,
.step-number {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* ============================================
   LIGHT MODE — Missing overrides pass
   ============================================ */

/* --- About section: fix padding after py-32 update --- */
html[data-theme='light'] #about .about-section {
  padding-top: clamp(4.5rem, 7vw, 6.5rem) !important;
  padding-bottom: clamp(4.5rem, 7vw, 6.5rem) !important;
}

/* --- Eyebrow pills (accent pills on sections) --- */
html[data-theme='light'] .inline-flex[class*='border-[#14f195]/20'],
html[data-theme='light'] .inline-flex[class*='bg-[#14f195]/5'] {
  border-color: color-mix(in srgb, var(--accent) 28%, rgba(26, 35, 28, 0.12)) !important;
  background: color-mix(in srgb, var(--accent) 6%, rgba(255, 255, 255, 0.6)) !important;
  color: color-mix(in srgb, var(--accent) 86%, #1e2d29) !important;
}

/* --- FinalCTA eyebrow "Kontakt" pill override (light) --- */
html[data-theme='light'] #final-cta .inline-flex {
  border-color: color-mix(in srgb, var(--accent) 32%, rgba(20, 35, 28, 0.14)) !important;
  background: color-mix(in srgb, var(--accent) 7%, rgba(255, 255, 255, 0.72)) !important;
  color: color-mix(in srgb, var(--accent) 86%, #1a2e24) !important;
}

/* --- FinalCTA subline italic fix --- */
html[data-theme='light'] #final-cta .finalcta-subline {
  color: #6b7482 !important;
  font-style: italic;
}

/* --- Hero: fix CTA row centering & gap on mobile --- */
@media (max-width: 639px) {
  html[data-theme='light'] #start .hero-cta-row {
    gap: 1.35rem !important;
  }
}

/* --- Testimonials shell: respect mobile px-10 override in light mode --- */
@media (max-width: 639px) {
  html[data-theme='light'] #testimonials .testimonials-shell {
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
  }

  html[data-theme='light'] #testimonials .testimonials-arrow {
    width: 2rem !important;
    height: 2rem !important;
  }
}

/* --- Growth: code-block traffic light dots in light mode --- */
html[data-theme='light'] #growth .w-3.h-3.rounded-full:nth-child(1) {
  background: rgba(180, 60, 60, 0.22) !important;
}

html[data-theme='light'] #growth .w-3.h-3.rounded-full:nth-child(2) {
  background: rgba(170, 120, 0, 0.22) !important;
}

html[data-theme='light'] #growth .w-3.h-3.rounded-full:nth-child(3) {
  background: color-mix(in srgb, var(--accent) 28%, #d6e7df) !important;
}

/* --- Growth code block: text colours in light mode --- */
html[data-theme='light'] #growth .text-\[\#14f195\],
html[data-theme='light'] #growth [class*='text-[#14f195]'] {
  color: color-mix(in srgb, var(--accent) 86%, #2a4e41) !important;
}

/* --- Process quote opacity fix in light mode --- */
html[data-theme='light'] #process .text-\[\#F3F1EC\]\/80 {
  color: rgba(31, 38, 44, 0.8) !important;
}

/* --- Hero: subline should use muted slate, not accent green in light --- */
html[data-theme='light'] #start .hero-subline {
  color: #8b95a3 !important;
}

/* --- FinalCTA: btn-primary on light uses accent gradient correctly --- */
html[data-theme='light'] #final-cta .finalcta-btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%) !important;
  color: #ffffff !important;
  border-color: color-mix(in srgb, var(--accent) 42%, transparent) !important;
  box-shadow: 0 12px 28px -18px color-mix(in srgb, var(--accent) 44%, transparent) !important;
}

/* --- FinalCTA: panel layout fix for mobile (stack) --- */
@media (max-width: 1023px) {
  html[data-theme='light'] #final-cta .finalcta-panel {
    grid-template-columns: 1fr !important;
  }

  html[data-theme='light'] #final-cta .finalcta-copy {
    text-align: center !important;
    max-width: none !important;
  }

  html[data-theme='light'] #final-cta .finalcta-actions {
    width: min(100%, 30rem) !important;
    justify-self: center !important;
  }
}

/* --- About badge: safe on mobile with sm: classes --- */
@media (max-width: 479px) {
  html[data-theme='light'] #about .about-badge {
    bottom: -1rem !important;
    right: -1rem !important;
  }
}

/* --- ScrollToTop button: light mode override --- */
html[data-theme='light'] .scroll-top-btn {
  background: rgba(255, 255, 255, 0.86) !important;
  border-color: rgba(20, 24, 21, 0.1) !important;
  color: #1b1d1c !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 12px 28px -16px rgba(20, 30, 24, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* --- Background with hardcoded 0A0A0A in light mode: catch-all --- */
html[data-theme='light'] [class*='bg-[#0A0A0A]']:not([class*='wm-band']):not(nav):not(footer),
html[data-theme='light'] [class*='bg-[#0B0B0B]']:not([class*='wm-band']):not(nav):not(footer),
html[data-theme='light'] [class*='bg-[#0C0C0C]']:not([class*='wm-band']):not(nav):not(footer) {
  background-color: var(--bg-0) !important;
}

/* --- Hardcoded white/10 borders → light line token --- */
html[data-theme='light'] [class*='border-white/[0.06]']:not(.testimonials-card):not(.zen-nav),
html[data-theme='light'] [class*='border-white/[0.10]']:not(.testimonials-card):not(.zen-nav),
html[data-theme='light'] [class*='border-white/[0.12]']:not(.testimonials-card):not(.zen-nav) {
  border-color: var(--line-1) !important;
}

/* --- bg-white/[0.03] glass panels in light need more opacity --- */
html[data-theme='light'] [class*='bg-white/[0.03]'],
html[data-theme='light'] [class*='bg-white/[0.04]'],
html[data-theme='light'] [class*='bg-white/[0.05]'] {
  background-color: rgba(255, 255, 255, 0.52) !important;
}

/* --- MISSING LIGHT MODE BORDERS --- */
html[data-theme='light'] [class*='border-white/5'],
html[data-theme='light'] [class*='border-white/[0.05]'],
html[data-theme='light'] [class*='border-white/[0.04]'],
html[data-theme='light'] [class*='border-white/[0.08]'] {
  border-color: var(--line-1) !important;
}

/* --- MISSING LIGHT MODE BACKGROUNDS --- */
html[data-theme='light'] [class*='bg-white/[0.008]'],
html[data-theme='light'] [class*='bg-white/[0.015]'],
html[data-theme='light'] [class*='bg-white/[0.02]'] {
  background-color: rgba(255, 255, 255, 0.6) !important;
}

/* --- Growth section badge circle override --- */
html[data-theme='light'] #growth .w-8.h-8.rounded-full.bg-\[\#0A0A0A\] {
  background-color: #ffffff !important;
  border-color: rgba(20, 24, 21, 0.1) !important;
  color: #1a202c !important;
}

/* ================================================
   PHILOSOPHY SECTION — Dark mode visibility pass
   ================================================ */

/* Eyebrow pills: brighter border + background */
html[data-theme='dark'] #philosophy .philosophy-accent-text {
  color: rgba(20, 241, 149, 1) !important;
  text-shadow: 0 0 28px rgba(20, 241, 149, 0.18);
}

/* Body/description text: one step lighter */
html[data-theme='dark'] #philosophy .philosophy-body-text {
  color: #a09d96 !important;
}

/* Strikethrough text: more visible */
html[data-theme='dark'] #philosophy .philosophy-strike-text {
  color: #8c8a84 !important;
  -webkit-text-decoration-color: rgba(140, 138, 132, 0.7) !important;
  text-decoration-color: rgba(140, 138, 132, 0.7) !important;
}

/* Quote text: noticeably lighter */
html[data-theme='dark'] #philosophy .philosophy-quote {
  color: #d4d2cd !important;
  border-left-color: rgba(20, 241, 149, 0.28) !important;
}

/* Pillar numbers: full accent opacity */
html[data-theme='dark'] #philosophy .philosophy-pillar-number {
  color: rgba(20, 241, 149, 0.95) !important;
}

/* Pillar descriptions: lighter base */
html[data-theme='dark'] #philosophy .philosophy-pillar-desc {
  color: #a09d96 !important;
}

html[data-theme='dark'] #philosophy .group:hover .philosophy-pillar-desc {
  color: #d4d2cd !important;
}

/* Eyebrow pill borders — more visible */
html[data-theme='dark'] #philosophy .inline-flex[class*='border-[#14f195]'] {
  border-color: rgba(20, 241, 149, 0.3) !important;
  background: rgba(20, 241, 149, 0.1) !important;
}
/* ================================================
   BADGE / EYEBROW PILLS --- dark mode text boost
   ================================================ */

html[data-theme='dark'] span[class*='tracking-'][class*='uppercase'] {
  color: rgba(20, 241, 149, 0.95);
}

html[data-theme='dark'] span[class*='border-[#14f195]/20'],
html[data-theme='dark'] span[class*='border-[#14f195]/30'] {
  color: rgba(20, 241, 149, 0.95) !important;
  border-color: rgba(20, 241, 149, 0.35) !important;
  background: rgba(20, 241, 149, 0.12) !important;
}

/* ================================================
   FAQ SEARCH --- dark mode fix
   ================================================ */

html[data-theme='dark'] .faq-search-input {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #f3f1ec !important;
}

html[data-theme='dark'] .faq-search-input::placeholder {
  color: #8c8a84 !important;
}

html[data-theme='dark'] .faq-search-input:focus {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(20, 241, 149, 0.38) !important;
  box-shadow: 0 0 0 3px rgba(20, 241, 149, 0.1) !important;
}

html[data-theme='dark'] .faq-search-icon {
  color: #a09d96 !important;
}

/* ================================================
   FAQ SEARCH ICON --- z-index fix (backdrop-filter stacking)
   ================================================ */

html[data-theme='dark'] .faq-search-shell .relative {
  isolation: isolate;
}

html[data-theme='dark'] .faq-search-icon {
  z-index: 2 !important;
  position: absolute !important;
  color: #b9b6ae !important;
  pointer-events: none;
}

html[data-theme='dark'] .faq-search-input {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #f3f1ec !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-theme='dark'] .faq-search-input::placeholder {
  color: rgba(185, 182, 174, 0.7) !important;
}

html[data-theme='dark'] .faq-search-input:focus {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(20, 241, 149, 0.40) !important;
  box-shadow: 0 0 0 3px rgba(20, 241, 149, 0.10) !important;
  outline: none !important;
}

/* ================================================
   BADGE TEXT --- direct class targets
   ================================================ */

html[data-theme='dark'] .faq-badge {
  color: rgba(20, 241, 149, 0.95) !important;
  border-color: rgba(20, 241, 149, 0.40) !important;
  background: rgba(20, 241, 149, 0.14) !important;
}

/* Universal: any span that is a pill badge in dark mode */
html[data-theme='dark'] span.rounded-full.uppercase {
  color: rgba(20, 241, 149, 0.95) !important;
}

/* ================================================
   GLOBAL BADGE FIX: eyebrow pills text & search icon
   ================================================ */

/* Target: every small uppercase pill badge in dark mode
   Selectors use computed CSS class names from Tailwind JIT */

.text-\[10px\].uppercase.tracking-\[0\.3em\] {
  color: rgba(20, 241, 149, 0.95);
}

html[data-theme=''dark''] .border-\[\#14f195\]\/20,
html[data-theme=''dark''] .border-\[\#14f195\]\/30 {
  --tw-border-opacity: 0.38;
  border-color: rgba(20, 241, 149, var(--tw-border-opacity)) !important;
}

html[data-theme=''dark''] .bg-\[\#14f195\]\/5,
html[data-theme=''dark''] .bg-\[\#14f195\]\/10 {
  background-color: rgba(20, 241, 149, 0.14) !important;
}

/* Fix search icon visibility: remove stacking context trap */
html[data-theme=''dark''] .faq-search-shell .relative > svg {
  z-index: 10 !important;
  position: absolute !important;
  left: 1.25rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #c8c5be !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
}

html[data-theme=''dark''] .faq-search-shell input {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #f3f1ec !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: relative;
  z-index: 1;
}

html[data-theme=''dark''] .faq-search-shell input::placeholder {
  color: rgba(185, 182, 174, 0.7) !important;
  opacity: 1 !important;
}


/* ================================================
   BADGE + SEARCH FINAL FIX (node-appended)
   ================================================ */

/* Badge text - bright green in dark mode */
html[data-theme='dark'] .text-\[\#14f195\] {
  color: rgba(20, 241, 149, 0.95) !important;
}

/* Badge backgrounds */
html[data-theme='dark'] .bg-\[\#14f195\]\/5 {
  background-color: rgba(20, 241, 149, 0.12) !important;
}
html[data-theme='dark'] .bg-\[\#14f195\]\/10 {
  background-color: rgba(20, 241, 149, 0.14) !important;
}

/* Badge borders */
html[data-theme='dark'] .border-\[\#14f195\]\/20 {
  border-color: rgba(20, 241, 149, 0.36) !important;
}
html[data-theme='dark'] .border-\[\#14f195\]\/30 {
  border-color: rgba(20, 241, 149, 0.40) !important;
}

/* FAQ search icon: always visible above input */
.faq-search-shell .relative {
  isolation: isolate;
}
.faq-search-shell .relative > svg {
  position: absolute !important;
  z-index: 10 !important;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  pointer-events: none;
}
html[data-theme='dark'] .faq-search-shell .relative > svg {
  color: #c8c5be !important;
}

/* FAQ input - fully visible in dark */
html[data-theme='dark'] .faq-search-shell input {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.20) !important;
  color: #f3f1ec !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: relative;
  z-index: 1;
}
html[data-theme='dark'] .faq-search-shell input::placeholder {
  color: rgba(185,182,174,0.72) !important;
  opacity: 1 !important;
}
html[data-theme='dark'] .faq-search-shell input:focus {
  background: rgba(255,255,255,0.11) !important;
  border-color: rgba(20,241,149,0.40) !important;
  box-shadow: 0 0 0 3px rgba(20,241,149,0.10) !important;
}


/* ================================================
   BADGE + SEARCH FINAL FIX (node-appended)
   ================================================ */

/* Badge text - bright green in dark mode */
html[data-theme='dark'] .text-\[\#14f195\] {
  color: rgba(20, 241, 149, 0.95) !important;
}

/* Badge backgrounds */
html[data-theme='dark'] .bg-\[\#14f195\]\/5 {
  background-color: rgba(20, 241, 149, 0.12) !important;
}
html[data-theme='dark'] .bg-\[\#14f195\]\/10 {
  background-color: rgba(20, 241, 149, 0.14) !important;
}

/* Badge borders */
html[data-theme='dark'] .border-\[\#14f195\]\/20 {
  border-color: rgba(20, 241, 149, 0.36) !important;
}
html[data-theme='dark'] .border-\[\#14f195\]\/30 {
  border-color: rgba(20, 241, 149, 0.40) !important;
}

/* FAQ search icon: always visible above input */
.faq-search-shell .relative {
  isolation: isolate;
}
.faq-search-shell .relative > svg {
  position: absolute !important;
  z-index: 10 !important;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  pointer-events: none;
}
html[data-theme='dark'] .faq-search-shell .relative > svg {
  color: #c8c5be !important;
}

/* FAQ input - fully visible in dark */
html[data-theme='dark'] .faq-search-shell input {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.20) !important;
  color: #f3f1ec !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  position: relative;
  z-index: 1;
}
html[data-theme='dark'] .faq-search-shell input::placeholder {
  color: rgba(185,182,174,0.72) !important;
  opacity: 1 !important;
}
html[data-theme='dark'] .faq-search-shell input:focus {
  background: rgba(255,255,255,0.11) !important;
  border-color: rgba(20,241,149,0.40) !important;
  box-shadow: 0 0 0 3px rgba(20,241,149,0.10) !important;
}


/* ================================================
   BADGE TEXT — LIGHT MODE FIX
   Overrides the too-dark color-mix on eyebrow pills
   ================================================ */

/* Target the Tailwind-generated class directly */
html[data-theme='light'] .text-\[\#14f195\] {
  color: #0a7a46 !important;
}

/* Also target via named badge class */
html[data-theme='light'] .faq-badge {
  color: #0a7a46 !important;
  border-color: rgba(10, 122, 70, 0.35) !important;
  background: rgba(10, 122, 70, 0.08) !important;
}

/* Override the broad inline-flex rule that was too dark */
html[data-theme='light'] .inline-flex[class*='border-[#14f195]'],
html[data-theme='light'] .inline-flex[class*='bg-[#14f195]'] {
  color: #0a7a46 !important;
  border-color: rgba(10, 122, 70, 0.35) !important;
  background: rgba(10, 122, 70, 0.08) !important;
}

/* Span pills (Philosophy etc) */
html[data-theme='light'] span.rounded-full.uppercase {
  color: #0a7a46 !important;
}
