/* ==========================================================================
   Shazra Labs — built from the Pencil design (shazralabs.pen)
   Tokens, type scale, spacing and components mirror the design file 1:1.
   ========================================================================== */

:root {
  /* surfaces */
  --bg: #ffffff;
  --bg-soft: #f7f6fb;
  --bg-tint: #f3f0fe;
  --card: #ffffff;
  /* ink */
  --ink: #0a0a12;
  --ink-2: #3d3d52;
  --ink-3: #5a5a72;
  --ink-4: #737389;
  /* lines */
  --line: #e8e7f1;
  --line-strong: #d6d4e6;
  /* brand */
  --purple: #7c3aed;
  --purple-mid: #9333ea;
  --purple-light: #a855f7;
  --purple-ink: #5b21b6;
  --pink: #d946ef;
  --purple-wash: #ede7fe;
  /* status */
  --success: #12a150;
  --success-wash: #e6f6ed;
  --warn: #b45309;
  --warn-wash: #fef3e2;
  --info: #0e7490;
  --info-wash: #e0f5fa;
  /* dark bands */
  --dark-bg: #0b0b14;
  --dark-card: #14141f;
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-ink: #f5f4fa;
  --dark-ink-2: #a6a6bd;
  --dark-ink-3: #8a8aa3;
  /* type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--font);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  /* radii + rhythm */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --pad-page: 100px;
  --gap-sec: 76px;
  --shadow-card: 0 10px 28px -10px rgba(28, 18, 63, 0.12);
  --shadow-lift: 0 18px 44px -14px rgba(28, 18, 63, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 84px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html { overflow-x: clip; }

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

::selection { background: rgba(124, 58, 237, 0.18); }

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

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--pad-page);
}

.section { padding-block: var(--gap-sec); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }

.grad {
  background: linear-gradient(115deg, var(--purple), var(--purple-light) 55%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

/* --------------------------------------------------------------- eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.eyebrow--light { color: var(--purple-light); }

/* --------------------------------------------------------------- buttons */
.btn {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.btn svg { flex: 0 0 auto; }
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: linear-gradient(115deg, var(--purple), var(--purple-mid) 70%, #a21caf);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(124, 58, 237, 0.45);
}
.btn--primary:hover { box-shadow: 0 12px 28px -8px rgba(124, 58, 237, 0.6); }

.btn--ghost {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--bg-soft); }

.btn--on-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
}
.btn--on-dark:hover { background: rgba(255, 255, 255, 0.16); }

.btn--solid-light { background: #fff; color: var(--purple-ink); }

/* Compact variant for the nav pill, matching the design file */
.btn--sm { padding: 11px 20px; font-size: 14.5px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
}
.link-arrow:hover { gap: 11px; }
.link-arrow svg { transition: transform 0.2s var(--ease); }

/* ------------------------------------------------------------------- nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  padding: 14px 32px 0;
}
.nav__pill {
  max-width: 1376px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 22px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: 0 12px 32px -12px rgba(28, 18, 63, 0.14);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav__brand img { width: 28px; height: 28px; border-radius: 7px; }
/* the brand is the official lockup image, so it sizes by height and keeps
   its own edges rather than being cropped into a rounded icon box */
.nav__brand .brand-logo { width: auto; height: 44px; border-radius: 0; flex: 0 0 auto; }
/* the pill would otherwise shrink the anchor and squash the lockup, so it never
   shrinks and instead steps down where the row runs out of room */
.nav__brand { flex: 0 0 auto; }
@media (max-width: 420px) { .nav__brand .brand-logo { height: 34px; } }
.nav__brand b { color: var(--purple); font-weight: 700; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a:not(.btn) {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav__links a:not(.btn):hover,
.nav__links a:not(.btn)[aria-current="page"] { background: var(--bg-soft); color: var(--ink); }
.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 1080px) {
  .nav { padding-inline: 20px; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute;
    inset: calc(100% + 10px) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lift);
    display: none;
  }
  .nav__links[data-open="true"] { display: flex; }
  .nav__links[data-open="true"] {
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav__pill { position: relative; }
  .nav__links .btn { justify-content: center; margin-top: 6px; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100svh;
  margin-top: calc(var(--nav-h) * -1);
  padding: calc(var(--nav-h) + 40px) 0 72px;
  background: var(--dark-bg) center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 11, 20, 0.86) 0%, rgba(11, 11, 20, 0.55) 42%, rgba(11, 11, 20, 0.18) 78%),
    linear-gradient(180deg, rgba(11, 11, 20, 0.62) 0%, rgba(11, 11, 20, 0) 34%, rgba(11, 11, 20, 0.3) 100%);
}
.hero + .section { background: var(--bg); padding-top: 64px; }

.hero__inner { max-width: 720px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero h1 { font-size: clamp(38px, 4.4vw, 60px); color: #fff; }
.hero h1 .grad { display: inline-block; }
.hero__sub {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #b9b8ce;
}
.hero__lede { font-size: 17.5px; line-height: 1.62; color: #c9c8da; max-width: 640px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__trust { display: grid; gap: 10px; margin-top: 6px; }
.hero__trust span { display: flex; gap: 9px; align-items: center; font-size: 13.5px; color: #b9b8ce; }
.hero__trust svg { color: var(--purple-light); flex: 0 0 auto; }

.badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8e7f4;
}
.badge-dark i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }

.hero--band {
  min-height: 0;
  padding: 150px 0 76px;
  background:
    radial-gradient(ellipse 90% 120% at 50% -10%, rgba(124, 58, 237, 0.34), transparent 62%),
    var(--dark-bg);
}
.hero--band::before { display: none; }

.crumbs { display: flex; gap: 8px; font-size: 13px; color: #9a99b2; }
.crumbs a { color: #9a99b2; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #e8e7f4; }

@media (max-width: 1100px) {
  .hero::before {
    background: linear-gradient(180deg, rgba(11, 11, 20, 0.88), rgba(11, 11, 20, 0.74) 50%, rgba(11, 11, 20, 0.9));
  }
}
@media (max-width: 860px) {
  .hero { min-height: 100svh; padding: calc(var(--nav-h) + 20px) 0 44px; }
  .hero__inner { gap: 18px; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 44px); }
  .hero__sub { font-size: clamp(18px, 5vw, 22px); }
  .hero__lede { font-size: 15.5px; line-height: 1.5; }
  .hero__trust { gap: 8px; }
  .hero__trust span { font-size: 12.5px; }
  .hero__lede { font-size: 16px; line-height: 1.55; }
}

/* --------------------------------------------------------- section heads */
.head { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.head h2 { font-size: clamp(28px, 3.2vw, 42px); }
.head p { font-size: 17px; line-height: 1.6; color: var(--ink-3); max-width: 700px; }
.head--dark h2 { color: var(--dark-ink); }
.head--dark p { color: var(--dark-ink-2); }

.split { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 72px; align-items: start; }
/* Grid children default to min-width:auto and refuse to shrink below their
   content, which pushes long words and wide tables past the viewport. */
.split > *, .split--facts > *, .grid > *, .bento > * { min-width: 0; }
.article { overflow-wrap: anywhere; }
.article pre { white-space: pre-wrap; overflow-x: auto; max-width: 100%; }
.split .head h2 { font-size: clamp(26px, 2.6vw, 36px); }
.split--facts { grid-template-columns: minmax(0, 1fr) 360px; }
@media (max-width: 980px) {
  .split, .split--facts { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .facts, .aside-card { max-width: 460px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .facts, .aside-card { max-width: none; margin-inline: 0; }
  .footer nav a:not(.btn), .footer__contact a:not(.btn), .footer__bottom nav a {
    display: flex; align-items: center; min-height: 44px;
  }
  .footer nav { gap: 0; }
  .link-arrow { min-height: 44px; }
}

/* ----------------------------------------------------------------- cards */
.card {
  background: var(--card);
  border: 1px solid #efedf7;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s, transform 0.25s var(--ease);
}
.card:hover { box-shadow: var(--shadow-lift); border-color: var(--line-strong); transform: translateY(-2px); }
.card > .btn, .card > .link-arrow { margin-top: auto; }
a.card, a.card:hover { text-decoration: none; color: inherit; }
a.card h3, a.card p, a.card .tag, a.card .link-arrow { text-decoration: none; }
.card h3 { font-size: 19px; letter-spacing: -0.02em; }
.card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-3); }

.icon-tile {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--purple-wash);
  border: 1px solid #ddd2fb;
  color: var(--purple);
}

.shot {
  width: 100%;
  /* the width/height attributes give the browser a ratio before CSS lands, but
     in this column flex card their intrinsic height also becomes the item's
     main size unless height is explicitly auto — without this the panel renders
     1000px tall instead of resolving 16:10 from its width */
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--bg-tint);
  padding: 30px;
}

.shot--dark { background: var(--dark-bg); }
/* Logos that are a solid plate rather than a transparent mark carry their own
   background, so at equal padding they read far heavier than the rest of the
   row. Extra inset brings their painted area back in line. */
.shot--plate { padding: 46px 78px; }
@media (max-width: 720px) { .shot--plate { padding: 34px 54px; } }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.bento > .span-4 { grid-column: span 4; }
.bento > .span-3 { grid-column: span 3; }
.bento > .span-2 { grid-column: span 2; }

@media (max-width: 1080px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > .span-4, .bento > .span-3, .bento > .span-2 { grid-column: span 3; }
}
@media (max-width: 720px) {
  .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento > .span-4, .bento > .span-3, .bento > .span-2 { grid-column: span 1; }
}

/* ----------------------------------------------------------------- chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: 0 2px 8px -3px rgba(28, 18, 63, 0.08);
}
.chip img, .chip svg { width: 17px; height: 17px; }
.tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------------------------------------ dark bands */
.band {
  border-radius: var(--r-lg);
  border: 1px solid var(--dark-line);
  padding: 48px;
  color: var(--dark-ink);
  background:
    radial-gradient(ellipse 120% 160% at 15% 0%, rgba(124, 58, 237, 0.28), transparent 62%),
    var(--dark-bg);
}
.band--split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; }
@media (max-width: 900px) { .band--split { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

.stat { display: flex; flex-direction: column; gap: 6px; padding: 22px 0 22px 24px; border-left: 2px solid rgba(255, 255, 255, 0.16); min-width: 200px; }
.stat b { font-family: var(--display); font-size: 34px; letter-spacing: -0.03em; color: var(--dark-ink); }
.stat span { font-size: 13.5px; color: var(--dark-ink-2); }

/* ------------------------------------------------------------------- faq */
.faq { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 16px; height: 16px;
  background: currentColor;
  color: var(--ink-4);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%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 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; font-size: 15px; line-height: 1.65; color: var(--ink-3); max-width: 68ch; }

.aside-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-soft);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.aside-card__img { height: 150px; background: center / cover no-repeat var(--dark-bg); }
.aside-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.aside-card h3 { font-size: 19px; }
.aside-card p { font-size: 14px; line-height: 1.55; color: var(--ink-3); }

.facts { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft); padding: 28px; }
.facts h3 { font-size: 18px; margin-bottom: 16px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; color: var(--ink-2); line-height: 1.45; }
.facts svg { color: var(--success); flex: 0 0 auto; margin-top: 3px; }

/* ------------------------------------------------------------- cta + steps */
.cta {
  position: relative;
  isolation: isolate;
  border-radius: var(--r-lg);
  border: 1px solid var(--dark-line);
  padding: 84px 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  background: var(--dark-bg) center / cover no-repeat;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(rgba(11, 11, 20, 0.8), rgba(11, 11, 20, 0.8)),
    radial-gradient(ellipse 120% 120% at 50% 0%, rgba(124, 58, 237, 0.3), transparent 60%);
}
.cta h2 { font-size: clamp(28px, 3.6vw, 48px); color: var(--dark-ink); max-width: 820px; }
.cta p { font-size: 16.5px; color: var(--dark-ink-2); max-width: 640px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta__trust { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark-ink-3); margin-top: 8px; }

.step { position: relative; }
.step__num {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: linear-gradient(115deg, var(--purple), var(--purple-mid));
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
}

.plan { position: relative; }
.plan__kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.09em; color: var(--purple-ink); text-transform: uppercase; }
.plan h3 { font-size: 23px; letter-spacing: -0.03em; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.plan li svg { color: var(--success); flex: 0 0 auto; margin-top: 3px; }
.plan--featured {
  border-color: rgba(124, 58, 237, 0.4);
  background:
    radial-gradient(ellipse 140% 120% at 50% 0%, rgba(124, 58, 237, 0.35), transparent 62%),
    var(--dark-bg);
}
.plan--featured h3, .plan--featured .plan__kicker { color: var(--dark-ink); }
.plan--featured .plan__kicker { color: var(--purple-light); }
.plan--featured p, .plan--featured li { color: var(--dark-ink-2); }

/* ---------------------------------------------------------------- footer */
.footer {
  background:
    radial-gradient(ellipse 80% 140% at 12% 0%, rgba(124, 58, 237, 0.16), transparent 60%),
    var(--dark-bg);
  color: var(--dark-ink-2);
  border-top: 1px solid var(--dark-line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 56px;
  padding-block: 72px 56px;
}
.footer__brand { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--dark-ink); text-decoration: none; }
.footer__brand img { width: 30px; height: 30px; border-radius: 7px; background: #fff; }
.footer__brand .brand-logo { width: auto; height: 56px; border-radius: 0; background: none; max-width: 100%; object-fit: contain; object-position: left; }
@media (max-width: 480px) { .footer__brand .brand-logo { height: 46px; } }
.footer__brand b { color: var(--purple-light); }
.footer p { font-size: 14px; line-height: 1.6; margin-top: 16px; max-width: 360px; }
.footer h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--dark-ink-3); margin-bottom: 14px; }
.footer nav { display: grid; gap: 12px; }
.footer nav a:not(.btn), .footer__contact a:not(.btn) { font-size: 14px; font-weight: 500; color: var(--dark-ink-2); text-decoration: none; }
.footer nav a:not(.btn):hover, .footer__contact a:not(.btn):hover { color: #fff; }
.footer__contact { display: grid; gap: 12px; }
.footer__contact a:not(.btn) { display: flex; align-items: center; gap: 9px; }
.footer__contact svg { color: var(--purple-light); flex: 0 0 auto; }
.footer__socials { display: flex; gap: 10px; margin-top: 16px; }
.footer__socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--dark-card);
  border: 1px solid var(--dark-line);
  color: var(--dark-ink-2);
}
.footer__socials a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-block: 22px;
  border-top: 1px solid var(--dark-line);
  font-size: 13px;
  color: var(--dark-ink-3);
}
.footer__bottom nav { display: flex; gap: 22px; }

@media (max-width: 980px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
@media (max-width: 620px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1080px) { :root { --pad-page: 40px; --gap-sec: 64px; } }
@media (max-width: 720px) { :root { --pad-page: 20px; --gap-sec: 52px; } .cta { padding: 56px 24px; } .band { padding: 32px; } }

/* Short viewports: keep the hero CTA above the fold. */
@media (max-height: 700px) and (max-width: 860px) {
  .hero { padding: calc(var(--nav-h) + 12px) 0 32px; }
  .hero__inner { gap: 14px; }
  .hero h1 { font-size: clamp(26px, 7.4vw, 36px); }
  .hero__lede { font-size: 15px; }
  .hero__trust { display: none; }
  .badge-dark { padding: 6px 12px; font-size: 11px; }
}

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

/* ------------------------------------------------------------- long-form */
.article { max-width: 760px; margin-inline: auto; }
.article h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 48px 0 14px; }
.article h3 { font-size: 20px; margin: 34px 0 10px; }
.article h4 { font-size: 17px; margin: 26px 0 8px; }
.article p { font-size: 16.5px; line-height: 1.72; color: var(--ink-2); margin: 0 0 18px; }
.article a:not(.btn) { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.article ul, .article ol { margin: 0 0 20px; padding-left: 22px; }
.article li { font-size: 16px; line-height: 1.65; color: var(--ink-2); margin-bottom: 8px; }
.article blockquote {
  margin: 26px 0; padding: 20px 24px;
  border-left: 3px solid var(--purple);
  background: var(--bg-soft); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 16.5px; color: var(--ink);
}
.article .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; }
.article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.article .table-scroll table { margin: 0; min-width: 560px; }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-family: var(--display); font-weight: 700; color: var(--ink); }
.article td { color: var(--ink-2); }
.article img { border-radius: var(--r-md); margin: 24px 0; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.article > *:first-child { margin-top: 0; }

/* ------------------------------------------------------- nav: sub-menus */
.nav__group { position: relative; }
.nav__parent {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: background .2s, color .2s;
}
.nav__parent svg { opacity: .55; transition: transform .2s var(--ease); }
.nav__group:hover .nav__parent,
.nav__group:focus-within .nav__parent,
.nav__group.is-within .nav__parent { background: var(--bg-soft); color: var(--ink); }
.nav__group:hover .nav__parent svg,
.nav__group:focus-within .nav__parent svg { transform: rotate(180deg); }

.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  display: grid; gap: 2px; min-width: 248px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 20px 44px -16px rgba(28, 18, 63, 0.22);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  z-index: 5;
}
.nav__group:hover .nav__menu,
.nav__group:focus-within .nav__menu,
.nav__group.is-open .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__group.is-open .nav__parent { background: var(--bg-soft); color: var(--ink); }
.nav__group.is-open .nav__parent svg { transform: rotate(180deg); }
.nav__menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__menu a {
  padding: 9px 12px; border-radius: 11px;
  font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--bg-soft); color: var(--ink); }

@media (max-width: 1080px) {
  .nav__group { width: 100%; }
  .nav__parent { width: 100%; justify-content: space-between; }
  .nav__menu {
    position: static; translate: none; opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 2px 0 6px 12px; border: 0; box-shadow: none; background: transparent;
    border-left: 1px solid var(--line); margin-left: 14px;
  }
  .nav__menu a { font-size: 13.5px; color: var(--ink-3); }
}

/* Footer locations column */
.footer__locations { display: grid; gap: 12px; }

/* ----------------------------------------------------------------- forms */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 12px;
  font: inherit; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select {
  appearance: none; line-height: 1.5; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a5a72' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}
.field .hint { font-size: 12.5px; color: var(--ink-4); }
.form__note { font-size: 13px; color: var(--ink-4); }
.form__status { font-size: 14px; color: var(--warn); min-height: 20px; }
.form__success {
  display: none; gap: 12px; align-items: flex-start;
  padding: 20px 22px; border-radius: var(--r-md);
  background: var(--success-wash); border: 1px solid rgba(18, 161, 80, 0.28);
  color: #0f7a3d; font-size: 15px; line-height: 1.55;
}
.form__success[data-open="true"] { display: flex; }
@media (max-width: 720px) { .form__row { grid-template-columns: 1fr; } }

/* -------------------------------------------------- accessibility fixes */
/* Inline #c4b5fd links are a dark-theme leftover; unreadable on light. */
[style*="c4b5fd"] { color: var(--purple) !important; }
.hero [style*="c4b5fd"], .cta [style*="c4b5fd"], .footer [style*="c4b5fd"],
.band [style*="c4b5fd"] { color: #c4b5fd !important; }
.card p a, .head p a { color: var(--purple); }

/* 13: keep the site-wide focus ring; do not swap it for a faint glow */
.field input:focus, .field select:focus, .field textarea:focus { outline: revert; box-shadow: none; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--purple); outline-offset: 2px; border-color: var(--purple);
}

/* 6: skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 12px 18px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none;
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; }

/* 10: footer headings become h2 but keep the mono label look */
.footer .footer__heading {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--dark-ink-3); margin: 0 0 14px;
}

/* 15: breadcrumb list */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li { display: flex; gap: 8px; align-items: center; }
.crumbs [aria-current] { color: #e8e7f4; }

.band--split:not(:has(h2:not(:empty))):not(:has(.stat)) { display: none; }
.article p { max-width: 68ch; }

/* Product status chips */
.status {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px; border-radius: var(--r-pill);
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--live { color: #0f7a3d; background: var(--success-wash); border: 1px solid rgba(18,161,80,.28); }
.status--wip { color: #8a5a00; background: var(--warn-wash); border: 1px solid rgba(180,83,9,.30); }

/* ------------------------------------------- token readiness checker */
.tlrc { display: grid; gap: 16px; }
.tlrc-cat {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--purple);
  margin: 26px 0 2px;
}
.tlrc-cat:first-child { margin-top: 0; }
.tlrc-card {
  background: #fff; border: 1px solid #efedf7; border-radius: 18px;
  padding: 24px 26px; box-shadow: var(--shadow-card);
}
.tlrc-q { font-family: var(--display); font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.tlrc-why { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.tlrc-opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tlrc-opt {
  cursor: pointer; padding: 9px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: #fff;
  font: inherit; font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: background .2s, border-color .2s, color .2s;
}
.tlrc-opt:hover { border-color: var(--purple); color: var(--ink); }
.tlrc-opt[aria-pressed="true"], .tlrc-opt.is-on {
  background: var(--purple); border-color: var(--purple); color: #fff;
}
.tlrc-panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-soft); padding: 30px; }
.tlrc-score { display: flex; align-items: baseline; gap: 12px; }
.tlrc-score b { font-family: var(--display); font-size: 54px; letter-spacing: -.03em; color: var(--ink); }
.tlrc-score span { font-family: var(--mono); font-size: 13px; color: var(--ink-4); }
.tlrc-grade {
  display: inline-flex; padding: 5px 14px; border-radius: var(--r-pill);
  background: var(--purple-wash); color: var(--purple-ink);
  font-family: var(--mono); font-size: 13px; font-weight: 600;
}
.tlrc-bar-wrap { height: 7px; border-radius: 99px; background: #e8e7f1; overflow: hidden; }
.tlrc-bar { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--purple), var(--purple-mid)); }
.tlrc-fix {
  border-left: 3px solid var(--purple); background: #fff;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 20px; margin-bottom: 12px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2);
}
.tlrc-fix strong { color: var(--ink); }
#tlrc-results[style*="block"] { display: grid !important; }

/* ===================================================================== forms
   One form system for the contact page and the closing band on every page. */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label { font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { min-height: 92px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-wash);
}
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a5a72' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 16px;
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--warn); }

.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note { font-size: 12.5px; line-height: 1.55; color: var(--ink-4); margin: 0; }
.form__status { display: none; font-size: 13.5px; line-height: 1.55; margin: 0; }
.form__status[data-open="true"] { display: block; }
.form__status a { color: var(--purple); font-weight: 600; }
.form__ok { display: none; flex-direction: column; gap: 12px; align-items: flex-start; }
.form__ok[data-open="true"] { display: flex; }
.form__ok b { font-family: var(--display); font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.form__ok p { font-size: 14.5px; color: var(--ink-3); margin: 0; }
.form__tick {
  width: 42px; height: 42px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: linear-gradient(115deg, var(--purple), var(--purple-mid));
  color: #fff;
}
.form button[type="submit"] { width: 100%; justify-content: center; border: 0; cursor: pointer; font: inherit; }
.form button[type="submit"][disabled] { opacity: 0.65; cursor: progress; }

/* closing band with the form in it -------------------------------------- */
.cta--form {
  text-align: left;
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 52px;
  padding: 56px;
}
.cta--form > div { min-width: 0; }
.cta--form .cta__copy { display: flex; flex-direction: column; gap: 18px; align-self: center; }
.cta--form h2 { font-size: clamp(26px, 2.9vw, 40px); max-width: 15ch; }
.cta--form p { max-width: 44ch; }
.cta--form .cta__actions { justify-content: flex-start; }
.cta--form .cta__trust { margin-top: 0; }
.form-card {
  background: var(--card);
  border-radius: var(--r-md);
  padding: 26px;
  box-shadow: 0 24px 60px -22px rgba(0, 0, 0, 0.55);
}
.form-card__head { font-family: var(--display); font-size: 17px; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 16px; }
@media (max-width: 980px) {
  .cta--form { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 44px; }
  .cta--form h2 { max-width: none; }
}
@media (max-width: 720px) { .cta--form { padding: 28px 20px; } .form-card { padding: 20px; } }

/* count line ------------------------------------------------------------
   One panel rather than three columns floating in whitespace: filled width
   reads as designed, stretched-out columns read as unfinished. */
.statline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 36px 0 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background:
    radial-gradient(ellipse 90% 200% at 0% 0%, var(--purple-wash), transparent 70%),
    var(--bg-tint);
  box-shadow: var(--shadow-card);
}
/* thirds match the card grid below it; content centres so no cell reads empty */
.statline > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-width: 0;
  padding: 22px 20px;
  border-left: 1px solid var(--line);
}
.statline > div:first-child { border-left: 0; }
.statline b {
  font-family: var(--display);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--purple);
  flex: 0 0 auto;
}
.statline span {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 720px) {
  .statline > div { padding: 16px 12px; gap: 10px; }
  .statline b { font-size: 30px; }
  .statline span { font-size: 9.5px; letter-spacing: 0.05em; }
}
/* side by side leaves the label ~55px, which breaks a third line; stacking
   gives it the whole cell so every label lands on two */
@media (max-width: 460px) {
  .statline > div { flex-direction: column; align-items: flex-start; gap: 6px; padding: 15px 12px; }
  .statline span { text-align: left; }
}

/* The band sets .cta p { color: var(--dark-ink-2) } at (0,1,1); the form lives on
   a white card inside it, so its own text has to out-specify that. */
.form-card .form-card__head { color: var(--ink); font-size: 17px; }
.form-card .form__note { color: var(--ink-4); font-size: 12.5px; }
.form-card .form__status { color: var(--warn); font-size: 13.5px; }
.form-card .field > label { color: var(--ink-2); }
.form-card .form__ok p { color: var(--ink-3); font-size: 14.5px; }

/* ==================================================== contact modal (dialog)
   Native <dialog>: focus trap, Esc and inertness come free. */
.modal {
  width: min(560px, calc(100vw - 32px));
  max-height: min(92svh, 780px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(12, 6, 32, 0.55);
  overflow: visible;
}
.modal::backdrop { background: rgba(8, 6, 20, 0.62); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in 0.26s var(--ease); }
.modal[open]::backdrop { animation: fade-in 0.26s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } }
@keyframes fade-in { from { opacity: 0; } }

.modal__scroll { max-height: min(92svh, 780px); overflow-y: auto; padding: 30px; border-radius: inherit; }
.modal__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; padding-right: 40px; }
.modal__head h2 { font-size: 24px; letter-spacing: -0.03em; }
.modal__head p { font-size: 14.5px; color: var(--ink-3); }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--ink-3);
  cursor: pointer;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.modal__close:hover { color: var(--ink); border-color: var(--line-strong); }
.modal__trust {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-4); margin: 18px 0 0; text-align: center;
}
@media (max-width: 560px) {
  .modal { width: 100vw; max-width: 100vw; max-height: 100svh; border-radius: 0; border: 0; }
  .modal__scroll { max-height: 100svh; padding: 24px 20px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .modal[open], .modal[open]::backdrop { animation: none; }
}
html:has(dialog[open]) { overflow: hidden; }

/* the count animates up on first sight; reserve the width so it cannot reflow */
.statline b { font-variant-numeric: tabular-nums; }

/* once the brief is sent, the ask above it is no longer the point */
.modal:has(.form__ok[data-open="true"]) .modal__head { display: none; }

/* navigational chips: a chip that is a link, used by the hub "more in this
   practice" rows */
a.chip--link {
  display: inline-flex; align-items: center; gap: 7px;
  text-decoration: none; color: var(--ink-2);
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease), background 0.16s var(--ease);
}
a.chip--link:hover { color: var(--purple); border-color: var(--purple); background: var(--purple-wash); }
a.chip--link svg { flex: 0 0 auto; }

/* ================================================== WhatsApp dock
   Carried over from the pre-redesign site, restyled for the light system:
   the bubble is a white card like the rest of the surfaces, the button keeps
   WhatsApp's own green because that is the whole point of recognising it. */
.wa-dock {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 70;                 /* over the sticky nav, under a native <dialog> */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.wa-fab {
  position: relative;
  width: 56px; height: 56px;
  border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: linear-gradient(180deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(18, 140, 126, 0.6);
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}
.wa-fab:hover { transform: translateY(-2px) scale(1.04); filter: brightness(1.06); }
.wa-fab svg { width: 28px; height: 28px; }
/* the pulse is a box-shadow rather than an inset pseudo-element: an abspos ring
   hanging outside the button counts as scrollable overflow on the anchor */
.wa-fab { animation: wa-pulse 2.6s var(--ease) infinite; }
@keyframes wa-pulse {
  0%   { box-shadow: 0 10px 26px -8px rgba(18, 140, 126, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 10px 26px -8px rgba(18, 140, 126, 0.6), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 26px -8px rgba(18, 140, 126, 0.6), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-popup {
  position: relative;
  width: min(292px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: 0 24px 60px -20px rgba(12, 6, 32, 0.35);
  transform: translateY(10px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.26s var(--ease), opacity 0.26s var(--ease);
}
.wa-popup.is-open { transform: none; opacity: 1; pointer-events: auto; }
.wa-popup__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding-right: 22px; }
.wa-popup__avatar {
  width: 34px; height: 34px; flex: 0 0 auto;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, #25d366, #128c7e);
  color: #fff;
  display: grid; place-items: center;
}
.wa-popup__avatar svg { width: 19px; height: 19px; }
.wa-popup__name { font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1.2; }
.wa-popup__status { display: block; font-family: var(--font); font-size: 11.5px; font-weight: 500; color: var(--success); margin-top: 3px; }
.wa-popup__status::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; margin-right: 6px;
  border-radius: 50%; background: currentColor;
}
.wa-popup__msg {
  font-size: 13.5px; line-height: 1.55; color: var(--ink-3);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 11px 13px;
  margin: 0 0 12px;
}
.wa-popup__cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, #25d366, #128c7e);
  color: #fff;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: filter 0.18s var(--ease), transform 0.18s var(--ease);
}
.wa-popup__cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
.wa-popup__cta svg { width: 15px; height: 15px; flex: 0 0 auto; }
.wa-popup__close {
  position: absolute; top: 10px; right: 10px;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--ink-4);
  cursor: pointer;
  font: inherit; font-size: 15px; line-height: 1;
}
.wa-popup__close:hover { color: var(--ink); border-color: var(--line-strong); }

@media (max-width: 720px) {
  .wa-dock { right: 16px; bottom: 16px; gap: 10px; }
  .wa-fab { width: 52px; height: 52px; }
  .wa-fab svg { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab { animation: none; }
  .wa-popup { transition: opacity 0.01ms; }
}
