/* GENERATED by brand/export-tokens.js from 01-mobile-app-react-native/src/theme/tokens.json (2.0.0-kaya-pass1) — do not edit. */
:root {
  --color-brand-teal500: #14B8A6;
  --color-brand-markHighlight: #22C9B0;
  --color-brand-teal400: #3EDDBF;
  --color-brand-teal600: #0FA99A;
  --color-brand-tealDeep: #0D7D8F;
  --color-brand-teal700: #0B8A7E;
  --color-brand-tealLight: #3EDDBF;
  --color-brand-tealTint: #C4F0E8;
  --color-brand-tealMist: #E8F9F5;
  --color-brand-tealOnDark: #3EDDBF;
  --color-brand-navy900: #061C38;
  --color-brand-navy800: #0A2D56;
  --color-brand-navy700: #143E73;
  --color-brand-navyDeep: #0D7D8F;
  --color-brand-profileHeaderTop: #143E73;
  --color-brand-profileHeaderBottom: #061C38;
  --color-neutral-0: #FFFFFF;
  --color-neutral-100: #EDF1F4;
  --color-neutral-150: #E9EFF1;
  --color-neutral-200: #E6ECEE;
  --color-neutral-250: #DFE5EA;
  --color-neutral-300: #C7D0D9;
  --color-neutral-400: #AFB1B6;
  --color-neutral-500: #898989;
  --color-neutral-600: #61646B;
  --color-neutral-canvas: #F6F9FA;
  --color-neutral-figmaBackground: #FAFAFA;
  --color-neutral-black: #000000;
  --color-semantic-success: #2E8B6F;
  --color-semantic-successBg: #E6F2EE;
  --color-semantic-warning: #A9713C;
  --color-semantic-warningBg: #F6EEE6;
  --color-semantic-warningBorder: #E7D3BC;
  --color-semantic-warningText: #6B4520;
  --color-semantic-danger: #AE4038;
  --color-semantic-dangerBg: #F8EAE8;
  --color-semantic-dangerBorder: #EAC9C6;
  --color-semantic-dangerText: #7A2B25;
  --color-semantic-info: #14B8A6;
  --color-semantic-infoBg: #E8F9F5;
  --color-text-primary: #061C38;
  --color-text-secondary: #61646B;
  --color-text-tertiary: #898989;
  --color-text-disabled: #AFB1B6;
  --color-text-inverse: #FFFFFF;
  --color-text-inverseSub: rgba(255,255,255,0.72);
  --color-text-inverseFaint: rgba(255,255,255,0.45);
  --color-text-brand: #0D7D8F;
  --color-text-link: #0D7D8F;
  --color-text-linkHover: #0FA99A;
  --color-text-onDarkAccent: #3EDDBF;
  --color-text-muted: #5B6B7F;
  --color-surface-base: #FFFFFF;
  --color-surface-canvas: #F6F8FB;
  --color-surface-sunken: #E9EFF1;
  --color-surface-glassLight: rgba(255,255,255,0.92);
  --color-surface-glassOnPhoto: rgba(255,255,255,0.18);
  --color-surface-glassOnDark: rgba(255,255,255,0.10);
  --color-surface-glassOnDarkBorder: rgba(255,255,255,0.14);
  --color-surface-scrimTop: rgba(6,28,56,0.35);
  --color-surface-scrimBottom: rgba(6,28,56,0.85);
  --color-surface-pillOnPhoto: rgba(6,28,56,0.55);
  --color-surface-bg: #F6F8FB;
  --color-border-subtle: #EDF1F3;
  --color-border-default: #E6ECEE;
  --color-border-input: #DFE5EA;
  --color-border-strong: #C7D0D9;
  --color-border-focus: #14B8A6;
  --color-border-onDark: rgba(255,255,255,0.14);
  --color-border-onPhoto: rgba(255,255,255,0.35);
  --color-accent-blue: #1B55B3;
  --color-accent-blueLight: #3B8DF0;
  --color-accent-blueSky: #60B5F7;
  --font-ui: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  --type-displayLarge-size: 64px;
  --type-displayLarge-line: 72px;
  --type-displayLarge-weight: 400;
  --type-displayLarge-tracking: 0px;
  --type-displayMedium-size: 48px;
  --type-displayMedium-line: 56px;
  --type-displayMedium-weight: 400;
  --type-displayMedium-tracking: 0px;
  --type-displaySmall-size: 40px;
  --type-displaySmall-line: 48px;
  --type-displaySmall-weight: 400;
  --type-displaySmall-tracking: 0px;
  --type-headlineLarge-size: 28px;
  --type-headlineLarge-line: 33px;
  --type-headlineLarge-weight: 600;
  --type-headlineLarge-tracking: -0.5px;
  --type-headlineMedium-size: 24px;
  --type-headlineMedium-line: 32px;
  --type-headlineMedium-weight: 700;
  --type-headlineMedium-tracking: 0.6px;
  --type-headlineSmall-size: 22px;
  --type-headlineSmall-line: 28px;
  --type-headlineSmall-weight: 600;
  --type-headlineSmall-tracking: -0.3px;
  --type-screenTitle-size: 22px;
  --type-screenTitle-line: 28px;
  --type-screenTitle-weight: 400;
  --type-screenTitle-tracking: 0px;
  --type-titleLarge-size: 20px;
  --type-titleLarge-line: 26px;
  --type-titleLarge-weight: 600;
  --type-titleLarge-tracking: -0.3px;
  --type-titleMedium-size: 18px;
  --type-titleMedium-line: 24px;
  --type-titleMedium-weight: 600;
  --type-titleMedium-tracking: 0px;
  --type-titleSmall-size: 17px;
  --type-titleSmall-line: 22px;
  --type-titleSmall-weight: 600;
  --type-titleSmall-tracking: 0px;
  --type-bodyLarge-size: 16px;
  --type-bodyLarge-line: 24px;
  --type-bodyLarge-weight: 400;
  --type-bodyLarge-tracking: 0px;
  --type-bodyMedium-size: 15px;
  --type-bodyMedium-line: 23px;
  --type-bodyMedium-weight: 400;
  --type-bodyMedium-tracking: 0px;
  --type-bodySmall-size: 14px;
  --type-bodySmall-line: 21px;
  --type-bodySmall-weight: 400;
  --type-bodySmall-tracking: 0px;
  --type-labelLarge-size: 15px;
  --type-labelLarge-line: 20px;
  --type-labelLarge-weight: 600;
  --type-labelLarge-tracking: 0px;
  --type-labelMedium-size: 13px;
  --type-labelMedium-line: 17px;
  --type-labelMedium-weight: 600;
  --type-labelMedium-tracking: 0px;
  --type-labelSmall-size: 12px;
  --type-labelSmall-line: 16px;
  --type-labelSmall-weight: 600;
  --type-labelSmall-tracking: 0px;
  --type-caption-size: 12px;
  --type-caption-line: 18px;
  --type-caption-weight: 400;
  --type-caption-tracking: 0px;
  --type-captionSmall-size: 11px;
  --type-captionSmall-line: 15px;
  --type-captionSmall-weight: 400;
  --type-captionSmall-tracking: 0px;
  --type-overline-size: 11px;
  --type-overline-line: 14px;
  --type-overline-weight: 700;
  --type-overline-tracking: 1.4px;
  --type-fieldLabel-size: 10px;
  --type-fieldLabel-line: 12px;
  --type-fieldLabel-weight: 600;
  --type-fieldLabel-tracking: 0.6px;
  --type-tabLabel-size: 11px;
  --type-tabLabel-line: 14px;
  --type-tabLabel-weight: 500;
  --type-tabLabel-tracking: 0px;
  --type-statusBar-size: 15px;
  --type-statusBar-line: 20px;
  --type-statusBar-weight: 600;
  --type-statusBar-tracking: 0px;
  --radius-xs: 6px;
  --radius-sm: 9px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --radius-2xl: 18px;
  --radius-card: 20px;
  --radius-cardLg: 22px;
  --radius-hero: 24px;
  --radius-heroLg: 26px;
  --radius-sheet: 28px;
  --radius-pill: 999px;
  --radius-device: 44px;
  --radius-bubbleTight: 6px;
  --radius-bubble: 20px;
  --radius-iconTile: 13px;
  --radius-iconTileLg: 14px;
  --radius-thumb: 16px;
  --space-1: 2px;
  --space-2: 4px;
  --space-3: 6px;
  --space-4: 8px;
  --space-5: 10px;
  --space-6: 12px;
  --space-7: 14px;
  --space-8: 16px;
  --space-9: 18px;
  --space-10: 20px;
  --space-11: 24px;
  --space-12: 28px;
  --space-13: 32px;
  --space-14: 36px;
  --space-15: 40px;
  --space-16: 44px;
  --space-17: 48px;
  --space-18: 56px;
  --space-19: 64px;
  --space-screenPadding: 20px;
  --space-cardPadding: 16px;
  --space-cardPaddingLg: 18px;
  --space-sectionGap: 16px;
  --space-rowGap: 10px;
  --space-chipGap: 8px;
  --space-statusBarHeight: 54px;
  --space-navBarHeight: 52px;
  --space-tabBarHeight: 84px;
  --gradient-kayaGround: linear-gradient(180deg, #061C38 0%, #0A2D56 58%, #0D7D8F 100%);
  --gradient-kayaAura: linear-gradient(135deg, #3EDDBF 0%, #14B8A6 100%);
  --gradient-kayaBand: linear-gradient(135deg, #0A2D56 0%, #14B8A6 100%);
  --gradient-heroNavyTeal: linear-gradient(150deg, #061C38 0%, #143E73 55%, #14B8A6 100%);
  --gradient-primaryButton: linear-gradient(135deg, #13C4B0 0%, #14B8A6 100%);
  --gradient-profileHeader: linear-gradient(180deg, #143E73 0%, #061C38 100%);
  --gradient-photoScrim: linear-gradient(180deg, rgba(6,30,58,0.35) 0%, rgba(6,30,58,0) 30%, rgba(6,30,58,0.85) 100%);
  --gradient-cardScrim: linear-gradient(180deg, rgba(6,30,58,0) 30%, rgba(6,30,58,0.75) 100%);
  --gradient-photoPlaceholder: linear-gradient(160deg, #C1DFE2 0%, #7FB6BC 60%, #143E73 100%);
  --gradient-kayaHalo: linear-gradient(180deg, rgba(52,162,174,0.45) 0%, rgba(52,162,174,0) 70%);
  --shadow-cardSoft: 0px 0px 0px rgba(6,30,58,0.18);
  --shadow-card: 0px 0px 0px rgba(6,30,58,0.22);
  --shadow-cardRaised: 0px 0px 0px rgba(6,30,58,0.25);
  --shadow-hero: 0px 0px 0px rgba(6,30,58,0.50);
  --shadow-heroDark: 0px 0px 0px rgba(6,30,58,0.60);
  --shadow-device: 0px 0px 0px rgba(6,30,58,0.35);
  --shadow-kayaGlow: 0px 0px 0px rgba(52,162,174,0.70);
  --shadow-kayaFab: 0px 0px 0px rgba(34,106,114,0.75);
  --shadow-primaryBtn: 0px 0px 0px rgba(34,106,114,0.70);
  --shadow-segmentThumb: 0px 0px 0px rgba(6,30,58,0.18);
  --shadow-focusRing: 0px 0px 0px rgba(34,106,114,0.12);
  --shadow-proposalCardOnDark: 0px 0px 0px rgba(6,30,58,0.60);
}

/* ivacay.co — one stylesheet. Tokens from brand/README.md (teal/navy, Plus Jakarta Sans). */
:root {
  /* Aliases over the exported app tokens (brand/tokens.css is prepended at build time by 04-website/build.js). */
  --teal-400: var(--color-brand-teal400);
  --teal-500: var(--color-brand-teal500);
  --teal-600: var(--color-brand-teal600);
  --teal-700: var(--color-brand-teal700);
  --teal-deep: var(--color-brand-tealDeep);
  --teal-tint: var(--color-brand-tealTint);
  --teal-mist: var(--color-brand-tealMist);
  --mark: var(--color-brand-markHighlight);
  --navy-900: var(--color-brand-navy900);
  --navy-800: var(--color-brand-navy800);
  --navy-700: var(--color-brand-navy700);
  --blue: var(--color-accent-blue);
  --blue-light: var(--color-accent-blueLight);
  --blue-sky: var(--color-accent-blueSky);
  --text: var(--color-text-primary);
  --text-2: var(--color-text-secondary);
  --text-3: var(--color-text-tertiary);
  --muted: var(--color-text-muted);
  --inverse: var(--color-text-inverse);
  --surface: var(--color-surface-base);
  --canvas: var(--color-surface-canvas);
  --sunken: var(--color-surface-sunken);
  --line: var(--color-border-default);
  --line-subtle: var(--color-border-subtle);
  --line-strong: var(--color-border-strong);
  --cta: var(--gradient-primaryButton);
  --sans: var(--font-ui);
  /* --radius-pill is NOT aliased here: brand/tokens.css (prepended above) already defines it
     under this exact name. Re-declaring --radius-pill:var(--radius-pill) here (as this line
     once did) is a self-reference — CSS computes that to its guaranteed-invalid value, which
     silently broke border-radius:var(--radius-pill) on every .btn/pill that had no more specific
     radius override, sitewide, including the header's "Plan with Kaya" button. */
  --radius-lg: var(--radius-hero);
  --radius-md: var(--radius-xl);
  --radius-sm: var(--radius-md);
  --shadow-card: 0 10px 30px rgba(6, 28, 56, 0.08);
  --shadow-soft: 0 2px 12px rgba(6, 28, 56, 0.06);
  --wrap: 1180px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* scroll-behavior:smooth on the root breaks the browser's own scroll-to-#fragment on page load
   (confirmed: with it, a link to /#kaya lands at the top; with auto, it lands correctly, on this
   page and every page long enough to still be loading/reflowing when the browser tries to land
   on the target). Anchor links must actually work, so this stays auto sitewide. */
html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  font-weight: 500;
  background: var(--canvas);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
/* A live provider's photo can 404 after the page renders (site.js clears src/alt on load error
   rather than leaving the browser's broken-image glyph): the slot keeps its size and gets this
   gradient instead of a hole or an ugly icon, wherever in the page it happens. */
img.img-fallback {
  background: linear-gradient(160deg, var(--teal-mist), var(--canvas));
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--text);
}
h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
}
h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}
h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}
p {
  color: var(--text-2);
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 14px;
}
.accent {
  color: var(--teal-500);
}
.accent-blue {
  color: var(--blue-light);
}
.lede {
  font-size: 1.15rem;
  max-width: 640px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy-900);
  color: var(--color-surface-base);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--cta);
  color: var(--color-surface-base);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.32);
}
.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(20, 184, 166, 0.4);
}
.btn-navy {
  background: var(--navy-900);
  color: var(--color-surface-base);
}
.btn-ghost {
  border: 1.5px solid var(--line-strong);
  color: var(--text);
}
.btn-ghost.on-dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--color-surface-base);
}
.btn-ghost.on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
}
.btn-sm {
  padding: 10px 18px;
  font-size: 0.92rem;
}

/* App Store badge: black pill with the Apple mark; the caption reads the channel. */
/* Apple's own badge artwork (src/assets/app-store-badge.svg, from tools.applemediaservices.com,
   Apple's official badge generator): self-contained black pill + logo + wordmark, so this only
   sizes and spaces it. Height 48px clears Apple's 40px onscreen minimum; the 12px gap to the
   caption below is Apple's minimum clear space (one-quarter the badge height). */
.store {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.store-badge {
  display: block;
  height: 48px;
  width: auto;
  transition: transform 0.15s ease;
}
.store-badge:hover {
  transform: translateY(-1px);
}
.store-caption {
  font-size: 0.78rem;
  color: var(--text-3);
}
.on-dark .store-caption {
  color: rgba(255, 255, 255, 0.65);
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: flex-start;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
  color: var(--navy-900);
}
.brand svg {
  height: 34px;
  width: auto;
}
.on-dark .brand {
  color: var(--color-surface-base);
}
.header:not(.scrolled).on-dark .brand {
  color: var(--color-surface-base);
}
.header.scrolled .brand {
  color: var(--navy-900);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-900);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--teal-500);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-links a:hover::after {
  width: 100%;
}
.header:not(.scrolled).on-dark .nav-links a {
  color: var(--color-surface-base);
}
.nav-cta {
  margin-left: 6px;
}
/* The header's link rule (padding 4px 0, hover underline) outranks .btn-sm; the CTA is a button. */
.nav-links a.nav-cta {
  padding: 10px 18px;
}
.nav-links a.nav-cta::after {
  display: none;
}
.header:not(.scrolled).on-dark .nav-links a.nav-cta {
  background: var(--color-surface-base);
  color: var(--navy-900);
  box-shadow: none;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger i {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.header:not(.scrolled).on-dark .burger {
  color: var(--color-surface-base);
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-900);
  z-index: 49;
  padding: 96px 28px 28px;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  color: var(--color-surface-base);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu .store {
  margin-top: 24px;
}
body.menu-open {
  overflow: hidden;
}
body.menu-open .burger i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.menu-open .burger i:nth-child(2) {
  opacity: 0;
}
body.menu-open .burger i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
body.menu-open .header {
  background: transparent;
  box-shadow: none;
}
body.menu-open .burger,
body.menu-open .brand {
  color: var(--color-surface-base) !important;
}

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(20, 184, 166, 0.35), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(27, 85, 179, 0.45), transparent 60%),
    linear-gradient(160deg, var(--color-brand-navy900) 0%, var(--color-brand-navy800) 55%, var(--color-brand-navy700) 100%);
  color: var(--color-surface-base);
  padding: 150px 0 0;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}
.hero h1 {
  color: var(--color-surface-base);
}
.hero .lede {
  color: rgba(255, 255, 255, 0.8);
}
.hero-copy {
  padding-bottom: 96px;
}
.hero-line {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-400);
  margin: 18px 0 12px;
  letter-spacing: -0.01em;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: center;
  margin-top: 30px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--teal-400);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-phone {
  position: relative;
  align-self: end;
  justify-self: center;
  width: min(420px, 88vw);
}
.hero-phone img {
  width: 100%;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.35);
}
.hero-phone::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(6, 28, 56, 0) 40%, rgba(6, 28, 56, 0.55));
}
.hero-badge {
  position: absolute;
  left: -28px;
  top: 38%;
  background: var(--color-surface-base);
  color: var(--navy-900);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 250px;
}
.hero-badge i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--teal-mist);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.hero-badge svg {
  width: 18px;
  height: 18px;
  stroke: var(--teal-deep);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-badge small {
  display: block;
  font-weight: 500;
  color: var(--text-2);
}

/* Sections */
.section {
  padding: 96px 0;
}
.section-tight {
  padding: 64px 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head p {
  margin-top: 16px;
  font-size: 1.08rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line-subtle);
}
.card h3 {
  margin: 18px 0 8px;
}
.card p {
  font-size: 0.98rem;
}
.tile {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-mist);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tile svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal-deep);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile.navy {
  background: var(--navy-900);
}
.tile.navy svg {
  stroke: var(--teal-400);
}
.step {
  counter-increment: step;
  position: relative;
}
.step .num {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--teal-deep);
}

/* Screens strip */
.screens {
  background: var(--surface);
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
}
.screens-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 24px 28px;
  margin: 0 -24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.screens-track::-webkit-scrollbar {
  height: 6px;
}
.screens-track::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 3px;
}
.screen {
  flex: 0 0 250px;
  scroll-snap-align: start;
}
.screen img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  background: var(--sunken);
}
.screen figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.screen figcaption small {
  display: block;
  font-weight: 500;
  color: var(--text-2);
}

/* Feature list */
.checks {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
  font-weight: 600;
}
.checks li svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  stroke: var(--teal-500);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.checks li span {
  font-weight: 500;
  color: var(--text-2);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split .phone {
  justify-self: center;
  width: min(360px, 80vw);
}
.split .phone img {
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

/* Guides */
.guides {
  background: var(--navy-900);
  color: var(--color-surface-base);
}
.guides h2,
.guides h3 {
  color: var(--color-surface-base);
}
.guides p {
  color: rgba(255, 255, 255, 0.72);
}
.guides .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.guides .tile {
  background: rgba(62, 221, 191, 0.14);
}
.guides .tile svg {
  stroke: var(--teal-400);
}
.guides .checks li {
  color: var(--color-surface-base);
}
.guides .checks li span {
  color: rgba(255, 255, 255, 0.72);
}

/* Destinations */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.dest {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sunken);
  grid-column: span 2;
}
.dest.wide {
  grid-column: span 3;
}
.dest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.dest:hover img {
  transform: scale(1.04);
}
.dest .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, transparent, rgba(6, 28, 56, 0.85));
  color: var(--color-surface-base);
}
.dest .cap small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.dest .cap b {
  font-size: 1.15rem;
  font-weight: 800;
}
.dest .cap span {
  display: block;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Moods */
.moods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mood {
  border-radius: var(--radius-lg);
  padding: 26px;
  color: var(--color-surface-base);
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.mood b {
  font-size: 1.15rem;
  font-weight: 800;
}
.mood span {
  font-size: 0.9rem;
  opacity: 0.85;
}
.mood-1 {
  background: linear-gradient(160deg, var(--color-brand-tealDeep), var(--color-brand-teal500));
}
.mood-2 {
  background: linear-gradient(160deg, var(--color-brand-navy700), var(--color-accent-blue));
}
.mood-3 {
  background: linear-gradient(160deg, var(--color-brand-navy800), var(--color-accent-blueLight));
}
.mood-4 {
  background: linear-gradient(160deg, var(--color-brand-navy900), var(--color-brand-tealDeep));
}

/* Story + founder */
.story {
  background: var(--surface);
}
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}
.quote {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.01em;
}
.founder {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--canvas);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.founder .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(135deg, var(--color-brand-tealDeep), var(--color-brand-teal500));
  color: var(--color-surface-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  overflow: hidden;
}
.founder .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder b {
  display: block;
  font-size: 1.05rem;
}
.founder small {
  display: block;
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.founder p {
  font-size: 0.92rem;
}
.prose {
  max-width: 720px;
}
.prose h2 {
  margin: 56px 0 18px;
  font-size: 1.7rem;
}
.prose h3 {
  margin: 36px 0 12px;
}
.prose p {
  margin: 0 0 18px;
  font-size: 1.05rem;
}
.prose ul,
.prose ol {
  margin: 0 0 18px 22px;
  color: var(--text-2);
}
.prose li {
  margin-bottom: 8px;
}
.prose .lead {
  font-size: 1.25rem;
  color: var(--text);
}
.page-head {
  padding: 150px 0 40px;
}
.page-head p {
  margin-top: 14px;
}
.legal .prose h2 {
  font-size: 1.35rem;
  margin-top: 40px;
}
.legal-meta {
  font-size: 0.9rem;
  color: var(--text-3);
}

/* Download banner */
.banner {
  background: radial-gradient(800px 400px at 90% 0%, rgba(62, 221, 191, 0.3), transparent 60%),
    linear-gradient(140deg, var(--color-brand-navy800), var(--color-brand-navy900));
  color: var(--color-surface-base);
  border-radius: 32px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.banner h2 {
  color: var(--color-surface-base);
}
.banner p {
  color: rgba(255, 255, 255, 0.75);
}
.banner .phone {
  justify-self: end;
  width: min(280px, 70vw);
}
.banner .phone img {
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  color: var(--text-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer h4 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}
.footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer a:hover {
  color: var(--teal-deep);
}
.footer .brand {
  margin-bottom: 12px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-subtle);
  margin-top: 44px;
  padding-top: 22px;
  font-size: 0.85rem;
  color: var(--text-3);
}

/* Invite landing */
.invite {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
}
.invite-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 20px 48px;
}
.invite-card {
  background: var(--surface);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--line-subtle);
}
.invite-avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--teal-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 0 6px var(--surface), 0 0 0 8px var(--teal-tint);
}
.invite-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.invite-avatar svg {
  width: 44px;
  height: 44px;
  stroke: var(--teal-500);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.invite-card h1 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0 0 10px;
}
.invite-card .lede {
  font-size: 1rem;
  margin: 0 auto 26px;
}
.invite-actions {
  display: grid;
  gap: 14px;
  justify-items: center;
}
.invite-actions .btn {
  width: 100%;
  max-width: 320px;
}
.invite-meta {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--text-3);
}
.invite-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--text);
}
.invite-steps {
  margin: 26px auto 0;
  text-align: left;
  max-width: 320px;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-2);
}
.invite-steps li {
  display: flex;
  gap: 10px;
}
.invite-steps b {
  color: var(--teal-deep);
  font-weight: 800;
  flex: none;
}
.invite-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.invite-state.ok {
  background: var(--teal-mist);
  color: var(--teal-deep);
}
.invite-state.bad {
  background: var(--color-semantic-dangerBg);
  color: var(--color-semantic-danger);
}
.invite-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-3);
}
.invite-note a {
  color: var(--teal-deep);
  font-weight: 700;
}

/* 404 */
.notfound {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
}

@media (max-width: 980px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding-bottom: 40px;
  }
  .hero-phone {
    margin-top: 10px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .dest-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .dest,
  .dest.wide {
    grid-column: span 1;
  }
  .moods {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .banner {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }
  .banner .phone {
    justify-self: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  .hero {
    padding-top: 120px;
  }
  .hero-badge {
    display: none;
  }
  .section {
    padding: 64px 0;
  }
  .moods {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .invite-card {
    padding: 32px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ── Search lanes (same endpoints as the app, guest session) ── */
.lanes {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line-subtle);
  padding: 22px;
  margin-top: -56px;
  position: relative;
  z-index: 2;
}
.lane-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.lane-tabs button {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-2);
  background: var(--canvas);
}
.lane-tabs button.on {
  background: var(--navy-900);
  color: var(--color-surface-base);
}
.lane-form {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  align-items: end;
}
.lane-form label {
  display: grid;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lane-form input,
.lane-form select,
.lane-form textarea {
  font: inherit;
  font-size: 0.98rem;
  padding: 12px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  min-width: 0;
}
.lane-form input:focus,
.lane-form select:focus,
.lane-form textarea:focus {
  border-color: var(--teal-500);
  outline: none;
}
.lane-form .btn {
  height: 46px;
}
.lane-form label.lane-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  text-transform: none;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-2);
}
.lane-form label.lane-check input {
  width: auto;
  padding: 0;
}
.lane-form.smart {
  grid-template-columns: 1fr auto;
}
.lane-form textarea {
  resize: vertical;
  min-height: 46px;
}
.lane-results {
  margin-top: 18px;
}
.lane-meta {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: 12px;
}
.lane-note {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 10px;
}
.lane-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lane-card {
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}
.lane-card img,
.lane-nophoto {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--sunken);
}
.lane-body {
  padding: 14px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.lane-body h3 {
  font-size: 1.02rem;
  line-height: 1.25;
}
.lane-sub {
  font-size: 0.85rem;
  color: var(--text-2);
}
.lane-desc {
  font-size: 0.85rem;
  color: var(--text-2);
}
.lane-price {
  font-size: 0.95rem;
  color: var(--text);
}
.lane-price b {
  color: var(--teal-deep);
}
.lane-body .btn {
  justify-self: start;
  margin-top: 4px;
}
.lane-list {
  display: grid;
  gap: 10px;
}
.lane-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.lane-row-main {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.lane-row-main b {
  display: block;
}
.lane-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.lane-row-side {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: none;
}
.lane-row-side b {
  font-size: 1.1rem;
  color: var(--teal-deep);
}
.lane-empty {
  background: var(--canvas);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  display: grid;
  gap: 4px;
}
.lane-empty span {
  font-size: 0.9rem;
  color: var(--text-2);
}
.chat-thread {
  display: grid;
  gap: 10px;
  max-height: 460px;
  overflow: auto;
  padding: 4px 2px;
}
.chat {
  padding: 12px 16px;
  border-radius: 18px;
  max-width: 80%;
  font-size: 0.98rem;
  line-height: 1.5;
}
.chat.you {
  background: var(--navy-900);
  color: var(--color-surface-base);
  justify-self: end;
  border-bottom-right-radius: 6px;
}
.chat.kaya {
  background: var(--teal-mist);
  color: var(--text);
  justify-self: start;
  border-bottom-left-radius: 6px;
}
.chat.kaya.err {
  background: var(--color-semantic-dangerBg);
  color: var(--color-semantic-danger);
}
.chat.kaya.status {
  opacity: 0.72;
  font-style: italic;
}
.chat.kaya.status::after {
  content: '';
  display: inline-block;
  width: 1.2em;
  text-align: left;
  animation: lane-dots 1.2s steps(4, end) infinite;
}
@keyframes lane-dots {
  0% {
    content: '';
  }
  25% {
    content: '.';
  }
  50% {
    content: '..';
  }
  75% {
    content: '...';
  }
}
.proposal {
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  gap: 10px;
}
.proposal header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.proposal header b {
  font-size: 1.15rem;
  color: var(--teal-deep);
}
.proposal ul {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
}
.proposal li {
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.proposal li em {
  margin-left: auto;
  font-style: normal;
  color: var(--text-2);
}
.proposal-kind {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-mist);
  padding: 2px 8px;
  border-radius: 999px;
}
.proposal footer {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  margin-top: 34px;
}
.stat b {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-surface-base);
}
.stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}
.demo-chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--color-semantic-warningBg);
  color: var(--color-semantic-warningText);
  margin-left: 8px;
  vertical-align: middle;
}
.dest-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  color: var(--color-surface-base);
  background: var(--navy-900);
}
.dest-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dest-hero .wrap {
  position: relative;
  padding-top: 160px;
  padding-bottom: 48px;
  width: 100%;
}
.dest-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 28, 56, 0.35), rgba(6, 28, 56, 0.15) 40%, rgba(6, 28, 56, 0.85));
}
.dest-hero h1 {
  color: var(--color-surface-base);
}
.dest-hero .lede {
  color: rgba(255, 255, 255, 0.85);
}
.stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.story-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-subtle);
}
.story-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.story-card div {
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--text-2);
}
.story-card b {
  display: block;
  color: var(--text);
}
.form {
  display: grid;
  gap: 14px;
  max-width: 640px;
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}
.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--teal-500);
  outline: none;
}
.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.form .chips label {
  flex-direction: row;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}
.form .chips input {
  width: auto;
}
.form .hint {
  font-size: 0.82rem;
  color: var(--text-3);
  font-weight: 500;
}
.form-status {
  border-radius: var(--radius-md);
  padding: 14px 16px;
  background: var(--teal-mist);
  color: var(--teal-deep);
  font-weight: 600;
}
.form-status.err {
  background: var(--color-semantic-dangerBg);
  color: var(--color-semantic-danger);
}
.steps-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.steps-progress span {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--canvas);
  color: var(--text-3);
}
.steps-progress span.on {
  background: var(--navy-900);
  color: var(--color-surface-base);
}
@media (max-width: 980px) {
  .lane-form {
    grid-template-columns: repeat(2, 1fr);
  }
  .lane-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stories {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .lanes {
    margin-top: 24px;
    padding: 16px;
  }
  .lane-form {
    grid-template-columns: 1fr;
  }
  .lane-form.smart {
    grid-template-columns: 1fr;
  }
  .lane-grid {
    grid-template-columns: 1fr;
  }
  .lane-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .stories {
    grid-template-columns: 1fr;
  }
  .form .row {
    grid-template-columns: 1fr;
  }
}

/* ── Kaya on the homepage: one input, answers stream in below ── */
.kaya-hero .hero-copy {
  padding-bottom: 72px;
}
.kaya-ask {
  margin-top: clamp(22px, 2.6vw, 34px);
  max-width: 640px;
}
.kaya-box {
  background: var(--color-surface-base);
  border-radius: 16px;
  padding: clamp(18px, 1.8vw, 24px);
  box-shadow: 0 18px 44px rgba(3, 18, 32, 0.28);
  border: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.kaya-ask.drop .kaya-box {
  border-color: var(--teal-500);
}
.kaya-box textarea {
  font: inherit;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.55;
  border: 0;
  outline: 0;
  resize: none;
  width: 100%;
  min-height: 44px;
  max-height: 220px;
  color: var(--text);
  background: transparent;
  padding: 0;
}
.kaya-box textarea::placeholder {
  color: var(--color-neutral-500);
}
.kaya-tools {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: clamp(16px, 1.6vw, 22px);
}
.kaya-tools .btn {
  margin-left: auto;
  background: var(--color-brand-teal500);
  border-radius: 9px;
  padding: 14px clamp(24px, 2.4vw, 34px);
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 19px);
  box-shadow: none;
}
.kaya-tools .btn:hover {
  background: var(--color-brand-teal600);
  box-shadow: none;
}
.kaya-tool {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-teal500);
  background: var(--color-brand-tealMist);
  transition: background 0.15s ease;
}
.kaya-tool:hover {
  background: var(--color-brand-tealTint);
}
.kaya-tool.on {
  background: var(--color-semantic-danger);
  color: var(--color-surface-base);
  animation: kaya-pulse 1.2s ease-in-out infinite;
}
.kaya-tool svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes kaya-pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(180, 35, 24, 0.25);
  }
}
.kaya-hint {
  margin-top: clamp(14px, 1.5vw, 18px);
  font-size: clamp(13.5px, 1.25vw, 15.5px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
}
.kaya-hint [data-quota] {
  color: var(--color-brand-teal400);
  font-weight: 600;
}
.kaya-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 2.2vw, 28px);
  max-width: 640px;
}
.kaya-chips button {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--color-surface-base);
  font-size: 14.5px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.15s ease;
}
.kaya-chips button:hover {
  background: rgba(255, 255, 255, 0.16);
}
/* Homepage hero only (not /plan or /home-classic, which share .kaya-chips at the 640px card
   width): the row has the full width up to the badger to work with, so the four chips get room
   to sit on one line instead of matching the card. Padding trimmed slightly so all four fit
   before the badger's left edge at 1280 and 1440; gap and radius are untouched. */
.kh-hero-left .kaya-chips {
  max-width: 860px;
}
.kh-hero-left .kaya-chips button {
  padding: 12px 10px;
}

/* KAYA PLANNER (homepage only): a modal on desktop, full screen on mobile. [hidden] keeps it out
   of layout entirely; :not([hidden]) is needed because a plain .kh-planner{display:flex} would
   otherwise tie for specificity with the [hidden] UA rule and could win, showing it anyway. */
/* KAYA'S CONVERSATION PAGE (/plan, K01): full viewport, no site header or footer, its own
   header (logo + close back to /) instead, the thread filling the middle, composer pinned to
   the bottom. Same class names the planner modal (commit 3face13) had; laid out edge to edge on
   the page itself now rather than floating in a centered overlay panel, everything above
   .kh-planner-page deleted (the modal, its backdrop and the [hidden] toggle) since a real route
   replaces it, but the modal's actual dialog contents are reused as-is. */
body.kp-lock {
  overflow: hidden;
}
.kh-planner-page {
  position: relative;
  height: 100dvh;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.kh-planner-head,
.kh-planner-body,
.kh-planner-composer {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.kh-planner-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-subtle);
}
.kh-planner-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.kh-planner-brand svg {
  height: 26px;
  width: auto;
}
.kh-planner-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  background: var(--canvas);
  flex: none;
  transition: background 0.15s ease;
}
.kh-planner-close:hover {
  background: var(--sunken);
}
.kh-planner-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px;
}
.kh-planner-empty {
  max-width: 520px;
  margin: clamp(12px, 6vh, 56px) auto 0;
  text-align: center;
}
.kh-planner-empty .kh-h2 {
  font-size: clamp(24px, 3vw, 32px);
}
.kh-planner-lede {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 15.5px;
}
.kh-planner-body .kaya-chips {
  justify-content: center;
  margin-top: 26px;
  max-width: none;
}
.kh-planner-body .kaya-chips button {
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--canvas);
}
.kh-planner-body .kaya-chips button:hover {
  background: var(--sunken);
}
.kh-planner-body .kaya-thread {
  max-width: none;
  margin: 0;
}
.kh-collections-chips {
  margin-top: 20px;
  max-width: none;
}
.kh-collections-chips button {
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--canvas);
}
.kh-collections-chips button:hover {
  background: var(--sunken);
}
.kh-planner-composer {
  flex: 0 0 auto;
  border-top: 1px solid var(--line-subtle);
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: var(--surface);
}
.kh-planner-composer .kaya-box {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: 0;
}
.kh-planner-composer .kaya-hint {
  color: var(--text-3);
}
@media (max-width: 800px) {
  .kh-planner-head,
  .kh-planner-body,
  .kh-planner-composer {
    max-width: none;
  }
}
/* Retry / Change search / Notify me: a stalled provider is not a dead end. */
.chat-recover {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.kaya-results {
  background: var(--surface);
  border-bottom: 1px solid var(--line-subtle);
}
/* A real chat window: bounded height, its own scroll, the composer pinned to the bottom, so a
   reply arrives inside a contained panel instead of growing the whole page underneath the user. */
.kaya-chat {
  display: flex;
  flex-direction: column;
  max-width: 820px;
  margin: 0 auto;
  height: min(640px, 72vh);
  background: var(--surface);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.kaya-thread {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
  scroll-behavior: smooth;
}
.kaya-thread .chat {
  max-width: 88%;
}
.kaya-thread .chat.warn {
  background: var(--color-semantic-warningBg);
  color: var(--color-semantic-warningText);
}
.kaya-thread .chat.source {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--canvas);
  border: 1px solid var(--line-subtle);
}
.kaya-thread .chat.source img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  flex: none;
}
.kaya-thread .chat.source small {
  display: block;
  color: var(--text-3);
  font-size: 0.82rem;
}
.chat-actions {
  margin-top: 10px;
}
.you-shot {
  font-style: italic;
}
.kcard {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--surface);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.kcard-photo {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  background: var(--sunken);
}
.kcard-nophoto {
  background: linear-gradient(160deg, var(--teal-mist), var(--canvas));
}
.kcard-body {
  padding: 20px 22px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.kcard-body header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: start;
}
.kcard-body header .eyebrow {
  margin: 0;
  grid-column: 1;
}
.kcard-body header h3 {
  grid-column: 1;
  font-size: 1.2rem;
}
.kcard-body header b {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 1.45rem;
  color: var(--teal-deep);
  text-align: right;
  line-height: 1.05;
}
.kcard-body header b small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.kcard-host {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  color: var(--teal-deep);
  font-weight: 700;
}
.kcard-why {
  background: var(--teal-mist);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.92rem;
  color: var(--text);
}
.kcard-why span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 2px;
}
.kcard ul {
  list-style: none;
  display: grid;
  gap: 8px;
}
.kcard li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 0.92rem;
}
.kcard li b {
  display: block;
  font-weight: 700;
  color: var(--text);
}
.kcard li small {
  display: block;
  color: var(--text-2);
  font-size: 0.82rem;
  line-height: 1.35;
}
.kcard li em {
  font-style: normal;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.kcard-kind {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-mist);
  padding: 3px 8px;
  border-radius: 999px;
  min-width: 74px;
  text-align: center;
}
.kcard-missing,
.kcard-hold {
  font-size: 0.82rem;
  color: var(--text-3);
}
.kcard footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
}
.kaya-followup {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border-top: 1px solid var(--line-subtle);
  background: var(--surface);
  align-items: end;
}
.kaya-followup textarea {
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--canvas);
  resize: none;
  min-height: 46px;
  max-height: 120px;
}
.kaya-followup textarea:focus {
  border-color: var(--teal-500);
  outline: none;
}
.kaya-results .lane-note {
  max-width: 820px;
  margin: 10px auto 0;
}
.share-photo {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 18px;
  margin: 0 0 16px;
}
.share-card {
  max-width: 720px;
  text-align: left;
}
.share-card .invite-state {
  display: inline-block;
}
@media (max-width: 760px) {
  .kcard {
    grid-template-columns: 1fr;
  }
  .kcard-photo {
    min-height: 160px;
    max-height: 200px;
  }
  .kcard-body header {
    grid-template-columns: 1fr;
  }
  .kcard-body header b {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }
  .kaya-thread .chat {
    max-width: 100%;
  }
  .kaya-hero .hero-copy {
    padding-bottom: 32px;
  }
  /* The two-sentence placeholder wraps to 3 lines once the card is this narrow; min-height only
     covers 2, and the textarea's own grow() only runs on typed input (placeholder isn't
     "value"), clipping the third line until the visitor types. Give it room for 3 up front. */
  .kaya-box textarea {
    min-height: 74px;
  }
  /* On a phone the chat window should feel like the main thing on screen, not a sliver: most of
     the viewport, dvh so the address bar showing or hiding never clips the composer. */
  .kaya-chat {
    height: min(78dvh, 640px);
    border-radius: 16px;
  }
  .kaya-thread {
    padding: 14px;
  }
}

/* ── Homepage (kh- prefix): a bespoke build of the Kaya homepage design, scoped so it never
   touches the generic .hero/.wrap/.section classes /plan and every other page still rely on. ── */
.kh-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.4vw, 46px);
}
.kh-eyebrow {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(12px, 1.15vw, 15px);
  letter-spacing: 0.17em;
  color: var(--color-brand-teal400);
  text-transform: uppercase;
}
.kh-accent {
  color: var(--color-brand-teal400);
}
.kh-accent-deep {
  color: var(--color-brand-teal500);
}
.kh-h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(27px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-brand-navy900);
  margin: 0;
}

/* Hero */
.kh-hero {
  position: relative;
  background: var(--color-brand-navy900);
  color: var(--color-surface-base);
  overflow: hidden;
  padding-top: 150px;
}
.kh-hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 40%;
  overflow: hidden;
  /* Fade the photo in from its left edge; a hard edge showed through the scrim as a seam. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0, #000 30%);
}
.kh-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kh-hero-scrim-h {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    96deg,
    var(--color-brand-navy900) 0%,
    rgba(7, 34, 58, 0.985) 26%,
    rgba(7, 34, 58, 0.88) 40%,
    rgba(7, 34, 58, 0.42) 58%,
    rgba(7, 34, 58, 0.1) 74%,
    rgba(7, 34, 58, 0.02) 100%
  );
  pointer-events: none;
}
.kh-hero-scrim-v {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 28, 48, 0.55) 0%,
    rgba(6, 28, 48, 0) 22%,
    rgba(6, 28, 48, 0) 70%,
    rgba(6, 28, 48, 0.35) 100%
  );
  pointer-events: none;
}
/* Kaya, the honey badger. Sits on the hero floor at the right, above the photo and both
   scrims but below the copy, so it never covers text. Hidden below 900px, where the
   single column would run straight through it. */
.kh-hero-badger {
  position: absolute;
  right: 0;
  bottom: 0;
  height: min(64%, 920px);
  width: auto;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  z-index: 1;
  /* The cut-out keeps a sliver of the source art's hand lettering ("ore") in its top-left
     corner; clip that corner off (the sunglasses start further right). */
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 0 4%, 18% 4%);
}
@media (max-width: 900px) {
  .kh-hero-badger {
    display: none;
  }
}

.kh-hero-inner {
  position: relative;
  z-index: 2;
}
.kh-hero-body {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 3vw, 48px);
  align-items: stretch;
  padding: clamp(34px, 4.4vw, 64px) 0 clamp(38px, 4.4vw, 58px);
}
.kh-hero-left {
  flex: 1 1 420px;
  min-width: 0;
}
.kh-h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: clamp(14px, 1.6vw, 22px) 0 0;
  color: var(--color-surface-base);
  text-wrap: balance;
}
.kh-subhead {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1.4;
  color: var(--color-neutral-100);
  margin: clamp(14px, 1.6vw, 20px) 0 0;
  max-width: 620px;
}
.btn-lg {
  padding: 17px 32px;
  font-size: 1.08rem;
}
.kh-hero-right {
  flex: 0 1 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  min-width: 0;
}
.kh-script {
  text-align: center;
  transform: rotate(-4deg) translateY(-46px);
  margin-top: 0;
}
.kh-script-text {
  font-family: Caveat, cursive;
  font-weight: 600;
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.02;
  color: var(--color-surface-base);
  text-shadow: 0 2px 14px rgba(4, 20, 36, 0.45);
}
.kh-swoosh {
  display: block;
  margin: 6px auto 0;
  color: var(--color-brand-teal400);
}
.kh-location {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.kh-location svg {
  margin-top: 2px;
  flex: none;
}
.kh-location-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--color-surface-base);
}
.kh-location-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
}

/* HERO (mobile): a full-bleed composite image with the copy over it, and its own three-up
   strip and scroll cue, entirely replacing .kh-hero below 760px rather than reflowing it. */
.kh-hero-mobile {
  display: none;
}
.kh-hero-mobile-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom; /* keeps the hand-lettered line (right edge of the art) in frame on phones */
  pointer-events: none;
}
/* Top padding clears the fixed .header (80px on a phone) plus the design's own clamp(20,5.5vw,30)
   breathing room; the header has no hero-specific variant here, so the content must make room
   for it itself, the way .kh-hero does with its own 150px padding-top. */
.kh-hero-mobile-content {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: clamp(96px, calc(5.5vw + 80px), 110px) 6% clamp(22px, 5.5vw, 30px);
}
.kh-hero-mobile-eyebrow {
  font-weight: 600;
  font-size: clamp(10.5px, 2.85vw, 13px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-brand-teal400);
}
.kh-hero-mobile-copy {
  margin-top: clamp(36px, 9.5vw, 68px);
  max-width: clamp(186px, 56vw, 230px);
}
.kh-hero-mobile-h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(30px, 8.2vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--color-surface-base);
  margin: 0;
}
.kh-hero-mobile-subhead {
  font-size: clamp(15px, 4.1vw, 19px);
  line-height: 1.42;
  color: var(--color-neutral-200);
  text-wrap: pretty;
  margin-top: clamp(10px, 2.8vw, 14px);
}
.kh-hero-mobile-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: clamp(18px, 4.6vw, 26px);
  padding: clamp(12px, 3.3vw, 15px) clamp(26px, 7vw, 34px);
  border-radius: 999px;
  background: var(--color-brand-teal500);
  color: var(--color-surface-base);
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(15px, 3.8vw, 17px);
  transition: background 0.15s ease;
}
.kh-hero-mobile-cta:hover {
  background: var(--color-brand-teal600);
}
.kh-hero-mobile-note {
  margin-top: 14px;
  font-size: clamp(12.5px, 3.4vw, 15px);
  color: rgba(255, 255, 255, 0.62);
}
.kh-hero-mobile-spacer {
  flex: 1 1 auto;
  min-height: clamp(24px, 8vw, 60px);
}
.kh-hero-mobile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.kh-hero-mobile-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 0 8px;
}
.kh-hero-mobile-cell + .kh-hero-mobile-cell {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.kh-hero-mobile-label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(13.5px, 3.8vw, 16px);
  color: var(--color-surface-base);
}
.kh-hero-mobile-sub {
  font-size: clamp(11.5px, 3.2vw, 13.5px);
  color: rgba(255, 255, 255, 0.72);
}
.kh-hero-mobile-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: clamp(20px, 5vw, 32px);
  color: rgba(255, 255, 255, 0.62);
}
.kh-hero-mobile-cue span {
  font-size: clamp(10px, 2.8vw, 12px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .kh-hero {
    display: none;
  }
  .kh-hero-mobile {
    position: relative;
    min-height: max(100svh, 178vw);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--color-surface-base);
  }
}

/* Trust row */
.kh-trust {
  background: var(--color-neutral-100);
  padding: clamp(40px, 4.4vw, 60px) 0;
}
.kh-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(172px, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}
.kh-trust-item {
  text-align: center;
}
.kh-trust-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--color-neutral-250);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--color-brand-teal500);
}
.kh-trust-icon svg {
  width: 25px;
  height: 25px;
}
.kh-trust-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--color-brand-navy900);
  margin-top: 14px;
}
.kh-trust-body {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--color-text-muted);
  margin: 8px auto 0;
  max-width: 250px;
  text-wrap: pretty;
}

/* Search lanes on the new homepage: same .lanes component as home-classic, without its
   negative top margin (that was tuned to overlap the old .hero; this section sits on its own). */
.kh-lanes {
  background: var(--color-surface-base);
  padding: clamp(40px, 4.4vw, 60px) 0;
}
.kh-lanes-head {
  margin-bottom: 24px;
}
.kh-lanes .lanes {
  margin-top: 0;
}

/* Trips created by Kaya */
.kh-trips {
  background: var(--color-surface-base);
  padding: clamp(44px, 4.6vw, 64px) 0 0;
}
.kh-trips-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.kh-trips-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--color-text-muted);
  margin: 8px 0 0;
}
.kh-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--color-brand-teal500);
}
.kh-trip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(186px, 1fr));
  gap: clamp(14px, 1.5vw, 20px);
  margin-top: clamp(22px, 2.4vw, 30px);
}
.kh-trip {
  display: block;
  background: var(--color-surface-base);
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(12, 42, 64, 0.1);
  overflow: hidden;
  color: inherit;
}
.kh-trip-media {
  position: relative;
  aspect-ratio: 231/119;
  background: var(--color-neutral-250);
}
.kh-trip-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kh-save {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(9, 30, 46, 0.42);
  backdrop-filter: blur(6px);
  color: var(--color-surface-base);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.kh-trip-body {
  padding: 13px 15px 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.kh-trip-text {
  min-width: 0;
}
.kh-trip-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--color-brand-navy900);
}
.kh-trip-meta {
  font-size: 12.5px;
  color: var(--color-neutral-500);
  margin-top: 4px;
}
.kh-trip-price {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 19px;
  color: var(--color-brand-navy900);
  white-space: nowrap;
}
/* The live feed only has a nightly rate, never a trip total, so this unit must never read like
   part of the number: smaller, lighter weight, muted, on its own visual register. */
.kh-price-unit {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.55em;
  color: var(--color-neutral-500);
  margin-left: 2px;
  white-space: nowrap;
}

/* Take Kaya with you */
.kh-appband {
  background: var(--color-surface-base);
  padding: clamp(26px, 3vw, 40px) 0 0;
}
.kh-appband-panel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(100deg, var(--color-brand-navy900) 0%, var(--color-brand-navy800) 52%, var(--color-brand-navy800) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 44px);
  flex-wrap: wrap;
  padding: clamp(26px, 3vw, 40px) clamp(24px, 3vw, 44px) 0;
}
.kh-appband-text {
  flex: 1 1 300px;
  min-width: 0;
  padding-bottom: clamp(26px, 3vw, 40px);
}
.kh-h2-band {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(24px, 2.9vw, 35px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-surface-base);
  margin: 0;
}
.kh-appband-sub {
  font-size: clamp(15px, 1.5vw, 18.5px);
  color: rgba(255, 255, 255, 0.86);
  margin: 12px 0 0;
  max-width: 460px;
}
.kh-appband-items {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 2.6vw, 38px);
  margin-top: clamp(20px, 2.2vw, 30px);
}
.kh-appband-item {
  text-align: center;
  color: var(--color-surface-base);
  font-size: 13.5px;
}
.kh-appband-item svg {
  display: block;
  margin: 0 auto;
}
.kh-appband-item div {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.9);
}
.kh-phone {
  flex: 0 0 auto;
  align-self: flex-end;
  width: clamp(190px, 20vw, 246px);
  margin-bottom: -28px;
}
.kh-phone-bezel {
  background: var(--color-brand-navy900);
  border: 6px solid var(--color-brand-navy900);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  overflow: hidden;
}
.kh-phone-screen {
  background: var(--color-surface-base);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}
.kh-phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--color-brand-navy900);
}
.kh-phone-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}
.kh-phone-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 10px;
}
.kh-phone-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}
.kh-phone-brand svg {
  height: 15px;
  width: auto;
  display: block;
}
.kh-phone-brand span {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.6rem;
  letter-spacing: -0.035em;
  color: var(--color-brand-navy900);
}
.kh-phone-body {
  padding: 0 12px 12px;
}
.kh-phone-chat {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.kh-phone-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  overflow: hidden;
  flex: none;
}
.kh-phone-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kh-phone-kaya-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10.5px;
  color: var(--color-brand-navy900);
}
.kh-phone-msg {
  font-size: 9.5px;
  line-height: 1.45;
  color: var(--color-text-muted);
  margin-top: 1px;
}
.kh-phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 10px;
}
.kh-phone-thumb {
  position: relative;
  aspect-ratio: 16/11;
  border-radius: 7px;
  overflow: hidden;
  background: var(--color-neutral-250);
}
.kh-phone-thumb .kh-frame-stack {
  position: absolute;
  inset: 0;
}
.kh-phone-thumb-name {
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 4px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 8.5px;
  color: var(--color-surface-base);
  text-shadow: 0 1px 4px rgba(4, 20, 36, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kh-appstore {
  flex: 0 0 auto;
  text-align: center;
  padding-bottom: clamp(26px, 3vw, 40px);
}
.kh-appstore .store {
  align-items: center;
}
.kh-appstore .store-caption {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
}

/* Shared destination carousel: every frame pre-rendered and stacked, only the active one shown */
.kh-frame-stack {
  position: relative;
  display: block;
}
.kh-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1100ms ease, transform 3600ms ease-out;
}
.kh-frame.is-active {
  opacity: 1;
  transform: scale(1.06);
}
.kh-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kh-mini .kh-frame-stack {
  aspect-ratio: 116/73;
  border-radius: 9px;
  overflow: hidden;
  background: var(--color-neutral-250);
}
.kh-mini-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--color-brand-navy900);
  margin-top: 8px;
}
.kh-mini-meta {
  font-size: 10.5px;
  color: var(--color-neutral-500);
  margin-top: 2px;
}
.kh-mini-price {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--color-brand-navy900);
  margin-top: 5px;
}

/* How Kaya plans */
.kh-howkaya {
  background: var(--color-surface-base);
  padding: clamp(44px, 5vw, 74px) 0;
}
.kh-howkaya-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
}
.kh-chatcard {
  background: var(--color-surface-base);
  border-radius: 16px;
  box-shadow: 0 6px 30px rgba(12, 42, 64, 0.13);
  overflow: hidden;
  display: flex;
  min-width: 0;
}
.kh-chatcard-rail {
  flex: 0 0 auto;
  width: 78px;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  border-right: 1px solid var(--color-neutral-100);
}
.kh-rail-item {
  text-align: center;
  width: 56px;
  padding: 10px 0;
  border-radius: 11px;
  color: var(--color-neutral-500);
  font-size: 11px;
  font-weight: 500;
}
.kh-rail-item svg {
  display: block;
  margin: 0 auto;
}
.kh-rail-item div {
  margin-top: 6px;
}
.kh-rail-item.is-on {
  background: var(--color-brand-tealMist);
  color: var(--color-brand-teal500);
}
.kh-rail-item.is-on div {
  font-weight: 600;
}
.kh-chatcard-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: clamp(16px, 1.6vw, 22px);
}
.kh-chatcard-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.kh-chatcard-avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  overflow: hidden;
  flex: none;
}
.kh-chatcard-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kh-chatcard-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-brand-navy900);
}
.kh-chatcard-role {
  font-size: 12.5px;
  color: var(--color-brand-teal500);
  margin-top: 2px;
}
.kh-chatcard-bubble {
  background: var(--color-surface-canvas);
  border-radius: 12px;
  padding: 13px 15px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.56;
  color: var(--color-brand-navy800);
  text-wrap: pretty;
}
.kh-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.kh-howkaya-copy {
  min-width: 0;
}
.kh-eyebrow-light {
  font-size: 12.5px;
  color: var(--color-brand-teal500);
}
.kh-h2-how {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--color-brand-navy900);
  margin: 14px 0 0;
  text-wrap: balance;
}
.kh-howkaya-body {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.66;
  color: var(--color-text-muted);
  margin: 16px 0 0;
  max-width: 520px;
  text-wrap: pretty;
}
.kh-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: clamp(20px, 2.2vw, 28px);
}
.kh-step {
  display: flex;
  align-items: center;
  gap: 13px;
}
.kh-step svg {
  color: var(--color-brand-teal500);
  flex: none;
}
.kh-step span {
  font-size: 15.5px;
  color: var(--color-brand-navy800);
}
.kh-hand-right {
  text-align: right;
  margin-top: clamp(18px, 2vw, 26px);
}
.kh-hand {
  display: inline-block;
  transform: rotate(-5deg);
}
.kh-hand-text {
  font-family: Caveat, cursive;
  font-weight: 600;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.04;
  color: var(--color-brand-navy900);
  text-align: left;
}
.kh-hand .kh-swoosh {
  margin: 2px 0 0;
}

/* Travel better, together */
.kh-together {
  background: var(--color-neutral-100);
  padding: clamp(46px, 5vw, 72px) 0;
}
.kh-together-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.kh-together-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.62;
  color: var(--color-text-muted);
  margin: 12px 0 0;
  text-wrap: pretty;
}
.kh-together-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  margin-top: clamp(28px, 3vw, 42px);
}
.kh-together-card {
  background: var(--color-surface-base);
  border-radius: 14px;
  padding: clamp(22px, 2.2vw, 30px);
  box-shadow: 0 3px 14px rgba(12, 42, 64, 0.08);
}
.kh-together-icon {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: var(--color-brand-tealMist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-teal500);
}
.kh-together-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17.5px;
  color: var(--color-brand-navy900);
  margin-top: 16px;
}
.kh-together-body {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--color-text-muted);
  margin: 8px 0 0;
  text-wrap: pretty;
}
.kh-together-cta {
  text-align: center;
  margin-top: clamp(26px, 3vw, 40px);
}
.kh-together-cta .btn {
  background: var(--color-brand-teal500);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 17px;
  padding: 15px 32px;
  gap: 10px;
  box-shadow: none;
}
.kh-together-cta .btn:hover {
  background: var(--color-brand-teal600);
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .kh-frame {
    transition: none;
  }
}

/* ── Trip Builder and account on the web ── */
.builder-main .trip-card {
  max-width: 760px;
}
.builder-card h2 {
  font-size: 1.35rem;
  margin: 6px 0 4px;
}
.builder-card .meta {
  color: var(--text-3);
  font-size: 0.92rem;
  margin: 0 0 14px;
}
.traveler {
  border: 1px solid var(--line-subtle);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 8px 0;
  display: grid;
  gap: 10px;
}
.traveler legend {
  font-weight: 800;
  padding: 0 6px;
}
.trip-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.trip-form .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trip-form .chips label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}
.trip-form .chips input {
  width: auto;
}
.trip-form h3 {
  margin: 14px 0 4px;
}
.trip-form select {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: var(--color-surface-base);
}
.authority {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.authority-level {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: start;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  cursor: pointer;
}
.authority-level.on {
  border-color: var(--teal-500);
  background: var(--teal-mist);
}
.authority-level input {
  grid-row: 1 / span 2;
  margin-top: 4px;
}
.authority-level b {
  display: block;
}
.authority-level span {
  grid-column: 2;
  font-size: 0.88rem;
  color: var(--text-2);
}
.trip-panel.warn {
  background: var(--color-semantic-warningBg);
  border-color: var(--color-semantic-warningBorder);
}
.trip-line s {
  color: var(--text-3);
}
.trip-line small {
  font-weight: 500;
  color: var(--text-3);
  font-size: 0.78rem;
}
#payment-element {
  margin: 12px 0 16px;
}
.plan-hero .hero-copy {
  padding-bottom: 40px;
}
.plan-hero .wrap {
  grid-template-columns: 1fr;
}
@media (max-width: 640px) {
  .trip-form .row {
    grid-template-columns: 1fr;
  }
}
.lane-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: end;
  margin: 16px 0 4px;
  padding: 12px 14px;
  background: var(--canvas);
  border-radius: var(--radius-md);
}
.lane-filters label {
  display: grid;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lane-filters label.check {
  grid-template-columns: auto 1fr;
  align-items: center;
  text-transform: none;
  font-size: 0.9rem;
  letter-spacing: 0;
  color: var(--text);
}
.lane-filters input,
.lane-filters select {
  font: inherit;
  font-size: 0.92rem;
  padding: 8px 10px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  min-width: 120px;
}
.lane-filters input[type='checkbox'] {
  min-width: 0;
  width: 18px;
  height: 18px;
}
.lane-card .btn + .btn {
  margin-left: 6px;
}
.stay-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 0 16px;
}
.stay-photos img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
}
.trips-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
}
.trips-photo {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
}
@media (max-width: 640px) {
  .trips-row {
    grid-template-columns: 1fr;
  }
  .trips-photo {
    width: 100%;
    height: 140px;
  }
}
.extras label {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-subtle);
}
.extras input {
  width: 64px;
  font: inherit;
  padding: 6px 8px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
}
.journal-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.journal-photos img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}
