/* ==========================================================================
   SolveItAll AI: site styles (shared by every page)

   Layout concept: a true-black stage. Copy sits left-aligned and editorial,
   set against product UI a contractor would believe. Each page gets one loud
   moment (on /reviews: the 40-mark tally); everything around it stays quiet.
   Mobile is the primary target: styles are written for phones first, then
   widened with min-width queries.
   ========================================================================== */

/* 1. Font ---------------------------------------------------------------- */
@font-face {
  font-family: "Mona Sans";
  src: url("../fonts/mona-sans-var.woff2") format("woff2-variations"),
       url("../fonts/mona-sans-var.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

/* 2. Tokens -------------------------------------------------------------- */
:root {
  color-scheme: dark;

  /* Palette, taken from the logo */
  --black: #000000;      /* canvas: the logo lives on true black */
  --white: #ffffff;      /* text, light sections */
  --electric: #0a6cff;   /* action: buttons, active states (logo face) */
  --cyan: #19d9ff;       /* signal: live dots, tally marks, focus (logo edge) */
  --deep: #0633b8;       /* depth: glow fields (logo side face) */
  --steel: #9aa4b6;      /* secondary text on black, a blue-biased grey */

  /* Derived */
  --steel-dim: #7a8497;
  --line: rgb(255 255 255 / 0.09);
  --line-strong: rgb(255 255 255 / 0.16);
  --surface: rgb(255 255 255 / 0.035);
  --surface-2: rgb(255 255 255 / 0.06);
  --panel: #0a0d14;                    /* opaque UI surface floating over glow */
  --electric-soft: rgb(10 108 255 / 0.14);
  --cyan-soft: rgb(25 217 255 / 0.12);
  --glow: rgb(10 108 255 / 0.55);

  /* Light sections */
  --paper: #ffffff;
  --paper-2: #f3f6fb;
  --ink: #000000;
  --ink-2: #4a5366;
  --line-ink: rgb(0 0 0 / 0.1);
  --blue-ink: #0052d6;
  --danger: #c5301b;

  /* Type */
  --font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 0.35vw + 1.04rem, 1.3125rem);
  --fs-h3: clamp(1.25rem, 0.5vw + 1.12rem, 1.5rem);
  --fs-h2: clamp(2rem, 2.9vw + 1.3rem, 3.5rem);
  --fs-h1: clamp(2.5rem, 4.2vw + 1.45rem, 4.75rem);
  --wide: 108%;          /* headline width */
  --widest: 125%;        /* poster numerals */

  /* Space and shape */
  --gutter: 20px;
  --maxw: 1200px;
  --section-y: 80px;
  --header-h: 64px;
  --r-s: 10px;
  --r-m: 14px;
  --r-l: 20px;
  --r-xl: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 104px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 40px; --section-y: 120px; --header-h: 72px; }
}

/* 3. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a[href^="tel:"], a[href^="sms:"] { white-space: nowrap; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: var(--electric); color: #fff; }

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

.skip-link {
  position: absolute;
  left: 12px; top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-s);
  background: var(--white);
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* 4. Layout -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline:
    max(var(--gutter), env(safe-area-inset-left, 0px))
    max(var(--gutter), env(safe-area-inset-right, 0px));
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

/* 5. Type ---------------------------------------------------------------- */
h1, h2, h3 {
  font-weight: 800;
  font-stretch: var(--wide);
  letter-spacing: -0.032em;
  line-height: 1.04;
  text-wrap: balance;
}
h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  font-stretch: 104%;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
p { text-wrap: pretty; }

.section-title { font-size: var(--fs-h2); }

.lead {
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--steel);
  max-width: 34em;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 44rem;
}

/* Light sections ---------------------------------------------------------- */
.theme-light {
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
}
.theme-light .lead,
.theme-light .muted { color: var(--ink-2); }
.theme-light :focus-visible { outline-color: var(--electric); }

/* 6. Buttons ------------------------------------------------------------- */
.btn {
  --btn-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-m);
  font-size: 1rem;
  font-weight: 650;
  font-stretch: 104%;
  letter-spacing: -0.005em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s;
}
.btn-lg { --btn-h: 58px; padding: 0 28px; font-size: 1.0625rem; }
.btn-sm { --btn-h: 42px; padding: 0 16px; font-size: 0.9375rem; border-radius: 12px; }
.btn-block { width: 100%; }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #3a8bff 0%, var(--electric) 50%, #0457e4 100%);
  border-color: rgb(125 180 255 / 0.55);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.38),
    inset 0 -1px 0 rgb(0 20 80 / 0.35),
    0 12px 32px -12px rgb(10 108 255 / 0.95),
    0 0 0 1px rgb(0 0 0 / 0.35);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #52a0ff 0%, #1d7bff 50%, #0a62f0 100%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.45),
    inset 0 -1px 0 rgb(0 20 80 / 0.35),
    0 16px 44px -12px rgb(10 108 255 / 1),
    0 0 0 1px rgb(0 0 0 / 0.35);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); filter: brightness(0.94); }

.btn-ghost {
  color: var(--white);
  background: rgb(255 255 255 / 0.04);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgb(255 255 255 / 0.09); border-color: rgb(255 255 255 / 0.26); }

.theme-light .btn-ghost { color: var(--ink); background: transparent; border-color: rgb(0 0 0 / 0.18); }
.theme-light .btn-ghost:hover { background: rgb(0 0 0 / 0.04); }
.theme-soft .btn-ghost,
.form-card .btn-ghost { color: var(--ink); background: transparent; border-color: rgb(0 0 0 / 0.18); }
.theme-soft .btn-ghost:hover,
.form-card .btn-ghost:hover { background: rgb(0 0 0 / 0.04); border-color: rgb(0 0 0 / 0.3); }

.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Text link with arrow glyph drawn in CSS */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgb(255 255 255 / 0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.text-link:hover { border-color: var(--cyan); }

/* 7. Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgb(0 0 0 / 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background-color 0.25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgb(0 0 0 / 0.85);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: 8px;
}
.brand img { height: 28px; width: auto; }

.header-cta .cta-long { display: none; }
@media (min-width: 640px) {
  .header-cta .cta-long { display: inline; }
  .header-cta .cta-short { display: none; }
}
@media (min-width: 1200px) {
  .brand img { height: 32px; }
}

/* On campaign pages the header button appears once the hero button has
   scrolled away, and steps aside while the form itself is on screen. */
.js .header-cta[data-reveal] {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.js .header-cta[data-reveal].is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s;
}

/* Main navigation: tabs on desktop, full-width menu on phones */
.site-nav { display: none; }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-extra { display: none; }

@media (max-width: 1079.98px) {
  .site-nav.is-open {
    display: block;
    position: absolute;
    left: 0; right: 0; top: 100%;
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    padding: 4px max(var(--gutter), env(safe-area-inset-left, 0px)) 24px;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px -12px rgb(0 0 0 / 0.9);
  }
  .site-nav.is-open .nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open .nav-list a[aria-current="page"] { color: var(--cyan); }
  .site-nav.is-open .nav-cta { display: none; }
  .site-nav.is-open .nav-extra {
    display: grid;
    gap: 10px;
    margin-top: 20px;
  }
  .site-nav.is-open .nav-extra .btn { --btn-h: 54px; width: 100%; }
}

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .nav-list { display: flex; gap: 4px; }
  .nav-list a {
    position: relative;
    display: block;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 550;
    color: var(--steel);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
  }
  .nav-list a:hover { color: var(--white); background: rgb(255 255 255 / 0.05); }
  .nav-list a[aria-current="page"] { color: var(--white); }
  .nav-list a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    transform: translateX(-50%);
  }
}

/* Landing-page header extra: a compact "call the demo" pill */
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
.header-call svg { width: 17px; height: 17px; color: var(--cyan); }
.header-call:hover { border-color: rgb(25 217 255 / 0.5); }
.header-call .full { display: none; }
@media (min-width: 640px) {
  .header-call .full { display: inline; }
  .header-call .short { display: none; }
}

/* 8. Shared bits ----------------------------------------------------------- */

/* Small pill above the hero headline */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
}
.kicker-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgb(25 217 255 / 0.16), 0 0 14px var(--cyan);
}

/* The guarantee strip: used wherever "Or your next month is free." appears */
.guarantee {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(#020a17, #020a17) padding-box,
    linear-gradient(100deg, var(--cyan) 0%, var(--electric) 45%, rgb(10 108 255 / 0.2) 100%) border-box;
  box-shadow:
    0 0 0 5px rgb(10 108 255 / 0.07),
    0 12px 40px -14px rgb(25 217 255 / 0.55);
  font-size: clamp(1.25rem, 1.1vw + 1.02rem, 1.625rem);
  font-weight: 800;
  font-stretch: var(--wide);
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--white);
}
.guarantee-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--cyan);
  filter: drop-shadow(0 0 8px rgb(25 217 255 / 0.55));
}
@media (max-width: 479.98px) {
  .guarantee { font-size: 1.1875rem; gap: 10px; padding: 11px 16px 11px 12px; }
  .guarantee-icon { width: 26px; height: 26px; }
}

/* Check list, e.g. the trust line under the hero buttons */
.checks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--steel);
}
.checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.checks li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: var(--cyan);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4l3 3L12.8 4.8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4l3 3L12.8 4.8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Product UI window ------------------------------------------------------ */
.app-window {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-l);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.015) 40%),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    0 0 0 1px rgb(0 0 0 / 0.6),
    0 40px 90px -30px rgb(10 108 255 / 0.45);
  overflow: hidden;
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.app-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  font-weight: 650;
  letter-spacing: -0.005em;
}
.app-title img { width: 20px; height: 20px; object-fit: contain; }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px 3px 8px;
  border: 1px solid rgb(25 217 255 / 0.3);
  border-radius: 999px;
  background: var(--cyan-soft);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.5;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: live-pulse 2.4s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.6;
  white-space: nowrap;
}
.chip-auto { background: var(--electric-soft); color: #7fb4ff; border: 1px solid rgb(10 108 255 / 0.35); }
.chip-new { background: var(--cyan); color: #00131a; }
.chip-muted { background: var(--surface-2); color: var(--steel); }

.skel {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgb(255 255 255 / 0.14);
}

/* Pipeline (hero visual on /reviews) and activity feed (homepage hero) --- */
.flow {
  position: relative;
  list-style: none;
  display: grid;
  gap: 2px;
  padding: 12px;
}
.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: var(--r-m);
}
.flow-step:not(:last-child)::after {
  /* connector from this step's icon down to the next one */
  content: "";
  position: absolute;
  left: 29px;
  top: 52px;
  bottom: -10px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--electric), var(--cyan));
  opacity: 0.55;
  transform-origin: top;
}
.flow-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--white);
}
.flow-icon svg { width: 18px; height: 18px; }
.flow-icon.is-done {
  border-color: rgb(125 180 255 / 0.6);
  background: linear-gradient(180deg, #3a8bff, var(--electric));
  box-shadow: 0 0 18px -2px rgb(10 108 255 / 0.9);
}
.flow-body { min-width: 0; padding-top: 1px; }
.flow-title {
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.flow-meta {
  margin-top: 2px;
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--steel);
}
.flow-time {
  padding-top: 2px;
  font-size: 0.75rem;
  font-weight: 550;
  color: var(--steel);
  white-space: nowrap;
}
.flow-bubble {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  background: rgb(255 255 255 / 0.07);
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: #d9dee8;
}
.flow-skel { display: grid; gap: 7px; margin-top: 10px; }
.flow-step.is-highlight {
  border-color: rgb(46 134 255 / 0.4);
  background: linear-gradient(90deg, rgb(10 108 255 / 0.18), rgb(10 108 255 / 0.04));
}

/* Page-load sequence: steps light up in order, once. They start dimmed but
   visible, so the page reads complete even before the animation runs. */
@media (prefers-reduced-motion: no-preference) {
  .flow-animate .flow-step {
    animation: step-in 0.55s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 0.55s + 0.35s);
  }
  .flow-animate .flow-step:not(:last-child)::after {
    animation: rail-in 0.5s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 0.55s + 0.6s);
  }
  .flow-animate .is-highlight {
    animation: step-in 0.55s var(--ease) both, glow-once 1.6s ease-out both;
    animation-delay: calc(var(--i, 0) * 0.55s + 0.35s), calc(var(--i, 0) * 0.55s + 0.6s);
  }
}
@keyframes step-in {
  from { opacity: 0.25; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@keyframes rail-in {
  from { transform: scaleY(0.05); }
  to { transform: scaleY(1); }
}
@keyframes glow-once {
  0% { box-shadow: 0 0 0 0 rgb(25 217 255 / 0); }
  35% { box-shadow: 0 0 0 4px rgb(25 217 255 / 0.18), 0 0 40px -6px rgb(25 217 255 / 0.6); }
  100% { box-shadow: 0 0 0 0 rgb(25 217 255 / 0); }
}

/* Tally marks: the review count, drawn as groups of five ---------------- */
.tally {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
}
.tally-group { width: 58px; height: 54px; overflow: visible; }
.tally-group line {
  stroke: var(--cyan);
  stroke-width: 4.5;
  stroke-linecap: round;
  fill: none;
}
.tally-lit { filter: drop-shadow(0 0 6px rgb(25 217 255 / 0.55)); }

@media (prefers-reduced-motion: no-preference) {
  .js .tally[data-tally] line { opacity: 0.2; }
  .js .tally[data-tally].is-counting line {
    animation: tally-in 0.32s ease-out both;
    animation-delay: calc(var(--n, 0) * 42ms);
  }
}
@keyframes tally-in {
  from { opacity: 0.2; stroke-dasharray: 60; stroke-dashoffset: 60; }
  to { opacity: 1; stroke-dasharray: 60; stroke-dashoffset: 0; }
}

/* 9. Forms -------------------------------------------------------------- */
.form-card {
  position: relative;
  padding: 28px 20px 24px;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.9),
    0 30px 80px -24px rgb(10 108 255 / 0.55),
    0 0 120px -30px rgb(25 217 255 / 0.35);
}
@media (min-width: 560px) {
  .form-card { padding: 36px 32px 30px; }
}

.form-title {
  font-size: clamp(1.5rem, 1.2vw + 1.2rem, 1.875rem);
  font-weight: 800;
  font-stretch: var(--wide);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.form-intro {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 560px) {
  .form-grid { grid-template-columns: 1fr 1fr; gap: 18px 16px; }
  .field-full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label,
.field .field-label {
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--ink);
}
.optional { font-weight: 450; color: var(--ink-2); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid rgb(0 0 0 / 0.18);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;              /* 16px keeps iOS from zooming on focus */
  font-weight: 450;
  line-height: 1.3;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 104px; padding: 13px 15px; resize: vertical; }
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%234a5366' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.field input::placeholder,
.field textarea::placeholder { color: #8a93a4; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgb(0 0 0 / 0.3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 4px rgb(10 108 255 / 0.18);
}
.field.has-error input,
.field.has-error select { border-color: var(--danger); }
.field.has-error input:focus { box-shadow: 0 0 0 4px rgb(197 48 27 / 0.15); }
.field-error {
  font-size: var(--fs-xs);
  font-weight: 550;
  color: var(--danger);
}

/* Multi-select chips (homepage form) */
.chips {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
}
.chips legend { padding: 0; margin-bottom: 8px; }
.chip-option { position: relative; }
.chip-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.chip-option span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgb(0 0 0 / 0.16);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--ink);
  background: #fff;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  pointer-events: none;
}
.chip-option input:checked + span {
  background: var(--electric);
  border-color: var(--electric);
  color: #fff;
}
.chip-option input:focus-visible + span { outline: 2px solid var(--electric); outline-offset: 2px; }

.form-submit { margin-top: 22px; }
.form-legal {
  margin-top: 14px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.form-legal a { color: var(--ink-2); }
.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fdecea;
  color: #8a1f11;
  font-size: var(--fs-sm);
  line-height: 1.45;
}
.form-status a { color: inherit; font-weight: 650; }

.is-sending .btn[type="submit"] { opacity: 0.75; pointer-events: none; }
.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgb(255 255 255 / 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 4px 10px;
}
.form-success:focus { outline: none; }
.success-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #3a8bff, var(--electric));
  color: #fff;
  box-shadow: 0 12px 30px -10px rgb(10 108 255 / 0.9);
}
.success-mark svg { width: 26px; height: 26px; }
.success-title {
  font-size: 2rem;
  font-weight: 800;
  font-stretch: var(--wide);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.success-text { font-size: 1.0625rem; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .form-success:not([hidden]) { animation: step-in 0.5s var(--ease) both; }
}

/* 10. FAQ accordion ----------------------------------------------------- */
.faq-list { border-top: 1px solid var(--line-ink); }
.faq-item { border-bottom: 1px solid var(--line-ink); }
.faq-q { font-size: inherit; font-weight: inherit; letter-spacing: normal; font-stretch: 100%; line-height: inherit; }
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 650;
  font-stretch: 102%;
  letter-spacing: -0.012em;
  line-height: 1.35;
  text-wrap: pretty;
  cursor: pointer;
}
.faq-trigger:focus-visible { outline: 2px solid var(--electric); outline-offset: 4px; border-radius: 6px; }
.faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgb(0 0 0 / 0.14);
  transition: background 0.2s, border-color 0.2s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-trigger[aria-expanded="true"] .faq-icon { background: var(--electric); border-color: var(--electric); color: #fff; }
.faq-trigger[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-panel { display: grid; grid-template-rows: 1fr; }
.js .faq-panel {
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.js .faq-panel.is-open { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-panel-inner p {
  padding: 0 44px 22px 0;
  color: var(--ink-2);
  line-height: 1.6;
}
.faq-panel-inner p + p { margin-top: -10px; }
@media (prefers-reduced-motion: reduce) {
  .js .faq-panel { transition: none; }
}

/* 11. Footer ------------------------------------------------------------ */
.site-footer {
  padding-block: 56px 40px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--steel);
}
.footer-top {
  display: grid;
  gap: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 24rem; }
.footer-brand img { height: 28px; width: auto; align-self: flex-start; }
.footer-contact { display: grid; gap: 6px; margin-top: 4px; }
.footer-contact a { color: var(--white); font-weight: 600; text-decoration: none; }
.footer-contact a:hover { color: var(--cyan); }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.footer-col h2 {
  margin-bottom: 12px;
  font-size: var(--fs-sm);
  font-weight: 650;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--steel-dim);
}
.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-links a {
  color: var(--white);
  font-weight: 550;
  text-decoration: none;
}
.footer-links a:hover { color: var(--cyan); }
.footer-base {
  display: grid;
  gap: 8px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--steel-dim);
}
.footer-base a { color: var(--steel); }
@media (min-width: 860px) {
  .footer-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Room for the phone action bar under the footer */
@media (max-width: 767.98px) {
  .has-mbar .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* 12. Shared page sections (hero, steps, FAQ, closing) ------------------ */

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 26px 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -300px;
  top: -210px;
  background: radial-gradient(closest-side, rgb(10 108 255 / 0.4), rgb(6 51 184 / 0.16) 55%, transparent 74%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 85% 8%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 55% at 85% 8%, #000 10%, transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-title {
  margin-top: 18px;
  font-size: var(--fs-h1);
  font-stretch: 110%;
  letter-spacing: -0.042em;
  line-height: 0.98;
}
.hero .guarantee { margin-top: 18px; }
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 22px;
}
.hero-lead { margin-top: 24px; }
.hero .checks { margin-top: 18px; }

/* Narrow phones: keep the guarantee strip on one tidy line or two balanced
   ones, and let the secondary button step back so the main one leads */
@media (max-width: 479.98px) {
  .hero .guarantee {
    display: flex;
    width: 100%;
    font-size: 1.1875rem;
    text-wrap: balance;
  }
  .hero-actions { gap: 4px; }
  .hero-actions .btn-ghost {
    --btn-h: 46px;
    background: transparent;
    border-color: transparent;
    color: var(--steel);
    font-weight: 600;
  }
  .hero-actions .btn-ghost[href^="#"]::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
  }
  .hero-lead { margin-top: 14px; }
}

@media (min-width: 480px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; width: auto; }
}

@media (min-width: 960px) {
  .hero { padding-block: 72px 112px; }
  .hero-bg::before { width: 980px; height: 980px; right: -320px; top: -360px; }
  .hero-bg::after {
    -webkit-mask-image: radial-gradient(ellipse 50% 70% at 80% 52%, #000 5%, transparent 72%);
    mask-image: radial-gradient(ellipse 50% 70% at 80% 52%, #000 5%, transparent 72%);
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 56px;
  }
  .hero-title { margin-top: 22px; }
  .hero .guarantee { margin-top: 22px; }
  /* On wide screens the explanation reads before the buttons */
  .hero-lead { order: 3; margin-top: 24px; }
  .hero-actions { order: 4; margin-top: 32px; }
  .hero .checks { order: 5; margin-top: 22px; }
}

.hero-visual { position: relative; }
.hero-visual .app-window { max-width: 500px; margin-inline: auto; }
@media (min-width: 960px) {
  .hero-visual .app-window { max-width: 520px; margin-inline: auto 0; }
}

/* How it works ------------------------------------------------------------ */
.steps {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 36px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--surface);
}
.step.is-auto {
  border-color: rgb(46 134 255 / 0.45);
  background: linear-gradient(180deg, rgb(10 108 255 / 0.16), rgb(10 108 255 / 0.03));
}
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.step-num {
  font-size: 2.25rem;
  font-weight: 850;
  font-stretch: var(--widest);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--steel-dim);
}
.step.is-auto .step-num { color: var(--cyan); }
.step h3 { font-size: 1.3125rem; }
.step p { color: var(--steel); }
@media (max-width: 599.98px) {
  .step { gap: 6px; padding: 18px 18px 20px; }
  .step-top { margin-bottom: 2px; }
  .step-num { font-size: 1.75rem; }
  .step h3 { font-size: 1.1875rem; }
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 52px;
  }
  .step { padding: 28px 26px 30px; }
}

/* FAQ (light) --------------------------------------------------------------- */
.faq-grid {
  display: grid;
  gap: 28px;
}
.faq-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-head p { color: var(--ink-2); max-width: 26em; }
.faq-head a { color: var(--blue-ink); font-weight: 650; text-underline-offset: 3px; white-space: nowrap; }
@media (min-width: 960px) {
  .faq-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 72px;
    align-items: start;
  }
  .faq-head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* Closing: final push + lead form ------------------------------------------ */
.closing {
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 45% at 20% 12%, rgb(10 108 255 / 0.32), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 95%, rgb(6 51 184 / 0.4), transparent 70%),
    var(--black);
}
.closing-grid {
  display: grid;
  gap: 36px;
}
.closing-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.closing-mark {
  width: 96px;
  height: auto;
  margin-left: -8px;
  filter: drop-shadow(0 18px 50px rgb(10 108 255 / 0.55));
}
.closing-title {
  font-size: clamp(2.125rem, 3.4vw + 1.2rem, 3.875rem);
  font-stretch: 110%;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.closing-title span { display: block; }
.closing-lead { font-size: var(--fs-lg); color: var(--steel); }
.closing .checks { margin-top: 4px; }

@media (min-width: 960px) {
  .closing-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
    gap: 72px;
    align-items: center;
  }
  .closing-mark { width: 156px; margin-left: -14px; }
}

/* Light-section variants of the shared steps */
.theme-light .step { border-color: var(--line-ink); background: var(--paper-2); }
.theme-light .step p { color: var(--ink-2); }
.theme-light .step-num { color: #a3acbd; }
.theme-light .step.is-auto {
  border-color: rgb(10 108 255 / 0.35);
  background: linear-gradient(180deg, rgb(10 108 255 / 0.09), rgb(10 108 255 / 0.02));
}
.theme-light .step.is-auto .step-num { color: var(--electric); }
.theme-light .chip-muted { background: rgb(0 0 0 / 0.06); color: var(--ink-2); }
.theme-light .chip-auto { background: rgb(10 108 255 / 0.1); color: var(--blue-ink); border-color: rgb(10 108 255 / 0.25); }

/* Inner pages: legal documents and 404 -------------------------------- */
.doc {
  padding-block: 56px 88px;
}
.doc-wrap { max-width: 760px; }
.doc-head { display: flex; flex-direction: column; gap: 12px; padding-bottom: 28px; border-bottom: 1px solid var(--line-ink); }
.doc-head h1 { font-size: clamp(2.25rem, 3vw + 1.4rem, 3.5rem); }
.doc-sub { font-size: var(--fs-lg); color: var(--ink-2); }
.doc-meta { font-size: var(--fs-sm); color: var(--ink-2); }
.doc-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.doc-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line-ink);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 550;
  color: var(--ink);
  text-decoration: none;
}
.doc-toc a:hover { border-color: var(--electric); color: var(--blue-ink); }
.doc-summary {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--r-m);
  background: var(--paper-2);
  border: 1px solid var(--line-ink);
}
.prose { margin-top: 32px; }
.prose > * + * { margin-top: 16px; }
.prose h2 {
  margin-top: 44px;
  font-size: 1.5rem;
  font-stretch: 104%;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose h3 { margin-top: 28px; font-size: 1.125rem; letter-spacing: -0.01em; }
.prose p, .prose li { color: #20242d; line-height: 1.7; }
.prose ul { padding-left: 1.25em; display: grid; gap: 10px; }
.prose li::marker { color: var(--electric); }
.prose a, .doc-summary a { color: var(--blue-ink); text-underline-offset: 3px; }
.prose b, .prose strong { font-weight: 700; color: var(--ink); }

.lost {
  padding-block: 88px 120px;
  min-height: 60vh;
}
.lost-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 40rem; }
.lost h1 { font-size: var(--fs-h1); }
.lost .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

/* 14. Main-site building blocks ---------------------------------------- */

/* Buttons: extras */
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-dark {
  color: #fff;
  background: var(--black);
  border-color: var(--black);
  box-shadow: 0 10px 26px -14px rgb(0 0 0 / 0.8);
}
.btn-dark:hover { background: #111722; transform: translateY(-1px); }
.theme-light .text-link { color: var(--ink); border-color: rgb(0 0 0 / 0.25); }
.theme-light .text-link:hover { border-color: var(--electric); }

/* "Details", "Watch it", "See how": text with a drawn chevron */
.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 650;
  color: #7fd3ff;
}
button.more {
  align-self: flex-start;
  margin: 0;
  padding: 4px 0;
  border: 0;
  border-radius: 6px;
  background: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.more::after {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5L10.5 8 6 12.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5L10.5 8 6 12.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s var(--ease);
}
a:hover > .more::after, button:hover > .more::after, .more:hover::after { transform: translateX(3px); }
.theme-light .more { color: var(--blue-ink); }

/* Small label above a section title (sentence case, never shouting) */
.label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.3;
  color: #8fd9ff;
}
.label::before {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.theme-light .label { color: var(--blue-ink); }
.theme-light .label::before { background: var(--electric); box-shadow: none; }

.section-head.center { align-items: center; text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }
.section-title span { display: block; }

/* Inner page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 44px 60px;
  border-bottom: 1px solid var(--line);
}
.page-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.page-hero-inner > * { max-width: 54rem; }
.page-hero h1 {
  font-size: clamp(2.375rem, 3.8vw + 1.3rem, 4.375rem);
  font-stretch: 110%;
  letter-spacing: -0.042em;
  line-height: 1;
}
.page-hero h1 span { display: block; }
.page-hero .lead { max-width: 38em; }
@media (min-width: 960px) {
  .page-hero { padding-block: 88px 96px; }
}

/* Phone mockup used by the homepage, See it work and the free month page */
.device {
  --w: 300px;
  --h: 600px;
  position: relative;
  width: var(--w);
  flex-shrink: 0;
  padding: 9px;
  border-radius: 48px;
  background: linear-gradient(150deg, #454a55 0%, #15171c 38%, #0b0c10 100%);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.16),
    inset 0 0 0 4px #050608,
    0 0 0 1px rgb(0 0 0 / 0.9),
    0 50px 100px -40px rgb(10 108 255 / 0.7);
}
.device-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: var(--h);
  border-radius: 40px;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  isolation: isolate;
}
.device-island {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 5;
  width: 90px;
  height: 26px;
  border-radius: 20px;
  background: #000;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.05);
}
.device-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  height: 46px;
  padding: 12px 26px 0 30px;
  font-size: 14px;
  font-weight: 650;
}
.device-status .ico { display: flex; align-items: center; gap: 5px; }
.device-status svg { height: 11px; width: auto; }

/* Text thread */
.th-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 2px 16px 10px;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  background: rgb(22 22 24 / 0.92);
}
.th-av {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #3a8bff, #0633b8);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.th-name { font-size: 12.5px; font-weight: 650; }
.th-sub { font-size: 11px; color: #8e8e93; }
.th-stream {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 0;
  padding: 10px 11px 14px;
  overflow: hidden;
}
.m {
  max-width: 84%;
  padding: 8px 12px 9px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.34;
  overflow-wrap: anywhere;
}
.m.in { align-self: flex-start; background: #26262a; border-bottom-left-radius: 6px; }
.m.out { align-self: flex-end; background: #0a84ff; border-bottom-right-radius: 6px; }
.m.sys {
  align-self: center;
  max-width: 100%;
  padding: 2px 0;
  background: none;
  font-size: 11px;
  font-weight: 600;
  color: #8e8e93;
  text-align: center;
}
.m.good, .m.bad {
  align-self: center;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 650;
  text-align: center;
}
.m.good { background: rgb(25 217 255 / 0.14); color: #7fe6ff; border: 1px solid rgb(25 217 255 / 0.35); }
.m.good::before {
  content: "";
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4l3 3L12.8 4.8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4l3 3L12.8 4.8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.m.bad { background: rgb(255 90 70 / 0.12); color: #ff9a8a; border: 1px solid rgb(255 90 70 / 0.3); }
.m.card {
  align-self: flex-start;
  width: 84%;
  padding: 0;
  overflow: hidden;
  background: #1f1f23;
  border-radius: 16px;
}
.m.card .c-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px 0;
  font-size: 12px;
  font-weight: 650;
  color: #aeaeb2;
}
.m.card .c-amt { padding: 4px 12px 0; font-size: 24px; font-weight: 800; font-stretch: 110%; letter-spacing: -0.03em; }
.m.card .c-body { padding: 4px 12px 10px; font-size: 12px; color: #aeaeb2; }
.m.card .c-btn {
  display: block;
  margin: 0 10px 10px;
  padding: 8px;
  border-radius: 10px;
  background: #0a84ff;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
}
.m.card .c-media {
  display: grid;
  place-items: center;
  height: 74px;
  background:
    radial-gradient(ellipse 70% 90% at 70% 0%, rgb(25 217 255 / 0.45), transparent 70%),
    linear-gradient(140deg, #072a86, #0a6cff);
}
.m.card .c-media svg { width: 30px; height: 30px; color: #fff; }
.m.photo {
  align-self: flex-end;
  padding: 0;
  width: 60%;
  overflow: hidden;
  border-radius: 16px;
  background: #0a84ff;
}
.m.photo .ph {
  display: grid;
  place-items: end start;
  height: 110px;
  padding: 8px 10px;
  background:
    radial-gradient(circle at 30% 30%, rgb(255 255 255 / 0.28), transparent 45%),
    linear-gradient(160deg, #5b6474, #1d2129);
  font-size: 11px;
  font-weight: 600;
}

/* Messages that arrive one by one start hidden; everything else is visible */
.js [data-animate] .m,
.js [data-animate] .cap,
.js [data-animate] .notif { opacity: 0; transform: translateY(8px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.js [data-animate] .m.show,
.js [data-animate] .cap.show,
.js [data-animate] .notif.show { opacity: 1; transform: none; }

.typing {
  align-self: flex-start;
  display: none;
  gap: 4px;
  padding: 11px 13px;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  background: #26262a;
}
.typing.show { display: inline-flex; }
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8e8e93;
  animation: dot 1.1s infinite ease-in-out;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot {
  0%, 60%, 100% { opacity: 0.35; transform: none; }
  30% { opacity: 1; transform: translateY(-2px); }
}

/* Lock screen with notifications */
.scr-lock {
  background:
    radial-gradient(ellipse 90% 60% at 30% 0%, rgb(10 108 255 / 0.55), transparent 70%),
    radial-gradient(ellipse 80% 60% at 90% 100%, rgb(6 51 184 / 0.7), transparent 70%),
    linear-gradient(180deg, #030a1f, #01040c);
}
.lock-top { flex-shrink: 0; padding: 38px 16px 14px; text-align: center; }
.lock-date { font-size: 13px; font-weight: 600; color: rgb(255 255 255 / 0.85); }
.lock-time {
  margin-top: 2px;
  font-size: 64px;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.03em;
  line-height: 1;
}
.notifs { display: flex; flex-direction: column; gap: 8px; padding: 6px 10px 14px; }
.notif {
  padding: 10px 12px 11px;
  border-radius: 18px;
  background: rgb(255 255 255 / 0.13);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 12.5px;
  line-height: 1.38;
  color: rgb(255 255 255 / 0.86);
}
.notif b { display: block; color: #fff; font-weight: 650; }
.notif.hot { background: rgb(10 108 255 / 0.32); box-shadow: inset 0 0 0 1px rgb(25 217 255 / 0.45); }
.n-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  color: rgb(255 255 255 / 0.62);
}
.n-head img { width: 18px; height: 18px; border-radius: 5px; background: #000; padding: 2px; }
.n-head .n-when { margin-left: auto; }

/* Call screen with live captions */
.scr-call {
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgb(10 108 255 / 0.35), transparent 70%),
    linear-gradient(180deg, #06122b 0%, #02050d 100%);
}
.call-top { flex-shrink: 0; padding: 34px 16px 8px; text-align: center; }
.call-av {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #3a8bff, #0633b8);
  font-size: 19px;
  font-weight: 700;
}
.call-nm { font-size: 17px; font-weight: 650; }
.call-st { margin-top: 2px; font-size: 12px; color: rgb(255 255 255 / 0.62); font-variant-numeric: tabular-nums; }
.call-st.live { color: #7fe6ff; }
.caps {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 0;
  padding: 8px 12px;
  overflow: hidden;
}
.cap {
  max-width: 88%;
  padding: 7px 11px 8px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.4;
}
.cap i { display: block; margin-bottom: 1px; font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: 0.02em; opacity: 0.7; }
.cap.ai { align-self: flex-start; background: rgb(10 108 255 / 0.28); border: 1px solid rgb(46 134 255 / 0.45); }
.cap.them { align-self: flex-end; background: rgb(255 255 255 / 0.1); }
.cap.vm { align-self: stretch; max-width: 100%; background: rgb(255 255 255 / 0.05); color: rgb(255 255 255 / 0.7); font-style: italic; }
.cap.sys { align-self: center; background: none; padding: 1px 0; font-size: 11px; color: rgb(255 255 255 / 0.55); }
.cap.split {
  align-self: stretch;
  max-width: 100%;
  margin-top: 4px;
  padding: 3px 0;
  background: none;
  border-top: 1px dashed rgb(255 255 255 / 0.2);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgb(255 255 255 / 0.6);
  text-align: center;
}
.cap.good, .cap.bad { align-self: center; border-radius: 999px; font-size: 11px; font-weight: 650; padding: 5px 11px; }
.cap.good { background: rgb(25 217 255 / 0.14); color: #7fe6ff; border: 1px solid rgb(25 217 255 / 0.35); }
.cap.bad { background: rgb(255 90 70 / 0.12); color: #ff9a8a; border: 1px solid rgb(255 90 70 / 0.3); }
.call-btns {
  display: flex;
  justify-content: space-around;
  flex-shrink: 0;
  padding: 10px 18px 24px;
}
.call-btns span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.12);
}
.call-btns span.end { background: #ff3b30; }
.call-btns svg { width: 20px; height: 20px; }

/* Website with a chat window */
.scr-web { background: #f2f4f8; color: #0b0d12; }
.web-bar { flex-shrink: 0; padding: 40px 12px 8px; background: #e9ecf2; border-bottom: 1px solid #d9dde6; }
.web-url {
  padding: 6px 10px;
  border-radius: 10px;
  background: #fff;
  font-size: 11.5px;
  font-weight: 550;
  color: #4a5366;
  text-align: center;
}
.web-site { flex-shrink: 0; padding: 16px 16px 14px; }
.web-site b { display: block; font-size: 17px; font-weight: 800; font-stretch: 106%; letter-spacing: -0.02em; line-height: 1.15; }
.web-site small { display: block; margin-top: 4px; font-size: 11.5px; color: #5a6275; }
.web-site .wbtn {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 12px;
  border-radius: 9px;
  background: #0b0d12;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}
.web-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin: 0 10px 12px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  color: #fff;
  box-shadow: 0 18px 40px -14px rgb(0 0 0 / 0.55);
}
.wc-head {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 10px 12px;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  font-size: 11.5px;
  font-weight: 650;
}
.wc-head i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; }
.web-chat .th-stream { padding: 8px 9px 10px; }
.web-chat .m { font-size: 12.5px; }

/* Live demo line card */
.demo-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 780px;
  margin-inline: auto;
  padding: 34px 20px 28px;
  border: 1px solid rgb(46 134 255 / 0.38);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgb(10 108 255 / 0.35), transparent 70%),
    var(--panel);
  box-shadow: 0 40px 100px -40px rgb(10 108 255 / 0.65);
  color: var(--white);
  text-align: center;
}
.demo-num {
  font-size: clamp(2.125rem, 8.4vw, 4.5rem);
  font-weight: 850;
  font-stretch: 112%;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 40%, #9fc3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.demo-num:focus-visible { outline-offset: 6px; border-radius: 8px; }
.demo-sub { max-width: 36em; font-size: var(--fs-lg); line-height: 1.55; color: var(--steel); }
.demo-try { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.demo-try span {
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  font-size: 0.875rem;
  font-weight: 550;
}
.demo-note { max-width: 36em; font-size: var(--fs-xs); color: var(--steel-dim); }
@media (min-width: 640px) { .demo-card { padding: 48px 40px 36px; } }

/* Closing call to action on every main page */
.final {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgb(10 108 255 / 0.32), transparent 70%),
    radial-gradient(ellipse 55% 50% at 50% 110%, rgb(6 51 184 / 0.45), transparent 70%),
    var(--black);
  border-top: 1px solid rgb(46 134 255 / 0.2);
}
.final-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final-mark { width: 80px; height: auto; filter: drop-shadow(0 18px 50px rgb(10 108 255 / 0.55)); }
.final h2 {
  font-size: clamp(2.25rem, 3.6vw + 1.2rem, 4.25rem);
  font-stretch: 110%;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.final h2 span { display: block; }
.final p:not(.label) { max-width: 34em; font-size: var(--fs-lg); line-height: 1.55; color: var(--steel); }
.final-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 420px; margin-top: 8px; }
@media (min-width: 560px) {
  .final-actions { flex-direction: row; justify-content: center; width: auto; max-width: none; }
}
@media (min-width: 960px) { .final-mark { width: 104px; } }

/* FAQ built on <details> */
.qa { border-top: 1px solid var(--line-ink); }
.qa details { border-bottom: 1px solid var(--line-ink); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 650;
  font-stretch: 102%;
  letter-spacing: -0.012em;
  line-height: 1.35;
  -webkit-tap-highlight-color: transparent;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline: 2px solid var(--electric); outline-offset: 4px; border-radius: 6px; }
.qa details[open] > summary .faq-icon { background: var(--electric); border-color: var(--electric); color: #fff; }
.qa details[open] > summary .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa .qa-a { padding: 0 44px 22px 0; }
.qa .qa-a p { color: var(--ink-2); line-height: 1.65; }
.qa .qa-a p + p { margin-top: 10px; }
.qa .qa-a a { color: var(--blue-ink); font-weight: 600; text-underline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .qa details[open] .qa-a { animation: step-in 0.35s var(--ease) both; }
}
.qa.on-dark, .qa.on-dark details { border-color: var(--line-strong); }
.qa.on-dark .faq-icon { border-color: var(--line-strong); }
.qa.on-dark .qa-a p { color: var(--steel); }
.qa.on-dark .qa-a a { color: #8fd9ff; }

/* Service details popup (bottom sheet on phones) */
.modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.modal-back { position: absolute; inset: 0; background: rgb(0 3 12 / 0.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  max-height: 90dvh;
  overflow-y: auto;
  padding: 26px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: var(--panel);
  color: var(--white);
  box-shadow: 0 -30px 80px -30px rgb(10 108 255 / 0.55);
}
.modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgb(255 255 255 / 0.04);
  cursor: pointer;
}
.modal-x svg { width: 18px; height: 18px; }
.modal-card h3 { margin-top: 12px; padding-right: 44px; font-size: clamp(1.5rem, 1.4vw + 1.2rem, 2rem); font-stretch: 108%; letter-spacing: -0.03em; }
.modal-lead { margin-top: 10px; color: var(--steel); font-size: 1.0625rem; line-height: 1.55; }
.modal-card h4 { margin-top: 22px; font-size: var(--fs-sm); font-weight: 650; color: var(--steel-dim); }
.modal-steps { list-style: none; counter-reset: st; display: grid; gap: 10px; margin-top: 10px; }
.modal-steps li {
  counter-increment: st;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  line-height: 1.5;
}
.modal-steps li::before {
  content: counter(st);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--electric-soft);
  border: 1px solid rgb(46 134 255 / 0.45);
  font-size: 0.8125rem;
  font-weight: 700;
}
.modal-best { margin-top: 20px; padding: 14px 16px; border-radius: var(--r-m); background: rgb(255 255 255 / 0.05); font-size: 0.9375rem; line-height: 1.5; color: var(--steel); }
.modal-best b { color: var(--white); }
.modal-cta { display: grid; gap: 10px; margin-top: 20px; }
.modal-cta > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .modal { align-items: center; padding: 24px; }
  .modal-card { border-bottom: 1px solid var(--line-strong); border-radius: 24px; padding: 32px 32px 28px; box-shadow: 0 40px 120px -30px rgb(10 108 255 / 0.55); }
  .modal-cta { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .modal:not([hidden]) .modal-card { animation: sheet-in 0.32s var(--ease) both; }
  .modal:not([hidden]) .modal-back { animation: fade-in 0.25s ease both; }
}
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
body.modal-open { overflow: hidden; }

/* Site chat assistant (scripted answers; nothing is stored) */
.chatw {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  transition: bottom 0.3s var(--ease);
}
.chatw-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgb(125 180 255 / 0.55);
  border-radius: 50%;
  background: linear-gradient(180deg, #3a8bff 0%, var(--electric) 55%, #0457e4 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35), 0 14px 34px -10px rgb(10 108 255 / 0.95);
  cursor: pointer;
}
.chatw-btn svg { width: 25px; height: 25px; }
.chatw-btn .i-close, .chatw.open .chatw-btn .i-open { display: none; }
.chatw.open .chatw-btn .i-close { display: block; }
.chatw-panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100dvh - 150px));
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--panel);
  color: var(--white);
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.85), 0 0 70px -24px rgb(10 108 255 / 0.55);
}
.chatw-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chatw-head img { width: 30px; height: auto; }
.chatw-head b { display: block; font-size: 0.9375rem; font-weight: 700; }
.chatw-head small { display: block; font-size: 0.75rem; color: var(--steel); }
.chatw-log { flex: 1; display: flex; flex-direction: column; gap: 8px; min-height: 0; padding: 14px; overflow-y: auto; overscroll-behavior: contain; }
.cb { max-width: 88%; padding: 9px 12px 10px; border-radius: 16px; font-size: 0.875rem; line-height: 1.45; }
.cb.bot { align-self: flex-start; background: rgb(255 255 255 / 0.07); border-bottom-left-radius: 5px; }
.cb.bot a { color: #8fd9ff; font-weight: 600; }
.cb.me { align-self: flex-end; background: var(--electric); color: #fff; border-bottom-right-radius: 5px; }
.cb .cb-btn {
  display: inline-flex;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--electric);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 650;
  text-decoration: none;
}
.cb .typing { display: inline-flex; padding: 3px 0; background: none; }
.chatw-chips { display: flex; gap: 6px; padding: 0 12px 10px; overflow-x: auto; scrollbar-width: none; }
.chatw-chips::-webkit-scrollbar { display: none; }
.chatw-chips button {
  flex: none;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 550;
  white-space: nowrap;
  cursor: pointer;
}
.chatw-chips button:hover { border-color: rgb(25 217 255 / 0.5); }
.chatw-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chatw-form input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.04);
  font-size: 1rem;
}
.chatw-form input:focus { outline: none; border-color: var(--cyan); }
.chatw-form button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 0;
  border-radius: 12px;
  background: var(--electric);
  color: #fff;
  cursor: pointer;
}
.chatw-form button svg { width: 18px; height: 18px; }
.chatw-foot { padding: 0 12px 10px; font-size: 0.6875rem; color: var(--steel-dim); }
.chatw-foot a { color: var(--steel); }
@media (max-width: 639.98px) {
  .chatw-panel {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    width: auto;
    height: min(72dvh, 560px);
  }
  .mbar-on .chatw { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .mbar-on .chatw-panel { bottom: calc(156px + env(safe-area-inset-bottom, 0px)); height: min(64dvh, 520px); }
}

/* Phone action bar: call the demo or text Andrew, always one tap away */
.mbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  background: rgb(0 0 0 / 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
}
.mbar.show { transform: none; }
.mbar .btn { --btn-h: 50px; padding: 0 10px; font-size: 0.9375rem; }
@media (min-width: 768px) { .mbar { display: none; } }

/* 13. Utilities ---------------------------------------------------------- */
.nowrap { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 479.98px) {
  .lost .actions { flex-direction: column; width: 100%; }
  .lost .actions .btn { width: 100%; }
}
