:root {
  --ink: #12151a;
  --ink-soft: #2a3038;
  --muted: #5e6772;
  --line: #d8dde3;
  --paper: #f5f6f4;
  --paper-2: #e8ece7;
  --surface: #ffffff;
  --accent: #0c6b52;
  --accent-2: #148a69;
  --accent-soft: #d9efe6;
  --warn: #c45c1a;
  --score: #0c6b52;
  --font-display: "Syne", "Syne Fallback", "Manrope Fallback", sans-serif;
  --font-body: "Manrope", "Manrope Fallback", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
  box-sizing: border-box;
}

/* Header — fixed glass (blur on layer, not on header itself — keeps mobile menu fullscreen) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 220;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  padding-top: env(safe-area-inset-top, 0px);
  background: transparent;
  border-bottom: 1px solid rgba(216, 221, 214, 0.35);
  transition: border-color 0.35s var(--ease);
  overflow: visible;
}

.site-header__glass {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(245, 246, 244, 0.55);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(216, 221, 214, 0.65);
}

.site-header.is-scrolled .site-header__glass {
  background: rgba(245, 246, 244, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 10px 28px rgba(18, 21, 26, 0.06);
}

body.nav-open .site-header__glass {
  background: rgba(245, 246, 244, 0.88);
}

.block-speed-link {
  margin: 10px 0;
}

.block-speed-link a {
  width: 100%;
}

.site-header .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: var(--max);
}

.logo {
  font-family: var(--font-display);
  font-weight: 780;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  flex-shrink: 1;
  min-width: 0;
}

.logo span {
  color: var(--accent);
  font-weight: 700;
}

.nav {
  display: none;
}

@media (min-width: 821px) {
  .nav {
    position: fixed;
    top: 0;
    left: 50%;
    right: auto;
    z-index: 230;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.4rem;
    height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    padding-inline: max(1.25rem, env(safe-area-inset-left));
    width: min(100% - 2.5rem, var(--max));
    margin-inline: 0;
    transform: translateX(-50%);
    box-sizing: border-box;
    pointer-events: none;
  }

  .nav a {
    pointer-events: auto;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 560;
    color: var(--ink-soft);
  }

  .nav a:hover {
    color: var(--accent);
  }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.05rem;
  background: var(--ink);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 650 !important;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(216, 221, 214, 0.7);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.25s var(--ease);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.8);
}

.nav-toggle i {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  transform-origin: center;
}

.nav-toggle.is-active i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active i:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-active i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    z-index: 210;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.15rem;
    margin: 0;
    padding: 0.85rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    background: rgba(245, 246, 244, 0.94);
    border-bottom: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -12px, 0);
    transition:
      opacity 0.28s var(--ease),
      transform 0.36s var(--ease),
      visibility 0s linear 0.36s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition:
      opacity 0.28s var(--ease),
      transform 0.36s var(--ease),
      visibility 0s linear 0s;
  }

  .nav a {
    padding: 1rem 0.35rem;
    font-size: 1.12rem;
    min-height: 52px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(216, 221, 214, 0.65);
    color: var(--ink);
    opacity: 0;
    transform: translate3d(0, 8px, 0);
    transition:
      opacity 0.28s var(--ease),
      transform 0.32s var(--ease),
      color 0.2s var(--ease);
  }

  .nav.is-open a {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .nav.is-open a:nth-child(1) { transition-delay: 0.05s; }
  .nav.is-open a:nth-child(2) { transition-delay: 0.09s; }
  .nav.is-open a:nth-child(3) { transition-delay: 0.13s; }
  .nav.is-open a:nth-child(4) { transition-delay: 0.17s; }
  .nav.is-open a:nth-child(5) { transition-delay: 0.21s; }

  .nav:not(.is-open) a {
    transition-delay: 0s;
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
    min-height: 52px;
    border-bottom: none !important;
    width: 100%;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 1.35rem;
  border-radius: 9px;
  border: none;
  font: inherit;
  font-weight: 680;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-2);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, #cfe8dc 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, #dde3ea 0%, transparent 50%),
    linear-gradient(165deg, #f7f8f5 0%, #e9eee8 48%, #dfe6e1 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 21, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 21, 26, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding-block: 3.5rem 4rem;
  min-height: calc(100svh - var(--header-h));
}

.hero .container > * {
  min-width: 0;
  max-width: 100%;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 1.1rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-brand em {
  font-style: normal;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  max-width: 22ch;
  overflow-wrap: break-word;
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36ch;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 440px);
}

.score-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: 0 28px 60px rgba(18, 21, 26, 0.08);
  animation: float-in 0.9s var(--ease) both;
}

.score-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.1rem;
}

.score-panel-top strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.score-panel-top span {
  font-size: 0.8rem;
  color: var(--muted);
}

.score-ring-wrap {
  display: grid;
  place-items: center;
  margin: 0.5rem 0 1.2rem;
}

.score-ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--surface) 58%, transparent 59%),
    conic-gradient(var(--score) calc(var(--p, 100) * 1%), #e4e8e4 0);
  display: grid;
  place-items: center;
}

.score-value {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--score);
}

.score-value small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  margin-top: 0.35rem;
  text-align: center;
}

.metric-rows {
  display: grid;
  gap: 0.55rem;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.metric-row span:last-child {
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.metric-bar {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 99px;
  background: #e7ebe7;
  overflow: hidden;
}

.metric-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: inherit;
  transition: width 1.2s var(--ease);
}

.score-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    overflow-x: clip;
  }

  .hero .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    padding-block: 2rem 2.5rem;
    min-height: auto;
  }

  .hero-copy,
  .hero-visual {
    min-width: 0;
    max-width: 100%;
  }

  .hero-visual {
    justify-self: stretch;
    width: 100%;
  }

  .hero h1,
  .hero-lead {
    max-width: none;
  }
}

/* Sections common */
section {
  padding: 5rem 0;
}

.section-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 18ch;
}

.section-text {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.02rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Market sleep */
.market {
  background: var(--ink);
  color: #e8ebe9;
}

.market .section-kicker {
  color: #7dceb4;
}

.market .section-title {
  color: #fff;
  max-width: 16ch;
}

.market .section-text {
  color: #a8b0b8;
}

.market-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: end;
  margin-top: 2.2rem;
}

.compare-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.compare-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.compare-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  color: #fff;
}

.compare-list p {
  margin: 0;
  color: #a8b0b8;
  font-size: 0.95rem;
}

.compare-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 750;
  color: #7dceb4;
  line-height: 1;
  min-width: 2ch;
}

.market-aside {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 1.5rem;
}

.market-aside p {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  line-height: 1.45;
  color: #fff;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.market-aside .price-hint {
  font-size: 0.95rem;
  color: #a8b0b8;
  font-family: var(--font-body);
  letter-spacing: 0;
}

@media (max-width: 800px) {
  .market-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.6rem;
  }

  .market-aside {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 0;
    padding-top: 1.35rem;
  }

  .market .section-title {
    max-width: none;
  }
}

/* Services */
.services {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}

.services-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.service-blocks {
  display: grid;
  gap: 1.5rem;
}

.service-block {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.service-block:last-child {
  border-bottom: 1px solid var(--line);
}

.service-block h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.service-block p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.service-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-points li {
  font-weight: 620;
  font-size: 0.95rem;
  position: relative;
  padding-left: 0.95rem;
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 800px) {
  .services-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services .section-title {
    max-width: none;
  }
}

/* Advantages */
.advantages {
  background: var(--surface);
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.75rem;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.adv-item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.adv-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.git-band {
  margin-top: 2.5rem;
  padding: 1.6rem 1.7rem;
  background:
    linear-gradient(120deg, #10231c 0%, #1a3a2e 55%, #0f2920 100%);
  color: #e7f2ec;
  border-radius: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem 1.5rem;
  align-items: center;
}

.git-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
}

.git-band h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.git-band p {
  margin: 0;
  color: #b7cdc3;
  font-size: 0.98rem;
  max-width: 60ch;
}

@media (max-width: 800px) {
  .advantages .section-title {
    max-width: none;
  }

  .adv-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    margin-top: 1.6rem;
    padding-top: 1.4rem;
  }

  .git-band {
    grid-template-columns: 1fr;
    padding: 1.25rem 1.2rem;
    gap: 0.9rem;
  }
}

/* Proof / speed */
.proof {
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, #d6ebe1 0%, transparent 55%),
    var(--paper);
}

.proof-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.proof-compare {
  display: grid;
  gap: 0.9rem;
}

.proof-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.proof-row strong {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.proof-row span {
  font-size: 0.88rem;
  color: var(--muted);
  grid-column: 1;
}

.proof-score {
  grid-row: 1 / 3;
  grid-column: 2;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.proof-score.good {
  color: var(--accent);
}

.proof-score.bad {
  color: var(--warn);
}

@media (max-width: 800px) {
  .proof-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .proof .section-title {
    max-width: none;
  }

  .proof-row {
    padding: 0.95rem 1rem;
  }

  .proof-score {
    font-size: 1.45rem;
    align-self: center;
  }
}

/* Pricing */
.pricing {
  background: var(--ink);
  color: #e8ebe9;
}

.pricing .section-kicker {
  color: #7dceb4;
}

.pricing .section-title {
  color: #fff;
  max-width: 14ch;
}

.pricing .section-text {
  color: #a8b0b8;
}

.price-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  margin-top: 2.2rem;
  align-items: stretch;
}

.price-offer {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.8rem;
}

.price-steps {
  display: grid;
  gap: 1.3rem;
}

.price-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.price-step .n {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 750;
}

.price-step h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.price-step .amount {
  font-variant-numeric: tabular-nums;
  color: #7dceb4;
}

.price-step p {
  margin: 0;
  color: #a8b0b8;
  font-size: 0.95rem;
}

.price-why {
  padding: 0.4rem 0;
}

.price-why h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.price-why ul {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.price-why li {
  padding-left: 1.1rem;
  position: relative;
  color: #a8b0b8;
}

.price-why li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dceb4;
}

.price-note {
  margin: 1.2rem 0 0;
  font-size: 0.88rem;
  color: #8a939c;
}

@media (max-width: 800px) {
  .price-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.6rem;
  }

  .pricing .section-title {
    max-width: none;
  }

  .price-offer {
    padding: 1.25rem 1.15rem;
  }

  .price-step h3 {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .price-why .btn {
    width: 100%;
  }
}

/* Contact */
.contact {
  background: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 620;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  background: #fafbfa;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact .section-title {
    max-width: none;
  }

  .contact-form {
    padding: 1.15rem;
  }

  .contact-form .btn {
    width: 100%;
    min-height: 48px;
  }
}

/* Footer */
.site-footer {
  background: #0e1115;
  color: #9aa3ad;
  padding: 3rem 0 2rem;
  border-top: 1px solid #1c2229;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 780;
  letter-spacing: -0.04em;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.footer-brand span {
  color: #7dceb4;
}

.footer-grid p {
  margin: 0;
  max-width: 32ch;
  font-size: 0.92rem;
}

.footer-col-title {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-col a {
  text-decoration: none;
  color: #9aa3ad;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.4rem;
  border-top: 1px solid #1c2229;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— Mobile polish —— */
@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  body {
    font-size: 16px;
  }

  .container {
    padding-inline: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .site-header .container {
    width: 100%;
  }

  .logo {
    font-size: 1.15rem;
  }

  section {
    padding: 3.25rem 0;
  }

  .hero {
    background:
      radial-gradient(ellipse 90% 45% at 70% 0%, #cfe8dc 0%, transparent 55%),
      linear-gradient(180deg, #f7f8f5 0%, #e9eee8 100%);
    overflow-x: clip;
  }

  .hero .container {
    padding-block: 1.5rem 2rem;
    gap: 1.35rem;
  }

  .hero-copy {
    min-width: 0;
    max-width: 100%;
  }

  .hero-brand {
    font-size: clamp(2.1rem, 11vw, 2.3rem);
    margin-bottom: 0.85rem;
  }

  .hero h1 {
    font-size: clamp(1.28rem, 5.6vw, 1.55rem);
    margin-bottom: 0.7rem;
  }

  .hero-lead {
    font-size: 0.98rem;
    margin-bottom: 1.25rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .score-panel {
    padding: 1.15rem 1.1rem 1.1rem;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(18, 21, 26, 0.07);
  }

  .score-panel-top {
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
    margin-bottom: 0.75rem;
  }

  .score-panel-top span {
    width: 100%;
  }

  .score-ring {
    width: 148px;
    height: 148px;
  }

  .score-value {
    font-size: 2.7rem;
  }

  .score-ring-wrap {
    margin: 0.25rem 0 1rem;
  }

  .section-title {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
    max-width: none;
  }

  .section-text {
    font-size: 0.98rem;
  }

  .compare-list li {
    gap: 0.7rem;
  }

  .compare-num {
    font-size: 1.15rem;
    padding-top: 0.15rem;
  }

  .compare-list strong {
    font-size: 1rem;
  }

  .compare-list p,
  .service-block p,
  .adv-item p {
    font-size: 0.94rem;
  }

  .market-aside p {
    font-size: 1.05rem;
  }

  .service-block {
    padding: 1.15rem 0;
  }

  .service-block h3 {
    font-size: 1.2rem;
  }

  .service-points {
    gap: 0.4rem 0.9rem;
  }

  .proof-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .proof-row span {
    grid-column: auto;
  }

  .proof-score {
    grid-row: auto;
    grid-column: auto;
    font-size: 1.55rem;
    margin-top: 0.15rem;
  }

  .price-step {
    gap: 0.75rem;
  }

  .price-step .n {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .price-note {
    font-size: 0.84rem;
  }

  .site-footer {
    padding: 2.25rem 0 calc(1.5rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .hero-brand {
    font-size: 1.95rem;
    letter-spacing: -0.04em;
  }

  .score-panel-top strong {
    font-size: 0.95rem;
  }

  .btn {
    padding: 0.9rem 1.1rem;
  }
}

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

  .reveal,
  .score-panel,
  .metric-bar i,
  .nav,
  .nav a,
  .nav-toggle i,
  .btn,
  .nav-cta,
  .site-header {
    transition: none !important;
    animation: none !important;
  }

  .reveal,
  .nav.is-open a {
    opacity: 1;
    transform: none;
  }
}
