/* =========================================================
   UnitXML — landing page
   ========================================================= */

:root {
  --ink: #0a0d1a;
  --ink-2: #151a2d;
  --muted: #5d657a;
  --muted-2: #5f6879;
  --line: #e6e9f2;
  --line-strong: #d8ddea;
  --bg: #f6f7fb;
  --bg-2: #f1f3f9;
  --surface: #ffffff;
  --brand: #2d5bff;
  --brand-dark: #1c3fd4;
  --brand-soft: #edf1ff;
  --violet: #6338e6;
  --violet-soft: #f1ecff;
  --green: #0b7d57;
  --green-bright: #19c37d;
  --green-soft: #e9f9f1;
  --red: #e94419;
  --red-soft: #fff0eb;
  --amber: #8a5a08;
  --amber-soft: #fff6e6;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(12, 18, 40, .04);
  --shadow-md: 0 12px 32px -12px rgba(16, 24, 52, .14);
  --shadow-lg: 0 40px 80px -28px rgba(16, 24, 52, .24);
  --container: 1200px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

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

body.menu-open { overflow: hidden; }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

::selection { background: rgba(45, 91, 255, .18); }

:focus-visible {
  outline: 3px solid rgba(45, 91, 255, .45);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn .icon { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(2px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(45, 91, 255, .55);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(45, 91, 255, .55);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: #bcc5da;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding-inline: 14px;
}
.btn-ghost:hover { background: rgba(10, 13, 26, .05); }

.btn-white {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .4);
}
.btn-white:hover { transform: translateY(-2px); background: #f4f6ff; }

.btn-dark-ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
}
.btn-dark-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }

.btn-sm { padding: 10px 17px; font-size: 13px; }
.btn-lg { padding: 16px 27px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 12px 0;
  background: rgba(246, 247, 251, .72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background-color .3s, border-color .3s, box-shadow .3s, padding .3s;
}
.site-header.is-scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, .88);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(16, 24, 52, .3);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px -6px rgba(45, 91, 255, .55);
}
.brand-mark svg, .brand-mark img { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.045em;
}
.brand-text small {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 14px;
}
.nav a {
  position: relative;
  padding: 8px 11px;
  border-radius: 9px;
  color: #3e465b;
  font-size: 13.5px;
  font-weight: 500;
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--ink); background: rgba(10, 13, 26, .045); }
.nav a.is-active { color: var(--ink); font-weight: 600; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.menu-toggle .icon { width: 21px; height: 21px; }
.menu-toggle .icon-close { display: none; }
.site-header.nav-open .menu-toggle .icon-menu { display: none; }
.site-header.nav-open .menu-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 138px 0 0;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
.blob-1 {
  width: 540px; height: 540px;
  top: -180px; left: -160px;
  background: radial-gradient(circle, rgba(45, 91, 255, .22), transparent 68%);
}
.blob-2 {
  width: 560px; height: 560px;
  top: 80px; right: -210px;
  background: radial-gradient(circle, rgba(123, 77, 255, .2), transparent 68%);
}
.blob-3 {
  width: 380px; height: 380px;
  bottom: 20px; left: 38%;
  background: radial-gradient(circle, rgba(25, 195, 125, .13), transparent 70%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 30, 60, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 30, 60, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 74% 62% at 55% 24%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 74% 62% at 55% 24%, #000 20%, transparent 78%);
  opacity: .7;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: 54px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 10px;
  border: 1px solid rgba(45, 91, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 4px 14px -8px rgba(45, 91, 255, .35);
  color: #2948a8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  backdrop-filter: blur(8px);
  transition: border-color .2s, transform .2s;
}
.eyebrow-pill:hover { border-color: rgba(45, 91, 255, .4); transform: translateY(-1px); }
.eyebrow-pill .icon { width: 13px; height: 13px; opacity: .65; }
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(25, 195, 125, .14);
}

.hero h1 {
  margin: 24px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.055em;
}
.hero-line { display: block; white-space: nowrap; }
.text-grad {
  background: linear-gradient(100deg, #2d5bff 0%, #6a4dff 48%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 540px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.68;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 22px;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
}
.hero-points .icon { width: 14px; height: 14px; color: var(--green); stroke-width: 2.6; }

/* ---------- App mockup ---------- */

.hero-visual {
  position: relative;
  z-index: 2;
}
.hero-visual-glow {
  position: absolute;
  inset: 8% -6% -10% 4%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(45, 91, 255, .18), transparent 65%);
  filter: blur(28px);
  z-index: -1;
}

.hero-art {
  position: relative;
  aspect-ratio: 600 / 460;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 30px;
  background:
    radial-gradient(ellipse 68% 72% at 17% 10%, rgba(45, 91, 255, .42), transparent 62%),
    radial-gradient(ellipse 60% 70% at 88% 90%, rgba(123, 77, 255, .34), transparent 62%),
    radial-gradient(ellipse 45% 50% at 50% 52%, rgba(25, 195, 125, .09), transparent 72%),
    linear-gradient(155deg, #111834 0%, #080c1c 60%, #0a1024 100%);
  box-shadow:
    0 2px 4px rgba(16, 24, 52, .12),
    0 40px 80px -30px rgba(8, 12, 28, .55),
    0 70px 120px -60px rgba(45, 91, 255, .45);
  animation: screenIn 1s var(--ease) both;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 10%, transparent 80%);
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 40% at 50% 0%, rgba(255, 255, 255, .08), transparent 65%);
}
@keyframes screenIn {
  from { opacity: 0; transform: translateY(22px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.art-label,
.art-badge {
  position: absolute;
  top: clamp(12px, 3%, 20px);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: clamp(4px, .9vw, 6px) clamp(8px, 1.5vw, 12px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: #c9d2e7;
  font-size: clamp(8px, 1.45vw, 10px);
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}
.art-label { left: clamp(14px, 3.4%, 22px); }
.art-badge {
  right: clamp(14px, 3.4%, 22px);
  color: #6ee7b7;
  letter-spacing: .08em;
}
.art-label .pill-dot { width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(25, 195, 125, .14); }

.art-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.art-line {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 3 9;
  filter: drop-shadow(0 0 5px rgba(100, 140, 255, .65));
  animation: dashFlow 2.8s linear infinite;
  opacity: .95;
}
.art-line.line-down { animation-direction: reverse; }
.art-line.line-right { animation-delay: -1.2s; }
@keyframes dashFlow { to { stroke-dashoffset: -48; } }
.art-dot {
  fill: #a9c0ff;
  filter: drop-shadow(0 0 5px rgba(120, 160, 255, .9));
  animation: dotPulse 2.8s ease-in-out infinite;
}
.art-dot.dot-b, .art-dot.dot-d { animation-delay: -1.4s; }
@keyframes dotPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.art-node {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(5px, 1.2vw, 8px);
  transform: translateY(-50%);
}
.art-node-ms { left: 5%; }
.art-node-av { right: 5%; }
.art-node-tile {
  display: grid;
  place-items: center;
  width: clamp(58px, 15.5%, 88px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 26%;
  background: linear-gradient(150deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .32),
    0 18px 34px -16px rgba(0, 0, 0, .7);
  backdrop-filter: blur(12px);
}
.ms-mark {
  display: grid;
  place-items: center;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 30%;
  background: linear-gradient(145deg, #2ad195, #0b8a5a);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(17px, 4vw, 31px);
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px -6px rgba(15, 159, 110, .55), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.av-mark {
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 24% 22%, #00aaff 0 30%, transparent 31%),
    radial-gradient(circle at 76% 26%, #a169f7 0 30%, transparent 31%),
    radial-gradient(circle at 25% 78%, #ff4053 0 30%, transparent 31%),
    radial-gradient(circle at 77% 78%, #04e061 0 30%, transparent 31%);
  filter: drop-shadow(0 6px 14px rgba(161, 105, 247, .55));
}
.art-node-name {
  color: #dfe6f8;
  font-size: clamp(8px, 1.55vw, 11px);
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}

.art-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: clamp(104px, 26%, 156px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.hub-halo {
  position: absolute;
  inset: -38%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 91, 255, .48), transparent 66%);
  filter: blur(18px);
}
.hub-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .26);
  animation: spin 30s linear infinite;
}
.hub-ring-a { inset: 0; }
.hub-ring-b {
  inset: -13%;
  border-color: rgba(123, 77, 255, .22);
  animation-duration: 44s;
  animation-direction: reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hub-core {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72%;
  aspect-ratio: 1;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #2d5bff, #0b1024 72%);
  box-shadow:
    0 0 38px rgba(45, 91, 255, .5),
    inset 0 1px 0 rgba(255, 255, 255, .32);
}
.hub-core .icon { width: clamp(24px, 6.2vw, 38px); height: clamp(24px, 6.2vw, 38px); color: #fff; stroke-width: 1.7; }
.hub-core em {
  margin-top: 1px;
  color: rgba(255, 255, 255, .62);
  font-family: var(--font-display);
  font-size: clamp(6px, 1.05vw, 8px);
  font-style: normal;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.art-chip {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: clamp(4px, .9vw, 7px);
  padding: clamp(4px, .9vw, 6px) clamp(7px, 1.4vw, 10px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #e6ebfa;
  font-size: clamp(8px, 1.45vw, 10px);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .8);
  backdrop-filter: blur(10px);
}
.art-chip-products { left: 21%; top: 17%; transform: translate(-50%, -50%); }
.art-chip-prices { left: 79%; top: 17%; transform: translate(-50%, -50%); }
.art-chip-stocks { left: 21%; top: 82%; transform: translate(-50%, -50%); }
.art-chip-orders { left: 79%; top: 82%; transform: translate(-50%, -50%); }
.chip-ico {
  width: clamp(17px, 3.5vw, 21px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.chip-ico .icon { width: 55%; height: 55%; stroke-width: 2.2; }
.ico-green { background: rgba(25, 195, 125, .15); color: #4fe0a9; }
.ico-blue { background: rgba(45, 91, 255, .18); color: #8fb0ff; }
.ico-violet { background: rgba(123, 77, 255, .18); color: #c2a9ff; }
.ico-amber { background: rgba(245, 158, 11, .15); color: #ffd08a; }

.art-spark {
  position: absolute;
  z-index: 2;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8fb0ff;
  box-shadow: 0 0 10px rgba(120, 160, 255, .9);
  animation: sparkGlow 3.4s ease-in-out infinite;
}
.spark-1 { top: 24%; left: 39%; animation-delay: -.7s; }
.spark-2 { top: 68%; right: 37%; animation-delay: -1.8s; background: #6ee7b7; box-shadow: 0 0 10px rgba(110, 231, 183, .8); }
.spark-3 { top: 33%; right: 12%; animation-delay: -2.4s; }
.spark-4 { bottom: 20%; left: 13%; animation-delay: -1.1s; width: 3px; height: 3px; }
@keyframes sparkGlow { 0%, 100% { opacity: .3; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(226, 230, 240, .9);
  border-radius: 13px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 40px -18px rgba(16, 24, 52, .35);
  backdrop-filter: blur(12px);
  animation: floaty 7s ease-in-out infinite;
}
.float-card b { display: block; font-size: 10.5px; font-weight: 600; line-height: 1.25; }
.float-card small { display: block; color: var(--muted-2); font-size: 8.5px; line-height: 1.3; }
.float-icon {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.float-icon .icon { width: 14px; height: 14px; }
.float-icon.green { background: var(--green-soft); color: var(--green); }
.float-icon.blue { background: var(--brand-soft); color: var(--brand); }
.float-icon.violet { background: var(--violet-soft); color: var(--violet); }
.float-1 { top: -42px; right: 22px; animation-delay: .2s; }
.float-2 { bottom: -38px; left: 18px; animation-delay: 1.4s; }
.float-3 { bottom: -38px; right: 18px; animation-delay: 2.6s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- Trust row ---------- */

.trust-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 64px;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(216, 221, 234, .75);
}
.trust-label {
  margin-right: 8px;
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid rgba(216, 221, 234, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: #3d465b;
  font-size: 11.5px;
  font-weight: 500;
}
.chip .icon { width: 13px; height: 13px; color: #8590a6; }
.chip-mark {
  width: 16px; height: 16px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.mark-ms { background: #1b9c67; }
.mark-av {
  background:
    radial-gradient(circle at 24% 22%, #00aaff 0 30%, transparent 31%),
    radial-gradient(circle at 76% 26%, #a169f7 0 30%, transparent 31%),
    radial-gradient(circle at 25% 78%, #ff4053 0 30%, transparent 31%),
    radial-gradient(circle at 77% 78%, #04e061 0 30%, transparent 31%);
  border-radius: 50%;
}
.av-dot {
  display: inline-block;
  width: 16px; height: 16px;
  border-radius: 50%;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 24% 22%, #00aaff 0 30%, transparent 31%),
    radial-gradient(circle at 76% 26%, #a169f7 0 30%, transparent 31%),
    radial-gradient(circle at 25% 78%, #ff4053 0 30%, transparent 31%),
    radial-gradient(circle at 77% 78%, #04e061 0 30%, transparent 31%);
}

/* ---------- Stats ---------- */

.stats-band {
  position: relative;
  padding: 38px 0 26px;
  background: #fff;
  border-block: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  position: relative;
  padding: 4px 30px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.05em;
}
.stat strong span { font-size: .55em; font-weight: 700; letter-spacing: 0; }
.stat p { margin-top: 7px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.stats-note {
  margin-top: 24px;
  color: #5f6879;
  font-size: 10.5px;
  text-align: right;
}

/* ---------- Sections ---------- */

.section { padding: 108px 0; }
section[id], footer[id], header[id] { scroll-margin-top: 96px; }
.section-tinted {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .5), transparent 30%),
    var(--bg-2);
  border-block: 1px solid rgba(230, 233, 242, .8);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--violet));
}
.section-head { max-width: 760px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.7vw, 3.05rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.045em;
}
.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.section-head.center {
  margin: 0 auto 54px;
  text-align: center;
}
.section-head.center .eyebrow { justify-content: center; }
.section-head.center p { max-width: 640px; margin-inline: auto; }
.section-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  max-width: none;
  margin-bottom: 46px;
}
.section-head.split > div { max-width: 620px; }
.section-head.split > p { max-width: 430px; margin: 0 0 4px; font-size: 14.5px; }

/* ---------- Pain ---------- */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pain-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pain-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 13px;
  background: var(--red-soft);
  color: var(--red);
}
.pain-icon .icon { width: 21px; height: 21px; }
.pain-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.pain-card p { margin-top: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

.versus {
  display: grid;
  grid-template-columns: 1fr 66px 1fr;
  align-items: stretch;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.versus-side { padding: 28px 30px; }
.versus-bad { background: linear-gradient(135deg, #fff9f7, #fff); }
.versus-good { background: linear-gradient(135deg, #f1fcf7, #fff); }
.versus-title { display: flex; align-items: center; gap: 12px; }
.versus-icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
}
.versus-bad .versus-icon { background: var(--red-soft); color: var(--red); }
.versus-good .versus-icon { background: var(--green-soft); color: var(--green); }
.versus-icon .icon { width: 19px; height: 19px; }
.versus-title b { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.versus-title small { display: block; color: var(--muted-2); font-size: 11px; }
.versus-side ul { margin-top: 18px; display: grid; gap: 9px; }
.versus-side li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.versus-side li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #cdd3e1;
}
.versus-good li::before { background: var(--green-bright); }
.versus-arrow {
  display: grid;
  place-items: center;
  background: #fbfcfe;
  border-inline: 1px solid var(--line);
}
.versus-arrow .icon {
  width: 24px; height: 24px;
  padding: 5px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-md);
  box-sizing: content-box;
}

/* ---------- Bento features ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: #d7ddec;
  box-shadow: var(--shadow-md);
}
.feature-wide { grid-column: span 2; }
.feature-wide-horizontal {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
  padding: 36px;
  border-color: transparent;
  background:
    radial-gradient(ellipse 80% 120% at 82% 20%, rgba(45, 91, 255, .28), transparent 60%),
    radial-gradient(ellipse 60% 100% at 100% 100%, rgba(123, 77, 255, .22), transparent 60%),
    #0b1024;
  color: #fff;
  overflow: hidden;
}
.feature-wide-horizontal:hover { border-color: rgba(255, 255, 255, .2); box-shadow: var(--shadow-lg); }
.feature-wide-horizontal h3 { font-size: 1.6rem; }
.feature-wide-horizontal p { color: #aab3cb; max-width: 560px; }
.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.feature-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
}
.feature-icon .icon { width: 21px; height: 21px; }
.feature-icon.icon-blue { background: #ebf1ff; color: #2d5bff; }
.feature-icon.icon-green { background: var(--green-soft); color: var(--green); }
.feature-icon.icon-violet { background: var(--violet-soft); color: var(--violet); }
.feature-icon.icon-amber { background: var(--amber-soft); color: var(--amber); }
.feature-icon.icon-ink { background: rgba(255, 255, 255, .1); color: #fff; }
.feature-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f5fa;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.tag-blue { background: #edf2ff; color: #2d5bff; }
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-violet { background: var(--violet-soft); color: var(--violet); }
.tag-amber { background: var(--amber-soft); color: var(--amber); }
.tag-ink { background: rgba(255, 255, 255, .1); color: #c6cee2; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.feature-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.62;
}
.feature-wide p { max-width: 600px; }
.feature-wide-horizontal h3 { font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -.035em; }
.feature-wide-horizontal p { color: #aab3cb; font-size: 14px; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.tag-list li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfcfe;
  color: #5b6478;
  font-size: 10.5px;
  font-weight: 500;
}

.mini-flow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 13px;
  background: #fbfcff;
}
.mini-flow > .icon { width: 15px; height: 15px; color: #aab1c1; }
.flow-node {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #40485c;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.flow-node .icon { width: 13px; height: 13px; }
.flow-node b {
  width: 16px; height: 16px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #1b9c67;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}
.flow-node .av-dot { width: 14px; height: 14px; }
.flow-xml { color: #2d5bff; }
.flow-av { color: #7b4dff; }

.api-meter { margin-top: auto; padding-top: 22px; }
.meter-track {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: #eef1f7;
  overflow: hidden;
}
.meter-track i {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2d5bff, #8f6bff);
  box-shadow: 0 0 12px rgba(45, 91, 255, .5);
  animation: meterFill 1.4s .4s var(--ease) both;
}
@keyframes meterFill { from { width: 0; } to { width: 82%; } }
.meter-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--muted-2);
  font-size: 9.5px;
}

.chat-demo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
}
.chat-bubble {
  align-self: flex-start;
  max-width: 92%;
  padding: 7px 11px;
  border-radius: 10px 10px 10px 3px;
  background: #f1f4fa;
  color: #4c5569;
  font-size: 10px;
  line-height: 1.4;
}
.chat-reply {
  align-self: flex-end;
  border-radius: 10px 10px 3px 10px;
  background: #e8f8f1;
  color: #0b7e56;
}

.formula {
  margin-top: auto;
  padding-top: 20px;
}
.formula code {
  display: block;
  padding: 10px 12px;
  border: 1px solid #e9edf6;
  border-radius: 9px;
  background: #f9fafd;
  color: #44506a;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9.5px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-stack {
  position: relative;
  height: 210px;
  min-width: 0;
}
.account-card {
  position: absolute;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 38px -20px rgba(0, 0, 0, .5);
}
.account-card b { font-size: 12px; font-weight: 700; }
.account-card small { grid-column: 2; color: var(--muted-2); font-size: 9.5px; margin-top: -5px; }
.account-card i {
  grid-column: 3;
  grid-row: 1 / span 2;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 8.5px;
  font-style: normal;
  font-weight: 600;
}
.account-card .av-dot { grid-row: 1 / span 2; }
.account-card-1 { top: 0; right: 12%; transform: rotate(-2deg); z-index: 3; }
.account-card-2 { top: 68px; left: 8%; right: 2%; transform: rotate(1.6deg); z-index: 2; box-shadow: 0 18px 38px -20px rgba(0, 0, 0, .35); }
.account-card-3 { top: 136px; right: 8%; transform: rotate(-1deg); z-index: 1; }

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 0 22px 0 0;
}
.step:last-child { padding-right: 0; }
.step::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 54px;
  right: -6px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), var(--line));
}
.step:last-child::after { display: none; }
.step-num {
  position: relative;
  z-index: 1;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--bg);
  transition: background-color .25s, color .25s, border-color .25s;
}
.step:hover .step-num { background: var(--brand); border-color: var(--brand); color: #fff; }
.step-body { padding-top: 20px; }
.step h3 {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.step p { margin-top: 7px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }

.how-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 44px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(100deg, #f7f9ff, #fff);
}
.how-note-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.how-note-icon .icon { width: 17px; height: 17px; }
.how-note b { font-size: 14.5px; }
.how-note p { margin-top: 3px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.how-note .btn { margin-left: auto; flex: 0 0 auto; }

/* ---------- Modes ---------- */

.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.mode-card {
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.mode-card-accent {
  border-color: transparent;
  background:
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(45, 91, 255, .3), transparent 60%),
    radial-gradient(ellipse 80% 80% at 0% 100%, rgba(123, 77, 255, .25), transparent 60%),
    #0b1024;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.mode-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mode-badge {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.mode-badge-accent { background: rgba(255, 255, 255, .1); color: #bcd0ff; }
.mode-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
}
.mode-card-accent .mode-icon { background: rgba(255, 255, 255, .1); color: #fff; }
.mode-icon .icon { width: 21px; height: 21px; }
.mode-card h3 {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.mode-lead { margin-top: 10px; max-width: 500px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.mode-card-accent .mode-lead { color: #aab3cb; }
.check-list { display: grid; gap: 11px; margin: 26px 0 30px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.45;
}
.check-list .icon {
  width: 17px; height: 17px;
  margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
  box-sizing: content-box;
  background: var(--green-soft);
  color: var(--green);
  stroke-width: 2.8;
}
.mode-card-accent .check-list .icon { background: rgba(25, 195, 125, .16); color: #4fe0a9; }
.mode-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.mode-card-accent .mode-foot { border-top-color: rgba(255, 255, 255, .12); }
.mode-foot span { color: var(--muted-2); font-size: 11px; }
.mode-card-accent .mode-foot span { color: #9aa4be; }
.mode-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
}
.mode-card-accent .mode-foot a { color: #9db8ff; }
.mode-foot a .icon { width: 14px; height: 14px; transition: transform .2s; }
.mode-foot a:hover .icon { transform: translateX(3px); }

/* ---------- Comparison table ---------- */

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  contain: paint;
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline-offset: -3px; }
.compare-table {
  width: 100%;
  min-width: 940px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12.5px;
}
.compare-table th, .compare-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid #eef1f7; }
.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8f9fd;
  color: #4b5468;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th:first-child {
  text-align: left;
  border-top-left-radius: var(--radius);
}
.compare-table thead th:last-child { border-top-right-radius: var(--radius); }
.compare-table .feature-col { width: 32%; text-align: left; }
.compare-table tbody th {
  text-align: left;
  font-size: 12.5px;
  font-weight: 500;
  color: #333b4f;
  border-right: 1px solid #f2f4f9;
}
.compare-table tbody th small {
  display: block;
  margin-top: 2px;
  color: #626b7f;
  font-size: 10px;
  font-weight: 400;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr { transition: background-color .15s; }
.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th { background: #fbfcff; }
.compare-table td b { font-size: 12.5px; font-weight: 600; }
.col-popular { background: #f3f6ff !important; }
.compare-table tbody td:nth-child(4) { background: rgba(45, 91, 255, .035); }
.compare-table tbody tr:hover td:nth-child(4) { background: rgba(45, 91, 255, .06); }

.cell-yes, .cell-no {
  width: 22px; height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
}
.cell-yes { background: var(--green-soft); color: var(--green); }
.cell-no { background: var(--red-soft); color: var(--red); }
.cell-yes .icon, .cell-no .icon { width: 11px; height: 11px; stroke-width: 2.8; }
.cell-part {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 6px;
  background: #f3f5fa;
  color: #5b6478;
  font-size: 9.5px;
  line-height: 1.35;
}
.cell-part-accent { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.table-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10.5px;
}
.table-hint .icon { width: 13px; height: 13px; }
.compare-note {
  margin-top: 18px;
  color: #5f6879;
  font-size: 11.5px;
  line-height: 1.55;
}

/* ---------- Pricing ---------- */

.billing-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: -18px 0 38px;
}
.toggle-control {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.toggle-btn {
  padding: 9px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.toggle-btn span { color: var(--green); font-size: 10px; }
.toggle-btn.is-active { background: var(--ink); color: #fff; }
.toggle-btn.is-active span { color: #5ee0a4; }
.billing-hint { color: var(--muted-2); font-size: 11px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.price-card:hover { transform: translateY(-4px); border-color: #d3d9e8; box-shadow: var(--shadow-md); }
.price-card-popular {
  border-color: transparent;
  background:
    radial-gradient(ellipse 120% 70% at 100% 0%, rgba(45, 91, 255, .36), transparent 60%),
    #0b1024;
  color: #fff;
  box-shadow: 0 28px 60px -24px rgba(16, 24, 52, .5);
}
.price-card-popular:hover { border-color: rgba(255, 255, 255, .15); }
.popular-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: linear-gradient(100deg, #2d5bff, #7b4dff);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 18px -8px rgba(45, 91, 255, .8);
}
.price-card-head h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.025em;
}
.price-card-head p { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.45; min-height: 32px; }
.price-card-popular .price-card-head p { color: #9fa9c2; }
.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 18px;
}
.price-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.7vw, 2.55rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.055em;
  white-space: nowrap;
  transition: opacity .13s ease, transform .13s ease;
}
.price-value.is-changing { opacity: .35; transform: translateY(3px); }
.price-currency {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}
.price-currency small { font-size: 10.5px; font-weight: 500; color: var(--muted-2); }
.price-card-popular .price-currency small { color: #9fa9c2; }
.price-note { margin-top: 5px; color: var(--muted-2); font-size: 10px; }
.price-card .btn { margin-top: 18px; }
.price-card-popular .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5); }
.price-card-popular .btn-primary:hover { background: #edf2ff; }
.price-list {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.price-card-popular .price-list { border-top-color: rgba(255, 255, 255, .12); }
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #4a5368;
  font-size: 11.5px;
  line-height: 1.45;
}
.price-card-popular .price-list li { color: #b8c0d4; }
.price-list .icon {
  width: 15px; height: 15px;
  margin-top: 1px;
  color: var(--green);
  stroke-width: 2.6;
}
.price-card-popular .price-list .icon { color: #4fe0a9; }

.pricing-footer { margin-top: 24px; }
.pricing-note-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.pricing-note-card > .icon {
  width: 24px; height: 24px;
  padding: 9px;
  border-radius: 11px;
  box-sizing: content-box;
  background: var(--brand-soft);
  color: var(--brand);
}
.pricing-note-card b { font-size: 13.5px; }
.pricing-note-card p { margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.pricing-note-card .btn { margin-left: auto; flex: 0 0 auto; }
.pricing-disclaimer { margin-top: 14px; color: #5f6879; font-size: 10.5px; line-height: 1.6; }
.pricing-disclaimer a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}
.faq-aside h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.045em;
}
.faq-aside > p { margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.support-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.support-icon {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.support-icon .icon { width: 20px; height: 20px; }
.support-card b { display: block; font-size: 13.5px; }
.support-card small { display: block; color: var(--muted-2); font-size: 10.5px; }
.support-links { display: flex; flex-direction: column; gap: 7px; width: 100%; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.support-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4a5368;
  font-size: 12px;
  transition: color .2s;
}
.support-links a:hover { color: var(--brand); }
.support-links .icon { width: 15px; height: 15px; color: var(--muted-2); }
.support-brand {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 4px;
  color: #fff;
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
}
.support-brand-max { background: linear-gradient(135deg, #3b82f6, #7c3aed); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.015em;
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-plus {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.faq-plus .icon { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.faq-item[open] .faq-plus { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-item[open] .faq-plus .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 48px 20px 0; }
.faq-answer p { color: var(--muted); font-size: 13.5px; line-height: 1.65; }

/* ---------- CTA ---------- */

.cta-section { padding: 0 0 96px; }
.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 40px;
  padding: 62px 64px;
  border-radius: 34px;
  background:
    radial-gradient(ellipse 80% 120% at 82% 10%, rgba(45, 91, 255, .35), transparent 60%),
    radial-gradient(ellipse 70% 100% at 100% 100%, rgba(123, 77, 255, .28), transparent 55%),
    #080c1c;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(8, 12, 28, .6);
}
.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.cta-glow-1 {
  width: 340px; height: 340px;
  top: -160px; left: 20%;
  background: rgba(45, 91, 255, .28);
}
.cta-glow-2 {
  width: 260px; height: 260px;
  bottom: -130px; right: 8%;
  background: rgba(25, 195, 125, .18);
}
.cta-content { position: relative; z-index: 1; }
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #c8d2ec;
  font-size: 11px;
  font-weight: 600;
}
.cta-card h2 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.05em;
}
.cta-card p {
  max-width: 520px;
  margin-top: 16px;
  color: #aeb8d0;
  font-size: 15px;
  line-height: 1.62;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cta-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
}
.cta-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8f9ab5;
  font-size: 11px;
}
.cta-meta .icon { width: 13px; height: 13px; color: #4fe0a9; stroke-width: 2.8; }

.cta-art {
  position: relative;
  height: 330px;
  z-index: 1;
}
.cta-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 210px;
  height: 210px;
  transform: translate(-50%, -50%);
}
.orb-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(255, 255, 255, .22);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}
.orb-ring::before, .orb-ring::after {
  content: "";
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #7b9bff;
  box-shadow: 0 0 16px rgba(123, 155, 255, .9);
}
.orb-ring::before { top: -4px; left: 50%; }
.orb-ring::after { bottom: -4px; left: 50%; background: #4fe0a9; box-shadow: 0 0 16px rgba(79, 224, 169, .9); }
@keyframes spin { to { transform: rotate(360deg); } }
.orb-core {
  position: absolute;
  inset: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(45, 91, 255, .9), rgba(123, 77, 255, .35) 55%, rgba(8, 12, 28, .8));
  box-shadow: 0 0 60px rgba(45, 91, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.orb-core .icon { width: 52px; height: 52px; color: #fff; stroke-width: 1.5; opacity: .95; }
.cta-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #dfe6f8;
  font-size: 10.5px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.cta-chip .icon { width: 13px; height: 13px; color: #9db8ff; }
.cta-chip .chip-mark { width: 15px; height: 15px; font-size: 8px; }
.cta-chip-1 { top: 24px; left: 2px; animation: floaty 7s ease-in-out infinite; }
.cta-chip-2 { top: 78px; right: -4px; animation: floaty 7s 1s ease-in-out infinite; }
.cta-chip-3 { bottom: 34px; left: 18px; animation: floaty 7s 2s ease-in-out infinite; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 64px 0 26px;
  background: #070a15;
  color: #929cb5;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 44px;
}
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: #7c86a0; }
.footer-brand p { max-width: 330px; margin-top: 18px; font-size: 12.5px; line-height: 1.65; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  color: #b7c0d6;
  transition: background-color .2s, border-color .2s, color .2s;
}
.footer-social a:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .25); color: #fff; }
.footer-social .icon { width: 17px; height: 17px; }
.footer-social .icon[fill="currentColor"] { fill: currentColor; stroke: none; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col b {
  margin-bottom: 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-col a { color: #929cb5; font-size: 12.5px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-modal-link {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: #929cb5;
  font-family: inherit;
  font-size: 12.5px;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition: color .2s;
}
.footer-modal-link:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.footer-bottom p { font-size: 10.5px; line-height: 1.55; }
.footer-bottom p:nth-child(2) { max-width: 520px; text-align: right; }
.footer-requisites { display: block; width: 100%; max-width: none !important; color: #737d95; font-size: 10.5px; line-height: 1.55; text-align: left !important; }

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 250;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(620px, calc(100vw - 48px));
  padding: 14px 16px;
  border: 1px solid rgba(216, 221, 234, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 24px 60px -24px rgba(16, 24, 52, .38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.cookie-icon .icon { width: 19px; height: 19px; }
.cookie-text { flex: 1; min-width: 0; }
.cookie-text b {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.cookie-text p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}
.cookie-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand);
  font: inherit;
  font-size: 11.5px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.cookie-link:hover { color: var(--brand-dark); }
.cookie-accept { flex: 0 0 auto; }

@media (max-width: 640px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 16px;
  }
  .cookie-icon { display: none; }
  .cookie-text { flex: 1; }
  .cookie-accept { flex: 0 0 auto; }
}

/* ---------- Modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 21, .62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modalFade .22s ease both;
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 570px);
  max-height: min(88vh, 760px);
  overflow-y: auto;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .55);
  animation: modalIn .3s var(--ease) both;
}
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.modal-close:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.modal-close .icon { width: 15px; height: 15px; }
.modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.modal-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--violet));
}
.modal-panel h2 {
  padding-right: 40px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.04em;
}
.modal-panel > p,
.modal-scroll > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.62;
}
.doc-list { display: grid; gap: 10px; margin-top: 24px; }
.doc-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcfe;
  transition: transform .2s var(--ease), border-color .2s, background-color .2s, box-shadow .2s;
}
.doc-link:hover {
  transform: translateY(-2px);
  border-color: #cbd4e7;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.doc-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.doc-icon .icon { width: 19px; height: 19px; }
.doc-copy { flex: 1; min-width: 0; }
.doc-copy b { display: block; font-size: 13.5px; line-height: 1.35; }
.doc-copy small { display: block; margin-top: 3px; color: var(--muted-2); font-size: 10.5px; line-height: 1.45; }
.doc-format {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef1f7;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
}
.doc-arrow { width: 15px; height: 15px; flex: 0 0 auto; color: var(--muted-2); }
.modal-note {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.6;
}
.modal-note a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* install modal */
.modal-panel-install {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.modal-scroll {
  min-height: 0;
  max-height: min(88vh, 760px);
  overflow-y: auto;
  padding: 34px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c7d0e2 transparent;
}
.modal-scroll::-webkit-scrollbar { width: 8px; }
.modal-scroll::-webkit-scrollbar-track { background: transparent; }
.modal-scroll::-webkit-scrollbar-thumb {
  border: 2px solid #fff;
  border-radius: 999px;
  background: #c7d0e2;
}
.install-req {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfcfe;
}
.install-req h3 {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.install-req ul { display: grid; gap: 8px; margin-top: 10px; }
.install-req li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}
.install-req .icon {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--green);
  stroke-width: 2.6;
}
.install-alert {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid #f6dfb8;
  border-radius: 14px;
  background: var(--amber-soft);
  color: #6f4a08;
  font-size: 12px;
  line-height: 1.55;
}
.install-alert .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--amber);
}
.install-alert p { margin: 0; }
.install-alert a {
  color: #8a5a08;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.install-gallery-wrap { margin-top: 18px; }
.install-gallery-title {
  display: block;
  margin-bottom: 8px;
  color: #5f6879;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.install-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.install-shot { display: block; min-width: 0; margin: 0; }
.install-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f3f5fa;
  box-shadow: 0 8px 18px -14px rgba(16, 24, 52, .28);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.install-shot figcaption {
  display: block;
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.3;
  text-align: center;
}
.install-steps { margin-top: 20px; }
.install-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.install-step:first-child { border-top: 1px solid var(--line); }
.install-step-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
}
.install-step h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.install-step p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}
.install-step a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.install-actions .btn { flex: 1 1 auto; min-width: 200px; }

body.modal-open { overflow: hidden; }

@media (max-width: 640px) {
  .modal { padding: 14px; }
  .modal-panel { padding: 26px 20px; border-radius: 22px; }
  .modal-close { top: 11px; right: 11px; }
  .doc-link { gap: 11px; padding: 13px; }
  .doc-format { display: none; }
  .modal-panel.modal-panel-install { padding: 0; }
  .modal-panel-install .modal-scroll {
    max-height: min(90vh, 760px);
    padding: 26px 20px;
  }
  .install-step { grid-template-columns: 32px 1fr; gap: 10px; }
  .install-step-num { width: 32px; height: 32px; font-size: 12px; }
  .install-actions .btn { flex-basis: 100%; min-width: 0; }
  .install-gallery { gap: 6px; }
  .install-shot figcaption { font-size: 8px; }
}

/* ---------- Reveal animations ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.js [data-reveal-delay="60"] { transition-delay: .06s; }
.js [data-reveal-delay="70"] { transition-delay: .07s; }
.js [data-reveal-delay="80"] { transition-delay: .08s; }
.js [data-reveal-delay="90"] { transition-delay: .09s; }
.js [data-reveal-delay="120"] { transition-delay: .12s; }
.js [data-reveal-delay="140"] { transition-delay: .14s; }
.js [data-reveal-delay="180"] { transition-delay: .18s; }
.js [data-reveal-delay="240"] { transition-delay: .24s; }
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .header-inner { gap: 20px; }
  .nav { margin-left: 4px; }
  .nav a { padding-inline: 9px; font-size: 13px; }
  .hero-grid { gap: 34px; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .price-card-head p { min-height: 0; }
  .price-card { padding: 28px 24px; }
  .feature-wide-horizontal { padding: 32px; }
}

@media (max-width: 1024px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    z-index: 110;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-lg);
  }
  .site-header.nav-open .nav { display: flex; }
  .nav a { padding: 12px 14px; font-size: 15px; border-radius: 10px; }
  .nav a.is-active { background: var(--brand-soft); }
  .nav a.is-active::after { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-doc { display: none; }

  .hero { padding-top: 122px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 720px; }
  .hero-lead { max-width: 620px; }
  .hero-visual { width: min(100%, 660px); margin: 0 auto; }
  .trust-row { margin-top: 46px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat { border-left: 0; padding: 0 24px 0 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-child(3), .stat:nth-child(4) { padding-top: 22px; border-top: 1px solid var(--line); }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(4) { padding-left: 24px; }

  .section { padding: 88px 0; }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 38px; }
  .section-head.split > p { max-width: 620px; }
  .pain-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .pain-card { padding: 22px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-wide { grid-column: span 2; }
  .feature-wide-horizontal { grid-column: span 2; grid-template-columns: 1fr; gap: 22px; }
  .account-stack { height: 220px; max-width: 480px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 34px 0; }
  .step:nth-child(3)::after { display: none; }
  .step { padding-right: 26px; }
  .mode-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 34px; }
  .faq-aside { max-width: 620px; }
  .support-card { max-width: 420px; }
  .cta-card { padding: 48px; grid-template-columns: 1fr; }
  .cta-content { max-width: 620px; }
  .cta-art { display: none; }
}

@media (max-width: 820px) {
  .pain-grid { grid-template-columns: 1fr; }
  .versus { grid-template-columns: 1fr; }
  .versus-arrow { padding: 10px; border-inline: 0; border-block: 1px solid var(--line); }
  .versus-arrow .icon { transform: rotate(90deg); }
  .versus-side { padding: 24px; }
  .how-note { flex-wrap: wrap; }
  .how-note .btn { margin-left: 62px; }
  .pricing-note-card { flex-wrap: wrap; }
  .pricing-note-card .btn { margin-left: 56px; }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 480px; }
}

@media (max-width: 700px) {
  .container { width: calc(100% - 36px); }
  .hero { padding-top: 108px; }
  .hero h1 { margin-top: 20px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-points { gap: 8px 14px; }
  .hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hero-art { grid-column: 1 / -1; }
  .float-card {
    position: static;
    z-index: auto;
    padding: 9px 11px;
    box-shadow: var(--shadow-sm);
    animation: none;
  }
  .float-card b { font-size: 10px; }
  .float-card small { font-size: 8px; }
  .float-3 { grid-column: 1 / -1; }
  .hero-visual-glow { display: none; }
  .mini-flow { gap: 6px; }
  .mini-flow .flow-node { padding: 5px 8px; font-size: 9.5px; }
  .mini-flow .flow-node .icon { width: 12px; height: 12px; }
  .mini-flow > .icon { width: 13px; height: 13px; }
  .trust-row { gap: 8px; }
  .trust-label { width: 100%; margin-bottom: 2px; }
  .chip { font-size: 10.5px; padding: 5px 10px; }
  .stats-band { padding-top: 30px; }
  .stat strong { font-size: 1.7rem; }
  .stat p { font-size: 11.5px; }
  .section { padding: 72px 0; }
  .section-head.center { margin-bottom: 40px; }
  .section-head p { font-size: 14.5px; }
  .feature-card { padding: 24px; }
  .feature-wide { grid-column: span 2; }
  .feature-wide-horizontal { grid-column: span 2; padding: 26px; }
  .feature-wide-horizontal h3 { font-size: 1.35rem; }
  .account-stack { height: 200px; }
  .mini-flow { flex-wrap: wrap; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 0 0 26px; }
  .step:last-child { padding-bottom: 0; }
  .step::after {
    top: 52px;
    bottom: 2px;
    left: 23px;
    right: auto;
    width: 1px;
    height: auto;
    background: var(--line-strong);
  }
  .step:last-child::after { display: none; }
  .step-body { padding-top: 0; }
  .step-num { box-shadow: 0 0 0 5px var(--bg); }
  .mode-card { padding: 26px; }
  .mode-card h3 { font-size: 22px; }
  .mode-foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .table-hint { display: flex; }
  .billing-toggle { margin-top: -6px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .price-card { padding: 26px; }
  .price-card-popular { margin-top: 6px; }
  .pricing-note-card .btn { margin-left: 0; }
  .how-note .btn { margin-left: 0; }
  .faq-answer { padding-right: 0; }
  .cta-section { padding-bottom: 64px; }
  .cta-card { padding: 34px 26px; border-radius: 26px; }
  .cta-card h2 br { display: none; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-bottom p:nth-child(2) { max-width: none; text-align: left; }
}

@media (max-width: 480px) {
  .header-inner { gap: 12px; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: 19px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .header-actions .btn-sm { padding: 9px 13px; font-size: 12px; }
  .menu-toggle { width: 38px; height: 38px; }
  .hero { padding-top: 100px; }
  .hero h1 { font-size: 2.15rem; }
  .hero-lead { font-size: 14.5px; }
  .hero-cta { gap: 8px; }
  .hero-cta .btn { width: 100%; }
  .hero-points { flex-direction: column; gap: 6px; }
  .trust-row { margin-top: 34px; }
  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .stat { padding: 16px 0; border-right: 0 !important; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; padding-top: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { padding-left: 0; }
  .section { padding: 62px 0; }
  .pain-card { padding: 22px; }
  .versus-title b { font-size: 15px; }
  .feature-card { padding: 22px; }
  .feature-wide, .feature-wide-horizontal { grid-column: span 1; }
  .bento { grid-template-columns: 1fr; }
  .feature-wide-horizontal { grid-column: span 1; }
  .feature-card h3 { font-size: 18px; }
  .mini-flow { flex-direction: column; align-items: stretch; }
  .mini-flow > .icon { align-self: center; transform: rotate(90deg); }
  .mini-flow .flow-node { justify-content: center; }
  .account-card { padding: 11px 13px; }
  .account-card-1 { right: 5%; }
  .account-card-2 { left: 3%; right: 1%; }
  .account-card-3 { right: 4%; }
  .steps { gap: 0; }
  .mode-card { padding: 22px; }
  .mode-card h3 { font-size: 20px; }
  .toggle-control { width: 100%; }
  .toggle-btn { flex: 1; padding-inline: 10px; }
  .billing-hint { text-align: center; }
  .price-value { font-size: 2.05rem; }
  .support-card { max-width: none; }
  .faq-item summary { font-size: 14px; padding: 17px 0; }
  .cta-card { padding: 30px 22px; }
  .cta-card h2 { font-size: 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-col a { font-size: 12px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 1.8rem; }
  .art-label { display: none; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
