:root {
  color-scheme: light;
  --page: #f5f4ef;
  --surface: #fbfaf6;
  --white: #fff;
  --ink: #123126;
  --text: #18231e;
  --muted: #58665d;
  --green: #35634f;
  --green-dark: #254b3a;
  --line: #d9dfd4;
  --soft-green: #edf3e9;
  --radius: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font-size: 18px; line-height: 1.45; }
body.dialog-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--green-dark); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button:focus-visible, a:focus-visible, textarea:focus-visible { outline: 3px solid #1c7758; outline-offset: 4px; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
svg { display: block; }
[hidden] { display: none !important; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 12px; padding: 12px 18px; border-radius: 10px; background: var(--white); color: var(--ink); box-shadow: 0 2px 14px #12312626; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.no-js .js-control, .no-js .footer-divider { display: none; }

.page-shell { width: 100%; max-width: 1160px; margin: 0 auto; overflow: hidden; background: var(--surface); }
.site-header { position: relative; display: flex; align-items: center; min-height: 80px; padding: 15px 22px; border-bottom: 1px solid #d9dfd480; }
.brand { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 48px; height: 39px; flex: 0 0 auto; color: #176239; }
.brand-divider { width: 1px; height: 27px; background: #81a281; }
.brand-name { color: #101c16; font-size: 21px; font-weight: 750; letter-spacing: -.6px; white-space: nowrap; }
.header-landscape { position: absolute; right: -17px; bottom: -1px; width: 155px; height: 80px; object-fit: cover; object-position: left bottom; transform: scaleX(-1); opacity: .6; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(270deg, transparent, #000 70%); mask-image: linear-gradient(270deg, transparent, #000 70%); }

.hero-layout { position: relative; padding: 19px 20px 0; }
.hero-intro { position: relative; z-index: 1; }
h1, h2, h3, p { margin: 0; }
h1 { color: #103025; font-size: clamp(35px, 9.15vw, 45px); font-weight: 760; line-height: 1.04; letter-spacing: -1.5px; }
.hero-subtitle { margin-top: 10px; color: #28362e; font-size: 17px; line-height: 1.4; letter-spacing: -.2px; }
.hero-landscape { display: none; }
.payment-panel { position: relative; z-index: 1; margin-top: 18px; }
.payment-heading { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.payment-options { display: grid; gap: 10px; }
.payment-option { position: relative; display: flex; align-items: center; width: 100%; min-height: 77px; padding: 12px 15px; border: 1px solid #d6e2d3; border-radius: 15px; background: linear-gradient(115deg, #eff5ee, #eaf0e6); color: #10251a; text-align: left; text-decoration: none; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.payment-option:hover { border-color: #8eaf95; background: #e4eedf; box-shadow: 0 4px 12px #3753440a; text-decoration: none; }
.payment-option:active { transform: translateY(1px); background: #dce9d7; }
.payment-icon { width: 43px; height: 43px; margin-right: 20px; flex: 0 0 auto; color: #17392b; }
.payment-icon svg { width: 100%; height: 100%; }
.payment-option-copy { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.payment-name { font-size: 23px; line-height: 1.1; font-weight: 740; letter-spacing: -.65px; }
.payment-description { margin-top: 3px; color: #23332a; font-size: 16px; line-height: 1.2; }
.payment-chevron { width: 21px; height: 25px; margin-left: 12px; flex: 0 0 auto; color: #234735; }
.bank-guidance { margin-top: 15px; padding: 13px 16px 14px; border-radius: 16px; background: linear-gradient(105deg, #eaf0e3, #e8efdf); }
.bank-guidance h3 { display: inline-block; margin-bottom: 6px; padding: 3px 11px 4px; border-radius: 99px; background: #d7e5c8; color: #1d3523; font-size: 15px; line-height: 1.15; font-weight: 650; }
.bank-guidance p { color: #1f2b23; font-size: 16px; line-height: 1.28; letter-spacing: -.1px; }

.safety-section { display: grid; gap: 12px; margin: 21px 22px 0; padding-bottom: 20px; }
.safety-item { display: flex; align-items: flex-start; gap: 17px; }
.section-icon { width: 37px; height: 37px; flex: 0 0 37px; color: #176239; }
.shield-icon { height: 42px; }
.safety-item h2, .after-payment h2 { color: #16271d; font-size: 19px; font-weight: 730; line-height: 1.2; letter-spacing: -.5px; }
.safety-item p { margin-top: 5px; color: #2f3b33; font-size: 16px; line-height: 1.35; }
.safety-private, .safety-check h2 { display: none; }
.safety-check .section-icon { height: 29px; }
.safety-check p { margin-top: 0; }
.after-payment { display: grid; grid-template-columns: 37px 1fr; gap: 3px 17px; margin: 0 22px; padding: 19px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.after-payment .section-icon { grid-row: span 2; height: 41px; }
.after-payment p { color: #2f3b33; font-size: 16px; line-height: 1.35; }
.site-footer { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 13px 17px 18px; }
.text-button { min-height: 44px; padding: 5px 0; border: 0; background: transparent; color: #27513b; font-size: 14px; line-height: 1.35; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-button:hover { color: #112f20; text-decoration-thickness: 2px; }
.footer-divider { display: block; width: 1px; height: 21px; flex: 0 0 auto; background: #9cae9f; }
.site-footer noscript { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }

.payment-dialog { position: fixed; inset: 0; width: min(810px, calc(100% - 32px)); height: fit-content; max-height: calc(100vh - 36px); max-height: calc(100dvh - 36px); margin: auto; padding: 0; overflow: auto; border: 1px solid #dbe2d4; border-radius: 24px; background: #fcfcf8; color: var(--text); box-shadow: 0 24px 100px #0e281f40; overscroll-behavior: contain; }
.payment-dialog:not([open]) { display: none; }
.payment-dialog::backdrop { background: #102a225e; backdrop-filter: blur(5px); }
.payment-dialog[open] { z-index: 101; animation: dialog-enter .18s ease-out both; }
.dialog-fallback-backdrop { position: fixed; z-index: 100; inset: 0; background: #102a225e; backdrop-filter: blur(5px); }
.dialog-surface { padding: 27px; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.eyebrow { margin-bottom: 7px; color: var(--green); font-size: 14px; font-weight: 650; letter-spacing: .035em; }
.dialog-header h2 { color: var(--ink); font-size: 31px; font-weight: 740; line-height: 1.13; letter-spacing: -.9px; }
.close-button { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; margin: -3px -5px 0 0; padding: 8px; border: 1px solid #dce3d7; border-radius: 50%; background: #f0f3eb; color: var(--green-dark); }
.close-button:hover { background: #e1eadb; }
.close-button svg { width: 24px; height: 24px; }
.dialog-intro { margin-top: 15px; color: var(--muted); font-size: 17px; line-height: 1.4; }
.qr-layout { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 26px; margin-top: 24px; }
.qr-card { align-self: start; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.qr-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.secondary-button, .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 49px; padding: 11px 17px; border: 1px solid #c8d5c2; border-radius: 11px; background: #edf3e7; color: #254d37; text-align: center; text-decoration: none; font-size: 16px; font-weight: 600; line-height: 1.3; }
.secondary-button:hover { background: #e1ecd9; text-decoration: none; }
.secondary-button svg, .primary-button svg { width: 22px; height: 22px; flex: 0 0 22px; }
.qr-card .secondary-button { width: 100%; margin-top: 10px; padding-right: 10px; padding-left: 10px; font-size: 15px; }
.qr-instructions h3, .requisites-section h3 { margin-bottom: 7px; color: var(--ink); font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -.3px; }
.qr-instructions h3:not(:first-child) { margin-top: 20px; }
.qr-instructions p { color: #455549; font-size: 16px; line-height: 1.45; }
.qr-instructions .quiet-note { margin-top: 9px; color: #304c39; font-size: 15px; font-weight: 600; }
.requisites-section { margin-top: 27px; padding-top: 24px; border-top: 1px solid var(--line); }
.requisites-list { display: grid; gap: 0; margin: 15px 0 20px; }
.requisites-list > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid #e6e9e1; }
.requisites-list dt { color: #59685c; font-size: 15px; }
.requisites-list dd { margin: 0; color: #243c2c; font-size: 17px; font-weight: 550; line-height: 1.3; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.primary-button { border-color: var(--green); background: var(--green); color: #fff; }
.primary-button:hover { border-color: var(--green-dark); background: var(--green-dark); }
.copy-feedback { min-height: 21px; margin-top: 9px; color: #35634f; font-size: 15px; }
.dialog-bottom-note { margin-top: 16px; padding: 13px 15px; border-radius: 12px; background: #edf2e7; color: #36513e; font-size: 15px; line-height: 1.4; }
.manual-copy label { display: block; margin: 10px 0; font-size: 16px; }
.manual-copy textarea { width: 100%; padding: 12px; border: 1px solid #aebda5; border-radius: 10px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.5; resize: vertical; }
.privacy-dialog { max-width: 620px; }
.privacy-content { margin-top: 22px; font-size: 17px; line-height: 1.5; color: #405044; }
.privacy-content p + p { margin-top: 15px; }
.policy-link { margin-top: 23px; }
.static-requisites { margin: 25px 22px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 16px; overflow-wrap: anywhere; }
.static-requisites h2 { margin-bottom: 12px; font-size: 24px; }
.static-requisites p { margin: 12px 0; }
.static-requisites img { margin: 15px 0; }

@keyframes dialog-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 540px) and (max-width: 899px) {
  body { padding: 24px; }
  .page-shell { max-width: 530px; border: 1px solid #e0e3da; border-radius: 25px; box-shadow: 0 12px 45px #343d3010; }
  .site-header { padding: 19px 29px; }
  .hero-layout { padding: 24px 28px 0; }
  h1 { font-size: 47px; }
  .hero-subtitle { font-size: 19px; }
  .payment-option { min-height: 83px; }
  .payment-name { font-size: 25px; }
  .payment-description { font-size: 17px; }
  .bank-guidance p { font-size: 17px; }
  .safety-section, .after-payment { margin-right: 29px; margin-left: 29px; }
  .site-footer { padding-right: 25px; padding-left: 25px; gap: 20px; }
  .text-button { font-size: 14px; }
}

@media (min-width: 900px) {
  body { min-height: 100vh; padding: 38px 28px; background: radial-gradient(ellipse at 50% 10%, #fffefa 0, var(--page) 68%); }
  .page-shell { border: 1px solid #e0e1d9; border-radius: 25px; box-shadow: 0 14px 50px #3b433017, 0 2px 5px #3b43300a; }
  .site-header { min-height: 87px; padding: 20px 37px; }
  .brand { gap: 16px; }
  .brand-mark { width: 55px; height: 42px; }
  .brand-divider { height: 30px; }
  .brand-name { font-size: 27px; letter-spacing: -.7px; }
  .header-landscape { display: none; }
  .hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .98fr); gap: 22px; align-items: start; padding: 31px 30px 31px 39px; min-height: 485px; }
  .hero-intro { padding-top: 13px; padding-bottom: 265px; }
  h1 { font-size: clamp(42px, 4.3vw, 57px); line-height: 1.04; letter-spacing: -2px; }
  .hero-subtitle { margin-top: 17px; font-size: 20px; line-height: 1.35; }
  .hero-landscape { position: absolute; display: block; z-index: 0; bottom: -5px; left: -20px; width: 61%; height: 318px; object-fit: cover; object-position: 45% bottom; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 100%); mask-image: linear-gradient(90deg, #000 70%, transparent 100%); pointer-events: none; }
  .payment-panel { margin: 0; padding: 24px; border: 1px solid #e6e8e1; border-radius: 24px; background: #ffffffed; box-shadow: 0 7px 18px #24352b12, 0 2px 5px #24352b05; }
  .payment-heading { position: static; width: auto; height: auto; margin: 0 0 21px; overflow: visible; clip: auto; white-space: normal; color: #132a20; font-size: 33px; font-weight: 750; line-height: 1.1; letter-spacing: -1px; }
  .payment-options { gap: 11px; }
  .payment-option { min-height: 80px; padding: 12px 17px; }
  .payment-icon { width: 44px; height: 44px; margin-right: 22px; }
  .payment-name { font-size: 25px; }
  .payment-description { margin-top: 4px; font-size: 17px; }
  .payment-chevron { width: 22px; }
  .bank-guidance { margin-top: 16px; padding: 13px 17px 14px; }
  .bank-guidance h3 { font-size: 15px; }
  .bank-guidance p { font-size: 17px; }
  .safety-section { grid-template-columns: 1.3fr 1fr 1fr; gap: 0; margin: 0 37px; padding: 24px 0; border-top: 1px solid var(--line); }
  .safety-item { gap: 18px; padding: 0 23px; }
  .safety-item:first-child { padding-left: 0; }
  .safety-item:last-child { padding-right: 0; }
  .safety-item + .safety-item { border-left: 1px solid #d1d9cc; }
  .safety-item h2, .after-payment h2 { font-size: 19px; }
  .safety-item p { font-size: 16px; line-height: 1.3; }
  .safety-private { display: flex; padding-top: 5px; }
  .safety-check { padding-top: 5px; }
  .safety-check h2 { display: block; }
  .mobile-check-text { display: none; }
  .section-icon { width: 39px; height: 39px; flex-basis: 39px; }
  .shield-icon { height: 44px; }
  .safety-private .section-icon { height: 34px; }
  .safety-check .section-icon { height: 35px; }
  .after-payment { grid-template-columns: 39px auto 1fr; align-items: center; gap: 0 21px; margin: 0 37px; padding: 17px 0; }
  .after-payment .section-icon { grid-row: auto; height: 37px; }
  .after-payment h2 { padding-right: 23px; border-right: 1px solid #c3cfc0; white-space: nowrap; }
  .after-payment p { font-size: 17px; line-height: 1.35; }
  .site-footer { gap: 39px; padding: 13px 30px 17px; }
  .text-button { font-size: 16px; }
  .footer-divider { height: 24px; background: #acb9a7; }
}

@media (min-width: 1150px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr) 495px; gap: 28px; padding-right: 34px; min-height: 500px; }
  .payment-panel { padding: 24px 26px; }
  .payment-heading { font-size: 35px; }
  .payment-option { min-height: 82px; }
  .hero-landscape { height: 330px; }
  .safety-section { grid-template-columns: 1.27fr 1fr 1fr; }
}

@media (max-width: 600px) {
  .payment-dialog { width: calc(100% - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 20px; }
  .dialog-surface { padding: 22px 18px; }
  .dialog-header { gap: 10px; }
  .dialog-header h2 { font-size: 27px; }
  .dialog-intro { font-size: 16px; }
  .qr-layout { grid-template-columns: 1fr; gap: 22px; margin-top: 21px; }
  .qr-card { width: min(100%, 284px); justify-self: center; }
  .qr-card .secondary-button { min-height: 48px; font-size: 16px; }
  .qr-instructions p { font-size: 17px; }
  .requisites-list > div { grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
  .requisites-list dt { font-size: 14px; }
  .requisites-list dd { font-size: 17px; }
  .primary-button { width: 100%; }
  .privacy-content { font-size: 17px; }
  .policy-link { width: 100%; }
}

@media (max-width: 359px) {
  .site-header { min-height: 72px; padding: 13px 17px; }
  .brand { gap: 9px; }
  .brand-mark { width: 42px; height: 35px; }
  .brand-name { font-size: 19px; }
  .brand-divider { height: 24px; }
  .header-landscape { width: 115px; opacity: .4; }
  .hero-layout { padding: 17px 16px 0; }
  h1 { font-size: 34px; letter-spacing: -1.2px; }
  .hero-subtitle { font-size: 16px; }
  .payment-panel { margin-top: 16px; }
  .payment-option { min-height: 72px; padding: 10px 13px; }
  .payment-icon { width: 37px; height: 37px; margin-right: 17px; }
  .payment-name { font-size: 22px; }
  .payment-description { font-size: 15px; }
  .bank-guidance { padding: 12px; }
  .bank-guidance p { font-size: 16px; }
  .safety-section, .after-payment { margin-left: 18px; margin-right: 18px; }
  .site-footer { gap: 9px; padding-left: 14px; padding-right: 14px; }
  .text-button { font-size: 13px; }
}

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

@media print {
  body { padding: 0; background: white; }
  .page-shell { border: 0; box-shadow: none; }
  .header-landscape, .hero-landscape, .payment-chevron, .site-footer, .skip-link { display: none; }
  .payment-dialog { position: static; max-height: none; width: 100%; border: 0; box-shadow: none; }
  .payment-dialog[open] { display: block; }
  .close-button { display: none; }
}
