:root {
  --bg: #121212;
  --surface: #1b1b1b;
  --muted: #6f6d6d;
  --text: #ffffff;
  --accent: #ff660a;
  --accent-soft: #f37d0f;
  --border-soft: #303030;
  --glass: rgba(18, 18, 18, 0.23);
  --radius-pill: 100px;
  --radius-card: 12px;

  /* RGB channels for alpha composition (rgba(var(--*-rgb), a)) */
  --accent-rgb: 255, 102, 10; /* === --accent #ff660a */
  --white-rgb: 255, 255, 255;
  --black-rgb: 0, 0, 0;

  /* elevated surfaces */
  --surface-card: #1a1a1a;
  --surface-raised: #141414;

  /* hairline borders */
  --border-hairline: rgba(var(--white-rgb), 0.05);
  --border-faint: rgba(var(--white-rgb), 0.08);

  /* animation easings */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);

  /* horizontal pull of why-card copy under the image column */
  --why-copy-pull: clamp(-80px, -9vw, -36px);

  --masthead-design-h: 977;
  --masthead-design-w: 1920;

  --hero-panel-radius: clamp(22px, 2.08vw, 40px);
  --gap-section-max: 166px;
  --container: min(1201px, calc(100% - 40px));
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Manrope", system-ui, sans-serif;
}

/* ============================================================
   RESPONSIVE BREAKPOINT REFERENCE  (plain CSS, no preprocessor)

   Hard min/max boundary PAIRS — keep paired & non-overlapping:
     1180 / 1181  primary: desktop pill-nav <-> burger drawer;
                  why-grid multi-col; FAQ open behavior
     1229 / 1230  why-card grid: 1-col <-> 12-col

   Component tuning steps (max-width, descending) — each step
   adjusts SPECIFIC components and is not interchangeable:
     1799 1619 1300 1155 1030  masthead backdrop geometry ramp
     1550                      pricing panel grid margins
     1349                      pricing grid 4 -> 2 cols
     1300 1099                 masthead bolt size / position
     1240  850  799           stats grid 3-col -> 1-col -> flex
     1155 1030  800 597 468    hero + feature-row scale ramp
      940  900                 feature-row gap / columns
      900                      app block stacks
      800                      footer stacks to 1 column
      725                      why-card image fit
      768                      FAQ glow
      699  649                 pricing carousel; reviews stack

   prefers-reduced-motion and hover overrides are centralized
   at the END of this file.
   ============================================================ */

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

html {
  background-color: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: clamp(72px, 5.5vw + 56px, 120px);
}

body {
  margin: 0;
  position: relative;
  background-color: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.35;
  color: var(--text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.masthead {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background-color: var(--bg);
  --masthead-stack-offset: clamp(96px, 5.5vw + 68px, 124px);
  margin-top: calc(-1 * var(--masthead-stack-offset));
  padding-top: var(--masthead-stack-offset);
}

@media (min-width: 1181px) {
  body:has(.site-header.header--scrolled) .masthead {
    --masthead-stack-offset: clamp(74px, 4vw + 52px, 102px);
  }
}

main {
  position: relative;

  overflow-x: clip;
}

.masthead-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.hero-glow {
  position: absolute;
  display: block;
  left: 50%;
  translate: -50% 0;
  width: 132%;
  bottom: -16%;
  height: min(128%, 800px);
  border-radius: 50%;
}

.hero-glow--core {
  background: radial-gradient(
    ellipse 92% 86% at 50% 108%,
    rgba(var(--accent-rgb), 0.98) 0%,
    rgba(var(--accent-rgb), 0.82) 10%,
    rgba(var(--accent-rgb), 0.58) 24%,
    rgba(var(--accent-rgb), 0.36) 42%,
    rgba(var(--accent-rgb), 0.18) 58%,
    rgba(var(--accent-rgb), 0.07) 74%,
    transparent 88%
  );
  filter: blur(clamp(12px, 1.5vw, 32px));
}

.hero-glow--bloom {
  bottom: -22%;
  width: 145%;
  height: min(118%, 700px);
  background: radial-gradient(
    ellipse 100% 90% at 50% 100%,
    rgba(var(--accent-rgb), 0.55) 0%,
    rgba(var(--accent-rgb), 0.34) 28%,
    rgba(var(--accent-rgb), 0.18) 48%,
    rgba(var(--accent-rgb), 0.07) 64%,
    transparent 82%
  );
  filter: blur(clamp(24px, 3vw, 64px));
}

.hero-glow--haze {
  bottom: -36%;
  width: 165%;
  height: min(190%, 1000px);
  background: radial-gradient(
    ellipse 122% 102% at 50% 96%,
    rgba(var(--accent-rgb), 0.42) 0%,
    rgba(var(--accent-rgb), 0.26) 20%,
    rgba(var(--accent-rgb), 0.14) 38%,
    rgba(var(--accent-rgb), 0.06) 54%,
    rgba(var(--accent-rgb), 0.03) 70%,
    transparent 90%
  );
  filter: blur(clamp(36px, 4.5vw, 92px));
}

/* ----------------------------------------------------------------
   Masthead backdrop geometry.
   The responsive "ramp" used to repeat the same left/top formula for
   every line/dot/corner at six breakpoints. The formulas now live
   here once and read from --mh-* custom properties; each breakpoint
   only re-sets those variables on .masthead-backdrop (they inherit).

   Channels: outer (v1/v4 + corners) & inner (v2/v3 + dots) for left;
   top (h1 + top corners) & bottom (h2 + bottom corners) for top;
   --mh-line-w / --mh-line-opacity for the hairlines. Each var carries
   its base value as a var() fallback, so the un-prefixed base == raw.
   Dot size/shadow/top and corner-arm stay literal per breakpoint
   (their ramps don't track the position channels 1:1).
   ---------------------------------------------------------------- */
.masthead-line--v {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--mh-line-w, 1px);
  transform: translateX(-50%);
  background: rgba(var(--white-rgb), 0.2);
  opacity: var(--mh-line-opacity, 0.55);
}

.masthead-line--h {
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--mh-line-w, 1px);
  transform: translateY(-50%);
  background: rgba(var(--white-rgb), 0.2);
  opacity: var(--mh-line-opacity, 0.55);
}

.masthead-line--v1,
.masthead-corner--tl,
.masthead-corner--bl {
  left: max(
    var(--mh-min-outer, 0%),
    calc((308 / var(--masthead-design-w)) * 100% - var(--mh-shift-outer, 0vw))
  );
}

.masthead-line--v4,
.masthead-corner--tr,
.masthead-corner--br {
  left: min(
    calc(100% - var(--mh-min-outer, 0%)),
    calc((1612 / var(--masthead-design-w)) * 100% + var(--mh-shift-outer, 0vw))
  );
}

.masthead-line--v2,
.masthead-dot--l {
  left: max(
    var(--mh-min-inner, 0%),
    calc((582 / var(--masthead-design-w)) * 100% - var(--mh-shift-inner, 0vw))
  );
}

.masthead-line--v3,
.masthead-dot--r {
  left: min(
    calc(100% - var(--mh-min-inner, 0%)),
    calc((1338 / var(--masthead-design-w)) * 100% + var(--mh-shift-inner, 0vw))
  );
}

.masthead-line--h1,
.masthead-corner--tl,
.masthead-corner--tr {
  top: max(
    var(--mh-min-top, 0%),
    calc((177 / var(--masthead-design-h)) * 100% - var(--mh-shift-top, 0vmin))
  );
}

.masthead-line--h2,
.masthead-corner--bl,
.masthead-corner--br {
  top: min(
    calc(100% - var(--mh-min-bottom, 0%)),
    calc(
      (894 / var(--masthead-design-h)) * 100% + var(--mh-shift-bottom, 0vmin)
    )
  );
}

.masthead-dot {
  position: absolute;
  width: clamp(8px, calc(9 / var(--masthead-design-w) * 100vw), 9px);
  height: clamp(8px, calc(9 / var(--masthead-design-w) * 100vw), 9px);
  max-width: 9px;
  max-height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.5);
  top: calc((177 / var(--masthead-design-h)) * 100%);
  transform: translate(-50%, -50%);
}

.masthead-corner {
  --masthead-corner-arm: clamp(
    10px,
    calc(14 / var(--masthead-design-w) * 100vw),
    14px
  );
  position: absolute;
  width: var(--masthead-corner-arm);
  height: var(--masthead-corner-arm);
  box-sizing: border-box;
  background: transparent;
  border-style: solid;
  border-width: 0;
  border-color: rgba(var(--white-rgb), 0.92);
  pointer-events: none;
}

.masthead-corner--tl {
  border-top-width: 1px;
  border-left-width: 1px;
  transform: translate(-0.5px, -0.5px);
}

.masthead-corner--tr {
  border-top-width: 1px;
  border-right-width: 1px;
  transform: translate(calc(-100% + 0.5px), -0.5px);
}

.masthead-corner--bl {
  border-bottom-width: 1px;
  border-left-width: 1px;
  transform: translate(-0.5px, calc(-100% + 0.5px));
}

.masthead-corner--br {
  border-bottom-width: 1px;
  border-right-width: 1px;
  transform: translate(calc(-100% + 0.5px), calc(-100% + 0.5px));
}

@media (max-width: 1799px) {
  .masthead-backdrop {
    --mh-shift-outer: 5.1vw;
    --mh-min-outer: 1.35%;
    --mh-shift-inner: 2.55vw;
    --mh-min-inner: 2.45%;
  }
}

@media (max-width: 1619px) {
  .masthead-backdrop {
    --mh-shift-outer: 5.7vw;
    --mh-min-outer: 1.22%;
    --mh-shift-inner: 2.95vw;
    --mh-min-inner: 2.25%;
    --mh-line-w: max(1px, 0.068vw);
    --mh-shift-top: 4vmin;
    --mh-min-top: 8.35%;
    --mh-shift-bottom: 4vmin;
    --mh-min-bottom: 8.35%;
  }

  .masthead-corner {
    --masthead-corner-arm: clamp(
      8px,
      calc(11 / var(--masthead-design-w) * 100vw),
      11px
    );
  }

  .masthead-dot {
    width: clamp(6px, calc(7 / var(--masthead-design-w) * 100vw), 7px);
    height: clamp(6px, calc(7 / var(--masthead-design-w) * 100vw), 7px);
    max-width: 7px;
    max-height: 7px;
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.42);
    top: max(8.35%, calc((177 / var(--masthead-design-h)) * 100% - 4vmin));
  }
}

@media (max-width: 1550px) {
  .pricing-panel__masthead-grid {
    --pricing-edge-x: max(
      5px,
      calc(
        ((var(--masthead-design-h) - 894) / var(--masthead-design-h)) * 100% -
          clamp(18px, 4.75vw, 56px)
      )
    );
  }

  .pricing-panel__masthead-grid .masthead-line--v1,
  .pricing-panel__masthead-grid .masthead-corner--tl,
  .pricing-panel__masthead-grid .masthead-corner--bl {
    left: var(--pricing-edge-x);
  }

  .pricing-panel__masthead-grid .masthead-line--v4,
  .pricing-panel__masthead-grid .masthead-corner--tr,
  .pricing-panel__masthead-grid .masthead-corner--br {
    left: calc(100% - var(--pricing-edge-x));
  }
}

@media (max-width: 1300px) {
  .masthead-backdrop {
    --mh-shift-outer: 7.55vw;
    --mh-min-outer: 1.05%;
    --mh-shift-inner: 3.85vw;
    --mh-min-inner: 1.75%;
    --mh-line-w: max(1px, 0.055vw);
    --mh-line-opacity: 0.42;
  }

  .masthead-corner {
    --masthead-corner-arm: clamp(
      7px,
      calc(9 / var(--masthead-design-w) * 100vw),
      9px
    );
  }

  .masthead-dot {
    width: clamp(5px, calc(6 / var(--masthead-design-w) * 100vw), 6px);
    height: clamp(5px, calc(6 / var(--masthead-design-w) * 100vw), 6px);
    max-width: 6px;
    max-height: 6px;
    box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.36);
  }
}

@media (max-width: 1155px) {
  .masthead-backdrop {
    --mh-shift-outer: 9.45vw;
    --mh-min-outer: 0.65%;
    --mh-shift-inner: 4.98vw;
    --mh-min-inner: 1.08%;
    --mh-line-w: max(1px, 0.048vw);
    --mh-line-opacity: 0.36;
    --mh-shift-top: 8.05vmin;
    --mh-min-top: 6.4%;
    --mh-shift-bottom: 8.05vmin;
    --mh-min-bottom: 6.4%;
  }

  .masthead-corner {
    --masthead-corner-arm: clamp(
      6px,
      calc(8 / var(--masthead-design-w) * 100vw),
      8px
    );
  }

  .masthead-dot {
    width: clamp(4px, calc(5 / var(--masthead-design-w) * 100vw), 5px);
    height: clamp(4px, calc(5 / var(--masthead-design-w) * 100vw), 5px);
    max-width: 5px;
    max-height: 5px;
    box-shadow: 0 0 5px rgba(var(--accent-rgb), 0.32);
    top: max(6.1%, calc((177 / var(--masthead-design-h)) * 100% - 8.05vmin));
  }
}

@media (max-width: 1030px) {
  .masthead-backdrop {
    --mh-shift-outer: 11.1vw;
    --mh-min-outer: 0.38%;
    --mh-shift-inner: 6.2vw;
    --mh-min-inner: 0.72%;
    --mh-line-w: max(1px, 0.04vw);
    --mh-line-opacity: 0.28;
    --mh-shift-bottom: 9.85vmin;
    --mh-min-bottom: 5.35%;
  }

  .masthead-corner {
    --masthead-corner-arm: clamp(
      5px,
      calc(6.5 / var(--masthead-design-w) * 100vw),
      7px
    );
  }

  .masthead-dot {
    width: clamp(3px, calc(4 / var(--masthead-design-w) * 100vw), 4px);
    height: clamp(3px, calc(4 / var(--masthead-design-w) * 100vw), 4px);
    max-width: 4px;
    max-height: 4px;
    box-shadow: 0 0 4px rgba(var(--accent-rgb), 0.28);
  }
}

@media (max-width: 800px) {
  .masthead-backdrop {
    --mh-shift-bottom: 15vmin;
    --mh-min-bottom: 2.6%;
  }
}

@media (max-width: 597px) {
  .masthead-backdrop {
    --mh-shift-top: 14.75vmin;
    --mh-min-top: 3.92%;
  }

  .masthead-dot {
    top: max(3.75%, calc((177 / var(--masthead-design-h)) * 100% - 14.75vmin));
  }
}

.masthead section.hero {
  position: relative;
  isolation: isolate;
  z-index: 2;
  margin-inline: 0;
  margin-bottom: clamp(28px, 4vw, 56px);
  border-radius: var(--hero-panel-radius);
  overflow: hidden;
}

.masthead__intro-shell {
  position: relative;
  z-index: 1;
}

.masthead__bolt {
  position: absolute;
  top: 100%;
  left: 238px;
  z-index: 0;
  width: max-content;
  line-height: 0;
  box-sizing: border-box;
  pointer-events: none;
}

.masthead__bolt img {
  display: block;
  /* Height-capped (aspect ratio preserved → width follows) so the bolt's
     tail ends above the "Почему GIONT?" section instead of bleeding into it.
     The stats zone below the hero is ~574–592px tall on desktop. */
  height: 540px;
  width: auto;
  max-width: none;
  aspect-ratio: 473 / 802;
  object-fit: contain;
  object-position: left top;
}

@media (max-width: 1099px) {
  .masthead__bolt {
    left: 0;
    right: 0;
    margin-inline: auto;
  }

  .masthead__bolt img {
    object-position: center top;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  padding-block: 32px 0;
  padding-inline: clamp(18px, 4vw, 32px);
  transition:
    padding-block 0.45s var(--ease-standard),
    padding-inline 0.45s var(--ease-standard);
}

.site-header.header--scrolled {
  z-index: 60;
  padding-block: 12px;
  padding-inline: clamp(12px, 3vw, 22px);
}

.site-header .header__inner.container {
  width: min(1200px, calc(100% - 40px));
  min-height: 62px;
  padding-block: 0;
  padding-inline: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 170px 135px minmax(0, 590px) 135px 170px;
  align-items: center;
  column-gap: 0;
  border-radius: 100px;
  border: 1px solid transparent;
  background-color: transparent;
  box-shadow: none;
  transition:
    background-color 0.45s var(--ease-standard),
    border-color 0.45s var(--ease-standard),
    box-shadow 0.45s var(--ease-standard),
    width 0.45s var(--ease-standard),
    backdrop-filter 0.45s ease,
    padding 0.45s var(--ease-standard);
}

.site-header.header--scrolled .header__inner.container {
  width: min(1200px, calc(100% - 24px));
  padding: 12px;
  background-color: rgba(27, 27, 27, 0.92);
  border-color: rgba(var(--white-rgb), 0.06);
  box-shadow:
    0 14px 44px rgba(var(--black-rgb), 0.5),
    inset 0 1px 0 rgba(var(--white-rgb), 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

@media (min-width: 1181px) {
  .site-header.header--scrolled .nav__pill {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transition:
      background-color 0.45s var(--ease-standard),
      border-color 0.45s var(--ease-standard);
  }
}

@media (max-width: 1180px) {
  .site-header {
    z-index: 60;
    padding-block: 12px;
    padding-inline: clamp(12px, 3vw, 22px);
    transition: none;
  }

  .site-header.header--scrolled .header__inner.container,
  .site-header .header__inner.container {
    width: min(1200px, calc(100% - 40px));
    padding: 12px;
    background-color: rgba(27, 27, 27, 0.86);
    border-color: rgba(var(--white-rgb), 0.06);
    box-shadow: 0 10px 28px rgba(var(--black-rgb), 0.42);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: none;
  }

  .site-header .nav__pill {
    transition: none;
  }
}

.site-header .header__logo {
  grid-column: 1;
  display: flex;
  align-items: center;
  height: 62px;
  padding-block-start: 10px;
  margin-left: 16px;
}

.site-header .header__logo img {
  width: 170px;
  height: 46px;
  object-fit: contain;
}

.site-header .nav {
  display: contents;
}

.site-header .nav__pill {
  grid-column: 3;
  box-sizing: border-box;
  width: max-content;
  max-width: min(590px, 100%);
  justify-self: start;
  height: 62px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 49px;
  flex-wrap: nowrap;
  background: var(--surface);
  border-radius: 100px;
  border: 1px solid rgba(var(--white-rgb), 0.04);
  transition:
    background-color 0.45s var(--ease-standard),
    border-color 0.45s var(--ease-standard),
    box-shadow 0.45s var(--ease-standard);
}

.site-header .nav__pill a {
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(var(--white-rgb), 0.92);
}

.site-header .header__cta {
  grid-column: 5;
  justify-self: end;
}

@media (min-width: 1181px) {
  .site-header .nav__drawer-head {
    display: none !important;
  }
}

.site-header .burger {
  display: none;
}

.burger {
  display: none;
  box-sizing: border-box;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  padding: 0;
  margin: 0;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  overflow: visible;
  -webkit-appearance: none;
  appearance: none;
}

.burger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.burger__icon-svg {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  overflow: visible;
  transition:
    filter 0.22s ease,
    transform 0.22s var(--ease-spring);
}

@media (max-width: 1180px) {
  body.nav-open {
    touch-action: none;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(10, 10, 12, 0.68);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    pointer-events: auto;
  }

  body.nav-open .site-header {
    z-index: 1000;
    isolation: isolate;
    overflow-x: visible;
    overflow-y: visible;
  }

  body.nav-open .site-header .header__inner.container {
    min-height: 56px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: none;
  }

  .site-header .burger {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
  }

  .site-header .header__inner.container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: min(1200px, calc(100% - 40px));
    min-height: 56px;
  }

  .site-header .header__logo {
    height: auto;
  }

  .site-header .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    position: fixed;
    inset: 0;
    width: min(calc(100vw - 44px), 400px);
    max-width: 100%;
    max-height: min(368px, calc(100dvh - max(92px, 18vh)));
    height: auto;
    margin: auto;
    padding: 20px;
    border: 1px solid var(--border-faint);
    border-radius: clamp(18px, 4.5vw, 24px);
    background: var(--bg);
    box-shadow:
      0 24px 48px rgba(var(--black-rgb), 0.45),
      0 0 0 1px rgba(var(--white-rgb), 0.04) inset;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transform: translateY(10px) scale(0.98);
    transition:
      opacity 0.18s ease,
      visibility 0.18s ease,
      transform 0.22s var(--ease-spring);
  }

  body.nav-open .site-header .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-header .nav__drawer-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    width: 100%;
    padding: 0;
  }

  .site-header .nav__drawer-logo {
    display: none;
  }

  .site-header .nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
  }

  .site-header .nav__close-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    transition:
      background-color 0.22s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease;
  }

  .site-header .nav__close-x {
    position: relative;
    width: 14px;
    height: 14px;
  }

  .site-header .nav__close-x::before,
  .site-header .nav__close-x::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2px;
    height: 15px;
    margin: -7.5px 0 0 -1px;
    border-radius: 1px;
    background: var(--accent);
  }

  .site-header .nav__close-x::before {
    transform: rotate(45deg);
  }

  .site-header .nav__close-x::after {
    transform: rotate(-45deg);
  }

  .site-header .nav__pill {
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    padding: 0;
    gap: 12px;
    background: transparent;
    border: none;
    overflow: hidden;
  }

  .site-header .nav__pill a {
    font-family: var(--font-display);
    font-size: clamp(16px, 4vw, 18px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--text);
    text-align: center;
  }

  .site-header a.header__cta.btn.btn--outline {
    flex-shrink: 0;
    align-self: center;
    margin-top: 0;
    margin-bottom: 0;
    margin-inline: 0;
    width: min(calc(100% - clamp(32px, 8vw, 48px)), 320px);
    min-width: min(240px, 100%);
    max-width: none;
    min-height: 42px;
    height: 42px;
    box-sizing: border-box;
    justify-content: center;
    font-size: 14px;
    line-height: 100%;
    padding-block: 0;
    padding-inline: clamp(28px, 7vw, 40px);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  font-size: 18px;
  border: none;
  text-decoration: none;
  transition:
    transform 0.22s var(--ease-spring),
    box-shadow 0.22s var(--ease-spring),
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    filter 0.22s ease;
}

.btn > span:first-child {
  min-width: 0;
}

.btn__icon {
  flex-shrink: 0;
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
}

.btn__icon img {
  display: block;
}

.btn--primary {
  background: var(--accent);
  color: var(--text);
  padding: 5px 5px 5px 29px;
  min-height: 62px;
}

.btn--outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  padding: 5px;
  padding-left: 29px;
  min-height: 62px;
}

.site-header a.header__cta.btn.btn--outline {
  gap: 0;
  width: 170px;
  box-sizing: border-box;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  padding: 5px;
  padding-inline: 25px;
  min-height: 62px;
  white-space: nowrap;
}

.btn--pricing {
  justify-content: center;
  width: 100%;
  min-height: 62px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}

.section {
  position: relative;
  padding-block: clamp(56px, 8.65vw, 83px);
}

.masthead .section.hero {
  padding-top: clamp(64px, calc(167 / var(--masthead-design-w) * 100vw), 167px);
  padding-bottom: clamp(
    48px,
    calc(165 / var(--masthead-design-w) * 100vw),
    165px
  );
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 44px);
  text-align: center;
  margin-bottom: 48px;
}

.section-title--left {
  text-align: left;
  margin-bottom: 0;
}

.section-title--center {
  margin-bottom: 52px;
}

.section-title--narrow {
  margin-bottom: 0;
}

.accent {
  color: var(--accent);
}

/* слово GIONT логотипом внутри заголовка «Почему GIONT?» */
.why-title__logo {
  display: inline-block;
  height: 0.9em;
  width: auto;
  aspect-ratio: 170 / 46;
  vertical-align: -0.18em;
}

.accent-soft {
  color: var(--accent-soft);
}

.muted {
  color: var(--muted);
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 52px;
  text-align: center;
  width: min(922px, 100%);
  margin-inline: auto;
}

.hero__content {
  width: min(892px, 100%);
  margin-inline: auto;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 6vw, 54px);
  line-height: 1.06;
}

.hero__lead {
  max-width: 692px;
  margin-inline: auto;
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

.hero__btn {
  margin-top: 42px;
}

.hero__btn.btn--primary {
  min-height: 62px;
  height: 62px;
  box-sizing: border-box;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 294px));
  gap: 20px;
  width: 100%;
  justify-content: center;
  padding-block-end: 96px;
}

.feature-row__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
}

.glass-card {
  background: rgba(var(--white-rgb), 0.04);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  gap: 32px;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-height: auto;
  box-sizing: border-box;
}

.feature-row__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.feature-row__text {
  color: rgba(var(--white-rgb), 0.88);
  font-size: 16px;
  max-width: 254px;
}

@media (max-width: 1155px) {
  .masthead .section.hero {
    padding-top: clamp(44px, 11vw, 130px);
    padding-bottom: clamp(36px, 9vw, 130px);
  }

  .hero__layout {
    gap: clamp(36px, 6vw, 48px);
    width: min(922px, 100%);
    padding-inline: clamp(16px, 4.2vw, 28px);
    box-sizing: border-box;
  }

  .hero__title {
    font-size: clamp(28px, 5.8vw, 46px);
    line-height: 1.07;
    text-wrap: balance;
  }

  .hero__lead {
    margin-top: clamp(20px, 3.8vw, 32px);
    font-size: clamp(15px, 2.8vw, 18px);
    line-height: 1.52;
    max-width: min(692px, 100%);
    padding-inline: clamp(0px, 1vw, 8px);
  }

  .hero__btn.btn--primary {
    margin-top: clamp(28px, 4.5vw, 42px);
    font-size: clamp(15px, 2.8vw, 17px);
    padding: 5px 5px 5px clamp(22px, 5vw, 29px);
    max-width: 100%;
    box-sizing: border-box;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: clamp(10px, 2.6vw, 16px);
  }

  .glass-card {
    padding: clamp(14px, 3.2vw, 20px);
    gap: clamp(20px, 4vw, 28px);
  }

  .feature-row__title {
    font-size: clamp(16px, 2.85vw, 18px);
    margin-bottom: clamp(12px, 2.8vw, 20px);
  }

  .feature-row__text {
    font-size: clamp(13px, 2.55vw, 16px);
    line-height: 1.48;
    max-width: none;
  }

  .feature-row__icon {
    width: clamp(34px, 8vw, 38px);
    height: clamp(34px, 8vw, 38px);
  }

  .site-header .header__inner.container {
    width: min(1200px, calc(100% - clamp(24px, 6vw, 40px)));
  }

  .site-header .header__logo img {
    width: clamp(132px, 28vw, 170px);
    height: auto;
  }
}

@media (max-width: 1030px) {
  .hero__content {
    width: min(700px, 100%);
    max-width: 700px;
    margin-inline: auto;
    box-sizing: border-box;
  }

  .feature-row {
    width: min(700px, 100%);
    max-width: 700px;
    margin-inline: auto;
    box-sizing: border-box;
  }

  .masthead .section.hero {
    padding-top: clamp(36px, 9.5vw, 100px);
    padding-bottom: clamp(28px, 7.5vw, 100px);
    margin-bottom: clamp(22px, 4vw, 48px);
  }

  .hero__layout {
    gap: clamp(26px, 5vw, 38px);
    padding-inline: clamp(12px, 5vw, 22px);
  }

  .hero__title {
    font-size: clamp(26px, 7vw, 42px);
    line-height: 1.085;
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  .hero__lead {
    margin-top: clamp(16px, 3.2vw, 26px);
    font-size: clamp(13px, 3.35vw, 17px);
    line-height: 1.49;
    max-width: 100%;
  }

  .hero__btn.btn--primary {
    margin-top: clamp(22px, 3.6vw, 34px);
    font-size: clamp(14px, 3.35vw, 16px);
    padding: 4px 4px 4px clamp(18px, 5.8vw, 26px);
    width: 100%;
    max-width: min(400px, 100%);
    margin-inline: auto;
  }

  .feature-row {
    gap: clamp(8px, 2.2vw, 14px);
  }

  .feature-row .glass-card {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(14px, 4vw, 20px);
    padding: clamp(12px, 3.2vw, 18px);
  }

  .feature-row .glass-card > div:last-child {
    min-width: 0;
    flex: 1;
  }

  .feature-row__title {
    font-size: clamp(15px, 3.1vw, 17px);
    margin-bottom: clamp(8px, 2.2vw, 14px);
  }

  .feature-row__text {
    font-size: clamp(12px, 2.95vw, 15px);
    line-height: 1.45;
  }

  .feature-row__icon {
    width: clamp(32px, 7.8vw, 36px);
    height: clamp(32px, 7.8vw, 36px);
  }

  .site-header .header__inner.container {
    width: min(1200px, calc(100% - clamp(18px, 5.8vw, 30px)));
  }

  .site-header .header__logo img {
    width: clamp(112px, 34vw, 150px);
    height: auto;
  }

  .burger {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
  }

  .burger__icon-svg {
    width: 36px;
    height: 36px;
    overflow: visible;
  }

  .site-header .nav__close {
    width: 50px;
    height: 50px;
  }

  .site-header .nav__close-ring {
    width: 36px;
    height: 36px;
  }

  .site-header .nav__close-x {
    width: 12px;
    height: 12px;
  }

  .site-header .nav__close-x::before,
  .site-header .nav__close-x::after {
    height: 13px;
    margin: -6.5px 0 0 -1px;
  }
}

@media (max-width: 940px) {
  .feature-row {
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row__text {
    max-width: none;
  }
}

.stats__layout {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: 20px;
  row-gap: 48px;
}

.stats__layout .stats__title {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.stats__layout .stats__cta {
  grid-column: 2;
  grid-row: 1;
}

.stats__layout .stats__grid {
  grid-column: 1 / -1;
  grid-row: 2;
}

@media (max-width: 799px) {
  .stats__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .stats__layout .stats__title {
    order: 1;
    align-self: start;
  }

  .stats__layout .stats__grid {
    order: 2;
  }

  .stats__layout .stats__cta {
    order: 3;
    width: 100%;
  }
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 386px));
  gap: 21px;
  justify-content: space-between;
  margin-inline: auto;
  max-width: 1200px;
}

.stat-card__big {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 88px);
  font-weight: 500;
}

.stat-card__accent {
  color: var(--accent);
  font-size: 0.64em;
  margin-left: 2px;
}

.stat-card__unit {
  font-family: inherit;
  font-size: 18px;
  color: inherit;
}

.stat-card__label {
  margin-top: 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--accent-soft);
}

.stat-card__desc {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.stat-card--speed .stat-card__big {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}

.stat-card__num {
  letter-spacing: -0.03em;
}

.section.stats .container,
.section.why > .container,
.section.app-block > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 1240px) {
  .stats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }
}

@media (max-width: 850px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
}

.section.why {
  position: relative;
  overflow-x: clip;
}

.why-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.why-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

@media (min-width: 1230px) {
  .why-board > .why-card:not(.why-card--hero),
  .why-board > .why-stack {
    min-height: 0;
  }

  .why-board {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 202px auto;
    gap: 20px;
    align-items: start;
  }

  .why-card--sm {
    grid-column: 1 / span 5;
    grid-row: 1;
  }

  .why-card--lg {
    grid-column: 6 / span 7;
    grid-row: 1;
  }

  .why-stack {
    grid-column: 1 / span 7;
    grid-row: 2;
    align-self: start;
    width: 100%;
  }

  .why-card--hero {
    grid-column: 8 / span 5;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }
}

.section.why .section-title {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.why-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-hairline);
  box-shadow:
    0 20px 48px rgba(var(--black-rgb), 0.38),
    inset 0 1px 0 rgba(var(--white-rgb), 0.04);
  padding: clamp(18px, 2.8vw, 24px) clamp(18px, 2.8vw, 24px) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: 202px;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.why-card--sm,
.why-card--lg,
.why-card--hero,
.why-stack > .why-card {
  padding: 0;
}

.why-card--sm .why-card__badge,
.why-card--sm .why-card__copy,
.why-card--lg .why-card__badge,
.why-card--lg .why-card__copy,
.why-stack > .why-card .why-card__badge,
.why-stack > .why-card .why-card__copy,
.why-card--hero .why-card__badge,
.why-card--hero .why-card__copy {
  margin: 15px;
  margin-block-end: 0;
}

.why-board .why-card__picture {
  display: contents;
}

.why-board .why-card--sm .why-card__copy {
  min-width: 202px;
  width: 100%;
  max-width: none;
}

.why-board .why-card--lg .why-card__copy,
.why-board .why-stack > .why-card .why-card__copy,
.why-board .why-card--hero .why-card__copy {
  min-width: 208px;
  width: 100%;
  max-width: none;
}

/* --- internal why-card grid placement (shared at every width) ---
   Hoisted from the 1230 / 1229 breakpoints, which together span the
   whole width axis and declared these identically. Card heights,
   column tracks and the --hero variant remain per-breakpoint below. */
.why-card--sm,
.why-card--lg,
.why-stack > .why-card {
  grid-template-rows: auto minmax(0, 1fr);
  align-items: stretch;
}

.why-card--sm .why-card__badge,
.why-card--lg .why-card__badge,
.why-stack > .why-card:first-child .why-card__badge,
.why-stack > .why-card:last-child .why-card__badge {
  grid-column: 1;
  grid-row: 1;
}

.why-card--sm .why-card__copy,
.why-card--lg .why-card__copy,
.why-stack > .why-card .why-card__copy {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  z-index: 2;
  max-width: none;
  box-sizing: border-box;
  margin-inline-end: var(--why-copy-pull);
}

.why-card--sm .why-card__img,
.why-card--lg .why-card__img,
.why-stack > .why-card:first-child .why-card__img,
.why-stack > .why-card:last-child .why-card__img {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: auto;
  max-width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
  justify-self: end;
  object-fit: contain;
  object-position: right center;
}

@media (min-width: 1230px) {
  .why-card--sm {
    grid-template-columns: minmax(0, 1fr) 193px;
    height: 100%;
    min-height: 0;
    align-self: stretch;
  }

  .why-card--lg {
    grid-template-columns: minmax(0, 1fr) 292px;
    height: 100%;
    min-height: 0;
    align-self: stretch;
  }

  .why-stack > .why-card:first-child,
  .why-stack > .why-card:last-child {
    grid-template-columns: minmax(0, 1fr) 292px;
    flex: 0 0 auto;
    height: 202px;
    min-height: 0;
  }

  .why-card--hero {
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    height: 424px;
    min-height: 424px;
    max-height: 424px;
    box-sizing: border-box;
    overflow: hidden;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 0;
  }

  .why-card--hero .why-card__img {
    max-height: 100%;
    width: 100%;
    min-width: 0;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
  }

  .why-card--hero .why-card__img--hero {
    min-height: 202px;
    margin-block-start: -68px;
  }

  .why-board .why-card--hero .why-card__copy {
    position: relative;
    z-index: 2;
    width: 448px;
    height: 219px;
    max-width: none;
    box-sizing: border-box;
  }
}

@media (max-width: 1229px) {
  /* Stacked (single-column) board: cards grow to fit content; min-height is
     just a floor. Fixed heights here used to clip long copy (e.g. the hero
     card's two paragraphs) since .why-card has overflow:hidden. */
  .why-card--sm {
    grid-template-columns: minmax(0, 1fr) 193px;
    min-height: 182px;
  }

  .why-card--lg {
    grid-template-columns: minmax(0, 1fr) 292px;
    min-height: 202px;
  }

  .why-stack > .why-card:first-child {
    grid-template-columns: minmax(0, 1fr) 292px;
    min-height: 214px;
  }

  .why-stack > .why-card:last-child {
    grid-template-columns: minmax(0, 1fr) 292px;
    min-height: 232px;
  }

  .why-card--hero {
    grid-template-columns: minmax(0, 1fr) 292px;
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    min-height: 293px;
    max-height: none;
  }

  .why-card--hero .why-card__badge {
    grid-column: 1;
    grid-row: 1;
  }

  .why-card--hero .why-card__copy {
    grid-column: 1;
    grid-row: 2;
    position: relative;
    z-index: 2;
    margin-inline-end: var(--why-copy-pull);
    max-width: none;
    box-sizing: border-box;
  }

  .why-card--hero .why-card__img {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: auto;
    max-width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    align-self: stretch;
    justify-self: end;
    object-fit: contain;
    object-position: right center;
  }

  .why-card--hero .why-card__img--hero {
    object-fit: contain;
    object-position: right center;
  }
}

.why-card__badge {
  justify-self: start;
  align-self: start;
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-size: 16px;
}

.why-card__copy {
  padding-bottom: 20px;
  box-sizing: border-box;
  justify-self: stretch;
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.why-card__copy h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.why-card__copy p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 12px;
}

.why-card__copy--block p + p {
  margin-top: 12px;
}

.why-card--sm::before,
.why-card--sm::after,
.why-card--lg::before,
.why-card--lg::after,
.why-stack > .why-card::before,
.why-stack > .why-card::after,
.why-card--hero::before,
.why-card--hero::after {
  content: none !important;
  display: none !important;
}

.why-card__img {
  display: block;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  position: relative;
  z-index: 1;
  object-fit: cover;
  object-position: center;
  border: none;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  align-self: stretch;
  justify-self: stretch;
}

@media (max-width: 725px) {
  .why-board .why-card--sm .why-card__img,
  .why-board .why-card--lg .why-card__img,
  .why-board .why-stack > .why-card .why-card__img,
  .why-board .why-card--hero .why-card__img {
    object-fit: unset;
  }
}

.app-block__columns {
  display: grid;
  grid-template-columns: minmax(0, min(590px, 38vw)) minmax(0, 1fr);
  gap: 135px;
  align-items: start;
}

.app-block__column--lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 5vw, 56px);
  min-width: 0;
}

.app-block__column--lead .section-title--narrow {
  align-self: stretch;
  margin: 0;
  width: 100%;
  flex: unset;
}

.app-block .app-block__column--lead .section-title--narrow {
  text-align: left;
}

.launch-meter {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.launch-meter__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.launch-meter__time strong {
  color: var(--accent-soft);
  font-size: 32px;
  font-weight: 600;
  margin-right: 6px;
  font-family: var(--font-display);
}

.launch-meter__bar {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 100px;
  background: var(--muted);
  overflow: hidden;
}

.launch-meter__fill {
  display: block;
  height: 100%;
  width: calc((354 - 2) / (488 - 2) * 100%);
  min-width: 4px;
  border-radius: 100px;
  background: var(--accent);
}

.app-block__column--content {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
  min-width: 0;
}

.app-block__phone {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Pure-CSS iPhone mockup wrapping the dashboard screenshot */
.device {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  padding: 11px;
  border-radius: 48px;
  background: linear-gradient(155deg, #313137 0%, #16161a 42%, #0a0a0c 100%);
  box-shadow:
    0 34px 70px -22px rgba(var(--black-rgb), 0.7),
    0 10px 26px rgba(var(--black-rgb), 0.45),
    inset 0 0 0 1.5px rgba(var(--white-rgb), 0.05),
    inset 0 1.5px 1px rgba(var(--white-rgb), 0.14),
    inset 0 -2px 2px rgba(var(--black-rgb), 0.5);
}

.device__screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 38px;
  background: var(--surface-raised);
}

.app-features {
  margin: 0;
  margin-top: 60px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.app-feature {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 14px;
  align-items: start;
}

.app-feature__ico {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-card);
  background: var(--surface);
  display: grid;
  place-items: center;
}

.app-feature h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.app-feature p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  width: 100%;
  color: var(--muted);
}

.app-feature__ico img {
  width: 42px;
  height: auto;
}

@media (max-width: 900px) {
  .app-block__columns {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(28px, 6vw, 40px);
  }

  .app-block__column--lead,
  .app-block__column--content {
    display: contents;
  }

  .app-block__column--lead .section-title--narrow {
    order: 1;
  }

  .launch-meter {
    order: 2;
  }

  .app-block__phone {
    order: 3;
  }

  .app-features {
    order: 4;
    margin-top: 0;
  }

  .app-feature {
    grid-template-columns: 64px 1fr;
  }

  .app-feature__ico {
    width: 64px;
    height: 64px;
  }
}

.section.pricing {
  padding-block: clamp(48px, 8vw, 100px);
  padding-inline: 0;
}

.pricing-panel {
  position: relative;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
  overflow: visible;
  isolation: isolate;
  background: transparent;
}

.pricing-panel__surface {
  position: relative;
  z-index: 1;
  padding-block: 120px;
  padding-block-end: 150px;
  padding-inline: 0;
  background: var(--bg);
  border-radius: clamp(28px, 3.25vw, 40px);
  overflow: clip;
}

.pricing-panel__glow {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  width: min(148%, calc(100vw - 24px));
  max-width: none;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.pricing-panel__glow--bottom {
  bottom: 0;
  top: auto;
}

.pricing-panel__glow--top {
  top: 0;
  bottom: auto;
}

.pricing-panel__glow-sheet {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.pricing-panel__glow-sheet--flip {
  transform: scaleY(-1);
}

.pricing-panel__glow--bottom {
  height: min(calc(100% + 22%), 620px);
  min-height: 52vmin;
}

.pricing-panel__glow--top {
  top: clamp(-20px, -3.25vw, -8px);
  height: min(calc(100% + 36%), 700px);
  min-height: 56vmin;
}

/* Pricing glow = the hero glow with different gradients only.
   Geometry (width/bottom/height) and blur come from the shared
   .hero-glow / .hero-glow--core/--bloom/--haze rules above (the
   spans carry those classes); here we override just the gradient. */
.pricing-panel .pricing-panel__glow .hero-glow--core {
  background: radial-gradient(
    ellipse 92% 86% at 50% 108%,
    rgba(var(--accent-rgb), 0.9) 0%,
    rgba(var(--accent-rgb), 0.7) 14%,
    rgba(var(--accent-rgb), 0.48) 34%,
    rgba(var(--accent-rgb), 0.2) 56%,
    rgba(var(--accent-rgb), 0.06) 74%,
    transparent 86%
  );
}

.pricing-panel .pricing-panel__glow .hero-glow--bloom {
  background: radial-gradient(
    ellipse 100% 90% at 50% 100%,
    rgba(var(--accent-rgb), 0.48) 0%,
    rgba(var(--accent-rgb), 0.28) 32%,
    rgba(var(--accent-rgb), 0.14) 56%,
    rgba(var(--accent-rgb), 0.05) 76%,
    transparent 88%
  );
}

.pricing-panel .pricing-panel__glow .hero-glow--haze {
  background: radial-gradient(
    ellipse 122% 102% at 50% 96%,
    rgba(var(--accent-rgb), 0.28) 0%,
    rgba(var(--accent-rgb), 0.15) 30%,
    rgba(var(--accent-rgb), 0.075) 55%,
    rgba(var(--accent-rgb), 0.03) 78%,
    transparent 92%
  );
}

.pricing-panel__surface > .masthead-backdrop {
  z-index: 0;
  border-radius: inherit;
}

.pricing-panel__surface > .container {
  width: var(--container);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.pricing-panel .section-title--center {
  margin-bottom: clamp(40px, 5vw, 52px);
}

.pricing-grid {
  display: grid;
  gap: clamp(18px, 2.2vw, 22px);
  grid-template-columns: repeat(4, minmax(0, 285px));
  justify-content: center;
  align-items: stretch;

  padding-block-start: clamp(12px, 2.2vmin, 18px);
  box-sizing: border-box;
}

.pricing-grid__error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 23em;
  margin-inline: auto;
}

.ico-check {
  color: var(--accent);
}

.price-card__feat .ico-check {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  display: block;
  flex-shrink: 0;
  margin-top: 1px;
}

.price-card {
  position: relative;
  height: 100%;
  overflow: visible;
  background: var(--surface-card);
  border-radius: var(--radius-card);
  padding: clamp(22px, 2.8vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 26px;
  border: 1px solid var(--border-soft);
  box-shadow: inset 0 1px 0 rgba(var(--white-rgb), 0.03);
}

.price-card--hit {
  border-color: var(--accent);
  box-shadow:
    inset 0 1px 0 rgba(var(--white-rgb), 0.05),
    0 0 0 1px rgba(var(--accent-rgb), 0.4);
}

.price-card__ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  translate: -50% -50%;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  white-space: nowrap;
}

.price-card__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  min-height: 0;
}

.price-card__plan {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--accent-soft);
}

.price-card__dual {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  justify-content: space-between;
}

.chip {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  color: rgba(var(--white-rgb), 0.9);
  background: rgba(var(--white-rgb), 0.05);
  border: 1px solid var(--border-soft);
}

.pricing-panel .chip {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
}

.price-card__price {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  text-align: center;
  width: 100%;
}

.price-card__feat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card__feat li {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: flex-start;
  gap: 10px;
  margin-top: 0;
  color: rgba(var(--white-rgb), 0.88);
  font-size: 13px;
  line-height: 1.45;
}

.price-card .btn {
  margin-top: 0;
}

.price-card--skeleton {
  pointer-events: none;
}

.skeleton-block {
  display: block;
  border-radius: 6px;
  background-color: rgba(var(--white-rgb), 0.06);
  background-image: linear-gradient(
    100deg,
    rgba(var(--white-rgb), 0) 35%,
    rgba(var(--white-rgb), 0.08) 50%,
    rgba(var(--white-rgb), 0) 65%
  );
  background-size: 220% 100%;
  background-repeat: no-repeat;
  animation: pricing-skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-block--title {
  width: 50%;
  height: 18px;
}

.skeleton-block--price {
  width: 62%;
  height: 32px;
  margin-inline: auto;
}

.skeleton-block--line {
  width: 100%;
  height: 14px;
}

.skeleton-block--line.is-short {
  width: 65%;
}

.skeleton-block--btn {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-pill);
}

@keyframes pricing-skeleton-shimmer {
  from {
    background-position: 220% 0;
  }
  to {
    background-position: -120% 0;
  }
}

@media (max-width: 699px) {
  .pricing-panel__surface {
    padding-block: 60px;
  }

  .pricing-carousel {
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
    position: relative;
  }

  .pricing-carousel__viewport {
    display: block;
    width: 100%;
    /* overflow-x:auto forces overflow-y to clip, so reserve vertical room for
       the hit-card's ribbon (above) and accent ring (below) instead of
       clipping them. */
    padding-block: clamp(20px, 4vmin, 24px) clamp(12px, 3vmin, 16px);
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pricing-carousel__viewport::-webkit-scrollbar {
    display: none;
  }

  .pricing-carousel .pricing-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
    gap: clamp(14px, 3.5vw, 20px);
    justify-content: flex-start;
    align-items: stretch;
    margin: 0;
    padding-block-start: 0;
    padding-inline: max(
      14px,
      calc((100vw - min(285px, calc(100vw - 28px))) / 2)
    );
    box-sizing: border-box;
  }

  /* The error/empty state isn't a card row — center it in the viewport
     instead of inheriting the card-centering scroller padding. */
  .pricing-carousel .pricing-grid:has(.pricing-grid__error) {
    width: auto;
    justify-content: center;
    padding-inline: 16px;
  }

  .pricing-carousel .price-card {
    flex: 0 0 min(285px, calc(100vw - 28px));
    width: min(285px, calc(100vw - 28px));
    max-width: min(285px, calc(100vw - 28px));
    scroll-snap-align: center;
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 1349px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(260px, 285px));
  }
}

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

.reviews__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 20px;
  row-gap: 48px;
  align-items: end;
}

.reviews__layout > .section-title {
  grid-column: 1;
  grid-row: 1;
}

.reviews__layout > .reviews__cta {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.reviews__layout > .reviews__grid {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 387px));
  gap: 19px;
  justify-content: center;
  margin: 0;
}

.tg-card {
  background: var(--surface-raised);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border-hairline);
}

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

.tg-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(var(--accent-rgb), 0.9),
      transparent 62%
    ),
    #272727;
}

.tg-card__chat {
  font-size: 13px;
  font-weight: 600;
}

.tg-card__hint {
  font-size: 10px;
  color: rgba(var(--white-rgb), 0.45);
  margin-top: 4px;
}

.tg-card__body {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.tg-card__accent {
  flex: 0 0 3px;
  align-self: stretch;
  border-radius: 4px;
  background: rgba(var(--accent-rgb), 0.75);
}

.tg-card__name {
  font-weight: 600;
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.tg-card__text p:last-child {
  color: rgba(var(--white-rgb), 0.75);
}

@media (max-width: 649px) {
  .reviews__layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(24px, 6.5vw, 36px);
  }

  .reviews__layout > .reviews__cta {
    justify-self: auto;
    align-self: center;
  }
}

@media (max-width: 699px) {
  .reviews__layout > .reviews__grid {
    grid-template-columns: 1fr;
  }
}

.faq-section {
  overflow-x: clip;
}

.faq-section > .container {
  position: relative;
  z-index: 1;
}

.faq-section::before {
  content: "";
  position: absolute;
  left: calc(50% - 50vw);
  width: 100vw;
  top: -6%;
  height: 106%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse 48% 56% at 0% 44%,
    rgba(var(--accent-rgb), 0.6) 0%,
    rgba(var(--accent-rgb), 0.3) 36%,
    rgba(var(--accent-rgb), 0.12) 56%,
    transparent 72%
  );
  filter: blur(clamp(48px, 8vw, 110px));
}

@media (max-width: 768px) {
  .faq-section::before {
    background: radial-gradient(
      ellipse 72% 58% at 0% 44%,
      rgba(var(--accent-rgb), 0.6) 0%,
      rgba(var(--accent-rgb), 0.3) 36%,
      rgba(var(--accent-rgb), 0.12) 56%,
      transparent 72%
    );
  }
}

.faq-section .section-title.section-title--center {
  margin-bottom: 48px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq__item {
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border-hairline);
  contain: layout;
}

.faq__item + .faq__item {
  border-top: 0;
}

.faq__q {
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  border: none;
  color: var(--text);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-size: clamp(14px, 2.3vw, 16px);
  cursor: pointer;
  transition: background-color 0.22s ease;
}

.faq__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  position: relative;
  flex-shrink: 0;
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition:
    background-color 0.28s ease,
    opacity 0.28s ease,
    transform 0.28s ease;
}

.faq__icon::before {
  width: 18px;
  height: 2px;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.faq__icon::after {
  height: 18px;
  width: 2px;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.is-open .faq__icon {
  background-color: var(--accent);
  border-color: var(--accent);
}

.is-open .faq__icon::before {
  background-color: var(--text);
}

.is-open .faq__icon::after {
  opacity: 0;
  transform: rotate(90deg);
}

.faq__a {
  display: block;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s var(--ease-spring);
}

.faq__item.is-open > .faq__a {
  max-height: var(--faq-panel-max, min(85vh, 1600px));
}

.faq__a-inner {
  overflow: hidden;
  padding: 0 20px;
  color: rgba(var(--white-rgb), 0.8);
  opacity: 0;
  transition: opacity 0.22s ease 0.05s;
}

.faq__item.is-open > .faq__a .faq__a-inner {
  opacity: 1;
  padding-bottom: 20px;
}

.faq__item:not(.is-open) > .faq__a .faq__a-inner {
  transition: opacity 0.16s ease;
}

@media (max-width: 1180px) {
  .faq__item {
    contain: none;
  }

  .faq__q {
    touch-action: manipulation;
  }

  .faq__a {
    overflow: hidden;
    transition: none;
  }

  .faq__item.is-open > .faq__a {
    max-height: none;
  }

  .faq__a-inner {
    transform: translateY(3px);
    transition:
      opacity 0.44s var(--ease-soft) 0.06s,
      transform 0.44s var(--ease-soft);
  }

  .faq__item.is-open > .faq__a .faq__a-inner {
    transform: translateY(0);
  }

  .faq__item:not(.is-open) > .faq__a .faq__a-inner {
    opacity: 0;
    transform: translateY(3px);
    transition:
      opacity 0.3s var(--ease-standard),
      transform 0.3s var(--ease-standard);
  }
}

.footer {
  padding: clamp(48px, 8vw, 88px) 0 24px;
  border-top: 1px solid var(--border-faint);
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(40px, 6vw, 88px);
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-faint);
}

.footer__brand,
.footer__col {
  min-width: 0;
}

.footer__name {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.85vw, 20px);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}

/* слово Giont логотипом внутри бренда в футере */
.footer__logo {
  display: inline-block;
  height: 1em;
  width: auto;
  aspect-ratio: 170 / 46;
  vertical-align: -0.16em;
}

.footer__tag {
  color: rgba(var(--white-rgb), 0.92);
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.45;
  max-width: 280px;
}

.footer__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--accent);
}

.footer__list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(var(--white-rgb), 0.92);
}

.footer__list a {
  overflow-wrap: anywhere;
}

.footer__contact-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
}

.footer__contact-icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__contact-icon svg {
  display: block;
}

.footer__bottom {
  margin-top: 24px;
  color: rgba(var(--white-rgb), 0.55);
  text-align: center;
  font-size: 12px;
}

.footer__bottom p {
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

@media (max-width: 800px) {
  .masthead .section.hero {
    padding-top: clamp(28px, 8vw, 72px);
    padding-bottom: clamp(22px, 6vw, 60px);
    margin-bottom: clamp(18px, 3.5vw, 36px);
  }

  .hero__layout {
    width: 100%;
    max-width: none;
    padding-inline: clamp(10px, 3.8vw, 18px);
    padding-block-start: 60px;
    gap: clamp(20px, 4.2vw, 28px);
  }

  .hero__content {
    width: min(500px, 100%);
    max-width: 500px;
    margin-inline: auto;
    box-sizing: border-box;
  }

  .hero__title {
    font-size: clamp(26px, 7.6vw, 38px);
    line-height: 1.07;
  }

  .hero__lead {
    margin-top: clamp(12px, 2.8vw, 20px);
    font-size: clamp(12px, 3.1vw, 16px);
    line-height: 1.48;
  }

  .hero__btn.btn--primary {
    margin-top: clamp(18px, 3.2vw, 28px);
    font-size: clamp(13px, 3.1vw, 15px);
    max-width: min(360px, 100%);
  }

  .feature-row {
    width: min(500px, 100%);
    max-width: 500px;
    margin-inline: auto;
    box-sizing: border-box;
    gap: clamp(6px, 1.8vw, 12px);
  }

  .feature-row .glass-card {
    gap: clamp(10px, 3vw, 16px);
    padding: clamp(10px, 2.6vw, 14px);
  }

  .feature-row__title {
    font-size: clamp(14px, 3vw, 16px);
    margin-bottom: clamp(6px, 1.8vw, 10px);
  }

  .feature-row__text {
    font-size: clamp(11px, 2.8vw, 14px);
    line-height: 1.42;
  }

  .feature-row__icon {
    width: clamp(28px, 7vw, 32px);
    height: clamp(28px, 7vw, 32px);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    row-gap: clamp(32px, 6vw, 48px);
  }
}

@media (max-width: 597px) {
  .hero__content {
    width: min(400px, 100%);
    max-width: 400px;
    margin-inline: auto;
    box-sizing: border-box;
  }

  .feature-row {
    width: min(400px, 100%);
    max-width: 400px;
    margin-inline: auto;
    box-sizing: border-box;
    gap: clamp(14px, 3.8vw, 22px);
    justify-items: stretch;
  }

  .feature-row .glass-card {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: clamp(12px, 3.2vw, 16px);
    padding-block: clamp(18px, 4.5vw, 24px);
    padding-inline: clamp(14px, 3.6vw, 20px);
  }

  .feature-row .glass-card > div:last-child {
    flex: 0 1 auto;
    width: 100%;
    min-width: 0;
  }

  .feature-row__title,
  .feature-row__text {
    text-align: center;
  }

  .feature-row__title {
    margin-bottom: clamp(6px, 1.8vw, 10px);
  }

  .masthead .section.hero .hero__glow {
    inset: clamp(-40px, -10vmin, -16px) 0 0;
    border-radius: inherit;
  }

  .masthead .section.hero .hero-glow {
    translate: -50% clamp(-28px, -6.5vmin, -12px);
  }

  .pricing-panel .pricing-panel__glow .pricing-panel__glow-sheet {
    inset: clamp(-28px, -8vmin, -12px) 0;
  }

  .pricing-panel .pricing-panel__glow .hero-glow {
    translate: -50% clamp(-24px, -5.5vmin, -12px);
  }

  /* shared glow geometry (hero + pricing) */
  .masthead .section.hero .hero-glow--core,
  .pricing-panel .pricing-panel__glow .hero-glow--core {
    bottom: -8%;
    height: min(152%, 780px);
  }

  .masthead .section.hero .hero-glow--bloom,
  .pricing-panel .pricing-panel__glow .hero-glow--bloom {
    bottom: -14%;
    width: 155%;
    height: min(140%, 760px);
  }

  .masthead .section.hero .hero-glow--haze,
  .pricing-panel .pricing-panel__glow .hero-glow--haze {
    bottom: -24%;
    width: 175%;
    height: min(218%, 1000px);
  }

  /* hero = shared blur + brightness; pricing = blur only */
  .masthead .section.hero .hero-glow--core {
    filter: blur(clamp(14px, 2vw, 28px)) brightness(1.08);
  }

  .masthead .section.hero .hero-glow--bloom {
    filter: blur(clamp(22px, 3.2vw, 56px)) brightness(1.06);
  }

  .masthead .section.hero .hero-glow--haze {
    filter: blur(clamp(32px, 4.2vw, 82px)) brightness(1.05);
  }

  .pricing-panel .pricing-panel__glow .hero-glow--core {
    filter: blur(clamp(14px, 2vw, 28px));
  }

  .pricing-panel .pricing-panel__glow .hero-glow--bloom {
    filter: blur(clamp(22px, 3.2vw, 56px));
  }

  .pricing-panel .pricing-panel__glow .hero-glow--haze {
    filter: blur(clamp(32px, 4.2vw, 82px));
  }
}

@media (max-width: 468px) {
  .hero__content {
    width: min(311px, 100%);
    max-width: 311px;
    margin-inline: auto;
    box-sizing: border-box;
  }

  .feature-row {
    width: min(311px, 100%);
    max-width: 311px;
    margin-inline: auto;
    box-sizing: border-box;
  }
}

.pricing-panel__masthead-grid .masthead-line--h1 {
  top: calc(
    ((var(--masthead-design-h) - 894) / var(--masthead-design-h)) * 100%
  );
  transform: translateY(-50%);
}

.pricing-panel__masthead-grid .masthead-corner--tl {
  top: calc(
    ((var(--masthead-design-h) - 894) / var(--masthead-design-h)) * 100%
  );
  transform: translate(-0.5px, -0.5px);
}

.pricing-panel__masthead-grid .masthead-corner--tr {
  top: calc(
    ((var(--masthead-design-h) - 894) / var(--masthead-design-h)) * 100%
  );
  transform: translate(calc(-100% + 0.5px), -0.5px);
}

/* ============================================================
   DOCUMENT PAGES (/privacy, /terms)

   Remote markdown is rendered by marked.js into bare tags
   (no classes), so everything is styled via .doc-content
   descendants. The ul/heading/p rules below deliberately
   restore the global resets at the top of this file.
   ============================================================ */

.doc-content {
  max-width: 840px;
  margin-inline: auto;
  padding-block: clamp(28px, 5vw, 56px) clamp(64px, 9vw, 110px);
  overflow-x: auto;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(var(--white-rgb), 0.84);
}

.doc-content h1,
.doc-content h2,
.doc-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.doc-content h1 {
  font-size: clamp(26px, 4vw, 36px);
  margin: 1.6em 0 0.8em;
}

/* offer.md marks mid-document sections as h1 — only the lead one is flush */
.doc-content h1:first-child {
  margin-top: 0;
}

.doc-content h2 {
  font-size: clamp(20px, 2.6vw, 24px);
  margin: 1.8em 0 0.6em;
}

.doc-content h3 {
  font-size: 18px;
  margin: 1.5em 0 0.5em;
}

.doc-content p {
  margin: 0 0 1.05em;
}

.doc-content ul,
.doc-content ol {
  margin: 0 0 1.1em;
  padding-left: 1.4em;
}

.doc-content ul {
  list-style: disc;
}

.doc-content ol {
  list-style: decimal;
}

.doc-content li {
  margin-bottom: 0.45em;
}

.doc-content li::marker {
  color: var(--accent);
}

.doc-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.doc-content strong {
  color: var(--text);
  font-weight: 600;
}

.doc-content hr {
  border: 0;
  border-top: 1px solid var(--border-soft);
  margin: 2em 0;
}

.doc-content blockquote {
  margin: 0 0 1.1em;
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--accent);
  color: rgba(var(--white-rgb), 0.7);
}

.doc-content code {
  font-size: 0.9em;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 1px 6px;
}

.doc-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.2em;
  font-size: 14px;
}

.doc-content th,
.doc-content td {
  border: 1px solid var(--border-soft);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.doc-content th {
  background: var(--surface);
  color: var(--text);
}

@media (max-width: 600px) {
  .doc-content {
    font-size: 15px;
  }
}

/* ============================================================
   INTERACTION & MOTION PREFERENCES (centralized)

   Hover/active states and prefers-reduced-motion overrides,
   gathered from the per-component locations above. Order matters:
   the hover block must come BEFORE the reduced-motion block so
   reduced motion can cancel the hover transforms. Placed at the
   end of the file so the motion overrides win the cascade.
   ============================================================ */

@media (hover: hover) {
  .site-header .nav__pill a:hover {
    color: var(--accent-soft);
  }

  .btn--primary:hover,
  .btn--pricing:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow:
      0 10px 28px rgba(var(--accent-rgb), 0.38),
      0 2px 8px rgba(var(--black-rgb), 0.25);
  }

  .btn--outline:hover {
    transform: translateY(-2px);
    background: rgba(var(--accent-rgb), 0.14);
    border-color: var(--accent-soft);
    box-shadow:
      0 8px 22px rgba(var(--accent-rgb), 0.22),
      0 0 0 1px rgba(var(--accent-rgb), 0.12);
  }

  .btn--primary:active,
  .btn--pricing:active,
  .btn--outline:active {
    transform: translateY(0);
    filter: brightness(1.02);
    box-shadow:
      0 4px 14px rgba(var(--accent-rgb), 0.22),
      0 1px 4px rgba(var(--black-rgb), 0.2);
  }

  .burger:hover .burger__icon-svg {
    filter: drop-shadow(0 4px 14px rgba(var(--accent-rgb), 0.55));
    transform: scale(1.05);
  }

  .site-header .nav__close:hover .nav__close-ring {
    background: rgba(var(--accent-rgb), 0.14);
    border-color: var(--accent-soft);
    box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.22);
  }

  .faq__q:hover {
    background: rgba(var(--white-rgb), 0.045);
  }

  .faq__item:not(.is-open) .faq__q:hover .faq__icon {
    background-color: rgba(var(--accent-rgb), 0.1);
    border-color: var(--accent-soft);
  }

  .footer__list a:hover,
  .footer__list a:hover .footer__contact-icon {
    color: var(--accent-soft);
  }

  .doc-content a:hover {
    color: var(--accent-soft);
  }
}

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

  .site-header,
  .site-header .header__inner.container,
  .site-header.header--scrolled .nav__pill,
  .site-header .nav {
    transition-duration: 0.01ms;
  }

  .btn,
  .burger__icon-svg,
  .site-header .nav__close-ring,
  .faq__q,
  .faq__icon {
    transition-duration: 0.01ms !important;
  }

  .skeleton-block {
    animation: none;
  }

  .faq__a,
  .faq__a-inner {
    transition-duration: 0.01ms;
    transition-delay: 0ms;
  }

  @media (hover: hover) {
    .btn--primary:hover,
    .btn--pricing:hover,
    .btn--outline:hover,
    .btn--primary:active,
    .btn--pricing:active,
    .btn--outline:active {
      transform: none;
    }

    .burger:hover .burger__icon-svg {
      transform: none;
    }
  }
}
