/* ============================================================
   AtriumScout — shared stylesheet
   Direction: Obsidian + Champagne Gold — premium proptech
   ONE accent (champagne/brass) on warm near-black. No neon,
   no cool-tone glows, no rainbow gradients. Restraint > glow.
   Fonts: Bricolage Grotesque (display) + DM Sans (body)
   3D: pure CSS perspective/preserve-3d, gated to desktop
   fine-pointer + motion-safe via the .has-3d class (set in JS).
   WhatsApp chrome inside the phone mock keeps its authentic
   green — that is real app UI, not a brand accent.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* surface ladder — warm obsidian, never pure black */
  --bg: #0c0a07;
  --bg-2: #14110b;
  --bg-3: #1d1810;
  --surface-1: rgba(38, 31, 20, 0.56);
  --surface-2: rgba(24, 19, 12, 0.46);
  --glass: rgba(255, 244, 224, 0.045);
  --glass-strong: rgba(255, 244, 224, 0.08);
  --glass-border: rgba(228, 205, 158, 0.12);
  --glass-border-hi: rgba(228, 205, 158, 0.26);

  /* text — warm off-white / bone */
  --text: #f4efe4;
  --text-2: #bdb3a0;
  --text-3: #8c8371;

  /* brand — single metallic accent (champagne gold / brass) */
  --gold: #c9a24b;
  --gold-hi: #e8cf88;
  --gold-deep: #a67c30;
  --brass: #b98f52;         /* warm metallic variation, NOT a 2nd hue */
  --bone: #ded3bd;          /* neutral metallic-light for variety */
  --on-gold: #241802;       /* dark text on gold */

  /* semantic (kept warm — no cool neon) */
  --hot: #e0a23f;           /* warm amber for the HOT-LEAD alert */
  --danger: #cf5f45;        /* warm terracotta for pain figures */

  /* authentic WhatsApp chrome (phone mock only) */
  --wa-teal: #128c7e;
  --wa-green: #25d366;
  --wa-bubble: #005c4b;
  --wa-panel: #1f2c34;

  /* gradients — monochrome gold, no rainbow */
  --grad-brand: linear-gradient(120deg, var(--gold-hi) 0%, var(--gold) 46%, var(--gold-deep) 100%);
  --grad-text: linear-gradient(95deg, #fbf4de 0%, var(--gold-hi) 38%, var(--gold) 68%, var(--brass) 100%);
  --card-fill: linear-gradient(180deg, var(--surface-1), var(--surface-2));
  --card-edge: linear-gradient(165deg, rgba(255, 246, 226, 0.18), rgba(255, 246, 226, 0.05) 34%, rgba(201, 162, 75, 0.06) 62%, rgba(201, 162, 75, 0.22) 100%);

  /* type */
  --font-display: "Bricolage Grotesque", "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  /* fluid type scale */
  --step-hero: clamp(42px, 2.2rem + 4.6vw, 80px);
  --step-h2: clamp(30px, 1.4rem + 3vw, 50px);
  --step-h3: clamp(18px, 1rem + 0.5vw, 21px);
  --step-lede: clamp(16px, 0.94rem + 0.5vw, 19px);

  /* rhythm */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --section-pad: clamp(72px, 10vw, 128px);
  --container: 1160px;

  /* motion system */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-1: 0.15s;
  --dur-2: 0.3s;
  --dur-3: 0.6s;
  --speed: 0.25s;

  /* z-scale */
  --z-nav: 100;
  --z-glow: 0;
  --z-content: 1;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
  scrollbar-color: rgba(228, 205, 158, 0.22) transparent;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(201, 162, 75, 0.32); color: #fff6e2; }

/* custom scrollbar — the small "expensive" signal */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(201, 162, 75, 0.28);
  border-radius: 999px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(201, 162, 75, 0.46); }

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

/* ---------- Page atmosphere: warm aurora + grid + grain ---------- */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: var(--z-glow);
  pointer-events: none;
  overflow: hidden;
}
/* masked hairline grid — depth without noise */
.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(228, 205, 158, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228, 205, 158, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 0%, transparent 72%);
}
/* film grain */
.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
/* warm, restrained ambient glows — single gold family, low opacity */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}
.glow--gold { width: 620px; height: 620px; background: radial-gradient(circle, rgba(201, 162, 75, 0.16), transparent 70%); top: -200px; left: -160px; }
.glow--amber { width: 680px; height: 680px; background: radial-gradient(circle, rgba(224, 162, 63, 0.10), transparent 70%); top: 10%; right: -240px; }
.glow--bronze { width: 560px; height: 560px; background: radial-gradient(circle, rgba(166, 124, 48, 0.10), transparent 70%); bottom: -180px; left: 30%; }

main { position: relative; z-index: var(--z-content); }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

section { padding-block: var(--section-pad); position: relative; }

/* hairline section dividers */
.hairline {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent, rgba(228, 205, 158, 0.14), transparent);
  margin: 0 auto;
  width: min(100% - 40px, var(--container));
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(201, 162, 75, 0.09), rgba(201, 162, 75, 0.05)) padding-box,
    linear-gradient(120deg, rgba(201, 162, 75, 0.45), rgba(201, 162, 75, 0.12)) border-box;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(201, 162, 75, 0.9);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

.section-head { max-width: 660px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--step-h2); letter-spacing: -0.03em; margin-bottom: 16px; }
.section-head p { color: var(--text-2); font-size: var(--step-lede); max-width: 58ch; }
.section-head--center p { margin-inline: auto; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition:
    transform var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out),
    background var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out);
  will-change: transform;
}
.btn:active { scale: 0.97; }

.btn--primary {
  color: var(--on-gold);
  background: linear-gradient(120deg, var(--gold-hi) 0%, var(--gold) 52%, var(--gold-deep) 100%);
  box-shadow: 0 6px 26px rgba(201, 162, 75, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
/* sheen sweep */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s var(--ease-out);
  pointer-events: none;
}
.btn--primary:hover::after { transform: translateX(110%); }
.btn--primary:hover {
  box-shadow: 0 12px 38px rgba(201, 162, 75, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--ghost {
  color: var(--text);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--glass), var(--glass)) padding-box,
    linear-gradient(160deg, rgba(255, 246, 226, 0.20), rgba(255, 246, 226, 0.06)) border-box;
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(var(--glass-strong), var(--glass-strong)) padding-box,
    linear-gradient(160deg, rgba(255, 246, 226, 0.32), rgba(255, 246, 226, 0.10)) border-box;
}

.btn--lg { min-height: 60px; padding: 18px 36px; font-size: 17px; border-radius: 16px; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 14px; border-radius: 12px; }

.btn .icon { width: 20px; height: 20px; flex: none; }

/* ---------- Sticky glass nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(12, 10, 7, 0.66);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.nav--scrolled {
  background: rgba(12, 10, 7, 0.85);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.nav__logo .logo-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: var(--on-gold);
  box-shadow: 0 4px 16px rgba(201, 162, 75, 0.35);
}
.nav__logo .logo-mark svg { width: 20px; height: 20px; }
.nav__logo em { font-style: normal; color: var(--gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav__links a {
  position: relative;
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out);
}
.nav__links a:hover { color: var(--text); background: var(--glass); }
.nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

.nav__cta { flex: none; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  place-items: center;
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }

@media (max-width: 860px) {
  .nav__toggle { display: grid; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 20px 24px;
    background: rgba(12, 10, 7, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    display: none;
  }
  .nav.nav--open .nav__links { display: flex; }
  .nav.nav--open .icon-burger { display: none; }
  .nav.nav--open .icon-close { display: block; }
  .nav__links a { padding: 14px 16px; font-size: 16px; }
  .nav__links a[aria-current="page"]::after { left: 16px; right: auto; width: 28px; }
  .nav__links .nav__cta-mobile { margin-top: 10px; }
}
@media (min-width: 861px) {
  .nav__links .nav__cta-mobile { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(56px, 8vw, 110px) clamp(64px, 8vw, 104px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 {
  font-size: var(--step-hero);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: var(--step-lede);
  color: var(--text-2);
  max-width: 52ch;
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  color: var(--text-3);
  font-size: 14px;
}
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 16px; height: 16px; color: var(--gold); flex: none; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__phone-wrap { order: 2; margin-inline: auto; }
}

/* ---------- Marquee (CSS-only infinite loop) ---------- */
.marquee-strip { padding-block: 22px; border-block: 1px solid rgba(228, 205, 158, 0.08); }
.marquee-strip .label {
  display: block;
  text-align: center;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee__group span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}
.marquee__group span::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.6);
  margin-inline: 26px;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}

/* ---------- Phone mockup ---------- */
.hero__phone-wrap { position: relative; display: grid; place-items: center; }
.hero__phone-wrap::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 110%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 162, 75, 0.16), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(224, 162, 63, 0.12), transparent 55%);
  filter: blur(30px);
  z-index: -1;
}

.phone {
  height: min(600px, 74vh);
  width: auto;
  max-width: 92vw;
  aspect-ratio: 9 / 18.6;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(160deg, #35301f, #14110b 42%, #26210f);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.62),
    0 12px 30px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(228, 205, 158, 0.12),
    inset 0 1px 1px rgba(255, 246, 226, 0.16),
    inset 0 -1px 1px rgba(0, 0, 0, 0.5);
  position: relative;
}
/* device side buttons */
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #4a4230, #1c1810);
}
.phone::before { right: -3px; top: 22%; height: 64px; }  /* power */
.phone::after { left: -3px; top: 18%; height: 96px; }    /* volume */
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #0b141a;
  display: flex;
  flex-direction: column;
}
/* subtle screen glare */
.phone__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.055) 0%, transparent 28%);
}
.phone__notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 26px;
  border-radius: 999px;
  background: #05070c;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.06);
  z-index: 6;
}

/* WhatsApp header (authentic app chrome) */
.chat__header {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 44px 14px 12px;
  background: var(--wa-panel);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 5;
}
.chat__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--wa-teal), var(--wa-green));
  color: #04220f;
}
.chat__avatar svg { width: 20px; height: 20px; }
.chat__peer { line-height: 1.25; min-width: 0; }
.chat__peer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  color: #e9edef;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chat__peer small { font-size: 12px; color: #8696a0; }
.chat__peer small.typing-status { color: var(--wa-green); }

/* chat body */
.chat__body {
  flex: 1;
  overflow: hidden;
  padding: 14px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background:
    radial-gradient(circle at 20% 15%, rgba(37, 211, 102, 0.05), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(201, 162, 75, 0.05), transparent 45%),
    #0b141a;
}
.chat__day {
  align-self: center;
  font-size: 10.5px;
  color: #8696a0;
  background: var(--wa-panel);
  padding: 4px 12px;
  border-radius: 8px;
  margin-bottom: 4px;
}

.bubble {
  max-width: 82%;
  padding: 8px 12px 6px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #e9edef;
  position: relative;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom;
  transition:
    opacity 0.26s var(--ease-out),
    transform 0.42s var(--ease-spring);
  word-break: break-word;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}
.bubble.show { opacity: 1; transform: none; }
.bubble--in { align-self: flex-start; background: var(--wa-panel); border-top-left-radius: 4px; transform-origin: bottom left; }
.bubble--out { align-self: flex-end; background: var(--wa-bubble); border-top-right-radius: 4px; transform-origin: bottom right; }
.bubble__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 2px;
  font-size: 10px;
  color: rgba(233, 237, 239, 0.55);
}
.bubble__meta svg { width: 14px; height: 10px; color: #53bdeb; }

/* typing indicator */
.bubble--typing { padding: 12px 16px; }
.typing-dots { display: flex; gap: 5px; }
.typing-dots i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #8696a0;
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.typing-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* input bar */
.chat__input {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 14px;
  background: #0b141a;
}
.chat__input .field {
  flex: 1;
  background: var(--wa-panel);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  color: #8696a0;
}
.chat__input .send {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--wa-teal);
  display: grid;
  place-items: center;
  color: #fff;
}
.chat__input .send svg { width: 18px; height: 18px; }

/* hot lead alert overlay */
.hot-alert {
  position: absolute;
  top: 46px;
  left: 10px; right: 10px;
  z-index: 7;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(28, 22, 12, 0.95), rgba(28, 22, 12, 0.95)) padding-box,
    linear-gradient(150deg, rgba(224, 162, 63, 0.7), rgba(224, 162, 63, 0.2)) border-box;
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 24px rgba(224, 162, 63, 0.16);
  opacity: 0;
  transform: translateY(-18px) scale(0.97);
  transition: opacity 0.3s var(--ease-out), transform 0.5s var(--ease-spring);
  pointer-events: none;
}
.hot-alert.show { opacity: 1; transform: none; }
.hot-alert__icon {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(224, 162, 63, 0.16);
  color: var(--hot);
}
.hot-alert__icon svg { width: 18px; height: 18px; }
.hot-alert__text { font-size: 11.5px; line-height: 1.45; color: #ded3bd; }
.hot-alert__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  color: var(--hot);
  letter-spacing: 0.04em;
}

/* floating chips near phone */
.phone-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface-1), var(--surface-1)) padding-box,
    linear-gradient(160deg, rgba(255, 246, 226, 0.24), rgba(255, 246, 226, 0.06)) border-box;
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.42);
  animation: chip-float 5.5s ease-in-out infinite;
}
.phone-chip svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.phone-chip--tl { top: 12%; left: -8%; animation-delay: 0s; }
.phone-chip--br { bottom: 14%; right: -10%; animation-delay: 2.4s; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 480px) {
  .phone-chip--tl { left: 0; }
  .phone-chip--br { right: 0; }
}

/* ---------- Glass card primitive (masked 1px gradient ring) ---------- */
.glass-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--card-fill);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
/* gradient ring + top light reflection, clipped to a 1px frame */
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 246, 226, 0.4), transparent) no-repeat 0 0 / 100% 1px,
    var(--card-edge);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.glass-card--hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

/* ---------- Pain section ---------- */
.pain { position: relative; }
.pain__card {
  padding: clamp(36px, 5vw, 64px);
  text-align: center;
  overflow: hidden;
}
.pain__card::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 0%, rgba(207, 95, 69, 0.08), transparent 55%);
  pointer-events: none;
}
.pain__card h2 { font-size: clamp(26px, 3.8vw, 42px); max-width: 760px; margin-inline: auto; }
.pain__card h2 em { font-style: normal; color: var(--danger); }
.pain__card > p { color: var(--text-2); max-width: 56ch; margin: 18px auto 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: clamp(36px, 5vw, 56px);
  position: relative;
  z-index: 1;
}
.stat {
  padding: 26px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(255, 246, 226, 0.03), rgba(255, 246, 226, 0.02)) padding-box,
    linear-gradient(165deg, rgba(255, 246, 226, 0.12), rgba(201, 162, 75, 0.05)) border-box;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat__num .unit { font-size: 0.55em; color: var(--gold); margin-left: 2px; }
.stat__label { font-size: 13.5px; color: var(--text-3); margin-top: 6px; line-height: 1.45; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr 1fr; gap: 10px; } .stat { padding: 18px 12px; } }

/* ---------- Steps (how it works) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  padding: 32px 28px;
  counter-increment: step;
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  background: var(--grad-brand);
  color: var(--on-gold);
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(201, 162, 75, 0.28);
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Feature bento grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.features--bento { grid-template-columns: repeat(6, 1fr); }
.feature { padding: 30px 26px; }
.features--bento .feature { grid-column: span 2; }
.features--bento .feature--lg { grid-column: span 4; }
.features--bento .feature--wide {
  grid-column: span 6;
  display: flex;
  align-items: center;
  gap: 24px;
}
.features--bento .feature--wide .feature__icon { margin-bottom: 0; }
.features--bento .feature--wide h3 { margin-bottom: 4px; }
.feature__icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  flex: none;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(201, 162, 75, 0.10);
  border: 1px solid rgba(201, 162, 75, 0.24);
  color: var(--gold);
}
.feature__icon svg { width: 24px; height: 24px; }
/* metallic variety without a second hue: gold, brass, bone */
.feature:nth-child(3n + 2) .feature__icon { background: rgba(185, 143, 82, 0.10); border-color: rgba(185, 143, 82, 0.26); color: var(--brass); }
.feature:nth-child(3n) .feature__icon { background: rgba(222, 211, 189, 0.08); border-color: rgba(222, 211, 189, 0.22); color: var(--bone); }
.feature h3 { font-size: var(--step-h3); margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: 14.5px; max-width: 62ch; }
/* decorative question pills inside the large bento cell */
.feature__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.feature__pills span {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(228, 205, 158, 0.14);
  background: rgba(255, 246, 226, 0.03);
}
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .features--bento { grid-template-columns: repeat(2, 1fr); }
  .features--bento .feature,
  .features--bento .feature--lg { grid-column: span 1; }
  .features--bento .feature--wide { grid-column: span 2; }
}
@media (max-width: 620px) {
  .features, .features--bento { grid-template-columns: 1fr; }
  .features--bento .feature,
  .features--bento .feature--lg,
  .features--bento .feature--wide { grid-column: span 1; }
  .features--bento .feature--wide { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---------- Dashboard showcase ---------- */
.dash-wrap { position: relative; }
.dash-wrap::before {
  content: "";
  position: absolute;
  inset: 10% -6%;
  background: radial-gradient(ellipse at 50% 50%, rgba(201, 162, 75, 0.12), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.dash {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background:
    linear-gradient(170deg, rgba(38, 31, 20, 0.9), rgba(20, 16, 10, 0.84)) padding-box,
    linear-gradient(165deg, rgba(255, 246, 226, 0.18), rgba(255, 246, 226, 0.05) 40%, rgba(201, 162, 75, 0.24)) border-box;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.52);
}
/* scroll-driven entrance (progressive enhancement, non-3D contexts) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .dash {
      animation: dash-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 80%;
    }
  }
}
@keyframes dash-in {
  from { opacity: 0.35; transform: translateY(36px) scale(0.955); }
  to { opacity: 1; transform: none; }
}
.dash__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 246, 226, 0.03);
}
.dash__bar i { width: 11px; height: 11px; border-radius: 50%; background: #4a4230; }
.dash__bar i:first-child { background: #cf5f45; }
.dash__bar i:nth-child(2) { background: var(--hot); }
.dash__bar i:nth-child(3) { background: var(--gold); }
.dash__bar span {
  margin-left: 10px;
  font-size: 12.5px;
  color: var(--text-3);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.dash__body {
  display: grid;
  grid-template-columns: 200px 1fr;
}
.dash__side {
  border-right: 1px solid var(--glass-border);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash__side a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-3);
  padding: 9px 12px;
  border-radius: 9px;
  pointer-events: none;
}
.dash__side a svg { width: 16px; height: 16px; flex: none; }
.dash__side a.active { background: rgba(201, 162, 75, 0.10); color: var(--gold); }
.dash__main { padding: 22px; min-width: 0; }
.dash__tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.dash__tile {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 246, 226, 0.04);
  border: 1px solid var(--glass-border);
}
.dash__tile small { font-size: 11px; color: var(--text-3); display: block; margin-bottom: 4px; }
.dash__tile strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.dash__tile .delta { font-size: 10.5px; color: var(--gold); margin-left: 6px; }
.dash__tile--hot strong { color: var(--hot); }

.dash__panels { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
.dash__panel {
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 246, 226, 0.03);
  border: 1px solid var(--glass-border);
  min-width: 0;
}
.dash__panel h4 { font-size: 12.5px; color: var(--text-2); font-weight: 500; margin-bottom: 14px; font-family: var(--font-body); }

.dash__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
}
.dash__chart i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--gold), rgba(201, 162, 75, 0.15));
  min-height: 8%;
  transform-origin: bottom;
  animation: bar-grow 1s var(--ease-out) both;
}
.dash__chart i:nth-child(2n) { background: linear-gradient(180deg, var(--brass), rgba(185, 143, 82, 0.15)); }
.dash__chart i:nth-child(1) { height: 45%; animation-delay: 0.05s; }
.dash__chart i:nth-child(2) { height: 62%; animation-delay: 0.1s; }
.dash__chart i:nth-child(3) { height: 38%; animation-delay: 0.15s; }
.dash__chart i:nth-child(4) { height: 74%; animation-delay: 0.2s; }
.dash__chart i:nth-child(5) { height: 58%; animation-delay: 0.25s; }
.dash__chart i:nth-child(6) { height: 88%; animation-delay: 0.3s; }
.dash__chart i:nth-child(7) { height: 100%; animation-delay: 0.35s; }
@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.dash__leads { display: flex; flex-direction: column; gap: 9px; }
.dash__lead {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-2);
}
.dash__lead .who { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__lead .who b { color: var(--text); font-weight: 600; }
.score {
  flex: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.score--hot { background: rgba(224, 162, 63, 0.14); color: var(--hot); border: 1px solid rgba(224, 162, 63, 0.35); }
.score--warm { background: rgba(201, 162, 75, 0.12); color: var(--gold); border: 1px solid rgba(201, 162, 75, 0.3); }
.score--cold { background: rgba(222, 211, 189, 0.10); color: var(--bone); border: 1px solid rgba(222, 211, 189, 0.26); }

@media (max-width: 860px) {
  .dash__body { grid-template-columns: 1fr; }
  .dash__side { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--glass-border); }
  .dash__side a { flex: none; }
  .dash__tiles { grid-template-columns: repeat(2, 1fr); }
  .dash__panels { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 34px 28px;
}
.plan--featured {
  background:
    linear-gradient(170deg, rgba(201, 162, 75, 0.12), rgba(166, 124, 48, 0.06)),
    var(--card-fill);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(201, 162, 75, 0.08);
}
.plan--featured::before {
  background:
    linear-gradient(90deg, transparent, rgba(255, 246, 226, 0.42), transparent) no-repeat 0 0 / 100% 1px,
    linear-gradient(165deg, rgba(232, 207, 136, 0.65), rgba(255, 246, 226, 0.10) 45%, rgba(166, 124, 48, 0.5));
}
.plan__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-gold);
  background: var(--grad-brand);
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(201, 162, 75, 0.4);
}
.plan__name { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.plan__for { font-size: 13.5px; color: var(--text-3); margin-top: 4px; }
.plan__price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__price strong {
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.plan__price span { color: var(--text-3); font-size: 15px; }
.plan__setup { font-size: 13.5px; color: var(--text-2); padding-bottom: 22px; border-bottom: 1px solid var(--glass-border); }
.plan__setup b { color: var(--text); font-variant-numeric: tabular-nums; }
.plan__list { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; flex: 1; }
.plan__list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.plan__list li.muted { opacity: 0.42; }
.plan__list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--gold); }
.plan__list li.muted svg { color: var(--text-3); }
.plan .btn { width: 100%; }
@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--featured { order: -1; }
}

/* pilot banner */
.pilot-note {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 18px 24px;
  font-size: 15px;
  color: var(--text-2);
  border-radius: var(--radius);
}
.pilot-note svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.pilot-note b { color: var(--text); }

/* comparison table */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--card-fill);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  -webkit-overflow-scrolling: touch;
}
.compare {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.compare th, .compare td {
  padding: 16px 18px;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
}
.compare th {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.02em;
  background: rgba(255, 246, 226, 0.04);
}
.compare th small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--text-3); font-size: 12px; margin-top: 3px; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--text-2); }
.compare tr:last-child td { border-bottom: none; }
.compare .col-featured { background: rgba(201, 162, 75, 0.07); }
.compare th.col-featured { color: var(--gold); }
.compare td svg { width: 19px; height: 19px; margin-inline: auto; }
.compare .yes { color: var(--gold); }
.compare .no { color: var(--text-3); opacity: 0.55; }
.compare td b { font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { overflow: hidden; border-radius: var(--radius); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text);
  min-height: 44px;
}
.faq__q svg {
  width: 20px; height: 20px;
  flex: none;
  color: var(--gold);
  transition: transform var(--dur-2) var(--ease-out);
}
.faq__item.open .faq__q svg { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}
.faq__a p { padding: 0 24px 22px; color: var(--text-2); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: var(--section-pad); }
.cta-band__card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px);
}
.cta-band__card::after {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 25% 30%, rgba(201, 162, 75, 0.14), transparent 45%),
    radial-gradient(circle at 78% 75%, rgba(224, 162, 63, 0.12), transparent 45%);
  pointer-events: none;
}
.cta-band__card > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(28px, 4.4vw, 48px); letter-spacing: -0.03em; max-width: 660px; margin-inline: auto; }
.cta-band p { color: var(--text-2); margin: 16px auto 32px; max-width: 52ch; }
.cta-band .btn { margin-inline: 6px; margin-bottom: 8px; }
.cta-band small { display: block; margin-top: 18px; color: var(--text-3); font-size: 13px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(228, 205, 158, 0.16), transparent) 1;
  background: rgba(255, 246, 226, 0.02);
  padding: 56px 0 32px;
  position: relative;
  z-index: var(--z-content);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer__brand p { color: var(--text-3); font-size: 14px; max-width: 300px; margin-top: 14px; }
.footer h4 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--text-2); font-size: 14.5px; transition: color var(--dur-2) var(--ease-out); }
.footer ul a:hover { color: var(--gold); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-3);
  font-size: 13px;
}
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Demo page: timeline ---------- */
.timeline {
  position: relative;
  max-width: 680px;
  margin-inline: auto;
  display: grid;
  gap: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold), var(--gold-deep));
  opacity: 0.55;
}
.tl-item {
  position: relative;
  padding: 0 0 36px 76px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item__dot {
  position: absolute;
  left: 0; top: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--bg-3);
  border: 1px solid var(--glass-border-hi);
  color: var(--gold);
  box-shadow: 0 0 0 6px var(--bg);
}
.tl-item__dot svg { width: 22px; height: 22px; }
.tl-item h3 { font-size: 18px; margin-bottom: 6px; }
.tl-item h3 .when {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  background: rgba(201, 162, 75, 0.1);
  border: 1px solid rgba(201, 162, 75, 0.25);
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 10px;
  vertical-align: 2px;
  white-space: nowrap;
}
.tl-item p { color: var(--text-2); font-size: 15px; max-width: 52ch; }

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}
.founder-card { padding: 36px 30px; text-align: center; position: sticky; top: 100px; }
.founder-card__avatar {
  width: 108px; height: 108px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--on-gold);
  background: var(--grad-brand);
  box-shadow: 0 12px 36px rgba(201, 162, 75, 0.3);
}
/* Large founder portrait — photo blends into the page, name overlaid */
.founder-portrait {
  position: sticky;
  top: 100px;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 3 / 3.5;
  isolation: isolate;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(201, 162, 75, 0.22);
}
.founder-portrait img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.98) contrast(1.03);
  z-index: 0;
}
/* blend the photo into the site: darken edges + a warm gold wash + a strong
   bottom scrim the name sits on, so it reads as one piece with the page */
.founder-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 6, 3, 0.42) 0%, transparent 26%),
    linear-gradient(0deg, rgba(6, 5, 2, 0.96) 4%, rgba(6, 5, 2, 0.5) 34%, transparent 58%),
    radial-gradient(130% 90% at 78% 8%, rgba(201, 162, 75, 0.16), transparent 55%);
}
.founder-portrait__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 24px 26px 26px;
  text-align: left;
}
.founder-portrait__meta h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.founder-portrait__meta .role {
  color: var(--gold);
  font-size: 14.5px;
  font-weight: 600;
  margin: 5px 0 10px;
}
.founder-portrait__meta .loc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--text-2);
}
.founder-portrait__meta .loc svg { width: 15px; height: 15px; color: var(--gold); }
.about-copy h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 20px; }
.about-copy p { color: var(--text-2); margin-bottom: 18px; font-size: 16.5px; max-width: 66ch; }
.about-copy p b { color: var(--text); }
.about-copy blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(201, 162, 75, 0.06);
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text);
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .founder-portrait { position: relative; width: 100%; max-width: 420px; margin-inline: auto; }
}

@media (max-width: 480px) {
  .founder-portrait { border-radius: 20px; }
  .founder-portrait__meta { padding: 18px 20px 20px; }
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact-card {
  padding: 26px 22px;
  text-align: center;
}
.contact-card svg { width: 26px; height: 26px; margin: 0 auto 14px; color: var(--gold); }
.contact-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-card p, .contact-card a.link { font-size: 14px; color: var(--text-2); }
.contact-card a.link { text-decoration: underline; text-underline-offset: 3px; }
.contact-card a.link:hover { color: var(--gold); }
@media (max-width: 720px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(28px, 4vw, 48px); text-align: center; }
.page-hero h1 {
  font-size: clamp(34px, 5.2vw, 60px);
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 800px;
  margin-inline: auto;
}
.page-hero p { color: var(--text-2); font-size: var(--step-lede); max-width: 54ch; margin: 20px auto 0; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- WhatsApp big CTA (demo page) ---------- */
.wa-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 34px;
  border-radius: 18px;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--on-gold);
  background: linear-gradient(120deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 10px 40px rgba(201, 162, 75, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.wa-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s var(--ease-out);
  pointer-events: none;
}
.wa-cta:hover::after { transform: translateX(110%); }
.wa-cta:hover { box-shadow: 0 18px 52px rgba(201, 162, 75, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.42); }
.wa-cta:active { scale: 0.98; }
.wa-cta svg { width: 28px; height: 28px; flex: none; }

/* ============================================================
   3D LAYER — pure CSS, desktop-only.
   .has-3d is added by JS ONLY when: fine pointer + width >=1024
   + prefers-reduced-motion: no-preference. Touch / mobile /
   reduced-motion never receive it, so they get the flat premium
   version and pay zero 3D cost. Transforms are GPU-composited
   (transform/opacity only) for 60fps.

   IMPORTANT: every tilt rotates its element as ONE FLAT PLANE
   (perspective + rotateX/rotateY, NO transform-style: preserve-3d,
   NO inner translateZ). Two hard-won reasons:
     1. preserve-3d disables overflow:hidden clipping — it was
        spilling the WhatsApp bubbles out of the phone frame.
     2. preserve-3d + backdrop-filter (used by the glass cards and
        the dashboard) renders blank in Chrome.
   Flat-plane rotation keeps the glass/clipping intact while still
   reading as genuine, tangible 3D depth. Layered parallax comes
   from the LAYERS reacting differently (phone vs chips vs dash vs
   aurora), not from translateZ within a single element.
   ============================================================ */

/* (a) Hero phone — cursor-driven 3D tilt (vars set in JS).
   Wrapper owns the perspective; phone tilts as a flat unit so
   .phone__screen's overflow:hidden keeps the chat contained. */
/* 3D tilt only on genuine desktop + fine pointer — never on phones/tablets
   where the flat, contained mockup must render cleanly. */
@media (min-width: 1024px) and (pointer: fine) {
.has-3d .hero__phone-wrap { perspective: 1300px; }
.has-3d .phone {
  transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -11deg));
  transition: transform 0.4s var(--ease-out);
  will-change: transform;
}
}

/* (c) Feature / step / plan / contact cards — real 3D hover tilt.
   perspective() in the transform tilts the whole card toward the
   cursor; a deeper shadow sells the lift. */
.has-3d .glass-card--hover,
.has-3d .plan--featured {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  will-change: transform;
}
.has-3d .glass-card--hover:hover,
.has-3d .plan--featured:hover {
  transform: perspective(900px) rotateX(var(--crx, 0deg)) rotateY(var(--cry, 0deg)) translateY(-6px);
  box-shadow: 0 34px 66px rgba(0, 0, 0, 0.52);
}

/* (b, d) Floating 3D-tilted dashboard — persistent tilt + gentle
   cursor parallax (vars in JS). Flat unit so its backdrop-filter
   glass keeps rendering. Its parallax vs. the phone's tilt vs. the
   fixed aurora background is the layered-depth effect. */
@media (min-width: 1024px) and (pointer: fine) {
.has-3d .dash-wrap { perspective: 1700px; }
.has-3d .dash {
  animation: none !important;
  transform: rotateY(var(--dry, -9deg)) rotateX(var(--drx, 4deg));
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}
}
