:root {
  --ink: #173d32;
  --ink-2: #225246;
  --cream: #f6f0e5;
  --paper: #fffdf9;
  --orange: #f39a5b;
  --orange-dark: #df7f3e;
  --lime: #d8e6a1;
  --muted: #66776f;
  --line: #dcded5;
  --radius: 28px;
  --shadow: 0 22px 70px rgba(23, 61, 50, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 112px 0; }
section[id] { scroll-margin-top: 76px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 18px; color: white; background: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0 !important; margin: -1px !important; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(23, 61, 50, .08);
  background: rgba(255, 253, 249, .9);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.brand-mark { display: grid; place-items: center; width: 39px; aspect-ratio: 1; color: white; background: var(--ink); border-radius: 50% 50% 50% 14px; font-weight: 900; font-size: 20px; }
.brand b, .brand small { display: block; line-height: 1.08; }
.brand b { font-size: 15px; letter-spacing: -.02em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
nav a { color: #52675f; font-size: 14px; transition: color .2s; }
nav a:hover { color: var(--ink); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 58px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(243, 154, 91, .25);
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.button:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(243, 154, 91, .32); }
.button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #f0a15d; outline-offset: 3px; }
.button-small { min-height: 44px; padding: 0 20px; box-shadow: none; font-size: 14px; }

.hero { position: relative; overflow: hidden; padding: 70px 0 94px; background: var(--cream); }
.hero::before { content: ""; position: absolute; width: 580px; height: 580px; left: -260px; bottom: -400px; border-radius: 50%; border: 100px solid rgba(216, 230, 161, .36); }
.hero-grid { position: relative; display: grid; grid-template-columns: .96fr 1.04fr; align-items: center; gap: 58px; }
.eyebrow { margin: 0 0 18px; color: var(--orange-dark); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 20px; height: 2px; margin-right: 8px; vertical-align: middle; background: currentColor; }
h1, h2 { margin: 0; font-weight: 670; letter-spacing: -.055em; line-height: .98; text-wrap: balance; }
h1 { max-width: 660px; font-size: clamp(52px, 5.6vw, 80px); }
h1 em { color: var(--orange-dark); font-family: Georgia, serif; font-weight: 400; }
h2 { font-size: clamp(42px, 4.5vw, 64px); }
h3 { line-height: 1.15; }
.lead { max-width: 620px; margin: 30px 0; color: #53655e; font-size: 19px; line-height: 1.65; }
.lead strong { color: var(--ink); }
.hero-actions { display: flex; align-items: center; gap: 22px; }
.microcopy { display: flex; align-items: center; gap: 10px; max-width: 150px; color: var(--muted); font-size: 12px; line-height: 1.3; }
.microcopy b { display: grid; flex: 0 0 auto; place-items: center; width: 37px; aspect-ratio: 1; border: 1px solid #b8c4bd; border-radius: 50%; color: var(--ink); font-size: 11px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 42px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(23, 61, 50, .13); list-style: none; }
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong { font-size: 21px; letter-spacing: -.03em; }
.hero-facts span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.hero-visual { position: relative; min-height: 625px; }
.hero-visual::before { content: ""; position: absolute; inset: 30px 12px -14px 60px; z-index: -1; border-radius: 47% 47% 20px 20px; background: var(--lime); transform: rotate(4deg); }
.hero-visual img { width: 100%; height: 625px; object-fit: cover; object-position: 63% center; border-radius: 48% 48% 18px 18px; box-shadow: var(--shadow); }
.payment-card, .people-card { position: absolute; display: flex; align-items: center; border: 1px solid rgba(255, 255, 255, .75); background: rgba(255, 253, 249, .93); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.payment-card { left: -36px; top: 88px; gap: 12px; padding: 14px 20px 14px 14px; border-radius: 16px; }
.payment-card span small, .payment-card span strong { display: block; }
.payment-card small { color: var(--muted); font-size: 10px; }
.payment-card strong { margin-top: 2px; font-size: 18px; }
.payment-icon { display: grid !important; place-items: center; width: 37px; aspect-ratio: 1; color: white; background: var(--ink); border-radius: 50%; }
.people-card { right: -22px; bottom: 44px; padding: 13px 17px; border-radius: 16px; }
.avatar { display: grid; place-items: center; width: 32px; aspect-ratio: 1; margin-left: -7px; border: 2px solid white; color: var(--ink); background: var(--lime); border-radius: 50%; font-size: 10px; font-weight: 800; }
.avatar:nth-child(2) { background: #f6c29f; }
.avatar:nth-child(3) { background: #c8dfd4; }
.people-card b { margin-left: 10px; font-size: 10px; line-height: 1.3; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 56px; }
.section-head > p { max-width: 450px; margin: 0 0 4px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.step-grid li { position: relative; min-height: 320px; padding: 28px; overflow: hidden; border: 1px solid #e3e4de; border-radius: 22px; background: #fff; }
.step-grid li::after { content: ""; position: absolute; width: 160px; height: 160px; right: -95px; top: -95px; border: 34px solid var(--cream); border-radius: 50%; }
.step-number { color: #8b9992; font-family: Georgia, serif; font-size: 13px; }
.step-grid i { display: grid; place-items: center; width: 50px; aspect-ratio: 1; margin-top: 62px; color: var(--ink); background: var(--cream); border-radius: 50%; font-family: Georgia, serif; font-size: 21px; font-style: normal; }
.step-grid h3 { margin: 25px 0 9px; font-size: 20px; }
.step-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.step-grid .accent-step { color: white; border-color: var(--ink); background: var(--ink); }
.step-grid .accent-step::after { border-color: rgba(255, 255, 255, .06); }
.accent-step .step-number, .accent-step p { color: #b9cbc3; }
.accent-step i { color: var(--ink); background: var(--lime); }

.income { background: var(--ink); color: white; }
.income-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 70px; }
.income-copy > p:not(.eyebrow) { max-width: 450px; margin: 28px 0 34px; color: #aec2b9; font-size: 17px; line-height: 1.65; }
.bonus-card { display: flex; align-items: center; gap: 18px; max-width: 440px; padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.05); }
.bonus-icon { display: grid; flex: 0 0 auto; place-items: center; width: 58px; aspect-ratio: 1; color: var(--ink); background: var(--lime); border-radius: 50%; font-family: Georgia, serif; font-size: 19px; }
.bonus-card strong { display: block; }
.bonus-card p { margin: 5px 0 0; color: #aec2b9; font-size: 13px; }
.reward-scale { display: flex; align-items: end; gap: 9px; min-height: 520px; padding-top: 55px; }
.reward-scale > div { position: relative; display: flex; flex: 1; flex-direction: column; justify-content: flex-end; height: var(--h); padding: 18px 11px; border-radius: 14px 14px 5px 5px; color: var(--ink); background: #f0ebdf; transition: transform .2s; }
.reward-scale > div:hover { transform: translateY(-6px); }
.reward-scale span { font-size: 10px; }
.reward-scale strong { margin-top: 3px; font-size: clamp(14px, 1.25vw, 18px); white-space: nowrap; }
.reward-scale .top-reward { background: var(--orange); }
.reward-scale i { position: absolute; top: 18px; left: 50%; padding: 4px 8px; border-radius: 12px; color: white; background: var(--ink); font-size: 9px; font-style: normal; text-transform: uppercase; transform: translateX(-50%); }

.benefits { background: var(--cream); }
.section-head.compact { margin-bottom: 45px; }
.benefit-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.benefit-grid article { min-height: 280px; padding: 32px; border-radius: 22px; background: var(--paper); }
.benefit-grid article > span { display: grid; place-items: center; width: 52px; aspect-ratio: 1; color: var(--ink); background: var(--lime); border-radius: 50%; font-family: Georgia, serif; font-size: 20px; }
.benefit-grid h3 { margin: 55px 0 10px; font-size: 21px; }
.benefit-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.benefit-grid .benefit-main { display: flex; grid-row: span 2; flex-direction: column; justify-content: space-between; min-height: 574px; color: white; background: var(--ink); }
.benefit-main > span { width: 75px !important; color: white !important; background: var(--orange) !important; font-size: 32px !important; }
.benefit-main h3 { max-width: 330px; margin: 0 0 14px; font-size: 35px; }
.benefit-main p { max-width: 350px; color: #b6c6bf; font-size: 16px; }

.rules { background: var(--paper); }
.rules-grid { display: grid; grid-template-columns: 1fr 300px; align-items: end; gap: 24px; }
.rules-panel { padding: 66px; color: white; border-radius: var(--radius); background: var(--ink); }
.eyebrow.light { color: #f4b98e; }
.rules-panel > p:not(.eyebrow) { max-width: 630px; margin: 25px 0 40px; color: #b2c4bc; font-size: 17px; }
.rules-panel ul { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.13); list-style: none; }
.rules-panel li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.rules-panel li > span { color: var(--orange); font-family: Georgia, serif; }
.rules-panel b, .rules-panel small { display: block; }
.rules-panel b { font-size: 18px; }
.rules-panel small { margin-top: 6px; color: #aabdb4; font-size: 13px; }
.rules-note { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--cream); }
.rules-note > span { display: grid; place-items: center; width: 50px; aspect-ratio: 1; color: white; background: var(--orange); border-radius: 50%; font-size: 20px; }
.rules-note p { margin: 55px 0 25px; font-size: 20px; font-weight: 700; line-height: 1.35; }
.rules-note a { color: var(--orange-dark); font-size: 13px; font-weight: 750; }

.application { background: var(--cream); }
.form-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
.form-intro { position: sticky; top: 110px; }
.form-intro > p:not(.eyebrow) { margin: 26px 0; color: var(--muted); }
.form-help { display: flex; align-items: center; gap: 12px; margin-top: 36px; padding-top: 26px; border-top: 1px solid #d8d8cf; }
.form-help > span { display: grid; place-items: center; width: 44px; aspect-ratio: 1; border-radius: 50%; color: white; background: var(--ink); }
.form-help small, .form-help b { display: block; }
.form-help small { color: var(--muted); }
.form-help b { margin-top: 2px; font-size: 13px; }
.agent-form { padding: 44px; border-radius: var(--radius); background: white; box-shadow: 0 18px 60px rgba(23, 61, 50, .08); }
.agent-form fieldset { margin: 0; padding: 0; border: 0; }
.agent-form legend { width: 100%; margin-bottom: 26px; font-size: 20px; font-weight: 750; }
.agent-form legend span, .agent-form summary i { display: inline-grid; place-items: center; width: 30px; aspect-ratio: 1; margin-right: 9px; border-radius: 50%; color: white; background: var(--ink); font-size: 12px; font-style: normal; }
.fields { display: grid; gap: 16px; }
.fields-3 { grid-template-columns: repeat(3, 1fr); }
.fields-2 { grid-template-columns: repeat(2, 1fr); }
.narrow-first { grid-template-columns: .65fr 1.35fr; }
.agent-form label { display: grid; gap: 8px; margin-bottom: 18px; color: #41564e; font-size: 12px; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #d9ddd7; border-radius: 10px; color: var(--ink); background: #fff; transition: border .2s, box-shadow .2s; }
textarea { min-height: 72px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #aab7b1; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(23,61,50,.1); }
input:read-only, textarea:read-only { color: #68766f; background: #f3f4f0; }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: #b44747; }
.agent-form details { margin-top: 5px; border-top: 1px solid #e2e4df; }
.agent-form summary { display: flex; align-items: center; justify-content: space-between; padding: 21px 0; cursor: pointer; font-size: 18px; font-weight: 750; list-style: none; }
.agent-form summary::-webkit-details-marker { display: none; }
.agent-form summary small { color: var(--orange-dark); font-size: 11px; font-weight: 700; }
.agent-form details[open] summary small { font-size: 0; }
.agent-form details[open] summary small::after { content: "Свернуть раздел"; font-size: 11px; }
.agent-form details fieldset { padding: 4px 0 12px 39px; }
.check-line { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 10px !important; color: var(--muted) !important; font-weight: 500 !important; line-height: 1.45; cursor: pointer; }
.check-line input { flex: 0 0 auto; width: 18px; min-height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.check-line a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.consent { margin-top: 14px; margin-bottom: 0 !important; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit-button { width: 100%; margin-top: 24px; }
.security-note { margin: 13px 0 0; color: #7c8983; font-size: 10px; text-align: center; }
.form-status { display: none; margin: 0 0 24px; padding: 14px 16px; border-radius: 10px; font-size: 14px; }
.form-status.is-visible { display: block; }
.form-status.is-error { color: #822e2e; background: #fbe8e8; }
.form-status.is-success { color: var(--ink); background: #edf3d5; }

.faq-grid { display: grid; grid-template-columns: 340px 1fr; gap: 100px; }
.faq-lead { max-width: 280px; margin-top: 28px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 28px 4px; cursor: pointer; font-size: 20px; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--orange-dark); font-size: 25px; font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { max-width: 700px; margin: -8px 0 28px; color: var(--muted); line-height: 1.65; }

.contacts { padding-top: 0; }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 64px; color: white; border-radius: var(--radius); background: var(--ink); }
.contact-links { display: grid; align-content: center; }
.contact-links > * { display: block; margin: 0; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.contact-links small, .contact-links strong { display: block; }
.contact-links small { color: #9fb6ac; font-size: 11px; text-transform: uppercase; }
.contact-links strong { margin-top: 4px; font-size: 18px; }
.site-footer { padding: 56px 0 22px; color: white; background: #0e2d25; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; gap: 40px; }
.brand-light .brand-mark { color: var(--ink); background: var(--lime); }
.brand-light small { color: #8fa89d; }
.company-details { max-width: 480px; color: #90a89e; font-size: 13px; text-align: right; }
.footer-bottom { margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #78938a; font-size: 11px; }

@media (max-width: 980px) {
  nav { display: none; }
  .hero-grid, .income-grid, .form-wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 55px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { width: min(690px, 100%); margin-inline: auto; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .income-grid { gap: 45px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid .benefit-main { grid-row: auto; grid-column: span 2; min-height: 420px; }
  .rules-grid { grid-template-columns: 1fr; }
  .rules-note { display: flex; align-items: center; gap: 24px; }
  .rules-note p { margin: 0; }
  .rules-note a { margin-left: auto; }
  .form-intro { position: static; max-width: 650px; }
  .faq-grid { grid-template-columns: 260px 1fr; gap: 50px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 76px 0; }
  .header-inner { min-height: 66px; }
  .site-header .button { min-width: 44px; width: 44px; padding: 0; font-size: 0; }
  .site-header .button::after { content: "↗"; font-size: 18px; }
  .brand b { font-size: 13px; }
  h1 { font-size: clamp(45px, 13vw, 62px); }
  h2 { font-size: clamp(39px, 11vw, 52px); }
  .hero { padding: 45px 0 72px; }
  .hero-grid { gap: 46px; }
  .lead { margin: 23px 0; font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .microcopy { max-width: none; }
  .hero-facts { gap: 8px; }
  .hero-facts strong { font-size: 16px; }
  .hero-visual, .hero-visual img { min-height: 455px; height: 455px; }
  .hero-visual img { object-position: 66% center; }
  .payment-card { left: 8px; top: 50px; }
  .people-card { right: 7px; bottom: 22px; }
  .section-head { align-items: start; flex-direction: column; gap: 24px; margin-bottom: 36px; }
  .step-grid { grid-template-columns: 1fr; }
  .step-grid li { min-height: 280px; }
  .step-grid i { margin-top: 35px; }
  .reward-scale { gap: 5px; min-height: 430px; padding-top: 30px; }
  .reward-scale > div { padding: 12px 5px; }
  .reward-scale span { font-size: 8px; }
  .reward-scale strong { font-size: 10px; }
  .reward-scale i { top: 13px; padding: 3px 5px; font-size: 7px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid .benefit-main { grid-column: auto; min-height: 390px; }
  .rules-panel { padding: 38px 24px; }
  .rules-note { display: block; }
  .rules-note p { margin: 38px 0 20px; }
  .agent-form { padding: 27px 20px; }
  .fields-3, .fields-2, .narrow-first { grid-template-columns: 1fr; gap: 0; }
  .agent-form details fieldset { padding-left: 0; }
  .agent-form summary { font-size: 15px; }
  .agent-form summary small { font-size: 9px; }
  .faq-grid, .contact-card { grid-template-columns: 1fr; gap: 38px; }
  .contact-card { padding: 38px 24px; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; gap: 18px; }
  .company-details { text-align: left; }
  .footer-bottom { margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media (prefers-contrast: more) {
  :root { --muted: #344a41; --line: #7b8a83; }
  .button { outline: 2px solid currentColor; }
}
