/* Violet theme only (dashboard purple) */
:root {
  color-scheme: light;
  --ink: #111827;
  --ink-soft: #3f4654;
  --muted: #6b7280;
  --soft: #f3f0ff;
  --soft-2: #ebe6ff;
  --page: #f6f4ff;
  --surface: #fbfaff;
  --elevated: #ffffff;
  --elevated-soft: rgba(255, 255, 255, 0.72);
  --input-bg: #ffffff;
  --line: rgba(17, 24, 39, 0.1);
  --accent: #6b46ff;
  --accent-rgb: 107, 70, 255;
  --accent-mid: #818cf8;
  --accent-light: #c4b5fd;
  --accent-deep: #4f46e5;
  --accent-track: #ddd6fe;
  --success: #10b981;
  --warn: #f59e0b;
  --danger: #dc2626;
  --white: #ffffff;
  /* Primary buttons ride the brand violet in both themes — #6b46ff holds
     5.3:1 against white text, so the fill stays fixed when the theme flips. */
  --btn-bg: #6b46ff;
  --btn-fg: #ffffff;
  --btn-bg-hover: #4f46e5;
  --nav-bg: rgba(246, 244, 255, 0.92);
  --glow: rgba(107, 70, 255, 0.16);
  --shadow: rgba(17, 24, 39, 0.08);
  --shadow-lg: rgba(17, 24, 39, 0.16);
  --container: 1320px;
  --page-gutter: clamp(24px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 78px;
  --page-glow-1: rgba(var(--accent-rgb), 0.04);
  --page-glow-2: rgba(var(--accent-rgb), 0.025);
  --page-glow-3: rgba(90, 110, 140, 0.03);
  --page-glow-4: rgba(var(--accent-rgb), 0.02);
  --glass: rgba(255, 255, 255, 0.92);
  --glass-mid: rgba(255, 255, 255, 0.78);
}

/* Dark mode — OS preference (unless forced light) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #f3f4f6;
    --ink-soft: #d1d5db;
    --muted: #9ca3af;
    --soft: #1a1628;
    --soft-2: #221e33;
    --page: #0c0b12;
    --surface: #14121c;
    --elevated: #1a1726;
    --elevated-soft: rgba(26, 23, 38, 0.88);
    --input-bg: #1a1726;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #8b6cff;
    --accent-mid: #a5b4fc;
    --accent-light: #c4b5fd;
    --accent-deep: #a78bfa;
    --accent-track: #2e2648;
    --white: #1a1726;
    --btn-bg: #6b46ff;
    --btn-fg: #ffffff;
    --btn-bg-hover: #7350f5;
    --nav-bg: rgba(12, 11, 18, 0.92);
    --glow: rgba(107, 70, 255, 0.28);
    --shadow: rgba(0, 0, 0, 0.35);
    --shadow-lg: rgba(0, 0, 0, 0.5);
    --page-glow-1: rgba(var(--accent-rgb), 0.12);
    --page-glow-2: rgba(var(--accent-rgb), 0.08);
    --page-glow-3: rgba(129, 140, 248, 0.06);
    --page-glow-4: rgba(var(--accent-rgb), 0.06);
    --glass: rgba(12, 11, 18, 0.92);
    --glass-mid: rgba(12, 11, 18, 0.78);
  }
}

/* Dark mode — explicit user choice */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f3f4f6;
  --ink-soft: #d1d5db;
  --muted: #9ca3af;
  --soft: #1a1628;
  --soft-2: #221e33;
  --page: #0c0b12;
  --surface: #14121c;
  --elevated: #1a1726;
  --elevated-soft: rgba(26, 23, 38, 0.88);
  --input-bg: #1a1726;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #8b6cff;
  --accent-mid: #a5b4fc;
  --accent-light: #c4b5fd;
  --accent-deep: #a78bfa;
  --accent-track: #2e2648;
  --white: #1a1726;
  --btn-bg: #6b46ff;
  --btn-fg: #ffffff;
  --btn-bg-hover: #7350f5;
  --nav-bg: rgba(12, 11, 18, 0.92);
  --glow: rgba(107, 70, 255, 0.28);
  --shadow: rgba(0, 0, 0, 0.35);
  --shadow-lg: rgba(0, 0, 0, 0.5);
  --page-glow-1: rgba(var(--accent-rgb), 0.12);
  --page-glow-2: rgba(var(--accent-rgb), 0.08);
  --page-glow-3: rgba(129, 140, 248, 0.06);
  --page-glow-4: rgba(var(--accent-rgb), 0.06);
  --glass: rgba(12, 11, 18, 0.92);
  --glass-mid: rgba(12, 11, 18, 0.78);
}

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

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  margin: 0;
  font-family: "Satoshi", Arial, sans-serif;
  color: var(--muted);
  background: var(--page);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

/* One continuous canvas — sections share atmosphere instead of hard cuts */
.page-flow {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 95% 28% at 50% 0%, var(--page-glow-1), transparent 60%),
    radial-gradient(ellipse 55% 22% at 100% 32%, var(--page-glow-2), transparent 58%),
    radial-gradient(ellipse 50% 20% at 0% 58%, var(--page-glow-3), transparent 58%),
    radial-gradient(ellipse 70% 24% at 70% 88%, var(--page-glow-4), transparent 58%),
    var(--page);
}


.section {
  position: relative;
  padding: clamp(72px, 10vw, 110px) 0;
}

/* Soft seam — fades each light section into the shared canvas */
.section.flow-band {
  background: transparent;
}

.section.flow-band::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% 0;
  width: min(160px, 30vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--accent-rgb), 0.18),
    transparent
  );
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

h1, h2, h3, h4, h5 {
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
  font-weight: 700;
}

p {
  margin: 0;
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  box-sizing: border-box;
}

/* ---------- NAV ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px dotted transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s;
}

.navbar.is-scrolled {
  background: var(--nav-bg);
  border-bottom-color: var(--line);
  backdrop-filter: blur(12px);
}

.nav-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border-left: 1px dotted var(--line);
  border-right: 1px dotted var(--line);
  padding-inline: var(--page-gutter);
  box-sizing: border-box;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  white-space: nowrap;
}

.logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0;
  min-width: 0;
}

.nav-link {
  position: relative;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.25s;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  box-shadow: 0 20px 50px rgba(20, 20, 20, 0.08);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
}

.dropdown-menu a:hover {
  background: var(--soft);
}

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

.nav-drawer-auth {
  display: none;
}

/* Theme switch — Dash (purple) / Default (orange) */
.theme-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  gap: 2px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s;
}

.theme-chip.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.08);
}

.theme-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.theme-swatch--dash {
  background: linear-gradient(135deg, #818cf8, #6b46ff);
}

.theme-swatch--default {
  background: linear-gradient(135deg, #ff8a5c, #ff5622);
}

.cart-btn {
  font-size: 14px;
  font-weight: 600;
  color: var(--btn-fg);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--btn-bg);
  background: var(--btn-bg);
  white-space: nowrap;
  line-height: 1;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.cart-btn:hover {
  background: var(--btn-bg-hover);
  border-color: var(--btn-bg-hover);
  color: var(--btn-fg);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--elevated);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.theme-toggle:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  color: var(--accent);
}

.theme-toggle .theme-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.theme-toggle .theme-icon-sun { display: none; }
.theme-toggle .theme-icon-moon { display: block; }

:root[data-theme="dark"] .theme-toggle .theme-icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .theme-icon-moon { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .theme-icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .theme-icon-moon { display: none; }
}

.nav-actions .nav-link {
  padding: 10px 10px;
}

.cart-count {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 11px;
  display: grid;
  place-items: center;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: 10px;
  font-weight: 500;
  font-size: 16px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-primary:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-fg);
}

/* Inverted variant for use on top of the dark bands */
.btn-primary.dark {
  background: var(--elevated);
  color: var(--ink);
}

.btn-primary.dark:hover {
  background: var(--btn-bg);
  color: var(--btn-fg);
}

.app-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid var(--ink);
  font-weight: 500;
  color: var(--ink);
  font-size: 16px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.app-download:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--page);
}

.app-download__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.phone-chip strong {
  color: var(--ink);
  font-weight: 600;
}

.phone-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--soft);
  position: relative;
}

.phone-dot::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--ink);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- HERO ---------- */
.banner {
  position: relative;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 56px;
  min-height: auto;
  display: block;
  overflow: visible;
  isolation: isolate;
  background: transparent;
}

.banner-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
}

.banner-aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
  opacity: 0.85;
}

.banner-aurora__blob--a {
  width: min(52vw, 560px);
  height: min(52vw, 560px);
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.28) 0%, rgba(var(--accent-rgb), 0) 70%);
  animation: heroAuroraA 14s ease-in-out infinite alternate;
}

.banner-aurora__blob--b {
  width: min(48vw, 520px);
  height: min(48vw, 520px);
  top: 18%;
  right: -10%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.2) 0%, rgba(196, 181, 253, 0.28) 40%, transparent 70%);
  animation: heroAuroraB 18s ease-in-out infinite alternate;
}

.banner-aurora__blob--c {
  width: min(40vw, 420px);
  height: min(40vw, 420px);
  bottom: -18%;
  left: 32%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.14) 0%, rgba(245, 243, 255, 0.75) 45%, transparent 72%);
  animation: heroAuroraC 16s ease-in-out infinite alternate;
}

@keyframes heroAuroraA {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12%, 18%) scale(1.12); }
  100% { transform: translate(22%, 6%) scale(0.96); }
}

@keyframes heroAuroraB {
  0% { transform: translate(0, 0) scale(1.05); }
  50% { transform: translate(-16%, 10%) scale(0.92); }
  100% { transform: translate(-8%, 22%) scale(1.1); }
}

@keyframes heroAuroraC {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-14%, -16%) scale(1.15); }
  100% { transform: translate(10%, -8%) scale(0.94); }
}

.banner-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  min-height: 0;
}

.banner-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 680px;
  transform: none !important; /* never scrub/stick the hero text */
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.eyebrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.07);
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.eyebrow-row .eyebrow {
  margin-bottom: 0;
}

/* Small accent dot balances the plain chip against the AI chip's logo */
.eyebrow-row .eyebrow:not(.eyebrow--ai)::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.eyebrow--ai {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.14), rgba(255, 122, 48, 0.11));
  border-color: rgba(var(--accent-rgb), 0.28);
  box-shadow: 0 1px 2px rgba(var(--accent-rgb), 0.08);
}

.eyebrow--ai:hover {
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.16);
}

.eyebrow-ai-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.banner h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: none;
  width: auto;
  margin: 0 0 22px;
}

.banner h1 .hero-accent {
  position: relative;
  display: block;
  width: fit-content;
  white-space: nowrap;
  margin: 0.1em 0 0;
  padding: 0 0.12em;
  color: var(--ink);
  isolation: isolate;
}

.banner h1 .hero-accent-text {
  position: relative;
  z-index: 2;
  color: var(--ink);
  font-weight: 700;
}

/* Highlighter sits mid-glyph, like a marker swipe */
.banner h1 .hero-brush {
  position: absolute;
  left: -4%;
  top: 32%;
  width: 108%;
  height: 58%;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
  color: var(--accent);
  transform: rotate(-1.5deg);
  transform-origin: left center;
}

.banner h1 .hero-brush-paint {
  transform-box: fill-box;
  transform-origin: left center;
}

.banner h1 .hero-brush-fill {
  fill: currentColor;
  opacity: 0.9;
}

.banner h1 .hero-brush-fill--soft {
  mix-blend-mode: normal;
  opacity: 0.68;
}

.lead {
  font-size: 17px;
  max-width: 46ch;
  margin-bottom: 28px;
  color: var(--muted);
}

.hero-proof {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.hero-proof li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--muted);
}

.hero-proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='8' fill='%236b46ff'/%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.hero-proof strong {
  color: var(--ink);
  font-weight: 700;
}

.banner-cta {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.banner-cta-primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cta-note {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}

.hero-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}

.banner-media {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
  align-self: center;
}

.banner-image {
  width: 100%;
  height: min(58vh, 520px);
  object-fit: cover;
  border-radius: 64px 0 0 64px;
  transform-origin: center right;
}

/* ---------- PARTNERS ---------- */
.partners {
  padding: 40px 0 56px;
  background: transparent;
}

.partners.flow-band::before {
  display: none;
}

.partners-label {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.pill {
  background: var(--soft);
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee.reverse .marquee-track {
  animation-direction: reverse;
  animation-duration: 28s;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}

.partner-logo {
  height: 26px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(1);
  transition: filter 0.3s, opacity 0.3s;
}

.partner-logo:hover {
  filter: none;
  opacity: 1;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- SECTION HEADS ---------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
}

.section-eyebrow img {
  width: 17px;
  height: 17px;
}

/* Monochrome <img> icons — force white (dark UI / light-on-dark sections) */
.icon-img-white,
.section-head.light .section-eyebrow img {
  filter: brightness(0) invert(1);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head h2,
.process-head h2,
.blog-head h2,
.cta-inner h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--ink);
}

.section-head.light h2,
.section-head.light .section-eyebrow,
.section-head.light .lead {
  color: #fff;
}

.section-head.light .lead {
  color: rgba(246, 246, 249, 0.72);
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.about-image {
  width: 100%;
  border-radius: 28px;
  /* cinematic custom corner feel */
  clip-path: path("M0,28 C0,12 12,0 28,0 H420 C470,0 500,40 500,90 V488 C500,504 488,516 472,516 H28 C12,516 0,504 0,488 Z");
  border-radius: 32px 120px 32px 32px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-card {
  background: var(--soft);
  border-radius: 18px;
  padding: 24px;
  transition: transform 0.4s var(--ease), background 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  background: var(--soft-2);
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}

.stat-value {
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: flex-end;
  gap: 1px;
  height: 1.05em;
  overflow: hidden;
}

.digit-reel {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  position: relative;
}

.digit-reel .digit-strip {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.digit-reel .digit-strip span {
  height: 1em;
  line-height: 1;
  display: flex;
  align-items: center;
}

.digit-suffix {
  line-height: 1;
  padding-bottom: 0.05em;
}

.stat-card[data-assemble] {
  will-change: transform, opacity;
}

.stat-card p {
  font-size: 14px;
  max-width: 18ch;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ---------- SERVICES ---------- */
.services {
  /* Intentional dark band — keep contrast in both themes */
  background: #111827;
  color: #fff;
  padding: 110px 0;
}

.services-head {
  max-width: 680px;
  margin-bottom: 64px;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-row {
  position: relative;
  display: block;
  border-bottom: 0.8px solid rgba(246, 246, 246, 0.2);
  padding: 32px 0 32px 24px;
  color: #fff;
  overflow: visible;
}

.service-row:first-child {
  border-top: 0.8px solid rgba(246, 246, 246, 0.2);
}

.service-row.last {
  border-bottom: 0;
}

.service-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.service-name-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.service-num {
  font-size: 20px;
  color: rgba(246, 246, 249, 0.6);
  font-weight: 500;
  transition: color 0.35s;
  flex-shrink: 0;
}

.service-name {
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: -0.03em;
  font-weight: 700;
  transition: color 0.35s;
  line-height: 1.1;
}

.service-arrow {
  width: 60px;
  height: 48px;
  border-radius: 100px;
  border: 0.8px solid #494852;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.4s var(--ease), border-color 0.4s, transform 0.45s var(--ease);
}

.service-arrow img {
  width: 16px;
  transition: filter 0.3s, transform 0.3s;
}

.service-desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.4s ease, margin 0.4s;
  position: relative;
  z-index: 2;
}

.service-desc p {
  max-width: 700px;
  width: min(700px, 100%);
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  padding-top: 18px;
}

.service-image {
  position: absolute;
  top: -36px;
  right: 12%;
  width: 309px;
  height: 309px;
  object-fit: cover;
  border-radius: 24px;
  opacity: 0;
  visibility: hidden;
  transform: rotate(-12deg) scale(0.8);
  pointer-events: none;
  z-index: 3;
  transition: transform 0.55s var(--ease), opacity 0.4s, visibility 0.4s;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.service-row.is-open .service-desc,
.service-row:hover .service-desc {
  max-height: 140px;
  opacity: 1;
}

.service-row.is-open .service-image,
.service-row:hover .service-image {
  opacity: 1;
  visibility: visible;
  transform: rotate(12deg) scale(1);
}

.service-row.is-open .service-arrow,
.service-row:hover .service-arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(45deg);
}

.service-row.is-open .service-arrow img,
.service-row:hover .service-arrow img {
  filter: brightness(0) invert(1);
}

.service-row.is-open .service-name,
.service-row:hover .service-name,
.service-row.is-open .service-num,
.service-row:hover .service-num {
  color: var(--accent);
}

/* ---------- STICKY FEATURES (staggered stack + cinematic scroll) ---------- */
.sticky-features {
  position: relative;
  padding: 48px 0 96px;
  background: transparent;
  color: var(--ink);
  overflow: clip;
}

.sticky-features.flow-band::before {
  display: none;
}

.sticky-features .container {
  width: min(100%, var(--container));
  padding-inline: var(--page-gutter);
  box-sizing: border-box;
}

.sticky-features__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.sticky-features__copy {
  display: flex;
  flex-direction: column;
  padding: min(12vh, 96px) 0;
}

.sticky-feature {
  min-height: min(58vh, 520px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 0;
  opacity: 0.22;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  will-change: opacity, transform;
}

/* Per-feature image: mobile/tablet only (desktop uses sticky stack) */
.sticky-feature__shot {
  display: none;
  margin: 0;
}

.sticky-feature__body {
  min-width: 0;
}

.sticky-feature.is-active {
  opacity: 1;
  transform: translateY(0);
}

.sticky-feature__eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.sticky-feature__title {
  font-family: "Satoshi", Arial, sans-serif;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  max-width: 24ch;
  color: var(--ink);
  margin: 0 0 16px;
}

.sticky-feature__lead {
  margin: 0 0 24px;
  max-width: 44ch;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--muted);
}

.sticky-feature__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-width: 48ch;
}

.sticky-feature__list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.sticky-feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}

.sticky-feature__list li::after {
  content: none;
}

.sticky-features__media {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  height: calc(100vh - var(--nav-h) - 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.sticky-features__stack {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1;
  transform-style: preserve-3d;
}

.sticky-card {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #2a2f3a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 50px rgba(10, 12, 18, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.06) inset;
  transform-origin: 50% 80%;
  will-change: transform, opacity, filter;
}

.sticky-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.sticky-card.is-active {
  z-index: 10;
}

/* ---------- FEATURES GRID (30+) — compact chips ---------- */
.features {
  background: transparent;
  padding: clamp(64px, 8vw, 88px) 0;
}

.features-head {
  max-width: 640px;
  margin-bottom: 24px;
}

.features-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 8px;
}

.features-head .lead {
  font-size: 15px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-card {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 8px 12px 8px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s,
    background 0.25s,
    color 0.25s;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.4);
  background: var(--soft);
  box-shadow: none;
}

.feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s;
}

.feature-icon svg {
  width: 14px;
  height: 14px;
}

.feature-card:hover .feature-icon {
  background: var(--accent);
  color: #fff;
  transform: none;
}

.feature-card h3 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- PORTFOLIO (sticky horizontal scrub) ---------- */
.portfolio {
  padding: 0;
  overflow: visible;
}

.portfolio-pin {
  height: 340vh;
  position: relative;
}

.portfolio-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 90px 0 40px;
  overflow: hidden;
  background: var(--white);
}

.portfolio-top {
  text-align: center;
  padding-inline: 24px;
}

.portfolio-top .section-eyebrow {
  justify-content: center;
}

.portfolio-top h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.03em;
  margin: 0;
}

.portfolio-track-wrap {
  overflow: hidden;
  width: 100%;
  padding-left: max(40px, calc((100vw - 1320px) / 2));
}

.portfolio-track {
  display: flex;
  gap: 36px;
  width: max-content;
  will-change: transform;
  padding-right: 18vw;
}

.portfolio-slide {
  width: min(900px, 78vw);
  flex: 0 0 auto;
}

.portfolio-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: var(--soft);
  aspect-ratio: 900 / 579;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.portfolio-slide:hover .portfolio-thumb img {
  transform: scale(1.04);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.2);
  opacity: 0;
  transition: opacity 0.35s;
}

.portfolio-slide:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-view {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  margin: -45px 0 0 -45px;
  border-radius: 100px;
  border: 0.8px solid #f6f6f9;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  background: transparent;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
  z-index: 2;
}

.portfolio-slide:hover .portfolio-view {
  opacity: 1;
  transform: scale(1);
}

.portfolio-cat {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  z-index: 2;
}

.portfolio-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.portfolio-copy {
  margin-top: 18px;
}

.portfolio-copy h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.portfolio-copy h3 a:hover {
  color: var(--accent);
}

.portfolio-copy p {
  font-size: 16px;
  color: var(--muted);
  max-width: 48ch;
}

/* ---------- PROCESS (sticky left) ---------- */
.process {
  padding: clamp(80px, 10vw, 120px) 0;
  background: transparent;
}

.process-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.process-sticky-col {
  position: sticky;
  top: 120px;
  width: min(420px, 42%);
  flex-shrink: 0;
  padding-bottom: 24px;
}

.process-sticky-col h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  letter-spacing: -0.025em;
  margin: 14px 0 24px;
  max-width: 18ch;
  line-height: 1.25;
  font-weight: 700;
}

.process-sticky-col .banner-cta-primary {
  align-items: flex-start;
}

.process-sticky-col .cta-note {
  text-align: left;
  padding-inline: 4px;
}

.process-cards-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(560px, 52%);
  flex-shrink: 0;
}

.process-grid {
  display: none;
}

.process-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 48px;
}

.process-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 24px 26px;
  transition: transform 0.4s var(--ease), box-shadow 0.35s;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(20, 20, 20, 0.06);
}

.process-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.process-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Dark surfaces: keep process SVG icons readable as white glyphs */
:root[data-theme="dark"] .process-icon,
:root[data-theme="dark"] .section-eyebrow img {
  filter: brightness(0) invert(1);
}

.process-num {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  opacity: 0.16;
  letter-spacing: -0.04em;
}

.process-card h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.process-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 40ch;
  margin: 0;
}

/* ---------- TOOLS ---------- */
.tools-marquee {
  padding: 28px 0;
  border-block: 1px solid var(--line);
}

.marquee-group.tools {
  gap: 28px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.marquee-group.tools .star {
  color: var(--accent);
  font-size: 0.7em;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.testimonials .section-head {
  margin-bottom: 40px;
  opacity: 1;
  visibility: visible;
}

.testimonial-row {
  gap: 22px;
  align-items: stretch;
}

.t-card {
  width: min(380px, 78vw);
  flex: 0 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 12px 28px rgba(20, 20, 20, 0.04);
}

.t-stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 14px;
}

.t-card p {
  flex: 1;
  color: var(--muted);
}

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

.t-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.t-author strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.t-author span {
  font-size: 13px;
}

/* ---------- CTA ---------- */
.cta {
  background: transparent;
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.cta-kicker {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.cta-inner h2 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.04em;
}

/* ---------- BLOG ---------- */
.blog-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
}

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

.blog-media {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 16px;
}

.blog-media img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.blog-card:hover .blog-media img {
  transform: scale(1.05);
}

.blog-meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.blog-card h3 a:hover {
  color: var(--accent);
}

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(var(--accent-rgb), 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(var(--accent-rgb), 0.04) 0%, transparent 50%),
    #0c0c0e;
  color: rgba(255, 255, 255, 0.62);
  padding: 0 0 36px;
  overflow: visible;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Dark rises into the page — no white fog wash */
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -56px;
  height: 56px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, #0c0c0e 100%);
}

.footer-glow {
  position: absolute;
  inset: -8% auto auto 50%;
  translate: -50% 0;
  width: min(780px, 90%);
  height: 280px;
  background:
    radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.12) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding-top: 64px;
}

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

.footer-newsletter {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: end;
  padding: 36px 40px;
  margin-bottom: 64px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.footer-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-newsletter h4 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  max-width: 14ch;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 12px;
}

.footer-newsletter-copy p {
  margin: 0;
  max-width: 36ch;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 4px 16px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.newsletter-field:focus-within {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-field svg {
  flex-shrink: 0;
  opacity: 0.55;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  padding: 14px 0;
  font: inherit;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border-radius: 14px;
  padding: 15px 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.newsletter-form button:hover {
  background: #ff6a3d;
  transform: translateY(-1px);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.05fr) minmax(0, 1.7fr);
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 40px;
  align-items: start;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.footer-logo .logo-img {
  height: 40px;
  max-width: 220px;
  /* logo has dark plate — sit clean on footer */
  border-radius: 6px;
}

.footer-brand p {
  margin: 0 0 22px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
  width: 100%;
}

.footer-col {
  min-width: 0;
}

.footer h5 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-address {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-links a:visited,
.footer-links a:link {
  color: rgba(255, 255, 255, 0.62);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  outline: none;
}

.footer-address {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a,
.footer-legal a:visited {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #fff;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.25s var(--ease);
}

.socials a svg {
  display: block;
  color: #fff;
}

.socials a:hover,
.socials a:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  outline: none;
}

/* ---------- APPS (Apple Card–style sticky scroll) ---------- */
.apps {
  position: relative;
  padding: 0;
  overflow: clip;
  margin-top: 0;
}

/* Soft shared-canvas fade — keep subtle, not a white fog wall */
.apps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 72px;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(180deg, var(--page) 0%, transparent 100%);
  opacity: 0.85;
}

.apps::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(0deg, var(--page) 0%, transparent 100%);
  opacity: 0.85;
}

.apps-pin {
  /* Was 320vh — ~2.2 viewports of scrub. 180vh ≈ 0.8 viewport while pinned. */
  height: 180vh;
  position: relative;
}

.apps-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 640px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.apps-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, rgba(var(--accent-rgb), 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 88% 12%, rgba(var(--accent-rgb), 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 45% at 50% 100%, var(--soft) 0%, transparent 55%),
    var(--page);
}

.apps-stage {
  position: relative;
  z-index: 1;
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  box-sizing: border-box;
  height: 100%;
  display: grid;
  place-items: center;
}

.apps-copy {
  position: absolute;
  top: calc(var(--nav-h) + 20px);
  left: 50%;
  width: min(640px, 100%);
  text-align: center;
  z-index: 6;
  pointer-events: none;
  /* Solid glass so the expanding orb never bleeds through the lead copy */
  padding: 18px 22px 22px;
  border-radius: 20px;
  background: var(--glass);
  box-shadow: 0 12px 40px var(--shadow);
  border: 1px solid var(--line);
}

.apps-copy .section-eyebrow {
  justify-content: center;
}

.apps-title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
  text-wrap: balance;
  color: var(--ink, #141414);
  position: relative;
  z-index: 1;
}

.apps-lead {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.apps-orb {
  position: absolute;
  top: 64%;
  left: 50%;
  width: min(36vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  background: transparent;
  will-change: transform, opacity;
  transform-origin: center center;
  overflow: visible;
  pointer-events: none;
}

.apps-orb-glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(var(--accent-rgb), 0.34) 0%, rgba(var(--accent-rgb), 0.12) 42%, transparent 70%);
  filter: blur(2px);
}

.apps-orb-core {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  color: var(--ink);
  opacity: 1;
}

.apps-orb-mark {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  background:
    linear-gradient(145deg, var(--accent-mid) 0%, var(--accent) 55%, var(--accent-light) 100%);
  box-shadow:
    0 18px 40px rgba(var(--accent-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.apps-orb-brand {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.apps-orb-tag {
  font-size: 0.85rem;
  opacity: 0.7;
  font-weight: 500;
  color: var(--muted);
}

.apps-phones {
  position: absolute;
  inset: 0;
  display: flex;
  /* Keep devices in the upper band so they never collide with .apps-end */
  align-items: flex-start;
  justify-content: center;
  gap: clamp(28px, 5vw, 72px);
  z-index: 4;
  pointer-events: none;
  padding-top: calc(var(--nav-h) + 28px);
  padding-bottom: min(42vh, 320px);
  box-sizing: border-box;
}

.phone {
  display: grid;
  justify-items: center;
  gap: 14px;
  will-change: transform, opacity;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.phone-bezel {
  width: clamp(150px, 14.5vw, 200px);
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(20, 20, 20, 0.22));
  transition: filter 0.35s var(--ease), transform 0.35s var(--ease);
}

a.phone:hover .phone-bezel,
a.phone:focus-visible .phone-bezel {
  filter: drop-shadow(0 36px 68px rgba(20, 20, 20, 0.3));
  transform: translateY(-4px);
}

a.phone:focus-visible {
  outline: none;
}

a.phone:focus-visible .phone-label {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Desktop scrub owns the end CTAs; top badges are mobile-only */
.apps-badges-top {
  display: none;
}

@keyframes apps-float-ios {
  0%, 100% { transform: rotate(-7deg) translate(14px, 6px); }
  50% { transform: rotate(-7deg) translate(14px, -6px); }
}

@keyframes apps-float-android {
  0%, 100% { transform: rotate(7deg) translate(-14px, 6px); }
  50% { transform: rotate(7deg) translate(-14px, -4px); }
}

.phone-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--elevated-soft);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  will-change: opacity, transform;
}

.apps-end {
  position: absolute;
  bottom: 20px;
  left: 50%;
  width: min(640px, 100%);
  text-align: center;
  z-index: 6;
  display: grid;
  gap: 10px;
  justify-items: center;
  /* Opaque wash so phone bezels / labels can't bleed through CTAs */
  padding: 18px 16px 8px;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--glass) 18%,
    var(--glass-mid) 55%,
    var(--page) 100%
  );
  pointer-events: none;
}

.apps-end h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.apps-end p {
  color: var(--muted);
  max-width: 420px;
  position: relative;
  z-index: 1;
}

.apps-web-hint {
  margin-top: 1rem;
  color: var(--muted) !important;
  opacity: 0.75;
  font-size: 0.9rem;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.apps-web-hint a,
.apps-web-hint strong {
  color: var(--ink);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  /* Always dark badge + light label (real App Store / Play style) */
  background: #111827;
  color: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  min-width: 168px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.store-badge:hover {
  transform: translateY(-2px);
  background: #000;
  color: #fff;
}

/* The badge is a flex row, so stop the brand marks being squeezed by the label. */
.store-badge-icon {
  flex: none;
}

.store-badge span {
  display: grid;
  text-align: left;
  line-height: 1.15;
}

.store-badge small {
  font-size: 0.65rem;
  opacity: 0.75;
}

.store-badge strong {
  font-size: 0.98rem;
  font-weight: 700;
}

/* Mobile-only download CTAs (old landing .google-mobile pattern) */
.mobile-app-cta {
  display: none;
}

/* ---------- MADE WITH — 3D cylinder (1 front + 2 faded sides) ---------- */
.made {
  position: relative;
  padding: 0;
  background: transparent;
  overflow: clip;
  isolation: isolate;
}

.made.flow-band::before {
  top: auto;
  bottom: 0;
}

/* Soft lift between process → features narrative */
.process + .sticky-features,
.sticky-features + .features,
.features + .compare {
  margin-top: -24px;
  padding-top: calc(clamp(72px, 10vw, 110px) + 8px);
}

.made-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.made-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}

.made-bg__glow--a {
  width: min(58vw, 620px);
  height: min(58vw, 620px);
  top: 8%;
  left: -8%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12) 0%, transparent 68%);
  animation: made-drift-a 18s ease-in-out infinite alternate;
}

.made-bg__glow--b {
  width: min(50vw, 540px);
  height: min(50vw, 540px);
  top: 18%;
  right: -10%;
  background: radial-gradient(circle, rgba(80, 110, 150, 0.07) 0%, transparent 70%);
  animation: made-drift-b 22s ease-in-out infinite alternate;
}

.made-bg__glow--c {
  width: min(70vw, 720px);
  height: min(42vw, 420px);
  bottom: 6%;
  left: 50%;
  translate: -50% 0;
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.06) 0%, transparent 72%);
  animation: made-drift-c 16s ease-in-out infinite alternate;
}

@keyframes made-drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(6%, 8%) scale(1.08); }
}

@keyframes made-drift-b {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-8%, 5%) scale(1.1); }
}

@keyframes made-drift-c {
  from { transform: translate(-50%, 0) scale(1); }
  to { transform: translate(-46%, -6%) scale(1.06); }
}

.made-bg__grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 20, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 20%, transparent 75%);
}

.made-bg__ring {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(92vw, 980px);
  height: min(52vw, 520px);
  translate: -50% -42%;
  border-radius: 50%;
  border: 1px solid rgba(20, 20, 20, 0.06);
  box-shadow:
    0 0 0 40px rgba(20, 20, 20, 0.015),
    0 0 0 90px rgba(var(--accent-rgb), 0.025);
}

.made-pin {
  position: relative;
  z-index: 1;
  height: 280vh;
  overflow: visible;
}

.made-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: calc(var(--nav-h) + 24px) 0 40px;
  overflow: visible;
}

.made-head {
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
  z-index: 2;
}

.made-title {
  font-family: "Gambarino", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 10px;
}

.made-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 auto 8px;
}

.made-label {
  margin: 10px 0 0;
  font-family: "Gambarino", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--ink);
  min-height: 1.4em;
}

.made-stage {
  position: relative;
  width: min(1200px, 100%);
  height: min(54vh, 440px);
  perspective: 1100px;
  perspective-origin: 50% 45%;
  display: grid;
  place-items: center;
  margin-top: 8px;
  overflow: visible;
  transform-style: preserve-3d;
}

.made-cylinder {
  position: relative;
  width: min(380px, 48vw);
  height: min(265px, 34vh);
  transform-style: preserve-3d;
  will-change: transform;
  transform-origin: center center;
}

.made-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4%;
  translate: -50% 0;
  width: min(560px, 70vw);
  height: 48px;
  background:
    radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.made-face {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
  background: #111;
  transform-origin: center center;
  /* keep opacity at 1 always — dim via ::before so 3D stays intact */
  opacity: 1;
  will-change: transform;
}

.made-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.made-face::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  pointer-events: none;
  z-index: 2;
  transition: background 0.2s ease;
}

.made-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.12) 0%,
    transparent 48%,
    rgba(0, 0, 0, 0.26) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.made-face.is-front {
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.made-face.is-front::before {
  background: rgba(0, 0, 0, 0);
}

.made-face.is-side::before {
  background: rgba(20, 20, 20, 0.5);
}

.made-face.is-back {
  visibility: hidden;
  pointer-events: none;
}

.made-dots {
  display: flex;
  gap: 8px;
  z-index: 2;
}

.made-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.25s ease, transform 0.25s ease;
}

.made-dots span.is-on {
  background: var(--accent);
  transform: scale(1.2);
}

/* ---------- COMPARE TABLE (cols → slider) ---------- */
.compare {
  overflow: visible;
  padding: clamp(72px, 9vw, 100px) 0;
  background: transparent;
}

.compare .container {
  overflow: visible;
}

.compare-head {
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 36px;
  text-align: center;
}

.compare-head .section-eyebrow {
  justify-content: center;
}

.compare-head .lead {
  margin-inline: auto;
}

.compare-panel {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 28px 20px 20px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(20, 20, 20, 0.03),
    0 24px 56px rgba(20, 20, 20, 0.06);
}

.compare-table {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 8px;
  padding-top: 10px;
}

.compare-labels {
  flex: 0 0 150px;
  min-width: 130px;
}

.compare-options {
  flex: 1;
  min-width: 0;
  position: relative;
}

.compare-nav {
  display: none;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 14px;
}

.compare-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s;
}

.compare-nav-btn svg {
  width: 18px;
  height: 18px;
}

.compare-nav-btn:hover {
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-color: var(--btn-bg);
}

.compare-nav-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.compare-slider {
  width: 100%;
  overflow: visible;
}

.compare-track {
  display: flex;
  width: 100%;
  gap: 8px;
  align-items: stretch;
}

.compare-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid transparent;
}

.compare-card.is-featured {
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.14) 0%,
    rgba(var(--accent-rgb), 0.06) 100%
  );
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.08),
    0 16px 36px rgba(var(--accent-rgb), 0.12);
  z-index: 1;
}

.compare-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.compare-cell {
  min-height: 56px;
  height: 56px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-sizing: border-box;
}

.compare-cell > span,
.compare-cell > strong {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-width: 100%;
}

.compare-labels .compare-cell {
  justify-content: flex-start;
  text-align: left;
  padding-left: 4px;
  padding-right: 12px;
}

.compare-cell:last-child {
  border-bottom: 0;
}

.compare-cell--head {
  min-height: 72px;
  height: 72px;
}

.compare-corner {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.compare-cell--head strong {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-size: 1rem;
}

.compare-card.is-featured .compare-cell--head strong {
  color: var(--accent-deep);
}

.compare-cell--label span {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.compare-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(var(--accent-rgb), 0.35);
}

.compare-free {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.2em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.compare-win {
  font-weight: 700;
  color: var(--ink);
}

.compare-muted {
  color: var(--muted);
  opacity: 0.75;
}

.compare-card:not(.is-featured) .compare-cell {
  color: var(--muted);
}

.compare-card:not(.is-featured) .compare-cell--head strong {
  color: var(--ink);
}

/* Mobile factor cards — hidden on desktop */
.compare-mobile {
  display: none;
}

.compare-factor {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
  padding: 12px 12px 4px;
  width: 100%;
}

.compare-factor__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 2px 4px 0;
}

.compare-factor__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.compare-factor__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.compare-factor__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 10px;
}

.compare-factor__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-bottom: 1px dashed color-mix(in srgb, var(--line) 85%, transparent);
  font-size: 0.88rem;
  line-height: 1.4;
}

.compare-factor__row:last-child {
  border-bottom: 0;
}

.compare-factor__val {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ink);
  font-weight: 500;
}

.compare-factor__dot {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

.compare-factor__row.is-win .compare-factor__val {
  color: var(--accent-deep);
}

.compare-factor__row.is-win .compare-factor__val strong {
  font-weight: 700;
}

.compare-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s, color 0.2s;
}

.compare-more-btn svg {
  transition: transform 0.25s var(--ease);
}

.compare-more-btn.is-open svg {
  transform: rotate(180deg);
}

.compare-more-btn:hover,
.compare-more-btn:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: var(--soft);
  outline: none;
}

.compare-mobile.is-expanded .compare-factor.is-extra {
  display: block;
}

.compare-nav,
.compare-dots,
.compare-nav-meta {
  display: none !important;
}

/* Tablets & phones: factor cards (all 3 options visible, scroll only) */
@media (max-width: 1100px) {
  .compare-panel {
    padding: 16px 12px 12px;
    border-radius: 22px;
    width: 100%;
  }

  .compare-table--desktop {
    display: none !important;
  }

  .compare-mobile {
    display: grid;
    gap: 14px;
    width: 100%;
  }

  .compare-factor.is-extra[hidden] {
    display: none !important;
  }
}

@media (max-width: 900px) {
  /*
   * Pin height is set in JS = content height + short scrub runway.
   * Do NOT use min-height: 100svh — that left a huge empty void under the CTA.
   */
  .made {
    overflow: visible;
  }

  .made-pin {
    height: auto; /* sized by sizeMadePin() */
  }

  .made-sticky {
    position: sticky;
    top: 0;
    height: auto;
    min-height: 0;
    padding: calc(var(--nav-h) + 12px) 0 16px;
    overflow: visible;
    gap: 10px;
    justify-content: flex-start;
    box-sizing: border-box;
    background: var(--page);
  }

  .made-sticky .mobile-app-cta {
    display: flex;
    width: 100%;
    max-width: min(100%, var(--container));
    margin: 4px auto 0;
    padding: 8px var(--page-gutter) 4px;
    flex-shrink: 0;
  }

  .made-stage {
    height: min(38vh, 280px);
    width: 100%;
    perspective: 1000px;
    overflow: hidden;
  }

  .made-cylinder {
    width: min(260px, 70vw);
    height: min(170px, 26vh);
  }
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 4, 11, 0.72);
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-inner {
  background: #111;
  color: #fff;
  width: min(720px, 100%);
  aspect-ratio: 16/9;
  border-radius: 18px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 12px;
}

.lightbox-play {
  font-size: 1.4rem;
  font-weight: 700;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 36px;
  color: #fff;
}

/* ---------- REVEAL ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  will-change: transform, opacity;
}

[data-reveal="hero-media"] {
  transform: translateX(48px) scale(0.96);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  :root {
    --page-gutter: clamp(16px, 4vw, 28px);
    --nav-h: 68px;
  }

  .page-flow::before,
  .page-flow::after {
    display: none;
  }

  .banner-grid,
  .about-grid,
  .footer-newsletter,
  .footer-main {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .footer-inner {
    padding-top: 48px;
  }

  .footer-main {
    gap: 32px;
    margin-bottom: 28px;
  }

  .banner {
    padding-top: calc(var(--nav-h) + 28px);
  }

  .banner h1 .hero-accent {
    white-space: normal;
    max-width: 100%;
  }

  .banner h1 .hero-brush {
    width: 104%;
    left: -2%;
  }

  .sticky-features {
    padding: 36px 0 64px;
    /* sticky children need a non-clipping ancestor */
    overflow: visible;
  }

  .sticky-features__layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* Hide desktop sticky stack — mobile uses per-card sticky stack */
  .sticky-features__media {
    display: none !important;
  }

  .sticky-features__copy {
    padding: 0 0 clamp(40px, 12vh, 96px);
    gap: 0;
    width: 100%;
  }

  /*
   * Stacked cards: outer shell stays position:sticky (no transform).
   * Inner .sticky-feature__panel receives scale/fade so sticky isn't broken.
   */
  .sticky-feature {
    position: sticky;
    top: calc(var(--nav-h, 64px) + 12px + (var(--stack-i, 0) * 9px));
    z-index: calc(20 + var(--stack-i, 0));
    min-height: 0 !important;
    height: auto;
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
    padding: 0;
    margin: 0 0 clamp(36px, 14vh, 110px);
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    box-shadow: none;
    width: 100%;
    display: block;
  }

  .sticky-feature:last-child {
    margin-bottom: 0;
  }

  .sticky-feature__panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    overflow: hidden;
    transform-origin: 50% 0%;
    box-shadow:
      0 20px 48px rgba(12, 11, 18, 0.14),
      0 1px 0 rgba(255, 255, 255, 0.05) inset;
    transition: box-shadow 0.35s var(--ease, ease);
    will-change: transform, opacity, filter;
  }

  .sticky-feature.is-front .sticky-feature__panel {
    box-shadow:
      0 28px 56px rgba(12, 11, 18, 0.2),
      0 0 0 1px rgba(var(--accent-rgb), 0.12),
      0 1px 0 rgba(255, 255, 255, 0.06) inset;
  }

  .sticky-feature__shot {
    display: block !important;
    width: 100%;
    margin: 0;
    aspect-ratio: 4 / 3;
    max-height: min(40vh, 260px);
    overflow: hidden;
    background: #2a2f3a;
    order: -1;
    flex-shrink: 0;
  }

  .sticky-feature__shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .sticky-feature__body {
    padding: 16px 16px 18px;
    min-width: 0;
    background: var(--surface);
  }

  .sticky-feature__eyebrow {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .sticky-feature__title {
    max-width: none;
    font-size: clamp(1.28rem, 5vw, 1.6rem);
    margin-bottom: 8px;
  }

  .sticky-feature__lead {
    font-size: 0.95rem;
    margin-bottom: 12px;
    max-width: none;
  }

  .sticky-feature__list {
    gap: 8px;
    max-width: none;
  }

  .sticky-feature__list li {
    font-size: 0.9rem;
  }

  .footer-newsletter {
    padding: 28px 24px;
    gap: 28px;
  }

  .apps-pin {
    height: auto;
  }

  .apps-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 40px 0 28px;
    overflow: visible;
  }

  .apps-copy,
  .apps-end {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 36rem;
    margin-inline: auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    pointer-events: auto;
  }

  .apps-end {
    margin-top: 4px;
    gap: 6px;
  }

  .apps-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .apps-lead {
    margin-bottom: 0;
  }

  .apps-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    height: auto;
    place-items: stretch;
  }

  .apps-orb {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 220px);
    margin: 0 auto;
    display: none;
  }

  /* CTAs above mockups on tablet/mobile */
  .apps-badges-top {
    display: flex;
    margin-top: 1.25rem;
  }

  .apps-badges-end {
    display: none;
  }

  /* Mid-page store badges — side by side */
  .mobile-app-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 4px var(--page-gutter) 16px;
    box-sizing: border-box;
  }

  .mobile-app-cta__badges {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin: 0;
    justify-content: stretch;
  }

  .mobile-app-cta__badges .store-badge {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 46px;
    justify-content: center;
    padding: 8px 10px;
    gap: 8px;
  }

  .mobile-app-cta__badges .store-badge strong {
    font-size: 0.88rem;
  }

  .mobile-app-cta__badges .store-badge small {
    font-size: 0.6rem;
  }

  .mobile-app-cta__hint {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
  }

  .mobile-app-cta__hint a {
    color: var(--ink);
    text-decoration: underline;
  }

  /* Hero: store badges instead of text download link */
  .banner .app-download--desktop {
    display: none;
  }

  .banner .mobile-app-cta {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    margin: 4px 0 0;
  }

  .apps-end h3 {
    font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  }

  .apps-end p:not(.apps-web-hint) {
    display: none;
  }

  .apps-phones {
    position: relative;
    inset: auto;
    pointer-events: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    padding: 8px 0 4px;
    isolation: isolate;
  }

  .phone {
    flex: 0 0 auto;
  }

  .phone-ios {
    z-index: 2;
    transform: rotate(-7deg) translate(14px, 6px);
    animation: apps-float-ios 5.2s ease-in-out infinite;
  }

  .phone-android {
    z-index: 1;
    transform: rotate(7deg) translate(-14px, 6px);
    animation: apps-float-android 5.2s ease-in-out infinite 0.55s;
  }

  .phone-bezel {
    width: min(148px, 38vw);
  }

  a.phone:hover .phone-bezel,
  a.phone:focus-visible .phone-bezel {
    transform: none;
  }

  .phone-label {
    opacity: 1 !important;
    transform: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .process-layout {
    flex-direction: column;
    gap: 36px;
  }

  .process-sticky-col {
    position: static;
    width: 100%;
  }

  .process-cards-col {
    width: 100%;
  }

  .portfolio-pin {
    height: auto;
  }

  .portfolio-sticky {
    position: relative;
    height: auto;
    padding: 80px 0;
  }

  .portfolio-track {
    flex-wrap: wrap;
    width: 100%;
    padding-right: 24px;
    transform: none !important;
  }

  .portfolio-slide {
    width: calc(50% - 18px);
  }

  .service-image {
    width: 180px;
    height: 180px;
    right: 4%;
    top: auto;
    bottom: 16px;
  }

  .banner-media {
    justify-self: stretch;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }

  .banner-image {
    border-radius: 28px;
    height: auto;
    aspect-ratio: 1;
    max-height: min(52vw, 380px);
    object-fit: cover;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    width: 100%;
  }

  .footer-col--address {
    grid-column: 1 / -1;
  }

  /* Nav drawer */
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    border-left: 0;
    border-right: 0;
  }

  .logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .logo-img {
    height: 32px;
    max-width: min(168px, 48vw);
  }

  .nav-actions {
    flex: 0 0 auto;
    gap: 8px;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
    background: var(--page);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
    z-index: 99;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links .nav-link {
    padding: 14px 12px;
    font-size: 15px;
    border-radius: 10px;
  }

  /* Desktop underline looks like a stray border in the drawer */
  .nav-links .nav-link::after {
    display: none;
  }

  .nav-links .nav-link.is-active {
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.1);
    font-weight: 600;
  }

  .nav-links .nav-link:hover {
    background: rgba(var(--accent-rgb), 0.06);
  }

  .menu-toggle {
    display: flex;
  }

  .nav-actions-auth {
    display: none;
  }

  .nav-drawer-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .nav-drawer-auth .nav-link {
    padding: 14px 12px;
  }

  .nav-drawer-auth .cart-btn {
    justify-content: center;
    width: 100%;
    margin-top: 2px;
  }

  .theme-chip span:not(.theme-swatch) {
    display: none;
  }

  .theme-chip {
    padding: 7px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    padding-left: 12px;
  }

  .feature-card h3 {
    white-space: nowrap;
    font-size: 0.78rem;
  }

  .features {
    padding: 56px 0;
  }

  /* Keep non-aligned wrap chips — content-width pills, minimal footprint */
  .features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    justify-content: flex-start;
  }

  .feature-card {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    min-width: 0;
    min-height: 0;
    border-radius: 999px;
    padding: 6px 10px 6px 6px;
    gap: 6px;
  }

  .feature-card h3 {
    white-space: nowrap;
    font-size: 0.76rem;
    line-height: 1.2;
  }

  .feature-icon {
    width: 24px;
    height: 24px;
  }

  .feature-icon svg {
    width: 12px;
    height: 12px;
  }

  .process-grid,
  .blog-grid,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .portfolio-slide {
    width: 100%;
  }

  .blog-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand {
    max-width: none;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    width: 100%;
  }

  .footer-col--address {
    grid-column: 1 / -1;
  }

  .footer-col h5 {
    margin-bottom: 12px;
  }

  .footer-links {
    gap: 8px;
  }

  .footer-links a {
    display: inline-block;
    padding: 2px 0;
  }

  .footer-address {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .newsletter-form button {
    width: 100%;
  }
}

/* Phones / small tablets */
@media (max-width: 640px) {
  :root {
    --page-gutter: 16px;
    --nav-h: 60px;
  }

  .logo-img {
    height: 30px;
    max-width: min(148px, 38vw);
  }

  .nav-actions {
    gap: 6px;
  }

  .cart-btn {
    min-height: 36px;
    padding: 6px 12px;
    font-size: 13px;
  }

  .theme-toggle,
  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .banner {
    padding-top: calc(var(--nav-h) + 20px);
    padding-bottom: 40px;
  }

  .banner h1 {
    font-size: clamp(1.55rem, 7.2vw, 2rem);
    margin-bottom: 16px;
  }

  .banner h1 br {
    display: none;
  }

  .hero-proof li {
    font-size: 14px;
  }

  .banner-cta {
    gap: 12px;
  }

  .banner-cta-primary {
    width: 100%;
  }

  .banner-cta .btn-primary {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
  }

  .banner-cta .app-download {
    width: 100%;
    justify-content: center;
  }

  .phone-chip {
    font-size: 13px;
    flex-wrap: wrap;
  }

  .banner-image {
    border-radius: 20px;
    max-height: min(70vw, 320px);
  }

  .partners {
    padding: 28px 0 40px;
  }

  .marquee-group {
    gap: 32px;
  }

  .sticky-features {
    padding: 24px 0 48px;
    overflow: visible;
  }

  .sticky-features__copy {
    gap: 0;
    padding-bottom: clamp(32px, 10vh, 72px);
  }

  .sticky-feature {
    top: calc(var(--nav-h, 56px) + 10px + (var(--stack-i, 0) * 8px));
    margin-bottom: clamp(28px, 12vh, 88px);
  }

  .sticky-feature__panel {
    border-radius: 18px;
  }

  .sticky-feature__shot {
    aspect-ratio: 1 / 1;
    max-height: min(44vw, 220px);
  }

  .sticky-feature__body {
    padding: 14px 14px 16px;
  }

  .sticky-feature__title {
    font-size: clamp(1.2rem, 5.2vw, 1.45rem);
  }

  .sticky-feature__lead {
    font-size: 0.92rem;
  }

  .sticky-feature__list li {
    font-size: 0.86rem;
  }

  .mobile-app-cta {
    padding-top: 0;
    padding-bottom: 12px;
  }

  .mobile-app-cta__badges {
    gap: 8px;
  }

  .mobile-app-cta__badges .store-badge {
    min-height: 44px;
    padding: 8px 8px;
  }

  .features-grid {
    gap: 5px;
  }

  .feature-card {
    padding: 5px 9px 5px 5px;
    gap: 5px;
  }

  .feature-card h3 {
    font-size: 0.72rem;
  }

  .feature-icon {
    width: 22px;
    height: 22px;
  }

  .apps-sticky {
    padding: 32px 0 20px;
  }

  .apps-stage {
    gap: 16px;
  }

  /* Keep twin fan — never stack (avoids one giant phone + empty scroll) */
  .apps-phones {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    max-width: 100%;
  }

  .phone-ios {
    transform: rotate(-6deg) translate(10px, 4px);
    animation-name: apps-float-ios-sm;
  }

  .phone-android {
    transform: rotate(6deg) translate(-10px, 4px);
    animation-name: apps-float-android-sm;
  }

  .phone-bezel {
    width: min(132px, 42vw);
  }

  .apps-title {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
  }

  .apps-badges-top {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    gap: 8px;
  }

  .apps-badges-top .store-badge {
    flex: 1 1 0;
    width: auto;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: 8px 8px;
  }

  .apps-end {
    order: 4;
  }

  .apps-web-hint {
    margin-top: 0.35rem;
    font-size: 0.85rem;
  }

  @keyframes apps-float-ios-sm {
    0%, 100% { transform: rotate(-6deg) translate(10px, 4px); }
    50% { transform: rotate(-6deg) translate(10px, -6px); }
  }

  @keyframes apps-float-android-sm {
    0%, 100% { transform: rotate(6deg) translate(-10px, 4px); }
    50% { transform: rotate(6deg) translate(-10px, -4px); }
  }

  .made-sticky {
    height: auto;
    min-height: 0;
    gap: 8px;
    padding: calc(var(--nav-h) + 8px) 0 12px;
  }

  .made-pin {
    height: auto;
  }

  .made-title {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
  }

  .made-stage {
    height: min(32vh, 210px);
    margin-top: 0;
  }

  .made-cylinder {
    width: min(220px, 68vw);
    height: min(145px, 22vh);
  }

  .made-sticky .mobile-app-cta {
    padding-top: 4px;
    padding-bottom: 0;
  }

  .compare-mobile {
    gap: 12px;
  }

  .compare-factor__title {
    font-size: 0.92rem;
  }

  .compare-factor__row {
    font-size: 0.82rem;
    padding: 10px 12px;
  }

  .compare-factor__icon {
    width: 32px;
    height: 32px;
  }

  .btn-primary {
    min-height: 48px;
    padding: 0 20px;
    font-size: 15px;
  }
}

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

  .phone-ios,
  .phone-android {
    animation: none !important;
  }
}

/* Dark-mode polish */
:root[data-theme="dark"] .partner-logo {
  filter: brightness(0) invert(1);
  opacity: 0.72;
}

:root[data-theme="dark"] .partner-logo:hover {
  filter: brightness(0) invert(1);
  opacity: 1;
}

:root[data-theme="dark"] .dropdown-menu,
:root[data-theme="dark"] .theme-chip.is-active {
  box-shadow: 0 12px 32px var(--shadow);
}

:root[data-theme="dark"] .compare-cell {
  border-bottom-color: var(--line);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .partner-logo {
    filter: brightness(0) invert(1);
    opacity: 0.72;
  }

  :root:not([data-theme="light"]) .partner-logo:hover {
    filter: brightness(0) invert(1);
    opacity: 1;
  }

  :root:not([data-theme="light"]) .section-eyebrow img,
  :root:not([data-theme="light"]) .process-icon {
    filter: brightness(0) invert(1);
  }

  :root:not([data-theme="light"]) .compare-cell {
    border-bottom-color: var(--line);
  }
}

/* reCAPTCHA is rendered explicitly (landingv2/js/recaptcha-theme.js) so the widget
 * theme follows the page. Lives here rather than pages.css because the report-abuse
 * modal ships in the layout, i.e. on every page including the index. */
.lv-recaptcha {
  min-height: 78px;
}

.lv-recaptcha > div {
  border-radius: 4px;
  overflow: hidden;
}

/* The widget is a fixed 304px; scale it down rather than overflow narrow phones. */
@media (max-width: 360px) {
  .lv-recaptcha {
    min-height: 68px;
    transform: scale(0.87);
    transform-origin: left top;
  }
}

/* LocationIQ geocoder ("Locate on map" search box) — vendor widget ships with
   hardcoded white/near-black colors, invisible against the dark modal. */
:root[data-theme="dark"] .leaflet-locationiq-control,
:root[data-theme="dark"] .leaflet-locationiq-control.leaflet-locationiq-expanded {
  background-color: var(--elevated) !important;
  border: 1px solid var(--line);
}

:root[data-theme="dark"] .leaflet-locationiq-input {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  background-color: transparent !important;
}

:root[data-theme="dark"] .leaflet-locationiq-input::placeholder {
  color: var(--muted);
  opacity: 1;
}

:root[data-theme="dark"] .leaflet-locationiq-close {
  color: var(--muted) !important;
  background-color: transparent !important;
}

:root[data-theme="dark"] .leaflet-locationiq-results {
  background: var(--elevated) !important;
  border: 1px solid var(--line);
}

:root[data-theme="dark"] .leaflet-locationiq-results .leaflet-locationiq-result {
  background-color: var(--elevated) !important;
  color: var(--ink) !important;
  border-top-color: var(--line);
}

:root[data-theme="dark"] .leaflet-locationiq-results .leaflet-locationiq-result .name {
  color: var(--ink) !important;
}

:root[data-theme="dark"] .leaflet-locationiq-results .leaflet-locationiq-result .address {
  color: var(--muted) !important;
}

:root[data-theme="dark"] .leaflet-locationiq-results .leaflet-locationiq-result:hover,
:root[data-theme="dark"] .leaflet-locationiq-results .leaflet-locationiq-result.leaflet-locationiq-selected,
:root[data-theme="dark"] .leaflet-locationiq-results .leaflet-locationiq-result.leaflet-locationiq-selected:hover {
  background-color: rgba(139, 108, 255, 0.18) !important;
  border-color: rgba(139, 108, 255, 0.18);
}

:root[data-theme="dark"] .leaflet-locationiq-message {
  background-color: var(--elevated) !important;
  color: var(--ink);
}
