:root {
  --bg: #030b15;
  --bg-2: #061426;
  --surface: #0a1d33;
  --surface-2: #0d2542;
  --line: rgb(120 170 220 / 0.16);
  --line-strong: rgb(56 160 255 / 0.45);
  --primary: #0b8dff;
  --primary-2: #38bdf8;
  --text: #eaf2fb;
  --muted: #a3b6c9;
  --light-bg: #f3f7fb;
  --ink: #0b1b2c;
  --ink-muted: #4a5d71;
  --danger: #ff6b6b;
  --success: #34d399;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 18px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 24px 60px rgb(0 0 0 / 0.35);
}

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

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

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

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

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

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

.scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 12px;
  pointer-events: none;
}

/* Infinite animations stop while their section is off-screen. */
.is-paused,
.is-paused *,
.is-paused *::before,
.is-paused *::after { animation-play-state: paused !important; }

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

.container {
  width: min(1200px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* Buttons */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, border-color 0.25s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #1f6bff);
  box-shadow: 0 12px 30px rgb(11 141 255 / 0.35);
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}

.btn--primary:hover { box-shadow: 0 16px 40px rgb(11 141 255 / 0.5); }
.btn--primary:hover::after { transform: translateX(120%); }

.btn--ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgb(11 141 255 / 0.06);
}

.btn--ghost:hover {
  border-color: var(--primary);
  background: rgb(11 141 255 / 0.14);
}

.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 16px 26px; font-size: 16px; }

/* Header */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled,
.header.is-open {
  background: rgb(3 11 21 / 0.94);
  border-color: var(--line);
}

/* Blur only for mouse devices: on phones it re-renders on every scroll frame. */
@media (hover: hover) and (pointer: fine) {
  .header.is-scrolled,
  .header.is-open {
    background: rgb(3 11 21 / 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand img { height: 44px; width: auto; }

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  position: relative;
  padding-block: 6px;
  color: #c9d7e5;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover,
.nav a.is-active { color: #fff; }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.03);
}

.lang button {
  padding: 6px 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { background: var(--primary); color: #fff; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.03);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.burger span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.header.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; }
.header.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + clamp(32px, 7vw, 80px)) clamp(40px, 6vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(40px, 6vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 78% 30%, rgb(11 141 255 / 0.22), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgb(56 189 248 / 0.1), transparent 70%),
    linear-gradient(180deg, #020812, var(--bg));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(120 170 220 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(120 170 220 / 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgb(11 141 255 / 0.08);
  color: #8fd0ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.pill__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-2);
}

.pill__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--primary-2);
  animation: pulse 2s var(--ease) infinite;
}

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.3rem, 5.6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero__title span {
  background: linear-gradient(90deg, var(--primary), var(--primary-2), var(--primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 2.4s var(--ease) 0.6s both;
}

.hero__text {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__visual {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}

/* Animated wrappers with static filtered children: the blur/shadow is rasterized once. */
.hero__glow {
  position: absolute;
  inset: 18%;
  animation: breathe 5s ease-in-out infinite;
  will-change: transform, opacity;
}

.hero__glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(11 141 255 / 0.45), transparent 70%);
  filter: blur(30px);
}

.hero__emblem {
  position: relative;
  width: 68%;
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}

.hero__emblem img {
  width: 100%;
  filter: drop-shadow(0 10px 40px rgb(11 141 255 / 0.45));
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgb(56 160 255 / 0.35);
  will-change: transform;
}

.orbit--outer { inset: 0; animation: spin 40s linear infinite; }
.orbit--inner { inset: 13%; border-style: solid; border-color: rgb(56 160 255 / 0.15); animation: spin 28s linear infinite reverse; }

.orbit--outer::before,
.orbit--inner::before {
  content: "";
  position: absolute;
  top: -5px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 16px var(--primary-2);
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgb(8 24 44 / 0.92);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}

.chip .icon { color: var(--primary-2); }
.chip--1 { top: 8%; left: -2%; animation-delay: -1s; }
.chip--2 { top: 20%; right: -4%; animation-delay: -2.5s; }
.chip--3 { bottom: 16%; left: -6%; animation-delay: -4s; }
.chip--4 { bottom: 6%; right: 2%; animation-delay: -3s; }

.features {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(8 24 44 / 0.78);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.feature:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.feature .icon {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 10px;
  background: rgb(11 141 255 / 0.14);
  color: var(--primary-2);
}

/* Sections */

.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 112px);
}

.section[id] { scroll-margin-top: calc(var(--header-h) - 8px); }

.section--light { background: var(--light-bg); color: var(--ink); }
.section--dark { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }

.section__head {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.kicker {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.section__title {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3.6vw, 2.75rem);
  font-weight: 800;
}

.section__text {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
}

.section--light .section__text { color: var(--ink-muted); }

.list {
  display: grid;
  gap: 12px;
}

.list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.list .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgb(11 141 255 / 0.15);
  color: var(--primary);
  stroke-width: 3;
}

.list--muted .icon { background: rgb(74 93 113 / 0.12); color: var(--ink-muted); }

/* About */

.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px;
}

.compare__card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid #dbe5ee;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 50px rgb(23 53 75 / 0.07);
}

.compare__card h3 { margin-bottom: 22px; font-size: 1.25rem; }
.compare__card .list { color: var(--ink-muted); }

.compare__card--accent {
  border-color: transparent;
  color: #fff;
  background:
    radial-gradient(80% 60% at 100% 0%, rgb(11 141 255 / 0.35), transparent 60%),
    linear-gradient(150deg, #0a2540, #061527);
  box-shadow: 0 24px 60px rgb(11 60 110 / 0.35);
}

.compare__card--accent .list { color: #d3e2f0; }
.compare__card--accent .list .icon { color: var(--primary-2); background: rgb(56 189 248 / 0.16); }

/* Services */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}

.service {
  --x: 0px;
  --y: 0px;
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

/* Cursor glow is moved with transform, so following the mouse never repaints. */
.service::before {
  content: "";
  position: absolute;
  top: calc(50% - 160px);
  left: calc(50% - 160px);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(11 141 255 / 0.2), transparent);
  opacity: 0;
  transform: translate(var(--x), var(--y));
  transition: opacity 0.35s;
  pointer-events: none;
}

.service:hover { transform: translateY(-6px); border-color: var(--line-strong); }

@media (hover: hover) and (pointer: fine) {
  .service::before { will-change: transform; }
  .service:hover::before { opacity: 1; }
}

.service__icon {
  position: relative;
  width: 52px;
  height: 52px;
  padding: 13px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgb(11 141 255 / 0.22), rgb(56 189 248 / 0.08));
  color: var(--primary-2);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}

.service:hover .service__icon { transform: scale(1.08) rotate(-4deg); }

.service h3 { position: relative; margin-top: 20px; font-size: 1.125rem; }
.service p { position: relative; margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }

/* Process */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 28px;
}

.step small {
  display: block;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.step h3 { margin-top: 4px; font-size: 1.1875rem; }
.step p { margin-top: 8px; color: var(--ink-muted); font-size: 0.9375rem; }

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #1f6bff);
  box-shadow: 0 14px 30px rgb(11 141 255 / 0.3);
}

.step__num .icon { width: 26px; height: 26px; }

/* Plans */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.plan:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.plan h3 { font-size: 1.375rem; letter-spacing: 0.02em; }
.plan > p { margin-top: 6px; color: var(--muted); font-size: 0.9375rem; }
.plan > .plan__tier { margin-top: 10px; color: var(--primary-2); font-size: 1rem; font-weight: 700; }
.plan .list { margin-block: 24px 28px; font-size: 0.9375rem; color: #d6e3ef; }
.plan .btn { margin-top: auto; width: 100%; }

.plan--hot,
.plan--hot:hover {
  isolation: isolate;
  border-color: transparent;
  background: none;
  box-shadow: 0 0 60px rgb(11 141 255 / 0.18);
}

/* Animated gradient border: a rotating conic layer behind a 1px inset card face. */
.plan__border {
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  overflow: hidden;
  container-type: size;
}

.plan__border::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  width: 145cqmax;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: conic-gradient(var(--primary), var(--primary-2), transparent 40%, var(--primary));
  animation: spin 5s linear infinite;
  will-change: transform;
}

.plan__border::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius) - 1px);
  background: linear-gradient(160deg, #0d2747, var(--bg-2));
  transition: box-shadow 0.35s;
}

.plan--hot:hover .plan__border::after { box-shadow: 0 0 0 1px var(--line-strong); }

.plan__badge {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.offers {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.offer {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
}

.offer__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
}

.offer__title .icon { color: var(--primary-2); }
.offer__text { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }

.discounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.5vw, 12px);
  margin-top: 20px;
}

.discount {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: clamp(12px, 2vw, 16px) 8px;
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgb(11 141 255 / 0.05);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.discount:hover { border-color: var(--primary); transform: translateY(-3px); }
.discount b { color: var(--primary); font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.2; }
.discount span { color: var(--muted); font-size: clamp(0.75rem, 1.2vw, 0.875rem); }

.offer__note { margin-top: 16px; color: var(--muted); font-size: 0.875rem; }
.offer__note b { color: var(--text); }

.offer--cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

/* Projects */

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
}

.project {
  border: 1px solid #dbe5ee;
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.project:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgb(23 53 75 / 0.14); }

.project__art {
  position: relative;
  display: grid;
  place-items: center;
  height: 160px;
  color: #fff;
  background:
    radial-gradient(70% 90% at 80% 0%, rgb(56 189 248 / 0.5), transparent 60%),
    linear-gradient(135deg, #061827, #0a6fd0);
  overflow: hidden;
}

.project__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  transition: transform 0.6s var(--ease);
}

.project:hover .project__art::before { transform: scale(1.15); }

.project__art .icon {
  position: relative;
  width: 58px;
  height: 58px;
  stroke-width: 1.5;
  filter: drop-shadow(0 6px 18px rgb(0 0 0 / 0.35));
  transition: transform 0.5s var(--ease);
}

.project:hover .project__art .icon { transform: scale(1.12); }

.project__body { padding: 18px 20px 22px; }
.project__body h3 { font-size: 1.0625rem; }

.project__body p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.project__body p .icon { width: 16px; height: 16px; color: var(--primary); }

/* Contact */

.contact {
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 100% 0%, rgb(11 141 255 / 0.2), transparent 70%),
    linear-gradient(120deg, #04101d, #0a2b4a);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 12px;
  margin-top: 32px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(6 24 41 / 0.7);
  transition: border-color 0.3s, transform 0.3s var(--ease), background-color 0.3s;
}

.link-card:hover { border-color: var(--primary); transform: translateY(-3px); background: rgb(11 141 255 / 0.1); }

.link-card > .icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 12px;
  background: rgb(11 141 255 / 0.16);
  color: var(--primary-2);
}

.link-card span { min-width: 0; }
.link-card small { display: block; color: var(--muted); font-size: 12px; }
.link-card b { display: block; font-size: 14px; overflow-wrap: anywhere; }

.lead {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgb(5 18 33 / 0.9);
  box-shadow: var(--shadow);
}

.lead__title { font-size: clamp(1.35rem, 2.4vw, 1.625rem); }
.lead__text { margin-top: -8px; color: var(--muted); font-size: 0.9375rem; }

.lead__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 16px;
}

.field { display: grid; gap: 6px; }
.field > span { color: #c9d7e5; font-size: 13px; font-weight: 600; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.04);
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.field select option { background: var(--bg-2); }
.field textarea { resize: vertical; min-height: 96px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgb(11 141 255 / 0.06);
  box-shadow: 0 0 0 4px rgb(11 141 255 / 0.18);
}

.field__error {
  display: none;
  color: var(--danger);
  font-size: 12px;
  font-style: normal;
}

.field.is-invalid input { border-color: var(--danger); }
.field.is-invalid .field__error { display: block; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead__submit { width: 100%; }
.lead__submit[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.lead__note { color: var(--muted); font-size: 12px; text-align: center; }

.lead__status:empty { display: none; }

.lead__status {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  animation: fade-up 0.4s var(--ease);
}

.lead__status[data-state="success"] { color: var(--success); background: rgb(52 211 153 / 0.1); }
.lead__status[data-state="error"] { color: var(--danger); background: rgb(255 107 107 / 0.1); }

/* Footer */

.footer {
  padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: #020811;
  color: var(--muted);
  font-size: 14px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.footer img { height: 40px; width: auto; }

/* Scroll reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes pulse {
  from { opacity: 0.7; }
  70%,
  to { opacity: 0; transform: scale(3.5); }
}

@keyframes shimmer { to { background-position: 200% center; } }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes breathe { 50% { opacity: 0.6; transform: scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }

/* Responsive */

@media (max-width: 1080px) {
  .burger { display: inline-flex; }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 24px;
    background: rgb(3 11 21 / 0.97);
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .nav a { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }

  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .header__actions { margin-left: auto; }
}

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__actions { justify-content: center; }
  .hero__visual { order: -1; width: min(78vw, 360px); }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }

  .brand img { height: 36px; }
  .header__cta { display: none; }
  .header__actions { gap: 8px; }

  .hero { padding-top: calc(var(--header-h) + 16px); gap: 40px; }
  .hero__visual { width: min(62vw, 240px); }
  .hero__title { margin-top: 16px; }
  .hero__text { margin-top: 16px; }
  .hero__actions { margin-top: 24px; }
  .hero__actions .btn,
  .offer--cta .btn { width: 100%; }
  .chip { padding: 6px 9px; font-size: 11px; }
  .chip .icon { width: 14px; height: 14px; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature { padding: 12px; font-size: 13px; }
  .feature .icon { width: 32px; height: 32px; padding: 7px; }
}

@media (max-width: 360px) {
  .brand img { height: 30px; }
  .features { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal { opacity: 1; transform: none; }
}
