/* ═════════════════════════════════════════════════════════════════════════
   Echo website. A framed, light page in Echo's colours: sage paper, white
   sections, hairlines, and Comsync teal as the one accent. The brand ink
   (#1C3029) is the dark band. Amber dashed chips are {PLACEHOLDERS}.
   ═════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Roboto");
  size-adjust: 107.06%;
  ascent-override: 90.49%;
  descent-override: 22.56%;
  line-gap-override: 0%;
}

:root {
  --bg:            #F5F8F6;
  --white:         #FFFFFF;
  --surface-2:     #F0F4F1;
  --surface-3:     #E8EFEA;
  --border:        #DFE7E2;
  --border-strong: #C6D3CA;
  --border-faint:  #EAF0EC;
  --dash:          #C6D3CA;

  --text-1:        #1C3029;
  --text-2:        #3A4E45;
  --text-3:        #5F7166;
  --text-4:        #B4C2B9;

  --accent:        #087965;
  --accent-hover:  #066A58;
  --accent-subtle: rgba(8, 121, 101, 0.09);
  --accent-soft:   rgba(8, 121, 101, 0.16);

  --ink:           #1C3029;
  --success:       #126548;
  --warning:       #A86400;
  --danger:        #B8392F;
  --live:          #E4574A;

  --sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --pad: 40px;
  --shadow-float: 0 1px 2px rgba(28, 48, 41, 0.06), 0 10px 30px -10px rgba(28, 48, 41, 0.16);
}

/* ─── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
svg { display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); letter-spacing: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

[lang="hi"], [lang="mr"] { font-family: "Inter", "Nirmala UI", "Noto Sans Devanagari", "Kohinoor Devanagari", sans-serif; }
[lang="ta"] { font-family: "Inter", "Nirmala UI", "Noto Sans Tamil", "Tamil Sangam MN", sans-serif; }
[lang="te"] { font-family: "Inter", "Nirmala UI", "Noto Sans Telugu", "Telugu Sangam MN", sans-serif; }
[lang="kn"] { font-family: "Inter", "Nirmala UI", "Noto Sans Kannada", "Kannada Sangam MN", sans-serif; }
[lang="ml"] { font-family: "Inter", "Nirmala UI", "Noto Sans Malayalam", "Malayalam Sangam MN", sans-serif; }
[lang="gu"] { font-family: "Inter", "Nirmala UI", "Noto Sans Gujarati", "Gujarati Sangam MN", sans-serif; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100; padding: 8px 12px;
  background: var(--white); border: 1px solid var(--border-strong); border-radius: 6px; font-size: 14px;
}
.skip:focus { top: 12px; }

.ph {
  font-family: var(--mono);
  font-size: 0.8em;
  font-weight: 500;
  color: var(--warning);
  background: var(--white);
  border: 1px dashed currentColor;
  border-radius: 4px;
  padding: 0.05em 0.4em;
  overflow-wrap: anywhere;
}

/* The frame: every section sits in one column with hairline sides. */
.shell {
  position: relative;
  max-width: calc(1360px + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease), transform 140ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 14px; }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent-hover);
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(8, 121, 101, 0.28);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { opacity: 0.6; cursor: progress; }
.btn-soft { background: var(--surface-3); color: var(--text-1); }
.btn-soft:hover { background: var(--border); }
.chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.55; }
.icon-btn {
  display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 6px;
  background: none; color: var(--text-3); cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text-1); }

.ic { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dot { display: inline-block; flex-shrink: 0; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; vertical-align: 1px; }
.dot-ink { background: var(--text-3); }
.dot-ok { background: var(--success); }
.dot-warn { background: var(--warning); }
.dot-live { position: relative; background: var(--live); }
.pulse { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5ED0B2; }
.pulse::after, .dot-live::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: ring 1.6s var(--ease) infinite;
}
@keyframes ring { from { transform: scale(1); opacity: 0.6; } to { transform: scale(3); opacity: 0; } }

/* ─── Floating nav ─────────────────────────────────────────────────────── */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 60; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
/* The nav is Echo green, with the phone card's voice lines moving inside. */
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(720px, 100%);
  height: 56px;
  padding: 0 9px 0 14px;
  overflow: hidden;
  background: linear-gradient(110deg, #0B7A64 0%, #0D5446 55%, #1C3029 100%);
  border: 1px solid rgba(245, 248, 246, 0.12);
  border-radius: 15px;
  box-shadow: 0 1px 2px rgba(13, 84, 70, 0.3), 0 14px 34px -12px rgba(13, 84, 70, 0.55);
  pointer-events: auto;
}
.nav > :not(canvas) { position: relative; z-index: 1; }
.nav-waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mark { color: #F5F8F6; }
.mark .mk { stroke: #0B6B59; }
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: #FFFFFF; }
.nav-links { display: flex; gap: 24px; }
.nav-links a, .nav-signin { font-size: 14px; font-weight: 500; color: rgba(245, 248, 246, 0.82); transition: color 120ms var(--ease); }
.nav-links a:hover, .nav-signin:hover { color: #FFFFFF; }
.nav :focus-visible { outline-color: #5ED0B2; }
.btn-light { background: #FFFFFF; border-color: #FFFFFF; color: var(--accent); font-weight: 600; box-shadow: 0 1px 2px rgba(3, 18, 13, 0.25); }
.btn-light:hover { background: #E6F4EF; }
.nav-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: 32px;
  padding-top: 76px;
  padding-bottom: 48px;
  border-top: 0;
  overflow: hidden;
}
h1 {
  max-width: 11em;
  font-size: clamp(36px, 2.2vw + 18px, 54px);
  line-height: 1.07;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-sub { max-width: 30em; margin-top: 22px; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.hero-sub strong { color: var(--text-1); font-weight: 600; }
.hero-who { margin-top: 18px; font-size: 17px; color: var(--text-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-dial { margin-top: 18px; font-size: 14px; color: var(--text-3); }
.hero-dial a { color: var(--accent); }

.hero-waves { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
/* The phone sits in the flow and is as tall as its screen, so the hero ends
   just below it. It grows a little when the call form opens up. */
.hero-visual { position: relative; z-index: 1; display: flex; justify-content: center; }
.grid-decor { position: absolute; color: var(--dash); }

/* The phone. A light handset that rises into place on load. */
.phone {
  position: relative;
  width: min(340px, 100%);
  margin-top: 18px;
  padding: 10px;
  border-radius: 56px;
  background: linear-gradient(180deg, #FFFFFF, #EEF3F0);
  box-shadow:
    0 0 0 1px #D3DDD7,
    inset 0 0 0 2px #FFFFFF,
    inset 0 0 0 3px #E3EAE5,
    0 40px 80px -30px rgba(28, 48, 41, 0.35),
    0 12px 24px -12px rgba(28, 48, 41, 0.12);
}
.phone::before, .phone::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: #D3DDD7;
}
.phone::before { top: 150px; height: 36px; }
.phone::after { top: 200px; height: 60px; }
/* --ps scales the phone on small screens; it lives in the keyframes too, so
   crossing a breakpoint never replays the entrance. */
.phone { --ps: 1; transform: scale(var(--ps)); transform-origin: 50% 0; }
.js .phone { animation: rise 1.25s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
@keyframes rise {
  from { transform: scale(var(--ps)) translateY(140px); filter: blur(14px); opacity: 0.35; }
  to   { transform: scale(var(--ps)); filter: none; opacity: 1; }
}
.phone-screen {
  position: relative;
  min-height: 588px;
  padding: 14px 14px 40px;
  border-radius: 46px;
  background: #FAFCFB;
  overflow: hidden;
}
/* The home indicator, like a real handset. */
.ph-home {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 116px;
  height: 5px;
  margin-left: -58px;
  border-radius: 3px;
  background: var(--ink);
  opacity: 0.82;
}
.ph-status { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 14px; font-size: 13px; font-weight: 500; color: var(--text-3); }
.ph-island { width: 92px; height: 27px; border-radius: 16px; background: #E1E8E3; }
.ph-icons { display: flex; align-items: center; gap: 5px; color: var(--text-3); fill: currentColor; }

.ph-card {
  position: relative;
  height: 226px;
  margin-top: 16px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #0B7A64 0%, #0D5446 52%, #1C3029 100%);
  box-shadow: 0 14px 28px -14px rgba(13, 84, 70, 0.6);
  transition: height 420ms var(--ease);
}
.ph-card-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-card-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; align-items: center; justify-content: space-between; }
.ph-live {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); font-size: 11px; font-weight: 500; color: #F5F8F6;
}
.ph-card-bottom { position: absolute; left: 16px; bottom: 14px; display: flex; flex-direction: column; transition: opacity 240ms var(--ease); }
.ph-label { font-size: 10px; letter-spacing: 0.04em; color: rgba(245, 248, 246, 0.6); }
.ph-agent { font-size: 15px; font-weight: 500; color: #FFFFFF; }
.ph-agent b { font-weight: 600; }
.phone.is-compact .ph-card { height: 64px; }
.phone.is-calling .ph-card { display: none; }
.phone.is-compact .ph-card-bottom { opacity: 0; }

.ph-form { padding: 16px 2px 0; }
.ph-title { margin-bottom: 10px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.ph-langs { border: 0; padding: 0; min-width: 0; }
.ph-langs-row {
  display: flex;
  gap: 6px;
  margin: 0 -16px;
  padding: 0 16px 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 24px), transparent);
}
.ph-langs-row::-webkit-scrollbar { display: none; }
.chip { position: relative; flex-shrink: 0; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip > span:not(.sr-only) {
  display: block;
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-2);
  white-space: nowrap;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease), color 140ms var(--ease);
}
.chip input:checked + span { background: var(--accent-subtle); border-color: var(--accent); color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }

.ph-field {
  display: flex;
  align-items: center;
  height: 48px;
  margin-top: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 120ms var(--ease);
}
.ph-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }
.ph-field:has([aria-invalid="true"]) { border-color: var(--danger); }
.ph-field .mono { padding: 0 10px 0 14px; border-right: 1px solid var(--border); font-size: 14px; color: var(--text-2); }
.ph-field input { flex: 1; min-width: 0; height: 100%; padding: 0 12px; border: 0; background: none; font-family: var(--mono); font-size: 15px; outline: none; }
.ph-field input::placeholder { font-family: var(--sans); color: var(--text-3); opacity: 0.85; }

.details { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 360ms var(--ease), opacity 260ms var(--ease); }
.js .details:not(.is-open) { grid-template-rows: 0fr; opacity: 0; }
.details-inner { min-height: 0; overflow: hidden; margin: 0 -3px; padding: 0 3px; }
.ph-input {
  display: block;
  width: 100%;
  height: 42px;
  margin-top: 8px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  background: var(--white);
  font-size: 14px;
}
.ph-input:first-child { margin-top: 10px; }
.ph-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }
.ph-input[aria-invalid="true"] { border-color: var(--danger); }
select.ph-input {
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%235F7166' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.ph-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 11.5px; line-height: 1.45; color: var(--text-3); cursor: pointer; }
.ph-consent input { flex-shrink: 0; width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--accent); }
.field-err { margin-top: 5px; font-size: 11.5px; line-height: 1.4; color: var(--danger); }
.form-err { display: flex; gap: 8px; margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--text-1); }
.form-err::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; margin-top: 6px; border-radius: 50%; background: var(--danger); }

.ph-otp {
  display: none;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--accent-subtle, #f3f7f5);
}
.ph-otp.is-open { display: block; }
.ph-otp.is-verified { border-color: var(--accent); background: #fff; }
.ph-otp-title { margin: 0; font-size: 14px; font-weight: 600; color: var(--text-1); }
.ph-otp-note { margin: 4px 0 12px; font-size: 12.5px; line-height: 1.45; color: var(--text-2); }
.ph-otp.is-error .ph-otp-note { color: var(--danger); }
.ph-otp-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 11px;
  background: #128C7E;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.ph-otp-send:hover { background: #0e7569; }
.ph-otp-send:disabled { opacity: 0.7; cursor: progress; }
.ph-otp.is-sent .ph-otp-send { display: none; }
.ph-otp-entry { margin-top: 2px; }
.ph-otp-digits { display: flex; gap: 6px; }
.ph-otp-digit {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: var(--text-1);
}
.ph-otp-digit:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }
.ph-otp.is-verified .ph-otp-digit { border-color: var(--accent); color: var(--accent); }
.ph-otp-status { min-height: 1.2em; margin: 8px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--text-2); }
.ph-otp.is-verified .ph-otp-status { color: var(--accent); font-weight: 600; }
.ph-otp.is-error .ph-otp-status { color: var(--danger); }
.ph-otp-resend {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.ph-otp-resend:disabled { opacity: 0.6; cursor: progress; }
.ph-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 16px -6px rgba(8, 121, 101, 0.6);
  transition: background-color 140ms var(--ease);
}
.ph-call:hover { background: var(--accent-hover); }
.ph-call:disabled { opacity: 0.7; cursor: progress; }

/* The call is on its way. */
.ph-calling {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 10px 6px;
  text-align: center;
  background: #FAFCFB;
  animation: fade-up 420ms var(--ease) both;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ph-avatar { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--accent); }
.ph-avatar span {
  position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--accent);
  animation: halo 2.4s var(--ease) infinite;
}
.ph-avatar span:nth-child(2) { animation-delay: 0.8s; }
.ph-avatar span:nth-child(3) { animation-delay: 1.6s; }
@keyframes halo { from { transform: scale(1); opacity: 0.7; } to { transform: scale(2.1); opacity: 0; } }
.ph-avatar svg { position: relative; }
.ph-calling-title { margin-top: 30px; font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.ph-calling-num { margin-top: 4px; font-size: 15px; color: var(--text-2); }
.ph-calling-from { margin-top: 2px; font-size: 13px; color: var(--text-3); }
.ph-calling-timer { margin-top: 22px; font-size: 30px; font-weight: 500; color: var(--text-1); }
.ph-calling-sub { margin-top: 10px; font-size: 13px; color: var(--text-3); }
.ph-calling-note { margin-top: 10px; font-size: 11.5px; line-height: 1.5; color: var(--text-3); }
.ph-again { margin-top: 16px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 500; color: var(--accent); cursor: pointer; }
.ph-again:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ─── Works with: logo grid ────────────────────────────────────────────── */
.logos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  padding: 0;
  background: var(--white);
}
.logos-lead {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 28px var(--pad);
  border-right: 1px solid var(--border);
}
.logos-lead p { max-width: 17em; font-size: 15px; line-height: 1.5; color: var(--text-3); }
.logos-lead strong { color: var(--text-1); font-weight: 500; }
.logos-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.logos-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 104px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-grid li:nth-child(4n) { border-right: 0; }
.logos-grid li:nth-child(n + 5) { border-bottom: 0; }

.wm { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-2); white-space: nowrap; transition: color 160ms var(--ease); }
li:hover > .wm { color: var(--text-1); }
.wm-tata { font-weight: 500; }
.wm-tata b { font-weight: 700; }
.wm-exotel { font-weight: 700; letter-spacing: -0.04em; font-size: 21px; }
.wm-plivo { font-weight: 700; font-style: italic; letter-spacing: -0.03em; font-size: 21px; }
.wm-twilio { font-weight: 700; letter-spacing: -0.02em; font-size: 20px; }
.wm-zoho { font-weight: 800; letter-spacing: 0.01em; }
.wm-zoho b { font-weight: 400; }
.wm-wa { font-weight: 600; }
.wm-code { font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.wm-more { font-size: 15px; }
.soon {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--surface-3);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 500;
  color: var(--text-3);
  white-space: nowrap;
}

/* ─── Statement and three columns ──────────────────────────────────────── */
.features { padding: 0; background: var(--white); }
.statement {
  max-width: 820px;
  margin: 0 auto;
  padding: 128px var(--pad) 112px;
  font-size: clamp(24px, 1.2vw + 15px, 34px);
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: -0.022em;
  text-align: center;
  text-wrap: balance;
  color: #73857B;
}
.statement .hl { color: var(--accent); }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col { padding: 0 40px; }
.col + .col { border-left: 1px solid var(--border); }
.col h3 { margin: 18px 0 8px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.col > p { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.col > p a { display: inline-flex; align-items: center; gap: 2px; font-weight: 500; color: var(--text-1); }
.col > p a:hover { color: var(--accent); }

.langlist {
  position: relative;
  height: 330px;
  margin: 26px -8px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.search {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 200px;
  height: 34px;
  margin: 0 auto 10px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-float);
}
.search svg { width: 15px; height: 15px; fill: none; stroke: var(--text-3); stroke-width: 1.8; stroke-linecap: round; }
.search input { flex: 1; min-width: 0; border: 0; background: none; font-size: 13.5px; outline: none; }
.langlist li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text-1);
}
.langlist li:hover { background: var(--surface-2); }
.langlist .en { font-size: 13px; color: var(--text-3); }
.langlist em { margin-left: auto; padding: 1px 7px; border-radius: 6px; background: var(--surface-3); font-size: 11px; font-style: normal; color: var(--text-3); }
.langlist li[hidden] { display: none; }

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 26px -8px 0;
  height: 330px;
  border-top: 1px solid var(--border-faint);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
}
.tiles li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-faint);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: background-color 160ms var(--ease);
}
.tiles li:nth-child(odd) { border-right: 1px solid var(--border-faint); }
.tiles li:hover { background: var(--surface-2); }
.tiles svg { width: 24px; height: 24px; fill: none; stroke: var(--text-3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.sync {
  height: 330px;
  margin-top: 26px;
  padding: 18px 18px 0;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: var(--white);
  box-shadow: 0 -1px 0 var(--border-faint), 0 18px 40px -26px rgba(28, 48, 41, 0.35);
  -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent);
  mask-image: linear-gradient(to bottom, #000 90%, transparent);
}
.sync-call { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--text-3); }
.sync-state { display: inline-flex; align-items: center; }
.sync-call .mono { font-size: 12px; font-weight: 500; color: var(--text-1); }
.sync.is-ended .dot-live { background: var(--text-4); }
.sync.is-ended .dot-live::after { animation: none; opacity: 0; }
.sync-who { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border-faint); font-size: 15px; font-weight: 600; }
.sync-meta { font-size: 12.5px; font-weight: 400; color: var(--text-3); }
.sync-fields li { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; }
.sync-fields li + li { border-top: 1px solid var(--border-faint); }
.sync-fields span { font-size: 11.5px; color: var(--text-3); }
.sync-fields b {
  position: relative;
  align-self: flex-start;
  margin: 0 -6px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  transition: color 200ms var(--ease);
}
.sync-fields li:not(.is-on) b { color: transparent; }
.sync-fields li:not(.is-on) b::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 70%;
  min-width: 60px;
  height: 8px;
  margin-top: -4px;
  border-radius: 4px;
  background: var(--surface-3);
}
.sync-fields li.just-on b { animation: filled 1.4s var(--ease); }
@keyframes filled { from { background: var(--accent-soft); } to { background: transparent; } }
.sync-done {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 8px;
  padding: 10px 12px;
  line-height: 1.4;
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  transition: background-color 300ms var(--ease), color 300ms var(--ease);
}
.sync-done svg { flex-shrink: 0; margin-top: 1px; opacity: 0; transition: opacity 300ms var(--ease); }
.sync-done.is-on { background: var(--accent-subtle); color: var(--success); }
.sync-done.is-on svg { opacity: 1; }

/* ─── Dark band ────────────────────────────────────────────────────────── */
.dark-band {
  margin: 0 6px;
  border-radius: 12px;
  background: var(--ink);
  color: #F5F8F6;
  overflow: hidden;
}
.shell-dark { border-color: rgba(245, 248, 246, 0.08); border-top: 0; padding-top: 112px; }
h2 {
  font-size: clamp(28px, 1.3vw + 18px, 40px);
  line-height: 1.14;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h2.center { text-align: center; }
h2 .muted { color: rgba(245, 248, 246, 0.5); }
h2 .accent { color: var(--accent); }

.tabs-line {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  border-bottom: 1px dashed rgba(245, 248, 246, 0.14);
}
.tabs-line button {
  position: relative;
  padding: 12px 0 14px;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: rgba(245, 248, 246, 0.55);
  cursor: pointer;
}
.tabs-line button:hover { color: #F5F8F6; }
.tabs-line button[aria-selected="true"] { color: #F5F8F6; }
.tabs-line button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #5ED0B2; }

.callwall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 280px);
  grid-auto-rows: 158px;
  gap: 26px;
  justify-content: center;
  align-content: center;
  height: 520px;
  margin: 28px calc(var(--pad) * -1) 0;
  padding: 0 var(--pad);
  background: rgba(245, 248, 246, 0.025);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 40%, transparent 100%);
}
.cw {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid rgba(245, 248, 246, 0.08);
  border-radius: 14px;
  background: rgba(245, 248, 246, 0.035);
  opacity: 0.42;
  transition: opacity 400ms var(--ease);
}
.cw-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(245, 248, 246, 0.7); }
.cw-lang { padding: 2px 8px; border-radius: 6px; background: rgba(245, 248, 246, 0.1); font-weight: 500; }
.cw-text {
  display: -webkit-box;
  margin-top: 12px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(245, 248, 246, 0.85);
}
.cw-out { margin-top: auto; font-size: 12px; color: rgba(245, 248, 246, 0.6); }
.cw-out b { font-weight: 500; color: #5ED0B2; }
.cw.is-center {
  opacity: 1;
  border-color: rgba(94, 208, 178, 0.55);
  background: rgba(245, 248, 246, 0.09);
  box-shadow: 0 0 0 4px rgba(43, 184, 150, 0.08), 0 24px 60px -18px rgba(0, 0, 0, 0.6);
  transform: scale(1.08);
}
.cw.is-center .cw-text { color: #FFFFFF; }
.cw-bars { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.cw-bars i { width: 2px; height: 100%; border-radius: 1px; background: #5ED0B2; animation: talk 0.7s ease-in-out infinite alternate; }
.cw-bars i:nth-child(2) { animation-delay: -0.2s; }
.cw-bars i:nth-child(3) { animation-delay: -0.45s; }
.cw-bars i:nth-child(4) { animation-delay: -0.1s; }
@keyframes talk { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
.cw-swap { animation: swap 520ms var(--ease) both; }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.rules4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding: 56px 0 88px; }
.rules4 .ic { stroke: rgba(245, 248, 246, 0.75); margin-bottom: 14px; }
.rules4 p { font-size: 14.5px; line-height: 1.6; color: rgba(245, 248, 246, 0.62); }
.rules4 strong { color: #F5F8F6; font-weight: 600; }

/* ─── Outcomes ─────────────────────────────────────────────────────────── */
.outcomes, .steps, .pricing, .faq-sec, .final { background: var(--white); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 112px 0 48px; }
.head-note { max-width: 25em; font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
.head-note a { color: var(--accent); font-weight: 500; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-bottom: 112px; }
.ovis { position: relative; height: 230px; border-radius: 14px; overflow: hidden; }
.ovis-light { background: var(--surface-2); padding: 34px 0 0 28px; }
.ovis-dark { display: grid; place-items: center; background: var(--ink); }
.ovis-teal { background: var(--accent); padding: 34px 28px 0; }
.mini {
  height: 100%;
  padding-top: 6px;
  border: 1px solid var(--border);
  border-right: 0;
  border-bottom: 0;
  border-radius: 10px 0 0 0;
  background: var(--white);
  font-size: 12.5px;
  white-space: nowrap;
}
.mini-check { border: 0; border-radius: 10px 10px 0 0; }
.mrow { display: grid; grid-template-columns: 76px minmax(0, 1fr) 64px; gap: 10px; padding: 9px 16px; }
.mini-check .mrow { grid-template-columns: 90px minmax(0, 1fr) 14px; }
.mrow + .mrow { border-top: 1px solid var(--border-faint); }
.mhead { font-size: 11.5px; color: var(--text-3); }
.mrow .r { text-align: right; }
.mrow .mono { font-size: 12px; }
.mini-check .mrow span:first-child { color: var(--text-3); }
.tick { color: var(--success); font-weight: 600; }
.mevent { display: flex; gap: 10px; margin: 6px 16px 0; padding: 8px 10px; border-radius: 7px; background: var(--surface-2); font-size: 12px; font-weight: 500; color: var(--text-2); }
.mevent .mono { color: var(--text-3); font-weight: 400; }
.orbit { position: absolute; inset: 0; }
.orbit span { position: absolute; left: 50%; top: 50%; border: 1px dashed rgba(245, 248, 246, 0.18); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit span:nth-child(1) { width: 150px; height: 150px; border-style: solid; }
.orbit span:nth-child(2) { width: 250px; height: 250px; }
.orbit span:nth-child(3) { width: 350px; height: 350px; }
.orbit i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: rgba(245, 248, 246, 0.4); }
.orbit i:nth-of-type(1) { left: 22%; top: 30%; }
.orbit i:nth-of-type(2) { right: 18%; bottom: 22%; background: #5ED0B2; }
.orbit-time { position: relative; font-size: 34px; font-weight: 500; color: #FFFFFF; }
.orbit-cap { position: absolute; bottom: 30px; font-size: 12px; color: rgba(245, 248, 246, 0.6); }
.olabel { margin-top: 20px; font-size: 13px; color: var(--text-3); }
.otext { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.otext strong { color: var(--text-1); font-weight: 600; }
.ometric { margin-top: 14px; font-size: 14px; }

/* ─── Steps ────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; padding-right: 0; }
.steps-left { padding: 112px 40px 112px 0; }
.steps-left .btn { margin-top: 26px; }
.stepper { margin-top: 44px; }
.stepper li { position: relative; }
.stepper button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 7px 12px 7px 10px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.stepper button:hover { color: var(--text-1); }
.stepper svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.stepper li.is-active button { background: var(--accent-subtle); color: var(--accent); }
.stepper p {
  display: none;
  margin: 10px 0 14px 20px;
  padding-left: 20px;
  border-left: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}
.stepper p strong { color: var(--text-1); font-weight: 600; }
.stepper li.is-active p { display: block; animation: fade-up 360ms var(--ease) both; }
.stepper li + li { margin-top: 6px; }

.steps-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  margin: 10px 0;
  border-radius: 12px 0 0 12px;
  background: var(--surface-2);
  overflow: hidden;
}
.stage-card {
  position: relative;
  width: min(460px, calc(100% - 48px));
  height: 448px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-float);
}
.sp {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 22px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 380ms var(--ease), transform 380ms var(--ease);
  pointer-events: none;
}
.sp.is-active { opacity: 1; transform: none; pointer-events: auto; }
.sp-title { margin-bottom: 14px; font-size: 15px; font-weight: 600; }
.seg { display: inline-flex; align-self: flex-start; gap: 2px; margin-bottom: 18px; padding: 3px; border-radius: 9px; background: var(--surface-3); font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.seg span { padding: 5px 10px; border-radius: 7px; }
.seg .is-on { background: var(--white); color: var(--text-1); box-shadow: 0 0 0 1px var(--border-strong); }
.scenes li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 13.5px; }
.scenes li + li { border-top: 1px solid var(--border-faint); }
.scenes .sn { width: 18px; font-size: 11.5px; color: var(--text-3); }
.scenes em { margin-left: auto; padding: 1px 7px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface-2); font-size: 11px; font-style: normal; color: var(--text-2); }
.inline-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--accent); cursor: pointer; }
.inline-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.stepper .inline-link { display: inline; width: auto; padding: 0; border-radius: 0; background: none; font-size: inherit; color: var(--accent); }
.stepper li.is-active .inline-link { background: none; }
.seg-live .seg-mark { padding: 0; border-radius: 50%; }
.seg-live button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 0;
  border-radius: 7px;
  background: none;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
}
.seg-live button.is-on { background: var(--white); color: var(--text-1); box-shadow: 0 0 0 1px var(--border-strong); }
.seg-mark { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); color: #FFFFFF; }
.seg-mark svg { width: 12px; height: 12px; }
.cs-view { animation: fade-up 300ms var(--ease) both; }
.mini-bubble { max-width: 92%; padding: 9px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.45; }
.mini-bubble.me { margin-left: auto; border-bottom-right-radius: 5px; background: var(--accent); color: #FFFFFF; }
.mini-bubble.bot { margin-top: 8px; border: 1px solid var(--border); border-bottom-left-radius: 5px; background: var(--surface-2); color: var(--text-1); }
.scenes-mini { margin-top: 6px; }
.scenes-mini li { gap: 10px; padding: 5px 0; font-size: 12.5px; }
.scenes-mini li + li { border-top-color: var(--border); }
.scenes-mini em { font-size: 10.5px; background: var(--white); }
.tpl-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tpl-list li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-height: 76px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.tpl-list b { font-size: 13px; font-weight: 600; line-height: 1.35; }
.tpl-list span { align-self: flex-start; padding: 1px 7px; border-radius: 5px; background: var(--surface-3); font-size: 11px; color: var(--text-3); }
.tpl-list li.is-on { border-color: var(--accent); background: var(--accent-subtle); }
.tpl-list li.is-on b { color: var(--accent); }
.sp-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border-faint); font-size: 12.5px; color: var(--text-3); }
.fake-btn { padding: 7px 12px; border-radius: 8px; background: var(--accent); font-size: 12.5px; font-weight: 600; color: #FFFFFF; }
.providers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.providers span { padding: 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.providers .is-on { border-color: var(--accent); background: var(--accent-subtle); color: var(--accent); }
.sp-field { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--border-faint); font-size: 13.5px; }
.sp-field span:first-child { color: var(--text-3); }
.sp-status { margin-top: 8px; font-size: 13.5px; font-weight: 500; color: var(--success); }
.mapping li { display: grid; grid-template-columns: minmax(0, 1fr) 40px auto; align-items: center; padding: 10px 0; font-size: 13.5px; }
.mapping li + li { border-top: 1px solid var(--border-faint); }
.mapping i { position: relative; height: 1px; margin-right: 10px; background: var(--border-strong); }
.mapping i::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--text-3); border-right: 1px solid var(--text-3); transform: rotate(45deg); }
.mapping .mono { font-size: 12.5px; }
.sp-hook { display: flex; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--surface-2); font-size: 11.5px; white-space: nowrap; overflow: hidden; }
.sp-hook span:first-child { font-weight: 600; color: var(--text-2); }
.toggles li { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; font-size: 13.5px; }
.toggles li + li { border-top: 1px solid var(--border-faint); }
.toggles em { margin-left: 8px; font-size: 11.5px; font-style: normal; color: var(--text-3); }
.tg { position: relative; width: 32px; height: 18px; border-radius: 999px; background: var(--border-strong); }
.tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #FFFFFF; transition: transform 200ms var(--ease); }
.tg.is-on { background: var(--accent); }
.tg.is-on::after { transform: translateX(14px); }
.live-calls li { display: grid; grid-template-columns: 44px 84px 70px minmax(0, 1fr); gap: 8px; align-items: center; padding: 11px 0; font-size: 13px; white-space: nowrap; }
.live-calls li + li { border-top: 1px solid var(--border-faint); }
.live-calls .mono { font-size: 12px; color: var(--text-3); }
.live-calls .is-live { background: var(--accent-subtle); margin: 0 -10px; padding: 11px 10px; border-radius: 8px; }
.cube { position: absolute; width: 70px; color: var(--dash); }
.cube-a { left: 40px; bottom: 90px; transform: rotate(-12deg); }
.cube-b { right: 56px; top: 80px; transform: rotate(14deg); }

/* ─── Hub ──────────────────────────────────────────────────────────────── */
.hub-sec { background: var(--bg); padding-bottom: 96px; }
.hub {
  position: relative;
  max-width: 880px;
  aspect-ratio: 880 / 540;
  margin: 24px auto 0;
}
.hub-tabs {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: var(--surface-3);
  transform: translateX(-50%);
  white-space: nowrap;
}
.hub-tabs button {
  padding: 8px 16px;
  border: 0;
  border-radius: 10px;
  background: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
}
.hub-tabs button[aria-selected="true"] { background: var(--white); color: var(--text-1); box-shadow: 0 1px 3px rgba(28, 48, 41, 0.12); }
.hub-wires { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--dash); overflow: visible; }
.hub-wires .ring { fill: none; stroke: var(--border); }
.hub-wires .flow { fill: var(--accent); }
.hub-wires path, .hub-wires .flow { transition: opacity 300ms var(--ease), color 300ms var(--ease); }
.hub-core {
  position: absolute;
  left: 50%;
  top: 51.85%;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--border), 0 16px 40px -14px rgba(28, 48, 41, 0.3);
  transform: translate(-50%, -50%);
}
.hub-core svg { position: relative; }
.hub-pulse { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: halo 3.2s var(--ease) infinite; }
.hub-pulse + .hub-pulse { animation-delay: 1.6s; }
.hub-label {
  position: absolute;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition: opacity 300ms var(--ease);
}
.hl-lines { left: 31.6%; top: 51.85%; }
.hl-crm { left: 68.4%; top: 51.85%; }
.hl-dev { left: 50%; top: 76%; }
.hub-box {
  position: absolute;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-3);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.hub-box li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 14px;
  background: var(--white);
  border-bottom: 1px solid var(--border-faint);
}
.hub-box li:first-child { border-radius: 9px 9px 0 0; }
.hub-box li:last-child { border-bottom: 0; border-radius: 0 0 9px 9px; }
.hub-box .wm { font-size: 16px; }
.hb-lines { left: 0; top: 51.85%; width: 20%; transform: translateY(-50%); }
.hb-crm { right: 0; top: 51.85%; width: 20%; transform: translateY(-50%); }
.hb-dev { left: 50%; bottom: 0; display: flex; transform: translateX(-50%); }
.hb-dev li { border-bottom: 0; border-right: 1px solid var(--border-faint); min-width: 130px; }
.hb-dev li:first-child { border-radius: 9px 0 0 9px; }
.hb-dev li:last-child { border-right: 0; border-radius: 0 9px 9px 0; }
.hub[data-focus] .hub-box, .hub[data-focus] .hub-label, .hub[data-focus] .hub-wires [class^="w-"], .hub[data-focus] .hub-wires .flow { opacity: 0.25; }
.hub[data-focus="lines"] .hb-lines, .hub[data-focus="lines"] .hl-lines, .hub[data-focus="lines"] .w-lines,
.hub[data-focus="crm"] .hb-crm, .hub[data-focus="crm"] .hl-crm, .hub[data-focus="crm"] .w-crm,
.hub[data-focus="dev"] .hb-dev, .hub[data-focus="dev"] .hl-dev, .hub[data-focus="dev"] .w-dev { opacity: 1; color: var(--accent); }

/* ─── Pricing ──────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-bottom: 112px; }
.plan { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--border); border-radius: 16px; background: var(--white); }
.plan-dark { border-color: transparent; background: var(--ink); color: #F5F8F6; }
.plan-name { font-size: 15px; font-weight: 600; color: var(--text-2); }
.plan-dark .plan-name { color: rgba(245, 248, 246, 0.75); }
.plan-price { margin: 12px 0 26px; font-size: 34px; font-weight: 500; letter-spacing: -0.02em; }
.plan-price .ph { font-size: 0.56em; vertical-align: 0.25em; }
.plan-dark .ph { background: var(--ink); color: #E0A94A; }
.plan-price .mono { font-size: 30px; }
.plan-per { margin-left: 8px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--text-2); }
.plan ul { margin-bottom: 22px; }
.plan li { padding: 11px 0; border-top: 1px solid var(--border-faint); font-size: 15px; }
.plan-dark li { border-color: rgba(245, 248, 246, 0.1); }
.plan-note { margin-top: auto; margin-bottom: 22px; font-size: 13.5px; color: var(--text-3); }
.plan-dark .plan-note { color: rgba(245, 248, 246, 0.6); }
.plan .btn { align-self: flex-start; }
.plan-dark .btn-primary { background: #2BB896; border-color: #2BB896; color: #06140F; }
.plan-dark .btn-primary:hover { background: #45C9A8; }

/* ─── FAQ: an accordion; one answer open at a time ─────────────────────── */
.faq-sec {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
  padding-top: 96px;
  padding-bottom: 96px;
}
.faq-left { position: sticky; top: 112px; }
.faq-left p { max-width: 22em; margin-top: 14px; font-size: 15.5px; color: var(--text-2); }
.link-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 20px; font-size: 15px; font-weight: 500; }
.link-more:hover { color: var(--accent); }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 4px;
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
  transition: color 140ms var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--accent); }
.faq-item summary:focus-visible { outline-offset: -2px; }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease), transform 260ms var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  margin: -0.75px 0 0 -5px;
  border-radius: 1px;
  background: currentColor;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item summary:hover .faq-icon { border-color: var(--accent); }
.faq-item[open] .faq-icon { background: var(--accent); border-color: var(--accent); color: #FFFFFF; transform: rotate(45deg); }
.faq-a p { max-width: 38em; padding: 0 56px 22px 4px; font-size: 15px; line-height: 1.65; color: var(--text-2); }
.faq-item[open] .faq-a { animation: faq-open 320ms var(--ease) both; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ─── Final CTA ────────────────────────────────────────────────────────── */
/* ─── Book a demo ──────────────────────────────────────────────────────── */
.final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding-top: 112px;
  padding-bottom: 112px;
}
.final h2 { font-size: clamp(30px, 1.6vw + 18px, 46px); }
.final-sub { max-width: 26em; margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.final-points { margin-top: 26px; }
.final-points li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 15.5px; color: var(--text-1); }
.final-points svg, .demo-tick svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--accent-subtle);
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.final-alt { margin-top: 26px; font-size: 14.5px; color: var(--text-3); }
.final-alt a { font-weight: 500; color: var(--accent); }
.final-alt a:hover { text-decoration: underline; text-underline-offset: 3px; }

.demo-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(28, 48, 41, 0.05), 0 30px 60px -30px rgba(28, 48, 41, 0.3);
}
.demo-head {
  position: relative;
  padding: 24px 26px 22px;
  overflow: hidden;
  background: linear-gradient(120deg, #0B7A64 0%, #0D5446 55%, #1C3029 100%);
  color: #F5F8F6;
}
.demo-waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.demo-title, .demo-sub { position: relative; }
.demo-title { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; color: #FFFFFF; }
.demo-sub { margin-top: 4px; font-size: 14px; color: rgba(245, 248, 246, 0.78); }
.demo-form { padding: 22px 26px 26px; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.dfield { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dfield-wide { grid-column: 1 / -1; }
.dfield > label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.dfield .opt { margin-left: 4px; font-weight: 400; color: var(--text-3); }
.dfield input, .dfield textarea {
  width: 100%;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--white);
  font-size: 15px;
  transition: border-color 120ms var(--ease), box-shadow 120ms var(--ease);
}
.dfield input { height: 44px; }
.dfield textarea { padding: 10px 12px; font: inherit; font-size: 14.5px; line-height: 1.5; resize: vertical; min-height: 64px; }
.dfield input:focus, .dfield textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }
.dfield [aria-invalid="true"] { border-color: var(--danger); }
.uses { min-width: 0; margin: 18px 0 16px; padding: 0; border: 0; }
.uses legend { margin-bottom: 10px; padding: 0; font-size: 13px; font-weight: 500; color: var(--text-2); }
.uses-row { display: flex; flex-wrap: wrap; gap: 8px; }
.uchip { position: relative; }
.uchip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.uchip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease), color 140ms var(--ease);
}
.uchip:hover span { border-color: var(--text-3); color: var(--text-1); }
.uchip input:checked + span { background: var(--accent-subtle); border-color: var(--accent); color: var(--accent); }
.uchip input:checked + span::before {
  content: "";
  width: 8px;
  height: 4.5px;
  margin-top: -3px;
  border-left: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg);
}
.uchip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.uses[aria-invalid="true"] .uchip span { border-color: rgba(184, 57, 47, 0.5); }
.demo-submit { width: 100%; height: 46px; margin-top: 18px; font-size: 15px; font-weight: 600; }
.demo-legal { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: rgba(245, 248, 246, 0.62); }
.demo-legal a { color: rgba(245, 248, 246, 0.85); text-decoration: underline; text-underline-offset: 3px; }
.demo-legal a:hover { color: #FFFFFF; }
.ph-consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.demo-form .form-err { margin-top: 14px; }

.demo-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 26px 40px;
  text-align: center;
  animation: fade-up 420ms var(--ease) both;
}
.demo-tick svg { width: 52px; height: 52px; padding: 13px; }
.demo-done-title { margin-top: 16px; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.demo-done-sub { max-width: 24em; margin-top: 6px; font-size: 15px; color: var(--text-2); }
.demo-done-note { max-width: 26em; margin-top: 10px; font-size: 12.5px; color: var(--text-3); }
.demo-done .ph-again { margin-top: 18px; }

/* ─── Footer: Echo green, with the voice running through the mark ────── */
.footer-wrap { padding: 0 6px 6px; background: var(--white); }
.foot-panel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(160deg, #0B7A64 0%, #0D5446 45%, #1C3029 100%);
  color: #F5F8F6;
}
.foot-waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.shell-foot { position: relative; z-index: 1; padding-top: 80px; border-top: 0; border-color: rgba(245, 248, 246, 0.08); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr); gap: 56px; }
.foot-brand .brand-name { font-size: 20px; }
.brand-by { font-size: 13px; color: rgba(245, 248, 246, 0.6); transform: translateY(1px); }
.foot-tag { max-width: 16em; margin-top: 18px; font-size: clamp(20px, 0.8vw + 14px, 26px); line-height: 1.25; font-weight: 500; letter-spacing: -0.02em; color: #FFFFFF; }
.foot-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn-ghost-light { background: rgba(245, 248, 246, 0.1); border-color: rgba(245, 248, 246, 0.2); color: #FFFFFF; }
.btn-ghost-light:hover { background: rgba(245, 248, 246, 0.17); }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-cols div { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.foot-h { margin-bottom: 4px; font-size: 13px; color: rgba(245, 248, 246, 0.55); }
.foot-cols a { font-size: 15px; color: rgba(245, 248, 246, 0.88); transition: color 140ms var(--ease); }
.foot-cols a:hover { color: #FFFFFF; }
.foot-panel .ph { background: #0D5446; color: #E0A94A; }
.foot-panel :focus-visible { outline-color: #5ED0B2; }
.foot-stage { position: relative; height: 300px; margin-bottom: 24px; }
/* Sits just under the Echo word; main.js sets the exact top. */
.foot-copy {
  position: absolute;
  right: 0;
  top: calc(50% + 58px);
  font-size: 13px;
  color: rgba(245, 248, 246, 0.62);
}

/* ─── Reveal ───────────────────────────────────────────────────────────── */
.will-reveal { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.will-reveal.is-in { opacity: 1; transform: none; }

/* ─── Mobile bar, dialog ───────────────────────────────────────────────── */
.mbar { display: none; }
.dialog {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0;
  border: 1px solid var(--border); border-radius: 16px; background: var(--white); color: var(--text-1);
  box-shadow: 0 20px 60px -20px rgba(28, 48, 41, 0.4);
}
.dialog::backdrop { background: rgba(28, 48, 41, 0.32); }
.dialog form { padding: 28px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dialog-head h2 { font-size: 22px; }
.dialog-sub { margin-bottom: 22px; font-size: 15px; color: var(--text-2); }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field > label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.field input, .field select { height: 42px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--white); font-size: 15px; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.form-actions { margin-top: 22px; }
.is-done .form-fields, .is-done .form-actions, .is-done .form-err, .is-done .dialog-sub { display: none; }
.form-done-line { font-size: 20px; font-weight: 600; }
.form-done-sub { margin-top: 6px; font-size: 15px; color: var(--text-2); }
.form-done-note { margin-top: 6px; font-size: 13px; color: var(--text-3); }

/* ─── Ask Echo dialog ──────────────────────────────────────────────────── */
.ask { width: min(520px, calc(100vw - 24px)); overflow: hidden; }
.ask[open] { display: flex; flex-direction: column; animation: fade-up 300ms var(--ease) both; }
.ask-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px 18px 20px;
  overflow: hidden;
  background: linear-gradient(120deg, #0B7A64 0%, #0D5446 55%, #1C3029 100%);
  color: #F5F8F6;
}
.ask-waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ask-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(245, 248, 246, 0.14);
  color: #FFFFFF;
}
.ask-avatar svg { width: 26px; height: 26px; }
.ask-id { position: relative; flex: 1; }
.ask-id h2 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: #FFFFFF; }
.ask-id p { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(245, 248, 246, 0.75); }
.ask-close { position: relative; color: rgba(245, 248, 246, 0.8); }
.ask-close:hover { background: rgba(245, 248, 246, 0.12); color: #FFFFFF; }

.ask-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
  max-height: 46vh;
  padding: 20px 20px 8px;
  overflow-y: auto;
  background: #FAFCFB;
}
.ask-bubble { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; animation: fade-up 320ms var(--ease) both; }
.ask-bubble.bot { align-self: flex-start; border: 1px solid var(--border); border-bottom-left-radius: 6px; background: var(--white); color: var(--text-1); }
.ask-bubble.me { align-self: flex-end; border-bottom-right-radius: 6px; background: var(--accent); color: #FFFFFF; white-space: pre-wrap; }
.ask-bubble.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.ask-bubble.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-4); animation: blink 1.2s infinite; }
.ask-bubble.typing i:nth-child(2) { animation-delay: 0.2s; }
.ask-bubble.typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }
.ask-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.ask-go .btn { height: 38px; }
.ask-go .ask-edit { padding: 0; border: 0; background: none; font-size: 13.5px; font-weight: 500; color: var(--text-3); cursor: pointer; }
.ask-go .ask-edit:hover { color: var(--text-1); }
.ask-fine { margin-top: 10px; font-size: 12px; color: var(--text-3); }
.ask-fine a { font-weight: 500; color: var(--accent); }

.ask-form { padding: 12px 16px 16px; border-top: 1px solid var(--border-faint); background: #FAFCFB; }
.ask-suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ask-chip {
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  font-size: 12.5px;
  line-height: 1.4;
  text-align: left;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color 140ms var(--ease), color 140ms var(--ease);
}
.ask-chip:hover { border-color: var(--accent); color: var(--accent); }
.ask-compose {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--white);
  transition: border-color 120ms var(--ease), box-shadow 120ms var(--ease);
}
.ask-compose:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }
.ask-compose textarea {
  flex: 1;
  min-width: 0;
  max-height: 140px;
  padding: 7px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14.5px;
  line-height: 1.5;
  resize: none;
  outline: none;
}
.ask-send {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color 140ms var(--ease);
}
.ask-send:hover { background: var(--accent-hover); }
.ask-form .field-err { margin-top: 8px; font-size: 12.5px; }
.ask.is-sent .ask-form { display: none; }

/* ─── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .col { padding: 0 24px; }
  .callwall { grid-template-columns: repeat(3, 240px); }
}

@media (max-width: 920px) {
  :root { --pad: 20px; }
  .nav-links { display: none; }
  .nav { width: min(440px, 100%); }
  .hero { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; padding-top: 100px; gap: 40px; }
  .hero-copy { padding-top: 0; }
  .logos { grid-template-columns: minmax(0, 1fr); }
  .logos-lead { border-right: 0; border-bottom: 1px solid var(--border); }
  .cols3 { grid-template-columns: minmax(0, 1fr); }
  .col { padding: 40px 0; }
  .col + .col { border-left: 0; border-top: 1px solid var(--border); }
  .statement { padding: 88px 0 72px; }
  .rules4 { grid-template-columns: 1fr 1fr; }
  .head-row { flex-direction: column; align-items: flex-start; padding-top: 88px; }
  .cards3 { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .final { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 88px; padding-bottom: 88px; }
  .steps { grid-template-columns: minmax(0, 1fr); padding-right: var(--pad); }
  .steps-left { padding: 88px 0 40px; }
  .steps-stage { border-radius: 12px; margin-bottom: 40px; min-height: 520px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .faq-sec { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 72px; padding-bottom: 72px; }
  .faq-left { position: static; }
  .faq-a p { padding-right: 4px; }
  .hub { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
  .hub-tabs, .hub-box, .hb-lines, .hb-crm, .hb-dev, .hub-label { position: static; transform: none; }
  .hub-core { position: relative; left: auto; top: auto; transform: none; }
  .hub-tabs { max-width: 100%; overflow-x: auto; }
  .hub-wires { display: none; }
  .hub-core { margin: 12px 0; }
  .hub-box { width: min(320px, 100%); }
  .hb-dev { flex-direction: column; }
  .hb-dev li { border-right: 0; border-bottom: 1px solid var(--border-faint); }
  .hb-dev li:first-child { border-radius: 9px 9px 0 0; }
  .hb-dev li:last-child { border-bottom: 0; border-radius: 0 0 9px 9px; }
  .hub-label { order: 0; }
  .hl-lines { order: 2; } .hb-lines { order: 3; }
  .hl-crm { order: 4; } .hb-crm { order: 5; }
  .hl-dev { order: 6; } .hb-dev { order: 7; }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .foot-stage { height: 240px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  .shell { border-left: 0; border-right: 0; }
  .dark-band { margin: 0; border-radius: 0; }
  .nav-signin { display: none; }
  .phone { margin-top: 0; }
  .logos-grid { grid-template-columns: 1fr 1fr; }
  .logos-grid li { height: 84px; border-bottom: 1px solid var(--border) !important; }
  .logos-grid li:nth-child(2n) { border-right: 0; }
  .logos-grid li:nth-child(4n) { border-right: 0; }
  .logos-grid li:nth-child(odd) { border-right: 1px solid var(--border); }
  .wm { font-size: 17px; }
  .langlist, .tiles { margin-left: 0; margin-right: 0; }
  .callwall { grid-template-columns: repeat(3, 230px); grid-auto-rows: 150px; height: 440px; }
  .rules4 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .demo-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-form, .demo-head { padding-left: 20px; padding-right: 20px; }
  .tabs-line { gap: 20px; }
  .stage-card { height: 470px; }
  .cube { display: none; }
  .live-calls li { grid-template-columns: 40px 76px minmax(0, 1fr); }
  .live-calls li span:nth-child(3) { display: none; }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border); transition: transform 200ms var(--ease);
  }
  .mbar.is-hidden { transform: translateY(110%); }
  .footer-wrap { padding: 0; }
  .foot-panel { border-radius: 0; }
  .shell-foot { padding-top: 56px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-stage { height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0ms !important; }
  .js .phone { animation: none; }
  .pulse::after, .dot-live::after, .hub-pulse, .ph-avatar span { display: none; }
  .will-reveal { opacity: 1; transform: none; }
}

/* ─── Legal pages: terms.html, privacy.html ────────────────────────────── */
/* A reading page in the same frame: the floating nav, one hairlined shell,
   a sticky contents rail, and the dark footer without the animated stage. */
.legal-main { padding-top: 120px; }
.legal-head { padding: 40px 0 36px; border-bottom: 1px solid var(--border); }
.legal-kicker { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.legal-head h1 { margin-top: 12px; font-size: clamp(32px, 2.2vw + 18px, 48px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: 13.5px; color: var(--text-3); }
.legal-meta .mono { font-size: 12.5px; }
.legal-lede { max-width: 42em; margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.legal-lede + .legal-lede { margin-top: 12px; }
.legal-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 64px; padding: 48px 0 112px; }
.legal-toc { position: sticky; top: 104px; align-self: start; }
.legal-toc p { margin-bottom: 10px; font-size: 13px; color: var(--text-3); }
.legal-toc ol { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--border); }
.legal-toc a {
  display: block;
  margin-left: -1px;
  padding: 5px 0 5px 14px;
  border-left: 1px solid transparent;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-3);
  transition: color 120ms var(--ease), border-color 120ms var(--ease);
}
.legal-toc a:hover { color: var(--text-1); }
.legal-toc a.is-current { color: var(--accent); border-left-color: var(--accent); font-weight: 500; }
.legal-toc-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13.5px; line-height: 1.5; color: var(--text-3); }
.legal-toc-foot a { color: var(--accent); font-weight: 500; }
.legal-body { max-width: 46em; font-size: 16px; line-height: 1.7; color: var(--text-2); }
.legal-body section { padding-top: 40px; scroll-margin-top: 104px; }
.legal-body section:first-child { padding-top: 0; }
.legal-body h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; color: var(--text-1); }
.legal-body h3 { margin-top: 24px; font-size: 17px; line-height: 1.4; font-weight: 600; color: var(--text-1); }
.legal-body h2 + p, .legal-body h3 + p, .legal-body h2 + ul, .legal-body h3 + ul, .legal-body h2 + ol, .legal-body h3 + ol { margin-top: 12px; }
.legal-body p + p, .legal-body p + ul, .legal-body ul + p, .legal-body p + ol, .legal-body ol + p, .legal-body ul + ul { margin-top: 12px; }
.legal-body ul, .legal-body ol { display: flex; flex-direction: column; gap: 8px; padding-left: 22px; }
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li::marker { color: var(--text-4); }
.legal-body strong { font-weight: 600; color: var(--text-1); }
.legal-body a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-soft); text-underline-offset: 3px; }
.legal-body a:hover { text-decoration-color: var(--accent); }
.legal-note {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
}
.legal-table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.legal-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-faint); }
.legal-table th { font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text-3); background: var(--surface-2); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { font-weight: 500; color: var(--text-1); }
.legal-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.legal-contact div { padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); font-size: 15px; line-height: 1.55; }
.legal-contact .legal-contact-h { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text-3); }
.legal-contact a { text-decoration: none; font-weight: 500; }
.legal-body .ph { font-size: 0.9em; }
/* Footer without the animated stage. */
.foot-simple { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 56px; padding: 22px 0 28px; border-top: 1px solid rgba(245, 248, 246, 0.12); font-size: 13.5px; color: rgba(245, 248, 246, 0.6); }
.foot-simple a { color: rgba(245, 248, 246, 0.8); }
.foot-simple a:hover { color: #FFFFFF; }
.foot-simple-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 920px) {
  .legal-main { padding-top: 96px; }
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 80px; }
  .legal-toc { position: static; }
  .legal-toc ol { border-left: 0; }
  .legal-toc a { padding-left: 0; border-left: 0; }
  .legal-toc a.is-current { border-left: 0; }
  .legal-contact { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body.legal-page { padding-bottom: 0; }
  .legal-head { padding: 24px 0 28px; }
  .legal-body { font-size: 15.5px; }
  .legal-body h2 { font-size: 21px; }
}
