/* Sansone Integrations — shared stylesheet */

:root {
  --navy: #0A0F1E;
  --navy-2: #0E1527;
  --surface: #121A30;
  --surface-2: #17213B;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --blue: #4B9CD3;
  --blue-soft: rgba(75, 156, 211, 0.12);
  --red: #C00000;
  --red-hover: #D91414;
  --red-soft: rgba(192, 0, 0, 0.14);
  --white: #FFFFFF;
  --text: #FFFFFF;
  --muted: #A7B1C6;
  --muted-2: #7D889F;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 76px;
  --header-top: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1440px;
  --gutter: clamp(16px, 4vw, 56px);
  --font: "Inter", Arial, Helvetica, sans-serif;
}

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

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

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

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--white);
}
h1 { font-size: clamp(2.25rem, 1.3rem + 3.8vw, 5rem); }
h2 { font-size: clamp(1.75rem, 1.15rem + 2.3vw, 3.5rem); }
h3 { font-size: clamp(1.15rem, 1.02rem + 0.45vw, 1.5rem); letter-spacing: -0.015em; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.section { padding: clamp(64px, 3rem + 5vw, 144px) 0; }
.section--alt { background: var(--navy-2); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 1.5rem + 2vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.3125rem); margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.lead { font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.4375rem); color: var(--muted); }
.muted { color: var(--muted); }
.text-blue { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--red { background: var(--red); color: var(--white); box-shadow: 0 8px 24px -10px rgba(192, 0, 0, 0.8); }
.btn--red:hover { background: var(--red-hover); box-shadow: 0 12px 32px -8px rgba(217, 20, 20, 0.85), 0 0 0 4px rgba(192, 0, 0, 0.16); }
.btn--ghost { border-color: var(--line-strong); color: var(--white); background: rgba(255, 255, 255, 0.03); }
.btn--ghost:hover { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 10px 28px -10px rgba(75, 156, 211, 0.6); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--blue);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover svg { transform: translateX(4px); }

.link-arrow,
.footer-links a,
.nav a:not(.btn) {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.35s var(--ease), color 0.2s ease;
}
.link-arrow { background-size: 0 1.5px; padding-bottom: 2px; }
.link-arrow:hover { background-size: calc(100% - 22px) 1.5px; }
.footer-links a:hover { background-size: 100% 1px; text-decoration: none; }
.nav a:not(.btn) { background-position: 12px calc(100% - 4px); }
.nav a:not(.btn):hover,
.nav a[aria-current="page"] { background-size: calc(100% - 24px) 1px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease);
  view-transition-name: site-header;
}
.is-scrolled .site-header,
.menu-open .site-header { border-bottom-color: var(--line); }
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   make it the containing block for the fixed mobile menu and clip it. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 15, 30, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.is-scrolled .site-header::before { opacity: 1; }
.menu-open .site-header::before { opacity: 1; background: var(--navy); }
.is-scrolled { --header-h: 62px; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  transition: height 0.35s var(--ease);
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 150px; height: auto; transition: width 0.35s var(--ease); }
.is-scrolled .brand img { width: 136px; }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a:not(.btn) {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav a:not(.btn):hover { color: var(--white); text-decoration: none; background: rgba(255, 255, 255, 0.04); }
.nav a[aria-current="page"] { color: var(--white); }
.nav .nav-cta { margin-left: 10px; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  padding: calc(var(--header-h) + 16px) max(var(--gutter), env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  background: var(--navy);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
.menu-open .mobile-menu { visibility: visible; opacity: 1; transition: opacity 0.35s var(--ease); }
.menu-open { overflow: hidden; }
html:not(.js) .menu-toggle { display: none; }
.mobile-menu ul { flex: 1 0 auto; margin: 0 0 24px; padding: 0; list-style: none; }
.mobile-menu > ul > li { border-bottom: 1px solid var(--line); }
.mobile-menu > ul > li,
.mobile-menu-cta { opacity: 0; translate: 0 18px; transition: opacity 0.5s var(--ease), translate 0.5s var(--ease); }
.mobile-menu > ul > li { transition-delay: calc(var(--i) * 50ms + 60ms); }
.mobile-menu-cta { transition-delay: 380ms; }
.menu-open .mobile-menu > ul > li,
.menu-open .mobile-menu-cta { opacity: 1; translate: 0 0; }
.mobile-menu a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 8px 4px;
  color: var(--white);
  font-size: clamp(1.375rem, 1.1rem + 1.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: color 0.2s ease, transform 0.2s var(--ease);
}
.mobile-menu a:not(.btn):hover { text-decoration: none; color: var(--blue); }
.mobile-menu a[aria-current="page"] { color: var(--blue); }
.mobile-menu a:not(.btn) svg { width: 20px; height: 20px; color: var(--muted-2); }
.mobile-menu .mobile-menu-note { margin: 14px 0 0; color: var(--muted); font-size: 0.9375rem; text-align: center; }

@media (min-width: 1080px) {
  .nav { display: block; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .brand img { width: 168px; }
  .is-scrolled .brand img { width: 148px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-top) + 36px) 0 64px;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 959px) { .hero { min-height: 0; } }
.hero > .container { width: 100%; }
.mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.mesh i {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.mesh i:nth-child(1) {
  top: -30vmax; right: -20vmax; width: 75vmax; height: 75vmax;
  background: radial-gradient(closest-side, rgba(75, 156, 211, 0.28), transparent);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.mesh i:nth-child(2) {
  bottom: -40vmax; left: -25vmax; width: 80vmax; height: 80vmax;
  background: radial-gradient(closest-side, rgba(192, 0, 0, 0.16), transparent);
  animation: drift-b 26s ease-in-out infinite alternate;
}
.mesh i:nth-child(3) {
  top: 20%; left: 30%; width: 45vmax; height: 45vmax;
  background: radial-gradient(closest-side, rgba(75, 156, 211, 0.12), transparent);
  animation: drift-c 30s ease-in-out infinite alternate;
}
.mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.mesh::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(transparent, var(--navy));
  z-index: 1;
}
@keyframes drift-a { to { transform: translate3d(-8vmax, 6vmax, 0) scale(1.08); } }
@keyframes drift-b { to { transform: translate3d(10vmax, -6vmax, 0) scale(1.1); } }
@keyframes drift-c { to { transform: translate3d(-12vmax, -8vmax, 0) scale(0.9); } }
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .text-blue { display: block; }
.hero .lead { max-width: 40ch; margin-bottom: 28px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

@media (min-width: 960px) {
  .hero { padding: calc(var(--header-top) + 48px) 0 80px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: clamp(48px, 5vw, 120px); }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--header-top) + 48px) 0 48px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -60% auto auto 50%;
  width: 900px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(75, 156, 211, 0.14), transparent);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.1rem, 1.25rem + 3.3vw, 4.5rem); }
.page-hero .lead { max-width: 44ch; margin-bottom: 0; }
@media (min-width: 960px) { .page-hero { padding: calc(var(--header-top) + clamp(72px, 7vw, 140px)) 0 clamp(64px, 5vw, 112px); } }

/* ---------- Phone mockup (illustration) ---------- */
.phone {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 44px;
  background: linear-gradient(160deg, #1D2742, #0C1222);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 6px rgba(255, 255, 255, 0.02);
}
.phone-screen {
  position: relative;
  min-height: 460px;
  padding: 44px 14px 18px;
  border-radius: 32px;
  background: linear-gradient(180deg, #0B1020 0%, #0F1830 100%);
  overflow: hidden;
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 92px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}
.phone-time {
  margin-bottom: 18px;
  text-align: center;
  font-size: 2.75rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
}
.phone-date { margin-top: 6px; font-size: 0.8125rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.notif {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
  line-height: 1.4;
}
.notif-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--blue);
  color: var(--white);
}
.notif-icon svg { width: 17px; height: 17px; }
.notif-icon--red { background: var(--red); }
.notif-icon--green { background: #1F9D57; }
.notif-head { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 0.75rem; }
.notif-head strong { color: var(--white); font-weight: 600; }
.notif p { margin: 2px 0 0; color: rgba(255, 255, 255, 0.86); }
.phone-caption { margin-top: 14px; text-align: center; color: var(--muted-2); font-size: 0.8125rem; }

@media (max-width: 959px) {
  .hero-visual .phone { max-width: 320px; }
  .hero-visual .phone-screen { min-height: 0; }
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 600px) { .grid--2, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 760px) and (max-width: 999px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
a.card { color: inherit; }
a.card:hover { text-decoration: none; border-color: rgba(75, 156, 211, 0.5); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }

.icon-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid rgba(75, 156, 211, 0.25);
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge--red { background: var(--red-soft); color: #FF5A5A; border-color: rgba(192, 0, 0, 0.35); }

.industry-who { margin: -2px 0 10px; color: var(--muted-2); font-size: 0.875rem; font-weight: 600; }

/* ---------- Problem: missed-calls log ---------- */
.problem-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .problem-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.problem-grid h2 { max-width: 560px; }

.call-log {
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.call-log .call-log-title {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px 10px;
  color: var(--muted-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.call-log li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 14px;
  border-top: 1px solid var(--line);
}
.call-log li:first-of-type { border-top: 0; }
.call-log .icon-badge { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.call-log .icon-badge svg { width: 20px; height: 20px; }
.call-log h3 { margin: 2px 0 4px; font-size: 1.0625rem; }
.call-log p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }

/* ---------- Product cards ---------- */
.product-card .price {
  margin: 4px 0 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
.product-card .price strong { display: block; color: var(--white); font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; }
.product-card .price .plus { color: var(--muted); font-size: 0.9375rem; font-weight: 600; }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.timeline > li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.step-marker { position: relative; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 1.0625rem;
  box-shadow: 0 0 0 6px rgba(192, 0, 0, 0.14);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.timeline.is-armed .step-num:not(.is-lit) { background: var(--surface-2); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-strong); }
.step-conn {
  position: absolute;
  left: 19px;
  top: 48px;
  bottom: -8px;
  width: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.step-conn i {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--red), var(--blue));
  transform: scaleY(var(--p, 1));
  transform-origin: top;
}
.timeline > li:last-child .step-conn { display: none; }
.step {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }
@media (min-width: 860px) {
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .timeline > li { display: block; }
  /* Numbers centered over each card; each line runs between neighbors with an equal 12px gap on both ends */
  .step-marker { height: 40px; margin: 0 0 20px; }
  .step-num { margin-inline: auto; }
  .step-conn { left: calc(50% + 32px); right: auto; top: 19px; bottom: auto; width: calc(100% - 44px); height: 2px; }
  .step-conn i { background: linear-gradient(90deg, var(--red), var(--blue)); transform: scaleX(var(--p, 1)); transform-origin: left; }
  .step { min-height: 100%; }
  .timeline > li { display: flex; flex-direction: column; }
  .timeline > li .step { flex: 1; }
}

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(64px, 3rem + 5vw, 144px) 0; }
.cta-box {
  position: relative;
  padding: 40px 24px;
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(75, 156, 211, 0.22), transparent),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(75, 156, 211, 0.25);
  overflow: hidden;
}
.cta-box h2 { max-width: 720px; margin-inline: auto; }
.cta-box p { max-width: 560px; margin: 0 auto 26px; color: var(--muted); font-size: 1.125rem; }
.cta-box .btn-row { justify-content: center; }
.cta-box { padding: clamp(40px, 1.5rem + 4vw, 96px) clamp(24px, 1rem + 4vw, 96px); }

/* ---------- Jump links ---------- */
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
}
.chip svg { width: 16px; height: 16px; color: var(--blue); }
.chip:hover { text-decoration: none; border-color: var(--blue); }

/* ---------- Industry sections ---------- */
.industry { padding: clamp(56px, 2.5rem + 4.5vw, 128px) 0; border-bottom: 1px solid var(--line); }
.industry:nth-of-type(even) { background: var(--navy-2); }
.industry-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.industry-head .icon-badge { width: 56px; height: 56px; margin: 0; }
.industry-head .icon-badge svg { width: 28px; height: 28px; }
.industry-head h2 { margin: 0; font-size: clamp(1.6rem, 4.4vw, 2.4rem); }
.industry-head p { margin: 4px 0 0; color: var(--muted); font-size: 0.98rem; font-weight: 500; }

.split { display: grid; gap: 16px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 20px; } }

.panel {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.panel h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 1.125rem; }
.panel h3 svg { width: 22px; height: 22px; flex: none; }
.panel--pain h3 svg { color: #FF5A5A; }
.panel--help { border-color: rgba(75, 156, 211, 0.28); background: linear-gradient(180deg, rgba(75, 156, 211, 0.07), var(--surface) 60%); }
.panel--help h3 svg { color: var(--blue); }

.list { margin: 0; padding: 0; list-style: none; }
.list li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.5;
}
.list li:first-child { border-top: 0; padding-top: 2px; }
.list li:first-child::before { top: 4px; }
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}
.list--check li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B9CD3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.list--x li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5A5A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}
.list strong { color: var(--white); }

.industry-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }

/* ---------- Product detail ---------- */
.product { padding: clamp(64px, 3rem + 5vw, 144px) 0; border-bottom: 1px solid var(--line); }
.product:nth-of-type(even) { background: var(--navy-2); }
.product-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) {
  .product-grid { grid-template-columns: 1.05fr 0.95fr; gap: 72px; }
  .product:nth-of-type(even) .product-visual { order: -1; }
}
.product h2 { font-size: clamp(1.75rem, 4.4vw, 2.6rem); }
.product .lead { margin-bottom: 24px; }
.product .list { margin-bottom: 24px; }
.price-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}
.price-tag strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.price-tag span { color: var(--muted); font-size: 0.9375rem; }

/* Mini illustrations */
.mock {
  max-width: 420px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 600;
}
.mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #1F9D57; box-shadow: 0 0 0 4px rgba(31, 157, 87, 0.18); }
.mock-bar span:last-child { margin-left: auto; color: var(--muted-2); font-weight: 500; font-size: 0.8125rem; }
.mock-caption { margin: 12px 0 0; text-align: center; color: var(--muted-2); font-size: 0.8125rem; }

.bubbles { display: flex; flex-direction: column; gap: 8px; }
.bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.45;
}
.bubble--in { align-self: flex-start; background: rgba(255, 255, 255, 0.08); border-bottom-left-radius: 6px; }
.bubble--out { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.bubble-meta { align-self: center; color: var(--muted-2); font-size: 0.75rem; }

.event {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.event:first-of-type { border-top: 0; padding-top: 0; }
.event .notif-icon { width: 36px; height: 36px; border-radius: 10px; }
.event strong { display: block; font-weight: 700; }
.event span { color: var(--muted); font-size: 0.8125rem; }

.browser { padding: 0; overflow: hidden; }
.browser-top { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.browser-top i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.browser-url { flex: 1; margin-left: 8px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--muted-2); font-size: 0.75rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-body { padding: 22px 18px 20px; }
.sk { height: 10px; margin-bottom: 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); }
.sk--title { height: 18px; width: 75%; margin-bottom: 12px; background: rgba(255, 255, 255, 0.22); }
.sk--w60 { width: 60%; }
.sk--w85 { width: 85%; }
.browser-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; }
.browser-btns span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 10px; font-size: 0.8125rem; font-weight: 700; }
.browser-btns span svg { width: 14px; height: 14px; }
.browser-btns .b-red { background: var(--red); }
.browser-btns .b-ghost { border: 1px solid var(--line-strong); }
.sk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sk-cards i { height: 54px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; gap: 16px; max-width: 1040px; margin-inline: auto; }
@media (min-width: 700px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }

.price-card { padding: 28px 24px; }
.price-card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.price-card h3 .icon-badge { width: 40px; height: 40px; margin: 0; border-radius: 12px; }
.price-card h3 .icon-badge svg { width: 20px; height: 20px; }
.price-main { margin-bottom: 4px; color: var(--muted); font-size: 0.9375rem; font-weight: 600; }
.price-main strong { color: var(--white); font-size: 2.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.price-sub { margin-bottom: 16px; color: var(--muted); font-size: 0.9375rem; font-weight: 600; }
.price-sub strong { color: var(--white); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.price-scale {
  margin: 0 0 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}
.price-card .btn { margin-top: auto; }

.note {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.98rem;
}
.note p { margin: 0; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--blue); transition: transform 0.2s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- About ---------- */
.founders { display: grid; gap: 20px; }
@media (min-width: 960px) { .founders { grid-template-columns: 1fr 1fr; } }
.founder { padding: 0; overflow: hidden; }
.founder-top { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding: 24px 24px 0; }
.founder-photo {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}
.founder-top h2 { margin: 0 0 2px; font-size: 1.5rem; }
.founder-role { margin: 0; color: var(--blue); font-weight: 700; font-size: 0.9375rem; }
.founder-body { padding: 20px 24px 26px; }
.founder-body p { color: rgba(255, 255, 255, 0.86); font-size: 1rem; }
.founder-body h3 {
  margin: 22px 0 10px;
  color: var(--muted-2);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cred { margin: 0; padding: 0; list-style: none; }
.cred li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.cred li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--blue); }
.cred strong { color: var(--white); font-weight: 600; }
@media (min-width: 560px) {
  .founder-top { grid-template-columns: 128px 1fr; gap: 22px; padding: 28px 28px 0; }
  .founder-photo { width: 128px; height: 128px; border-radius: 24px; }
  .founder-body { padding: 22px 28px 30px; }
}

/* Founder cards: click one to expand it page-wide; the other shrinks */
.founders { align-items: start; }
.founder:nth-child(1) { view-transition-name: founder-a; }
.founder:nth-child(2) { view-transition-name: founder-b; }
.founder:nth-child(1) .founder-photo-wrap { view-transition-name: founder-a-photo; }
.founder:nth-child(2) .founder-photo-wrap { view-transition-name: founder-b-photo; }
.founder-photo-wrap { position: relative; width: max-content; }
.founder-photo-wrap picture { display: block; }
.founder-li {
  position: absolute;
  right: -8px;
  bottom: -8px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  border: 3px solid var(--surface);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s var(--ease), background 0.2s ease;
}
.founder-li svg { width: 18px; height: 18px; }
.founder-li:hover { transform: translateY(-2px); background: #3a8bc2; text-decoration: none; }
.founder-email { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 4px; color: rgba(255, 255, 255, 0.86); font-size: 0.9375rem; font-weight: 600; overflow-wrap: anywhere; }
.founder-email svg { width: 16px; height: 16px; flex: none; color: var(--blue); }
.founder-email:hover { color: var(--white); text-decoration: none; }
.founder-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.founder-toggle svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.founder-toggle:hover { color: var(--white); }

/* With JS: LinkedIn, email and the full bio only show on the open card */
.js .founder[data-founder] { cursor: pointer; transition: transform 0.3s var(--ease), border-color 0.2s ease; }
.js .founder-toggle { display: inline-flex; }
.js .founder:not(.is-open) :is(.founder-li, .founder-email, .founder-more) { display: none; }
.js .founder.is-open .founder-toggle svg { transform: rotate(180deg); }
@media (hover: hover) {
  .js .founder[data-founder]:not(.is-open):hover { transform: scale(1.025); border-color: rgba(75, 156, 211, 0.5); }
}
.js .founder[data-founder].is-open:hover { transform: none; }
.founder.is-open .founder-body p { max-width: 75ch; }
.founder.is-open .founder-more { animation: founder-in 0.45s var(--ease) both; }
@keyframes founder-in { from { opacity: 0; transform: translateY(6px); } }

@media (max-width: 559px) {
  .founder.is-open .founder-top { grid-template-columns: 76px 1fr; gap: 16px; }
  .founder.is-open .founder-photo { width: 76px; height: 76px; border-radius: 16px; }
  .founder-email { max-width: 100%; font-size: 0.8125rem; white-space: nowrap; overflow-wrap: normal; }
  .founder-top > div { min-width: 0; }
}
/* The other founder, minimized */
.founder.is-min .founder-body > p { display: none; }
.founder.is-min .founder-top { grid-template-columns: 56px 1fr; gap: 14px; padding: 16px 18px 0; }
.founder.is-min .founder-photo { width: 56px; height: 56px; border-radius: 14px; }
.founder.is-min .founder-top h2 { font-size: 1.125rem; }
.founder.is-min .founder-role { font-size: 0.8125rem; }
.founder.is-min .founder-body { padding: 4px 18px 12px; }
.founder.is-min .founder-toggle svg { transform: rotate(-90deg); }
.founders.has-open .founder.is-open { order: -1; }
@media (min-width: 960px) {
  .founders.has-open { grid-template-columns: minmax(0, 1fr) 210px; }
  .founder.is-min .founder-top { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 22px 18px 0; }
  .founder.is-min .founder-photo { width: 120px; height: 120px; border-radius: 22px; }
  .founder.is-min .founder-body { display: flex; justify-content: center; padding: 6px 18px 16px; }
}

/* Smooth morph between layouts */
html.vt-founders::view-transition-old(root),
html.vt-founders::view-transition-new(root) { animation: none; }
::view-transition-group(founder-a),
::view-transition-group(founder-b) { overflow: clip; border-radius: var(--radius); }
::view-transition-old(founder-a), ::view-transition-new(founder-a),
::view-transition-old(founder-b), ::view-transition-new(founder-b) { height: 100%; object-fit: none; object-position: 0 0; }
::view-transition-old(founder-a), ::view-transition-old(founder-b) { animation: 0.2s ease both vt-out; }
::view-transition-new(founder-a), ::view-transition-new(founder-b) { animation: 0.35s ease 0.1s both founder-fade; }
@keyframes founder-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .js .founder[data-founder], .founder-toggle svg { transition: none; }
  .founder.is-open .founder-more { animation: none; }
}

.story { max-width: 760px; }
.story p { color: rgba(255, 255, 255, 0.86); font-size: 1.125rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.4fr 1fr; } }
.contact-main { padding: 32px 24px; border-color: rgba(75, 156, 211, 0.3); background: linear-gradient(180deg, rgba(75, 156, 211, 0.08), var(--surface) 55%); }
.contact-main h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
.contact-main .list { margin: 8px 0 28px; }
@media (min-width: 760px) { .contact-main { padding: 44px 40px; } }
.email-card h2 { font-size: 1.25rem; }
.email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 10px 10px 10px 16px;
  border-radius: 12px;
  background: var(--navy);
  border: 1px solid var(--line-strong);
}
.email-row a { display: inline-flex; align-items: center; flex: 1 1 auto; min-width: 0; min-height: 44px; color: var(--white); font-weight: 600; overflow-wrap: break-word; }
.copy-btn { flex: none; }
.email-row + .email-row { margin-top: 10px; }
.email-row--compact { flex-wrap: nowrap; container-type: inline-size; padding: 6px 6px 6px 14px; }
.email-row--compact a { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: min(0.9375rem, 4.3cqi); display: block; line-height: 44px; }
.copy-btn--icon { width: 44px; min-width: 44px; padding: 0; justify-content: center; }
.copy-btn[data-copied] { border-color: #1F9D57; background: rgba(31, 157, 87, 0.15); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 0 32px;
  background: #070B16;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.1fr) max-content; gap: 40px; } .footer-brand { grid-column: auto; } }
.footer-brand img { width: 168px; margin-bottom: 14px; }
.footer-brand p { max-width: 340px; color: var(--muted); }
.site-footer h2 {
  margin-bottom: 14px;
  color: var(--muted-2);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-links { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 24px; }
@media (min-width: 700px) { .footer-links { columns: 1; } }
.footer-links li { margin-bottom: 10px; break-inside: avoid; }
.footer-links a { color: rgba(255, 255, 255, 0.82); }
.footer-links a:hover { color: var(--white); }
.footer-contact-list { display: grid; justify-items: start; gap: 4px; margin: 0 0 18px; }
.footer-contact-list a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--white); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.footer-contact-list a:hover { color: var(--blue); text-decoration: none; }
.footer-contact-list svg { width: 18px; height: 18px; flex: none; color: var(--blue); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.875rem;
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 15, 30, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.mobile-cta.is-visible { transform: none; }
.menu-open .mobile-cta { transform: translateY(110%); }
@media (max-width: 759px) {
  body { padding-bottom: 76px; }
}
@media (min-width: 760px) { .mobile-cta { display: none; } }

/* ---------- Fade-ins ---------- */
.motion .reveal { opacity: 0; translate: 0 24px; }
.motion .reveal.is-in { opacity: 1; translate: 0 0; transition: opacity 0.7s var(--ease), translate 0.7s var(--ease); }

/* ---------- Page transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.22s var(--ease) both vt-out; }
::view-transition-new(root) { animation: 0.4s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
.vt-fallback body { animation: vt-in 0.4s var(--ease) both; }
.vt-fallback.is-leaving body { opacity: 0; transition: opacity 0.2s ease; }

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



@media (max-width: 559px) {
  .hero .btn-row .btn,
  .detail-hero .btn-row .btn,
  .cta-box .btn-row .btn { flex: 1 1 100%; }
}

/* ======================================================================
   Live product graphics (examples, built in HTML/CSS, animated in main.js)
   ====================================================================== */

/* ---------- Cursor-following card glow ---------- */
.card, .panel, .step { --mx: 50%; --my: 50%; }
.panel { position: relative; }
@media (hover: hover) {
  .card::after, .panel::after, .step::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(260px circle at var(--mx) var(--my), rgba(75, 156, 211, 0.75), transparent 65%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    pointer-events: none;
  }
  .card::before, .panel::before, .step::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(75, 156, 211, 0.07), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    pointer-events: none;
  }
  .card:hover::after, .panel:hover::after, .step:hover::after,
  .card:hover::before, .panel:hover::before, .step:hover::before { opacity: 1; }
  .card:hover, .step:hover { transform: translateY(-3px); }
  .card, .step { transition: border-color 0.3s var(--ease), transform 0.35s var(--ease), background-color 0.3s var(--ease); }
}

/* ---------- Hero: after-hours call feed ---------- */
.feed {
  position: relative;
  width: 100%;
  max-width: clamp(420px, 32vw, 600px);
  margin: 0 auto;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(23, 33, 59, 0.92), rgba(18, 26, 48, 0.92));
  border: 1px solid var(--line-strong);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(75, 156, 211, 0.06), 0 0 80px -20px rgba(75, 156, 211, 0.25);
}
.feed-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 14px;
  border-bottom: 1px solid var(--line);
}
.duty { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9375rem; font-weight: 700; }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #2BC46F; flex: none; }
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #2BC46F;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping { 75%, 100% { transform: scale(2.8); opacity: 0; } }
.feed-sub { color: var(--muted-2); font-size: 0.8125rem; font-weight: 500; }
.tag {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.feed-window { position: relative; height: 312px; overflow: hidden; }
.feed-window::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 56px;
  background: linear-gradient(transparent, rgba(18, 26, 48, 0.95));
  pointer-events: none;
}
.feed-list { margin: 0; padding: 0; list-style: none; }
.feed-list.is-shifting { transition: transform 0.6s var(--ease); }
.feed-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  height: 78px;
  padding: 0 6px;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.6s var(--ease), background-color 1.6s ease;
}
.feed-row.is-enter { opacity: 0; }
.feed-row.is-new { background: linear-gradient(90deg, rgba(75, 156, 211, 0.1), transparent 70%); }
.fi { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; }
.fi svg { width: 18px; height: 18px; }
.fi--green { background: rgba(31, 157, 87, 0.16); color: #4ADE8B; }
.fi--red { background: rgba(192, 0, 0, 0.2); color: #FF6B6B; }
.fi--blue { background: var(--blue-soft); color: #7CC0EE; }
.feed-text { min-width: 0; }
.feed-title { display: block; font-size: 0.9375rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-meta { display: block; color: var(--muted); font-size: 0.8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.outcome { padding: 5px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.outcome--green { background: rgba(31, 157, 87, 0.16); color: #4ADE8B; }
.outcome--red { background: rgba(192, 0, 0, 0.2); color: #FF8080; }
.outcome--blue { background: var(--blue-soft); color: #8CC9F0; }
.feed-caption { margin: 14px 0 0; text-align: center; color: var(--muted-2); font-size: 0.8125rem; }
@media (max-width: 400px) {
  .feed { padding: 12px; }
  .feed-row { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; padding: 0 2px; }
  .fi { width: 34px; height: 34px; }
  .outcome { padding: 4px 8px; font-size: 0.6875rem; }
}

/* ---------- Industry tabs ---------- */
.tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
html:not(.js) .tabs { display: none; }
@media (min-width: 860px) { .tabs { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.tab {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.25s var(--ease);
}
.tab svg { width: 22px; height: 22px; flex: none; color: var(--blue); }
.tab:hover { color: var(--white); border-color: var(--line-strong); }
.tab:active { transform: scale(0.98); }
.tab[aria-selected="true"] {
  color: var(--white);
  border-color: rgba(75, 156, 211, 0.6);
  background: linear-gradient(180deg, rgba(75, 156, 211, 0.16), var(--surface));
  box-shadow: 0 0 0 4px rgba(75, 156, 211, 0.08), 0 16px 40px -20px rgba(75, 156, 211, 0.6);
}
.tab-panel { transition: opacity 0.35s var(--ease), translate 0.35s var(--ease); }
.tab-panel + .tab-panel { margin-top: 40px; }
.has-tabs .tab-panel + .tab-panel { margin-top: 0; }
.tab-panel.is-out { opacity: 0; translate: 0 10px; }
.tab-panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 16px; }
.tab-panel-head h3 { margin: 0; font-size: 1.25rem; }
.tab-panel-head p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Demo shells ---------- */
.demo {
  position: relative;
  width: 100%;
  max-width: clamp(400px, 30vw, 560px);
  margin: 0 auto;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), 0 0 60px -30px rgba(75, 156, 211, 0.35);
}
.demo-caption { margin: 14px 0 0; text-align: center; color: var(--muted-2); font-size: 0.8125rem; }
.demo .mock-bar { margin: 0; padding: 16px 18px; }

/* Phone agent: live transcript */
.transcript { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 6px; }
.line { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; transition: opacity 0.4s var(--ease); }
.line b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.line--caller b { background: rgba(255, 255, 255, 0.1); color: var(--muted); }
.line--ai b { background: var(--blue); color: var(--white); }
.line p { margin: 0; padding: 9px 13px; border-radius: 14px; font-size: 0.9rem; line-height: 1.45; }
.line--caller p { background: rgba(255, 255, 255, 0.06); }
.line--ai p { background: rgba(75, 156, 211, 0.14); border: 1px solid rgba(75, 156, 211, 0.25); }
.ghost { visibility: hidden; }
.is-hidden { opacity: 0; }
.confirm {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 18px 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(31, 157, 87, 0.14);
  border: 1px solid rgba(31, 157, 87, 0.4);
  color: #6EE7A0;
  font-size: 0.9375rem;
  font-weight: 700;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.confirm svg { width: 20px; height: 20px; flex: none; }
.confirm.is-hidden { transform: translateY(8px) scale(0.98); }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: #2BC46F; animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: 0.15s; }
.wave i:nth-child(3) { animation-delay: 0.3s; }
.wave i:nth-child(4) { animation-delay: 0.45s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }

/* Chat widget: mock site with chat */
.demo-chat { overflow: hidden; }
.site-body { position: relative; min-height: 430px; padding: 22px 18px; }
.site-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.site-logo { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.02em; }
.site-links { display: flex; gap: 8px; }
.site-links i { width: 28px; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); }
.chat-panel {
  position: absolute;
  right: 14px;
  bottom: 76px;
  left: 14px;
  max-width: 320px;
  margin-left: auto;
  border-radius: 18px;
  background: #0D1426;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85);
  transform-origin: bottom right;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.chat-panel.is-closed { opacity: 0; transform: translateY(12px) scale(0.92); }
.chat-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 0.8125rem; font-weight: 700; }
.chat-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #2BC46F; }
.chat-head span:last-child { margin-left: auto; color: var(--muted-2); font-weight: 500; }
.chat-panel .bubbles { padding: 12px; }
.chat-panel .bubble { font-size: 0.8125rem; padding: 8px 12px; transition: opacity 0.35s var(--ease), transform 0.4s var(--ease); }
.bubble.is-hidden { transform: translateY(6px); }
.lead-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 12px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(31, 157, 87, 0.14);
  border: 1px solid rgba(31, 157, 87, 0.4);
  color: #6EE7A0;
  font-size: 0.8125rem;
  font-weight: 700;
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease);
}
.lead-chip svg { width: 16px; height: 16px; flex: none; }
.lead-chip.is-hidden { transform: translateY(6px); }
.chat-launcher {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px -6px rgba(75, 156, 211, 0.8);
  transition: transform 0.25s var(--ease);
}
.chat-launcher svg { width: 22px; height: 22px; }
.chat-launcher.is-pressed { transform: scale(0.88); }
/* Text-back: phone */
.demo-phone { max-width: clamp(300px, 22vw, 380px); background: transparent; border: 0; box-shadow: none; }
.demo-phone .phone-screen { min-height: 470px; }
.incoming {
  position: absolute;
  inset: 44px 14px auto;
  padding: 18px;
  border-radius: 20px;
  background: #1A2440;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.8);
  text-align: center;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.incoming.is-hidden { transform: scale(0.96); pointer-events: none; }
.incoming strong { display: block; font-size: 1.0625rem; }
.incoming span { color: var(--muted); font-size: 0.8125rem; }
.ring {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #1F9D57;
  color: var(--white);
  animation: ring 1.2s ease-in-out infinite;
}
.ring svg { width: 24px; height: 24px; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 157, 87, 0.5); } 50% { box-shadow: 0 0 0 12px rgba(31, 157, 87, 0); } }
.demo-phone .notif, .demo-phone .bubble, .demo-phone .bubble-meta { transition: opacity 0.4s var(--ease), transform 0.45s var(--ease); }
.demo-phone .notif.is-hidden { transform: translateY(-8px); }
.demo-phone .bubbles { margin-top: 14px; }
.demo-phone .bubble { font-size: 0.8125rem; }

/* Website build: page assembles */
.demo-site { overflow: hidden; }
.demo-site .browser-body { padding: 18px; }
.blk { display: grid; margin-bottom: 14px; }
.blk > * { grid-area: 1 / 1; transition: opacity 0.45s var(--ease), transform 0.5s var(--ease); }
.blk .skel { display: flex; flex-direction: column; gap: 8px; }
.blk .skel i { display: block; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); }
.blk .real { opacity: 1; }
.blk .skel { opacity: 0; }
.demo-site.is-armed .blk:not(.is-built) .real { opacity: 0; transform: translateY(6px); }
.demo-site.is-armed .blk:not(.is-built) .skel { opacity: 1; }
.blk.is-scan .skel i { background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(75,156,211,0.35), rgba(255,255,255,0.08)); background-size: 200% 100%; animation: shimmer 0.8s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.s-nav { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; font-weight: 800; }
.s-nav span:last-child { color: var(--muted); font-weight: 600; }
.s-hero h4 { margin: 0 0 6px; font-size: 1.25rem; letter-spacing: -0.02em; }
.s-hero p { margin: 0; color: var(--muted); font-size: 0.8125rem; line-height: 1.45; }
.s-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-btns span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 10px; font-size: 0.8125rem; font-weight: 700; }
.s-btns svg { width: 14px; height: 14px; }
.s-btns .b-red { background: var(--red); }
.s-btns .b-ghost { border: 1px solid var(--line-strong); }
.s-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.s-cards span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-size: 0.6875rem; font-weight: 700; text-align: center; }
.s-cards svg { width: 18px; height: 18px; color: var(--blue); }
.s-map { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: rgba(75, 156, 211, 0.08); border: 1px solid rgba(75, 156, 211, 0.2); font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.s-map svg { width: 16px; height: 16px; color: var(--blue); }
.blk--last { margin-bottom: 0; }

.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;
}

/* ======================================================================
   Amendment 2 effects
   ====================================================================== */

/* ---------- Press states ---------- */
.tab:active, .chip:active, a.card:active, .toggle:active, .menu-toggle:active,
.mobile-menu a:not(.btn):active, .faq summary:active { transform: scale(0.97); }
.chip, .menu-toggle, .faq summary { transition: transform 0.2s var(--ease), border-color 0.25s ease, background-color 0.25s ease; }

/* ---------- Touch: 44px tap targets ---------- */
@media (pointer: coarse) {
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-links li { margin-bottom: 0; }
  .chip, .btn--sm, .link-arrow { min-height: 44px; }
}

/* ---------- Nav: sliding pill ---------- */
.nav { position: relative; }
.nav ul { position: relative; z-index: 1; }
.nav-pill {
  position: absolute;
  top: 50%;
  left: 0;
  width: var(--pw, 0);
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-strong);
  translate: var(--px, 0) -50%;
  opacity: 0;
  pointer-events: none;
  transition: translate 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s ease;
}
.nav-pill.is-on { opacity: 1; }
.nav-pill.is-instant { transition: opacity 0.3s ease; }
.js .nav a:not(.btn) { background-size: 0 0 !important; }

/* ---------- Hero: WebGL shader + node network (desktop, lazy) ---------- */
.fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.6s ease;
  pointer-events: none;
}
.fx.is-on { opacity: 1; }
.mesh .fx-nodes { z-index: 1; }
.mesh::after { z-index: 2; }
.mesh::before { z-index: 3; }

/* ---------- Split-text headlines ---------- */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.split-words .w > span { display: inline-block; }
.motion .reveal.split-words { opacity: 1; translate: none; }
.motion .split-words .w > span { transition: transform 0.85s var(--ease); transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 32ms); }
.motion .split-words:not(.is-in) .w > span { transform: translateY(108%); }

/* ---------- Text decode (eyebrows) ---------- */
.eyebrow.is-decoding { font-variant-numeric: tabular-nums; }

/* ---------- Scroll color journey ---------- */
.bg-shift main > section,
.bg-shift main > .marquee { background: transparent !important; border-color: transparent !important; }

/* ---------- Parallax layers ---------- */
[data-depth] { translate: 0 var(--py, 0px); }

/* ---------- 3D tilt ---------- */
@media (hover: hover) and (pointer: fine) {
  [data-tilt] { transform-style: preserve-3d; transition: transform 0.6s var(--ease), border-color 0.3s var(--ease); }
  [data-tilt].is-tilting { transition: transform 0.12s linear, border-color 0.3s var(--ease); }
  [data-tilt]::before { background: radial-gradient(380px circle at var(--mx) var(--my), rgba(140, 200, 240, 0.12), transparent 55%); }
}

/* ---------- Marquee ribbon ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 0.8rem + 1.2vw, 36px) 0;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: clamp(20px, 0.8rem + 1.6vw, 48px); padding-right: clamp(20px, 0.8rem + 1.6vw, 48px); }
.marquee span {
  font-size: clamp(1.25rem, 0.9rem + 1.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
}
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.45); }
.marquee i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.marquee i:nth-of-type(odd) { background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Line-drawn icons ---------- */
:is(.icon-badge, .tab, .panel h3, .panel .panel-title, .cred li, .chip, .faq summary, .hero-points li) svg > * {
  stroke-dasharray: 120;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.3s var(--ease);
}
.motion :is(.icon-badge, .tab, .panel h3, .panel .panel-title, .cred li, .chip, .faq summary, .hero-points li) svg:not(.is-drawn) > * { stroke-dashoffset: 120; }

/* ---------- Count-up numbers ---------- */
.price-main strong, .price-sub strong, .product-card .price, .price-tag strong, .stack-row strong { font-variant-numeric: tabular-nums; }

/* ---------- Industries: horizontal scroll (desktop) ---------- */
.hs-progress { display: none; }
.hs.is-h .tabs { display: none; }
.hs.is-h .hs-track { display: flex; gap: clamp(20px, 2vw, 40px); width: max-content; will-change: transform; }
.hs.is-h .tab-panel {
  flex: none;
  width: var(--slide-w, 80vw);
  margin: 0 !important;
  padding: clamp(24px, 1rem + 1.4vw, 44px);
  border-radius: 24px;
  background: rgba(18, 26, 48, 0.55);
  border: 1px solid var(--line);
}
.hs.is-h .tab-panel[hidden] { display: block; }
.hs.is-h .tab-panel-head h3 { font-size: clamp(1.5rem, 1rem + 1vw, 2.25rem); }
.hs.is-h .hs-progress {
  display: block;
  width: min(280px, 40%);
  height: 3px;
  margin-top: clamp(24px, 2vw, 40px);
  border-radius: 3px;
  background: var(--line-strong);
  overflow: hidden;
}
.hs-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--blue)); transform-origin: left; transform: scaleX(var(--hp, 0)); }
.hs-section.is-h-active { overflow: hidden; padding: calc(var(--header-top) + clamp(8px, 3vh, 48px)) 0 clamp(32px, 5vh, 80px); }
.hs-section.is-h-active .section-head { margin-bottom: clamp(20px, 3.5vh, 48px); }

/* ---------- Build-your-stack configurator ---------- */
html:not(.js) .stack-section { display: none; }
.stack { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .stack { grid-template-columns: 1.25fr 1fr; gap: clamp(20px, 2.5vw, 48px); } }
.stack-options { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.toggle {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.2s var(--ease);
}
.toggle:hover { border-color: var(--line-strong); }
.toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle .icon-badge { margin: 0; }
.toggle-text strong { display: block; font-size: 1.0625rem; }
.toggle-text span { display: block; color: var(--muted); font-size: 0.9rem; }
.switch { position: relative; width: 50px; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); transition: background-color 0.3s var(--ease); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); transition: transform 0.35s var(--ease); }
.toggle input:checked ~ .switch { background: var(--blue); }
.toggle input:checked ~ .switch::after { transform: translateX(20px); }
.toggle.is-on { border-color: rgba(75, 156, 211, 0.6); background: linear-gradient(180deg, rgba(75, 156, 211, 0.12), var(--surface)); }
.toggle:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 480px) {
  .toggle { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 14px; }
  .toggle .icon-badge { width: 40px; height: 40px; border-radius: 12px; }
  .toggle .icon-badge svg { width: 20px; height: 20px; }
}
.stack-total {
  padding: clamp(24px, 1rem + 1.5vw, 40px);
  border-radius: 20px;
  background: radial-gradient(500px 200px at 50% 0%, rgba(75, 156, 211, 0.16), transparent), linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(75, 156, 211, 0.3);
}
@media (min-width: 960px) { .stack-total { position: sticky; top: calc(var(--header-h) + 24px); } }
.stack-total .tag { display: inline-block; margin: 0 0 12px; }
.stack-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.stack-row > span { color: var(--muted); font-weight: 600; }
.stack-row strong { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.stack-row small { color: var(--muted); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.stack-note { margin: 16px 0 22px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Founders: clip-path wipe, grayscale to color ---------- */
.founder-photo { transition: clip-path 1.1s var(--ease), filter 0.5s ease; }
.motion .founder-photo:not(.is-wiped) { clip-path: inset(0 100% 0 0); }
@media (hover: hover) {
  .founder-photo { filter: grayscale(0.7) contrast(1.02); }
  .founder:hover .founder-photo { filter: none; }
}

.mesh.has-shader > i { display: none; }

/* ======================================================================
   Amendment 3: dropdown nav, accordion menu, overview + detail pages
   ====================================================================== */

/* ---------- Desktop dropdowns ---------- */
.has-dd { position: relative; }
.nav li > a.dd-parent { display: flex; align-items: center; gap: 4px; }
.dd-caret { display: inline-grid; }
.dd-caret svg { width: 14px; height: 14px; transition: rotate 0.3s var(--ease); }
.has-dd.is-open .dd-caret svg { rotate: 180deg; }
.dd {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 2;
  width: 384px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(14, 21, 39, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  backdrop-filter: saturate(160%) blur(20px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(75, 156, 211, 0.05);
  opacity: 0;
  visibility: hidden;
  translate: -50% 8px;
  transition: opacity 0.22s var(--ease), translate 0.3s var(--ease), visibility 0s linear 0.3s;
}
.dd::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-dd.is-open .dd,
html:not(.js) .has-dd:is(:hover, :focus-within) .dd {
  opacity: 1;
  visibility: visible;
  translate: -50% 0;
  transition: opacity 0.22s var(--ease), translate 0.3s var(--ease);
}
.dd ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav .dd li a {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  color: var(--white);
  white-space: normal;
  background-image: none;
}
.nav .dd li a:hover, .nav .dd li a:focus-visible { background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.dd-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); border: 1px solid rgba(75, 156, 211, 0.25); transition: background-color 0.25s ease; }
.dd li a:hover .dd-icon { background: rgba(75, 156, 211, 0.2); }
.dd-icon svg { width: 20px; height: 20px; }
.dd-text strong { display: block; font-size: 0.9375rem; font-weight: 700; line-height: 1.3; }
.dd-text span { display: block; color: var(--muted); font-size: 0.8125rem; font-weight: 500; line-height: 1.4; }
.nav .dd a.dd-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 12px 12px 6px;
  border-top: 1px solid var(--line);
  border-radius: 0;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 700;
  background-image: none;
}
.nav .dd a.dd-all:hover { color: var(--white); text-decoration: none; }
.dd-all svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.dd-all:hover svg { transform: translateX(3px); }
.nav .dd-parent.is-section { color: var(--white); }

/* ---------- Mobile accordion ---------- */
.mm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 8px 4px;
  border: 0;
  background: none;
  color: var(--white);
  font: inherit;
  font-size: clamp(1.375rem, 1.1rem + 1.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s var(--ease);
}
.mm-row:active { transform: scale(0.98); }
.mm-row.is-section { color: var(--blue); }
.mm-caret { display: inline-grid; }
.mm-caret svg { width: 22px; height: 22px; color: var(--muted-2); transition: rotate 0.35s var(--ease), color 0.25s ease; }
.mm-row[aria-expanded="true"] .mm-caret svg { rotate: 180deg; color: var(--blue); }
.mm-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.mm-group.is-open .mm-sub { grid-template-rows: 1fr; }
.mm-sub-inner { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s linear 0.4s; }
.mm-group.is-open .mm-sub-inner { visibility: visible; transition: none; }
.mm-sub ul { margin: 0; padding: 0 0 14px 6px; list-style: none; }
.mm-sub li { opacity: 0; translate: -10px 0; transition: opacity 0.3s ease, translate 0.35s var(--ease); }
.mm-group.is-open .mm-sub li { opacity: 1; translate: 0 0; }
.mm-group.is-open .mm-sub li:nth-child(2) { transition-delay: 40ms; }
.mm-group.is-open .mm-sub li:nth-child(3) { transition-delay: 80ms; }
.mm-group.is-open .mm-sub li:nth-child(4) { transition-delay: 120ms; }
.mm-group.is-open .mm-sub li:nth-child(5) { transition-delay: 160ms; }
.mobile-menu .mm-sub a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 52px;
  padding: 4px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0;
}
.mobile-menu .mm-sub a[aria-current="page"] { color: var(--blue); }
.mobile-menu .mm-sub a.mm-all { color: var(--blue); font-weight: 700; }
.mobile-menu .mm-sub a.mm-all svg { width: 16px; height: 16px; color: currentColor; }
.mm-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); border: 1px solid rgba(75, 156, 211, 0.25); }
.mobile-menu .mm-icon svg { width: 18px; height: 18px; color: var(--blue); }

/* ---------- Shared-element transitions (overview card -> detail header) ---------- */
::view-transition-group(*) { animation-duration: 0.5s; animation-timing-function: var(--ease); }

/* ---------- Overview cards ---------- */
.ov-grid { display: grid; gap: clamp(16px, 1.6vw, 28px); }
@media (min-width: 860px) { .ov-grid { grid-template-columns: repeat(2, 1fr); } }
.ov-card { padding: clamp(24px, 1rem + 1.4vw, 44px); }
.ov-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.ov-head .icon-badge { width: 56px; height: 56px; margin: 0; border-radius: 16px; }
.ov-head .icon-badge svg { width: 28px; height: 28px; }
.ov-head h2 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.ov-head .industry-who { margin: 2px 0 0; }
.ov-lead { color: rgba(255, 255, 255, 0.9) !important; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem) !important; }
.ov-sub { margin: 8px 0 8px; color: var(--muted-2); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.ov-card .list { margin-bottom: 20px; }
.ov-price { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin: 0 0 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ov-price strong { font-size: 1.125rem; font-weight: 800; }
.ov-price span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Detail pages ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-bottom: clamp(16px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
}
.back-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.back-link:hover { color: var(--white); text-decoration: none; }
.back-link:hover svg { transform: translateX(-3px); }
.detail-name { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.detail-name .icon-badge { width: 60px; height: 60px; margin: 0; border-radius: 18px; }
.detail-name .icon-badge svg { width: 30px; height: 30px; }
.detail-name .eyebrow { margin: 0; }
.detail-title { margin: 0; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.detail-name .industry-who { margin: 2px 0 0; }
.detail-hero h1 { max-width: 20ch; }
.detail-hero .lead { max-width: 52ch; margin-bottom: 28px; }
.product-hero .product-grid { align-items: center; }
.product-hero h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); }
.panel .panel-title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); }
.panel .panel-title svg { width: 22px; height: 22px; flex: none; }
.panel--pain .panel-title svg { color: #FF5A5A; }
.panel--help .panel-title svg { color: var(--blue); }

.examples { display: grid; gap: clamp(32px, 4vw, 64px); align-items: start; }
@media (min-width: 960px) { .examples { grid-template-columns: 1fr 1fr; } }

.fit-grid { gap: clamp(16px, 1.5vw, 24px); }
@media (min-width: 700px) { .fit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .fit-3 { grid-template-columns: repeat(3, 1fr); } .fit-4 { grid-template-columns: repeat(4, 1fr); } }

.plain-grid { display: grid; gap: clamp(28px, 4vw, 72px); align-items: start; }
@media (min-width: 960px) { .plain-grid { grid-template-columns: 1.2fr 1fr; } }
.plain-grid p { color: rgba(255, 255, 255, 0.86); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); max-width: 56ch; }

.price-feature { display: grid; gap: clamp(28px, 4vw, 72px); align-items: center; }
@media (min-width: 960px) { .price-feature { grid-template-columns: 1.2fr 1fr; } }
.price-feature .price-card { max-width: 460px; }

/* ---------- Pager (previous / all / next) ---------- */
.pager { padding: clamp(28px, 3vw, 48px) 0; border-top: 1px solid var(--line); }
.pager-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.pager-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--white);
  transition: border-color 0.3s var(--ease), transform 0.25s var(--ease);
}
.pager-link:hover { text-decoration: none; border-color: rgba(75, 156, 211, 0.5); }
.pager-link:active { transform: scale(0.98); }
.pager-link svg { width: 18px; height: 18px; flex: none; color: var(--blue); transition: transform 0.25s var(--ease); }
.pager-prev:hover svg { transform: translateX(-3px); }
.pager-next:hover svg { transform: translateX(3px); }
.pager-link small { display: block; color: var(--muted-2); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.pager-link strong { display: block; font-size: clamp(0.98rem, 0.9rem + 0.4vw, 1.25rem); }
.pager-next { justify-content: flex-end; text-align: right; }
.pager-all { grid-column: 1 / -1; order: 3; display: flex; align-items: center; justify-content: center; min-height: 44px; color: var(--muted); font-weight: 600; }
.pager-all:hover { color: var(--white); }
@media (min-width: 760px) {
  .pager-inner { grid-template-columns: 1fr auto 1fr; }
  .pager-all { grid-column: auto; order: 0; padding: 0 20px; }
}

/* ---------- Missed revenue calculator ---------- */
html:not(.js) .calc-section { display: none; }
.calc { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .calc { grid-template-columns: 1.25fr 1fr; gap: clamp(20px, 2.5vw, 48px); } }
.calc-inputs { display: grid; gap: 14px; }
.calc-field { padding: 18px 20px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.calc-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.calc-label label { color: rgba(255, 255, 255, 0.9); font-weight: 600; font-size: 0.98rem; }
.calc-label output { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  --fill: 50%;
}
.calc-field input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue) var(--fill), rgba(255, 255, 255, 0.12) var(--fill)); }
.calc-field input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); }
.calc-field input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--blue); }
.calc-field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--white); border: 0; box-shadow: 0 0 0 6px rgba(75, 156, 211, 0.25), 0 4px 10px rgba(0, 0, 0, 0.4); transition: box-shadow 0.2s ease; }
.calc-field input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 0; box-shadow: 0 0 0 6px rgba(75, 156, 211, 0.25); }
.calc-field input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 10px rgba(75, 156, 211, 0.3), 0 4px 10px rgba(0, 0, 0, 0.4); }
.calc-field input[type="range"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.calc-fine { margin: 6px 0 0; color: var(--muted-2); font-size: 0.8125rem; }
.calc-out .stack-note { margin-bottom: 8px; }
.calc-out .btn { margin-top: 18px; }
@media (min-width: 960px) { .calc-out { position: sticky; top: calc(var(--header-h) + 24px); } }
.calc-out strong { font-variant-numeric: tabular-nums; }

/* ======================================================================
   Amendment 4: business phone, embedded booking, CTA details
   ====================================================================== */

/* Full-screen menu: phone under the links */
.mobile-menu a.mm-phone {
  justify-content: flex-start;
  gap: 14px;
  min-height: 0;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.5s var(--ease) 340ms, translate 0.5s var(--ease) 340ms, color 0.2s ease;
}
.menu-open .mobile-menu a.mm-phone { opacity: 1; translate: 0 0; }
.mobile-menu a.mm-phone svg { width: 22px; height: 22px; color: var(--blue); }
.mm-phone small {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
}


/* Footer bottom bar: legal links */
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--white); }
@media (pointer: coarse) { .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; } }

/* Mobile sticky bar: Call + booking side by side */
.mobile-cta { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.mobile-cta .btn { min-height: 50px; padding-inline: 16px; }
.mobile-cta .mobile-cta-call { padding-inline: 18px; }
@media (max-width: 359px) { .mobile-cta .btn--red svg { display: none; } }
@media (min-width: 760px) { .mobile-cta { display: none; } }

/* Closing CTA bands: "or call" underneath */
.cta-box p.cta-call { margin: 18px auto 0; color: var(--muted); font-size: 1rem; }
.cta-call a { color: var(--white); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Booking buttons while the calendar script loads */
a[data-cal][aria-busy="true"] { cursor: progress; opacity: 0.8; }

/* Contact: inline calendar + phone/email cards */
.section--contact { padding-top: clamp(40px, 2rem + 3vw, 96px); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.6fr) minmax(340px, 1fr); } }
@media (min-width: 1600px) { .contact-grid { grid-template-columns: minmax(0, 2.4fr) minmax(340px, 1fr); } }
.contact-side { display: grid; gap: 20px; }
@media (min-width: 640px) and (max-width: 959px) { .contact-side { grid-template-columns: 1fr 1fr; } }
.contact-main .list { margin-bottom: 24px; }
.cal-inline {
  position: relative;
  min-height: 560px;
  margin: 0 -8px;
  border-radius: 12px;
  overflow: hidden;
}
@media (min-width: 760px) { .cal-inline { margin: 0; } }
.cal-inline iframe { display: block; width: 100%; border: 0; }
.lenis.lenis-smooth .cal-inline iframe,
.lenis.lenis-smooth cal-modal-box iframe { pointer-events: auto; }
.cal-inline-fallback {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 560px;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  text-align: center;
}
.cal-inline-fallback[hidden] { display: none; }
.js .cal-inline:not(.is-failed) .cal-inline-fallback .btn { display: none; }
.cal-inline.is-loading .cal-inline-fallback { visibility: hidden; }
.cal-inline.is-loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 3px solid var(--line-strong);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: cal-spin 0.8s linear infinite;
}
@keyframes cal-spin { to { transform: rotate(360deg); } }
.booking-terms { margin: 16px 0 0; color: var(--muted-2); font-size: 0.875rem; }
.booking-terms a, .cal-terms a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.booking-terms a:hover, .cal-terms a:hover { color: var(--white); }
.phone-card h2 { font-size: 1.25rem; }
.phone-card h2 a { color: var(--white); white-space: nowrap; }
.phone-card .email-row a { font-variant-numeric: tabular-nums; }
@media (hover: none) { .copy-btn--desktop { display: none; } }

/* Terms line along the bottom while the booking popup is open */
.cal-terms {
  position: fixed;
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 2147483647;
  width: max-content;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 6px 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(7, 11, 22, 0.92);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
}

/* ======================================================================
   Amendment 5: Privacy Policy & Terms (calm reading pages)
   ====================================================================== */
.page-hero--legal { padding-bottom: clamp(32px, 1.5rem + 2vw, 56px); }
@media (min-width: 960px) { .page-hero--legal { padding: calc(var(--header-top) + clamp(56px, 5vw, 96px)) 0 clamp(40px, 3vw, 64px); } }
.page-hero--legal h1 { max-width: none; margin-bottom: 18px; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); }
.legal-company { margin: 0 0 10px; color: var(--blue); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.legal-date {
  display: inline-block;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.9375rem;
}
.legal-wrap { padding-top: clamp(32px, 1.5rem + 2vw, 64px); }
.legal-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1080px) {
  .legal-layout { grid-template-columns: 250px minmax(0, 70ch); gap: clamp(48px, 5vw, 96px); }
  .legal-toc { position: sticky; top: calc(var(--header-h) + 32px); }
}
@media (min-width: 1600px) { .legal-layout { justify-content: center; grid-template-columns: 270px minmax(0, 70ch) 270px; } }

.legal-toc {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy-2);
  font-size: 0.9rem;
}
.legal-toc-title { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: -6px 0; color: var(--muted-2); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; list-style: none; }
.legal-toc-title::-webkit-details-marker { display: none; }
.legal-toc-title svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.legal-toc details[open] .legal-toc-title svg { transform: rotate(180deg); }
.legal-toc ol { margin-top: 8px !important; }
@media (min-width: 1080px) { .legal-toc-title { pointer-events: none; } .legal-toc-title svg { display: none; } }
.legal-toc ol { margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) and (max-width: 1079px) { .legal-toc ol { columns: 2; column-gap: 28px; } }
.legal-toc li { break-inside: avoid; }
.legal-toc a { display: block; padding: 5px 0; color: var(--muted); line-height: 1.4; }
.legal-toc a:hover { color: var(--white); text-decoration: none; }
@media (pointer: coarse) { .legal-toc a { padding: 9px 0; } }

.legal-body { max-width: 70ch; color: rgba(255, 255, 255, 0.86); font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem); line-height: 1.75; }
.legal-sec { scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-sec + .legal-sec { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.legal-body h2 { margin-bottom: 14px; font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.625rem); letter-spacing: -0.015em; }
.legal-body h3 { margin: 26px 0 8px; font-size: 1.0625rem; letter-spacing: 0; }
.legal-body h2 + h3 { margin-top: 0; }
.legal-body p { margin: 0 0 1em; }
.legal-body ul { margin: 0 0 1em; padding-left: 1.25em; }
.legal-body li { margin-bottom: 0.45em; padding-left: 0.25em; }
.legal-body li::marker { color: var(--blue); }
.legal-body strong { color: var(--white); font-weight: 600; }
.legal-body a { overflow-wrap: anywhere; }
mark.placeholder {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 196, 0, 0.16);
  color: #FFD666;
  outline: 1px dashed rgba(255, 214, 102, 0.5);
}

/* 404 */
.page-hero--404 { display: flex; align-items: center; min-height: 70vh; min-height: 70svh; border-bottom: 0; }
.page-hero--404 .btn-row { margin-top: 32px; }
@media (max-width: 559px) { .cal-terms { padding: 4px 12px; font-size: 0.6875rem; } }
.footer-contact .btn { white-space: nowrap; padding-inline: 18px; }
@media (min-width: 1080px) and (max-width: 1399px) { .footer-contact .btn svg { display: none; } .footer-contact .btn { padding-inline: 14px; font-size: 0.9375rem; } }
.nav .nav-cta .btn { white-space: nowrap; }

/* Booking loading screen (shown from click until the Cal.com calendar is ready) */
.cal-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: 24px max(16px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(7, 11, 22, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: cal-loader-in 0.25s ease 0.12s both;
  transition: opacity 0.3s ease;
}
.cal-loader.is-done { opacity: 0; pointer-events: none; }
@keyframes cal-loader-in { from { opacity: 0; } }
.cal-loader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 380px);
  padding: 36px 28px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--surface-2), var(--navy-2));
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(75, 156, 211, 0.08);
  text-align: center;
  animation: cal-card-in 0.45s var(--ease) 0.12s both;
}
@keyframes cal-card-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } }
.cal-loader-mark { width: 96px; height: 96px; margin-bottom: 14px; overflow: visible; }
.cal-loader-mark .nd circle:first-child { fill: none; stroke-width: 9; transition: stroke 0.4s ease, opacity 0.4s ease; }
.cal-loader-mark .nd .core { transition: fill 0.4s ease, opacity 0.4s ease; }
.cal-loader-mark .nd circle:first-child { stroke: #3A4560; }
.cal-loader-mark .nd .core { fill: #3A4560; }
.cal-loader-mark .ln { fill: none; stroke: #3A4560; stroke-width: 6; stroke-dasharray: 6 7; transition: stroke 0.4s ease; }
.cal-loader-mark .nd { transform-box: fill-box; transform-origin: center; }
/* Step 1: blue node; step 2: gray node; step 3: red node */
.cal-loader[data-stage] .nd1 circle:first-child { stroke: var(--blue); }
.cal-loader[data-stage] .nd1 .core { fill: var(--blue); }
.cal-loader[data-stage="2"] .nd2 circle:first-child,
.cal-loader[data-stage="3"] .nd2 circle:first-child { stroke: #8A93A6; }
.cal-loader[data-stage="2"] .nd2 .core,
.cal-loader[data-stage="3"] .nd2 .core { fill: #8A93A6; }
.cal-loader[data-stage="2"] .ln1, .cal-loader[data-stage="3"] .ln1 { stroke: #8A93A6; }
.cal-loader[data-stage="3"] .nd3 circle:first-child { stroke: var(--red); }
.cal-loader[data-stage="3"] .nd3 .core { fill: var(--red); }
.cal-loader[data-stage="3"] .ln2 { stroke: var(--blue); }
.cal-loader[data-stage="1"] .nd1,
.cal-loader[data-stage="2"] .nd2,
.cal-loader[data-stage="3"] .nd3 { animation: cal-node-pulse 1.1s ease-in-out infinite; }
.cal-loader[data-stage="2"] .ln1,
.cal-loader[data-stage="3"] .ln2 { animation: cal-line-flow 0.8s linear infinite; }
@keyframes cal-node-pulse { 50% { transform: scale(1.12); } }
@keyframes cal-line-flow { to { stroke-dashoffset: -26; } }
.cal-loader-brand { margin: 0 0 14px; color: var(--blue); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.cal-loader-title { margin: 0 0 4px; color: var(--white); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.cal-loader-sub { min-height: 1.6em; margin: 0 0 20px; color: var(--muted); font-size: 1rem; }
.cal-loader-steps { display: flex; gap: 8px; margin-bottom: 18px; }
.cal-loader-steps i { width: 28px; height: 4px; border-radius: 4px; background: var(--line-strong); transition: background-color 0.4s ease; }
.cal-loader[data-stage] .cal-loader-steps i:nth-child(1),
.cal-loader[data-stage="2"] .cal-loader-steps i:nth-child(2),
.cal-loader[data-stage="3"] .cal-loader-steps i:nth-child(2) { background: var(--blue); }
.cal-loader[data-stage="3"] .cal-loader-steps i:nth-child(3) { background: var(--red); }
.cal-loader-cancel {
  min-height: 44px;
  padding: 8px 18px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}
.cal-loader-cancel:hover { color: var(--white); background: rgba(255, 255, 255, 0.05); }
@media (prefers-reduced-motion: reduce) {
  .cal-loader-mark .nd, .cal-loader-mark .ln { animation: none !important; }
}
.cal-loader.no-anim, .cal-loader.no-anim .cal-loader-card { animation: none; }
