@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/local/templates/main/assets/fonts/Montserrat-Medium.woff") format("woff");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/local/templates/main/assets/fonts/Montserrat-SemiBold.woff") format("woff");
}

:root {
  --accent: #4dad33;
  --accent-hi: #63c847;
  --bg: #0b1016;
  --panel: #151c26;
  --panel-2: #1c2531;
  --ink: #f3f6fa;
  --muted: #b9c2d0;
  --line: #2a3442;
  --radius: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; overflow-x: clip; }
body { font-family: "Montserrat", sans-serif; background: var(--bg); color: var(--ink); font-size: 18px; font-weight: 500; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1220px, calc(100% - 40px)); margin: 0 auto; }

header { position: sticky; top: 0; z-index: 20; background: rgba(11,16,22,0.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.logo { width: 140px; }
.nav ul { display: flex; gap: 30px; list-style: none; }
.nav ul a { text-decoration: none; font-weight: 600; font-size: 16px; }
.nav ul a:hover { color: var(--accent-hi); }
.nav ul .menu-cta { display: none; }
.nav ul .menu-cta .btn, .nav ul .menu-cta .btn:hover { width: 100%; color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 30px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; font: 600 17px "Montserrat", sans-serif; text-decoration: none;
  transition: background .2s;
}
.btn:hover { background: #3f9a27; }
.btn-line { background: transparent; color: var(--ink); border: 1.5px solid #4a5568; }
.btn-line:hover { background: var(--panel); }

.hero {
  padding: 72px 0 88px;
  background: radial-gradient(ellipse 60% 70% at 85% 0%, rgba(77,173,51,0.25), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 520px; gap: 56px; align-items: start; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-hi); margin-bottom: 20px; }
h1 { font-size: 64px; line-height: 1.06; letter-spacing: -0.04em; font-weight: 600; margin-bottom: 24px; }
h1 em { font-style: normal; color: var(--accent-hi); }
h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 600; margin-bottom: 16px; }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.lead { font-size: 21px; color: var(--muted); max-width: 580px; margin-bottom: 32px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 44px; }
.proof div { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.proof b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.proof span, .proof a { font-size: 15px; color: var(--muted); }
.proof a { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid; transition: color .2s; }
.proof a:hover { color: var(--accent-hi); }
.proof a .nowrap { white-space: nowrap; color: inherit; font-size: inherit; }
.ext { width: 1em; height: 1em; margin-left: 3px; vertical-align: -0.12em; transition: transform .2s; }
.proof a:hover .ext { transform: translate(2px, -2px); }

.calc { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 32px; position: sticky; top: 108px; }
.calc h3 { font-size: 24px; margin-bottom: 4px; }
.calc .sub { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.field { margin-bottom: 22px; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.field-label output { font-size: 20px; font-weight: 600; color: var(--ink); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg); border-radius: 999px; padding: 5px; gap: 4px; }
.seg.two { grid-template-columns: repeat(2, 1fr); }
.seg button {
  height: 46px; border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font: 600 15px "Montserrat", sans-serif; cursor: pointer; transition: background .2s, color .2s;
}
.seg button.on { background: var(--accent); color: #fff; }
.seg button:not(.on):hover { color: var(--ink); }
input[type=range] { width: 100%; accent-color: var(--accent); height: 28px; cursor: pointer; }
.result { background: var(--bg); border-radius: 18px; padding: 24px; margin-top: 8px; }
.result-row { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; color: var(--muted); padding: 6px 0; }
.result-row b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.total { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 16px; }
.total span { display: block; font-size: 15px; font-weight: 600; color: var(--muted); }
.total strong { display: block; font-size: 48px; font-weight: 600; letter-spacing: -0.04em; color: var(--accent-hi); line-height: 1.1; }
.calc .fine { font-size: 13px; color: var(--muted); margin-top: 14px; }

section { padding: 96px 0; }
.head { max-width: 760px; margin-bottom: 44px; }
.head p { color: var(--muted); font-size: 19px; }

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.model { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; }
.model.top { background: linear-gradient(160deg, #1f4a17 0%, #15301a 100%); border-color: var(--accent); }
.badge, .feat .n, .vs .tag, .card .k {
  display: inline-flex; align-items: center; align-self: flex-start;
  padding: 7px 16px; border-radius: 999px; background: var(--panel-2); color: var(--muted);
  font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: 0.02em;
}
.model.top .badge, .vs .on .tag { background: var(--accent); color: #fff; }
.model .badge { margin-bottom: 20px; }
.model h3 { font-size: 30px; }
.model p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }
.model.top p { color: #dbe8d6; }
.rates { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.model.top .rates { border-color: rgba(77,173,51,0.5); }
.rate b { display: block; font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.rate span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.35; color: var(--muted); }
.rate.dim b { color: #6f9a62; }
.rate.bright b { color: var(--accent-hi); }
.model.top .rate.dim b { color: #8fc47d; }
.model.top .rate span { color: #c9dcc2; }
.note { font-size: 15px; color: var(--muted); margin-top: 18px; }

.platform { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: stretch; }
.feat-list { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 16px; }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feat .n { margin-bottom: 18px; }
.feat p { color: var(--muted); font-size: 16px; }
.callout { margin-top: 28px; background: var(--accent); color: #fff; border-radius: var(--radius); padding: 28px 24px; font-size: 20px; font-weight: 600; line-height: 1.4; }
.deploy-title { margin: 32px 0 0; font-size: 22px; }
.deploy { display: grid; gap: 16px; margin-top: 16px; }
.deploy div { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.deploy span { color: var(--muted); font-weight: 600; font-size: 16px; }
.deploy small { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; opacity: 0.8; }
.deploy b { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }

.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vs article { border-radius: var(--radius); padding: 40px; min-height: 280px; display: flex; flex-direction: column; }
.vs .off { background: var(--panel); border: 1px solid var(--line); }
.vs .on { background: #f3f6fa; color: #0f131b; }
.vs .tag { margin-bottom: auto; }
.vs p { font-size: 21px; font-weight: 600; margin-top: 40px; }
.vs .off p { color: var(--muted); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.card h3 { font-size: 26px; margin-bottom: 16px; }
.card li { list-style: none; padding: 14px 0 14px 34px; border-top: 1px solid var(--line); position: relative; font-size: 17px; }
.card li::before { content: ""; position: absolute; left: 0; top: 21px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(77,173,51,0.18); }
.card p { color: var(--muted); }
.card .k { margin-bottom: 16px; }
.gain-you { background: linear-gradient(160deg, #1f4a17 0%, #15301a 100%); border-color: var(--accent); }
.gain-you li { border-color: rgba(77,173,51,0.35); }
.gain-you li::before, .gain-client li::before { top: 15px; width: 24px; height: 24px; box-shadow: none; background-position: center; background-repeat: no-repeat; background-size: 16px; }
.gain-you li::before { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.gain-client li::before { background-color: rgba(77,173,51,0.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5' fill='none' stroke='%2363c847' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.gain-you li, .gain-client li { padding-left: 40px; }
.card.start { padding: 44px; display: flex; flex-direction: column; }
.card.start h3 { font-size: 32px; line-height: 1.2; letter-spacing: -0.03em; margin-top: 24px; margin-bottom: 14px; }
.card.start p { font-size: 19px; }

.apply { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; background: var(--panel); border: 1px solid var(--line); border-radius: 28px; padding: 56px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form .full { grid-column: 1 / -1; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--muted); }
input[type=text], input[type=tel], input[type=email] {
  width: 100%; height: 56px; border-radius: 16px; border: 1px solid var(--line);
  background: var(--bg); color: #fff; padding: 0 18px; font: 600 17px "Montserrat", sans-serif;
}
.phone-field { position: relative; }
#partner-phone-flag { position: absolute; top: 16px; left: 16px; z-index: 2; }
#f-phone { padding-left: 48px; }
.partner-phone-popup,
.partner-phone-popup .main-phonenumber-country-name { color: #1b2430; }
input::placeholder { color: #6b7686; font-weight: 500; opacity: 1; }
input:focus { outline: 2px solid var(--accent); border-color: transparent; }
form input.invalid { border-color: #ef4444; }
form input.invalid:focus { outline-color: #ef4444; }
form .consent input.invalid { outline: 2px solid #ef4444; outline-offset: 1px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; font-weight: 500; color: var(--muted); }
.consent input { width: 20px; height: 20px; accent-color: var(--accent); }
.form-msg { white-space: pre-line; margin-top: 20px; padding: 16px 20px; border-radius: 16px; font-size: 16px; font-weight: 500; line-height: 1.45; }
.form-msg.error { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.55); color: #fca5a5; }
.form-msg.success { background: rgba(77,173,51,0.16); border: 1px solid var(--accent); color: #fff; }
.captcha-note { margin-top: 12px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.captcha-note a { color: inherit; }
.grecaptcha-badge { visibility: hidden; }
form button:disabled { opacity: 0.7; }

footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer p + p { margin-top: 8px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.foot-link { color: var(--ink); font-size: 16px; font-weight: 600; text-decoration: none; }
.foot-link:hover { color: var(--accent-hi); }
.foot-link:hover .ext { transform: translate(2px, -2px); }
.foot-notes { max-width: 900px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
footer address { font-style: normal; line-height: 1.6; }
.copy { white-space: nowrap; }

.menu-btn { display: none; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: #fff; position: relative; margin: 0 auto; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }

@media (max-width: 1080px) {
  .hero-grid, .platform, .apply { grid-template-columns: 1fr; }
  .calc { position: static; }
  .models { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav ul, .nav > .btn { display: none; }
  .menu-btn { display: block; }
  header.open .nav ul .menu-cta { display: block; margin-top: 8px; }
  header.open .nav ul { display: flex; flex-direction: column; position: absolute; top: 84px; left: 0; right: 0; background: var(--bg); padding: 20px; gap: 16px; border-bottom: 1px solid var(--line); }
  .proof, .feat-list, .vs, .two, form { grid-template-columns: 1fr; }
  .apply, .calc { padding: 26px; }
  section { padding: 64px 0; }
  .hero { padding: 44px 0 56px; }
  .total strong { font-size: 38px; }
  h1 { font-size: 34px; overflow-wrap: break-word; hyphens: auto; }
  .card.start { padding: 28px; }
  .card.start h3 { font-size: 26px; margin-top: 12px; }
  .deploy b { font-size: 22px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
