/* ==========================================================================
   Tiber Lake website. Generated from apps/web/site-src/css/*.css by build.mjs;
   edit those files, not assets/css/styles.css.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
}

:root {
  /* brand */
  --emerald: #0E3B2E;
  --emerald-deep: #0A2D23;
  --emerald-ink: #072019;
  --night: #05120e;
  --teal: #1D7A6E;
  --teal-deep: #17665C;
  --sky-teal: #7FC4B8;
  --gold: #C9A24B;
  --gold-soft: #DCC07E;
  --gold-ink: #86671F;
  --mist: #F7F5EF;
  --mist-2: #EEE9DD;
  --paper: #FBFAF6;
  --ink: #1E2A27;
  --ink-2: #4E5B57;
  --sage: #A8BFB0;
  --wa-green: #25D366;

  /* type */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: var(--font-body);
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --font-ui: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;

  /* layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 11vw, 168px);
  --header-h: 76px;
  --radius: 2px;          /* kept for the demo page and the assistant widget */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;

  /* motion */
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Section themes. Every section sets data-theme; components read these tokens. */
/* alt is light with a warmer background; it repeats the light tokens so it also works inside a dark page */
:root,
[data-theme='light'],
[data-theme='alt'],
.theme-light {
  --tl-bg: var(--paper);
  --tl-surface: #ffffff;
  --tl-surface-2: #f3f1ea;
  --tl-fg: #2a3633;
  --tl-heading: #0b2019;
  --tl-muted: #59665f;
  --tl-line: rgba(30, 42, 39, 0.12);
  --tl-line-strong: rgba(30, 42, 39, 0.28);
  --tl-accent: var(--teal);
  --tl-link: var(--teal);
  --tl-kicker: var(--teal);
}
[data-theme='alt'] {
  --tl-bg: #f1eee6;
  --tl-surface: #ffffff;
  --tl-surface-2: #e9e5da;
}
[data-theme='dark'],
.theme-dark {
  --tl-bg: var(--night);
  --tl-surface: rgba(255, 255, 255, 0.06);
  --tl-surface-2: rgba(255, 255, 255, 0.1);
  --tl-fg: rgba(242, 240, 233, 0.86);
  --tl-heading: #fbfaf6;
  --tl-muted: rgba(242, 240, 233, 0.62);
  --tl-line: rgba(255, 255, 255, 0.12);
  --tl-line-strong: rgba(255, 255, 255, 0.26);
  --tl-accent: var(--gold-soft);
  --tl-link: var(--gold-soft);
  --tl-kicker: var(--gold-soft);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  color: var(--tl-fg);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (max-width: 640px) { body { font-size: 16px; } }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--tl-heading);
  text-wrap: balance;
}
p, li { text-wrap: pretty; }
strong, b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(201, 162, 75, 0.35); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--emerald-ink);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section);
  background: var(--tl-bg);
  color: var(--tl-fg);
}
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--solid { background: var(--tl-bg); }

/* type helpers */
.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--tl-kicker);
}
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.eyebrow::before { display: none; }
.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tl-muted);
}
.display { font-size: clamp(44px, 6.2vw, 92px); letter-spacing: -0.04em; line-height: 1; }
.h2 { font-size: clamp(34px, 4.4vw, 62px); letter-spacing: -0.035em; line-height: 1.03; }
.h3 { font-size: clamp(21px, 1.6vw, 25px); letter-spacing: -0.015em; line-height: 1.2; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--tl-muted); }
.muted { color: var(--tl-muted); }
.mono { font-family: var(--font-mono); font-size: 0.86em; letter-spacing: 0; }
.numeral { font-variant-numeric: tabular-nums; }
.accent { color: var(--tl-accent); }

.section-head {
  display: grid;
  gap: 18px;
  max-width: 780px;
  margin-bottom: clamp(44px, 6vw, 80px);
}
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head__intro { font-size: clamp(18px, 1.4vw, 20px); color: var(--tl-muted); }

/* links in running text */
.text-link {
  color: var(--tl-link);
  font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.35s var(--ease-out);
}
.text-link:hover { background-size: 100% 1.5px; }

/* reveal on scroll (main.js adds .is-in); without JS everything is visible */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal='scale'] { transform: scale(0.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: #fbfaf6;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 18, 14, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }
/* over light sections the header turns light: main.js sets data-tone from the section beneath it */
.site-header[data-tone='light'] { color: var(--emerald-ink); }
.site-header[data-tone='light']::before { background: rgba(251, 250, 246, 0.8); }
.site-header[data-tone='light'].is-scrolled { box-shadow: 0 1px 0 rgba(14, 59, 46, 0.08); }
.site-header[data-tone='light'] .brand__light { display: none; }
.site-header[data-tone='light'] .brand__dark { display: block; }
.site-header[data-tone='light'] .btn--glass { color: var(--emerald-ink); border-color: rgba(14, 59, 46, 0.22); background: rgba(14, 59, 46, 0.04); }
.site-header[data-tone='light'] .btn--glass .wa-icon { color: #1faa53; }
.site-header[data-tone='light'] .menu-toggle { color: var(--emerald-ink); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 138px; height: auto; }
.brand__dark { display: none; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__links { display: flex; gap: 28px; list-style: none; }
.nav__links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.86;
  transition: opacity 0.2s;
}
.nav__links a:hover,
.nav__links a[aria-current='page'] { opacity: 1; }
.nav__links a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
.nav__live { display: inline-flex; align-items: center; gap: 8px; }
.nav__live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6);
  animation: live-pulse 2.2s infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}
.nav__actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: none;
  font-size: 14px;
  font-weight: 600;
}
.menu-toggle__icon { position: relative; width: 16px; height: 10px; }
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}
.menu-toggle__icon::before { top: 1px; }
.menu-toggle__icon::after { top: 7px; }
.menu-open .menu-toggle__icon::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle__icon::after { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--night);
  color: #fbfaf6;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu__links { list-style: none; display: grid; gap: 6px; }
.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  font-size: clamp(30px, 8vw, 44px);
  font-weight: 650;
  letter-spacing: -0.03em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu__num { font-family: var(--font-mono); font-size: 13px; color: var(--gold-soft); }
.mobile-menu__foot { display: grid; gap: 18px; }
.mobile-menu__contact { display: grid; gap: 6px; color: rgba(242, 240, 233, 0.7); }
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 961px) { .mobile-menu { display: none; } }

/* ---------------------------------------------------------------- footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 120px) 0 36px;
  background: var(--night);
  color: var(--tl-fg);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr) 1.3fr;
  gap: 40px;
}
.footer-brand img { width: 168px; }
.footer-brand p { margin-top: 18px; max-width: 300px; color: var(--tl-muted); font-size: 15px; }
.site-footer h2 {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(242, 240, 233, 0.5);
}
.site-footer ul { list-style: none; display: grid; gap: 10px; font-size: 15px; }
.site-footer a { transition: color 0.2s; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-contact li { display: grid; gap: 2px; }
.footer-contact li span { font-size: 13px; color: rgba(242, 240, 233, 0.5); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 24px;
  border-top: 1px solid var(--tl-line);
  font-size: 13px;
  color: rgba(242, 240, 233, 0.5);
}
.footer-bottom ul { display: flex; gap: 22px; }
@media (max-width: 1020px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* the WhatsApp button that stays in reach */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5);
  transition: transform 0.3s var(--ease-out);
  animation: wa-ring 3.2s 4s infinite;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); }
/* the hero already has a WhatsApp button; the floating one comes in once it scrolls away */
.wa-float { transition: transform 0.3s var(--ease-out), opacity 0.35s, visibility 0.35s; }
.hero-in-view .wa-float { opacity: 0; visibility: hidden; transform: scale(0.8); }
@keyframes wa-ring {
  0% { box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  60%, 100% { box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) { .wa-float, .nav__live::before { animation: none; } }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 150;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--emerald-ink);
  color: #fff;
  font-size: 14px;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .arrow { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--gold { background: var(--gold); color: var(--emerald-ink); box-shadow: 0 10px 30px -12px rgba(201, 162, 75, 0.7); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--emerald { background: var(--emerald); color: #fff; box-shadow: 0 10px 30px -14px rgba(14, 59, 46, 0.8); }
.btn--emerald:hover { background: var(--teal-deep); }
.btn--ghost { border-color: var(--tl-line-strong); color: var(--tl-heading); background: transparent; }
.btn--ghost:hover { border-color: var(--tl-heading); }
.btn--wa { background: var(--wa-green); color: #062a16; }
.btn--wa:hover { background: #3ee37a; }
.btn--glass {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.16); }
.btn--glass .wa-icon { color: var(--wa-green); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--tl-link);
}
.link-arrow .arrow { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover .arrow { transform: translateX(4px); }

.icon-line { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--tl-line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--tl-fg);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.chip:hover { border-color: var(--tl-heading); }
.chip[aria-pressed='true'] { background: var(--tl-heading); border-color: var(--tl-heading); color: var(--tl-bg); }

/* ------------------------------------------------- "the agent just did this" */
.act-card {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(14, 40, 32, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  color: #fbfaf6;
  animation: act-in 0.6s var(--ease-out) both;
}
.act-card__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(61, 220, 132, 0.16);
  color: #4be08f;
}
.act-card__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.act-card b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.act-card span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: rgba(242, 240, 233, 0.66); }
@keyframes act-in {
  from { opacity: 0; transform: translateX(-18px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .act-card { animation: none; } }

/* ------------------------------------------------------------- CRM record */
.crm-card {
  width: 300px;
  border-radius: var(--r-md);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.6) inset, 0 40px 80px -30px rgba(7, 32, 25, 0.45), 0 0 0 1px rgba(14, 59, 46, 0.08);
  overflow: hidden;
  font-size: 14px;
}
.crm-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--emerald);
  color: #fff;
}
.crm-card__head b { font-size: 14px; font-weight: 600; }
.crm-card__head small { display: block; font-size: 12px; opacity: 0.7; font-family: var(--font-mono); }
.crm-card__status {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(220, 192, 126, 0.2);
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.3s;
}
.crm-card[data-stage='3'] .crm-card__status { background: rgba(75, 224, 143, 0.2); color: #7ef0b0; }
.crm-card__rows { list-style: none; padding: 6px 16px 12px; }
.crm-card__rows li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(30, 42, 39, 0.08);
  opacity: 0.18;
  transition: opacity 0.5s var(--ease-out);
}
.crm-card__rows li:last-child { border-bottom: 0; }
.crm-card__rows li.is-on { opacity: 1; }
.crm-card__rows span { color: var(--ink-2); font-size: 12.5px; }
.crm-card__rows strong { font-weight: 600; font-size: 13.5px; }
.crm-card__rows li.is-on strong { animation: crm-fill 0.7s var(--ease-out); }
@keyframes crm-fill { from { background: rgba(201, 162, 75, 0.35); } to { background: transparent; } }

/* -------------------------------------------------------------- call summary */
.call-summary {
  width: 300px;
  padding: 18px 18px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: #fbfaf6;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.call-summary.is-in { opacity: 1; transform: none; }
.no-js .call-summary { opacity: 1; transform: none; }
.call-summary__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.call-summary__head b { font-size: 15px; }
.call-summary__head span { font-family: var(--font-mono); font-size: 12.5px; color: rgba(242, 240, 233, 0.6); }
.call-summary dl { margin: 0; }
.call-summary dl div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; }
.call-summary dt { color: rgba(242, 240, 233, 0.55); }
.call-summary dd { margin: 0; font-weight: 500; }

/* ------------------------------------------------------------------ forms */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; align-content: start; gap: 7px; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--tl-heading); }
.field small { font-size: 13px; line-height: 1; color: var(--tl-muted); font-weight: 400; }
.field legend { padding: 0; }
.input,
.field input:not([type='checkbox']),
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--tl-line-strong);
  border-radius: 14px;
  background: var(--tl-surface);
  color: var(--tl-heading);
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: var(--tl-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tl-accent) 22%, transparent); }
.field input::placeholder, .field textarea::placeholder { color: var(--tl-muted); opacity: 0.75; }
.field.has-error input, .field.has-error textarea { border-color: #e5484d; }
.field__error { font-size: 13px; color: #ff8f8f; }
[data-theme='light'] .field__error { color: #c62828; }
fieldset.field { margin: 0; padding: 0; border: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--tl-muted); }
/* inside a .field the consent sentence is body text, not a field label */
.field .check { font-weight: 400; color: var(--tl-fg); }
.check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); }
.check a { color: var(--tl-link); text-decoration: underline; text-underline-offset: 2px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--tl-line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tl-fg);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.pick input:checked + span { background: var(--tl-heading); color: var(--tl-bg); border-color: var(--tl-heading); }
.pick input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* The status line: main.js fills it and sets data-tone. While empty it stays in the accessibility
   tree (so the message is announced) but takes no space. */
.form-status {
  padding: 16px 18px;
  border: 1px solid rgba(75, 224, 143, 0.4);
  border-radius: 14px;
  background: rgba(75, 224, 143, 0.14);
  color: var(--tl-heading);
  font-size: 15px;
}
.form-status[data-tone='error'] { border-color: rgba(229, 72, 77, 0.4); background: rgba(229, 72, 77, 0.12); }
.form-status[hidden] { display: none; }
.form-status:empty { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); }
.form-status a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.form-actions p { flex: 1 1 220px; font-size: 14px; color: var(--tl-muted); }
form[aria-busy='true'] button[type='submit'] { opacity: 0.6; cursor: progress; }

/* -------------------------------------------------------------- questions */
.faq { display: grid; border-top: 1px solid var(--tl-line); }
.faq details { border-bottom: 1px solid var(--tl-line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--tl-heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--tl-line-strong);
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.6px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.6px 12px no-repeat;
  transition: transform 0.35s var(--ease-out), background-size 0.35s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 60px 26px 0; color: var(--tl-muted); max-width: 820px; }
.faq details > div p + p { margin-top: 10px; }

/* --------------------------------------------------------------- tick lists */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.ticks li::before {
  content: '';
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7 10 16 5.5 11.5'/%3E%3C/svg%3E") center / 13px no-repeat,
    var(--tl-accent);
}
[data-theme='dark'] .ticks li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23072019' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7 10 16 5.5 11.5'/%3E%3C/svg%3E") center / 13px no-repeat,
    var(--gold-soft);
}

/* --------------------------------------------------------- generic cards */
.card {
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--tl-line);
  border-radius: var(--r-lg);
  background: var(--tl-surface);
}
.card h3 { font-size: clamp(20px, 1.55vw, 23px); letter-spacing: -0.015em; }
.card p { margin-top: 10px; color: var(--tl-muted); }
.icon-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--tl-accent) 14%, transparent);
  color: var(--tl-accent);
}
.icon-badge svg { width: 24px; height: 24px; }

/* ==========================================================================
   iPhone (15 Pro proportions) and the iOS WhatsApp screen inside it.
   Everything is measured in --u, one iOS point at the current device size:
   the device is 427 points wide (393 screen + 2 x 17 border), so setting
   --dw scales the whole phone, text included.
   ========================================================================== */

.iphone {
  --dw: 360px;
  --u: calc(var(--dw) / 427);
  --ti-1: #c9b39a;
  --ti-2: #efe2d2;
  --ti-3: #9f876e;
  --ti-4: #dccab6;
  position: relative;
  width: var(--dw);
  aspect-ratio: 427 / 886;
  flex: none;
  border-radius: calc(72 * var(--u));
  padding: calc(4 * var(--u));
  background:
    linear-gradient(135deg, var(--ti-1) 0%, var(--ti-2) 16%, var(--ti-3) 34%, var(--ti-4) 52%, var(--ti-3) 74%, var(--ti-2) 92%, var(--ti-1) 100%);
  box-shadow:
    inset 0 0 0 calc(1 * var(--u)) rgba(255, 255, 255, 0.45),
    inset 0 0 calc(3 * var(--u)) rgba(60, 40, 20, 0.55),
    0 calc(2 * var(--u)) calc(3 * var(--u)) rgba(0, 0, 0, 0.25),
    0 calc(40 * var(--u)) calc(80 * var(--u)) calc(-12 * var(--u)) rgba(2, 14, 10, 0.55),
    0 calc(90 * var(--u)) calc(140 * var(--u)) calc(-40 * var(--u)) rgba(2, 14, 10, 0.45);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
.iphone--graphite {
  --ti-1: #4a4b4f;
  --ti-2: #8a8b90;
  --ti-3: #2d2e31;
  --ti-4: #6b6c70;
}

/* side buttons: action, volume up/down on the left, side button on the right */
.iphone__btn {
  position: absolute;
  width: calc(3.5 * var(--u));
  border-radius: calc(2 * var(--u));
  background: linear-gradient(90deg, var(--ti-3), var(--ti-2) 55%, var(--ti-3));
  box-shadow: 0 0 calc(1 * var(--u)) rgba(0, 0, 0, 0.35);
}
.iphone__btn--action { left: calc(-2.5 * var(--u)); top: calc(152 * var(--u)); height: calc(30 * var(--u)); }
.iphone__btn--up { left: calc(-2.5 * var(--u)); top: calc(212 * var(--u)); height: calc(58 * var(--u)); }
.iphone__btn--down { left: calc(-2.5 * var(--u)); top: calc(284 * var(--u)); height: calc(58 * var(--u)); }
.iphone__btn--side { right: calc(-2.5 * var(--u)); top: calc(236 * var(--u)); height: calc(92 * var(--u)); }

.iphone__bezel {
  position: relative;
  height: 100%;
  border-radius: calc(68 * var(--u));
  padding: calc(13 * var(--u));
  background: #050505;
  box-shadow: inset 0 0 0 calc(1.5 * var(--u)) #1b1b1b;
}
.iphone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: calc(55 * var(--u));
  background: #fff;
  isolation: isolate;
  font-size: calc(16 * var(--u));
  line-height: 1.32;
  color: #111b21;
}
/* glass: a faint diagonal sheen over everything */
.iphone__screen::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 28%, rgba(255, 255, 255, 0) 42%);
}
.iphone__island {
  position: absolute;
  top: calc(11 * var(--u));
  left: 50%;
  z-index: 25;
  width: calc(125 * var(--u));
  height: calc(37 * var(--u));
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}
.iphone__island::after {   /* the front camera, barely visible */
  content: '';
  position: absolute;
  top: 50%;
  right: calc(22 * var(--u));
  width: calc(11 * var(--u));
  height: calc(11 * var(--u));
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #27304a 0 20%, #0b0d14 55%);
  transform: translateY(-50%);
}
.iphone__home {
  position: absolute;
  bottom: calc(8 * var(--u));
  left: 50%;
  z-index: 25;
  width: calc(134 * var(--u));
  height: calc(5 * var(--u));
  border-radius: 999px;
  background: #111;
  transform: translateX(-50%);
}
.iphone__screen--dark .iphone__home { background: #f2f2f2; }

/* iOS status bar */
.ios-status {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(54 * var(--u));
  padding: calc(4 * var(--u)) calc(34 * var(--u)) 0 calc(52 * var(--u));
  font-size: calc(17 * var(--u));
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #000;
}
.iphone__screen--dark .ios-status { color: #fff; }
.ios-status__icons { display: flex; align-items: center; gap: calc(6 * var(--u)); }
.ios-status__icons svg { display: block; height: calc(12 * var(--u)); width: auto; fill: currentColor; }
.ios-status__icons svg.ios-battery { height: calc(13 * var(--u)); }

/* ---------------------------------------------------------------- WhatsApp */
.wa-app {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #efeae2;
}
.wa-app__head {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  padding: calc(54 * var(--u)) calc(12 * var(--u)) calc(8 * var(--u)) calc(6 * var(--u));
  background: rgba(247, 247, 247, 0.94);
  border-bottom: calc(0.5 * var(--u)) solid rgba(0, 0, 0, 0.12);
}
.wa-app__back { display: flex; align-items: center; color: #007aff; font-size: calc(17 * var(--u)); }
.wa-app__back svg { width: calc(12 * var(--u)); height: calc(21 * var(--u)); stroke: currentColor; stroke-width: 2.6; fill: none; }
.wa-app__back span { margin-left: calc(4 * var(--u)); font-size: calc(16 * var(--u)); }
.wa-app__avatar {
  flex: none;
  width: calc(36 * var(--u));
  height: calc(36 * var(--u));
  border-radius: 50%;
  object-fit: cover;
  background: #dfe5e7;
}
.wa-app__who { min-width: 0; flex: 1; line-height: 1.15; }
.wa-app__name {
  display: flex;
  align-items: center;
  gap: calc(4 * var(--u));
  font-size: calc(16.5 * var(--u));
  font-weight: 600;
  color: #000;
  white-space: nowrap;
}
.wa-app__name svg { flex: none; width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.wa-app__sub {
  margin-top: calc(2 * var(--u));
  font-size: calc(12.5 * var(--u));
  color: #6c7a80;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wa-app__sub.is-typing { color: #00a884; }
.wa-app__tools { display: flex; gap: calc(18 * var(--u)); color: #007aff; }
.wa-app__tools svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); fill: none; stroke: currentColor; stroke-width: 1.8; }

.wa-app__body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background-color: #efeae2;
  background-image: url('../img/showcase/wa-wallpaper-v1.svg');
  background-size: calc(260 * var(--u));
}
.wa-app__scroll {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: calc(3 * var(--u));
  padding: calc(10 * var(--u)) calc(10 * var(--u)) calc(8 * var(--u));
}
.wa-app__track { display: flex; flex-direction: column; gap: calc(3 * var(--u)); transition: transform 0.5s var(--ease-out); }

.wa-day {
  align-self: center;
  margin: calc(4 * var(--u)) 0 calc(8 * var(--u));
  padding: calc(4 * var(--u)) calc(10 * var(--u));
  border-radius: calc(8 * var(--u));
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 calc(1 * var(--u)) calc(0.5 * var(--u)) rgba(11, 20, 26, 0.13);
  font-size: calc(12 * var(--u));
  font-weight: 500;
  color: #54656f;
}

.wa-msg {
  position: relative;
  max-width: 80%;
  padding: calc(6 * var(--u)) calc(8 * var(--u)) calc(7 * var(--u)) calc(9 * var(--u));
  border-radius: calc(8 * var(--u));
  background: #fff;
  box-shadow: 0 calc(1 * var(--u)) calc(0.5 * var(--u)) rgba(11, 20, 26, 0.13);
  font-size: calc(16.5 * var(--u));
  line-height: 1.32;
  color: #111b21;
  word-wrap: break-word;
  transform-origin: 0 100%;
}
.wa-msg--in { align-self: flex-start; border-top-left-radius: 0; }
.wa-msg--out { align-self: flex-end; border-top-right-radius: 0; background: #d9fdd3; transform-origin: 100% 100%; }
.wa-msg--cont { border-radius: calc(8 * var(--u)); }
/* the little tail on the first bubble of a run */
.wa-msg--in:not(.wa-msg--cont)::before,
.wa-msg--out:not(.wa-msg--cont)::before {
  content: '';
  position: absolute;
  top: 0;
  width: calc(8 * var(--u));
  height: calc(13 * var(--u));
  background: inherit;
}
.wa-msg--in:not(.wa-msg--cont)::before { left: calc(-7 * var(--u)); clip-path: polygon(100% 0, 0 0, 100% 100%); }
.wa-msg--out:not(.wa-msg--cont)::before { right: calc(-7 * var(--u)); clip-path: polygon(0 0, 100% 0, 0 100%); }
.wa-msg__text { white-space: pre-line; }
.wa-msg__meta {
  float: right;
  display: inline-flex;
  align-items: center;
  gap: calc(3 * var(--u));
  margin: calc(6 * var(--u)) calc(-2 * var(--u)) calc(-4 * var(--u)) calc(10 * var(--u));
  font-size: calc(11 * var(--u));
  color: #667781;
  line-height: 1;
}
.wa-msg__meta svg { width: calc(16 * var(--u)); height: calc(11 * var(--u)); fill: none; stroke: #8696a0; stroke-width: 1.6; }
.wa-msg__meta.is-read svg { stroke: #53bdeb; }
.wa-msg.is-new { animation: wa-pop 0.42s var(--ease-out) both; }
@keyframes wa-pop {
  from { opacity: 0; transform: translateY(calc(10 * var(--u))) scale(0.94); }
  to { opacity: 1; transform: none; }
}

/* media inside a bubble */
.wa-msg--media { padding: calc(3 * var(--u)); }
.wa-msg--media .wa-msg__img {
  display: block;
  width: calc(236 * var(--u));
  max-width: 100%;
  height: auto;
  border-radius: calc(6 * var(--u));
}
.wa-msg--media .wa-msg__caption { padding: calc(5 * var(--u)) calc(6 * var(--u)) calc(2 * var(--u)); }
.wa-msg--media .wa-msg__meta { margin-right: calc(4 * var(--u)); }
.wa-msg--media.wa-msg--plain .wa-msg__meta {   /* time over the photo */
  position: absolute;
  right: calc(9 * var(--u));
  bottom: calc(8 * var(--u));
  margin: 0;
  padding: calc(2 * var(--u)) calc(5 * var(--u));
  border-radius: calc(8 * var(--u));
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}
.wa-msg--media.wa-msg--plain .wa-msg__meta svg { stroke: #fff; }

/* cards the agent sends: order, payment link, booking, listing, product */
.wa-card { width: calc(244 * var(--u)); max-width: 100%; }
.wa-card__img { display: block; width: 100%; height: auto; border-radius: calc(6 * var(--u)); margin-bottom: calc(6 * var(--u)); }
.wa-card__kicker { font-size: calc(12 * var(--u)); font-weight: 600; letter-spacing: 0.02em; color: #00806a; text-transform: uppercase; }
.wa-card__title { margin-top: calc(2 * var(--u)); font-weight: 600; font-size: calc(16 * var(--u)); }
.wa-card__sub { color: #667781; font-size: calc(14 * var(--u)); }
.wa-card__rows { margin: calc(6 * var(--u)) 0 0; padding: 0; list-style: none; font-size: calc(14.5 * var(--u)); }
.wa-card__rows li { display: flex; justify-content: space-between; gap: calc(10 * var(--u)); padding: calc(3 * var(--u)) 0; }
.wa-card__rows li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.wa-card__rows li.is-total { margin-top: calc(4 * var(--u)); padding-top: calc(6 * var(--u)); border-top: calc(0.5 * var(--u)) solid rgba(0, 0, 0, 0.15); font-weight: 600; }
.wa-card__note { margin-top: calc(4 * var(--u)); font-size: calc(12 * var(--u)); color: #667781; }
.wa-card--pay {
  display: grid;
  grid-template-columns: calc(40 * var(--u)) 1fr;
  gap: calc(10 * var(--u));
  align-items: center;
  padding: calc(8 * var(--u));
  border-radius: calc(6 * var(--u));
  background: rgba(0, 0, 0, 0.05);
}
.wa-card--pay .wa-card__logo {
  display: grid;
  place-items: center;
  width: calc(40 * var(--u));
  height: calc(40 * var(--u));
  border-radius: calc(8 * var(--u));
  background: #0e3b2e;
  color: #fff;
}
.wa-card--pay .wa-card__logo svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); fill: none; stroke: currentColor; stroke-width: 1.8; }
.wa-card__amount { font-size: calc(17 * var(--u)); font-weight: 700; font-variant-numeric: tabular-nums; }
.wa-card__link { margin-top: calc(6 * var(--u)); color: #027eb5; font-size: calc(14 * var(--u)); word-break: break-all; }

/* buttons under a message */
.wa-actions {
  display: grid;
  gap: calc(1 * var(--u));
  margin: calc(6 * var(--u)) calc(-8 * var(--u)) calc(-7 * var(--u)) calc(-9 * var(--u));
  border-top: calc(0.5 * var(--u)) solid rgba(0, 0, 0, 0.1);
}
.wa-msg--media .wa-actions { margin: calc(6 * var(--u)) calc(-3 * var(--u)) calc(-3 * var(--u)); }
.wa-actions span {
  display: block;
  padding: calc(9 * var(--u)) 0;
  text-align: center;
  font-size: calc(15 * var(--u));
  font-weight: 500;
  color: #027eb5;
}
.wa-actions span + span { border-top: calc(0.5 * var(--u)) solid rgba(0, 0, 0, 0.08); }
.wa-actions span.is-tapped { background: rgba(2, 126, 181, 0.12); }

/* a document the customer sends */
.wa-doc { display: flex; align-items: center; gap: calc(8 * var(--u)); width: calc(220 * var(--u)); padding: calc(6 * var(--u)); border-radius: calc(6 * var(--u)); background: rgba(0, 0, 0, 0.05); }
.wa-doc img { width: calc(46 * var(--u)); height: calc(46 * var(--u)); border-radius: calc(4 * var(--u)); object-fit: cover; }
.wa-doc b { display: block; font-size: calc(14 * var(--u)); font-weight: 600; }
.wa-doc small { font-size: calc(12 * var(--u)); color: #667781; }

/* system lines: payment received, booking confirmed */
.wa-event {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  margin: calc(6 * var(--u)) 0;
  padding: calc(5 * var(--u)) calc(11 * var(--u));
  border-radius: calc(8 * var(--u));
  background: #e3f5ec;
  color: #0b6b4f;
  font-size: calc(12.5 * var(--u));
  font-weight: 600;
  box-shadow: 0 calc(1 * var(--u)) calc(0.5 * var(--u)) rgba(11, 20, 26, 0.1);
}
.wa-event svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); fill: none; stroke: currentColor; stroke-width: 2.2; }

/* the agent is typing */
.wa-typing {
  align-self: flex-start;
  display: inline-flex;
  gap: calc(4 * var(--u));
  padding: calc(11 * var(--u)) calc(13 * var(--u));
  border-radius: calc(8 * var(--u));
  border-top-left-radius: 0;
  background: #fff;
  box-shadow: 0 calc(1 * var(--u)) calc(0.5 * var(--u)) rgba(11, 20, 26, 0.13);
}
.wa-typing i {
  width: calc(7 * var(--u));
  height: calc(7 * var(--u));
  border-radius: 50%;
  background: #93a2a9;
  animation: wa-dot 1.2s infinite ease-in-out;
}
.wa-typing i:nth-child(2) { animation-delay: 0.15s; }
.wa-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes wa-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.55; }
  30% { transform: translateY(calc(-4 * var(--u))); opacity: 1; }
}

/* the input bar */
.wa-app__input {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  padding: calc(7 * var(--u)) calc(12 * var(--u)) calc(30 * var(--u));
  background: rgba(247, 247, 247, 0.96);
  border-top: calc(0.5 * var(--u)) solid rgba(0, 0, 0, 0.1);
  color: #007aff;
}
.wa-app__input svg { flex: none; width: calc(22 * var(--u)); height: calc(22 * var(--u)); fill: none; stroke: currentColor; stroke-width: 1.8; }
.wa-app__field {
  flex: 1;
  min-width: 0;
  min-height: calc(34 * var(--u));
  padding: calc(7 * var(--u)) calc(12 * var(--u));
  border-radius: calc(17 * var(--u));
  border: calc(0.5 * var(--u)) solid rgba(0, 0, 0, 0.14);
  background: #fff;
  font-size: calc(16 * var(--u));
  line-height: 1.3;
  color: #111b21;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.wa-app__field:empty::before { content: ''; }
.wa-app__field.is-typing::after {
  content: '';
  display: inline-block;
  width: calc(1.5 * var(--u));
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -0.15em;
  background: #00a884;
  animation: wa-caret 1s steps(1) infinite;
}
@keyframes wa-caret { 50% { opacity: 0; } }
.wa-app__send {
  display: grid;
  place-items: center;
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
  border-radius: 50%;
  background: #00a884;
  color: #fff;
  transform: scale(0);
  transition: transform 0.25s var(--ease-out);
}
.wa-app__send svg { width: calc(16 * var(--u)); height: calc(16 * var(--u)); fill: currentColor; stroke: none; }
.wa-app__input.has-text .wa-app__send { transform: scale(1); }
.wa-app__input.has-text .wa-app__mic { display: none; }
.wa-app__input:not(.has-text) .wa-app__send { position: absolute; }

/* screen changes between businesses */
.wa-app.is-leaving { animation: wa-leave 0.45s var(--ease-in-out) both; }
.wa-app.is-entering { animation: wa-enter 0.6s var(--ease-out) both; }
@keyframes wa-leave { to { opacity: 0; transform: scale(0.98); filter: blur(4px); } }
@keyframes wa-enter { from { opacity: 0; transform: scale(1.02); filter: blur(4px); } }

/* ------------------------------------------------------------------ Calls */
.ios-call {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(92 * var(--u)) calc(22 * var(--u)) calc(40 * var(--u));
  color: #fff;
  background:
    radial-gradient(120% 70% at 50% 0%, #1c4d3e 0%, rgba(28, 77, 62, 0) 60%),
    linear-gradient(180deg, #0b231c 0%, #050b09 100%);
  text-align: center;
}
.ios-call__avatar {
  width: calc(84 * var(--u));
  height: calc(84 * var(--u));
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 calc(3 * var(--u)) rgba(255, 255, 255, 0.12);
}
.ios-call__name { margin-top: calc(14 * var(--u)); font-size: calc(26 * var(--u)); font-weight: 600; letter-spacing: -0.01em; }
.ios-call__state { margin-top: calc(4 * var(--u)); font-size: calc(15 * var(--u)); color: rgba(255, 255, 255, 0.65); font-variant-numeric: tabular-nums; }
.ios-call__orb {
  position: relative;
  width: calc(150 * var(--u));
  height: calc(150 * var(--u));
  margin: calc(26 * var(--u)) 0 calc(18 * var(--u));
}
.ios-call__orb i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(201, 162, 75, 0.85), rgba(29, 122, 110, 0.55) 45%, rgba(29, 122, 110, 0) 70%);
  filter: blur(calc(6 * var(--u)));
  transform: scale(var(--level, 0.6));
  transition: transform 0.18s ease-out;
}
.ios-call__orb i:nth-child(2) {
  background: radial-gradient(circle at 45% 40%, rgba(127, 196, 184, 0.9), rgba(127, 196, 184, 0) 62%);
  transform: scale(calc(var(--level, 0.6) * 0.8)) translate(6%, 4%);
  mix-blend-mode: screen;
}
.ios-call__orb i:nth-child(3) {
  inset: 32%;
  background: #fff;
  filter: blur(calc(10 * var(--u)));
  opacity: 0.55;
}
.ios-call__captions {
  width: 100%;
  min-height: calc(176 * var(--u));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: calc(8 * var(--u));
  text-align: left;
}
.ios-call__line {
  font-size: calc(15 * var(--u));
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  animation: wa-pop 0.4s var(--ease-out) both;
}
.ios-call__line b {
  display: block;
  margin-bottom: calc(2 * var(--u));
  font-size: calc(11 * var(--u));
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.ios-call__line.is-caller b { color: rgba(255, 255, 255, 0.55); }
.ios-call__buttons {
  display: flex;
  gap: calc(26 * var(--u));
  margin-top: auto;
}
.ios-call__buttons span {
  display: grid;
  place-items: center;
  width: calc(64 * var(--u));
  height: calc(64 * var(--u));
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.ios-call__buttons span.is-end { background: #ff3b30; }
.ios-call__buttons svg { width: calc(26 * var(--u)); height: calc(26 * var(--u)); fill: none; stroke: #fff; stroke-width: 1.8; }

/* the coloured glow around the screen while the agent speaks */
.iphone__glow {
  position: absolute;
  inset: 0;
  z-index: 24;
  pointer-events: none;
  border-radius: inherit;
  padding: calc(3 * var(--u));
  background: conic-gradient(from var(--glow-angle, 0deg), #c9a24b, #7fc4b8, #1d7a6e, #dcc07e, #7fc4b8, #c9a24b);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  filter: blur(calc(1.5 * var(--u)));
  transition: opacity 0.6s ease;
}
.iphone__glow.is-on { opacity: 1; animation: glow-spin 6s linear infinite; }
@property --glow-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes glow-spin { to { --glow-angle: 360deg; } }

@media (prefers-reduced-motion: reduce) {
  .wa-msg.is-new, .ios-call__line, .wa-app.is-entering, .wa-app.is-leaving { animation: none; }
  .wa-typing i, .iphone__glow.is-on { animation: none; }
}

/* ================================================================== hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: max(780px, 100svh);
  padding: calc(var(--header-h) + clamp(20px, 4vh, 52px)) 0 clamp(40px, 6vh, 80px);
  background: var(--night);
  color: var(--tl-fg);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before,
.hero__bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}
.hero__bg::before {
  width: 62vw;
  height: 62vw;
  right: -14vw;
  top: -20vw;
  background: radial-gradient(circle, rgba(29, 122, 110, 0.55), rgba(14, 59, 46, 0) 66%);
  animation: drift-a 22s var(--ease-in-out) infinite alternate;
}
.hero__bg::after {
  width: 44vw;
  height: 44vw;
  left: -16vw;
  bottom: -26vw;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.22), rgba(201, 162, 75, 0) 64%);
  animation: drift-b 26s var(--ease-in-out) infinite alternate;
}
@keyframes drift-a { to { transform: translate(-8vw, 10vw) scale(1.12); } }
@keyframes drift-b { to { transform: translate(10vw, -6vw) scale(1.18); } }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 42%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 70% at 72% 42%, #000 0%, transparent 72%);
}
@media (prefers-reduced-motion: reduce) { .hero__bg::before, .hero__bg::after { animation: none; } }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.hero__title {
  margin-top: 22px;
  font-size: clamp(46px, 5.7vw, 88px);
  font-weight: 680;
  letter-spacing: -0.048em;
  line-height: 0.98;
  color: #fff;
}
.hero__title em { font-style: normal; color: var(--gold-soft); }
.hero__lead {
  max-width: 560px;
  margin-top: 26px;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.55;
  color: rgba(242, 240, 233, 0.74);
}
.hero .btn-row { margin-top: 36px; }
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 34px;
  list-style: none;
  font-size: 14.5px;
  color: rgba(242, 240, 233, 0.62);
}
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 16px; height: 16px; color: var(--gold-soft); }

/* the reel: one phone, five businesses */
.reel { position: relative; display: grid; justify-items: end; gap: 22px; }
.reel__device { position: relative; margin-right: clamp(0px, 3vw, 48px); }
.reel .iphone { --dw: clamp(258px, min(21vw, calc((100svh - 260px) * 0.482)), 316px); }
.reel__halo {
  position: absolute;
  inset: -12% -30% -6%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(29, 122, 110, 0.5), rgba(29, 122, 110, 0));
  filter: blur(20px);
}
.reel__acts {
  position: absolute;
  top: 17%;
  right: calc(100% - 46px);
  display: grid;
  gap: 10px;
  width: 252px;
  z-index: 2;
}
.reel__acts-title {
  position: absolute;
  top: calc(17% - 30px);
  right: calc(100% - 46px + 252px - 252px);
  width: 252px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(242, 240, 233, 0.5);
}
.reel__meta {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: calc(clamp(258px, 21vw, 316px) + 90px);
  margin-right: clamp(-40px, -3vw, 8px);
}
.reel__meta .chips { justify-content: center; }
.reel__meta .chip { min-height: 34px; padding: 0 14px; font-size: 13.5px; border-color: rgba(255, 255, 255, 0.2); color: rgba(242, 240, 233, 0.85); }
.reel__meta .chip[aria-pressed='true'] { background: #fbfaf6; color: var(--emerald-ink); border-color: #fbfaf6; }
.reel__caption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: 14px; color: rgba(242, 240, 233, 0.62); }
.reel__live { color: var(--gold-soft); font-weight: 600; }
.reel__live:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .hero__title { margin-top: 16px; font-size: clamp(38px, 11vw, 46px); }
  .hero__lead { margin-top: 18px; font-size: 16.5px; }
  .hero .btn-row { margin-top: 24px; }
  .hero .btn--lg { min-height: 52px; padding: 0 22px; font-size: 16px; }
  .hero__proof { display: none; }
  .reel .iphone { --dw: min(300px, 80vw); }
}
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .reel { justify-items: center; }
  .reel__device { margin-right: 0; }
  .reel__acts { position: relative; top: auto; right: auto; width: min(360px, 92vw); margin: 18px auto 0; }
  .reel__acts .act-card:not(:first-child) { display: none; }
  .reel__acts-title { display: none; }
  .reel__meta { width: auto; margin-right: 0; }
}

/* ======================================================= the scroll story */
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 5vw, 80px);
}
.story__stage {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  height: calc(100svh - var(--header-h) - 32px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.story__device { position: relative; display: flex; align-items: center; }
.story__stage .iphone { --dw: clamp(240px, calc((100svh - var(--header-h) - 110px) * 0.482), 320px); }
.story__stage .crm-card { margin-left: -22px; position: relative; z-index: 2; align-self: flex-end; margin-bottom: 14%; }
.story__steps { padding: 18vh 0 28vh; }
.story__step {
  min-height: 74vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.28;
  transition: opacity 0.5s var(--ease-out);
}
.story__step.is-active { opacity: 1; }
.no-js .story__step { opacity: 1; min-height: 0; padding: 32px 0; }
.story__num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 1px solid var(--tl-line-strong);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--tl-heading);
}
.story__step.is-active .story__num { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.story__step h3 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -0.03em; }
.story__step p { margin-top: 14px; max-width: 460px; font-size: clamp(17px, 1.3vw, 19px); color: var(--tl-muted); }
.story__crm-note { display: none; margin-top: 14px; font-size: 14px; color: var(--teal); font-weight: 600; }

/* small screens: the phone plays the conversation by itself and the steps read as a list */
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; gap: 40px; }
  .story__stage { position: static; height: auto; }
  .story__device { flex-direction: column; gap: 20px; }
  .story__stage .iphone { --dw: min(300px, 78vw); }
  .story__stage .crm-card { margin: 0; align-self: center; width: min(340px, 100%); }
  .story__steps { padding: 0; display: grid; gap: 34px; }
  .story__step { min-height: 0; opacity: 1; }
  .story__step h3 { font-size: 24px; }
}

/* ============================================================ phone calls */
/* the halo reaches past the phone, so the section clips it (no sideways scroll on phones) */
.call { overflow: hidden; }
.call__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.call__copy > * + * { margin-top: 22px; }
.call__copy .ticks { margin-top: 30px; }
.call__note { margin-top: 26px; font-size: 14px; color: var(--tl-muted); }
.call__stage { position: relative; display: flex; justify-content: center; align-items: center; }
.call__stage .iphone { --dw: clamp(260px, 22vw, 310px); }
.call__stage .call-summary { position: relative; z-index: 2; margin-left: -60px; align-self: flex-end; margin-bottom: 10%; }
.call__halo {
  position: absolute;
  inset: 0 -10%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(201, 162, 75, 0.22), rgba(201, 162, 75, 0));
  filter: blur(10px);
}
@media (max-width: 1000px) {
  .call__grid { grid-template-columns: 1fr; }
  .call__stage { flex-direction: column; gap: 18px; }
  .call__stage .call-summary { margin: 0; align-self: center; width: min(340px, 92vw); }
}

/* ===================================================== channels and systems */
.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px) minmax(0, 1fr);
  align-items: center;
  gap: 0;
}
.flow__col { list-style: none; display: grid; gap: 12px; }
.flow__col li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--tl-line);
  border-radius: 16px;
  background: var(--tl-surface);
  font-weight: 600;
  color: var(--tl-heading);
}
.flow__col li svg { width: 22px; height: 22px; color: var(--tl-accent); flex: none; }
.flow__col--in li { margin-right: 64px; }
.flow__col--out li { margin-left: 64px; }
.flow__col li::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 64px;
  height: 2px;
  background:
    linear-gradient(90deg, transparent, var(--gold), transparent) -28px 0 / 28px 2px no-repeat,
    var(--tl-line-strong);
  animation: pulse-run 2.6s linear infinite;
}
.flow__col li:nth-child(2)::after { animation-delay: 0.45s; }
.flow__col li:nth-child(3)::after { animation-delay: 0.9s; }
.flow__col li:nth-child(4)::after { animation-delay: 1.35s; }
.flow__col li:nth-child(5)::after { animation-delay: 1.8s; }
.flow__col--out li::after { animation-direction: normal; }
.flow__col--in li::after { left: 100%; }
.flow__col--out li::after { right: 100%; }
@keyframes pulse-run { to { background-position: 64px 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .flow__col li::after { animation: none; } }
.flow__core {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 34px 22px;
  border-radius: var(--r-lg);
  background: radial-gradient(120% 90% at 50% 0%, #17493a, var(--emerald-ink));
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 70px -30px rgba(7, 32, 25, 0.7);
}
.flow__core img { width: 64px; height: 64px; }
.flow__core b { font-size: 19px; letter-spacing: -0.01em; }
.flow__core span { font-size: 14px; color: rgba(242, 240, 233, 0.66); }
.flow__label { margin-bottom: 14px; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .flow__col--in li, .flow__col--out li { margin: 0; }
  .flow__col li::after { display: none; }
}

/* ============================================================ the process */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}
.timeline::before,
.timeline::after {
  content: '';
  position: absolute;
  top: 19px;
  left: 20px;
  right: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--tl-line);
}
.timeline::after {
  right: auto;
  width: calc((100% - 40px) * var(--p, 0));
  background: linear-gradient(90deg, var(--teal), var(--gold));
}
.timeline li { position: relative; z-index: 1; padding-right: 8px; }
.timeline__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  border-radius: 50%;
  border: 2px solid var(--tl-line-strong);
  background: var(--tl-bg);
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--tl-heading);
  transition: background-color 0.4s, border-color 0.4s, color 0.4s;
}
.timeline li.is-reached .timeline__num { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.timeline h3 { font-size: 20px; letter-spacing: -0.015em; }
.timeline p { margin-top: 8px; font-size: 15.5px; color: var(--tl-muted); }
.timeline__out { display: block; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--tl-accent); }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; padding-left: 58px; }
  .timeline::before, .timeline::after { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; }
  .timeline::after { height: calc((100% - 40px) * var(--p, 0)); bottom: auto; }
  .timeline__num { position: absolute; left: -58px; top: 0; margin: 0; }
}

/* ================================================================ included */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bento__wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 26px;
  overflow: hidden;
}
@media (max-width: 1100px) { .bento { grid-template-columns: 1fr 1fr; } .bento__wide { grid-column: 1 / -1; } }
@media (max-width: 700px) {
  .bento { grid-template-columns: 1fr; }
  .bento__wide { grid-column: auto; grid-template-columns: 1fr; }
}
.notifs {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(201, 162, 75, 0.35), rgba(201, 162, 75, 0) 60%),
    linear-gradient(160deg, #1d7a6e, #0e3b2e 62%, #072019);
}
.notif {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 11px 13px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 26px -16px rgba(0, 0, 0, 0.55);
  font-family: var(--font-ui);
  color: #1c1c1e;
}
.notif__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--wa-green); color: #fff; }
.notif__icon svg { width: 21px; height: 21px; }
.notif b { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; }
.notif span { display: block; margin-top: 1px; font-size: 13px; line-height: 1.3; color: #3c3c43; }
.notif time { font-size: 12px; color: #8e8e93; white-space: nowrap; }
.js .bento__alerts .notif { opacity: 0; transform: translateY(16px) scale(0.97); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js .bento__alerts.is-in .notif { opacity: 1; transform: none; }
.js .bento__alerts .notif:nth-child(1) { transition-delay: 0.25s; }
.js .bento__alerts .notif:nth-child(2) { transition-delay: 0.5s; }
.js .bento__alerts .notif:nth-child(3) { transition-delay: 0.75s; }
.report {
  padding: 20px 20px 16px;
  border: 1px solid rgba(14, 59, 46, 0.08);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 50px -34px rgba(7, 32, 25, 0.45);
  color: var(--ink);
}
.report__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.report__head b { font-size: 15px; }
.report__head span { font-size: 13px; color: var(--ink-2); }
.report__bars { list-style: none; display: grid; gap: 10px; }
.report__bars li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.report__bars i { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--teal), var(--gold)); transform-origin: left center; }
.report__bars .w-100 { width: 100%; }
.report__bars .w-64 { width: 64%; }
.report__bars .w-40 { width: 40%; }
.report__bars .w-14 { width: 14%; }
.js .bento__report .report__bars i { transform: scaleX(0); transition: transform 1.2s var(--ease-out); }
.js .bento__report.is-in .report__bars i { transform: scaleX(1); }
.js .bento__report .report__bars li:nth-child(2) i { transition-delay: 0.15s; }
.js .bento__report .report__bars li:nth-child(3) i { transition-delay: 0.3s; }
.js .bento__report .report__bars li:nth-child(4) i { transition-delay: 0.45s; }
.report__note { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(30, 42, 39, 0.08); font-size: 13px; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) {
  .js .bento__alerts .notif, .js .bento__report .report__bars i { opacity: 1; transform: none; transition: none; }
}

/* ====================================================== the last section */
.final { overflow: hidden; }
.final__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.final__copy > * + * { margin-top: 20px; }
.final__copy h2 { color: #fff; }
.final__copy .lead { margin-top: 22px; }
.final__ways { display: grid; gap: 12px; margin-top: 36px; }
.final__ways a {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--tl-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s, background-color 0.25s;
}
.final__ways a:hover { border-color: var(--tl-line-strong); background: rgba(255, 255, 255, 0.07); }
.final__ways .way-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); }
.final__ways .way-icon svg { width: 22px; height: 22px; }
.final__ways .way-icon--wa { background: var(--wa-green); color: #fff; }
.final__ways b { display: block; color: #fff; font-size: 16px; }
.final__ways small { color: var(--tl-muted); font-size: 14px; }
.final__ways .arrow { width: 18px; height: 18px; color: var(--tl-muted); }
.final__form {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--tl-line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.final__form h3 { font-size: 22px; color: #fff; }
.final__form > p { margin-top: 6px; color: var(--tl-muted); font-size: 15px; }
.final__form .form { margin-top: 24px; }
@media (max-width: 960px) { .final__grid { grid-template-columns: 1fr; } }

/* ============================================================ page heroes */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(56px, 10vh, 120px)) 0 clamp(64px, 9vh, 112px);
  background: var(--night);
  color: var(--tl-fg);
}
.page-hero__inner { position: relative; display: grid; gap: 22px; }
.page-hero__inner > * { max-width: 900px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { max-width: 720px; color: rgba(242, 240, 233, 0.74); }
.page-hero .chips { margin-top: 10px; }
.page-hero .chip { border-color: rgba(255, 255, 255, 0.22); color: rgba(242, 240, 233, 0.9); }
.page-hero .chip:hover { border-color: #fff; }
.page-hero--legal { padding-bottom: clamp(48px, 7vh, 80px); }
/* a hero with the footer straight after it (contact, 404): the glow fades out before the section ends */
main > .page-hero:last-child .hero__bg { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 92%); mask-image: linear-gradient(180deg, #000 55%, transparent 92%); }
.page-hero__meta { font-size: 15px; color: rgba(242, 240, 233, 0.6); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 14px; color: rgba(242, 240, 233, 0.6); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; opacity: 0.5; }
.breadcrumb a:hover { color: #fff; }

/* ================================================================ founder */
.founder__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
}
.founder__photo {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(7, 32, 25, 0.55);
}
.founder__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.founder__copy > * + * { margin-top: 20px; }
.founder__bio { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; color: var(--tl-fg); max-width: 620px; }
.founder__copy .btn-row { margin-top: 30px; }
.contact-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 30px;
  padding: 18px;
  border: 1px solid var(--tl-line);
  border-radius: var(--r-md);
  background: var(--tl-surface);
  max-width: 520px;
}
.contact-card__qr { padding: 8px; border-radius: 12px; background: #fff; color: var(--emerald-ink); box-shadow: 0 0 0 1px var(--tl-line); }
.contact-card__qr svg { width: 100%; height: auto; }
.contact-card b { display: block; font-size: 17px; color: var(--tl-heading); }
.contact-card p { margin-top: 4px; font-size: 14.5px; color: var(--tl-muted); }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }
.contact-card__actions button { border: 0; background: none; padding: 0; font: inherit; }
@media (max-width: 900px) { .founder__grid { grid-template-columns: 1fr; } .founder__photo { max-width: 460px; } }
@media (max-width: 480px) { .contact-card { grid-template-columns: 88px 1fr; } }

/* ------------------------------------------------------------- principles */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.principle__num { display: block; margin-bottom: 18px; font-family: var(--font-mono); font-size: 14px; color: var(--tl-accent); }
@media (max-width: 960px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; } }

/* =============================================================== services */
.service__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.service__grid--flip > :first-child { order: 2; }
.service__copy > * + * { margin-top: 22px; }
.service__copy .h2 { font-size: clamp(32px, 3.4vw, 52px); }
.service__copy h3 { margin-top: 34px; font-size: 19px; letter-spacing: -0.01em; }
.service__copy .ticks { margin-top: 16px; }
.service__copy .btn-row { margin-top: 34px; }
.service__stage { position: relative; display: flex; justify-content: center; align-items: center; }
.service__stage .reel { justify-items: center; }
.service__stage .reel__device { margin: 0; }
.service__stage .iphone { --dw: clamp(260px, 22vw, 310px); }
.service__stage .call-summary { position: relative; z-index: 2; margin-left: -60px; align-self: flex-end; margin-bottom: 10%; }
.spec { display: grid; gap: 0; margin: 30px 0 0; border-top: 1px solid var(--tl-line); }
.spec div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--tl-line); font-size: 15.5px; }
.spec dt { font-weight: 600; color: var(--tl-heading); }
.spec dd { margin: 0; color: var(--tl-muted); }
@media (max-width: 1000px) {
  .service__grid { grid-template-columns: 1fr; }
  .service__grid--flip > :first-child { order: 0; }
  .service__stage { flex-direction: column; gap: 18px; }
  .service__stage .call-summary { margin: 0; align-self: center; width: min(340px, 92vw); }
}
@media (max-width: 520px) { .spec div { grid-template-columns: 1fr; gap: 4px; } }

/* an automation, step by step */
.pipeline {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(440px, 100%);
  padding: 28px 24px;
  border-radius: var(--r-lg);
  list-style: none;
  background: radial-gradient(120% 80% at 80% 0%, rgba(201, 162, 75, 0.25), rgba(201, 162, 75, 0) 60%), linear-gradient(165deg, #134637, var(--emerald-ink));
  box-shadow: 0 40px 80px -40px rgba(7, 32, 25, 0.7);
  color: #fbfaf6;
}
.pipeline::before {
  content: '';
  position: absolute;
  top: 52px;
  bottom: 52px;
  left: 47px;
  width: 2px;
  background:
    linear-gradient(180deg, transparent, var(--gold-soft), transparent) 0 -40px / 2px 40px no-repeat,
    rgba(255, 255, 255, 0.16);
  animation: pipe-run 2.8s linear infinite;
}
@keyframes pipe-run { to { background-position: 0 100%, 0 0; } }
.pipeline li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.pipeline__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: var(--gold-soft);
}
.pipeline__icon svg { width: 22px; height: 22px; }
.pipeline b { display: block; font-size: 16px; }
.pipeline small { display: block; font-size: 13.5px; color: rgba(242, 240, 233, 0.62); }
@media (prefers-reduced-motion: reduce) { .pipeline::before { animation: none; } }

/* ways to start */
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.options .card { display: flex; flex-direction: column; }
.options .card .label { margin-bottom: 14px; }
.options .card .ticks { margin-top: 20px; font-size: 15px; }
@media (max-width: 960px) { .options { grid-template-columns: 1fr; } }

/* ================================================================ contact */
/* One screen: the direct ways to reach Majd on the left, the enquiry form on the right, next steps below. */
.contact-hero { padding: calc(var(--header-h) + clamp(32px, 6vh, 72px)) 0 clamp(56px, 8vh, 96px); }
.contact-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}
.contact-hero__copy { display: grid; gap: 22px; padding-top: 12px; }
.contact-hero__copy .final__ways { margin-top: 14px; }
.contact-hero__title { font-size: clamp(40px, 4.6vw, 68px); letter-spacing: -0.04em; line-height: 1.02; }
.contact__form {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-lg);
  background: var(--tl-surface);
  color: var(--tl-fg);
  color-scheme: light;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.65);
}
.contact__form > .muted { margin: 6px 0 26px; font-size: 14.5px; }
.next-steps { position: relative; margin-top: clamp(56px, 8vh, 96px); padding-top: 28px; border-top: 1px solid var(--tl-line); }
.next-steps ol { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(24px, 4vw, 56px); margin-top: 24px; }
.next-steps li { counter-increment: step; display: grid; align-content: start; gap: 6px; }
.next-steps li::before { content: '0' counter(step); margin-bottom: 6px; font-family: var(--font-mono); font-size: 14px; color: var(--tl-accent); }
.next-steps b { font-size: 18px; color: var(--tl-heading); }
.next-steps span { font-size: 15.5px; color: var(--tl-muted); }
@media (max-width: 960px) {
  .contact-hero__grid { grid-template-columns: 1fr; }
  .next-steps ol { grid-template-columns: 1fr; }
}

/* ==================================================================== 404 */
.notfound { padding-block: 40px; }

/* ================================================================== legal */
.section--legal { padding-top: clamp(56px, 7vw, 96px); }
.legal {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.toc { position: sticky; top: calc(var(--header-h) + 28px); }
.toc ol { list-style: none; display: grid; margin-top: 14px; border-left: 1px solid var(--tl-line); }
.toc a {
  display: block;
  margin-left: -1px;
  padding: 6px 0 6px 14px;
  border-left: 2px solid transparent;
  font-size: 14px;
  line-height: 1.4;
  color: var(--tl-muted);
  transition: color 0.2s, border-color 0.2s;
}
.toc a:hover { color: var(--tl-heading); }
.toc a[aria-current] { color: var(--tl-heading); font-weight: 600; border-left-color: var(--teal); }
@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; padding: 18px 20px; border: 1px solid var(--tl-line); border-radius: var(--r-md); background: var(--tl-surface); }
}

.prose { max-width: 760px; color: var(--tl-fg); }
.prose > * + * { margin-top: 18px; }
.prose .intro { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.55; color: var(--tl-heading); }
.prose h2 {
  margin-top: 56px;
  font-size: clamp(24px, 2vw, 30px);
  letter-spacing: -0.025em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h3 { margin-top: 32px; font-size: 19px; letter-spacing: -0.01em; }
.prose ul, .prose ol { display: grid; gap: 8px; padding-left: 22px; }
.prose li::marker { color: var(--teal); }
.prose a { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--tl-heading); }
.prose address {
  padding: 18px 22px;
  border: 1px solid var(--tl-line);
  border-radius: 16px;
  background: var(--tl-surface);
  font-style: normal;
  line-height: 1.8;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--tl-line); border-radius: 16px; background: var(--tl-surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--tl-line); }
.prose th { font-size: 13px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--tl-muted); background: var(--tl-surface-2); }
.prose tr:last-child td { border-bottom: 0; }

.legal-nav { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--tl-line); }
.legal-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; }
.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--tl-line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--tl-heading);
}
.legal-nav a[aria-current] { background: var(--tl-heading); border-color: var(--tl-heading); color: var(--tl-bg); }

/* ============================================================ other pages */
/* demo.html is assembled from its own template (apps/web/server/modules/demo/page) and uses these classes;
   the legal pages share the hero glow. */
.page-hero__art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(48vw 34vw at 84% 0%, rgba(22, 104, 84, 0.42), rgba(22, 104, 84, 0) 70%),
    radial-gradient(34vw 26vw at 0% 100%, rgba(201, 162, 75, 0.13), rgba(201, 162, 75, 0) 70%);
}
.page-hero--short { padding-bottom: clamp(56px, 8vh, 96px); }
.section-head h2:not(.h2) { font-size: clamp(34px, 4.4vw, 62px); letter-spacing: -0.035em; line-height: 1.03; }
:is(h1, h2) em { font-style: normal; color: var(--tl-accent); }
.page-hero h1 em { color: var(--gold-soft); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: grid;
  justify-items: center;
  gap: 8px;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 600;
  color: rgba(242, 240, 233, 0.62);
}
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(180deg, var(--gold-soft), rgba(220, 192, 126, 0)); animation: cue 2.4s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

ol.principles { list-style: none; padding: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
ol.principles > li {
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--tl-line);
  border-radius: var(--r-lg);
  background: var(--tl-surface);
}
ol.principles .numeral { display: block; margin-bottom: 18px; font-family: var(--font-mono); font-size: 14px; color: var(--tl-accent); }
ol.principles h3 { font-size: clamp(20px, 1.55vw, 23px); letter-spacing: -0.015em; }
ol.principles p { margin-top: 10px; color: var(--tl-muted); }
@media (max-width: 1100px) { ol.principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { ol.principles { grid-template-columns: 1fr; } }

/* the closing band: a call to action over slow ripples of gold */
.cta-band { position: relative; overflow: hidden; background: var(--night); text-align: center; }
.cta-band__art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 70% at 50% 100%, rgba(201, 162, 75, 0.16), rgba(201, 162, 75, 0) 70%);
}
.ripples { position: absolute; left: 50%; bottom: -30%; width: min(1400px, 140%); transform: translateX(-50%); fill: none; stroke: rgba(220, 192, 126, 0.22); stroke-width: 1; }
.ripples ellipse { transform-box: fill-box; transform-origin: center; opacity: 0; animation: ripple 12s linear infinite; }
.ripples ellipse:nth-child(2) { animation-delay: -2.4s; }
.ripples ellipse:nth-child(3) { animation-delay: -4.8s; }
.ripples ellipse:nth-child(4) { animation-delay: -7.2s; }
.ripples ellipse:nth-child(5) { animation-delay: -9.6s; }
@keyframes ripple { 0% { transform: scale(0.12); opacity: 0; } 12% { opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.cta-band__inner { position: relative; display: grid; justify-items: center; gap: 22px; max-width: 900px; }
.cta-band h2 { font-size: clamp(34px, 4.4vw, 62px); letter-spacing: -0.035em; line-height: 1.04; color: #fff; }
.cta-band__text { max-width: 640px; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--tl-muted); }
.cta-band .btn-row { justify-content: center; margin-top: 10px; }
.btn--outline { border-color: var(--tl-line-strong); color: var(--tl-heading); background: transparent; }
.btn--outline:hover { border-color: var(--tl-heading); }
@media (prefers-reduced-motion: reduce) {
  .scroll-cue i, .ripples ellipse { animation: none; }
  .ripples ellipse { opacity: 0.6; }
  .ripples ellipse:nth-child(1) { transform: scale(0.25); }
  .ripples ellipse:nth-child(2) { transform: scale(0.45); }
  .ripples ellipse:nth-child(3) { transform: scale(0.65); }
  .ripples ellipse:nth-child(4) { transform: scale(0.85); }
}
