/* ==========================================================================
   LgoChat — design system
   Light-first, calm, high-contrast. Tokens → primitives → components.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Brand */
  --brand-50:  #F1F0FE;
  --brand-100: #E4E1FD;
  --brand-200: #CBC6FB;
  --brand-300: #A9A1F7;
  --brand-400: #8478F1;
  --brand-500: #5145E5;
  --brand-600: #4436C9;
  --brand-700: #372CA2;
  --brand-800: #2C247F;

  --mint-100: #D6F7EF;
  --mint-500: #00C2A8;
  --mint-600: #059E8B;

  --coral-100: #FFE6E1;
  --coral-500: #FF6B57;
  --coral-600: #E8503B;

  --sun-100: #FFF1D6;
  --sun-500: #FFB020;

  /* Neutrals */
  --ink-900: #0C1024;
  --ink-800: #171C39;
  --ink-700: #2A3055;
  --ink-600: #4A5279;
  --ink-500: #6B7396;
  --ink-400: #949BB6;
  --ink-300: #C3C8DA;
  --ink-200: #E1E4EF;
  --ink-100: #EEF0F7;
  --ink-50:  #F7F8FC;
  --white:   #FFFFFF;

  /* Semantic */
  --bg: var(--white);
  --bg-soft: var(--ink-50);
  --bg-brand-soft: var(--brand-50);
  --text: var(--ink-900);
  --text-muted: var(--ink-600);
  --text-subtle: var(--ink-500);
  --border: var(--ink-200);
  --border-strong: var(--ink-300);

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --font-hand: "Caveat", "Segoe Script", "Bradley Hand", cursive;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.89rem);
  --step-0:  clamp(0.97rem, 0.94rem + 0.16vw, 1.06rem);
  --step-1:  clamp(1.13rem, 1.07rem + 0.3vw, 1.31rem);
  --step-2:  clamp(1.35rem, 1.24rem + 0.55vw, 1.68rem);
  --step-3:  clamp(1.65rem, 1.44rem + 1.05vw, 2.28rem);
  --step-4:  clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-5:  clamp(2.45rem, 1.75rem + 3.5vw, 4.4rem);

  /* Space */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 2.75rem;  --sp-8: 3.5rem;
  --sp-9: 5rem;     --sp-10: 7rem;

  /* Radius */
  --r-sm: 8px;  --r-md: 12px;  --r-lg: 18px;  --r-xl: 26px;  --r-2xl: 34px;
  --r-pill: 999px;

  /* Elevation — tuned soft, brand-tinted */
  --sh-xs: 0 1px 2px rgba(12, 16, 36, 0.05);
  --sh-sm: 0 2px 6px rgba(12, 16, 36, 0.05), 0 1px 2px rgba(12, 16, 36, 0.04);
  --sh-md: 0 10px 24px -8px rgba(12, 16, 36, 0.12), 0 2px 6px rgba(12, 16, 36, 0.04);
  --sh-lg: 0 24px 48px -16px rgba(12, 16, 36, 0.16), 0 6px 14px -8px rgba(12, 16, 36, 0.08);
  --sh-xl: 0 40px 80px -24px rgba(24, 20, 90, 0.22), 0 12px 24px -12px rgba(12, 16, 36, 0.1);
  --sh-brand: 0 14px 30px -10px rgba(81, 69, 229, 0.45);

  --container: 1180px;
  --container-wide: 1320px;
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.28s;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
/* Inline icons ship with a viewBox only — give every one a predictable box so they
   never collapse to 0 or stretch to the SVG default 300x150 inside a flex row. */
svg { display: block; width: 18px; height: 18px; flex: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }

h1, h2, h3, h4, h5 {
  line-height: 1.14;
  letter-spacing: -0.022em;
  font-weight: 760;
  color: var(--ink-900);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); letter-spacing: -0.032em; }
h2 { font-size: var(--step-4); letter-spacing: -0.028em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { text-wrap: pretty; }

a { color: var(--brand-600); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--brand-700); }

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

::selection { background: var(--brand-200); color: var(--ink-900); }

/* ---------- 3. Layout primitives ---------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container--wide { width: min(100% - 2.5rem, var(--container-wide)); }
.container--narrow { width: min(100% - 2.5rem, 760px); }

.section { padding-block: clamp(3.5rem, 7vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section--soft { background: var(--bg-soft); }
.section--brand-soft { background: linear-gradient(180deg, var(--brand-50), #FBFBFF); }

.stack > * + * { margin-top: var(--sp-4); }
.center { text-align: center; }
.grid { display: grid; gap: var(--sp-5); }
.flex { display: flex; }

@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.05fr 0.95fr; }
  .split--wide-right { grid-template-columns: 0.95fr 1.05fr; }
  .split--reverse > *:first-child { order: 2; }
}

/* ---------- 4. Type helpers --------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow--plain::before { display: none; }

.lede {
  font-size: var(--step-1);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 62ch;
}
.muted { color: var(--text-muted); }
.subtle { color: var(--text-subtle); font-size: var(--step--1); }

.gradient-text {
  background: linear-gradient(102deg, var(--brand-600) 4%, #7C4DF0 42%, var(--mint-500) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 660px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head > * + * { margin-top: var(--sp-4); }

/* ---------- 5. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.4rem;
  border-radius: var(--r-pill);
  font-weight: 650;
  font-size: var(--step-0);
  letter-spacing: -0.01em;
  line-height: 1.2;
  border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--lg svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: var(--sh-brand);
}
.btn--primary:hover { color: #fff; box-shadow: 0 18px 36px -10px rgba(81, 69, 229, 0.55); }

.btn--ghost {
  background: var(--white);
  color: var(--ink-800);
  border-color: var(--border);
  box-shadow: var(--sh-xs);
}
.btn--ghost:hover { border-color: var(--brand-300); color: var(--brand-700); box-shadow: var(--sh-sm); }

.btn--soft { background: var(--brand-50); color: var(--brand-700); }
.btn--soft:hover { background: var(--brand-100); color: var(--brand-800); }

.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: var(--ink-800); color: #fff; }

.btn--on-dark { background: #fff; color: var(--ink-900); }
.btn--on-dark:hover { color: var(--ink-900); box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.5); }

.btn--outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.btn--lg { padding: 1rem 1.75rem; font-size: var(--step-1); }
.btn--sm { padding: 0.55rem 1rem; font-size: var(--step--1); }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 620;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Badges / pills -------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.8rem;
  border-radius: var(--r-pill);
  font-size: var(--step--1);
  font-weight: 620;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
}
.badge--mint { background: var(--mint-100); color: var(--mint-600); border-color: #B6EFE4; }
.badge--coral { background: var(--coral-100); color: var(--coral-600); border-color: #FFD2C9; }
.badge--sun { background: var(--sun-100); color: #96690A; border-color: #FFE3AE; }
.badge--light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(6px);
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent);
}
.badge__dot--live { background: var(--mint-500); animation: pulse-dot 2.4s var(--ease) infinite; }

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 194, 168, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(0, 194, 168, 0); }
}

/* ---------- 7. Cards ----------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--sh-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--brand-200);
}
.card--flat { box-shadow: none; }
.card--soft { background: var(--bg-soft); border-color: transparent; box-shadow: none; }
.card__title { font-size: var(--step-1); font-weight: 700; }
.card__body { color: var(--text-muted); margin-top: var(--sp-2); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand-600);
  margin-bottom: var(--sp-4);
  flex: none;
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile--mint { background: var(--mint-100); color: var(--mint-600); }
.icon-tile--coral { background: var(--coral-100); color: var(--coral-600); }
.icon-tile--sun { background: var(--sun-100); color: #96690A; }
.icon-tile--brandfill {
  background: linear-gradient(140deg, var(--brand-500), #7C4DF0);
  color: #fff;
  box-shadow: var(--sh-brand);
}

/* ---------- 8. Header / nav ---------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px -18px rgba(12, 16, 36, 0.4);
}

/* Pages with a dark photo hero float the header over it until you scroll. */
.has-hero-overlay .site-header:not(.is-stuck) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.has-hero-overlay .site-header:not(.is-stuck) .brand,
.has-hero-overlay .site-header:not(.is-stuck) .brand__name { color: #fff; }
.has-hero-overlay .site-header:not(.is-stuck) .brand__name span { color: #A9A1F7; }
.has-hero-overlay .site-header:not(.is-stuck) .nav__link { color: rgba(255, 255, 255, 0.88); }
.has-hero-overlay .site-header:not(.is-stuck) .nav__link:hover,
.has-hero-overlay .site-header:not(.is-stuck) .nav__item:hover > .nav__link {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.has-hero-overlay .site-header:not(.is-stuck) .nav__link.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.has-hero-overlay .site-header:not(.is-stuck) .nav__login { color: rgba(255, 255, 255, 0.88); }
.has-hero-overlay .site-header:not(.is-stuck) .nav__login:hover { color: #fff; }
.has-hero-overlay .site-header:not(.is-stuck) .nav__toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  flex: none;
}
.brand:hover { color: var(--ink-900); }
.brand__mark {
  width: 36px; height: 36px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-500) 10%, #7C4DF0 60%, var(--mint-500) 130%);
  box-shadow: var(--sh-brand);
  color: #fff;
  flex: none;
}
.brand__mark svg { width: 20px; height: 20px; }
.brand__name b { font-weight: 800; }
.brand__name span { color: var(--brand-600); }

.nav__links {
  display: none;
  align-items: center;
  gap: 0.1rem;
  margin-inline: auto;
  list-style: none;
  padding: 0;
}
@media (min-width: 1024px) { .nav__links { display: flex; } }

.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-pill);
  font-weight: 580;
  font-size: 0.96rem;
  color: var(--ink-700);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__link:hover, .nav__item:hover > .nav__link { background: var(--ink-50); color: var(--ink-900); }
.nav__link.is-active { color: var(--brand-600); background: var(--brand-50); }
.nav__link svg { width: 14px; height: 14px; opacity: 0.6; transition: transform var(--dur) var(--ease); }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

.nav__login {
  display: none;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-700);
  padding: 0.4rem 0.6rem;
  transition: color var(--dur) var(--ease);
}
.nav__login:hover { color: var(--brand-600); }
@media (min-width: 620px) { .nav__login { display: inline-flex; } }

.nav__actions { display: flex; align-items: center; gap: 0.7rem; margin-left: auto; }
@media (min-width: 1024px) { .nav__actions { margin-left: 0; } }
.nav__actions .btn--ghost { display: none; }
@media (min-width: 620px) { .nav__actions .btn--ghost { display: inline-flex; } }

/* Mega dropdown */
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  width: max-content;
  max-width: min(92vw, 720px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  padding: var(--sp-4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    visibility var(--dur);
}
.nav__item:hover .mega, .nav__item:focus-within .mega {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(210px, 1fr)); gap: 0.25rem; }
.mega__link {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border-radius: var(--r-md);
  color: var(--ink-800);
  transition: background-color var(--dur) var(--ease);
}
.mega__link:hover { background: var(--ink-50); color: var(--ink-900); }
.mega__icon {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  color: #fff;
}
.mega__icon svg { width: 17px; height: 17px; }
.mega__title { display: block; font-weight: 650; font-size: 0.93rem; line-height: 1.3; }
.mega__desc { display: block; font-size: 0.8rem; color: var(--text-subtle); line-height: 1.45; margin-top: 2px; }
.mega__foot {
  margin-top: 0.5rem;
  padding: 0.8rem 0.75rem 0.3rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.88rem;
}

/* Mobile menu */
.nav__toggle {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-800);
}
@media (min-width: 1024px) { .nav__toggle { display: none; } }
.nav__toggle svg { width: 20px; height: 20px; }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--white);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: var(--sp-4) 0 var(--sp-6);
}
.mobile-menu.is-open { display: block; }
@media (min-width: 1024px) { .mobile-menu, .mobile-menu.is-open { display: none; } }
.mobile-menu__group + .mobile-menu__group { margin-top: var(--sp-4); }
.mobile-menu__label {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-subtle);
  padding: 0.5rem 0.25rem;
}
.mobile-menu__link {
  display: block;
  padding: 0.7rem 0.75rem;
  border-radius: var(--r-md);
  font-weight: 580;
  color: var(--ink-800);
}
.mobile-menu__link:hover { background: var(--ink-50); }
.mobile-menu .btn-row { margin-top: var(--sp-5); }

/* ---------- 9. Hero (full-bleed photo) ---------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding-block: clamp(6rem, 12vw, 8rem) clamp(3.5rem, 8vw, 6rem);
  margin-top: calc(var(--header-h) * -1);
}

/* The photograph. Drop your own in via LGOCHAT_HERO_IMAGE; the layered
   gradients below stand in as a warm, out-of-focus shop interior until then. */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-color: #17110E;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
@media (max-width: 999px) {
  /* Keep the subject in frame once the composition is too wide to show whole */
  .hero--composed .hero__photo { background-position: 38% center; }
}
.hero__photo--placeholder {
  background-image:
    radial-gradient(18rem 18rem at 74% 24%, rgba(255, 231, 196, 0.85), transparent 60%),
    radial-gradient(13rem 13rem at 90% 56%, rgba(255, 170, 190, 0.7), transparent 62%),
    radial-gradient(11rem 11rem at 62% 80%, rgba(255, 196, 208, 0.62), transparent 64%),
    radial-gradient(15rem 15rem at 34% 86%, rgba(247, 234, 205, 0.6), transparent 62%),
    radial-gradient(9rem 9rem at 16% 30%, rgba(255, 206, 138, 0.55), transparent 62%),
    radial-gradient(12rem 12rem at 48% 14%, rgba(255, 238, 212, 0.45), transparent 66%),
    radial-gradient(20rem 16rem at 96% 88%, rgba(214, 152, 168, 0.5), transparent 66%),
    linear-gradient(155deg, #6B4A38 0%, #7C5A42 30%, #5A4030 62%, #33241C 100%);
}

/* Fine grain so the gradients read as an out-of-focus photograph, not a CSS blob */
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  mix-blend-mode: overlay;
  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='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* Scrim: heavy on the left so the copy always clears WCAG, light on the right
   so the photograph still reads. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(100deg, rgba(10, 7, 14, 0.92) 0%, rgba(10, 7, 14, 0.78) 24%,
      rgba(10, 7, 14, 0.38) 42%, rgba(10, 7, 14, 0.04) 56%, transparent 68%),
    linear-gradient(180deg, rgba(10, 7, 14, 0.5) 0%, transparent 22%, transparent 78%,
      rgba(10, 7, 14, 0.38) 100%);
}
@media (max-width: 900px) {
  .hero__scrim {
    background: linear-gradient(180deg, rgba(10, 8, 16, 0.86) 0%, rgba(10, 8, 16, 0.72) 45%,
      rgba(10, 8, 16, 0.88) 100%);
  }
}

.hero__visual { position: relative; }

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: center;
  width: 100%;
}
@media (min-width: 1060px) { .hero__grid { grid-template-columns: 1.02fr 0.98fr; } }

/* Copy sits on the dark half */
.hero__copy { color: #fff; max-width: 36rem; }
.hero__copy h1 { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.32); }
.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A9A1F7;
}
.hero__title {
  margin-top: var(--sp-4);
  font-size: clamp(1.95rem, 1rem + 2.35vw, 2.85rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}
/* The forced break only helps once the line actually fits; below that let it wrap. */
.hero__title br { display: none; }
@media (min-width: 700px) { .hero__title br { display: inline; } }
.hero__lede {
  margin-top: var(--sp-5);
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.84);
  max-width: 40ch;
}
.hero__actions { margin-top: var(--sp-6); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin-top: var(--sp-5);
  font-size: 0.92rem;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.86);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__trust svg { width: 18px; height: 18px; color: var(--mint-500); }

/* When the artwork already contains the journey cards, annotation and stat card,
   the HTML versions only appear below the width where the baked-in ones stay
   legible. Above that, the photograph does the work on its own. */
.hero__visual-label {
  display: none;
  margin-bottom: var(--sp-4);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
/* Composed artwork is 16:9 and its cards sit near the right edge, so the hero
   is sized to that ratio — cover then crops vertically (safe) instead of
   horizontally (which would slice the annotation off). */
.hero .container--wide { width: min(100% - 4rem, var(--container-wide)); }

@media (min-width: 1000px) {
  .hero--composed {
    /* Explicit height rather than aspect-ratio + max-height: that pairing makes
       Chrome shrink the box's WIDTH to keep the ratio, leaving a gap on the right.
       56.25vw is 9/16 of the viewport, so the artwork fills edge to edge and only
       ever crops vertically. */
    height: min(56.25vw, 92vh);
    min-height: 34rem;
    padding-block: 0;
  }
  .hero--composed .hero__grid { grid-template-columns: minmax(0, 36rem) 1fr; }
  .hero--composed .hero__visual { display: none; }
}
@media (max-width: 999px) {
  .hero--composed .hero__visual-label { display: block; }
  .hero--composed .hero__note-hand,
  .hero--composed .hero__stat { display: none; }
}

/* ---------- 9b. Journey timeline ---------------------------------------- */
.journey {
  position: relative;
  display: grid;
  gap: 0.7rem;
  padding-left: 2.4rem;
  max-width: 25rem;
}
.journey::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 2.6rem;
  bottom: 2.6rem;
  border-left: 2px dashed rgba(255, 255, 255, 0.42);
}
@media (max-width: 1059px) { .journey { max-width: 34rem; margin-inline: auto; } }

.journey__step { position: relative; animation: journey-in 0.6s var(--ease) both; }
.journey__step:nth-child(1) { animation-delay: 0.05s; }
.journey__step:nth-child(2) { animation-delay: 0.25s; }
.journey__step:nth-child(3) { animation-delay: 0.45s; }
.journey__step:nth-child(4) { animation-delay: 0.65s; }
.journey__step:nth-child(5) { animation-delay: 0.85s; }

/* Connector dot + spur into the card */
.journey__step::before {
  content: "";
  position: absolute;
  left: -1.9rem;
  top: 1.55rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-500);
  box-shadow: 0 0 0 4px rgba(10, 8, 16, 0.35);
}
.journey__step::after {
  content: "";
  position: absolute;
  left: -1.2rem;
  top: 2.05rem;
  width: 1.2rem;
  border-top: 2px dashed rgba(255, 255, 255, 0.42);
}
.journey__step--message::before,
.journey__step--message::after { display: none; }

@keyframes journey-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.journey__card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1.05rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.12);
}
.journey__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: none;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent, var(--brand-500));
}
.journey__icon svg { width: 18px; height: 18px; }
.journey__body { flex: 1; min-width: 0; }
.journey__title {
  display: block;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.3;
  color: var(--ink-900);
}
.journey__detail {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.87rem;
  color: var(--ink-600);
  line-height: 1.45;
}
.journey__note { display: block; font-size: 0.76rem; font-weight: 620; color: var(--sun-500); }
.journey__time {
  flex: none;
  align-self: flex-end;
  font-size: 0.74rem;
  color: var(--ink-400);
  font-variant-numeric: tabular-nums;
}

/* The first step is an inbound message, so it reads as a chat bubble */
.journey__step--message .journey__card {
  border-radius: 18px 18px 18px 6px;
  padding: 1rem 1.15rem;
  margin-left: -2.4rem;
  flex-direction: column;
  gap: 0.5rem;
}
.journey__step--message .journey__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
}
.journey__step--message .journey__detail { font-size: 0.95rem; color: var(--ink-800); margin: 0; }
.journey__step--message .journey__time { align-self: auto; }
.journey__msgfoot {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.74rem;
  color: var(--ink-400);
  font-variant-numeric: tabular-nums;
}

/* Spark marks above the first bubble */
.journey__spark {
  position: absolute;
  top: -1.5rem;
  right: 0.75rem;
  z-index: 1;
  width: 38px;
  height: 28px;
  color: var(--brand-300);
}

/* ---------- 9c. Handwritten annotation ---------------------------------- */
.hero__note-hand {
  position: absolute;
  left: 26.5rem;
  top: 20%;
  width: 11.5rem;
  color: #fff;
  text-align: center;
  pointer-events: none;
}
.hero__note-hand p {
  font-family: var(--font-hand);
  font-size: 1.45rem;
  line-height: 1.25;
  transform: rotate(-4deg);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}
.hero__note-hand svg { color: var(--brand-400); }
.hero__note-underline { width: 8rem; height: 1rem; margin: 0.1rem auto 0; }
.hero__note-arrow { width: 4rem; height: 4rem; margin: 0.4rem 0 0 1rem; }
@media (max-width: 1340px) { .hero__note-hand { display: none; } }

/* ---------- 9d. Floating stat card -------------------------------------- */
.hero__stat {
  position: absolute;
  right: 0;
  bottom: -3.5rem;
  width: 11.75rem;
  padding: 1rem 1.15rem 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--sh-xl);
  animation: float 7s ease-in-out infinite;
}
.hero__stat-head {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.6rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  font-size: 0.76rem;
  font-weight: 620;
  color: var(--ink-700);
}
.hero__stat-head svg { width: 13px; height: 13px; color: var(--ink-400); }
.hero__stat-value {
  display: block;
  margin-top: 0.6rem;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink-900);
}
.hero__stat-label { display: block; font-size: 0.86rem; color: var(--ink-600); font-weight: 550; }
.hero__stat-delta { display: block; margin-top: 0.3rem; font-size: 0.76rem; font-weight: 650; color: var(--mint-600); }
.hero__stat-spark { margin-top: 0.6rem; width: 100%; height: 3rem; }
@media (max-width: 1180px) { .hero__stat { display: none; } }

/* ---------- 9e. Channel pills ------------------------------------------- */
.channel-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.channel-strip--center { justify-content: center; }

.channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem 0.42rem 0.42rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.channel-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  border-color: var(--brand-200);
  color: var(--ink-900);
}
.channel-pill__icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}
.channel-pill__icon svg { width: 14px; height: 14px; }

/* ---------- 10. Chat mock ------------------------------------------------ */
.mock-stage { position: relative; max-width: 400px; margin-inline: auto; padding-block: 54px; }
.mock-stage::before {
  content: "";
  position: absolute;
  inset: 8% -6% -8% -6%;
  background: radial-gradient(60% 50% at 50% 50%, rgba(81, 69, 229, 0.18), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.chat-window {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-xl);
  overflow: hidden;
  max-width: 420px;
  margin-inline: auto;
}
.chat-window__bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fff, var(--ink-50));
}
.chat-window__avatar {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; color: #fff; flex: none;
  font-weight: 700; font-size: 0.9rem;
  background: linear-gradient(140deg, var(--brand-500), #7C4DF0);
}
.chat-window__who { display: block; font-weight: 700; font-size: 0.94rem; line-height: 1.2; }
.chat-window__status {
  font-size: 0.76rem; color: var(--mint-600); font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.chat-window__badge { margin-left: auto; }

.chat-window__body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background:
    radial-gradient(90% 60% at 10% 0%, var(--brand-50), transparent 60%),
    var(--white);
  min-height: 360px;
}

.bubble {
  max-width: 84%;
  padding: 0.7rem 0.95rem;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: bubble-in 0.5s var(--ease) both;
}
.bubble--in {
  align-self: flex-start;
  background: var(--ink-50);
  color: var(--ink-800);
  border-bottom-left-radius: 6px;
}
.bubble--out {
  align-self: flex-end;
  background: linear-gradient(160deg, var(--brand-500), var(--brand-600));
  color: #fff;
  border-bottom-right-radius: 6px;
  box-shadow: var(--sh-brand);
}
.bubble--agent {
  align-self: flex-end;
  background: var(--mint-500);
  color: #04322C;
  border-bottom-right-radius: 6px;
  font-weight: 550;
}
.bubble__meta {
  display: block;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.2rem;
}

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.chat-divider {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint-600);
  background: var(--mint-100);
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-pill);
  animation: bubble-in 0.5s var(--ease) both;
}
.chat-divider svg { width: 13px; height: 13px; }

.chat-slots { display: flex; gap: 0.4rem; flex-wrap: wrap; align-self: flex-start; max-width: 90%; }
.chat-slot {
  padding: 0.42rem 0.8rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--brand-200);
  background: var(--white);
  color: var(--brand-700);
  font-size: 0.8rem;
  font-weight: 620;
  transition: all var(--dur) var(--ease);
}
.chat-slot:hover, .chat-slot.is-picked {
  background: var(--brand-500); color: #fff; border-color: var(--brand-500);
}

.typing { display: inline-flex; gap: 4px; align-items: center; padding: 0.85rem 1rem; }
.typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink-400);
  animation: typing 1.3s var(--ease) infinite;
}
.typing span:nth-child(2) { animation-delay: 0.18s; }
.typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-window__input {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--white);
  color: var(--text-subtle);
  font-size: 0.86rem;
}
.chat-window__send {
  margin-left: auto;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-500); color: #fff; flex: none;
}
.chat-window__send svg { width: 15px; height: 15px; }

/* Floating cards — seated on the window's top and bottom edges, clear of all text */
.float-card {
  position: absolute;
  max-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}
.float-card__icon {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center; color: #fff;
}
.float-card__icon svg { width: 15px; height: 15px; }
.float-card__value { display: block; font-size: 1.05rem; font-weight: 780; letter-spacing: -0.025em; line-height: 1.15; }
.float-card__label { display: block; font-size: 0.7rem; color: var(--text-subtle); font-weight: 550; line-height: 1.3; }

.float-card--tl { top: 0; left: -36px; animation-delay: -1s; }
.float-card--br { bottom: 0; right: -36px; animation-delay: -3s; }

@media (max-width: 1100px) {
  .float-card--tl { left: -10px; }
  .float-card--br { right: -10px; }
}
@media (max-width: 420px) {
  .float-card { max-width: 168px; padding: 0.5rem 0.65rem; }
  .float-card--tl { left: 0; }
  .float-card--br { right: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- 11. Logo strip ---------------------------------------------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.logos__item {
  font-weight: 750;
  font-size: clamp(1rem, 2vw, 1.24rem);
  letter-spacing: -0.02em;
  color: var(--ink-400);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color var(--dur) var(--ease);
}
.logos__item:hover { color: var(--ink-600); }
.logos__item svg { width: 20px; height: 20px; opacity: 0.75; }

/* ---------- 12. Channel cards ------------------------------------------- */
.channel-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
  color: var(--ink-900);
}
.channel-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% -30%;
  height: 160px;
  background: var(--accent, var(--brand-500));
  opacity: 0;
  filter: blur(46px);
  transition: opacity var(--dur) var(--ease);
}
.channel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
  color: var(--ink-900);
}
.channel-card:hover::after { opacity: 0.14; }
.channel-card > * { position: relative; z-index: 1; }
.channel-card__icon {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center;
  color: #fff;
  background: var(--accent, var(--brand-500));
  box-shadow: 0 10px 22px -10px var(--accent-shadow, rgba(81, 69, 229, 0.7));
}
.channel-card__icon svg { width: 26px; height: 26px; }
.channel-card__name { display: block; font-size: var(--step-1); font-weight: 730; letter-spacing: -0.02em; }
.channel-card__tagline { display: block; color: var(--text-muted); font-size: 0.93rem; flex: 1; }
.channel-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}
.channel-card__stat { font-weight: 750; color: var(--ink-900); }
.channel-card__stat small { display: block; font-weight: 520; color: var(--text-subtle); font-size: 0.74rem; }
.channel-card__go {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-weight: 650; color: var(--brand-600);
}
.channel-card__go svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.channel-card:hover .channel-card__go svg { transform: translateX(4px); }

.spotlight-row {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-4);
}
@media (min-width: 980px) { .spotlight-row { grid-template-columns: repeat(2, 1fr); } }

.channel-spotlight {
  display: grid;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(120deg, #fff 40%, var(--coral-100));
  height: 100%;
  box-shadow: var(--sh-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  color: var(--ink-900);
}
.channel-spotlight:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); color: var(--ink-900); }
@media (min-width: 560px) {
  .channel-spotlight { grid-template-columns: auto 1fr; }
  .channel-spotlight .channel-card__go { grid-column: 2; }
}
@media (min-width: 980px) and (max-width: 1200px) {
  .channel-spotlight { padding: var(--sp-5); }
}

/* ---------- 13. Bento ---------------------------------------------------- */
.bento { display: grid; gap: var(--sp-4); }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, 1fr); } }
.bento__cell { grid-column: span 6; }
@media (min-width: 760px) {
  .bento__cell--half { grid-column: span 3; }
  .bento__cell--third { grid-column: span 2; }
  .bento__cell--twothird { grid-column: span 4; }
}

.bento .card { height: 100%; }

/* ---------- 14. Stats ---------------------------------------------------- */
.stats {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--sh-xs);
}
.stat__value {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, var(--brand-600), #7C4DF0 60%, var(--mint-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { margin-top: 0.55rem; font-size: 0.88rem; color: var(--text-muted); font-weight: 550; }
.stats--on-dark .stat {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}
.stats--on-dark .stat__value { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.stats--on-dark .stat__label { color: rgba(255, 255, 255, 0.72); }

/* ---------- 15. Steps ---------------------------------------------------- */
.steps { display: grid; gap: var(--sp-5); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: var(--sp-5); }
.step::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-200));
}
.step:nth-child(2)::before { background: linear-gradient(90deg, #7C4DF0, #D9C9FB); }
.step:nth-child(3)::before { background: linear-gradient(90deg, var(--mint-500), var(--mint-100)); }
.step__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.step__time {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--mint-600);
  background: var(--mint-100);
  padding: 0.16rem 0.5rem;
  border-radius: var(--r-pill);
}
.step__number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-500);
  letter-spacing: 0.08em;
}
.step__title { margin-top: 0.35rem; font-size: var(--step-2); }
.step__body { margin-top: var(--sp-3); color: var(--text-muted); }

/* ---------- 16. Feature list -------------------------------------------- */
.check-list { display: grid; gap: 0.85rem; list-style: none; padding: 0; }
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--text-muted);
}
.check-list li strong { color: var(--ink-900); font-weight: 650; }
.check-list__icon {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--mint-100); color: var(--mint-600);
  margin-top: 2px;
}
.check-list__icon svg { width: 12px; height: 12px; }
.check-list--brand .check-list__icon { background: var(--brand-50); color: var(--brand-600); }
.check-list--on-dark li { color: rgba(255, 255, 255, 0.78); }
.check-list--on-dark li strong { color: #fff; }
.check-list--on-dark .check-list__icon { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* ---------- 17. Inbox mock ---------------------------------------------- */
.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}
.panel__bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--ink-50);
}
.panel__dots { display: flex; gap: 6px; }
.panel__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-300); }
.panel__dots i:first-child { background: #FF6058; }
.panel__dots i:nth-child(2) { background: #FFBD2E; }
.panel__dots i:nth-child(3) { background: #28CA42; }
.panel__title { font-size: 0.82rem; font-weight: 650; color: var(--text-subtle); margin-inline: auto; }

.inbox { display: grid; grid-template-columns: 1fr; }
@media (min-width: 620px) { .inbox { grid-template-columns: 220px 1fr; } }
.inbox__list { border-right: 1px solid var(--border); background: var(--ink-50); padding: 0.5rem; }
.inbox__item {
  display: flex; gap: 0.6rem; align-items: flex-start;
  padding: 0.65rem; border-radius: var(--r-md);
  transition: background-color var(--dur) var(--ease);
}
.inbox__item.is-active { background: var(--white); box-shadow: var(--sh-xs); }
.inbox__avatar {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center; color: #fff;
  font-size: 0.7rem; font-weight: 700;
}
.inbox__name { display: block; font-size: 0.83rem; font-weight: 650; line-height: 1.3; }
.inbox__preview {
  display: block;
  font-size: 0.74rem; color: var(--text-subtle);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 130px;
}
.inbox__flag {
  margin-left: auto; font-size: 0.62rem; font-weight: 700;
  padding: 0.1rem 0.38rem; border-radius: var(--r-pill);
  background: var(--coral-100); color: var(--coral-600); flex: none;
}
.inbox__flag--ai { background: var(--brand-50); color: var(--brand-600); }
.inbox__thread { padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; min-height: 300px; }
.inbox__ctx {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); margin-bottom: 0.3rem;
}
.chip {
  font-size: 0.7rem; font-weight: 620;
  padding: 0.22rem 0.6rem; border-radius: var(--r-pill);
  background: var(--ink-50); color: var(--ink-600); border: 1px solid var(--border);
}
.chip--mint { background: var(--mint-100); color: var(--mint-600); border-color: #B6EFE4; }
.chip--brand { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }

/* Ticket mock */
.ticket-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
@media (min-width: 560px) { .ticket-meta { grid-template-columns: repeat(4, 1fr); } }
.ticket-meta__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.ticket-meta__value {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
  font-size: 0.87rem;
  font-weight: 620;
  color: var(--ink-900);
}

.sla-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--ink-100);
  margin-top: 0.9rem;
  overflow: hidden;
}
.sla-bar__fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--mint-500), var(--sun-500));
}

/* ---------- 18. Calendar mock ------------------------------------------- */
.cal { padding: 1.1rem; }
.cal__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.9rem;
}
.cal__month { font-weight: 730; font-size: 0.98rem; }
.cal__nav { display: flex; gap: 0.35rem; }
.cal__nav button {
  width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid var(--border); display: grid; place-items: center; color: var(--ink-600);
}
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow {
  text-align: center; font-size: 0.66rem; font-weight: 700;
  color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.06em;
  padding-bottom: 4px;
}
.cal__day {
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 9px;
  font-size: 0.8rem; font-weight: 560;
  color: var(--ink-700);
  transition: all var(--dur) var(--ease);
}
.cal__day--muted { color: var(--ink-300); }
.cal__day--free { background: var(--brand-50); color: var(--brand-700); font-weight: 650; }
.cal__day--free:hover { background: var(--brand-100); }
.cal__day--sel {
  background: linear-gradient(160deg, var(--brand-500), var(--brand-600));
  color: #fff; font-weight: 700; box-shadow: var(--sh-brand);
}
.cal__slots { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }

/* ---------- 19. Waveform / voice ---------------------------------------- */
.waveform { display: flex; align-items: center; gap: 3px; height: 42px; }
.waveform i {
  display: block; width: 4px; border-radius: 2px;
  background: linear-gradient(180deg, var(--coral-500), #FF9E7A);
  animation: wave 1.2s var(--ease) infinite;
}
@keyframes wave {
  0%, 100% { height: 22%; opacity: 0.55; }
  50% { height: 100%; opacity: 1; }
}
.call-card {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--sh-sm);
}
.call-card__ring {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--coral-500), #FF9E7A);
  box-shadow: 0 0 0 0 rgba(255, 107, 87, 0.45);
  animation: ring 2.4s var(--ease) infinite;
}
@keyframes ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 87, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(255, 107, 87, 0); }
}

.transcript { display: grid; gap: 0.7rem; }
.transcript__line { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.87rem; }
.transcript__who {
  font-size: 0.66rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.18rem 0.5rem; border-radius: var(--r-pill); flex: none; margin-top: 2px;
  background: var(--ink-100); color: var(--ink-600);
}
.transcript__who--ai { background: var(--coral-100); color: var(--coral-600); }
.transcript__text { color: var(--text-muted); }

/* ---------- 20. Integrations -------------------------------------------- */
.int-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 620px) { .int-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .int-grid { grid-template-columns: repeat(4, 1fr); } }
.int-card {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.int-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
.int-card__mark {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 0.9rem;
  background: var(--accent, var(--brand-500));
}
.int-card__name { display: block; font-weight: 650; font-size: 0.9rem; line-height: 1.25; }
.int-card__cat { display: block; font-size: 0.73rem; color: var(--text-subtle); }

.marquee { overflow: hidden; position: relative; padding-block: 0.5rem; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-soft), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-soft), transparent); }
.marquee__track { display: flex; gap: 0.75rem; width: max-content; animation: scroll 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track > * { flex: none; min-width: 190px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- 21. Testimonials -------------------------------------------- */
.quote-card {
  display: flex; flex-direction: column; gap: var(--sp-4);
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.quote-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent, var(--brand-500));
}
.quote-card__metric {
  font-size: 1.9rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  color: var(--accent, var(--brand-600));
}
.quote-card__metric small {
  display: block; font-size: 0.78rem; font-weight: 550; letter-spacing: 0;
  color: var(--text-subtle); margin-top: 0.3rem;
}
.quote-card__quote { color: var(--ink-700); font-size: 0.98rem; line-height: 1.62; flex: 1; }
.quote-card__author { display: flex; align-items: center; gap: 0.7rem; padding-top: var(--sp-4); border-top: 1px solid var(--border); }
.quote-card__avatar {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 730; font-size: 0.92rem;
  background: var(--accent, var(--brand-500));
}
.quote-card__name { display: block; font-weight: 700; font-size: 0.92rem; line-height: 1.3; }
.quote-card__role { display: block; font-size: 0.79rem; color: var(--text-subtle); }

/* ---------- 22. Pricing -------------------------------------------------- */
/* Segmented switch. Options are links (so they work without JS), which is why
   these rules target .toggle__opt rather than `button`. */
.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem;
  border-radius: var(--r-pill);
  background: var(--ink-100);
  border: 1px solid var(--border);
}

.toggle__opt {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1.05rem;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  color: var(--text-muted);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.toggle__opt:hover { color: var(--ink-900); }
.toggle__opt.is-active {
  background: var(--white);
  color: var(--ink-900);
  box-shadow: var(--sh-sm);
}
.toggle__sym {
  font-weight: 780;
  font-size: 0.98rem;
  color: var(--brand-600);
}
.toggle__opt.is-active .toggle__sym { color: var(--brand-600); }
.toggle .save {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--mint-600);
  background: var(--mint-100);
  padding: 0.14rem 0.4rem;
  border-radius: var(--r-pill);
}

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.price-grid { display: grid; gap: var(--sp-5); align-items: start; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) and (max-width: 1099px) {
  .price-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .price-grid--4 { grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
  .price-grid--4 .price-card { padding: var(--sp-5); }
  .price-grid--4 .price-card--popular { transform: none; }
  .price-grid--4 .price-card--popular:hover { transform: translateY(-4px); }
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; gap: var(--sp-4);
  height: 100%;
  position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.price-card--popular {
  border-color: transparent;
  box-shadow: var(--sh-xl);
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(150deg, var(--brand-500), #7C4DF0 55%, var(--mint-500)) border-box;
  border: 2px solid transparent;
}
@media (min-width: 900px) { .price-card--popular { transform: scale(1.03); } }
@media (min-width: 900px) { .price-card--popular:hover { transform: scale(1.03) translateY(-4px); } }
.price-card__flag {
  position: absolute; top: -13px; left: 50%; translate: -50% 0;
  padding: 0.32rem 0.9rem; border-radius: var(--r-pill);
  background: linear-gradient(120deg, var(--brand-500), #7C4DF0);
  color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; white-space: nowrap;
  box-shadow: var(--sh-brand);
}
.price-card__name { font-size: var(--step-1); font-weight: 760; }
.price-card__tagline { color: var(--text-muted); font-size: 0.9rem; min-height: 2.6em; }
.price-card__price { display: flex; align-items: baseline; gap: 0.35rem; }
.price-card__amount {
  font-size: clamp(2.2rem, 5vw, 2.9rem); font-weight: 800;
  letter-spacing: -0.045em; line-height: 1;
}
.price-card__per { color: var(--text-subtle); font-size: 0.85rem; font-weight: 550; }
.price-card__amount--custom { font-size: clamp(1.7rem, 3.4vw, 2.1rem); }
.price-card__meta { font-size: 0.82rem; color: var(--text-subtle); }
.price-card__features { flex: 1; }

/* ---------- 22b. Pricing comparison table ------------------------------- */
.cmp-scroll { position: relative; }

.cmp-hint {
  display: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-subtle);
  text-align: right;
  margin-bottom: 0.5rem;
}
@media (max-width: 900px) { .cmp-hint { display: block; } }

/* Below the breakpoint the table scrolls sideways, so this box is the scroll
   container. Above it the table fits, and overflow goes back to visible — which
   is what lets the header stick to the viewport instead of to this box. */
.cmp-wrap {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--sh-md);
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 1100px) { .cmp-wrap { overflow: visible; } }

.cmp {
  width: 100%;
  min-width: 780px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
}

/* --- Header: plan, price and CTA together so you compare cost with limits --- */
.cmp thead th {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 1rem 1rem;
  text-align: center;
  vertical-align: top;
}
/* Only stick where the wrapper is not a scroll container (see .cmp-wrap above). */
@media (min-width: 1100px) {
  .cmp thead th { position: sticky; top: var(--header-h); z-index: 3; }
  .cmp thead th:first-child { border-top-left-radius: var(--r-xl); }
  .cmp thead th:last-child { border-top-right-radius: var(--r-xl); }
}
.cmp__corner {
  z-index: 4;
  text-align: left !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  vertical-align: bottom !important;
}
.cmp__head { position: relative; min-width: 9.5rem; }
.cmp__head.is-popular { background: var(--brand-50); }
.cmp__flag {
  display: block;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 0.15rem;
}
.cmp__plan { display: block; font-size: 1rem; font-weight: 760; color: var(--ink-900); }
.cmp__price {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.15rem;
  font-weight: 780;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}
.cmp__price small { font-size: 0.7rem; font-weight: 550; color: var(--text-subtle); }
.cmp__cta { margin-top: 0.6rem; width: 100%; justify-content: center; }

/* --- Sticky label column, only while the table actually scrolls sideways --- */
.cmp tbody th[scope="row"],
.cmp__corner { background: var(--white); }

@media (max-width: 1099px) {
  .cmp tbody th[scope="row"],
  .cmp__corner {
    position: sticky;
    left: 0;
    z-index: 2;
  }
  .cmp__group-label {
    position: sticky;
    left: 1rem;
    display: inline-block;
  }
  .cmp tbody th[scope="row"]::after,
  .cmp__corner::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: -1px;
    width: 1px;
    background: var(--border);
    box-shadow: 6px 0 8px -6px rgba(12, 16, 36, 0.16);
  }
}

.cmp__group th {
  background: var(--bg-brand-soft);
  color: var(--brand-800);
  text-align: left;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-top: 1px solid var(--border);
}

.cmp tbody td,
.cmp tbody th[scope="row"] {
  border-top: 1px solid var(--ink-100);
  padding: 0.78rem 1rem;
  vertical-align: middle;
}
.cmp tbody th[scope="row"] {
  text-align: left;
  font-weight: 620;
  color: var(--ink-800);
  white-space: nowrap;
}
.cmp tbody td {
  text-align: center;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}
.cmp tbody td.is-popular { background: color-mix(in srgb, var(--brand-50) 62%, transparent); }
.cmp tbody tr:hover td { background: var(--ink-50); }
.cmp tbody tr:hover td.is-popular { background: var(--brand-50); }
.cmp tbody tr:hover th[scope="row"] { background: var(--ink-50); }

/* Included / not-included marks read faster than the words */
.cmp__yes {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--mint-100);
  color: var(--mint-600);
}
.cmp__yes svg { width: 12px; height: 12px; }
.cmp__no {
  display: inline-block;
  width: 14px; height: 2px;
  border-radius: 2px;
  background: var(--ink-300);
  vertical-align: middle;
}
.cmp__cell--text { color: var(--ink-700); }

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

/* ---------- 23. FAQ ------------------------------------------------------ */
.faq { display: grid; gap: 0.65rem; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq__item[open] { border-color: var(--brand-200); box-shadow: var(--sh-md); }
.faq__q {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.05rem 1.25rem;
  font-weight: 650; font-size: 1rem;
  cursor: pointer; list-style: none;
  color: var(--ink-900);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--brand-700); }
.faq__icon {
  margin-left: auto; flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink-50); color: var(--ink-600);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.faq__icon svg { width: 13px; height: 13px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--brand-50); color: var(--brand-600); }
.faq__a { padding: 0 1.25rem 1.25rem; color: var(--text-muted); max-width: 74ch; }

/* ---------- 24. CTA band ------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-2xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #241E6E 0%, var(--brand-600) 44%, #7C4DF0 100%);
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(46% 60% at 88% 10%, rgba(0, 194, 168, 0.4), transparent 65%),
    radial-gradient(40% 55% at 8% 92%, rgba(255, 107, 87, 0.32), transparent 66%);
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0; z-index: -1; opacity: 0.28;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(90% 90% at 50% 50%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(90% 90% at 50% 50%, #000, transparent 78%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.8); }
.cta-band__inner { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.15fr 0.85fr; } }

/* ---------- 25. Page hero (inner pages) ---------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(2.75rem, 6vw, 4.75rem) clamp(2rem, 4vw, 3.25rem);
  background: linear-gradient(180deg, var(--brand-50) 0%, rgba(247, 248, 252, 0) 100%);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: -40% 20% auto -20%; height: 420px; z-index: -1;
  background: radial-gradient(45% 50% at 40% 40%, rgba(81, 69, 229, 0.14), transparent 70%);
}
.page-hero__inner { max-width: 780px; }
.page-hero__inner > * + * { margin-top: var(--sp-4); }
.page-hero--center .page-hero__inner { margin-inline: auto; text-align: center; }
.page-hero--center .lede { margin-inline: auto; }
.page-hero--center .btn-row { justify-content: center; }

.crumbs svg { width: 14px; height: 14px; }
.crumbs { display: flex; gap: 0.4rem; align-items: center; font-size: 0.82rem; color: var(--text-subtle); }
.crumbs a { color: var(--text-subtle); }
.crumbs a:hover { color: var(--brand-600); }

/* ---------- 26. Forms ---------------------------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.form-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 0.86rem; font-weight: 650; color: var(--ink-800); }
.field__label .req { color: var(--coral-600); }
.field__input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--ink-900);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}
.field__input::placeholder { color: var(--ink-400); }
.field__input:hover { border-color: var(--border-strong); }
.field__input:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 4px rgba(81, 69, 229, 0.13);
}
.field__input--area { resize: vertical; min-height: 118px; line-height: 1.55; }
.field__input--select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7396' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  padding-right: 2.4rem;
}
.field__help { font-size: 0.78rem; color: var(--text-subtle); }
.field__error { font-size: 0.8rem; color: var(--coral-600); font-weight: 550; }
.field.has-error .field__input { border-color: var(--coral-500); }
.field.has-error .field__input:focus { box-shadow: 0 0 0 4px rgba(255, 107, 87, 0.14); }

.choice-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice-grid label {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 0.87rem; font-weight: 580; color: var(--ink-700);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.choice-grid label:hover { border-color: var(--brand-300); color: var(--brand-700); }
.choice-grid input { accent-color: var(--brand-500); width: 15px; height: 15px; cursor: pointer; }
.choice-grid label:has(input:checked) {
  border-color: var(--brand-500); background: var(--brand-50); color: var(--brand-700);
}
.choice-grid ul, .choice-grid li,
.choice-grid > div, .choice-grid > div > div { display: contents; list-style: none; }

.consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.86rem; color: var(--text-muted); }
.consent input { accent-color: var(--brand-500); width: 17px; height: 17px; margin-top: 2px; flex: none; cursor: pointer; }

.form-aside { display: grid; gap: var(--sp-5); align-content: start; }
.contact-line { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-line__icon {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600);
}
.contact-line__icon svg { width: 19px; height: 19px; }
.contact-line__label { display: block; font-size: 0.78rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-subtle); }
.contact-line__value { display: block; font-weight: 620; color: var(--ink-900); }

/* ---------- 27. Messages ------------------------------------------------- */
.messages { display: grid; gap: 0.6rem; padding-top: var(--sp-4); }
.message {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.8rem 1.1rem;
  border-radius: var(--r-md);
  font-size: 0.9rem; font-weight: 550;
  border: 1px solid;
}
.message svg { width: 18px; height: 18px; flex: none; }
.message--success { background: var(--mint-100); color: #05564B; border-color: #B6EFE4; }
.message--error { background: var(--coral-100); color: #97281A; border-color: #FFD2C9; }
.message--info { background: var(--brand-50); color: var(--brand-800); border-color: var(--brand-100); }

/* ---------- 27b. Locale badge ------------------------------------------- */
.flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--brand-100);
  box-shadow: var(--sh-xs);
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--brand-700);
}
.flag-badge__flag {
  font-size: 1.05rem;
  line-height: 1;
  /* Windows has no flag glyphs; the text beside it carries the meaning. */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.hero__built {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: var(--sp-4);
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- 28. Footer --------------------------------------------------- */
.site-footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.7);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; inset: auto -10% -60% -10%; height: 340px;
  background: radial-gradient(40% 60% at 20% 50%, rgba(81, 69, 229, 0.4), transparent 70%),
              radial-gradient(35% 55% at 78% 40%, rgba(0, 194, 168, 0.22), transparent 70%);
  filter: blur(20px);
}
.site-footer > * { position: relative; }
.site-footer a { color: rgba(255, 255, 255, 0.7); }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer h5 {
  color: #fff; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.9rem;
}
.footer__grid { display: grid; gap: var(--sp-6); }
@media (min-width: 720px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.footer__links { list-style: none; padding: 0; display: grid; gap: 0.6rem; font-size: 0.9rem; }
.footer__blurb { font-size: 0.92rem; max-width: 34ch; margin-top: var(--sp-4); }

.newsletter { margin-top: var(--sp-5); }
.newsletter__row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.newsletter .field__input {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  flex: 1; min-width: 200px;
}
.newsletter .field__input::placeholder { color: rgba(255, 255, 255, 0.42); }
.newsletter .field__input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.socials { display: flex; gap: 0.5rem; margin-top: var(--sp-5); }
.socials a {
  width: 38px; height: 38px; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--dur) var(--ease);
}
.socials a:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

.footer__bottom {
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: 0.85rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__built {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
}
@media (max-width: 520px) {
  .footer__built { margin-left: 0; padding-left: 0; border-left: 0; display: flex; margin-top: 0.4rem; }
}

/* ---------- 29. Prose (legal pages) ------------------------------------- */
.prose { max-width: 72ch; color: var(--text-muted); }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { font-size: var(--step-2); color: var(--ink-900); margin-top: var(--sp-7); }
.prose h3 { font-size: var(--step-1); color: var(--ink-900); margin-top: var(--sp-6); }
.prose ul, .prose ol { padding-left: 1.35rem; display: grid; gap: 0.5rem; }
.prose strong { color: var(--ink-900); }

/* ---------- 30. Misc ----------------------------------------------------- */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--brand-600); color: #fff;
  padding: 0.7rem 1.1rem; border-radius: var(--r-md); font-weight: 620;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

.divider { height: 1px; background: var(--border); border: 0; }

.dark-section {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.76);
  position: relative;
  overflow: hidden;
}
.dark-section h1, .dark-section h2, .dark-section h3 { color: #fff; }
.dark-section .lede { color: rgba(255, 255, 255, 0.72); }
.dark-section .eyebrow { color: var(--mint-500); }

/* Scroll reveal only applies when JS is running — without it, content is simply visible.
   The `js` class is set by an inline script in <head> before first paint. */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Chat widget -------------------------------------------------- */
/* One button toggles a rounded iframe. No chrome of our own — the embedded
   app draws its own header. The wrapper carries the radius because Safari
   does not clip iframe content to a border-radius on the iframe itself. */
.chat-widget {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-3);
}

/* Belt and braces: any author `display` added here would outrank the UA's
   [hidden] rule and the panel could never close. Pin it. */
.chat-widget__panel[hidden] { display: none; }
.chat-widget__panel {
  width: min(392px, calc(100vw - var(--sp-6)));
  height: min(620px, calc(100vh - 140px));
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  animation: chat-widget-in 0.32s var(--ease) both;
}

.chat-widget__frame { width: 100%; height: 100%; border: 0; display: block; }

.chat-widget__launcher {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--brand-500);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--sh-brand);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.chat-widget__launcher:hover { background: var(--brand-600); transform: translateY(-2px); }
.chat-widget__launcher:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 3px; }
/* Which icon shows is driven by aria-expanded, the same attribute the button
   already exposes to assistive tech — no reliance on the UA's [hidden] rule,
   which any author `display` declaration would outrank. */
.chat-widget__icon { display: none; place-items: center; }
.chat-widget__launcher[aria-expanded="false"] [data-chat-icon="open"],
.chat-widget__launcher[aria-expanded="true"] [data-chat-icon="close"] { display: grid; }
.chat-widget__launcher svg { width: 26px; height: 26px; }

@keyframes chat-widget-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  .chat-widget { right: var(--sp-4); bottom: var(--sp-4); left: var(--sp-4); }
  .chat-widget__panel { width: 100%; height: min(76vh, calc(100vh - 120px)); }
}

/* Printing a chat launcher helps nobody. */
@media print { .chat-widget { display: none; } }
