.section-header { margin-bottom: var(--space-6); }
.section-header h2 { font-size: 32px; font-weight: 700; letter-spacing: -.01em; }

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}
.hero__title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.hero__title-tail { display: block; color: var(--accent-text); }
.hero__subtitle { max-width: 52ch; font-size: 18px; color: var(--text-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__secondary-link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease);
}
.hero__secondary-link:hover { color: var(--accent-text); }

.price-card { display: flex; flex-direction: column; gap: var(--space-4); }
.price-card__title { font-size: 20px; font-weight: 600; }
.price-card__price { display: flex; align-items: baseline; gap: var(--space-2); font-size: 24px; }
.price-card__term { font-family: var(--font-sans); font-size: 14px; color: var(--text-muted); }
.price-card__features { display: flex; flex-direction: column; gap: var(--space-2); }
.price-card__includes { font-size: 13px; color: var(--text-muted); }
.price-card .btn { margin-top: auto; }
.price-card--featured { z-index: 1; }
@media (min-width: 1024px) {
  .price-card--featured { margin-top: -8px; }
  .profile { grid-row: span 2; }
}

.profile { display: flex; flex-direction: column; gap: var(--space-4); }
.profile__head { display: flex; align-items: center; gap: var(--space-3); }
.profile__avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--radius-el);
  background: var(--grad-accent);
  color: #fff;
  font-weight: 700;
}
.profile__name { font-weight: 600; }
.profile__role { font-size: 14px; color: var(--text-muted); }
.profile__bio { font-size: 14px; color: var(--text-muted); }
.profile__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.profile__scope {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
}

.feature { display: flex; flex-direction: column; gap: var(--space-3); }
.feature__icon { color: var(--accent); }
.feature__title { font-size: 20px; font-weight: 600; }
.feature__text { font-size: 14px; color: var(--text-muted); }

.process-card { border-radius: var(--radius-window); }
.process-card .section-header { margin-bottom: var(--space-5); }
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
}
.timeline__item { position: relative; }
.timeline__item::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 44px;
  right: calc(var(--space-5) * -1);
  height: 1px;
  background: var(--border);
}
.timeline__item:last-child::after { display: none; }
.timeline__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface-solid);
  font-family: var(--font-mono);
  font-size: 14px;
}
.timeline__body { margin-top: var(--space-3); }
.timeline__title { font-size: 15px; font-weight: 600; margin-bottom: var(--space-2); }
.timeline__text { font-size: 14px; color: var(--text-muted); }
.timeline__progress { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-3); }
.timeline__percent { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.timeline__legend { margin-top: var(--space-5); font-size: 13px; color: var(--text-muted); }

.cta {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  padding: var(--space-7);
  border: none;
  border-radius: var(--radius-window);
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 20px 50px var(--accent-glow);
}
.cta__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 12%, rgba(255, 255, 255, .22) 0%, transparent 45%);
  pointer-events: none;
}
.cta h2 { position: relative; font-size: 32px; font-weight: 700; letter-spacing: -.01em; }
.cta__subtitle { position: relative; margin: var(--space-3) 0 var(--space-6); max-width: 60ch; color: #fff; }
.cta__form { position: relative; display: grid; gap: var(--space-4); max-width: 560px; }
.cta__field { display: flex; flex-direction: column; gap: var(--space-2); }
.cta__label-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.cta__label { font-size: 13px; font-weight: 500; color: #fff; }
.cta .field {
  height: 48px;
  border-color: transparent;
  background: rgba(255, 255, 255, .95);
  color: #0f172a;
}
.cta .field::placeholder { color: #64748b; }
.cta .field:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); }
.cta__field.is-invalid .field { border-color: #fff; box-shadow: 0 0 0 3px rgba(239, 68, 68, .7); }
.field-error { min-height: 18px; font-size: 13px; font-weight: 600; color: #fff; }
.field-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #fff;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.field-live.is-valid { opacity: 1; }
.field-live__check { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cta .cta__submit {
  width: 100%;
  height: 48px;
  background: #fff;
  color: var(--accent-solid);
  box-shadow: none;
}
.cta .cta__submit:hover {
  transform: translateY(-1px);
  filter: none;
  background: rgba(255, 255, 255, .9);
  color: var(--accent-solid-hover);
}
.cta .cta__submit:focus-visible { outline-color: #fff; }
.cta__submit-spinner,
.cta__submit-check {
  display: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.cta__submit.is-busy .cta__submit-spinner { display: block; animation: spin 800ms linear infinite; }
.cta__submit.is-done .cta__submit-check { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta__meter {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 560px;
  margin-top: var(--space-4);
}
.cta__meter-track {
  flex: 1;
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .28);
  overflow: hidden;
}
.cta__meter-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.cta__meter-label { font-family: var(--font-mono); font-size: 12px; color: #fff; }
.cta__message { position: relative; margin-top: var(--space-4); font-size: 14px; }
.cta__message:empty { display: none; }
.cta__note { position: relative; margin-top: var(--space-5); font-size: 14px; color: #fff; }
.cta__note a { text-decoration: underline; text-underline-offset: 3px; }

.contacts-card { display: flex; flex-direction: column; gap: var(--space-4); }
.contacts-card__title { font-size: 20px; font-weight: 600; }
.contact-link--primary {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--accent);
  border-radius: var(--radius-el);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  transition: box-shadow var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.contact-link--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px var(--accent-soft), var(--glow-primary);
}
.contact-link__arrow { margin-left: auto; color: var(--accent-text); }
.contact-secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  font-size: 13px;
  color: var(--text-muted);
}
.contact-secondary a { text-decoration: underline; text-underline-offset: 3px; }
.contact-secondary a:hover { color: var(--accent-text); }
.socials { display: flex; gap: var(--space-2); }
.location { display: flex; align-items: flex-start; gap: var(--space-2); font-size: 14px; color: var(--text-muted); }
.location .icon { flex: none; margin-top: 2px; }

.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.banner__text { font-size: 15px; }

@media (max-width: 1023px) {
  .hero__title { font-size: 40px; }
  .hero__title-tail { display: inline; }
  .timeline { grid-template-columns: 1fr; gap: var(--space-5); }
  .timeline__item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: var(--space-4);
    align-items: start;
  }
  .timeline__item::after {
    top: 36px;
    left: 17px;
    right: auto;
    bottom: calc(var(--space-5) * -1);
    width: 1px;
    height: auto;
  }
  .timeline__body { margin-top: 0; }
}

@media (max-width: 639px) {
  .section-header h2 { font-size: 26px; }
  .hero__title { font-size: 34px; }
  .cta { padding: var(--space-5); }
  .cta h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .card--hover:hover,
  .btn:active,
  .contact-link--primary:hover { transform: none; }
}
