/* ==========================================================================
   ЦинКо — лендинг
   1. Токены и база
   2. Утилиты и кнопки
   3. Хедер и меню
   4. Hero
   5. Секции: pain / how / bento / telegram / security / metrics / cases
   6. Тарифы и калькулятор
   7. FAQ / демо-форма / футер
   8. Адаптив и motion
   ========================================================================== */

/* ---------- 1. Токены ---------- */

:root {
  --ink: #0b1620;
  --ink-2: #0f1b2a;
  --ink-3: #16273a;
  --paper: #f4f5f1;
  --paper-2: #eceee8;
  --surface: #ffffff;
  --mint: #12a67a;
  --mint-2: #1fcb95;
  --mint-3: #8ff0cd;
  --mint-soft: #e5f6ef;
  --text: #0b1620;
  --muted: #55636f;
  --muted-light: rgba(255, 255, 255, 0.62);
  --line: rgba(11, 22, 32, 0.1);
  --line-light: rgba(255, 255, 255, 0.12);
  --danger: #d24b3f;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --shell: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(11, 22, 32, 0.05);
  --shadow: 0 18px 50px -24px rgba(11, 22, 32, 0.28);
  --shadow-lg: 0 40px 90px -40px rgba(11, 22, 32, 0.45);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--mint);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* ---------- 2. Утилиты, типографика, кнопки ---------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(18px, 4.6vw, 48px);
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.section {
  position: relative;
  padding-block: clamp(64px, 8.5vw, 120px);
}

.section--paper {
  background: var(--paper);
}

.section--dark {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--light {
  color: var(--mint-3);
}

.section-title {
  font-size: clamp(1.95rem, 1.25rem + 2.4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 650;
}

.section-title--light {
  color: #fff;
}

.section-sub {
  margin-top: 22px;
  font-size: clamp(15px, 0.55vw + 13.6px, 17px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 46ch;
}

.section-sub--light {
  color: var(--muted-light);
}

.section-head {
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 720px;
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  max-width: none;
}

.section-head--split .section-sub {
  margin-top: 0;
  padding-bottom: 6px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s,
    box-shadow 0.4s var(--ease);
  -webkit-user-select: none;
  user-select: none;
}

.btn .icon {
  transition: transform 0.4s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn:active {
  transform: scale(0.985);
}

.btn--primary {
  background: linear-gradient(140deg, #16b585, #0e8f68 70%);
  color: #fff;
  box-shadow: 0 14px 34px -16px rgba(18, 166, 122, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  z-index: -1;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.32) 50%, transparent 60%);
  transform: translateX(-70%) rotate(8deg);
  transition: transform 0.7s var(--ease);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -18px rgba(18, 166, 122, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn--primary:hover::after {
  transform: translateX(70%) rotate(8deg);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: rgba(11, 22, 32, 0.16);
  color: var(--ink);
  background: transparent;
}

.btn--outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 16px;
  font-size: 14px;
}

.btn--lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn.is-loading .icon {
  animation: spin 0.9s linear infinite;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12.5px;
  font-weight: 550;
  letter-spacing: 0.01em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint-2);
  box-shadow: 0 0 0 4px rgba(31, 203, 149, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ---------- 3. Header ---------- */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--mint), var(--mint-3));
}

.site-header {
  position: fixed;
  inset: 12px 0 auto;
  z-index: 100;
  transition: padding 0.4s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 62px;
  padding-inline: 14px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 20, 30, 0.62);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.9);
  transition: background-color 0.4s, border-color 0.4s, box-shadow 0.4s, max-width 0.4s var(--ease);
}

.site-header.is-scrolled .header-inner {
  background: rgba(9, 18, 27, 0.86);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px -34px rgba(0, 0, 0, 1);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex: 0 0 auto;
  padding-right: 6px;
}

.logo__mark {
  width: 34px;
  height: 34px;
  color: currentColor;
  transition: transform 0.5s var(--ease);
}

.logo:hover .logo__mark {
  transform: rotate(-4deg) scale(1.04);
}

.logo__mark .logo__check {
  stroke-dasharray: 56;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.55s var(--ease);
}

.logo:hover .logo__check {
  animation: draw-check 0.7s var(--ease);
}

.logo__word {
  font-size: 21px;
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo--light {
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__link {
  position: relative;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s, background-color 0.25s;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.header-phone {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  display: none;
}

.header-login {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.header-login:hover {
  border-color: rgba(143, 240, 205, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.25s;
}

.burger:hover {
  background: rgba(255, 255, 255, 0.12);
}

.burger .icon {
  width: 20px;
  height: 20px;
}

.burger__close {
  display: none;
}

.is-menu-open .burger__open {
  display: none;
}

.is-menu-open .burger__close {
  display: block;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 96px clamp(20px, 6vw, 40px) calc(28px + env(safe-area-inset-bottom));
  background: rgba(8, 15, 22, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: none;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  font-weight: 550;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.mobile-menu__nav a span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--mint);
  opacity: 0.8;
}

.mobile-menu.is-open .mobile-menu__nav a {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 45ms + 60ms);
}

.mobile-menu__footer {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.mobile-menu__contact {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
}

/* ---------- 4. Hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding-top: clamp(104px, 12vw, 148px);
  padding-bottom: 0;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: -10% -10% 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 10%, transparent 72%);
  opacity: 0.75;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.hero__glow--mint {
  width: 46vw;
  height: 46vw;
  min-width: 420px;
  min-height: 420px;
  left: 42%;
  top: -14%;
  background: radial-gradient(circle, rgba(18, 166, 122, 0.55), transparent 66%);
  animation: drift 20s ease-in-out infinite alternate;
}

.hero__glow--blue {
  width: 40vw;
  height: 40vw;
  min-width: 320px;
  min-height: 320px;
  left: -12%;
  bottom: -22%;
  background: radial-gradient(circle, rgba(46, 96, 168, 0.5), transparent 68%);
  animation: drift 26s ease-in-out infinite alternate-reverse;
  opacity: 0.4;
}

.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
  opacity: 0.16;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(64px, 8vw, 110px);
}

.hero__copy {
  max-width: 620px;
}

.hero .badge {
  margin-bottom: 26px;
}

.hero__title {
  font-size: clamp(2.55rem, 1.05rem + 5.1vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 650;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero__title .line > span {
  display: block;
  transform: translateY(112%);
  animation: line-up 1s var(--ease) forwards;
}

.hero__title .line:nth-child(2) > span {
  animation-delay: 0.12s;
}

.hero__title em {
  font-style: normal;
  position: relative;
  color: var(--mint-3);
  white-space: nowrap;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0.04em;
  height: 0.07em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--mint-3));
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: underline-grow 0.9s var(--ease) 0.9s forwards;
  opacity: 0.75;
}

.hero__lead {
  margin-top: 26px;
  font-size: clamp(15.5px, 0.5vw + 14.4px, 18px);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.7);
  max-width: 52ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(36px, 4vw, 54px);
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stats dt {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 620;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero__stats dd {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}

/* Hero visual */

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1400px;
}

.device {
  position: relative;
  width: 100%;
  max-width: 470px;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-soft);
  will-change: transform;
}

.device__glare {
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(143, 240, 205, 0.16),
    transparent 62%
  );
  pointer-events: none;
  z-index: 2;
}

.shift-card {
  position: relative;
  padding: clamp(18px, 2vw, 26px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(165deg, rgba(23, 38, 54, 0.9), rgba(12, 22, 32, 0.94));
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

.shift-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 120px;
  background: radial-gradient(ellipse at 30% 0%, rgba(18, 166, 122, 0.28), transparent 70%);
  pointer-events: none;
}

.shift-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}

.shift-card__label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.shift-card__title {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.shift-card__time {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.shift-card__progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.progress-ring {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
}

.progress-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-ring circle {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}

.progress-ring__bg {
  stroke: rgba(255, 255, 255, 0.1);
}

.progress-ring__fg {
  stroke: var(--mint-2);
  stroke-dasharray: 113.1;
  stroke-dashoffset: calc(113.1 - 113.1 * var(--value, 0));
  transition: stroke-dashoffset 0.8s var(--ease);
  filter: drop-shadow(0 0 6px rgba(31, 203, 149, 0.5));
}

.progress-ring span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.shift-card__progress-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.shift-card__progress-copy strong {
  font-size: 14px;
  font-weight: 600;
}

.shift-card__progress-copy span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.45);
}

.task-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  transition: background-color 0.5s, border-color 0.5s, transform 0.5s var(--ease);
}

.task__box {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: transparent;
  transition: background-color 0.45s var(--ease), border-color 0.45s, color 0.3s, transform 0.45s var(--ease);
}

.task__box .icon {
  width: 14px;
  height: 14px;
  transform: scale(0.5);
  opacity: 0;
  transition: opacity 0.25s, transform 0.4s var(--ease);
}

.task.is-done .task__box {
  background: var(--mint);
  border-color: var(--mint);
  color: #fff;
  transform: scale(1.04);
}

.task.is-done .task__box .icon {
  opacity: 1;
  transform: scale(1);
}

.task.is-done {
  border-color: rgba(18, 166, 122, 0.24);
  background: rgba(18, 166, 122, 0.07);
}

.task__body {
  display: grid;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.task__title {
  font-size: 13.5px;
  font-weight: 550;
  letter-spacing: -0.01em;
  transition: opacity 0.4s, color 0.4s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task__meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task.is-done .task__title {
  color: rgba(255, 255, 255, 0.62);
}

.task__status {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  transition: color 0.4s, background-color 0.4s;
}

.task.is-done .task__status {
  color: #8ff0cd;
  background: rgba(143, 240, 205, 0.12);
}

.task.is-review .task__status {
  color: #ffd28a;
  background: rgba(255, 210, 138, 0.12);
}

.shift-card__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.42);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint-2);
  animation: pulse 2.2s ease-in-out infinite;
}

.float-bubble {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 28, 40, 0.92);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  z-index: 3;
}

.float-bubble strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
}

.float-bubble .icon {
  width: 22px;
  height: 22px;
  color: var(--mint-2);
}

.float-bubble--tg {
  left: 2%;
  bottom: -54px;
  top: auto;
  animation: float 7s ease-in-out infinite;
}

.float-bubble--stat {
  right: -24%;
  bottom: 20%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  animation: float 9s ease-in-out infinite reverse;
}

.float-bubble__value {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--mint-3);
  line-height: 1.1;
}

/* Marquee */

.marquee {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: 18px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee span {
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
}

.marquee i {
  color: var(--mint);
  opacity: 0.6;
  font-style: normal;
}

/* ---------- 5. Pain ---------- */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.pain-card {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}

.pain-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(18, 166, 122, 0.09), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}

.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(18, 166, 122, 0.28);
}

.pain-card:hover::before {
  opacity: 1;
}

.pain-card__num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  opacity: 0.5;
  font-variant-numeric: tabular-nums;
}

.pain-card__icon,
.bento-card__icon,
.case__icon,
.security-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--mint-soft);
  color: var(--mint);
  margin-bottom: 20px;
}

.pain-card__icon .icon,
.bento-card__icon .icon,
.case__icon .icon,
.security-card__icon .icon {
  width: 22px;
  height: 22px;
}

.pain-card h3 {
  font-size: 19px;
  font-weight: 620;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.pain-card p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
}

.pain-outro {
  margin-top: clamp(28px, 3.5vw, 44px);
  text-align: center;
  font-size: clamp(17px, 1.9vw, 23px);
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.pain-outro span {
  color: var(--ink);
  position: relative;
  white-space: nowrap;
}

.pain-outro span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), transparent);
}

/* ---------- How: steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: clamp(24px, 3vw, 36px) clamp(16px, 1.8vw, 26px) clamp(20px, 2vw, 28px) 0;
  border-right: 1px solid var(--line);
  transition: background-color 0.4s;
}

.step:last-child {
  border-right: 0;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mint);
  transition: width 0.9s var(--ease) 0.2s;
}

.step.is-visible:not(:last-child)::after {
  width: 100%;
}

.step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  margin-bottom: 20px;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}

.step:hover .step__index {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--mint-3);
  transform: translateY(-2px);
}

.step__body h3 {
  font-size: 17.5px;
  font-weight: 620;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.step__body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.step__tag {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

.bento-card {
  position: relative;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(18, 166, 122, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 166, 122, 0.26);
  box-shadow: var(--shadow);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card h3 {
  font-size: 18.5px;
  font-weight: 620;
  letter-spacing: -0.02em;
  margin-bottom: 9px;
}

.bento-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.bento-card--wide {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(170deg, #fff, #f7f9f5);
}

.bento-card--docs {
  grid-row: span 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 22px;
  background: linear-gradient(170deg, #fff, #f2f8f4);
}

.bento-card--docs .bento-card__text {
  min-width: 0;
}

.bento-card--cta {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(150deg, #0f1b2a, #16273a);
  border-color: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.bento-card--cta::before {
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(31, 203, 149, 0.18), transparent 62%);
}

.bento-card--cta .bento-card__icon {
  background: rgba(18, 166, 122, 0.2);
  color: var(--mint-2);
}

.bento-card--cta h3 {
  color: #fff;
}

.bento-card--cta p {
  color: rgba(255, 255, 255, 0.58);
}

.bento-card--cta .btn {
  width: fit-content;
  margin-top: 4px;
}

.bento-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--muted);
}

.bento-note .pulse-dot {
  background: var(--mint);
}

.bento-note .pulse-dot::after {
  display: none;
}

.mini-calendar {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px -30px rgba(11, 22, 32, 0.4);
}

.mini-calendar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 12px;
}

.mini-calendar__legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
}

.mini-calendar__legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

.mini-calendar__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: minmax(28px, 1fr);
  gap: 3px;
  font-size: 10.5px;
  text-align: center;
}

.mini-calendar__grid > span {
  color: var(--muted);
  opacity: 0.7;
  padding-bottom: 4px;
  font-size: 9.5px;
  text-transform: uppercase;
}

.mini-calendar__grid b {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.mini-calendar__grid b.is-active {
  background: var(--ink);
  color: #fff;
  font-weight: 650;
}

.mini-calendar__grid b.has-dot::after {
  content: "";
  position: absolute;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mint);
}

.mini-calendar__hint {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 11px;
  color: var(--muted);
}

.doc-list {
  display: grid;
  gap: 8px;
}

.doc-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 11.5px;
}

.doc-list li .icon {
  width: 15px;
  height: 15px;
  color: var(--mint);
}

.doc-list li span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doc-list li em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.doc-list li em.is-warn {
  color: #c07a1c;
  font-size: 9px;
  letter-spacing: 0;
  text-transform: none;
}

/* ---------- Telegram ---------- */

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 78% 18%, rgba(18, 166, 122, 0.14), transparent 70%);
  pointer-events: none;
}

.tg-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.tg-copy .section-sub {
  margin-top: 22px;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 32px 0;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  padding: 4px;
  box-sizing: content-box;
  border-radius: 7px;
  background: rgba(18, 166, 122, 0.16);
  color: var(--mint-2);
}

.check-list div {
  display: grid;
  gap: 2px;
}

.check-list strong {
  font-size: 15px;
  font-weight: 600;
}

.check-list span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

.tg-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(320px, 100%);
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(160deg, #21303f, #0a1218);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 60px 110px -50px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.phone__screen {
  position: relative;
  border-radius: 38px;
  background: #0e1621;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 570px;
}

.phone__screen::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 92px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #05090d;
  z-index: 3;
}

.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  font-variant-numeric: tabular-nums;
}

.phone__status-right {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.phone__status-right i {
  width: 11px;
  height: 7px;
  border-radius: 1.5px;
  background: rgba(255, 255, 255, 0.7);
}

.phone__status-right i:nth-child(2) {
  width: 8px;
  opacity: 0.7;
}

.phone__status-right b {
  width: 18px;
  height: 9px;
  border-radius: 2.5px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin-left: 3px;
  position: relative;
}

.phone__status-right b::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  right: 6px;
  border-radius: 1px;
  background: var(--mint-2);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.chat-head__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(140deg, #16b585, #0c6f51);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.chat-head div {
  display: grid;
  line-height: 1.25;
  flex: 1;
}

.chat-head strong {
  font-size: 13.5px;
  color: #fff;
}

.chat-head__status {
  font-size: 10.5px;
  color: var(--mint-2);
}

.chat-head__tg {
  color: rgba(255, 255, 255, 0.35);
  width: 16px;
  height: 16px;
}

.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 14px;
  overflow: hidden;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 26px, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 26px, #000 100%);
}

.chat-day {
  align-self: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.5);
}

.msg {
  position: relative;
  max-width: 86%;
  padding: 9px 12px 16px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.45;
  color: #eaf2ee;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.msg.is-shown {
  opacity: 1;
  transform: none;
}

.msg--in {
  align-self: flex-start;
  background: #17293a;
  border-bottom-left-radius: 6px;
}

.msg--out {
  align-self: flex-end;
  background: #14543f;
  border-bottom-right-radius: 6px;
}

.msg strong {
  font-weight: 650;
  color: #fff;
}

.msg__time {
  position: absolute;
  right: 10px;
  bottom: 4px;
  font-size: 8.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.4);
  font-variant-numeric: tabular-nums;
}

.msg--task {
  padding: 8px;
  background: #17293a;
}

.msg-task {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.msg-task__check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: transparent;
  transition: background-color 0.4s, border-color 0.4s, color 0.3s;
}

.msg-task__check .icon {
  width: 13px;
  height: 13px;
}

.msg-task.is-checked .msg-task__check {
  background: var(--mint);
  border-color: var(--mint);
  color: #fff;
}

.msg-task__text {
  flex: 1;
  font-size: 11.5px;
  color: #fff;
}

.msg-task__tag {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
}

.msg--photo {
  padding: 6px;
  background: #14543f;
}

.msg-photo {
  width: 132px;
  height: 84px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2b4a5e, #17303f);
  position: relative;
  overflow: hidden;
}

.msg-photo span {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 8px, transparent 8px 16px);
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 12px 14px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

.chat-input .icon {
  width: 15px;
  height: 15px;
}

.phone__glow {
  position: absolute;
  inset: 8% -20% -12%;
  z-index: -1;
  background: radial-gradient(circle at 50% 40%, rgba(18, 166, 122, 0.35), transparent 62%);
  filter: blur(50px);
}

.tg-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(16, 28, 40, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 11.5px;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 40px -22px rgba(0, 0, 0, 0.9);
}

.tg-badge .icon {
  width: 15px;
  height: 15px;
  color: var(--mint-2);
}

.tg-badge--1 {
  left: -9%;
  bottom: 18%;
  animation: float 8s ease-in-out infinite;
}

.tg-badge--2 {
  right: -6%;
  top: 14%;
  animation: float 10s ease-in-out infinite reverse;
}

/* ---------- Security ---------- */

.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.security-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

.security-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.45s;
}

.security-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 166, 122, 0.26);
  box-shadow: var(--shadow);
}

.security-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.security-card__icon .icon {
  width: 19px;
  height: 19px;
}

.security-card h3 {
  font-size: 16px;
  font-weight: 620;
  letter-spacing: -0.015em;
  margin-bottom: 7px;
}

.security-card p {
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--muted);
}

.security-diagram {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #fff, #eef3ee);
  box-shadow: var(--shadow);
}

.diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 66px minmax(0, 1.15fr) 66px minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.diagram__node {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 16px 8px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
  font-size: 12px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.diagram__node:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 166, 122, 0.3);
}

.diagram__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--mint-soft);
  color: var(--mint);
  margin-bottom: 6px;
}

.diagram__icon .icon {
  width: 17px;
  height: 17px;
}

.diagram__node strong {
  font-size: 12px;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.diagram__node small {
  font-size: 10px;
  color: var(--muted);
  opacity: 0.8;
}

.diagram__node--core {
  position: relative;
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  padding-block: 22px;
}

.diagram__node--core small {
  color: rgba(255, 255, 255, 0.55);
}

.diagram__node--core .diagram__icon {
  background: rgba(18, 166, 122, 0.2);
  color: var(--mint-3);
}

.diagram__pulse {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(18, 166, 122, 0.6);
  animation: core-pulse 3.2s ease-out infinite;
  pointer-events: none;
}

.diagram__link {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 66px;
  height: 40px;
}

.diagram__link i {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px);
}

.diagram__link span {
  position: relative;
  padding: 0 6px;
  background: #f4f7f3;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  opacity: 0.8;
}

.diagram__caption {
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

/* ---------- Metrics ---------- */

.metrics {
  position: relative;
  padding-block: clamp(52px, 6.5vw, 84px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.metrics::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, #000, transparent 78%);
}

.metrics::after {
  content: "";
  position: absolute;
  inset: auto 0 -60% 50%;
  width: 70vw;
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(18, 166, 122, 0.22), transparent 68%);
  filter: blur(40px);
}

.metrics-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.metric {
  display: grid;
  gap: 8px;
  align-content: start;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.metric__value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.metric__value i {
  font-style: normal;
  font-size: 0.36em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--mint-2);
}

.metric__label {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  max-width: 24ch;
}

.metrics__note {
  position: relative;
  margin-top: 34px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.32);
}

/* ---------- Cases ---------- */

.cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 20px);
}

.case {
  position: relative;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.4s, box-shadow 0.45s;
}

.case::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 166, 122, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s, transform 0.6s var(--ease);
}

.case:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 166, 122, 0.26);
  box-shadow: var(--shadow);
}

.case:hover::after {
  opacity: 1;
  transform: scale(1.3);
}

.case__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 16px;
  transition: background-color 0.4s, color 0.4s, transform 0.45s var(--ease);
}

.case:hover .case__icon {
  background: var(--mint);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}

.case h3 {
  font-size: 16.5px;
  font-weight: 620;
  letter-spacing: -0.015em;
  margin-bottom: 7px;
}

.case p {
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--muted);
}

/* ---------- 6. Pricing ---------- */

.pricing-head-side {
  display: grid;
  gap: 22px;
}

.billing-toggle {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  width: fit-content;
}

.billing-toggle button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s;
  white-space: nowrap;
}

.billing-toggle button b {
  font-size: 11px;
  font-weight: 650;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(18, 166, 122, 0.12);
  color: var(--mint);
}

.billing-toggle button.is-active {
  color: #fff;
}

.billing-toggle button.is-active b {
  background: rgba(255, 255, 255, 0.16);
  color: var(--mint-3);
}

.billing-toggle__thumb {
  position: absolute;
  z-index: 1;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: var(--thumb-w, calc(50% - 4px));
  border-radius: 999px;
  background: var(--ink);
  transform: translateX(var(--thumb-x, 0));
  transition: transform 0.45s var(--ease), width 0.45s var(--ease);
}

.billing-toggle[data-position="1"] .billing-toggle__thumb {
  width: var(--thumb-w, calc(50% - 4px));
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}

.plan:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.plan--featured {
  background: linear-gradient(170deg, #10202f, #0a141d);
  border-color: rgba(18, 166, 122, 0.45);
  color: #fff;
  box-shadow: 0 40px 80px -46px rgba(8, 30, 24, 0.75);
}

.plan--featured:hover {
  box-shadow: 0 50px 90px -40px rgba(8, 30, 24, 0.8);
}

.plan__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(18, 166, 122, 0.16);
  border: 1px solid rgba(31, 203, 149, 0.3);
  color: var(--mint-3);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.plan__badge .icon {
  width: 11px;
  height: 11px;
}

.plan__top h3 {
  font-size: 21px;
  font-weight: 630;
  letter-spacing: -0.025em;
}

.plan__top p {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted);
}

.plan--featured .plan__top p {
  color: rgba(255, 255, 255, 0.5);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 22px;
  font-variant-numeric: tabular-nums;
}

.plan__amount {
  font-size: clamp(2.1rem, 1.5rem + 1.6vw, 2.7rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.plan__cur {
  font-size: 1.4rem;
  font-weight: 550;
  color: var(--muted);
}

.plan__period {
  font-size: 13px;
  color: var(--muted);
}

.plan--featured .plan__cur,
.plan--featured .plan__period {
  color: rgba(255, 255, 255, 0.5);
}

.plan__save {
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 550;
  color: var(--mint);
}

.plan--featured .plan__save {
  color: var(--mint-3);
}

.plan__summary {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  min-height: 2.9em;
}

.plan--featured .plan__summary {
  color: rgba(255, 255, 255, 0.58);
}

.plan .btn {
  margin-top: 22px;
}

.plan--featured .btn--primary {
  box-shadow: 0 16px 36px -18px rgba(18, 166, 122, 0.9);
}

.plan__features {
  display: grid;
  gap: 11px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.plan--featured .plan__features {
  border-color: rgba(255, 255, 255, 0.1);
}

.plan__features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.5;
}

.plan__features .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--mint);
}

.plan--featured .plan__features .icon {
  color: var(--mint-2);
}

.plan__features li:nth-child(n + 7) {
  color: var(--muted);
}

.plan--featured .plan__features li:nth-child(n + 7) {
  color: rgba(255, 255, 255, 0.6);
}

.plans-note {
  max-width: 74ch;
  margin-top: 26px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.compare {
  margin-top: clamp(40px, 5vw, 64px);
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.compare table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 13px;
}

.compare th,
.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.compare thead th {
  position: sticky;
  top: 0;
  background: #fbfcfa;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.compare thead th:not(:first-child) {
  text-align: center;
}

.compare tbody th {
  font-weight: 500;
  font-size: 13.5px;
}

.compare td {
  text-align: center;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.compare td .icon {
  width: 16px;
  height: 16px;
  margin-inline: auto;
  color: var(--mint);
}

.compare td.is-off {
  color: rgba(11, 22, 32, 0.3);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare tbody tr:hover {
  background: #f9fbf8;
}

.compare-mobile {
  display: none;
  padding: 6px 16px;
}

.compare-mobile__row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.compare-mobile__row:last-child {
  border-bottom: 0;
}

.compare-mobile__label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.compare-mobile__values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.compare-mobile__cell {
  display: grid;
  gap: 2px;
  padding: 7px 8px;
  border-radius: 9px;
  background: #f8faf6;
  text-align: center;
}

.compare-mobile__cell span {
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.compare-mobile__cell b {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.compare-mobile__cell b.is-check .icon {
  width: 15px;
  height: 15px;
  color: var(--mint);
}

.compare-mobile__cell b.is-off {
  color: rgba(11, 22, 32, 0.3);
}

/* ---------- Calculator ---------- */

.calculator-section {
  background: var(--paper);
}

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.calc__form {
  display: grid;
  gap: clamp(22px, 2.4vw, 30px);
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.calc__block {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.calc__block legend {
  padding: 0;
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.segmented {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.segmented__item {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.segmented__item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented__item span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--muted);
  transition: color 0.3s;
  text-align: center;
}

.segmented__item span i {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mint);
  background: var(--mint-soft);
  border-radius: 999px;
  padding: 2px 5px;
}

.segmented__item input:checked + span {
  color: #fff;
}

.segmented__item input:checked + span i {
  color: var(--ink);
  background: var(--mint-3);
}

.segmented__item input:focus-visible + span {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.segmented__thumb {
  position: absolute;
  z-index: 1;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 11px;
  background: var(--ink);
  transition: transform 0.45s var(--ease);
}

.segmented[data-index="1"] .segmented__thumb {
  transform: translateX(100%);
}

.segmented[data-index="2"] .segmented__thumb {
  transform: translateX(200%);
}

.range-field {
  margin-bottom: 24px;
}

.range-field:last-child {
  margin-bottom: 0;
}

.range-field__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.range-field__head label {
  font-size: 14px;
  font-weight: 550;
}

.range-field__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10.5px;
  color: var(--muted);
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}

.number-input {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #fff;
}

.number-input__btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.number-input__btn:hover {
  background: var(--ink);
  color: #fff;
}

.number-input__btn .icon {
  width: 14px;
  height: 14px;
}

.number-input input {
  width: 58px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}

.number-input input::-webkit-outer-spin-button,
.number-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
}

.range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint) 0 var(--fill, 20%), rgba(11, 22, 32, 0.1) var(--fill, 20%) 100%);
}

.range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(11, 22, 32, 0.1);
}

.range::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--mint);
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 0 4px 12px rgba(11, 22, 32, 0.18);
  transition: transform 0.2s, border-color 0.2s;
}

.range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 0 4px 12px rgba(11, 22, 32, 0.18);
}

.range:active::-webkit-slider-thumb {
  transform: scale(1.12);
  border-color: var(--mint);
}

.range:focus-visible::-webkit-slider-thumb {
  border-color: var(--mint);
}

.billing-toggle--inline {
  background: var(--paper);
}

.addons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.addon {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s, transform 0.25s var(--ease);
  -webkit-user-select: none;
  user-select: none;
}

.addon:hover {
  border-color: rgba(18, 166, 122, 0.35);
  transform: translateY(-1px);
}

.addon:has(input:checked) {
  border-color: var(--mint);
  background: var(--mint-soft);
}

.addon input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.addon__box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 7px;
  border: 1.5px solid rgba(11, 22, 32, 0.2);
  background: #fff;
  color: transparent;
  transition: background-color 0.25s, border-color 0.25s, color 0.2s;
}

.addon__box .icon {
  width: 13px;
  height: 13px;
}

.addon input:checked + .addon__box {
  background: var(--mint);
  border-color: var(--mint);
  color: #fff;
}

.addon input:focus-visible + .addon__box {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.addon__body {
  display: grid;
  line-height: 1.3;
  min-width: 0;
}

.addon__body strong {
  font-size: 12.5px;
  font-weight: 550;
}

.addon__body small {
  font-size: 10.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* summary */

.calc__summary {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, #10202f, #0a141d);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.calc__summary::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto;
  height: 240px;
  background: radial-gradient(ellipse at center, rgba(18, 166, 122, 0.32), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}

.calc__summary-label {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.calc__summary-label span {
  color: var(--mint-3);
}

.calc__total {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.calc__total > span:first-child {
  font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.2rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
  transition: opacity 0.2s;
}

.calc__total-cur {
  font-size: 1.3rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.calc__total-note {
  position: relative;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.45);
}

.calc__saving {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(18, 166, 122, 0.18);
  border: 1px solid rgba(31, 203, 149, 0.28);
  color: var(--mint-3);
  font-size: 11px;
  font-weight: 600;
  width: fit-content;
}

.calc__lines {
  position: relative;
  display: grid;
  gap: 9px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.calc__line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  font-size: 12px;
  animation: fade-slide 0.35s var(--ease);
}

.calc__line dt,
.calc__line .calc__line-label {
  color: rgba(255, 255, 255, 0.62);
}

.calc__line .calc__line-detail {
  grid-column: 1;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.32);
}

.calc__line .calc__line-amount {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #fff;
  white-space: nowrap;
}

.calc__hint {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.calc__includes {
  position: relative;
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.calc__includes li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

.calc__includes .icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--mint-2);
}

.nowrap {
  white-space: nowrap;
}

.calc__hint .icon {
  width: 14px;
  height: 14px;
  color: var(--mint-2);
  flex: 0 0 auto;
  margin-top: 1px;
}

.calc__actions {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.calc__disclaimer {
  font-size: 10px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.32);
  text-align: center;
}

/* ---------- 7. FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.faq-head {
  position: sticky;
  top: 110px;
}

.faq-head .section-sub {
  margin-top: 20px;
  margin-bottom: 28px;
}

.faq-list {
  display: grid;
  gap: 0;
  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: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 550;
  letter-spacing: -0.01em;
  transition: color 0.25s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--mint);
}

.faq-item__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}

.faq-item__icon .icon {
  width: 14px;
  height: 14px;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.faq-item__body {
  overflow: hidden;
}

.faq-item__body p {
  padding: 0 44px 24px 4px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  animation: fade-slide 0.35s var(--ease);
}

/* ---------- Demo ---------- */

.demo-section {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(64px, 9vw, 120px);
}

.demo__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.demo__glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 780px;
  max-height: 780px;
  right: -14%;
  top: -24%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 166, 122, 0.34), transparent 64%);
  filter: blur(70px);
}

.demo__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n2)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: overlay;
}

.demo-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.demo-copy {
  padding-top: 8px;
}

.demo-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.demo-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
}

.demo-points .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--mint-2);
}

.demo-contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-contacts > * {
  display: grid;
  gap: 3px;
}

.demo-contacts span {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.demo-contacts strong {
  font-size: 13.5px;
  font-weight: 550;
  transition: color 0.25s;
}

.demo-contacts a:hover strong {
  color: var(--mint-2);
}

.demo-form-wrap {
  position: relative;
}

.lead-form {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9);
}

.lead-form__head {
  margin-bottom: 22px;
}

.lead-form__head h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 630;
  letter-spacing: -0.025em;
}

.lead-form__head p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 11.5px;
  font-weight: 550;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.field label span {
  color: var(--mint);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fbfcfa;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  resize: vertical;
  min-height: 84px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(11, 22, 32, 0.32);
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(11, 22, 32, 0.2);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mint);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(18, 166, 122, 0.13);
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--danger);
  background: #fdf5f4;
}

.field__error {
  font-size: 11px;
  color: var(--danger);
  min-height: 0;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.2s, transform 0.2s;
}

.field.has-error .field__error,
.field__error.is-visible {
  opacity: 1;
  transform: none;
}

.field__error--consent {
  display: block;
  margin-top: 4px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  cursor: pointer;
  position: relative;
}

.consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent__box {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 1px;
  border-radius: 6px;
  border: 1.5px solid rgba(11, 22, 32, 0.24);
  background: #fff;
  color: transparent;
  transition: background-color 0.25s, border-color 0.25s, color 0.2s;
}

.consent__box .icon {
  width: 12px;
  height: 12px;
}

.consent input:checked + .consent__box {
  background: var(--mint);
  border-color: var(--mint);
  color: #fff;
}

.consent input:focus-visible + .consent__box {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.consent__text {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.consent__text a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(18, 166, 122, 0.5);
  text-underline-offset: 2px;
}

.consent.has-error .consent__box {
  border-color: var(--danger);
}

.honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.lead-form > .btn {
  margin-top: 18px;
}

.lead-form__foot {
  margin-top: 12px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.calc-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--mint-soft);
  border: 1px solid rgba(18, 166, 122, 0.24);
  animation: fade-slide 0.35s var(--ease);
}

.calc-badge span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
}

.calc-badge strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
}

.calc-badge__reset {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  font-size: 11.5px;
  font-weight: 550;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.form-state {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.985);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: fade-in 0.4s var(--ease);
}

.form-state__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  max-width: 320px;
}

.form-state__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--mint);
  color: #fff;
  margin-bottom: 8px;
  box-shadow: 0 18px 36px -18px rgba(18, 166, 122, 0.9);
  animation: pop 0.5s var(--ease);
}

.form-state__icon.is-error {
  background: var(--danger);
  box-shadow: 0 18px 36px -18px rgba(210, 75, 63, 0.8);
}

.form-state__icon .icon {
  width: 30px;
  height: 30px;
}

.form-state h4 {
  font-size: 20px;
  font-weight: 630;
  letter-spacing: -0.02em;
}

.form-state p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.form-state__id {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--paper);
  padding: 4px 10px;
  border-radius: 999px;
}

.form-state .btn {
  margin-top: 10px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #070d13;
  color: rgba(255, 255, 255, 0.6);
  padding-top: clamp(48px, 6vw, 76px);
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: clamp(28px, 5vw, 72px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  max-width: 34ch;
}

.footer-mail {
  display: inline-block;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 550;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}

.footer-mail:hover {
  color: var(--mint-2);
  border-color: var(--mint-2);
}

.footer-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 24px;
}

.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-col h4 {
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13.5px;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 22px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.32);
}

.footer-bottom__note {
  margin-left: auto;
}

/* ---------- Mobile CTA ---------- */

.mobile-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 80;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-top: 1px solid rgba(11, 22, 32, 0.08);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease);
}

.mobile-cta.is-visible {
  transform: none;
}

.mobile-cta .btn {
  flex: 1;
  min-width: 0;
  padding: 13px 14px;
  font-size: 14px;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 150;
  max-width: min(92vw, 420px);
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(11, 22, 32, 0.95);
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.35s;
  pointer-events: none;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.toast.is-error {
  background: rgba(120, 32, 26, 0.97);
}

/* ---------- Reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 8. Адаптив ---------- */

@media (max-width: 1100px) {
  .nav__link {
    padding: 9px 10px;
    font-size: 13.5px;
  }

  .float-bubble--tg {
    display: none;
  }

  .float-bubble--stat {
    right: 0;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-card--wide {
    grid-row: span 1;
  }

  .bento-card--docs {
    grid-column: span 2;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:nth-child(2) {
    border-right: 0;
  }

  .step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .step:nth-child(n + 3) {
    padding-top: 28px;
  }

  .calc {
    grid-template-columns: minmax(0, 1fr);
  }

  .calc__summary {
    position: relative;
    top: 0;
  }

  .calc__lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .btn {
    display: none;
  }

  .header-login {
    display: none;
  }

  .hero {
    padding-top: 106px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hero__copy {
    max-width: none;
  }

  .hero__visual {
    justify-content: flex-start;
  }

  .device {
    max-width: 480px;
    margin-inline: auto;
  }

  .float-bubble--tg {
    left: 0;
  }

  .section-head--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .section-head--split .section-sub {
    margin-top: 4px;
  }

  .tg-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .tg-visual {
    order: 2;
  }

  .tg-badge--1 {
    left: 2%;
  }

  .tg-badge--2 {
    right: 2%;
  }

  .security-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .faq-head {
    position: relative;
    top: 0;
  }

  .demo-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .demo-contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan--featured {
    transform: none;
  }

  .plans {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .plan__summary {
    min-height: 0;
  }

  .pricing-head-side {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 84px;
  }

  body {
    padding-bottom: 0;
  }

  .mobile-cta {
    display: flex;
  }

  .header-inner {
    height: 56px;
    padding-inline: 12px;
  }

  .site-header {
    inset: 8px 0 auto;
  }

  .logo__mark {
    width: 30px;
    height: 30px;
  }

  .logo__word {
    font-size: 19px;
  }

  .hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .hero__stats dt {
    font-size: 18px;
  }

  .hero__stats dd {
    font-size: 10.5px;
  }

  .pain-grid,
  .cases,
  .security-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }

  .step:last-child {
    border-bottom: 0;
  }

  .bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .bento-card--wide,
  .bento-card--docs {
    grid-column: auto;
  }

  .bento-card--cta {
    grid-column: auto;
  }

  .bento-card--docs {
    grid-template-columns: minmax(0, 1fr);
  }

  .float-bubble {
    display: none;
  }

  .doc-list {
    margin-top: 4px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .metric {
    padding-left: 12px;
  }

  .metric__label {
    font-size: 11.5px;
  }

  .faq-item summary {
    padding: 18px 0;
  }

  .compare {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .compare table {
    display: none;
  }

  .compare-mobile {
    display: block;
    padding: 0;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fff;
    padding-inline: 16px;
  }

  .faq-item__body p {
    padding-right: 12px;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .addons {
    grid-template-columns: minmax(0, 1fr);
  }

  .segmented__item span {
    font-size: 12.5px;
    padding: 10px 4px;
  }

  .segmented__item span i {
    display: none;
  }

  .calc__form {
    padding: 18px;
  }

  .calc__lines {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .footer-bottom__note {
    margin-left: 0;
  }

  .toast {
    bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .marquee__track {
    animation-duration: 28s;
  }

  .shift-card__progress-copy span {
    font-size: 10.5px;
  }

  .tg-badge {
    display: none;
  }

  .float-bubble--stat {
    right: 0;
  }

  .device {
    max-width: 420px;
  }
}

@media (max-width: 560px) {
  .hero__glow--mint {
    left: 10%;
    top: -6%;
    min-width: 320px;
    min-height: 320px;
  }

  .hero__title {
    font-size: clamp(2.15rem, 9.4vw, 2.9rem);
  }

  .hero__lead {
    font-size: 15px;
  }

  .hero__cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .hero__stats > div:last-child {
    grid-column: 1 / -1;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
  }

  .float-bubble {
    display: none;
  }

  .shift-card {
    border-radius: 24px;
  }

  .task__status {
    display: none;
  }

  .phone__screen {
    height: 520px;
  }

  .demo-contacts {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .lead-form {
    padding: 20px 18px;
  }

  .plans-note {
    font-size: 11px;
  }

  .mobile-cta .btn--outline {
    flex: 0 0 38%;
  }

  .marquee span {
    font-size: 10.5px;
  }

  .metrics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .metric {
    display: flex;
    align-items: baseline;
    gap: 12px;
  }

  .metric__value {
    min-width: 118px;
  }

  .metric__label {
    max-width: none;
  }

  .calc__total > span:first-child {
    font-size: 2.5rem;
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: 2rem;
  }

  .shift-card__head {
    flex-direction: column;
    gap: 8px;
  }

  .shift-card__time {
    align-self: flex-start;
  }

  .number-input input {
    width: 46px;
  }

  .calc__summary {
    padding: 18px;
  }
}

/* ---------- Motion / a11y ---------- */

@keyframes line-up {
  from {
    transform: translateY(112%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes underline-grow {
  to {
    transform: scaleX(1);
  }
}

@keyframes draw-check {
  0% {
    stroke-dashoffset: 0;
  }
  40% {
    stroke-dashoffset: 56;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.88);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4%, 6%, 0) scale(1.12);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fade-slide {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  60% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes core-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.12);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero__title .line > span {
    transform: none;
  }

  .hero__title em::after {
    transform: scaleX(1);
  }
}

@media (hover: none) {
  .pain-card:hover,
  .bento-card:hover,
  .case:hover,
  .plan:hover,
  .security-card:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .mobile-cta,
  .float-bubble,
  .marquee,
  .toast,
  .scroll-progress {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .section {
    padding-block: 24px;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Safari / iOS tweaks ---------- */

@supports (-webkit-touch-callout: none) {
  .field input,
  .field textarea {
    font-size: 16px;
  }

  .hero {
    min-height: 100svh;
  }

  .mobile-cta {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}


/* Variant A: first-screen diagnostic */
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.hero__points li {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  line-height: 1;
}

.hero-diagnostic {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(143, 240, 205, 0.2);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(23, 38, 54, 0.94), rgba(10, 20, 30, 0.97));
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-diagnostic::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 170px;
  background: radial-gradient(ellipse at 30% 0%, rgba(18, 166, 122, 0.32), transparent 70%);
  pointer-events: none;
}

.hero-diagnostic__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-diagnostic__eyebrow {
  color: var(--mint-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-diagnostic__tag {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10.5px;
  white-space: nowrap;
}

.hero-diagnostic h2 {
  position: relative;
  margin-top: 18px;
  color: #fff;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero-diagnostic__list {
  position: relative;
  display: grid;
  gap: 9px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.hero-diagnostic__list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-diagnostic__num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(18, 166, 122, 0.13);
  color: var(--mint-3);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hero-diagnostic__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.hero-diagnostic__body strong {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.hero-diagnostic__body small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 11.5px;
  line-height: 1.35;
}

.hero-diagnostic__mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.hero-diagnostic__foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11.5px;
}

@media (max-width: 700px) {
  .hero__points {
    gap: 6px;
    margin-top: 14px;
  }

  .hero__points li {
    padding: 6px 9px;
    font-size: 11.5px;
  }

  .hero-diagnostic {
    padding: 18px;
  }

  .hero-diagnostic h2 {
    margin-top: 14px;
    font-size: 24px;
  }

  .hero-diagnostic__list {
    margin-top: 15px;
  }

  .hero-diagnostic__list li {
    grid-template-columns: 32px minmax(0, 1fr) 22px;
    gap: 9px;
    padding: 11px 10px;
  }

  .hero-diagnostic__num {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }
}


/* Interactive industry selector */
.hero-industry {
  position: relative;
  display: inline-block;
  margin-bottom: 26px;
}

.hero-industry__trigger {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.hero-industry__trigger:hover {
  border-color: rgba(143, 240, 205, 0.32);
}

.hero-industry__chevron {
  margin-left: 2px;
  color: var(--mint-3);
  font-size: 15px;
  line-height: 1;
  transition: transform 0.2s var(--ease-soft);
}

.hero-industry__trigger[aria-expanded="true"] .hero-industry__chevron {
  transform: rotate(180deg);
}

.hero-industry__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: min(430px, calc(100vw - 48px));
  max-height: 340px;
  padding: 8px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(14, 26, 37, 0.98);
  box-shadow: 0 28px 70px -20px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.hero-industry__menu[hidden] {
  display: none;
}

.hero-industry__option {
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 12px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.hero-industry__option:hover,
.hero-industry__option:focus-visible {
  outline: none;
  border-color: rgba(143, 240, 205, 0.24);
  background: rgba(143, 240, 205, 0.08);
  color: #fff;
}

.hero-industry__option[aria-selected="true"] {
  border-color: rgba(143, 240, 205, 0.28);
  background: rgba(18, 166, 122, 0.16);
  color: var(--mint-3);
}

@media (max-width: 700px) {
  .hero-industry {
    margin-bottom: 20px;
    max-width: 100%;
  }

  .hero-industry__trigger {
    max-width: 100%;
    text-align: left;
  }

  .hero-industry__menu {
    width: min(340px, calc(100vw - 32px));
    grid-template-columns: minmax(0, 1fr);
    max-height: 300px;
  }
}


@media (min-width: 900px) {
  .hero__title {
    font-size: clamp(2.8rem, 1.2rem + 4vw, 4.25rem);
  }
}


/* Example shift after the hero */
.example-section {
  background: #f3f7f5;
}

.example-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.example-grid {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.example-phone-wrap {
  display: flex;
  justify-content: center;
}

.example-phone {
  width: 100%;
  max-width: 340px;
}

.example-phone .phone__screen {
  min-height: 610px;
}

.manager-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(11, 22, 32, 0.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 70px -44px rgba(11, 22, 32, 0.4);
}

.manager-card__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.manager-card__eyebrow {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.manager-card__head h3 {
  margin-top: 5px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 25px);
  letter-spacing: -0.03em;
}

.manager-card__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid rgba(18, 166, 122, 0.24);
  border-radius: 999px;
  color: #0b7b5c;
  font-size: 10.5px;
  white-space: nowrap;
}

.manager-card__live i,
.manager-card__alert i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

.manager-card__score {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 15px 16px;
  border-radius: 14px;
  background: #f3f7f5;
}

.manager-card__score strong {
  color: #0b7b5c;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.manager-card__score div {
  display: grid;
  gap: 2px;
  font-size: 12.5px;
  color: var(--muted);
}

.manager-card__score small {
  font-size: 11px;
  color: var(--muted-2);
}

.manager-card__list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.manager-card__list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(11, 22, 32, 0.08);
  border-radius: 12px;
}

.manager-card__num {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: #f3f7f5;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.manager-card__list li > span:nth-child(2) {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.manager-card__list strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.manager-card__list small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.manager-card__list em {
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}

.manager-card__list li.is-done em {
  background: #e3f5ee;
  color: #087457;
}

.manager-card__list li.is-wait em {
  background: #fff3dc;
  color: #9a6210;
}

.manager-card__list li.is-plan em {
  background: #f1f3f5;
  color: #64748b;
}

.manager-card__alert {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff8e9;
  color: #7a5312;
  font-size: 11.5px;
}

.manager-card__alert strong {
  font-weight: 650;
}

.manager-card__alert span {
  color: #8a6a30;
}

.manager-card .btn {
  margin-top: 18px;
}

.example-note {
  margin-top: 9px;
  color: var(--muted-2);
  font-size: 10.5px;
  text-align: center;
}

@media (max-width: 860px) {
  .example-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .example-phone-wrap {
    justify-content: flex-start;
  }

  .example-phone {
    max-width: 330px;
  }

  .example-phone .phone__screen {
    min-height: 560px;
  }
}


/* Contact method choice */
.contact-method {
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-method legend {
  padding: 0;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 550;
}

.contact-method__options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.contact-method__options label {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.contact-method__options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-method__options span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.contact-method__options input:checked + span {
  border-color: var(--mint);
  background: #edf9f4;
  color: #087457;
  font-weight: 600;
}

.contact-method__options input:focus-visible + span {
  outline: 2px solid rgba(18, 166, 122, 0.35);
  outline-offset: 2px;
}

.contact-method__note {
  margin-top: 7px;
  color: var(--muted-2);
  font-size: 10.5px;
}

.field[hidden] {
  display: none;
}


.pricing-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
