/* =========================================================
   Central for Real Estate — Microsite
   Design tokens from 01-brand/identity/design-system.md
   ========================================================= */

/* =========================================================
   SLG Hero through-line
   Per 04-creative/ads/briefs/2026-05-01-frontdesk-slg-prompt-window-throughline.md
   "Frontdesk is the front desk you can prompt — and the setup
   call is where it learns yours."
   ========================================================= */

/* Use compound selector to outweigh .hero from later in the cascade */
.hero.hero--slg {
  position: relative;
  background: #DDF2FF; /* pale Central-blue — real estate vertical */
  color: #1A1A1A;
  padding: clamp(120px, 18vh, 200px) 0 clamp(140px, 20vh, 240px);
  overflow: hidden;
  isolation: isolate;
}

/* Same-tone ambient mesh — drifts slowly for premium depth */
.hero.hero--slg::before,
.hero.hero--slg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.hero.hero--slg::before {
  width: 60vw;
  height: 60vw;
  top: -10vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 70%);
  animation: slg-drift-a 24s ease-in-out infinite;
}
.hero.hero--slg::after {
  width: 50vw;
  height: 50vw;
  bottom: -15vw;
  right: -10vw;
  background: radial-gradient(circle, rgba(173, 217, 255, 0.6), transparent 70%);
  animation: slg-drift-b 30s ease-in-out infinite;
}
@keyframes slg-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8%, 6%) scale(1.1); }
}
@keyframes slg-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6%, -8%) scale(0.95); }
}

/* Subtle dot grid overlay — premium texture without breaking the constraint */
.hero.hero--slg .slg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(40, 158, 253, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 95%);
  z-index: 0;
  pointer-events: none;
}

.hero--slg .container {
  position: relative;
  z-index: 1;
}

.hero-slg__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-slg__inner { gap: 40px; }
}

/* Lowercase eyebrow per brief — central · frontdesk · for real estate */
.hero-slg__eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: lowercase;
  color: #6B7280;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.hero-slg__eyebrow .sep {
  margin: 0 0.4em;
  color: #C0C7D1;
  font-weight: 300;
}

/* The hero element — chat input UI with 3D tilt + typing animation */
.prompt-window {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  box-shadow:
    0 1px 2px rgba(28, 50, 80, 0.04),
    0 8px 24px rgba(28, 50, 80, 0.06),
    0 32px 64px rgba(28, 50, 80, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 32px 36px;
  width: 100%;
  max-width: 720px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 280ms var(--ease-standard), box-shadow 280ms var(--ease-standard);
  --rx: 0deg;
  --ry: 0deg;
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
}
@media (min-width: 768px) {
  .prompt-window { padding: 40px 44px; }
}

.prompt-window:hover {
  box-shadow:
    0 1px 2px rgba(28, 50, 80, 0.04),
    0 12px 32px rgba(28, 50, 80, 0.08),
    0 48px 96px rgba(28, 50, 80, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.prompt-window__text {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.4vw, 36px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #1A1A1A;
  text-align: left;
  min-height: 2.5em;
  position: relative;
  transform: translateZ(20px);
}

/* Typing cursor — blinks at end of typed text */
.prompt-window__cursor {
  display: inline-block;
  width: 2px;
  height: 0.95em;
  background: var(--color-brand-primary);
  margin-left: 3px;
  vertical-align: -0.12em;
  animation: cursor-blink 1.1s infinite step-end;
  border-radius: 1px;
}
@keyframes cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.prompt-window__submit {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand-primary) 0%, var(--color-brand-primary-hover) 100%);
  color: white;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(40, 158, 253, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 200ms var(--ease-standard), box-shadow 200ms var(--ease-standard);
  transform: translateZ(30px);
  animation: submit-pulse 3s ease-in-out infinite;
}
@keyframes submit-pulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(40, 158, 253, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 4px 16px rgba(40, 158, 253, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
}
.prompt-window__submit:hover {
  transform: translateZ(30px) scale(1.06);
}
.prompt-window__submit:active {
  transform: translateZ(30px) scale(0.98);
}
.prompt-window__submit svg {
  width: 18px;
  height: 18px;
}

/* Universal tagline — never changes (per brief) */
.hero-slg__tagline {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: #4B5563;
  max-width: 600px;
  margin: 0;
}
.hero-slg__tagline strong {
  font-weight: 500;
  color: #1A1A1A;
}

/* Cycling noun — types in/out, brand-blue underline accent */
.tagline-noun {
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: var(--color-brand-primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  white-space: nowrap;
}

/* CTA pill — charcoal, single conversion */
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: #1A1A1A;
  color: white;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 26px;
  text-decoration: none;
  transition: background 200ms var(--ease-standard), transform 200ms var(--ease-standard);
}
.cta-pill:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}
.cta-pill .arrow {
  display: inline-block;
  transition: transform 200ms var(--ease-standard);
}
.cta-pill:hover .arrow { transform: translateX(3px); }

/* "What happens next" 3-step section */
.tailor-steps {
  background: #FFFFFF;
  padding: clamp(72px, 10vw, 120px) 0;
}
.tailor-steps__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.tailor-steps__h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #1A1A1A;
  margin-bottom: 14px;
}
.tailor-steps__sub {
  font-size: 17px;
  line-height: 1.6;
  color: #4B5563;
}
.tailor-steps__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}
@media (min-width: 768px) {
  .tailor-steps__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

/* Connector hairline between cards (desktop only) — sits behind cards */
@media (min-width: 768px) {
  .tailor-steps__grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 16%;
    right: 16%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(40, 158, 253, 0.3) 20%, rgba(40, 158, 253, 0.3) 80%, transparent 100%);
    z-index: 0;
  }
}

.tailor-step {
  position: relative;
  padding: 36px 32px;
  background: #FFFFFF;
  border: 1px solid rgba(40, 158, 253, 0.12);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(28, 50, 80, 0.03), 0 4px 12px rgba(28, 50, 80, 0.04);
  transition: transform 360ms var(--ease-standard), box-shadow 360ms var(--ease-standard), border-color 360ms var(--ease-standard);
  z-index: 1;
}
.tailor-step:hover {
  transform: translateY(-6px);
  border-color: rgba(40, 158, 253, 0.32);
  box-shadow: 0 1px 2px rgba(28, 50, 80, 0.04), 0 16px 40px rgba(40, 158, 253, 0.12), 0 32px 80px rgba(40, 158, 253, 0.08);
}

.tailor-step__num {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-brand-primary);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(40, 158, 253, 0.08);
  border-radius: 999px;
}

.tailor-step__h {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #1A1A1A;
  margin-bottom: 12px;
}
.tailor-step__p {
  font-size: 15px;
  line-height: 1.6;
  color: #525B66;
}
.tailor-step__p em {
  font-style: italic;
  color: var(--color-brand-primary);
  font-weight: 500;
}



:root {
  /* Brand */
  --color-brand-primary: #289EFD;
  --color-brand-primary-hover: #0C93FF;
  --color-brand-primary-subtle: #DDF2FF;
  --color-cta: #EF4444;
  --color-cta-hover: #DC2626;
  --color-success: #22C55E;

  /* Text */
  --color-text-primary: #313131;
  --color-text-secondary: #3E4756;
  --color-text-muted: #A1A4A7;
  --color-text-on-dark: #FFFFFF;
  --color-text-on-dark-muted: #A1A4A7;

  /* Backgrounds */
  --color-bg: #FFFFFF;
  --color-bg-subtle: #FAFAFA;
  --color-bg-dark: #1E1E1E;
  --color-bg-nav: #202020;
  --color-bg-card-dark: rgba(255, 255, 255, 0.04);

  /* Borders */
  --color-border-default: #E5E7EB;
  --color-border-subtle: #F3F4F6;
  --color-border-dark: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-heading: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --text-display: clamp(44px, 6vw, 84px);
  --text-h1: clamp(36px, 4.5vw, 60px);
  --text-h2: clamp(28px, 3.2vw, 44px);
  --text-h3: clamp(22px, 2.4vw, 30px);
  --text-h4: 20px;
  --text-body-lg: 19px;
  --text-body: 17px;
  --text-body-sm: 15px;
  --text-label: 13px;
  --text-caption: 12px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-8: 48px;
  --space-10: 64px;
  --space-12: 80px;
  --space-16: 120px;
  --space-20: 160px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 0 4px rgba(40, 158, 253, 0.16);
  --shadow-cta-glow: 0 8px 24px rgba(239, 68, 68, 0.28);

  /* Motion */
  --duration-instant: 120ms;
  --duration-quick: 200ms;
  --duration-standard: 320ms;
  --duration-slow: 600ms;
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.32, 0, 0.67, 0);

  /* Layout */
  --container-max: 1200px;
  --container-px: 24px;
  --nav-height: 72px;
}

@media (min-width: 768px) {
  :root { --container-px: 32px; }
}

@media (min-width: 1024px) {
  :root { --container-px: 48px; }
}

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

/* =========================================================
   Reset / Base
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.55;
  color: var(--color-text-primary);
  background: var(--color-bg);
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }

::selection { background: var(--color-brand-primary); color: white; }

/* =========================================================
   Layout primitives
   ========================================================= */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.section {
  padding: var(--space-12) 0;
}

@media (min-width: 1024px) {
  .section { padding: var(--space-16) 0; }
  .section-tight { padding: var(--space-10) 0; }
  .section-loose { padding: var(--space-20) 0; }
}

.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
}
/* Body sections lighten by default. .section--dark only retained for cta-panel context. */

.section--subtle { background: var(--color-bg-subtle); }
.section--gradient {
  background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
}

.section--dark-gradient {
  background: radial-gradient(ellipse at top, #2a2a2a 0%, #1E1E1E 60%, #161616 100%);
  color: var(--color-text-on-dark);
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: transform var(--duration-quick) var(--ease-standard),
              background-color var(--duration-quick) var(--ease-standard),
              box-shadow var(--duration-quick) var(--ease-standard);
  white-space: nowrap;
  text-decoration: none;
}

.btn--lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }

.btn--primary {
  background: var(--color-cta);
  color: white;
  box-shadow: var(--shadow-cta-glow);
}
.btn--primary:hover {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(239, 68, 68, 0.36);
}
.btn--primary:active { transform: translateY(0); }

.btn--secondary {
  background: var(--color-text-primary);
  color: white;
}
.btn--secondary:hover {
  background: #1f1f1f;
  transform: translateY(-1px);
}

.btn--ghost-light {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-default);
}
.btn--ghost-light:hover {
  border-color: var(--color-text-primary);
  background: var(--color-bg-subtle);
}

.btn--ghost-dark {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn--ghost-dark:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.btn--link {
  background: transparent;
  color: var(--color-brand-primary);
  height: auto;
  padding: 0;
  font-weight: 500;
}
.btn--link:hover { color: var(--color-brand-primary-hover); }

.btn .arrow {
  display: inline-block;
  transition: transform var(--duration-quick) var(--ease-standard);
}
.btn:hover .arrow { transform: translateX(3px); }

/* =========================================================
   Eyebrow / labels
   ========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: rgba(40, 158, 253, 0.12);
  color: var(--color-brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.eyebrow--success {
  background: rgba(34, 197, 94, 0.14);
  color: var(--color-success);
}
.eyebrow--warning {
  background: rgba(239, 68, 68, 0.12);
  color: var(--color-cta);
}
.eyebrow--neutral {
  background: rgba(161, 164, 167, 0.14);
  color: var(--color-text-secondary);
}

.section--dark .eyebrow {
  background: rgba(40, 158, 253, 0.18);
  color: #5cb4ff;
}

.eyebrow .pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: background var(--duration-quick) var(--ease-standard),
              border-bottom-color var(--duration-quick) var(--ease-standard);
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.nav__brand,
.nav__brand .brand-handwritten { color: #1A1A1A; }
.nav__link { color: rgba(26, 26, 26, 0.7); }
.nav__link:hover { color: #1A1A1A; }
.nav__link.is-active { color: var(--color-brand-primary); }
.nav__menu-btn { color: #1A1A1A; background: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.08); }

/* Logo: black always (light page) */
.nav__logo.nav__logo--white { display: none; }
.nav__logo.nav__logo--black { display: block; }

/* Transparent nav over the SLG light hero — Linear/Vercel feel */
.nav.nav--over-light {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav.nav--over-light.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}
.nav.nav--over-light .nav__brand,
.nav.nav--over-light .nav__brand .brand-handwritten { color: #1A1A1A; }

/* Swap logo variants based on nav context — compound for specificity */
.nav__logo.nav__logo--white { display: block; }
.nav__logo.nav__logo--black { display: none; }
.nav.nav--over-light .nav__logo.nav__logo--white { display: none; }
.nav.nav--over-light .nav__logo.nav__logo--black { display: block; }
.nav.nav--over-light .nav__link { color: rgba(26, 26, 26, 0.7); }
.nav.nav--over-light .nav__link:hover { color: #1A1A1A; }
.nav.nav--over-light .nav__link.is-active { color: var(--color-brand-primary); }
.nav.nav--over-light .nav__brand-mark { background: linear-gradient(135deg, var(--color-brand-primary) 0%, var(--color-brand-primary-hover) 100%); }
.nav.nav--over-light .brand-handwritten { color: var(--color-brand-primary); }
.nav.nav--over-light .nav__menu-btn { color: #1A1A1A; background: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.08); }

/* Nav CTA — brand-blue pill that pairs with the prompt-window submit button */
.nav .btn--primary {
  background: linear-gradient(135deg, var(--color-brand-primary) 0%, var(--color-brand-primary-hover) 100%);
  color: white;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  border-radius: 22px;
  padding: 0 20px;
  height: 38px;
  box-shadow: 0 4px 12px rgba(40, 158, 253, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 200ms var(--ease-standard), box-shadow 200ms var(--ease-standard);
}
.nav .btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(40, 158, 253, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.nav .btn--primary:active {
  transform: translateY(0);
}

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

.nav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

/* Brand logo lockup — Perplexity-style inline (logo + sub-brand same row) */
.nav__brand,
.footer__brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.nav__logo {
  height: 26px;
  width: auto;
  display: block;
}
.footer__logo {
  height: 30px;
  width: auto;
  display: block;
}

/* Soft sub-brand — Perplexity-style inline whisper after the wordmark */
.brand-handwritten {
  font-family: 'DM Sans', 'Geist', -apple-system, sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.01em;
  display: inline-block;
  margin: 0;
  text-transform: lowercase;
  white-space: nowrap;
}

.nav.nav--over-light .brand-handwritten { color: rgba(0, 0, 0, 0.42); }

.footer__brand .brand-handwritten {
  font-size: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
}

.nav__links {
  display: none;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 1024px) {
  .nav__links { display: flex; align-items: center; }
}

.nav__link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--duration-quick) var(--ease-standard);
  position: relative;
}
.nav__link:hover { color: white; }
.nav__link.is-active { color: var(--color-brand-primary); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--color-brand-primary);
  border-radius: 2px;
}

.nav__cta-row { display: flex; align-items: center; gap: 12px; }

.nav__re-tag {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(40, 158, 253, 0.16);
  color: #5cb4ff;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
@media (min-width: 768px) { .nav__re-tag { display: inline-flex; } }

.nav__menu-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: white;
}
@media (min-width: 1024px) { .nav__menu-btn { display: none; } }

/* Mobile menu drawer */
.nav__drawer {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--color-bg-dark);
  z-index: 99;
  padding: 32px;
  display: none;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nav__drawer.is-open { display: flex; }
.nav__drawer-link {
  color: white;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

main { padding-top: var(--nav-height); }

/* =========================================================
   ELEVATED DESIGN LAYER
   Editorial typography, aurora gradients, mouse-follow,
   magnetic CTAs, curved dividers, signature scenes.
   ========================================================= */

/* Aurora gradient mesh — used on dark sections for richness */
.aurora {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 12% 18%, rgba(40, 158, 253, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 88% 28%, rgba(34, 197, 94, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 78% 88%, rgba(239, 68, 68, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 30% 80%, rgba(40, 158, 253, 0.18) 0%, transparent 55%);
  filter: blur(40px);
  animation: aurora-shift 22s ease-in-out infinite alternate;
}
@keyframes aurora-shift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(2%, -1%) scale(1.05); }
  100% { transform: translate(-1%, 1%) scale(0.97); }
}

/* Subtle dot grid */
.dot-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 40%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 40%, black, transparent 80%);
}

/* Mouse-follow glow (driven by JS via custom props) */
.mouse-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    400px circle at var(--mx, 50%) var(--my, 50%),
    rgba(40, 158, 253, 0.18),
    transparent 60%
  );
  transition: background 80ms linear;
}

/* ========== Editorial display headline ========== */
.display {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(48px, 8vw, 110px);
}
.display em {
  font-family: 'Geist', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--color-brand-primary);
  position: relative;
  display: inline-block;
}
.display em::after {
  content: '';
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 0.06em;
  height: 0.08em;
  background: linear-gradient(90deg, transparent 0%, var(--color-brand-primary) 18%, var(--color-brand-primary) 82%, transparent 100%);
  transform-origin: left center;
  transform: scaleX(0);
  animation: under-draw 1200ms 600ms var(--ease-standard) forwards;
}
@keyframes under-draw {
  to { transform: scaleX(1); }
}

/* Word-by-word stagger reveal */
.stagger > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  animation: word-rise 700ms var(--ease-standard) forwards;
  animation-delay: calc(var(--i, 0) * 70ms + 100ms);
}
.stagger .space { width: 0.32em; display: inline-block; }
@keyframes word-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Magnetic CTA ========== */
.magnetic { transition: transform 200ms var(--ease-standard); will-change: transform; }

/* ========== Curved / wave section dividers ========== */
.divider-wave {
  display: block;
  width: 100%;
  height: 80px;
  position: relative;
  margin-bottom: -1px;
}
.divider-wave--top { transform: rotate(180deg); }
.divider-wave svg { width: 100%; height: 100%; display: block; }

/* ========== Sticky scroll scene ========== */
.scene {
  position: relative;
  min-height: 100vh;
}
.scene__sticky {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  display: grid;
  place-items: center;
}

/* ========== Spotlight card (interactive 3D-ish) ========== */
.spotlight {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-xl);
  transition: transform 350ms var(--ease-standard);
}
.spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    250px circle at var(--mx, 50%) var(--my, 50%),
    rgba(40, 158, 253, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
  z-index: 1;
}
.spotlight:hover::before { opacity: 1; }

/* ========== Floating chip ========== */
.chip-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 14px;
  color: white;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  animation: float-soft 6s ease-in-out infinite;
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ========== Listing card (signature element) ========== */
.listing-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  width: 280px;
  transform: rotate(-2deg);
  transition: transform 400ms var(--ease-standard);
}
.listing-card:hover { transform: rotate(0deg) translateY(-6px); }
.listing-card__photo {
  height: 160px;
  background: linear-gradient(135deg, #FFD9B7 0%, #FFA76A 50%, #E36262 100%);
  position: relative;
}
.listing-card__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 60%, rgba(255, 255, 255, 0.4), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.25), transparent 50%);
}
.listing-card__photo svg {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 80px;
  height: 80px;
  color: white;
  opacity: 0.85;
}
.listing-card__pill {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  background: var(--color-cta);
  color: white;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
}
.listing-card__body { padding: 18px 20px 20px; color: var(--color-text-primary); }
.listing-card__price { font-family: var(--font-heading); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.listing-card__addr { font-size: 13px; color: var(--color-text-secondary); margin-top: 2px; }
.listing-card__row { display: flex; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--color-text-muted); }

/* ========== Brokerage scene container ========== */
.scene-svg {
  width: 100%;
  max-width: 540px;
  height: auto;
  margin-left: auto;
  display: block;
}

/* ========== Number marker (used in dayline, etc.) ========== */
.num-marker {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand-primary) 0%, var(--color-brand-primary-hover) 100%);
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
}

/* ========== Animated underline link ========== */
.link-anim {
  position: relative;
  color: var(--color-brand-primary);
  font-weight: 500;
}
.link-anim::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 320ms var(--ease-standard);
}
.link-anim:hover::after { transform-origin: left; transform: scaleX(1); }

/* ========== Glass panel (used for elevated callouts) ========== */
.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
}

/* ========== Hero (homepage) — elevated ========== */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-dark);
  color: white;
  padding: 80px 0 100px;
}
@media (min-width: 768px) { .hero { padding: 120px 0 140px; } }

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(40, 158, 253, 0.18), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(239, 68, 68, 0.10), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.06), transparent 60%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(2%, 2%); }
  100% { transform: scale(1) translate(-1%, 1%); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}

.hero__copy { max-width: 640px; }

.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 28px;
}
.hero__headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-brand-primary);
  position: relative;
  display: inline-block;
}
.hero__headline em::after {
  content: '';
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 0.04em;
  height: 0.06em;
  background: linear-gradient(90deg, transparent 0%, var(--color-brand-primary) 18%, var(--color-brand-primary) 82%, transparent 100%);
  transform-origin: left center;
  transform: scaleX(0);
  animation: under-draw 1100ms 700ms var(--ease-standard) forwards;
  border-radius: 999px;
}
.hero__headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  animation: word-rise 720ms var(--ease-standard) forwards;
  animation-delay: calc(var(--i, 0) * 60ms + 80ms);
}
.hero__headline .space { display: inline-block; width: 0.3em; }

.hero__subhead {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  align-items: center;
}
.hero__trust .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); }

/* Hero phone-to-calendar visual */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
}
@media (max-width: 1023px) {
  .hero__visual { max-width: 100%; margin: 0 auto; }
}

/* Hero scene — composed phone + calendar + chip */
.hero-scene {
  position: relative;
  width: 100%;
  height: 480px;
  margin-bottom: 56px;
}
@media (max-width: 768px) {
  .hero-scene { height: 440px; margin-bottom: 64px; }
}

.hero-scene__phone {
  position: absolute !important;
  top: 0 !important;
  left: 24px !important;
  width: 220px;
  z-index: 2;
}

.hero-scene__cal {
  position: absolute !important;
  top: 280px !important;
  right: 0 !important;
  bottom: auto !important;
  width: 280px;
  z-index: 3;
  animation-delay: 0.6s;
}

@media (max-width: 768px) {
  .hero-scene__phone { left: 0 !important; width: 200px; }
  .hero-scene__cal { top: 240px !important; right: 0 !important; }
}

.hero-scene__chip {
  position: absolute;
  bottom: -42px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  color: white;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  animation: float-soft 6s ease-in-out infinite;
  animation-delay: 1.2s;
}
@media (max-width: 768px) {
  .hero-scene__chip { white-space: normal; max-width: 320px; text-align: center; }
}

.phone {
  position: absolute;
  top: 40px;
  left: 0;
  width: 220px;
  background: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.phone__screen {
  background: #0a0a0a;
  border-radius: 22px;
  padding: 18px 16px;
  height: 320px;
  display: flex;
  flex-direction: column;
}

.phone__time {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
  font-feature-settings: 'tnum';
}

.phone__call-status {
  text-align: center;
  font-size: 12px;
  color: var(--color-success);
  margin-bottom: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

.phone__caller {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 18px;
  color: white;
  margin-bottom: 4px;
}

.phone__caller-meta {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}

.phone__waves {
  flex: 1;
  display: grid;
  place-items: center;
}

.wave {
  position: relative;
  width: 90px;
  height: 90px;
}
.wave::before, .wave::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-brand-primary);
  animation: ring 2.4s ease-out infinite;
}
.wave::after { animation-delay: 1.2s; }
@keyframes ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}
.wave__center {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-brand-primary) 0%, var(--color-brand-primary-hover) 100%);
  display: grid;
  place-items: center;
  color: white;
}

.phone__transcript {
  margin-top: 16px;
  padding: 10px 12px;
  background: rgba(40, 158, 253, 0.08);
  border-left: 2px solid var(--color-brand-primary);
  border-radius: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  min-height: 56px;
}
.phone__transcript-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--color-brand-primary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* Calendar card */
.cal-card {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 280px;
  background: white;
  color: var(--color-text-primary);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-xl);
  animation: float-2 7s ease-in-out infinite;
  animation-delay: 1s;
}
@keyframes float-2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.cal-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--color-success);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.cal-card__head svg { width: 14px; height: 14px; }

.cal-card__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cal-card__time {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.cal-card__row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-secondary);
  padding-top: 10px;
  border-top: 1px solid var(--color-border-subtle);
}
.cal-card__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD9B7 0%, #FFA76A 100%);
}

/* Floating notification cards */
.float-note {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 5s ease-in-out infinite;
}
.float-note__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}
.float-note--lead {
  top: 0;
  right: 30px;
  animation-delay: 2s;
}
.float-note--qual {
  bottom: 130px;
  left: 30px;
  animation-delay: 1s;
}

/* =========================================================
   Marquee
   ========================================================= */

.marquee {
  background: var(--color-success);
  color: white;
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.marquee__item {
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.marquee__item::after {
  content: '—';
  margin-left: 28px;
  opacity: 0.6;
}

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

@media (max-width: 768px) {
  .marquee__track { animation-duration: 24s; }
}

/* =========================================================
   Stats row (industry stats)
   ========================================================= */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.stat {
  text-align: center;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--color-border-default);
  box-shadow: var(--shadow-sm);
}
.section--dark .stat,
.section--dark-gradient .stat {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.stat__num {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-brand-primary);
  line-height: 1;
  margin-bottom: 6px;
  font-feature-settings: 'tnum';
}

.stat__label {
  font-size: 13px;
  color: var(--color-text-secondary);
  font-weight: 500;
}
.section--dark .stat__label,
.section--dark-gradient .stat__label { color: rgba(255, 255, 255, 0.6); }

/* =========================================================
   Section heading
   ========================================================= */

.s-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.s-head--left { text-align: left; margin-left: 0; }

.s-head__h2 {
  font-size: var(--text-h2);
  margin-top: 16px;
  margin-bottom: 16px;
}
.s-head__h2 em { font-style: italic; color: var(--color-brand-primary); }

.s-head__sub {
  font-size: 18px;
  color: var(--color-text-secondary);
  line-height: 1.55;
}
.section--dark .s-head__sub { color: rgba(255, 255, 255, 0.7); }

/* =========================================================
   Problem cards
   ========================================================= */

.problems {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .problems { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .problems { grid-template-columns: repeat(3, 1fr); } }

.problem-card {
  position: relative;
  padding: 32px;
  background: white;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  transition: transform var(--duration-standard) var(--ease-standard),
              box-shadow var(--duration-standard) var(--ease-standard);
  overflow: hidden;
}
.section--dark .problem-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.problem-card__time {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-cta);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.problem-card__h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.problem-card__body {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.section--dark .problem-card__body { color: rgba(255, 255, 255, 0.65); }

.problem-card__cost {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-default);
  font-size: 13px;
  color: var(--color-text-muted);
}
.section--dark .problem-card__cost { border-color: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.45); }

/* =========================================================
   Product / feature grid
   ========================================================= */

.product-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  position: relative;
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-standard) var(--ease-standard),
              border-color var(--duration-standard) var(--ease-standard),
              box-shadow var(--duration-standard) var(--ease-standard);
  overflow: hidden;
}
.section--dark .product-card {
  background: var(--color-bg-card-dark);
  border-color: rgba(255, 255, 255, 0.08);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-brand-primary) 0%, var(--color-brand-primary-hover) 100%);
  opacity: 0;
  transition: opacity var(--duration-quick) var(--ease-standard);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-brand-primary);
}
.product-card:hover::before { opacity: 1; }

.product-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(40, 158, 253, 0.12) 0%, rgba(40, 158, 253, 0.06) 100%);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--color-brand-primary);
}
.product-card__icon svg { width: 28px; height: 28px; }

.product-card__h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.product-card__body {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.section--dark .product-card__body { color: rgba(255, 255, 255, 0.65); }

.product-card__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-card__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-secondary);
}
.section--dark .product-card__bullets li { color: rgba(255, 255, 255, 0.7); }
.product-card__bullets svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-success);
  margin-top: 3px;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-brand-primary);
  font-weight: 500;
  font-size: 15px;
  margin-top: auto;
}
.product-card__link:hover { color: var(--color-brand-primary-hover); }
.product-card__link svg { width: 14px; height: 14px; transition: transform var(--duration-quick) var(--ease-standard); }
.product-card__link:hover svg { transform: translateX(3px); }

/* =========================================================
   Suite cards (3 paid suites)
   ========================================================= */

.suites {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .suites { grid-template-columns: repeat(3, 1fr); } }

.suite-card {
  position: relative;
  padding: 36px 32px;
  background: white;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--duration-standard) var(--ease-standard),
              box-shadow var(--duration-standard) var(--ease-standard),
              border-color var(--duration-standard) var(--ease-standard);
}
.section--dark .suite-card { background: var(--color-bg-card-dark); border-color: rgba(255, 255, 255, 0.08); }

.suite-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--suite-color, var(--color-brand-primary));
  opacity: 0.7;
}

.suite-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--suite-color, var(--color-brand-primary));
}
.suite-card:hover::before { opacity: 1; }

.suite-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.suite-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--suite-bg, rgba(40, 158, 253, 0.1));
  color: var(--suite-color, var(--color-brand-primary));
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.suite-card__icon svg { width: 22px; height: 22px; }

.suite-card__label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--suite-color, var(--color-brand-primary));
}

.suite-card__name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin-top: 2px;
}
.section--dark .suite-card__name { color: white; }

.suite-card__pitch {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 28px;
}
.section--dark .suite-card__pitch { color: rgba(255, 255, 255, 0.65); }

.suite-card__products {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.suite-card__products li {
  padding: 14px 16px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-quick) var(--ease-standard),
              background var(--duration-quick) var(--ease-standard);
}
.section--dark .suite-card__products li { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.06); }
.suite-card__products li:hover {
  border-color: var(--suite-color, var(--color-brand-primary));
  background: rgba(40, 158, 253, 0.04);
}

.suite-card__product-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}
.section--dark .suite-card__product-name { color: white; }
.suite-card__product-name svg {
  width: 14px;
  height: 14px;
  color: var(--suite-color, var(--color-brand-primary));
  margin-left: auto;
  transition: transform var(--duration-quick) var(--ease-standard);
}
.suite-card__products li:hover .suite-card__product-name svg { transform: translateX(3px); }

.suite-card__product-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.section--dark .suite-card__product-desc { color: rgba(255, 255, 255, 0.6); }

.suite-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: var(--suite-color, var(--color-brand-primary));
}
.suite-card__cta svg { width: 14px; height: 14px; transition: transform var(--duration-quick) var(--ease-standard); }
.suite-card__cta:hover svg { transform: translateX(3px); }

/* Suite color variants (driven via inline style) */
.suite-card[data-suite="frontdesk"] {
  --suite-color: #289EFD;
  --suite-bg: rgba(40, 158, 253, 0.1);
}
.suite-card[data-suite="sales"] {
  --suite-color: #EF4444;
  --suite-bg: rgba(239, 68, 68, 0.1);
}
.suite-card[data-suite="ea"] {
  --suite-color: #22C55E;
  --suite-bg: rgba(34, 197, 94, 0.1);
}

/* =========================================================
   OS strip (free Central OS layer)
   ========================================================= */

.os-strip {
  position: relative;
  margin-top: 32px;
  padding: 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1E1E1E 0%, #161616 100%);
  color: white;
  overflow: hidden;
  isolation: isolate;
}
.os-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(40, 158, 253, 0.18), transparent 45%),
    radial-gradient(circle at 82% 80%, rgba(34, 197, 94, 0.12), transparent 50%);
  z-index: -1;
}

.os-strip__head {
  display: grid;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
@media (min-width: 768px) {
  .os-strip__head { grid-template-columns: 1.4fr 1fr; }
}

.os-strip__title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.os-strip__title em {
  font-style: italic;
  color: var(--color-brand-primary);
}

.os-strip__tag {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  max-width: 540px;
}

.os-strip__cta {
  text-align: left;
}
@media (min-width: 768px) { .os-strip__cta { text-align: right; } }

.os-tiles {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.os-tile {
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform var(--duration-quick) var(--ease-standard),
              border-color var(--duration-quick) var(--ease-standard),
              background var(--duration-quick) var(--ease-standard);
}
.os-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(40, 158, 253, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.os-tile__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(40, 158, 253, 0.18);
  color: #5cb4ff;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}
.os-tile__icon svg { width: 16px; height: 16px; }

.os-tile__name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: white;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.os-tile__free {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-success);
  font-weight: 600;
  padding: 2px 6px;
  background: rgba(34, 197, 94, 0.16);
  border-radius: 999px;
}

.os-tile__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* =========================================================
   Day-in-the-life timeline (homepage scenario)
   ========================================================= */

.dayline {
  display: grid;
  gap: 0;
  border-radius: var(--radius-xl);
  background: var(--color-bg-subtle);
  overflow: hidden;
  border: 1px solid var(--color-border-default);
}
.section--dark .dayline { background: rgba(255, 255, 255, 0.02); border-color: rgba(255, 255, 255, 0.08); }

.dayline__row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 0;
  position: relative;
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .dayline__row { grid-template-columns: 60px 1fr; }
  .dayline__central { grid-column: 1 / -1; padding-left: 60px; padding-top: 0; border-top: none; }
}

.dayline__row:not(:last-child) {
  border-bottom: 1px solid var(--color-border-default);
}
.section--dark .dayline__row:not(:last-child) { border-color: rgba(255, 255, 255, 0.06); }

.dayline__time {
  padding: 28px 0 28px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-brand-primary);
  letter-spacing: 0.04em;
  position: relative;
  font-feature-settings: 'tnum';
}
.dayline__time::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  background: var(--color-border-default);
}
.section--dark .dayline__time::after { background: rgba(255, 255, 255, 0.06); }

.dayline__without {
  padding: 28px 24px;
  font-size: 15px;
  color: var(--color-text-secondary);
  border-right: 1px solid var(--color-border-default);
  position: relative;
}
.section--dark .dayline__without { color: rgba(255, 255, 255, 0.55); border-color: rgba(255, 255, 255, 0.06); }

.dayline__without strong {
  color: var(--color-cta);
  font-weight: 600;
}

.dayline__central {
  padding: 28px 24px;
  font-size: 15px;
  color: var(--color-text-primary);
  background: rgba(40, 158, 253, 0.04);
}
.section--dark .dayline__central {
  background: rgba(40, 158, 253, 0.06);
  color: rgba(255, 255, 255, 0.92);
}
.dayline__central strong {
  color: var(--color-brand-primary);
  font-weight: 600;
}
.dayline__check {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-success);
  color: white;
  margin-right: 8px;
  vertical-align: middle;
  font-size: 11px;
  font-weight: 700;
}

.dayline__head {
  background: var(--color-bg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 14px 24px;
  border-bottom: 1px solid var(--color-border-default);
}
.section--dark .dayline__head { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.55); }

.dayline__head--without { grid-column: 2; }
.dayline__head--central { grid-column: 3; color: var(--color-brand-primary); }
@media (max-width: 768px) {
  .dayline__head--without { grid-column: 2; }
  .dayline__head--central { grid-column: 1 / -1; padding-left: 60px; }
}

/* =========================================================
   Comparison table (product pages)
   ========================================================= */

.compare {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .compare { grid-template-columns: repeat(3, 1fr); } }

.compare__col {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid;
}
.compare__col--lose {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.2);
}
.compare__col--quo {
  background: rgba(161, 164, 167, 0.05);
  border-color: rgba(161, 164, 167, 0.2);
}
.compare__col--win {
  background: rgba(34, 197, 94, 0.06);
  border-color: rgba(34, 197, 94, 0.3);
}

.section--dark .compare__col--lose { background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.3); }
.section--dark .compare__col--quo { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.section--dark .compare__col--win { background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.4); }

.compare__head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.compare__col--lose .compare__head { color: var(--color-cta); }
.compare__col--quo .compare__head { color: var(--color-text-muted); }
.compare__col--win .compare__head { color: var(--color-success); }

.compare__h3 {
  font-size: 20px;
  margin-bottom: 16px;
}
.section--dark .compare__h3 { color: white; }

.compare__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.55;
}
.section--dark .compare__list { color: rgba(255, 255, 255, 0.7); }
.compare__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.compare__list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}
.compare__col--lose .compare__list svg { color: var(--color-cta); }
.compare__col--quo .compare__list svg { color: var(--color-text-muted); }
.compare__col--win .compare__list svg { color: var(--color-success); }

/* =========================================================
   FAQ accordion
   ========================================================= */

.faq {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-bottom: 1px solid var(--color-border-default);
}
.section--dark .faq__item { border-color: rgba(255, 255, 255, 0.08); }

.faq__btn {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: inherit;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color var(--duration-quick) var(--ease-standard);
}
.faq__btn:hover { color: var(--color-brand-primary); }

.faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(40, 158, 253, 0.1);
  color: var(--color-brand-primary);
  display: grid;
  place-items: center;
  transition: transform var(--duration-standard) var(--ease-standard),
              background var(--duration-quick) var(--ease-standard);
}
.section--dark .faq__icon { background: rgba(40, 158, 253, 0.2); }
.faq__btn[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
  background: var(--color-brand-primary);
  color: white;
}

.faq__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-standard) var(--ease-standard);
}
.faq__btn[aria-expanded="true"] + .faq__content { grid-template-rows: 1fr; }

.faq__inner {
  overflow: hidden;
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}
.section--dark .faq__inner { color: rgba(255, 255, 255, 0.7); }

.faq__inner-pad { padding: 0 0 28px; max-width: 720px; }

/* =========================================================
   Big CTA panel
   ========================================================= */

.cta-panel {
  position: relative;
  padding: 80px 32px;
  border-radius: var(--radius-2xl);
  text-align: center;
  background: linear-gradient(135deg, #1E1E1E 0%, #2a2a2a 100%);
  color: white;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 768px) { .cta-panel { padding: 120px 64px; } }

.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(40, 158, 253, 0.18), transparent 45%),
    radial-gradient(circle at 75% 80%, rgba(239, 68, 68, 0.14), transparent 45%);
  z-index: -1;
}
.cta-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
  z-index: -1;
}

.cta-panel__h2 {
  font-size: var(--text-h2);
  margin-bottom: 20px;
}
.cta-panel__h2 em { font-style: italic; color: var(--color-brand-primary); }

.cta-panel__sub {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.cta-panel__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.cta-panel__trust {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  background: #0F0F0F;
  color: rgba(255, 255, 255, 0.65);
  padding: 80px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 16px;
}

.footer__tag {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 320px;
  line-height: 1.6;
}

.footer__col-h {
  font-family: var(--font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color var(--duration-quick) var(--ease-standard);
}
.footer__list a:hover { color: var(--color-brand-primary); }

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* =========================================================
   Scroll reveal
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease-standard),
              transform 700ms var(--ease-standard);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Pricing-specific
   ========================================================= */

.price-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 1024px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  padding: 36px 32px 32px;
  background: white;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--duration-standard) var(--ease-standard);
}
.section--dark .price-card { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }

.price-card--popular {
  border-color: var(--color-brand-primary);
  border-width: 2px;
  transform: scale(1.02);
}
@media (max-width: 1024px) { .price-card--popular { transform: none; } }

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-brand-primary);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.price-card__name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-brand-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.price-card__price {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--color-text-primary);
}
.section--dark .price-card__price { color: white; }

.price-card__price small {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-secondary);
}
.section--dark .price-card__price small { color: rgba(255, 255, 255, 0.6); }

.price-card__ann {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.price-card__desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 24px;
}
.section--dark .price-card__desc { color: rgba(255, 255, 255, 0.65); }

.price-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.price-card__features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.section--dark .price-card__features li { color: rgba(255, 255, 255, 0.7); }
.price-card__features svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-success);
  margin-top: 2px;
}

/* =========================================================
   Demo page form
   ========================================================= */

.demo-grid {
  display: grid;
  gap: 56px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1024px) { .demo-grid { grid-template-columns: 1.1fr 1fr; } }

.demo-form {
  background: white;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.field__label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
}
.field__input,
.field__select,
.field__textarea {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-primary);
  background: white;
  transition: border-color var(--duration-quick) var(--ease-standard),
              box-shadow var(--duration-quick) var(--ease-standard);
}
.field__textarea {
  height: auto;
  padding: 12px 14px;
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}
.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--color-brand-primary);
  box-shadow: var(--shadow-glow);
}

/* =========================================================
   Channel grid (live chat)
   ========================================================= */

.channels {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .channels { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .channels { grid-template-columns: repeat(3, 1fr); } }

.channel-card {
  padding: 28px 24px;
  background: white;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  transition: transform var(--duration-standard) var(--ease-standard),
              box-shadow var(--duration-standard) var(--ease-standard);
}
.section--dark .channel-card { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); }
.channel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.channel-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.channel-card__h3 { font-size: 18px; margin-bottom: 8px; }
.channel-card__p { font-size: 14px; color: var(--color-text-secondary); line-height: 1.55; }
.section--dark .channel-card__p { color: rgba(255, 255, 255, 0.65); }

/* =========================================================
   Steps (3-step "how it works")
   ========================================================= */

.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.step {
  position: relative;
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  counter-increment: step;
}
.section--dark .step { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); }

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 600;
  color: rgba(40, 158, 253, 0.12);
  letter-spacing: -0.04em;
  line-height: 1;
}

.step__h3 { font-size: 22px; margin-bottom: 12px; }
.step__p { font-size: 15px; color: var(--color-text-secondary); line-height: 1.6; }
.section--dark .step__p { color: rgba(255, 255, 255, 0.65); }

/* =========================================================
   Inbox preview (live chat)
   ========================================================= */

.inbox {
  background: white;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .inbox { grid-template-columns: 280px 1fr; } }

.inbox__list {
  background: var(--color-bg-subtle);
  border-right: 1px solid var(--color-border-default);
  padding: 16px 0;
}
.inbox__list-h {
  padding: 8px 20px 16px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border-default);
}

.inbox__item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border-default);
  cursor: pointer;
  transition: background var(--duration-quick) var(--ease-standard);
}
.inbox__item:hover { background: rgba(40, 158, 253, 0.04); }
.inbox__item.is-active { background: rgba(40, 158, 253, 0.08); border-left: 3px solid var(--color-brand-primary); padding-left: 17px; }

.inbox__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 600;
  font-size: 13px;
  font-family: var(--font-heading);
}

.inbox__name { font-family: var(--font-heading); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.inbox__chan { font-size: 11px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.inbox__msg { font-size: 13px; color: var(--color-text-secondary); margin-top: 4px; line-height: 1.4; }
.inbox__time { font-size: 11px; color: var(--color-text-muted); }

.inbox__thread {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 360px;
}

.bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 80%;
}
.bubble--them { background: var(--color-bg-subtle); border: 1px solid var(--color-border-default); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble--us { background: var(--color-brand-primary); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }

.bubble__meta { font-size: 11px; color: var(--color-text-muted); margin-top: 6px; padding: 0 8px; }

/* =========================================================
   Sequence pipeline (lead generator)
   ========================================================= */

.pipeline {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pipe-step {
  padding: 20px;
  background: white;
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-lg);
  position: relative;
}
.section--dark .pipe-step { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); }

.pipe-step__day {
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-primary);
  margin-bottom: 8px;
}
.pipe-step__h { font-size: 15px; font-weight: 600; font-family: var(--font-heading); margin-bottom: 6px; }
.pipe-step__p { font-size: 13px; color: var(--color-text-secondary); line-height: 1.55; }
.section--dark .pipe-step__p { color: rgba(255, 255, 255, 0.65); }

/* =========================================================
   Logo wall
   ========================================================= */

.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.logo-tile {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  transition: color var(--duration-quick) var(--ease-standard);
}
.logo-tile:hover { color: white; }
.section--light .logo-tile { color: var(--color-text-muted); }
.section--light .logo-tile:hover { color: var(--color-text-primary); }

/* =========================================================
   Utility
   ========================================================= */

.txt-center { text-align: center; }
.txt-secondary { color: var(--color-text-secondary); }
.section--dark .txt-secondary { color: rgba(255, 255, 255, 0.7); }

.spacer-sm { height: 24px; }
.spacer-md { height: 48px; }
.spacer-lg { height: 80px; }

.divider {
  height: 1px;
  background: var(--color-border-default);
  margin: 64px 0;
}
.section--dark .divider { background: rgba(255, 255, 255, 0.08); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: rgba(40, 158, 253, 0.1);
  color: var(--color-brand-primary);
}

/* Hide scrollbars on horizontal scroll */
.scrollx { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scrollx::-webkit-scrollbar { display: none; }
.scrollx { scrollbar-width: none; }

/* Page transition */
@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
main { animation: page-in 500ms var(--ease-standard); }

/* Focus ring (accessibility) */
:focus-visible {
  outline: 2px solid var(--color-brand-primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; }
