@import url("https://fonts.googleapis.com/css2?family=Golos+Text:wght@400..600&display=swap");
:root {
  color-scheme: light;
  --navy: #10275b;
  --dark: #071426;
  --paper: #f8f6f1;
  --ink: #202632;
  --muted: #515e70;
  --line: #e4e3de;
  --white: #fff;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.55 "Golos Text", Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #4776dd; outline-offset: 4px; }
.skip { position: fixed; top: .5rem; left: .5rem; padding: .6rem; background: white; transform: translateY(-150%); z-index: 5; }
.skip:focus { transform: none; }
.wrap { width: min(1180px, calc(100% - 112px)); margin-inline: auto; }
.header { background: var(--navy); color: white; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: none; display: inline-block; }
.brand img { filter: brightness(0) invert(1); }
.header nav { display: flex; align-items: center; gap: clamp(18px, 2.7vw, 42px); }
.header nav a { color: #e0e7f8; text-decoration: none; font-size: .9375rem; }
.header nav a:hover { color: white; text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; justify-content: center; align-items: center; text-align: center; padding: .88rem 1.3rem; border-radius: .55rem; font-weight: 600; line-height: 1.25; text-decoration: none; border: 1px solid transparent; min-height: 46px; transition: background-color .16s, color .16s, border-color .16s; }
.header-button { border-color: #ffffff65; color: white; font-size: .9rem; }
.header-button:hover { background: #ffffff1c; border-color: white; }
.hero { position: relative; background: var(--dark); color: white; isolation: isolate; }
.hero-photo { position: absolute; inset: 0 0 0 31%; z-index: -2; background: center 63% / cover no-repeat url("./hero.webp"); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #071426 0%, #071426 30%, #071426f0 34%, #0714268c 48%, #0714260d 75%, transparent), linear-gradient(0deg, #07142643, transparent 45%); }
.hero-inner { min-height: 565px; display: flex; align-items: center; }
.hero-copy { width: min(620px, 100%); padding-block: 74px; }
.eyebrow { margin: 0 0 12px; color: #344b78; font-weight: 600; font-size: .82rem; letter-spacing: .11em; text-transform: uppercase; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #c2d2ef; }
.hero-eyebrow span { width: 23px; height: 2px; background: #95afe9; }
h1,h2,h3 { margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.8rem, 5.1vw, 4.9rem); letter-spacing: -.052em; line-height: 1.03; }
h2 { color: var(--navy); font-size: clamp(2.1rem, 4vw, 3.55rem); letter-spacing: -.05em; line-height: 1.06; }
h3 { color: var(--navy); font-size: 1.18rem; line-height: 1.25; }
.hero-description { max-width: 420px; margin: 23px 0 30px; color: #cdd7e9; font-size: 1.12rem; line-height: 1.6; }
.actions { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.button-light { color: var(--navy); background: #fff; }
.button-light:hover { background: #dce7ff; }
.hero-link { color: #e1e9fa; text-underline-offset: 5px; font-size: .94rem; }
.hero-link:hover { color: white; }
.hero-community { margin-top: 18px; }
.community-title { margin: 0 0 8px; color: #cdd7e9; font-size: .875rem; }
.hero-social { gap: 10px; }
.hero-social .button {
  min-height: 44px;
  padding: .55rem .95rem;
  color: #fff;
  font-size: .9rem;
}
.hero-social .social-telegram { background: #036a9e; }
.hero-social .social-telegram:hover { background: #075781; }
.hero-social .social-max { background: linear-gradient(115deg, #294bd0, #6234ba); }
.hero-social .social-max:hover { background: linear-gradient(115deg, #2340b3, #522ba0); }
.community-fallbacks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 12px;
  margin: 3px 0 0;
  color: #cdd7e9;
  font-size: .875rem;
}
.community-fallbacks a, .community-fallbacks button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.community-fallbacks a:hover, .community-fallbacks button:hover { color: #fff; }
.social a { text-underline-offset: 4px; }
.benefits { background: #fff; border-bottom: 1px solid var(--line); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 112px; align-items: center; }
.benefit-grid > div { display: flex; align-items: center; gap: 15px; }
.benefit-grid > div + div { border-left: 1px solid var(--line); padding-left: clamp(16px, 3vw, 49px); }
.benefit-grid strong { font-weight: 600; color: var(--navy); }
.benefit-grid p { margin: 2px 0 0; color: var(--muted); font-size: .875rem; }
.icon { display: grid; place-items: center; width: 45px; height: 45px; flex: none; border-radius: 11px; background: #eff3fb; color: #234379; }
.icon svg { fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; width: 23px; height: 23px; }
.section { padding-block: clamp(65px, 7vw, 110px); scroll-margin-top: 18px; }
.section-white { background: white; }
.application-grid { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(32px, 7vw, 102px); align-items: start; }
.section-intro { margin: 20px 0 0; max-width: 365px; color: var(--muted); font-size: 1.05rem; }
.lead-form { padding: clamp(20px, 3.1vw, 38px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 40px #1227510a; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label { display: block; min-width: 0; color: var(--navy); font-size: .93rem; font-weight: 600; }
.col-2 { grid-column: 1 / -1; }
input:not([type=checkbox]), select { display: block; width: 100%; padding: 11px 12px; min-height: 46px; margin-top: 5px; border: 1px solid #cfd6e3; border-radius: 7px; background: #fafbfe; color: var(--ink); font-size: 1rem; font-weight: 400; }
input::placeholder { color: #627084; opacity: 1; }
.select-wrap { display: block; position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 14px; top: 18px; width: 8px; height: 8px; border-bottom: 1.5px solid var(--navy); border-right: 1.5px solid var(--navy); transform: rotate(45deg); pointer-events: none; }
select { appearance: none; padding-right: 30px; }
.required { color: #315db5; }
.trap { display: none; }
.preview-note, .consent { margin: 18px 0 14px; font-size: .875rem; color: var(--muted); }
.consent { display: flex; align-items: flex-start; gap: 10px; }
.consent input { width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.button-primary { background: var(--navy); color: #fff; }
.button-primary:hover { background: #224584; }
.button:disabled { opacity: .65; cursor: default; }
.form-status { margin: 12px 0 0; color: #245b43; font-size: .9375rem; }
.form-status:empty { display: none; }
.form-status[data-error] { color: #a12a2a; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 35px 0; counter-reset: step; }
.steps li { padding: 18px 0 0; border-top: 1px solid #b9c8e2; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 13px; color: #385484; font-weight: 600; }
.steps p, .details-list p, .card p { color: var(--muted); margin: .55rem 0 0; }
.details-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 0 0 0 2px; }
summary { display: flex; justify-content: space-between; gap: 12px; padding: 17px 6px 17px 0; list-style: none; color: var(--navy); font-weight: 600; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: #385484; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: '−'; }
.details-list p { margin: 0 0 17px; max-width: 630px; }
#documents { margin-top: 24px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 20px; margin-top: 30px; }
.card { padding: 20px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 7px; margin-bottom: 16px; }
.card dl { margin-block: 12px; }
.card dl div { display: flex; gap: 8px; flex-wrap: wrap; }
.card dt { color: var(--muted); }
.card dd { margin: 0; }
.card a { display: inline-block; color: var(--navy); margin-top: 14px; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.footer { background: var(--navy); color: white; }
.footer-inner { display: flex; align-items: center; gap: 16px 32px; justify-content: space-between; padding-block: 27px; flex-wrap: wrap; }
.footer .brand img { width: 144px; }
.footer p { margin: 0 auto 0 0; color: #d6e0f5; }
@media (max-width: 1040px) {
  .wrap { width: calc(100% - 70px); }
  .hero-inner { min-height: 510px; }
  .hero-photo { left: 26%; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 67px; gap: 12px; }
  .header .brand img { width: 144px; }
  .header nav { display: none; }
  .hero-inner { min-height: 0; display: block; }
  .hero-copy { padding: 42px 0 min(57vw, 370px); }
  .hero-photo { inset: auto 0 0; height: min(66vw, 410px); background-position: center 65%; mask-image: linear-gradient(transparent, black 28%); }
  .hero::before { background: linear-gradient(180deg, #071426 0%, #071426 43%, transparent 70%); }
  .hero-description { margin: 16px 0 22px; font-size: 1rem; }
  .hero-eyebrow { margin-bottom: 14px; }
  h1 { font-size: clamp(2.38rem, 8vw, 4rem); }
  .benefit-grid { min-height: auto; grid-template-columns: 1fr; }
  .benefit-grid > div { padding: 12px 0; }
  .benefit-grid > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .application-grid, .faq-grid { grid-template-columns: 1fr; gap: 27px; }
  .section-intro { margin-top: 13px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
}
@media (max-width: 385px) {
  .wrap { width: calc(100% - 32px); }
  .header-button { padding-inline: .75rem; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
