/* ============================================================
   SnapHire Landing — recreated from the Claude Design export
   Warm-dark palette, Manrope, indigo accent.
   ============================================================ */

:root {
  --bg:        #161513;
  --surface:   #201F1C;
  --surface-2: #1A1917;
  --surface-3: #1B1A17;
  --footer-bg: #141311;

  --border:      #2E2D29;
  --border-soft: #262521;
  --border-mid:  #33322E;
  --border-hi:   #3A3833;

  --text:      #F2F1EC;
  --text-body: #C9C7BE;
  --text-mut:  #9A988F;
  --text-mut2: #8C8A81;
  --text-mut3: #7C7A72;
  --text-mut4: #6A6862;

  --accent:       #5B5BD6;
  --accent-light: #8B8BF0;
  --accent-lt2:   #A5A5F5;
  --accent-lt3:   #B9B8FF;

  --green:      #5FB98B;
  --green-light:#8FD5B0;
  --gold:       #E0B85C;
  --red:        #E4634A;

  --maxw: 1200px;
  --mono: ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--accent-light); text-decoration: none; }
a:hover { color: var(--accent-lt2); }

h1, h2, p { margin: 0; }

@keyframes shl-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shl-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes shl-pulse {
  0%, 100% { opacity: .5; }
  50%      { opacity: .85; }
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 21, 19, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand__name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.toggle__btn {
  padding: 9px 16px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-mut);
  background: transparent;
  transition: all .15s ease;
}
.toggle__btn.is-active {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 20px -10px rgba(91, 91, 214, 0.9);
}
a.toggle__btn { text-decoration: none; }
.toggle__btn:not(.is-active):hover { color: var(--text); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-mut);
}
.nav__link:hover { color: var(--text); }

/* Buttons ------------------------------------------------- */
.btn { font-family: inherit; cursor: pointer; border: none; }

.btn--nav {
  padding: 11px 20px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 800;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px -12px rgba(91, 91, 214, 0.9);
  transition: all .16s ease;
}
.btn--nav:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 16px 34px -16px rgba(91, 91, 214, 0.9);
  transition: all .16s ease;
}
.btn--primary:hover { filter: brightness(1.07); transform: translateY(-1px); }

.btn--secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 22px;
  border-radius: 14px;
  border: 1.5px solid var(--border-mid);
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  transition: all .16s ease;
}
.btn--secondary:hover { border-color: #4A4843; background: #26251F; }
.btn--secondary svg { display: block; }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; }
.hero__glow {
  position: absolute;
  top: -320px;
  right: -220px;
  width: 920px;
  height: 920px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 91, 214, 0.30), rgba(91, 91, 214, 0) 66%);
  filter: blur(16px);
  animation: shl-pulse 8s ease-in-out infinite;
  pointer-events: none;
}
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 88px 32px 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero__copy { animation: shl-rise .5s ease both; }

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(91, 91, 214, 0.14);
  border: 1px solid rgba(91, 91, 214, 0.4);
  color: var(--accent-lt3);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hero__pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(91, 91, 214, 0.22);
  flex-shrink: 0;
}

.hero__title {
  margin: 24px 0 0;
  font-size: 60px;
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-wrap: balance;
}
.accent { color: var(--accent-light); }

.hero__sub {
  margin: 26px 0 0;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--text-body);
  max-width: 560px;
  text-wrap: pretty;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
  color: var(--text-mut2);
  font-size: 13.5px;
  font-weight: 600;
}
.trust-item { display: inline-flex; align-items: center; gap: 8px; }
.trust-item .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* product mock ------------------------------------------- */
.hero__mock { animation: shl-rise .5s ease .1s both; }
.mock {
  position: relative;
  padding: 20px;
  border-radius: 26px;
  background: linear-gradient(180deg, #201F1C, #1A1917);
  border: 1px solid var(--border);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9);
}
.mock__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mock__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mut2);
}
.mock__online {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
}
.mock__card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 16px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.mock__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 91, 214, 0.2);
  color: var(--accent-light);
  font-weight: 800;
  font-size: 18px;
}
.mock__body { flex: 1; min-width: 0; }
.mock__name-row { display: flex; align-items: center; gap: 8px; }
.mock__name { font-size: 15px; font-weight: 700; }
.mock__age { font-size: 13px; color: var(--text-mut2); font-weight: 600; }
.verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(95, 185, 139, 0.12);
}
.verified .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.verified span { font-size: 10.5px; color: var(--green-light); font-weight: 700; }

.wave {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 20px;
  margin-top: 9px;
}
.wave span { width: 3px; flex-shrink: 0; border-radius: 2px; }

.mock__match { display: flex; flex-direction: column; align-items: center; gap: 1px; flex-shrink: 0; }
.mock__match-pct { font-size: 17px; font-weight: 800; color: var(--green); line-height: 1; }
.mock__match-lbl { font-size: 9.5px; color: var(--text-mut2); font-weight: 600; }

.mock__tiles { display: flex; gap: 10px; margin-top: 12px; }
.mock__tile {
  flex: 1;
  padding: 13px 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.mock__tile-k { font-size: 11px; color: var(--text-mut2); font-weight: 600; }
.mock__tile-v { font-size: 14px; font-weight: 700; margin-top: 4px; }

.btn--mock {
  width: 100%;
  margin-top: 14px;
  padding: 13px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 26px -14px rgba(91, 91, 214, 0.9);
}

/* ============ STATS BAND ============ */
.stats {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface-2);
}
.stats__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 38px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat__big {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat__unit { font-size: 24px; color: var(--text-mut2); margin-left: 4px; }
.stat__label {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-mut2);
  max-width: 280px;
}

/* ============ SECTIONS (shared) ============ */
.section { }
.section--alt { border-top: 1px solid var(--border-soft); background: var(--surface-2); }
.section__inner { max-width: var(--maxw); margin: 0 auto; padding: 96px 32px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.eyebrow--center { justify-content: center; }
.eyebrow__num {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-light);
  font-family: var(--mono);
  letter-spacing: 0.12em;
}
.eyebrow__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-mut2);
  text-transform: uppercase;
}
.section__title {
  margin: 0 0 52px;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 760px;
  text-wrap: balance;
}
.section__title--tight { margin-bottom: 14px; }
.section__sub {
  margin: 0 0 44px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-mut);
  max-width: 620px;
}

/* How it works ------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  position: relative;
  padding: 28px 24px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.step__n {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 91, 214, 0.14);
  border: 1px solid rgba(91, 91, 214, 0.32);
  color: var(--accent-light);
  font-weight: 800;
  font-size: 17px;
  font-family: var(--mono);
}
.step__title { margin-top: 20px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.step__text { margin: 9px 0 0; font-size: 15px; line-height: 1.5; color: var(--text-mut); }

/* Advantages --------------------------------------------- */
.advantages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.adv {
  display: flex;
  gap: 18px;
  padding: 28px 26px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.adv__dot {
  width: 14px; height: 14px;
  border-radius: 5px;
  flex-shrink: 0;
  margin-top: 5px;
}
.adv__title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.adv__text { margin: 8px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--text-mut); }

/* Professions -------------------------------------------- */
.professions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.prof {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border-radius: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all .16s ease;
}
.prof:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.prof__tile {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.prof__name { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }

/* Pricing ------------------------------------------------ */
.packages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.pkg--featured {
  background: linear-gradient(180deg, rgba(91, 91, 214, 0.16), rgba(91, 91, 214, 0.04));
  border: 1.5px solid var(--accent);
  box-shadow: 0 24px 60px -34px rgba(91, 91, 214, 0.9);
}
.pkg--custom { border: 1px dashed #4A4843; }
.pkg__badge {
  position: absolute;
  top: 24px; right: 24px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.pkg__name { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; color: var(--text-mut2); }
.pkg--featured .pkg__name { color: var(--accent-lt3); }
.pkg__big {
  margin-top: 14px;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pkg__big--custom { font-size: 30px; letter-spacing: -0.02em; line-height: 1.05; }
.pkg__big-unit { font-size: 22px; font-weight: 500; color: var(--text-mut2); }
.pkg--featured .pkg__big-unit { color: var(--accent-lt3); }
.pkg__big--custom .pkg__big-unit { font-size: 30px; font-weight: 800; }
.pkg__price { margin-top: 10px; font-size: 20px; font-weight: 700; color: var(--text); }
.pkg__price-unit { font-size: 15px; font-weight: 500; color: var(--text-mut2); }
.pkg__spacer { flex: 1; }
.pkg__note { margin-top: 20px; font-size: 14.5px; line-height: 1.55; color: var(--text-mut); }
.pkg__btn {
  width: 100%;
  margin-top: 22px;
  padding: 13px;
  border-radius: 12px;
  border: 1.5px solid var(--border-mid);
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  background: #26251F;
  transition: all .16s ease;
}
.pkg__btn:hover { border-color: #4A4843; background: #2E2D26; transform: translateY(-1px); }
.pkg--featured .pkg__btn { border: none; color: #fff; background: var(--accent); }
.pkg--featured .pkg__btn:hover { border: none; background: var(--accent); filter: brightness(1.07); }

.price-note {
  margin: 26px 0 0;
  font-size: 14.5px;
  color: var(--text-mut2);
  font-weight: 600;
}

/* Candidate free card */
.free-card {
  max-width: 640px;
  padding: 48px 44px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(95, 185, 139, 0.14), #201F1C 60%);
  border: 1px solid rgba(95, 185, 139, 0.3);
  position: relative;
  overflow: hidden;
}
.free-card__price {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--green);
}
.free-card__price span { font-size: 34px; color: var(--green-light); }
.free-card__title { margin-top: 18px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.free-card__perks { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.perk { display: flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 600; color: var(--text-body); }
.perk svg { flex-shrink: 0; }
.free-card__cta { margin-top: 30px; }

/* ============ FAQ ============ */
.faq { max-width: 840px; margin: 0 auto; padding: 96px 32px; }
.faq__title {
  margin: 0 0 44px;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-align: center;
  text-wrap: balance;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 12px;
}
.faq-item__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.faq-item__q { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.faq-item__icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--text-mut2);
  background: #26251F;
  transform: rotate(0deg);
  transition: all .18s ease;
}
.faq-item.is-open .faq-item__icon {
  color: var(--accent-light);
  background: rgba(91, 91, 214, 0.14);
  transform: rotate(45deg);
}
.faq-item__answer { display: none; }
.faq-item.is-open .faq-item__answer { display: block; }
.faq-item__answer p {
  margin: 0;
  padding: 0 26px 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-mut);
}

/* ============ FINAL CTA ============ */
.final {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-soft);
  background: radial-gradient(120% 140% at 50% 0%, rgba(91, 91, 214, 0.22), rgba(91, 91, 214, 0) 60%), var(--bg);
}
.final .dot-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
}
.final__inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 104px 32px;
  text-align: center;
}
.final__title {
  margin: 0;
  font-size: 52px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.final__sub {
  margin: 22px auto 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-body);
  max-width: 560px;
  text-wrap: pretty;
}
.final__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.btn--telegram {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 16px 22px;
  border-radius: 14px;
  border: 1.5px solid var(--border-mid);
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  transition: all .16s ease;
}
.btn--telegram:hover { border-color: #4A4843; color: var(--text); }
.tg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, #33ade0, #229ED9);
}
.tg-icon svg { display: block; position: relative; top: 1px; left: -1px; }
.final__note { margin-top: 22px; font-size: 13.5px; color: var(--text-mut3); font-weight: 600; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--border-soft); background: var(--footer-bg); }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 11px; }
.footer__mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}
.footer__name { font-weight: 800; font-size: 16px; letter-spacing: -0.02em; }
.footer__tag { font-size: 14px; color: var(--text-mut3); font-weight: 600; margin-left: 6px; }
.footer__links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; color: var(--text-mut2); }
.footer__link { color: var(--text-mut2); }
.footer__link:hover { color: var(--text); }
.footer__copy { font-family: var(--mono); color: var(--text-mut4); }

/* ============ SUBSCRIBE POPUP ============ */
[hidden] { display: none !important; }
body.popup-open { overflow: hidden; }

.popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup.is-open { display: flex; }

.popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: shl-fade .2s ease both;
}
@keyframes shl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes shl-pop {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.popup__dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 34px 32px 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, #201F1C, #1A1917);
  border: 1px solid var(--border);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.95);
  animation: shl-pop .22s cubic-bezier(.2, .8, .2, 1) both;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.popup__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-mut);
  cursor: pointer;
  transition: all .15s ease;
}
.popup__close:hover { color: var(--text); border-color: var(--border-hi); }

.popup__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(91, 91, 214, 0.14);
  border: 1px solid rgba(91, 91, 214, 0.4);
  color: var(--accent-lt3);
  font-size: 12.5px;
  font-weight: 700;
}
.popup__title {
  margin: 18px 0 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}
.popup__sub {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-mut);
}

.popup__offer {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(95, 185, 139, 0.12);
  border: 1px solid rgba(95, 185, 139, 0.32);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.popup__offer-tokens {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--green-light);
}
.popup__offer-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mut);
}

.popup__form { margin-top: 20px; }
.popup__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mut2);
  margin-bottom: 8px;
}
.popup__input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1.5px solid var(--border-mid);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.popup__input::placeholder { color: var(--text-mut4); font-weight: 500; }
.popup__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(91, 91, 214, 0.18);
}
.popup__field-error {
  margin-top: 12px;
  padding: 10px 13px;
  border-radius: 10px;
  background: rgba(228, 99, 74, 0.12);
  border: 1px solid rgba(228, 99, 74, 0.35);
  color: #F0A493;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}
.popup__captcha { margin-top: 18px; min-height: 65px; }
.popup__submit { width: 100%; margin-top: 18px; }
.popup__submit:disabled { opacity: .6; cursor: default; transform: none; filter: none; }

.popup__success { text-align: center; padding: 6px 0 4px; }
.popup__success-icon {
  width: 60px; height: 60px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(95, 185, 139, 0.14);
  border: 1px solid rgba(95, 185, 139, 0.4);
  color: var(--green);
}
.popup__success .popup__title { margin-top: 18px; }
.popup__success .popup__sub { margin-left: auto; margin-right: auto; max-width: 320px; }
.popup__success .popup__submit { margin-top: 24px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__title { font-size: 48px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .professions { grid-template-columns: repeat(3, 1fr); }
  .packages { grid-template-columns: repeat(2, 1fr); }
  .section__title { font-size: 36px; }
  .final__title { font-size: 42px; }
}
@media (max-width: 720px) {
  .container, .nav__inner, .hero__inner, .stats__inner,
  .section__inner, .faq, .final__inner, .footer__inner { padding-left: 20px; padding-right: 20px; }
  .nav__links { gap: 10px; }
  .nav__link { display: none; }
  .hero__inner { padding-top: 56px; padding-bottom: 56px; }
  .hero__title { font-size: 38px; }
  .hero__sub { font-size: 18px; }
  .stats__inner { grid-template-columns: 1fr; gap: 28px; }
  .section__inner { padding-top: 64px; padding-bottom: 64px; }
  .steps, .advantages, .professions { grid-template-columns: 1fr; }
  .packages { grid-template-columns: 1fr; }
  .section__title { font-size: 30px; }
  .free-card { padding: 36px 26px; }
  .final__title { font-size: 34px; }
  .final__inner { padding: 72px 20px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .toggle__btn { padding: 9px 12px; font-size: 13px; }
  .brand__name { font-size: 18px; }
  .popup__dialog { padding: 30px 22px 26px; border-radius: 20px; }
  .popup__title { font-size: 23px; }
}
