/* Cloudvoice website. Same system as the mobiCollect site (../mobicollect-website): Plus Jakarta Sans,
   near-black ink, cards and section rhythm, with the Cloudvoice logo blue #1142a8 as the accent where mobiCollect
   uses its own brand colour. Light by default, dark from the system; the header toggle overrides either way
   (html[data-theme], remembered in localStorage). */

:root {
  --bg: #f4f5f7; --card: #ffffff; --soft: #eef1f4; --line: #e3e7ec; --line2: #d5dae0;
  --fg: #0b1118; --mute: #5b6573;
  --accent: #1142a8; --accent-ink: #0d3486; --accent-bg: #e2eafb;
  --blue: #1a64d6; --amber-bg: #fdebd3; --amber: #7a3e00;
  --btn: #0b1118; --btnfg: #ffffff;
  --hero-glow: rgba(17, 66, 168, 0.14);
  --float-edge: transparent;
  --shadow: 0 1px 2px rgba(11, 17, 24, 0.04), 0 12px 32px -12px rgba(11, 17, 24, 0.18);
  --r-lg: 22px; --r-md: 16px; --r-sm: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0f14; --card: #121920; --soft: #1a232c; --line: #1f2a34; --line2: #2b3844;
    --fg: #f2f5f7; --mute: #9aa6b2;
    --accent: #4f86f0; --accent-ink: #a9c4ff; --accent-bg: #142a52;
    --blue: #4c9dff; --amber-bg: #3a2a10; --amber: #f5c478;
    --btn: #2c63d6; --btnfg: #ffffff;
    --hero-glow: rgba(79, 134, 240, 0.14);
    --float-edge: var(--line);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0f14; --card: #121920; --soft: #1a232c; --line: #1f2a34; --line2: #2b3844;
  --fg: #f2f5f7; --mute: #9aa6b2;
  --accent: #4f86f0; --accent-ink: #a9c4ff; --accent-bg: #142a52;
  --blue: #4c9dff; --amber-bg: #3a2a10; --amber: #f5c478;
  --btn: #2c63d6; --btnfg: #ffffff;
  --hero-glow: rgba(79, 134, 240, 0.14);
  --float-edge: var(--line);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.6 'Plus Jakarta Sans', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-bg); color: var(--accent-ink); }
html { accent-color: var(--accent); caret-color: var(--accent-ink); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--btn); color: var(--btnfg); }
.skip:focus { left: 8px; }

/* Brand */
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 172px; height: auto; }
.logo-d { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-l { display: none; } :root:not([data-theme="light"]) .logo-d { display: block; } }
:root[data-theme="dark"] .logo-l { display: none; }
:root[data-theme="dark"] .logo-d { display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px;
  border-radius: 14px; border: 1.5px solid transparent; background: var(--btn); color: var(--btnfg);
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 120ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms, border-color 150ms;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line2); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-inv { background: #ffffff; color: #0b1118; }
.btn-ghost-inv { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost-inv:hover { border-color: #ffffff; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--mute); font-size: 15px; font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--fg); background: var(--soft); }
.nav a[aria-current] { color: var(--fg); }
.menu { display: none; }
/* Products dropdown: opens on hover, focus or click on desktop; a plain list inside the phone menu. */
.nav-drop { position: relative; }
.nav-dd { display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px 8px 12px; border: 0; border-radius: 10px; background: none; color: var(--mute); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.nav-dd svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms; }
.nav-dd:hover, .nav-dd[aria-expanded="true"], .nav-dd[data-current] { color: var(--fg); }
.nav-dd:hover, .nav-dd[aria-expanded="true"] { background: var(--soft); }
.nav-dd[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-label { display: none; }
.dd {
  position: absolute; top: calc(100% + 8px); left: 50%; z-index: 30; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; width: 560px; padding: 10px;
  border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity 160ms ease, transform 200ms var(--ease-out), visibility 0s linear 200ms;
}
.dd::before { content: ''; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav-drop:hover .dd, .nav-dd[aria-expanded="true"] + .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav .dd a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--fg); text-decoration: none; }
.nav .dd a:hover, .nav .dd a[aria-current] { background: var(--soft); }
.dd b { font-size: 14.5px; font-weight: 700; }
.dd small { color: var(--mute); font-size: 13px; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .dd { transition: none; } }
/* Light/dark toggle: the sun shows in dark (switch to light), the moon in light. */
.theme { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; margin-left: -12px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--mute); cursor: pointer; transition: color 150ms, background-color 150ms; }
.theme:hover { color: var(--fg); background: var(--soft); }
.theme svg { width: 20px; height: 20px; }
.theme .sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .sun { display: block; } :root:not([data-theme="light"]) .theme .moon { display: none; } }
:root[data-theme="dark"] .theme .sun { display: block; }
:root[data-theme="dark"] .theme .moon { display: none; }
.cta-short { display: none; }
.nav .nav-join { display: none; }

@media (max-width: 860px) {
  .theme { margin-left: auto; }
  .menu {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px;
    padding: 0 11px; border: 0; border-radius: 12px; background: transparent; color: var(--fg); cursor: pointer;
  }
  .menu span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform 160ms; }
  .nav-open .menu span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .menu span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 16px; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: 14px 8px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav { max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav-dd { display: none; }
  .dd, .nav-drop:hover .dd { position: static; display: block; width: auto; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .dd-label { display: block; padding: 14px 8px 6px; color: var(--mute); font-size: 13px; font-weight: 700; }
  .nav .dd a { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 8px 10px 20px; border: 0; border-radius: 8px; }
  .nav .dd a:last-child { margin-bottom: 8px; }
  .dd b { font-size: 16px; font-weight: 600; }
  .dd small { display: none; }
}
@media (max-width: 340px) { .nav .nav-join { display: block; color: var(--accent-ink); font-weight: 700; } }
/* Phones: a compact header button (the menu and the hero carry the full one); on the smallest, it moves into the menu. */
@media (max-width: 640px) {
  .top-in { gap: 12px; height: 64px; }
  .nav { top: 64px; }
  .brand img { width: 140px; }
  .top-cta { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .theme { margin-right: -8px; }
  .menu { margin-left: -4px; }
}
@media (max-width: 340px) { .top-cta { display: none; } }

/* Hero */
.hero { position: relative; padding: 72px 0 80px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto 35%; height: 720px; pointer-events: none;
  background: radial-gradient(closest-side, var(--hero-glow), transparent 70%);
}
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.lede { margin-top: 20px; max-width: 34em; color: var(--mute); font-size: clamp(17px, 1.6vw, 19px); }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--mute); font-size: 14px; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ''; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--accent-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d3486' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/11px no-repeat; }

/* Hero illustration: the conversation, then the call and the hand-over tucked under it (nothing covers a message) */
.hero-art { position: relative; display: flex; flex-direction: column; }
.card { background: var(--card); border: 1px solid var(--float-edge); border-radius: var(--r-md); box-shadow: var(--shadow); }
.phone {
  position: relative; align-self: flex-end; margin-right: 8%; width: min(340px, 80%); padding: 0 0 40px; border-radius: 34px;
  background: var(--card); border: 1px solid var(--float-edge); box-shadow: var(--shadow); overflow: hidden;
}
.phone-hd { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.phone-hd b, .call-hd b, .human b { display: block; font-size: 14px; }
.phone-hd small, .call-hd small, .human small { display: block; color: var(--mute); font-size: 12px; font-weight: 500; }
.ph-av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--soft); color: var(--mute); font-size: 12px; font-weight: 800; }
.chat { display: flex; flex-direction: column; gap: 10px; padding: 16px 14px 4px; }
.msg { position: relative; max-width: 86%; padding: 9px 12px 10px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; }
.msg.in { align-self: flex-start; background: var(--soft); border-bottom-left-radius: 5px; }
.msg.out { align-self: flex-end; background: var(--accent-bg); color: var(--accent-ink); border-bottom-right-radius: 5px; }
.msg .ref { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 700; }
.msg .ticks { position: absolute; right: 10px; bottom: 7px; color: var(--blue); }
.msg u { text-underline-offset: 2px; }
.msg .dots { display: none; }

.call { position: relative; z-index: 1; align-self: flex-start; margin-top: -30px; width: min(330px, 74%); padding: 16px; }
.call-hd { display: flex; align-items: center; gap: 10px; }
.call-hd > span:nth-child(2) { flex: 1; min-width: 0; }
.call-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--btn); color: var(--btnfg); }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.pill.ok { background: var(--accent-bg); color: var(--accent-ink); }
.promise { margin-top: 12px; padding: 8px 12px; border-radius: 10px; background: var(--accent-bg); color: var(--accent-ink); font-size: 13.5px; }
.wave { display: flex; align-items: center; gap: 3px; height: 28px; margin-top: 12px; }
.wave i { flex: 1; border-radius: 3px; background: var(--line2); height: 30%; }
.wave i:nth-child(3n) { height: 70%; } .wave i:nth-child(4n) { height: 100%; } .wave i:nth-child(5n+1) { height: 50%; }
.wave i:nth-child(-n+7) { background: var(--accent); }

.human { position: relative; z-index: 2; align-self: flex-end; margin-top: -14px; display: flex; align-items: center; gap: 12px; width: min(320px, 74%); padding: 14px 16px; background: var(--card); border: 1px solid var(--float-edge); border-radius: var(--r-md); box-shadow: var(--shadow); }
.h-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 12px; background: var(--amber-bg); color: var(--amber); }

@media (max-width: 960px) {
  .hero { padding-top: 32px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-art { max-width: 540px; width: 100%; margin: 0 auto; }
  .phone { margin-right: 4%; }
}
@media (max-width: 480px) {
  .hero-art { gap: 14px; }
  .phone, .call, .human { width: 100%; margin: 0; padding-bottom: revert-layer; }
  .phone { padding-bottom: 18px; }
}

/* Built-for band: each claim is shown as the real thing (an amount, the file, a reference, a message, the hours). */
.fit { border-block: 1px solid var(--line); background: var(--card); }
.fit-in { display: grid; gap: 28px; padding-block: 48px; }
.fit h2 { max-width: 30ch; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.fit-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.fit-list li { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 0 20px; border-left: 1px solid var(--line); }
.fit-list li:first-child { padding-left: 0; border-left: 0; }
.fit-list b { margin-top: 14px; font-size: 15px; line-height: 1.35; }
.fit-list li > span:last-child { color: var(--mute); font-size: 14px; line-height: 1.45; }
.spec { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; max-width: 100%; height: 34px; white-space: nowrap; font-size: 14px; font-weight: 700; }
.spec small { font-size: 0.7em; font-weight: 600; color: var(--mute); }
.spec-amt { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.spec-amt small { font-size: 15px; }
.spec-file { padding: 0 12px 0 8px; border: 1px solid var(--line2); border-radius: 10px; background: var(--bg); font-size: 13px; }
.spec-file svg { flex: none; }
.spec-ref { padding: 0 12px; border: 1.5px dashed var(--line2); border-radius: 10px; font-size: 13px; letter-spacing: 0.02em; }
.spec-wa { padding: 0 10px 0 12px; border-radius: 12px 12px 4px 12px; background: var(--accent-bg); color: var(--accent-ink); font-size: 13px; }
.spec-wa svg { color: var(--blue); }
.spec-time { font-size: 15px; }
.spec-time svg { flex: none; color: var(--accent); }
.spec-wa svg { flex: none; }
@media (max-width: 1100px) {
  .fit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .fit-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fit-list li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .fit-in { padding-block: 40px; }
  .fit-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fit-list li, .fit-list li:nth-child(odd) { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .fit-list li:first-child { padding-top: 0; border-top: 0; }
  .fit-list li:last-child { padding-bottom: 0; }
}

/* Sections */
.sec { padding: 96px 0; }
.sec-alt { background: var(--card); border-block: 1px solid var(--line); }
.sec-hd { max-width: 720px; margin-bottom: 48px; }
.sec h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
.sec-hd > p { margin-top: 14px; color: var(--mute); font-size: 18px; }
.sec h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
@media (max-width: 640px) { .sec { padding: 64px 0; } .sec-hd { margin-bottom: 32px; } }

/* Features */
.feat-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 40px; margin-bottom: 20px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.feat-lead h3 { font-size: 26px; }
.feat-lead > div > p { margin-top: 12px; color: var(--mute); font-size: 17px; }
.ticks { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; font-weight: 600; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ''; width: 20px; height: 20px; flex: none; margin-top: 2px; border-radius: 50%; background: var(--accent-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d3486' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/13px no-repeat; }
.transcript { margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.t { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.t span { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.t.ag { align-self: flex-start; background: var(--soft); border-bottom-left-radius: 4px; }
.t.ag span { color: var(--mute); }
.t.db { align-self: flex-end; background: var(--accent-bg); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.t.act { align-self: center; max-width: none; padding: 4px 12px; border: 1.5px dashed var(--line2); border-radius: 999px; color: var(--mute); font-size: 12.5px; font-weight: 600; }
@media (max-width: 860px) { .feat-lead { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 28px; } }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; margin-top: 56px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f .more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 8px; color: var(--fg); font-size: 15px; font-weight: 700; text-decoration: none; }
.f .more:hover { text-decoration: underline; text-underline-offset: 3px; }
.f { padding: 28px 0 36px; border-top: 1px solid var(--line2); }
.f h3::before { content: ''; display: block; width: 28px; height: 3px; margin-bottom: 18px; border-radius: 2px; background: var(--accent); }
.f p { margin-top: 10px; color: var(--mute); font-size: 15px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (max-width: 600px) { .grid { grid-template-columns: minmax(0, 1fr); margin-top: 32px; } .f { padding: 22px 0 28px; } }

/* Control */
.control { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.control > div > p { margin-top: 16px; color: var(--mute); font-size: 17px; }
.rules { margin: 0; padding: 8px 24px; list-style: none; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.rules li { display: flex; flex-direction: column; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rules li:last-child { border-bottom: 0; }
.rules b { font-size: 16px; }
.rules span { color: var(--mute); font-size: 14px; }
@media (max-width: 860px) { .control { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Contact form: fields in the same card language */
.contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.contact-copy > p { margin-top: 16px; color: var(--mute); font-size: 17px; }
.contact-copy .ticks { margin-top: 24px; }
.contact-alt { margin-top: 24px; color: var(--mute); font-size: 15px; }
.contact-alt a { color: var(--blue); font-weight: 700; text-underline-offset: 3px; }
.form { display: grid; gap: 18px; padding: 32px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form label > span, .form legend { display: block; margin-bottom: 6px; color: var(--mute); font-size: 14px; font-weight: 600; }
.form input:not([type="checkbox"]), .form textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line2); border-radius: var(--r-sm); background: var(--card); color: var(--fg);
  font: inherit; font-size: 16px; transition: border-color 150ms, box-shadow 150ms;
}
.form textarea { height: auto; padding: 12px 14px; resize: vertical; }
.form input:not([type="checkbox"]):hover, .form textarea:hover { border-color: var(--mute); }
.form input:not([type="checkbox"]):focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.form ::placeholder { color: var(--mute); opacity: 0.75; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form .chips span { display: inline-flex; align-items: center; min-height: 40px; margin: 0; padding: 0 14px; border: 1px solid var(--line2); border-radius: 999px; background: var(--card); color: var(--fg); font-size: 14px; cursor: pointer; transition: background-color 150ms, border-color 150ms, color 150ms; }
.chips label:hover span { border-color: var(--mute); }
.form .chips input:checked + span { background: var(--accent-bg); border-color: var(--accent); color: var(--accent-ink); }
.chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-status { color: var(--mute); font-size: 15px; font-weight: 600; }
.form-status.ok { color: var(--accent-ink); }
.form-status.err { color: #b42318; }
:root[data-theme="dark"] .form-status.err { color: #ff8a7a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-status.err { color: #ff8a7a; } }
.form-note { color: var(--mute); font-size: 13px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: 0.6; cursor: progress; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 600px) { .form { padding: 22px; } .row2 { grid-template-columns: minmax(0, 1fr); } }

/* Product pages: a hero with a static example card on the right */
.p-hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.p-hero::before { content: ''; position: absolute; inset: -20% -10% auto 40%; height: 620px; pointer-events: none; background: radial-gradient(closest-side, var(--hero-glow), transparent 70%); }
.p-hero .hero-in { align-items: center; }
.crumb { display: inline-flex; gap: 8px; margin-bottom: 18px; color: var(--mute); font-size: 14px; font-weight: 600; }
.crumb a { color: var(--mute); text-decoration: none; }
.crumb a:hover { color: var(--fg); }
.p-hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.p-art { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 480px; width: 100%; justify-self: end; }
.p-art .cap { color: var(--mute); font-size: 12.5px; font-weight: 600; text-align: right; }
.p-card { padding: 8px 22px; background: var(--card); border: 1px solid var(--float-edge); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.p-card .rules { padding: 0; border: 0; background: none; }
.p-card-hd { display: flex; align-items: center; gap: 10px; padding: 14px 0 12px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.p-card-hd small { margin-left: auto; color: var(--mute); font-size: 12px; font-weight: 600; }
.row-pill { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row-pill:last-child { border-bottom: 0; }
.row-pill b { display: block; font-size: 15px; }
.row-pill small { display: block; color: var(--mute); font-size: 13px; }
.pill.bad { background: var(--amber-bg); color: var(--amber); }
.pill.mid { background: var(--soft); color: var(--mute); }
.p-art .phone { align-self: stretch; width: auto; margin: 0; padding-bottom: 18px; }
@media (max-width: 960px) { .p-hero { padding-top: 32px; } .p-art { justify-self: stretch; max-width: 560px; } }

/* Questions (as on the mobiCollect site) */
.faq-wrap { max-width: 860px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: rotate(45deg) translate(-3px, -3px); transition: transform 160ms; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding: 0 40px 24px 0; color: var(--mute); font-size: 16px; }

/* Legal documents */
.doc { max-width: 828px; padding-block: 56px 96px; }
.doc h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; letter-spacing: -0.03em; }
.doc .meta { margin-top: 12px; color: var(--mute); font-size: 15px; }
.doc h2 { margin-top: 44px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.doc h3 { margin-top: 24px; font-size: 17px; font-weight: 700; }
.doc p, .doc li { color: color-mix(in srgb, var(--fg) 82%, var(--mute)); font-size: 16px; line-height: 1.7; }
.doc p { margin-top: 12px; }
.doc ul, .doc ol { margin: 12px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.doc .toc { margin-top: 28px; padding: 20px 24px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); }
.doc .toc b { font-size: 14px; }
.doc .toc ol { margin-top: 8px; columns: 2; column-gap: 32px; }
.doc .toc li { font-size: 15px; break-inside: avoid; }
.draft { margin-top: 24px; padding: 16px 20px; border-radius: var(--r-md); background: var(--amber-bg); color: var(--amber); font-size: 15px; font-weight: 600; }
.fill { padding: 0 6px; border-radius: 6px; background: var(--amber-bg); color: var(--amber); font-weight: 700; -webkit-box-decoration-break: clone; box-decoration-break: clone; overflow-wrap: anywhere; }
@media (max-width: 600px) { .doc { padding-block: 32px 64px; } .doc .toc ol { columns: 1; } }

/* WhatsApp consent */
.consent { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-block: 56px 96px; }
.consent-copy h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
.consent-copy > p { margin-top: 16px; color: var(--mute); font-size: 17px; }
.agree { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line2); cursor: pointer; }
.agree input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--accent); }
.form .agree span { margin: 0; color: var(--fg); font-size: 15px; font-weight: 500; line-height: 1.5; }
.consent-copy > .draft { font-size: 15px; }
@media (max-width: 900px) { .consent { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; } }

/* Works with: the voice AI platforms that connect over SIP, as single-colour logos that follow the theme. */
.works { margin-top: 20px; padding: 32px 40px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.sec-alt .works { background: var(--bg); }
.works-hd { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 8px 40px; align-items: baseline; }
.works-hd h3 { font-size: 22px; }
.works-hd p { color: var(--mute); font-size: 15px; }
.works-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.works-list li { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 92px; padding: 16px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); color: color-mix(in srgb, var(--fg) 82%, var(--mute)); }
.lg { display: flex; align-items: center; gap: 8px; height: 26px; }
.lg b { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.lg-mark { width: 22px; height: 22px; flex: none; }
.lg-word { height: 20px; width: auto; }
.lg-vapi { height: 24px; }
.works-list small { color: var(--mute); font-size: 12.5px; font-weight: 500; line-height: 1.35; }
.works-note { margin-top: 16px; color: var(--mute); font-size: 13px; }
@media (max-width: 1100px) { .works-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .works { padding: 24px; } .works-hd { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .works-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Family band: mobiCollect, one line */
.family { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 56px; padding: 28px 32px; border-radius: var(--r-lg); border: 1px dashed var(--line2); }
.family h3 { font-size: 20px; }
.family p { max-width: 62ch; margin-top: 6px; color: var(--mute); font-size: 15px; }
.family .btn { flex: none; }
@media (max-width: 700px) { .family { flex-direction: column; align-items: stretch; padding: 24px; } }

/* CTA */
.cta { padding: 96px 0; }
.cta-in { position: relative; overflow: hidden; padding: 64px 48px; border-radius: 28px; background: #0b1118; color: #ffffff; }
.cta-in::before { content: ''; position: absolute; right: -120px; top: -160px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(closest-side, rgba(79, 134, 240, 0.4), transparent); pointer-events: none; }
.cta h2 { position: relative; max-width: 20ch; font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; letter-spacing: -0.03em; }
.cta p { position: relative; max-width: 40em; margin-top: 16px; color: rgba(255, 255, 255, 0.72); font-size: 18px; }
.cta .hero-act { position: relative; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta-in { background: #121920; border: 1px solid #1f2a34; } }
:root[data-theme="dark"] .cta-in { background: #121920; border: 1px solid #1f2a34; }
@media (max-width: 640px) { .cta { padding: 64px 0; } .cta-in { padding: 40px 24px; border-radius: 22px; } }

/* Footer */
.foot { padding: 40px 0 32px; border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot .brand img { width: 150px; }
.foot-brand p { margin-top: 10px; color: var(--mute); font-size: 14px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 24px 64px; }
.foot-cols div { display: flex; flex-direction: column; }
.foot-cols b { margin-bottom: 6px; font-size: 14px; }
.foot-cols a { display: inline-flex; align-items: center; min-height: 36px; color: var(--mute); font-size: 14px; font-weight: 600; text-decoration: none; }
.foot-cols a:hover, .foot-cols a[aria-current] { color: var(--fg); }
@media (max-width: 760px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; width: 100%; } }
.foot-small { margin-top: 20px; color: var(--mute); font-size: 13px; }

/* WhatsApp chat: always there in the corner; the label slides out on hover or focus on larger screens. */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 16; display: inline-flex; align-items: center; gap: 0; height: 56px; padding: 0 16px;
  border-radius: 28px; background: #1faa52; color: #ffffff; text-decoration: none; font-size: 15px; font-weight: 700;
  box-shadow: 0 2px 4px rgba(11, 17, 24, 0.12), 0 12px 28px -10px rgba(11, 17, 24, 0.45);
  transition: background-color 150ms, transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}
.wa-fab svg { width: 24px; height: 24px; flex: none; }
.wa-fab span { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width 260ms var(--ease-out), opacity 200ms ease, margin 260ms var(--ease-out); }
.wa-fab:hover, .wa-fab:focus-visible { background: #178a42; }
.wa-fab:hover span, .wa-fab:focus-visible span { max-width: 160px; margin-left: 10px; opacity: 1; }
.wa-fab:active { transform: scale(0.97); }
.wa-fab:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.nav-open .wa-fab { display: none; }
@media (max-width: 640px) { .wa-fab { right: 16px; bottom: 16px; height: 52px; padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) { .wa-fab span { transition: none; } .wa-fab:active { transform: none; } }

/* Back to top: appears once the hero is behind you. */
.to-top {
  position: fixed; right: 24px; bottom: 88px; z-index: 15; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; border: 1px solid var(--line2); border-radius: 50%; background: var(--card); color: var(--fg);
  box-shadow: var(--shadow); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms, border-color 150ms;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { border-color: var(--fg); }
.to-top svg { width: 20px; height: 20px; }
.nav-open .to-top { display: none; }
@media (max-width: 640px) { .to-top { right: 20px; bottom: 80px; width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transform: none; transition: none; } }

/* ---------- Motion ----------
   One authored moment: the hero conversation plays out once (a debtor asks, mobiCollect's reply composes,
   the pay link is read, the call records a promise, and the exception is handed to a person). Everything is
   visible by default; html.motion (set in <head> only when motion is allowed) hides the hero's later steps
   until .play arrives from the IntersectionObserver, so a failed script never hides content. */

.motion .hero-art .phone, .motion .hero-art .m1, .motion .hero-art .m3, .motion .hero-art .call, .motion .hero-art .human,
.motion .hero-art .m2, .motion .hero-art .m4, .motion .hero-art .promise, .motion .hero-art .pill { opacity: 0; }
.motion .hero-art .msg.out .dots { display: flex; }
.motion .hero-art .msg.out .body { opacity: 0; }
.motion .hero-art .wave i:nth-child(-n+7) { background: var(--line2); }
.motion .hero-art .ticks { color: var(--mute); opacity: 0; }

.hero-art.play .phone { animation: rise 560ms var(--ease-out) 0ms both; }
.hero-art.play .m1 { animation: pop-in 380ms var(--ease-out) 280ms both; transform-origin: bottom left; }
.hero-art.play .m2 { animation: compose 950ms var(--ease-out) 650ms both; }
.hero-art.play .m2 .body { animation: fade 320ms ease-out 1450ms both; }
.hero-art.play .m2 .dots { animation: fade-out 160ms ease-out 1380ms both; }
.hero-art.play .m3 { animation: pop-in 380ms var(--ease-out) 1850ms both; transform-origin: bottom left; }
.hero-art.play .m4 { animation: compose 900ms var(--ease-out) 2150ms both; }
.hero-art.play .m4 .body { animation: fade 320ms ease-out 2850ms both; }
.hero-art.play .m4 .dots { animation: fade-out 160ms ease-out 2790ms both; }
.hero-art.play .ticks { animation: fade 320ms ease-out 2850ms both, read 300ms ease-out 3350ms both; }
.hero-art.play .call { animation: rise 560ms var(--ease-out) 3200ms both; }
.hero-art.play .wave i:nth-child(-n+7) { animation: played 220ms ease-out both; }
.hero-art.play .wave i:nth-child(1) { animation-delay: 3550ms; } .hero-art.play .wave i:nth-child(2) { animation-delay: 3620ms; }
.hero-art.play .wave i:nth-child(3) { animation-delay: 3690ms; } .hero-art.play .wave i:nth-child(4) { animation-delay: 3760ms; }
.hero-art.play .wave i:nth-child(5) { animation-delay: 3830ms; } .hero-art.play .wave i:nth-child(6) { animation-delay: 3900ms; }
.hero-art.play .wave i:nth-child(7) { animation-delay: 3970ms; }
.hero-art.play .promise { animation: write 520ms var(--ease-out) 3720ms both; }
.hero-art.play .pill { animation: pop-in 320ms var(--ease-out) 4180ms both; }
.hero-art.play .human { animation: rise 560ms var(--ease-out) 4400ms both; }

/* The reply composes: a small "typing" pill at the bubble's corner, then the bubble opens to the full message. */
.msg.out .dots { position: absolute; right: 13px; bottom: 11px; gap: 4px; }
.msg.out .dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.35; }
.hero-art.play .m2 .dots i, .hero-art.play .m4 .dots i { animation: typing 600ms ease-in-out 2 both; }
.hero-art.play .m2 .dots i { animation-delay: 700ms; } .hero-art.play .m4 .dots i { animation-delay: 2200ms; }
.hero-art.play .m2 .dots i:nth-child(2) { animation-delay: 820ms; } .hero-art.play .m2 .dots i:nth-child(3) { animation-delay: 940ms; }
.hero-art.play .m4 .dots i:nth-child(2) { animation-delay: 2320ms; } .hero-art.play .m4 .dots i:nth-child(3) { animation-delay: 2440ms; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(6px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes compose {
  0% { opacity: 0; clip-path: inset(calc(100% - 30px) 0 0 calc(100% - 60px) round 15px); }
  12% { opacity: 1; clip-path: inset(calc(100% - 30px) 0 0 calc(100% - 60px) round 15px); }
  62% { opacity: 1; clip-path: inset(calc(100% - 30px) 0 0 calc(100% - 60px) round 15px); }
  100% { opacity: 1; clip-path: inset(0 0 0 0 round 16px 16px 5px 16px); }
}
@keyframes typing { 0%, 100% { opacity: 0.35; transform: none; } 50% { opacity: 1; transform: translateY(-2px); } }
@keyframes read { from { color: var(--mute); } to { color: var(--blue); } }
@keyframes played { from { background: var(--line2); } to { background: var(--accent); } }
@keyframes write { from { opacity: 1; clip-path: inset(0 100% 0 0 round 10px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 10px); } }

/* Phone menu: drops in from under the header, leaves faster than it arrives. */
@media (max-width: 860px) {
  .nav { opacity: 0; transform: translateY(-8px); transition: opacity 150ms ease, transform 150ms ease, display 150ms allow-discrete, overlay 150ms allow-discrete; }
  .nav-open .nav { opacity: 1; transform: none; transition: opacity 220ms ease, transform 260ms var(--ease-out), display 260ms allow-discrete; }
  @starting-style { .nav-open .nav { opacity: 0; transform: translateY(-8px); } }
}

/* Reduced motion: nothing moves or plays; colour and opacity feedback stay. */
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active { transform: none; }
  .nav, .nav-open .nav { transform: none; }
}
