/* ==========================================================================
   A-One · Public design system (landing, pricing, auth, documents)
   Apple-inspired: SF/Inter typography, generous whitespace, one accent colour.
   Used by templates/public_base.html only — cabinet keeps lumina + aone-app.css.
   ========================================================================== */

:root {
  --a1-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --a1-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --a1-text: #1d1d1f;
  --a1-text-2: #6e6e73;
  --a1-text-3: #86868b;
  --a1-bg: #ffffff;
  --a1-bg-2: #f5f5f7;
  --a1-bg-3: #e8e8ed;
  --a1-dark: #000000;
  --a1-dark-2: #161617;
  --a1-dark-3: #1d1d1f;
  --a1-line: rgba(0, 0, 0, 0.08);
  --a1-line-2: rgba(0, 0, 0, 0.14);

  --a1-blue: #0071e3;
  --a1-blue-h: #0077ed;
  --a1-link: #0066cc;
  --a1-link-dark: #2997ff;
  --a1-green: #1d8a3a;
  --a1-green-bg: #e9f7ee;
  --a1-orange: #e8590c;
  --a1-red: #d70015;

  --a1-grad: linear-gradient(90deg, #0a7cff 0%, #6e56f8 45%, #e2457a 100%);
  --a1-grad-ig: linear-gradient(135deg, #7638fa 0%, #b23cd6 45%, #f2477e 100%);

  --a1-r-xl: 32px;
  --a1-r-lg: 24px;
  --a1-r: 18px;
  --a1-r-sm: 12px;
  --a1-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 14px rgba(0, 0, 0, 0.05);
  --a1-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 18px 50px rgba(0, 0, 0, 0.1);
  --a1-shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.16);

  --a1-max: 1180px;
  --a1-max-text: 760px;
  --a1-nav-h: 56px;
  --a1-ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--a1-nav-h) + 12px); }
body.a1 {
  margin: 0;
  font-family: var(--a1-font);
  font-size: 17px;
  line-height: 1.47;
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--a1-text);
  background: var(--a1-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01", "ss03";
  overflow-x: hidden;
}
/* Resets wrapped in :where() so every component class wins on specificity. */
:where(.a1) img, :where(.a1) svg { max-width: 100%; display: block; }
:where(.a1) a { color: var(--a1-link); text-decoration: none; }
:where(.a1) a:hover { text-decoration: underline; text-underline-offset: 3px; }
:where(.a1) :where(h1, h2, h3, h4) { margin: 0; font-weight: 700; color: inherit; }
:where(.a1) p { margin: 0; }
:where(.a1) ul { margin: 0; padding: 0; list-style: none; }
:where(.a1) button { font-family: inherit; }
.a1 :focus-visible { outline: 2px solid var(--a1-blue); outline-offset: 3px; border-radius: 6px; }
.a1-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.a1-wrap { width: 100%; max-width: var(--a1-max); margin: 0 auto; padding: 0 28px; }
.a1-wrap--text { max-width: calc(var(--a1-max-text) + 56px); }
@media (max-width: 734px) { .a1-wrap { padding: 0 20px; } }

/* ---------- Typography ---------- */
.a1-eyebrow {
  display: inline-block;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--a1-orange);
  margin-bottom: 14px;
}
.a1-eyebrow--blue { color: var(--a1-blue); }
.a1-eyebrow--grad { background: var(--a1-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a1-h1 {
  font-size: clamp(42px, 7.2vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.a1-h2 {
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.a1-h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.14;
  letter-spacing: -0.022em;
  font-weight: 700;
}
.a1-lead {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.38;
  letter-spacing: -0.016em;
  color: var(--a1-text-2);
  font-weight: 500;
}
.a1-lead strong { color: var(--a1-text); font-weight: 600; }
.a1-body { font-size: 17px; line-height: 1.5; color: var(--a1-text-2); }
.a1-small { font-size: 14px; line-height: 1.43; color: var(--a1-text-3); letter-spacing: -0.005em; }
.a1-grad-text { background: var(--a1-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a1-muted { color: var(--a1-text-3); }
.a1-center { text-align: center; }

/* ---------- Buttons ---------- */
.a1-btn {
  --b-bg: var(--a1-blue);
  --b-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 980px;
  border: 1px solid transparent;
  background: var(--b-bg);
  color: var(--b-fg) !important;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s var(--a1-ease), box-shadow 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.a1-btn:hover { background: var(--a1-blue-h); }
.a1-btn:active { transform: scale(0.98); }
.a1-btn[disabled] { opacity: 0.55; cursor: default; }
.a1-btn--lg { min-height: 56px; padding: 16px 32px; font-size: 18px; }
.a1-btn--sm { min-height: 34px; padding: 7px 16px; font-size: 14px; font-weight: 500; }
.a1-btn--block { width: 100%; max-width: 100%; white-space: normal; text-align: center; }
.a1-btn--dark { --b-bg: var(--a1-text); }
.a1-btn--dark:hover { background: #000; }
.a1-btn--light { --b-bg: #fff; --b-fg: var(--a1-text); }
.a1-btn--light:hover { background: #f0f0f2; }
.a1-btn--ghost { --b-bg: transparent; --b-fg: var(--a1-blue); border-color: var(--a1-blue); }
.a1-btn--ghost:hover { background: var(--a1-blue); color: #fff !important; }
.a1-btn--soft { --b-bg: rgba(0, 113, 227, 0.08); --b-fg: var(--a1-blue); }
.a1-btn--soft:hover { background: rgba(0, 113, 227, 0.14); }
.a1-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 17px;
  font-weight: 400;
  color: var(--a1-link);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  letter-spacing: -0.015em;
}
.a1-link-arrow::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); transition: transform 0.2s var(--a1-ease); }
.a1-link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.a1-link-arrow:hover::after { transform: translate(3px, -1px); }
.a1-link-arrow--lg { font-size: 19px; }

/* ---------- Chips ---------- */
.a1-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
  background: var(--a1-bg-2);
  color: var(--a1-text);
  white-space: nowrap;
}
.a1-chip--green { background: var(--a1-green-bg); color: var(--a1-green); }
.a1-chip--blue { background: rgba(0, 113, 227, 0.09); color: var(--a1-blue); }
.a1-chip--dark { background: rgba(255, 255, 255, 0.12); color: #f5f5f7; }
.a1-chip__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(29, 138, 58, 0.18); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.a1-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--a1-nav-h);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.a1-nav.is-scrolled { border-bottom-color: var(--a1-line); }
.a1-nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.a1-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--a1-text) !important;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  white-space: nowrap;
}
.a1-brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--a1-grad-ig);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 2px 8px rgba(118, 56, 250, 0.3);
  flex: 0 0 auto;
}
.a1-brand__mark svg { width: 17px; height: 17px; }
.a1-brand__name small { font-weight: 500; color: var(--a1-text-3); margin-left: 2px; }
.a1-nav__links { display: flex; align-items: center; gap: 26px; margin: 0 auto; }
.a1-nav__links a {
  color: var(--a1-text) !important;
  opacity: 0.8;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}
.a1-nav__links a:hover, .a1-nav__links a.is-active { opacity: 1; }
.a1-nav__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.a1-nav__links + .a1-nav__actions { margin-left: 0; }
.a1-nav__login { font-size: 14px; color: var(--a1-text) !important; opacity: 0.8; text-decoration: none !important; }
.a1-nav__login:hover { opacity: 1; }
.a1-nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  color: var(--a1-text);
}
.a1-nav__burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--a1-ease), top 0.3s var(--a1-ease);
}
.a1-nav__burger span:nth-child(1) { top: 16px; }
.a1-nav__burger span:nth-child(2) { top: 23px; }
.a1-nav.is-open .a1-nav__burger span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.a1-nav.is-open .a1-nav__burger span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }

.a1-menu {
  position: fixed;
  inset: var(--a1-nav-h) 0 0 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  padding: 24px 28px 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.35s var(--a1-ease), visibility 0s linear 0.35s;
}
.a1-nav.is-open + .a1-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s ease, transform 0.35s var(--a1-ease); }
.a1-menu a:not(.a1-btn) {
  display: block;
  padding: 10px 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--a1-text) !important;
  text-decoration: none !important;
}
.a1-menu__sep { height: 1px; background: var(--a1-line); margin: 18px 0; }
.a1-menu .a1-btn { margin-top: 12px; }
.a1-menu__small a:not(.a1-btn) { font-size: 19px; font-weight: 500; color: var(--a1-text-2) !important; }

@media (max-width: 960px) {
  .a1-nav__links, .a1-nav__login { display: none; }
  .a1-nav__burger { display: inline-block; }
  .a1-nav__inner { gap: 12px; }
}
@media (min-width: 961px) { .a1-menu { display: none; } }
body.a1-menu-open { overflow: hidden; }

/* ==========================================================================
   Sections
   ========================================================================== */
.a1-section { padding: 128px 0; position: relative; }
.a1-section--tight { padding: 88px 0; }
.a1-section--gray { background: var(--a1-bg-2); }
.a1-section--dark { background: var(--a1-dark); color: #f5f5f7; }
.a1-section--dark .a1-lead, .a1-section--dark .a1-body { color: #a1a1a6; }
.a1-section--dark .a1-lead strong { color: #f5f5f7; }
.a1-section__head { max-width: 860px; margin: 0 auto 72px; text-align: center; }
.a1-section__head .a1-lead { margin-top: 20px; }
.a1-section__head--left { margin-left: 0; text-align: left; }
@media (max-width: 734px) {
  .a1-section { padding: 80px 0; }
  .a1-section--tight { padding: 60px 0; }
  .a1-section__head { margin-bottom: 44px; }
  .a1-eyebrow { font-size: 17px; margin-bottom: 10px; }
}

/* ---------- Reveal on scroll ---------- */
.a1-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--a1-ease), transform 0.9s var(--a1-ease); }
.a1-js [data-reveal].is-in { opacity: 1; transform: none; }
.a1-js [data-reveal][data-delay="1"] { transition-delay: 0.08s; }
.a1-js [data-reveal][data-delay="2"] { transition-delay: 0.16s; }
.a1-js [data-reveal][data-delay="3"] { transition-delay: 0.24s; }
.a1-js [data-reveal][data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .a1-js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.a1-hero { position: relative; padding: 72px 0 0; text-align: center; overflow-x: hidden; overflow-x: clip; overflow-y: visible; }
.a1-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 980px;
  background: var(--a1-bg-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--a1-text);
  margin-bottom: 28px;
  text-decoration: none !important;
}
.a1-hero__badge b { background: var(--a1-text); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 980px; }
.a1-hero .a1-h1 { max-width: 980px; margin: 0 auto; }
.a1-hero__sub { max-width: 720px; margin: 26px auto 0; }
.a1-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; margin-top: 40px; }
.a1-hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: var(--a1-text-2); }
.a1-hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.a1-hero__trust iconify-icon { color: var(--a1-green); font-size: 16px; }

.a1-stage {
  position: relative;
  margin: 72px auto 0;
  max-width: 1080px;
  height: 760px;
  display: flex;
  justify-content: center;
}
.a1-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 60px;
  width: 900px;
  height: 640px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(110, 86, 248, 0.22), transparent 70%) 30% 40% / 60% 70% no-repeat,
    radial-gradient(closest-side, rgba(226, 69, 122, 0.18), transparent 70%) 72% 46% / 55% 65% no-repeat,
    radial-gradient(closest-side, rgba(10, 124, 255, 0.16), transparent 70%) 50% 85% / 70% 50% no-repeat;
  filter: blur(10px);
  pointer-events: none;
}

/* Phone mockup */
.a1-phone {
  position: relative;
  z-index: 2;
  width: 330px;
  height: 680px;
  padding: 11px;
  border-radius: 56px;
  background: #0b0b0c;
  box-shadow:
    inset 0 0 0 2px #2b2b2e,
    inset 0 0 0 5px #0b0b0c,
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 50px 100px -20px rgba(30, 20, 80, 0.35),
    0 30px 60px -30px rgba(0, 0, 0, 0.5);
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: transform 0.6s var(--a1-ease);
  -webkit-tap-highlight-color: transparent;
}
.a1-phone:hover { transform: translateY(-6px); }
.a1-phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 46px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.a1-phone__island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 98px;
  height: 29px;
  border-radius: 20px;
  background: #000;
  z-index: 5;
}
.a1-phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 28px 0 32px;
  height: 48px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #000;
  flex: 0 0 auto;
}
.a1-phone__status-icons { display: flex; gap: 5px; align-items: center; }
.a1-phone__status-icons i { display: block; background: #000; border-radius: 2px; }
.a1-dm__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 10px;
  border-bottom: 1px solid #efefef;
  flex: 0 0 auto;
}
.a1-dm__back { font-size: 22px; color: #000; line-height: 1; margin-right: 2px; }
.a1-dm__avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.a1-dm__name { font-size: 14px; font-weight: 600; color: #000; line-height: 1.2; }
.a1-dm__sub { font-size: 11.5px; color: #737373; line-height: 1.2; }
.a1-dm__thread {
  flex: 1 1 auto;
  overflow: hidden;
  padding: 14px 12px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
}
.a1-bubble {
  max-width: 80%;
  padding: 8px 13px;
  border-radius: 20px;
  font-size: 13.5px;
  line-height: 1.34;
  letter-spacing: -0.01em;
  word-wrap: break-word;
  animation: a1-pop 0.35s var(--a1-ease) both;
}
.a1-bubble--buyer { align-self: flex-end; color: #fff; background: linear-gradient(160deg, #7c3cf5, #5b51f8 60%, #3d6bf7); border-bottom-right-radius: 6px; }
.a1-bubble--bot { align-self: flex-start; background: #efefef; color: #000; border-bottom-left-radius: 6px; }
.a1-bubble + .a1-bubble--buyer, .a1-bubble + .a1-bubble--bot { margin-top: 4px; }
.a1-bubble--typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.a1-bubble--typing span { width: 7px; height: 7px; border-radius: 50%; background: #9a9a9a; animation: a1-dot 1.2s infinite ease-in-out; }
.a1-bubble--typing span:nth-child(2) { animation-delay: 0.15s; }
.a1-bubble--typing span:nth-child(3) { animation-delay: 0.3s; }
.a1-dm__event {
  align-self: center;
  margin: 10px 0 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 980px;
  background: var(--a1-green-bg);
  color: var(--a1-green);
  font-size: 12px;
  font-weight: 600;
  animation: a1-pop 0.4s var(--a1-ease) both;
}
.a1-dm__composer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 10px 10px;
  padding: 6px 6px 6px 14px;
  min-height: 42px;
  border-radius: 22px;
  border: 1px solid #e3e3e3;
  background: #fff;
}
.a1-dm__field { flex: 1; font-size: 13.5px; color: #8e8e8e; line-height: 1.3; max-height: 54px; overflow: hidden; }
.a1-dm__field.is-typing { color: #000; }
.a1-dm__field.is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 15px; background: #3d6bf7; margin-left: 1px; vertical-align: -2px; animation: a1-caret 1s steps(1) infinite; }
.a1-dm__send { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e9e9ef; color: #fff; transition: background 0.2s; flex: 0 0 auto; }
.a1-dm__send.is-on { background: #3d6bf7; }
.a1-kb {
  flex: 0 0 auto;
  background: #d1d3d9;
  padding: 7px 3px 22px;
  display: none;
}
.a1-phone__screen.has-kb .a1-kb { display: block; }
.a1-kb__row { display: flex; justify-content: center; gap: 4px; margin-bottom: 8px; padding: 0 2px; }
.a1-kb__key {
  flex: 1 1 0;
  max-width: 26px;
  height: 36px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  display: grid;
  place-items: center;
  font-size: 15px;
  color: #000;
  transition: background 0.08s;
}
.a1-kb__key--wide { max-width: 42px; background: #adb1bb; font-size: 12px; }
.a1-kb__key--space { max-width: none; flex: 5 1 0; font-size: 12px; }
.a1-kb__key.is-press { background: #b7bac2; }
.a1-phone__home { position: absolute; bottom: 7px; left: 50%; width: 120px; height: 4.5px; border-radius: 3px; background: #111; transform: translateX(-50%); z-index: 6; }

/* Floating notifications around the phone */
.a1-notif {
  position: absolute;
  z-index: 3;
  width: 300px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 20px 50px rgba(20, 20, 60, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.05);
  text-align: left;
  animation: a1-float 7s ease-in-out infinite;
}
.a1-notif__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: 0 0 auto; font-size: 20px; }
.a1-notif__icon--green { background: linear-gradient(160deg, #34c759, #1f9e45); }
.a1-notif__icon--orange { background: linear-gradient(160deg, #ff9f0a, #f56b00); }
.a1-notif__icon--blue { background: linear-gradient(160deg, #3d9bff, #0066e0); }
.a1-notif__icon--purple { background: var(--a1-grad-ig); }
.a1-notif__top { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--a1-text-3); line-height: 1.3; }
.a1-notif__title { font-size: 14.5px; font-weight: 600; color: var(--a1-text); line-height: 1.3; margin-top: 2px; }
.a1-notif__text { font-size: 13.5px; color: var(--a1-text-2); line-height: 1.35; margin-top: 2px; }
.a1-notif--1 { left: 0; top: 120px; }
.a1-notif--2 { right: 0; top: 260px; animation-delay: -2.5s; }
.a1-notif--3 { left: 40px; top: 430px; animation-delay: -4.5s; }

@media (max-width: 1040px) {
  .a1-notif--1 { left: -10px; }
  .a1-notif--2 { right: -10px; }
  .a1-notif--3 { display: none; }
}
@media (max-width: 860px) {
  .a1-stage { height: auto; flex-direction: column; align-items: center; margin-top: 56px; }
  .a1-notif { position: relative; inset: auto; width: min(340px, 100%); margin: 0 auto; animation: none; }
  .a1-notif--1 { order: 2; margin-top: -60px; }
  .a1-notif--2 { order: 3; margin-top: 12px; }
}
@media (max-width: 734px) {
  .a1-hero { padding-top: 44px; }
  .a1-hero__badge { margin-bottom: 20px; font-size: 13px; }
  .a1-hero__cta { flex-direction: column; gap: 18px; margin-top: 32px; }
  .a1-hero__cta .a1-btn { width: 100%; max-width: 340px; }
  .a1-phone { width: 300px; height: 618px; border-radius: 52px; }
  .a1-phone__screen { border-radius: 42px; }
}

@keyframes a1-pop { from { opacity: 0; transform: translateY(8px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes a1-dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes a1-caret { 50% { opacity: 0; } }
@keyframes a1-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  .a1-notif, .a1-bubble, .a1-dm__event { animation: none; }
}

/* ---------- Channels strip ---------- */
.a1-channels { padding: 64px 0 0; text-align: center; }
.a1-channels__label { font-size: 14px; color: var(--a1-text-3); margin-bottom: 22px; }
.a1-channels__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.a1-channels__item { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 600; color: var(--a1-text); letter-spacing: -0.015em; }
.a1-channels__item iconify-icon { font-size: 22px; }
.a1-channels__item small { font-size: 12px; font-weight: 500; color: var(--a1-text-3); }

/* ---------- Problem: timeline comparison ---------- */
.a1-versus { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.a1-versus__card {
  border-radius: var(--a1-r-xl);
  padding: 40px 40px 36px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.a1-section--gray .a1-versus__card { background: #fff; }
.a1-versus__card--good { background: var(--a1-dark); color: #f5f5f7; }
.a1-versus__tag { font-size: 14px; font-weight: 600; color: var(--a1-text-3); margin-bottom: 6px; }
.a1-versus__card--good .a1-versus__tag { color: #86868b; }
.a1-versus__title { font-size: 28px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 30px; }
.a1-tl { display: flex; flex-direction: column; gap: 18px; flex: 1; }
.a1-tl__row { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: start; }
.a1-tl__time { font-family: var(--a1-mono); font-size: 14px; font-weight: 600; color: var(--a1-text-3); padding-top: 9px; letter-spacing: 0; }
.a1-tl__msg { display: inline-block; max-width: 100%; padding: 9px 14px; border-radius: 18px; font-size: 15px; line-height: 1.38; }
.a1-tl__msg--in { background: var(--a1-bg-2); color: var(--a1-text); border-top-left-radius: 6px; }
.a1-tl__msg--you { background: #e8e8ed; color: var(--a1-text-2); border-top-left-radius: 6px; }
.a1-tl__msg--bot { background: var(--a1-blue); color: #fff; border-top-left-radius: 6px; }
.a1-versus__card--good .a1-tl__msg--in { background: #2c2c2e; color: #f5f5f7; }
.a1-tl__note { font-size: 14px; color: var(--a1-text-3); padding-top: 9px; font-style: italic; }
.a1-tl__lost { color: var(--a1-red); font-weight: 600; font-style: normal; }
.a1-tl__won { display: inline-flex; align-items: center; gap: 6px; color: #30d158; font-weight: 600; font-size: 15px; padding-top: 7px; }
.a1-versus__foot { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--a1-line); font-size: 15px; color: var(--a1-text-2); }
.a1-versus__card--good .a1-versus__foot { border-color: rgba(255, 255, 255, 0.12); color: #a1a1a6; }
.a1-versus__foot strong { color: var(--a1-text); }
.a1-versus__card--good .a1-versus__foot strong { color: #fff; }
@media (max-width: 860px) {
  .a1-versus { grid-template-columns: 1fr; }
  .a1-versus__card { padding: 30px 24px 26px; border-radius: var(--a1-r-lg); }
  .a1-versus__title { font-size: 24px; margin-bottom: 24px; }
}

/* ---------- Stats ---------- */
.a1-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--a1-line); border-bottom: 1px solid var(--a1-line); }
.a1-stat { padding: 40px 24px; text-align: center; }
.a1-stat + .a1-stat { border-left: 1px solid var(--a1-line); }
.a1-stat__num { font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.a1-stat__label { margin-top: 12px; font-size: 15px; color: var(--a1-text-2); line-height: 1.35; }
@media (max-width: 734px) {
  .a1-stats { grid-template-columns: 1fr 1fr; }
  .a1-stat { padding: 28px 12px; }
  .a1-stat:nth-child(3) { border-left: 0; }
  .a1-stat:nth-child(n+3) { border-top: 1px solid var(--a1-line); }
}

/* ---------- Steps ---------- */
.a1-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.a1-step { background: #fff; border-radius: var(--a1-r-xl); padding: 36px 32px 0; display: flex; flex-direction: column; overflow: hidden; min-height: 460px; }
.a1-section:not(.a1-section--gray) .a1-step { background: var(--a1-bg-2); }
.a1-step__num { font-size: 15px; font-weight: 600; color: var(--a1-blue); margin-bottom: 12px; }
.a1-step__title { font-size: 26px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 12px; }
.a1-step__text { font-size: 16px; color: var(--a1-text-2); line-height: 1.47; }
.a1-step__visual { margin-top: auto; padding-top: 28px; }
@media (max-width: 960px) { .a1-steps { grid-template-columns: 1fr; } .a1-step { min-height: 0; } }

/* Mini UI pieces used inside visuals */
.a1-mini {
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -1px 0 var(--a1-line), 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 16px 16px 20px;
  font-size: 13.5px;
  line-height: 1.38;
}
.a1-section:not(.a1-section--gray) .a1-step .a1-mini { background: #fff; }
.a1-mini__msg { padding: 8px 12px; border-radius: 16px; max-width: 88%; margin-bottom: 6px; }
.a1-mini__msg--me { background: var(--a1-blue); color: #fff; margin-left: auto; border-bottom-right-radius: 5px; }
.a1-mini__msg--ai { background: var(--a1-bg-2); color: var(--a1-text); border-bottom-left-radius: 5px; }
.a1-mini__label { font-size: 11.5px; font-weight: 600; color: var(--a1-text-3); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.a1-persona { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--a1-line); }
.a1-persona:last-child { border-bottom: 0; }
.a1-persona__ava { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; background: var(--a1-bg-2); flex: 0 0 auto; }
.a1-persona__name { flex: 1; font-weight: 500; }
.a1-persona__score { font-weight: 700; font-size: 13px; color: var(--a1-green); }
.a1-connect { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--a1-bg-2); }
.a1-connect + .a1-connect { margin-top: 8px; }
.a1-connect__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 18px; flex: 0 0 auto; }
.a1-connect__name { flex: 1; font-weight: 600; font-size: 14px; }
.a1-connect__state { font-size: 12.5px; font-weight: 600; color: var(--a1-green); display: inline-flex; align-items: center; gap: 4px; }
.a1-connect__state--muted { color: var(--a1-text-3); }

/* ---------- Bento ---------- */
.a1-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.a1-tile {
  grid-column: span 2;
  position: relative;
  background: var(--a1-bg-2);
  border-radius: var(--a1-r-xl);
  padding: 36px 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.a1-section--gray .a1-tile { background: #fff; }
.a1-tile--wide { grid-column: span 4; }
.a1-tile--half { grid-column: span 3; }
.a1-tile--dark { background: var(--a1-dark-3) !important; color: #f5f5f7; }
.a1-tile--dark .a1-tile__text { color: #a1a1a6; }
.a1-tile__kicker { font-size: 14px; font-weight: 600; color: var(--a1-text-3); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.a1-tile__kicker iconify-icon { font-size: 18px; color: var(--a1-blue); }
.a1-tile__title { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; }
.a1-tile__text { margin-top: 12px; font-size: 16px; color: var(--a1-text-2); line-height: 1.47; max-width: 520px; }
.a1-tile__visual { margin-top: auto; padding-top: 28px; }
.a1-tile__price { margin-top: 14px; }
@media (max-width: 1068px) {
  .a1-tile, .a1-tile--half { grid-column: span 3; }
  .a1-tile--wide { grid-column: span 6; }
}
@media (max-width: 734px) {
  .a1-bento { grid-template-columns: 1fr; gap: 16px; }
  .a1-tile, .a1-tile--half, .a1-tile--wide { grid-column: auto; min-height: 0; padding: 30px 24px; border-radius: var(--a1-r-lg); }
}

/* Calendar mock */
.a1-cal { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: stretch; }
.a1-cal__days { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--a1-shadow-sm); }
.a1-section--gray .a1-cal__days { background: var(--a1-bg-2); box-shadow: none; }
.a1-cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-weight: 600; font-size: 15px; }
.a1-cal__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.a1-cal__day-label { font-size: 12px; font-weight: 600; color: var(--a1-text-3); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.a1-slot { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 11px; font-size: 13.5px; font-weight: 500; margin-bottom: 6px; background: var(--a1-bg-2); }
.a1-section--gray .a1-slot { background: #fff; }
.a1-slot span:last-child { font-size: 12px; color: var(--a1-text-3); }
.a1-slot--booked { background: rgba(0, 113, 227, 0.1) !important; color: var(--a1-blue); }
.a1-slot--booked span:last-child { color: var(--a1-blue); font-weight: 600; }
.a1-slot--off { opacity: 0.45; text-decoration: line-through; }
.a1-cal__chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; font-size: 14px; }
.a1-cal__chat .a1-mini__msg { max-width: 92%; }
@media (max-width: 734px) { .a1-cal { grid-template-columns: 1fr; } }

/* RAG facts */
.a1-facts { display: flex; flex-direction: column; gap: 8px; }
.a1-fact { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; font-size: 14px; box-shadow: var(--a1-shadow-sm); }
.a1-section--gray .a1-fact { background: var(--a1-bg-2); box-shadow: none; }
.a1-fact b { font-weight: 600; }
.a1-fact__ok { color: var(--a1-green); font-size: 18px; }
.a1-fact--bad { color: var(--a1-text-3); text-decoration: line-through; }
.a1-fact--bad .a1-fact__ok { color: var(--a1-red); }

/* Comment → Direct */
.a1-comment { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.38; }
.a1-comment + .a1-comment { margin-top: 12px; }
.a1-comment--reply { margin-left: 38px; }
.a1-comment__ava { width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto; background: #ddd center/cover; }
.a1-comment__ava--brand { background: var(--a1-grad-ig); }
.a1-comment b { font-weight: 600; margin-right: 4px; }
.a1-comment__meta { font-size: 12px; color: var(--a1-text-3); margin-top: 3px; }
.a1-dm-sent { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 980px; background: #fff; box-shadow: var(--a1-shadow-sm); font-size: 13px; font-weight: 600; }
.a1-section--gray .a1-dm-sent { background: var(--a1-bg-2); box-shadow: none; }

/* Takeover */
.a1-cmds { display: flex; gap: 10px; flex-wrap: wrap; }
.a1-cmd { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); font-size: 14px; color: #f5f5f7; }
.a1-cmd code { font-family: var(--a1-mono); font-size: 15px; font-weight: 700; background: rgba(255, 255, 255, 0.14); color: #fff; padding: 2px 8px; border-radius: 7px; }
.a1-timer { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.a1-timer__num { font-size: 64px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(180deg, #fff, #a1a1a6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a1-timer__unit { font-size: 17px; color: #a1a1a6; }

/* Diff (Было → Стало) */
.a1-diff { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--a1-shadow-sm); font-size: 14px; }
.a1-section--gray .a1-diff { background: var(--a1-bg-2); box-shadow: none; }
.a1-diff__ask { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.a1-diff__row { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--a1-line); align-items: baseline; }
.a1-diff__key { font-size: 12px; font-weight: 600; color: var(--a1-text-3); text-transform: uppercase; letter-spacing: 0.04em; }
.a1-diff__was { color: var(--a1-text-3); text-decoration: line-through; margin-right: 8px; }
.a1-diff__now { color: var(--a1-green); font-weight: 600; }
.a1-diff__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--a1-line); font-size: 13px; color: var(--a1-text-3); }
.a1-diff__undo { font-weight: 600; color: var(--a1-blue); }

/* Funnel mini */
.a1-funnel { display: flex; flex-direction: column; gap: 10px; }
.a1-funnel__row { display: grid; grid-template-columns: 110px 1fr 36px; align-items: center; gap: 12px; font-size: 13.5px; }
.a1-funnel__bar { height: 10px; border-radius: 6px; background: var(--a1-bg-3); overflow: hidden; }
.a1-section--gray .a1-funnel__bar { background: var(--a1-bg-2); }
.a1-funnel__bar i { display: block; height: 100%; border-radius: 6px; background: var(--a1-grad); }
.a1-funnel__val { font-weight: 700; text-align: right; }

/* Notifications list */
.a1-alerts { display: flex; flex-direction: column; gap: 10px; }
.a1-alert { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: var(--a1-shadow-sm); font-size: 14px; }
.a1-section--gray .a1-alert { background: var(--a1-bg-2); box-shadow: none; }
.a1-alert .a1-notif__icon { width: 32px; height: 32px; border-radius: 9px; font-size: 17px; }
.a1-alert b { font-weight: 600; display: block; line-height: 1.25; }
.a1-alert span { color: var(--a1-text-3); font-size: 12.5px; }

/* Memory */
.a1-memory { display: flex; flex-wrap: wrap; gap: 8px; }
.a1-memory .a1-chip { background: #fff; font-weight: 500; padding: 8px 13px; font-size: 13.5px; box-shadow: var(--a1-shadow-sm); }
.a1-section--gray .a1-memory .a1-chip { background: var(--a1-bg-2); box-shadow: none; }

/* ==========================================================================
   SMART (dark)
   ========================================================================== */
.a1-smart { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.a1-smart__list { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.a1-smart__item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.a1-smart__item iconify-icon { font-size: 26px; color: var(--a1-link-dark); margin-top: 2px; }
.a1-smart__item h4 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; color: #f5f5f7; margin-bottom: 4px; }
.a1-smart__item p { font-size: 16px; color: #a1a1a6; line-height: 1.47; }
.a1-smart__cta { margin-top: 40px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.a1-smart__price { font-size: 15px; color: #a1a1a6; }
.a1-smart__price b { color: #f5f5f7; font-size: 19px; font-weight: 600; }
.a1-report {
  background: linear-gradient(180deg, #1c1c1e, #111112);
  border-radius: var(--a1-r-xl);
  padding: 32px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 100px rgba(80, 60, 255, 0.18);
}
.a1-report__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; font-size: 13px; color: #86868b; }
.a1-report__score { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.a1-report__from { font-size: 40px; font-weight: 700; color: #48484a; letter-spacing: -0.03em; text-decoration: line-through; text-decoration-thickness: 2px; }
.a1-report__arrow { font-size: 26px; color: #6e6e73; }
.a1-report__to { font-size: 96px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; background: linear-gradient(180deg, #7ee787 0%, #2fbf71 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a1-report__caption { font-size: 14px; color: #86868b; margin-bottom: 26px; }
.a1-report__box { border-radius: 18px; background: rgba(255, 255, 255, 0.05); padding: 16px 18px; font-size: 14.5px; line-height: 1.45; color: #d2d2d7; }
.a1-report__box + .a1-report__box { margin-top: 10px; }
.a1-report__box-tag { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #86868b; margin-bottom: 6px; }
.a1-report__box--fix { background: rgba(48, 209, 88, 0.1); }
.a1-report__box--fix .a1-report__box-tag { color: #30d158; }
.a1-report__actions { display: flex; gap: 10px; margin-top: 18px; }
.a1-report__btn { flex: 1; text-align: center; padding: 11px; border-radius: 12px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, 0.08); color: #f5f5f7; }
.a1-report__btn--yes { background: #30d158; color: #000; }
@media (max-width: 960px) { .a1-smart { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 734px) { .a1-report { padding: 22px; border-radius: var(--a1-r-lg); } .a1-report__to { font-size: 76px; } .a1-report__from { font-size: 32px; } }

/* ==========================================================================
   Compare table
   ========================================================================== */
.a1-compare { border-radius: var(--a1-r-xl); background: #fff; overflow: hidden; }
.a1-section:not(.a1-section--gray) .a1-compare { background: var(--a1-bg-2); }
.a1-compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.a1-compare table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.a1-compare th, .a1-compare td { padding: 18px 22px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--a1-line); }
.a1-compare tr:last-child td { border-bottom: 0; }
.a1-compare thead th { font-size: 14px; font-weight: 600; color: var(--a1-text-3); padding-top: 26px; padding-bottom: 16px; }
.a1-compare thead th.is-us { color: var(--a1-text); font-size: 17px; }
.a1-compare tbody th { font-weight: 500; color: var(--a1-text); width: 30%; }
.a1-compare td { color: var(--a1-text-2); width: 23.3%; }
.a1-compare td.is-us, .a1-compare th.is-us { background: rgba(0, 113, 227, 0.05); }
.a1-compare td.is-us { color: var(--a1-text); font-weight: 600; }
.a1-yes, .a1-no, .a1-mid { display: inline-flex; align-items: center; gap: 6px; }
.a1-yes iconify-icon { color: var(--a1-green); font-size: 19px; }
.a1-no iconify-icon { color: #c7c7cc; font-size: 19px; }
.a1-mid iconify-icon { color: #ff9f0a; font-size: 19px; }
.a1-compare__hint { display: none; font-size: 13px; color: var(--a1-text-3); text-align: center; margin-top: 12px; }
@media (max-width: 734px) { .a1-compare { border-radius: var(--a1-r-lg); } .a1-compare__hint { display: block; } .a1-compare th, .a1-compare td { padding: 14px 16px; } }

/* ==========================================================================
   Trust grid
   ========================================================================== */
.a1-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.a1-trust__item iconify-icon { font-size: 34px; color: var(--a1-text); margin-bottom: 16px; display: block; }
.a1-trust__item h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; line-height: 1.25; }
.a1-trust__item p { font-size: 16px; color: var(--a1-text-2); line-height: 1.5; }
@media (max-width: 960px) { .a1-trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .a1-trust { grid-template-columns: 1fr; gap: 36px; } }

/* ==========================================================================
   Pricing
   ========================================================================== */
.a1-plan {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  border-radius: var(--a1-r-xl);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--a1-shadow);
}
.a1-plan__main { padding: 48px; background: var(--a1-dark); color: #f5f5f7; display: flex; flex-direction: column; }
.a1-plan__name { font-size: 15px; font-weight: 600; color: #a1a1a6; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.a1-plan__fig { display: flex; align-items: baseline; gap: 10px; }
.a1-plan__amount { font-size: clamp(64px, 8vw, 96px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95; }
.a1-plan__unit { font-size: 19px; color: #a1a1a6; font-weight: 500; }
.a1-plan__trial { margin-top: 18px; font-size: 17px; color: #f5f5f7; line-height: 1.4; }
.a1-plan__trial span { color: #a1a1a6; }
.a1-plan__roi { margin-top: auto; padding-top: 32px; font-size: 14px; color: #86868b; line-height: 1.45; }
.a1-plan__main .a1-btn { margin-top: 28px; }
.a1-plan__list { padding: 48px; }
.a1-plan__list h3 { font-size: 15px; font-weight: 600; color: var(--a1-text-3); margin-bottom: 18px; }
.a1-checks { display: flex; flex-direction: column; gap: 14px; }
.a1-checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; line-height: 1.42; color: var(--a1-text); }
.a1-checks li iconify-icon { color: var(--a1-green); font-size: 21px; margin-top: 0; }
.a1-checks li small { display: block; color: var(--a1-text-3); font-size: 14px; margin-top: 2px; }
.a1-checks li em { font-style: normal; color: var(--a1-green); font-weight: 600; font-size: 13px; margin-left: 6px; white-space: nowrap; }
@media (max-width: 860px) {
  .a1-plan { grid-template-columns: 1fr; border-radius: var(--a1-r-lg); }
  .a1-plan__main, .a1-plan__list { padding: 32px 24px; }
}

.a1-addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.a1-addon { background: #fff; border-radius: var(--a1-r-lg); padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.a1-section:not(.a1-section--gray) .a1-addon { background: var(--a1-bg-2); }
.a1-addon__head { display: flex; align-items: center; gap: 12px; }
.a1-addon__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; color: #fff; flex: 0 0 auto; background: var(--a1-text); }
.a1-addon__name { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.a1-addon__price { font-size: 14px; font-weight: 600; color: var(--a1-text-2); margin-top: 1px; }
.a1-addon p { font-size: 15px; color: var(--a1-text-2); line-height: 1.45; }
.a1-addon--feature { background: var(--a1-dark-3) !important; color: #f5f5f7; }
.a1-addon--feature p, .a1-addon--feature .a1-addon__price { color: #a1a1a6; }
.a1-addon--feature .a1-addon__ico { background: var(--a1-grad-ig); }
@media (max-width: 960px) { .a1-addons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .a1-addons { grid-template-columns: 1fr; } }
.a1-pricing-sub { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; }
.a1-pricing-sub h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.025em; }
.a1-pay { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 14px; color: var(--a1-text-2); }
.a1-pay span { display: inline-flex; align-items: center; gap: 7px; }
.a1-pay iconify-icon { font-size: 18px; color: var(--a1-text); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.a1-faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--a1-line-2); }
.a1-faq details { border-bottom: 1px solid var(--a1-line-2); }
.a1-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--a1-text);
}
.a1-faq summary::-webkit-details-marker { display: none; }
.a1-faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background: no-repeat center / 14px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%231d1d1f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform 0.35s var(--a1-ease);
}
.a1-faq details[open] summary::after { transform: rotate(45deg); }
.a1-faq__body { padding: 0 48px 26px 0; font-size: 17px; color: var(--a1-text-2); line-height: 1.55; }
.a1-faq__body p + p { margin-top: 10px; }
@media (max-width: 734px) { .a1-faq summary { font-size: 18px; padding: 20px 0; } .a1-faq__body { padding-right: 0; font-size: 16px; } }

/* ==========================================================================
   Closing CTA
   ========================================================================== */
.a1-closing { text-align: center; padding: 140px 0; background: var(--a1-bg-2); position: relative; overflow: hidden; }
.a1-closing::before {
  content: "";
  position: absolute;
  inset: auto 0 -40% 0;
  height: 80%;
  background: radial-gradient(closest-side, rgba(110, 86, 248, 0.16), transparent), radial-gradient(closest-side at 70% 50%, rgba(226, 69, 122, 0.12), transparent);
  pointer-events: none;
}
.a1-closing > * { position: relative; }
.a1-closing .a1-lead { max-width: 640px; margin: 22px auto 0; }
.a1-closing .a1-hero__cta { margin-top: 40px; }
@media (max-width: 734px) { .a1-closing { padding: 96px 0; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.a1-footer { background: var(--a1-bg-2); border-top: 1px solid var(--a1-line); padding: 48px 0 40px; font-size: 13px; color: var(--a1-text-2); }
.a1-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--a1-line); }
.a1-footer__about p { margin-top: 14px; max-width: 320px; line-height: 1.5; }
.a1-footer h4 { font-size: 13px; font-weight: 600; color: var(--a1-text); margin-bottom: 12px; }
.a1-footer li + li { margin-top: 9px; }
.a1-footer a { color: var(--a1-text-2) !important; }
.a1-footer a:hover { color: var(--a1-text) !important; }
.a1-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; color: var(--a1-text-3); }
@media (max-width: 860px) { .a1-footer__grid { grid-template-columns: 1fr 1fr; } .a1-footer__about { grid-column: 1 / -1; } }

/* ==========================================================================
   Page header (pricing, docs, misc)
   ========================================================================== */
.a1-pagehead { padding: 96px 0 64px; text-align: center; }
.a1-pagehead .a1-lead { max-width: 720px; margin: 22px auto 0; }
@media (max-width: 734px) { .a1-pagehead { padding: 56px 0 40px; } }

/* ==========================================================================
   Auth / forms
   ========================================================================== */
.a1-auth { min-height: calc(100vh - var(--a1-nav-h)); display: grid; place-items: center; padding: 56px 20px 80px; background: var(--a1-bg-2); }
.a1-auth__card { width: 100%; max-width: 440px; min-width: 0; background: #fff; border-radius: var(--a1-r-xl); padding: 44px 40px 36px; box-shadow: var(--a1-shadow-sm); }
.a1-auth__card--wide { max-width: 560px; }
.a1-auth__icon { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 22px; display: grid; place-items: center; background: var(--a1-grad-ig); color: #fff; font-size: 28px; box-shadow: 0 8px 24px rgba(118, 56, 250, 0.28); }
.a1-auth__title { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; text-align: center; }
.a1-auth__sub { margin-top: 10px; font-size: 16px; color: var(--a1-text-2); text-align: center; line-height: 1.45; }
.a1-auth__form { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.a1-auth__form .a1-btn { margin-top: 8px; }
.a1-auth__links { margin-top: 24px; text-align: center; font-size: 14px; color: var(--a1-text-2); line-height: 1.7; }
.a1-auth__perks { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--a1-line); display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--a1-text-2); }
.a1-auth__perks li { display: flex; gap: 10px; align-items: center; }
.a1-auth__perks iconify-icon { color: var(--a1-green); font-size: 18px; flex: 0 0 auto; }
@media (max-width: 480px) { .a1-auth { padding: 28px 16px 56px; place-items: start center; } .a1-auth__card { padding: 32px 22px 28px; border-radius: var(--a1-r-lg); } .a1-auth__title { font-size: 28px; } .a1-btn--lg { padding: 14px 20px; font-size: 16px; } }

.a1-field { display: flex; flex-direction: column; gap: 6px; }
.a1-field label { font-size: 13px; font-weight: 600; color: var(--a1-text-2); }
.a1-input, .a1 .form-control, .a1 .lum-input, .a1 .form-control-custom {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #d2d2d7;
  background: #fff;
  color: var(--a1-text);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.a1 textarea.a1-input, .a1 textarea.form-control { min-height: 120px; resize: vertical; }
.a1-input::placeholder, .a1 .form-control::placeholder, .a1 .lum-input::placeholder { color: var(--a1-text-3); }
.a1-input:focus, .a1 .form-control:focus, .a1 .lum-input:focus, .a1 .form-control-custom:focus { outline: none; border-color: var(--a1-blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15); }
.a1-alert-box { padding: 14px 16px; border-radius: 14px; font-size: 15px; line-height: 1.45; margin-top: 22px; }
.a1-alert-box--warn { background: #fff4e5; color: #8a4b00; }
.a1-alert-box--ok { background: var(--a1-green-bg); color: var(--a1-green); }
.a1-alert-box--err { background: #fdecee; color: #b00020; }

/* ==========================================================================
   Documents (legal) — styles legacy lum-* markup inside .a1-doc
   ========================================================================== */
.a1-doc { padding: 72px 0 120px; }
.a1-doc .lum-eyebrow { font-size: 17px; font-weight: 600; color: var(--a1-orange); margin-bottom: 12px; text-transform: none; letter-spacing: -0.01em; }
.a1-doc .lum-title { font-size: clamp(32px, 4.5vw, 48px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; text-transform: none; }
.a1-doc h1.lum-title { overflow-wrap: anywhere; }
.a1-doc .lum-text, .a1-doc p, .a1-doc li { font-size: 17px; line-height: 1.6; color: var(--a1-text); }
.a1-doc .lum-text--sm { font-size: 17px; }
.a1-doc .lum-text--xs { font-size: 14px; color: var(--a1-text-2); }
.a1-doc > .a1-wrap > p.lum-text:first-of-type, .a1-doc .lum-mb-6 { color: var(--a1-text-2); }
.a1-doc .glass-panel { background: #fff; border: 1px solid var(--a1-line); border-radius: var(--a1-r-lg); padding: 40px; margin: 32px 0; box-shadow: none; }
.a1-doc .lum-heading, .a1-doc h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin: 40px 0 14px; }
.a1-doc .lum-offer__section:first-child .lum-heading, .a1-doc .glass-panel > *:first-child { margin-top: 0; }
.a1-doc h3 { font-size: 19px; font-weight: 600; margin: 28px 0 10px; letter-spacing: -0.015em; }
.a1-doc p + p { margin-top: 12px; }
.a1-doc ul, .a1-doc ol { padding-left: 1.3em; margin: 12px 0; list-style: disc; }
.a1-doc ol { list-style: decimal; }
.a1-doc li + li { margin-top: 6px; }
.a1-doc .list-unstyled { list-style: none; padding: 0; }
.a1-doc table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.a1-doc th, .a1-doc td { border-bottom: 1px solid var(--a1-line); padding: 12px 10px; text-align: left; vertical-align: top; }
.a1-doc .lum-link, .a1-doc a { color: var(--a1-link); }
.a1-doc .lum-panel-title { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.a1-doc .btn-outline-danger { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: 980px; border: 1px solid var(--a1-red); color: var(--a1-red); background: transparent; font-size: 15px; cursor: pointer; }
.a1-doc .btn-outline-danger:hover { background: var(--a1-red); color: #fff; }
.a1-doc .mb-3 { margin-bottom: 14px; }
.a1-doc .mb-4 { margin-bottom: 22px; }
.a1-doc .mt-1 { margin-top: 4px; }
@media (max-width: 734px) { .a1-doc { padding: 40px 0 80px; } .a1-doc .glass-panel { padding: 24px 20px; border-radius: var(--a1-r); } }

.a1-doc-list { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.a1-doc-link { display: flex; align-items: center; gap: 18px; padding: 24px 26px; border-radius: var(--a1-r-lg); background: var(--a1-bg-2); color: var(--a1-text) !important; text-decoration: none !important; transition: background 0.2s; }
.a1-doc-link:hover { background: var(--a1-bg-3); }
.a1-doc-link iconify-icon { font-size: 28px; color: var(--a1-blue); flex: 0 0 auto; }
.a1-doc-link b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.a1-doc-link span { display: block; font-size: 15px; color: var(--a1-text-2); margin-top: 3px; }
.a1-doc-link::after { content: "›"; margin-left: auto; font-size: 26px; color: var(--a1-text-3); }

/* ==========================================================================
   Demo modal (landing) — IDs owned by static/js/demo.js
   ========================================================================== */
.lum-demo-modal[hidden] { display: none !important; }
.lum-demo-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; }
.lum-demo-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: a1-fade 0.25s ease both; }
.lum-demo-modal__panel {
  position: relative;
  width: min(440px, 100%);
  height: min(720px, calc(100vh - 40px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--a1-shadow-lg);
  font-family: var(--a1-font);
  animation: a1-sheet 0.4s var(--a1-ease) both;
}
.lum-demo-modal__header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--a1-line); }
.lum-demo-modal__identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lum-demo-modal__avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--a1-bg-2); flex: 0 0 auto; }
.lum-demo-modal__avatar-img { width: 100%; height: 100%; object-fit: cover; }
.a1-demo__name { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; color: var(--a1-text); }
.a1-demo__status { font-size: 12.5px; color: var(--a1-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a1-demo__actions { display: flex; gap: 6px; align-items: center; flex: 0 0 auto; }
.a1-demo__btn { border: 0; background: var(--a1-bg-2); color: var(--a1-text); font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 980px; cursor: pointer; white-space: nowrap; }
.a1-demo__btn:hover { background: var(--a1-bg-3); }
.a1-demo__close { width: 32px; height: 32px; padding: 0; display: grid; place-items: center; font-size: 18px; }
.lum-demo-modal__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.lum-demo-modal__messages { flex: 1; overflow-y: auto; padding: 18px 14px; display: flex; flex-direction: column; gap: 6px; }
.lum-demo-modal__messages .ig-msg, .a1 .ig-messages .ig-msg {
  max-width: 82%;
  padding: 9px 14px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  white-space: pre-wrap;
  word-wrap: break-word;
  animation: a1-pop 0.3s var(--a1-ease) both;
}
.lum-demo-modal__messages .ig-msg.user, .a1 .ig-messages .ig-msg.user { align-self: flex-end; background: var(--a1-blue); color: #fff; border-bottom-right-radius: 6px; }
.lum-demo-modal__messages .ig-msg.bot, .a1 .ig-messages .ig-msg.bot { align-self: flex-start; background: var(--a1-bg-2); color: var(--a1-text); border-bottom-left-radius: 6px; }
.lum-demo-modal__messages .ig-msg.bot a, .a1 .ig-messages .ig-msg.bot a { color: var(--a1-link); }
.lum-demo-modal__messages .ig-msg.typing, .a1 .ig-messages .ig-msg.typing { align-self: flex-start; background: var(--a1-bg-2); display: inline-flex; gap: 4px; padding: 13px 15px; }
.ig-dot { width: 7px; height: 7px; border-radius: 50%; background: #a1a1a6; animation: a1-dot 1.2s infinite ease-in-out; }
.ig-dot:nth-child(2) { animation-delay: 0.15s; }
.ig-dot:nth-child(3) { animation-delay: 0.3s; }
.lum-demo-cta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.lum-demo-cta-row .lum-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 18px; border-radius: 980px; background: var(--a1-blue); color: #fff !important; font-size: 15px; font-weight: 500; text-decoration: none !important; }
#demo-suggestions { display: none; flex-wrap: wrap; gap: 6px; padding: 6px 14px 10px; background: #fff; }
#demo-suggestions .lum-btn {
  border: 1px solid var(--a1-line-2);
  background: var(--a1-bg-2);
  color: var(--a1-text);
  border-radius: 980px;
  cursor: pointer;
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.25;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}
#demo-suggestions .lum-btn:hover { background: var(--a1-bg-3); border-color: #b8b8be; }
.a1-demo-modal__cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--a1-bg-2);
  border-top: 1px solid var(--a1-line);
  font-size: 13px;
  color: var(--a1-text-2);
}
.a1-demo-modal__cta-link {
  font-weight: 600;
  color: var(--a1-blue) !important;
  white-space: nowrap;
  text-decoration: none;
}
.a1-demo-modal__cta-link:hover { text-decoration: underline !important; }
.lum-demo-modal__composer, .a1 .ig-input-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--a1-line);
  background: #fff;
}
.lum-demo-modal__composer textarea, .a1 .ig-input-row textarea {
  flex: 1;
  min-height: 42px;
  max-height: 140px;
  padding: 10px 16px;
  border-radius: 21px;
  border: 1px solid #d2d2d7;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.35;
  color: var(--a1-text);
  resize: none;
  outline: none;
}
.lum-demo-modal__composer textarea:focus, .a1 .ig-input-row textarea:focus { border-color: var(--a1-blue); }
.lum-ig-send { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--a1-blue); color: #fff; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; font-size: 18px; }
.lum-ig-send:disabled { background: #d2d2d7; cursor: default; }
@keyframes a1-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes a1-sheet { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .lum-demo-modal { padding: 0; place-items: end center; }
  .lum-demo-modal__panel { width: 100%; height: calc(100% - 24px); border-radius: 24px 24px 0 0; }
  .lum-demo-modal__header { flex-wrap: wrap; padding: 12px 12px 10px; gap: 8px; }
  .a1-demo__btn { padding: 6px 10px; font-size: 12px; }
  .a1-demo-modal__cta-bar { font-size: 12.5px; padding: 9px 14px calc(9px + env(safe-area-inset-bottom)); }
}

/* ==========================================================================
   Public help widget (partials/support_chat.html; JS in lumina.js)
   ========================================================================== */
.a1 .support-root { position: fixed; right: 20px; bottom: 20px; z-index: 1500; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--a1-font); }
.a1 .support-launcher {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: var(--a1-text);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s var(--a1-ease), background 0.2s;
}
.a1 .support-launcher:hover { transform: scale(1.06); background: #000; }
.a1 .support-root:not(.is-collapsed) .support-launcher { display: none; }
.a1 .support-panel { display: none; }
.a1 .support-root:not(.is-collapsed) .support-panel { display: block; animation: a1-sheet 0.35s var(--a1-ease) both; }
.a1 .support-panel .ig-widget {
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 100px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--a1-shadow-lg), 0 0 0 1px var(--a1-line);
}
.a1 .support-panel .ig-header { display: flex; align-items: center; gap: 10px; padding: 16px 14px 14px 20px; border-bottom: 1px solid var(--a1-line); }
.a1 .lum-support-widget__title { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; color: var(--a1-text); }
.a1 .lum-support-widget__online { width: 8px; height: 8px; border-radius: 50%; background: #30d158; margin-right: 6px; }
.a1 .support-close { border: 0; background: var(--a1-bg-2); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--a1-text-2); }
.a1 .support-panel .ig-messages { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 6px; }
.a1 .ig-welcome { font-size: 15px; line-height: 1.45; color: var(--a1-text-2); background: var(--a1-bg-2); padding: 14px 16px; border-radius: 18px; }
@media (max-width: 600px) {
  .a1 .support-root { right: 14px; bottom: 14px; }
  .a1 .support-root:not(.is-collapsed) { inset: 0; right: 0; bottom: 0; }
  .a1 .support-root:not(.is-collapsed) .support-panel { position: fixed; inset: 0; }
  .a1 .support-panel .ig-widget { width: 100%; height: 100%; border-radius: 0; }
  .a1 .support-launcher { width: 52px; height: 52px; }
}

/* Confirm dialog (lumina.js LumConfirm) */
.a1 .lum-confirm[hidden] { display: none; }
.a1 .lum-confirm { position: fixed; inset: 0; z-index: 2100; display: grid; place-items: center; padding: 20px; }
.a1 .lum-confirm__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); }
.a1 .lum-confirm__dialog { position: relative; width: min(400px, 100%); background: #fff; border-radius: 22px; padding: 26px; box-shadow: var(--a1-shadow-lg); }
.a1 .lum-confirm__eyebrow { font-size: 13px; color: var(--a1-text-3); margin-bottom: 4px; }
.a1 .lum-confirm__title { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.a1 .lum-confirm__body { font-size: 15px; color: var(--a1-text-2); }
.a1 .lum-confirm__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.a1 .lum-confirm__actions .btn { border-radius: 980px; padding: 8px 18px; font-size: 15px; border: 1px solid var(--a1-line-2); background: #fff; cursor: pointer; }
.a1 .lum-confirm__actions .btn-outline-danger { border-color: var(--a1-red); color: var(--a1-red); }
.a1-persona__ava iconify-icon { font-size: 15px; color: var(--a1-text-2); }
.a1-memory .a1-chip iconify-icon { font-size: 15px; color: var(--a1-blue); }

/* Polish */
.a1-h1, .a1-h2, .a1-h3, .a1-lead, .a1-tile__title, .a1-step__title, .a1-versus__title { text-wrap: balance; }
.a1-body, .a1-tile__text, .a1-step__text, .a1-faq__body { text-wrap: pretty; }
.a1-tile .a1-mini__msg--ai { background: #fff; }
.a1-section--gray .a1-tile .a1-mini__msg--ai { background: var(--a1-bg-2); }
.a1-footer .a1-brand { color: var(--a1-text) !important; }

.a1-show-sm { display: none; }
@media (max-width: 600px) {
  .a1-hide-sm { display: none; }
  .a1-show-sm { display: inline; }
  .a1-brand { min-width: 0; font-size: 16px; }
  .a1-brand__name { overflow: hidden; text-overflow: ellipsis; }
  .a1-hero__badge { font-size: 13px; padding: 6px 12px; }
  .a1-hero__badge b { display: none; }
}
.a1-doc h1.lum-title { text-transform: lowercase; }
.a1-doc h1.lum-title::first-letter { text-transform: uppercase; }
.a1-doc .a1-lead { margin-bottom: 8px; }

/* ==========================================================================
   Conversion tools: Niches switcher, ROI calculator, Support chips, Mobile CTA
   ========================================================================== */
.a1-niches { display: flex; flex-direction: column; gap: 24px; }
.a1-niches__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.05);
  align-self: center;
  max-width: 100%;
}
.a1-niches__tab {
  border: 0;
  background: transparent;
  color: var(--a1-text-2);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s var(--a1-ease), color 0.2s var(--a1-ease), box-shadow 0.2s var(--a1-ease);
}
.a1-niches__tab:hover { color: var(--a1-text); }
.a1-niches__tab.is-active {
  background: #fff;
  color: var(--a1-text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.a1-niche-panel {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border-radius: var(--a1-r-xl);
  padding: 36px;
  box-shadow: var(--a1-shadow-sm);
}
.a1-niche-panel[hidden] { display: none !important; }
.a1-niche-panel__chat {
  background: var(--a1-bg-2);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.a1-niche-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--a1-text-3);
  margin-bottom: 6px;
}
.a1-niche-panel__chat .a1-mini__msg { font-size: 14px; padding: 10px 14px; margin: 0; max-width: 90%; }
.a1-niche-panel__chat .a1-mini__msg--ai { background: #fff; box-shadow: var(--a1-shadow-sm); }
.a1-niche-panel__outcome {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 7px 13px;
  border-radius: 980px;
  background: var(--a1-green-bg);
  color: var(--a1-green);
  font-size: 13px;
  font-weight: 600;
}
.a1-niche-panel__copy h3 {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.a1-niche-panel__copy .a1-checks { margin-bottom: 26px; }
@media (max-width: 900px) {
  .a1-niche-panel { grid-template-columns: 1fr; padding: 26px 20px; gap: 28px; border-radius: var(--a1-r-lg); }
}
@media (max-width: 600px) {
  .a1-niches__tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .a1-niches__tab { padding: 10px 10px; font-size: 13px; text-align: center; }
  .a1-niche-panel__copy .a1-btn { width: 100%; }
}

/* ROI calculator */
.a1-roi {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: #fff;
  border-radius: var(--a1-r-xl);
  overflow: hidden;
  box-shadow: var(--a1-shadow);
}
.a1-roi__inputs {
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.a1-roi__title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.14;
}
.a1-roi__sub {
  margin-top: 10px;
  font-size: 16px;
  color: var(--a1-text-2);
  line-height: 1.48;
}
.a1-roi__field { display: flex; flex-direction: column; gap: 10px; }
.a1-roi__label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.a1-roi__label-row label { font-size: 15px; font-weight: 600; color: var(--a1-text); }
.a1-roi__label-row small { font-weight: 400; color: var(--a1-text-3); }
.a1-roi__val { font-size: 18px; font-weight: 700; color: var(--a1-blue); letter-spacing: -0.02em; white-space: nowrap; }
.a1-range {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--a1-bg-3);
  outline: none;
  accent-color: var(--a1-blue);
  cursor: pointer;
}
.a1-roi__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--a1-text-3); }

.a1-roi__result {
  padding: 44px;
  background: var(--a1-dark);
  color: #f5f5f7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.a1-roi__stat-label { display: block; font-size: 14px; color: #a1a1a6; margin-bottom: 6px; }
.a1-roi__stat-num {
  display: block;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ff6961;
}
.a1-roi__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.a1-roi__mini {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px 18px;
}
.a1-roi__mini span { display: block; font-size: 12.5px; color: #a1a1a6; margin-bottom: 6px; line-height: 1.3; }
.a1-roi__mini strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.a1-roi__mini--plus { background: rgba(48, 209, 88, 0.14); }
.a1-roi__mini--plus strong { color: #30d158; }
.a1-roi__actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.a1-roi__demo-link {
  border: 0;
  background: transparent;
  padding: 0;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: #2997ff !important;
  cursor: pointer;
  text-decoration: none;
}
.a1-roi__demo-link:hover { text-decoration: underline !important; }
@media (max-width: 900px) {
  .a1-roi { grid-template-columns: 1fr; border-radius: var(--a1-r-lg); }
  .a1-roi__inputs, .a1-roi__result { padding: 28px 22px; }
}
@media (max-width: 520px) {
  .a1-roi__grid { grid-template-columns: 1fr; }
}

/* Support quick chips */
.a1-support-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 10px;
}
.a1-support-chip {
  border: 1px solid var(--a1-line-2);
  background: var(--a1-bg-2);
  color: var(--a1-text);
  border-radius: 980px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}
.a1-support-chip:hover { background: var(--a1-bg-3); border-color: #b8b8be; }

/* Mobile sticky CTA */
.a1-mobile-cta {
  display: none;
}
@media (max-width: 768px) {
  .a1-mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px 10px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.06);
    transform: translateY(130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--a1-ease), opacity 0.25s ease;
  }
  .a1-mobile-cta.is-visible {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .a1-mobile-cta__meta { min-width: 0; }
  .a1-mobile-cta__meta strong { display: block; font-size: 13.5px; line-height: 1.2; color: var(--a1-text); }
  .a1-mobile-cta__meta span { display: block; font-size: 11.5px; color: var(--a1-text-3); margin-top: 1px; }
  .a1-mobile-cta__btns { display: flex; gap: 6px; flex: 0 0 auto; }
  .a1 .support-root { bottom: calc(82px + env(safe-area-inset-bottom)); }
}
