:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #1c1c1e;
  --dark: #121213;
  --dark-card: #2b2b2e;
  --panel: #f2f3f5;
  --panel-button: #e7e8eb;
  --muted: #62646d;
  --red: #ef3124;
  --red-hover: #d9271c;
  --radius: 32px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--dark);
  font: 400 16px/1.45 var(--site-font, Arial, sans-serif);
}

h1, h2, h3, p, ol { margin: 0; }
h1, h2, h3 { line-height: 1.16; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #7651d5; outline-offset: 4px; }

.container {
  width: min(1140px, calc(100% - 64px));
  margin-inline: auto;
}

.metrika-noscript, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.skip-link:focus {
  position: absolute;
  z-index: 4;
  top: 16px;
  left: 16px;
  padding: 12px 16px;
  background: var(--paper);
  border-radius: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 28px;
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover { background: var(--red-hover); }
.button:disabled { opacity: .52; cursor: not-allowed; }
.button-secondary { background: var(--panel-button); color: var(--ink); }
.button-secondary:hover { background: #dcdde0; }
.button-small { min-height: 40px; padding: 9px 18px; font-size: 13px; border-radius: 10px; }

.hero-shell { color: #fff; background: var(--dark); padding-bottom: 42px; }

.site-header {
  display: flex;
  align-items: center;
  min-height: 100px;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 4px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.header-brand img { flex: none; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 409px;
  padding-top: 38px;
  padding-bottom: 58px;
}

.hero-copy { position: relative; z-index: 1; max-width: 54%; }

.offer-label {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  color: #5422ab;
  background: #eee6ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.hero h1 {
  margin-top: 36px;
  font-size: clamp(2.5rem, 4.25vw, 3rem);
  line-height: 1.07;
  letter-spacing: -.027em;
}

.hero-subtitle { margin-top: 24px; max-width: 540px; color: #e5e5e9; }
.hero .button { margin-top: 36px; }
.hero-art { position: absolute; top: -8px; right: 8px; width: min(49%, 555px); height: auto; }

.benefits {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
}

.benefit {
  position: relative;
  min-height: 220px;
  padding: 24px 22px 76px;
  background: var(--dark-card);
  border-radius: 24px;
}

.benefit h2 { font-size: 18px; }
.benefit p { margin-top: 8px; color: #e0e0e3; font-size: 14px; line-height: 1.36; }
.benefit-terms { margin-top: 12px; color: #c4c4ca; font-size: 13px; line-height: 1.4; }

@media (min-width: 1021px) {
  .benefit:nth-child(3) {
    background-image: radial-gradient(ellipse 150px 48px at 51% 0, #75398c, transparent);
  }
}

.benefit-icon {
  position: absolute;
  right: 22px;
  bottom: 24px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: #404043;
  border-radius: 15px;
  font-size: 20px;
  font-weight: 700;
}

.benefit-icon svg { width: 22px; height: 22px; }

.white-surface { border-radius: 64px 64px 0 0; background: var(--paper); padding-bottom: 192px; }
.section { padding-top: 128px; }
.section > h2, .section-top h2 { font-size: clamp(1.875rem, 3.4vw, 2.5rem); letter-spacing: -.023em; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-top p { margin-top: 16px; color: var(--muted); line-height: 1.4; }
.section-top .button { flex-shrink: 0; }

.opening-section { padding-top: 72px; }
.opening-section > h2 { text-align: center; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
  padding: 0;
  list-style: none;
  margin-top: 38px;
}

.step { position: relative; text-align: center; }

.step:not(:last-child)::after {
  position: absolute;
  top: 23px;
  left: calc(50% + 45px);
  right: calc(-50% + 45px - var(--gutter));
  height: 1px;
  background: #dcdde0;
  content: "";
}

.step-number {
  --progress: 100%;
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--red) var(--progress), #e5e6e9 0);
  isolation: isolate;
  font-weight: 700;
}

.step-number::before {
  position: absolute;
  z-index: -1;
  inset: 2px;
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.step:first-child .step-number { --progress: 33.33%; }
.step:nth-child(2) .step-number { --progress: 66.66%; }

.step-body {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 120px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--panel);
}

.step h3 { font-size: 20px; }
.step p { color: var(--muted); font-size: 16px; }

.application-frame {
  display: grid;
  justify-items: center;
  margin-top: 40px;
  padding: 72px 32px;
  border-radius: var(--radius);
  background: var(--panel);
  scroll-margin-top: 24px;
}

.application-card {
  width: min(100%, 656px);
  padding: 40px;
  border-radius: 26px;
  background: var(--paper);
  min-width: 0;
}

.application-title { font-size: clamp(1.25rem, 2.4vw, 1.875rem); letter-spacing: -.022em; margin-bottom: 30px; }

.field { display: grid; min-width: 0; align-content: start; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }

.field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid transparent;
  border-bottom-color: #b7b8bf;
  border-radius: 7px 7px 0 0;
}

.field input[aria-invalid="true"] { border-color: #c62d22; }

.phone-field { position: relative; }
.phone-field label { position: absolute; top: 7px; left: 14px; z-index: 1; font-size: 13px; font-weight: 400; color: var(--muted); }
.phone-field input { min-height: 56px; padding-top: 22px; padding-bottom: 5px; }

.form-first-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.form-first-actions .button, .form-actions .button { min-height: 48px; padding-inline: 14px; font-size: 15px; }

.application-note { margin-top: 18px; line-height: 1.36; font-size: 13px; color: var(--muted); }
.application-details { padding-top: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-wide { grid-column: 1 / -1; }
.field-error { font-size: 13px; line-height: 1.35; color: #ad241b; }
.field-error:empty { display: none; }
.business-status { font-size: 14px; line-height: 1.4; color: var(--muted); }
.business-status.is-error { color: #ad241b; }
.business-results { display: grid; gap: 8px; margin-top: 10px; }
.business-results:empty { display: none; }

.business-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d7d8de;
  border-radius: 10px;
  cursor: pointer;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.business-option:has(input:checked) { border-color: var(--red); background: #fff5f4; }
.business-option input, .check-row input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
.business-option small, .business-option strong { display: block; }
.business-option small { color: var(--muted); margin-top: 3px; }
.business-retry { padding: 0; margin-top: 10px; border: 0; background: none; color: var(--ink); text-decoration: underline; cursor: pointer; font-size: 14px; }
.business-note, .privacy-note { margin-top: 10px; font-size: 13px; color: var(--muted); }

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.check-row { display: flex; gap: 10px; margin-top: 24px; font-size: 14px; align-items: flex-start; cursor: pointer; }
.form-actions { margin-top: 20px; display: flex; }
.form-actions .button { flex: 1; }
.form-message { margin-top: 16px; border-radius: 10px; padding: 12px; font-size: 14px; }
.form-message:empty { display: none; }
.form-message.is-error { color: #9c231a; background: #ffebeb; }
.form-message.is-notice { color: var(--ink); background: var(--panel); }
.success-state { text-align: center; padding-block: 12px 24px; }
.success-state h3 { margin-top: 12px; }
.success-state p { margin-top: 6px; color: var(--muted); }
.success-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #daf4e2; color: #086328; font-size: 24px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
  gap: var(--gutter);
}

.service {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-height: 126px;
  padding: 24px;
  background: var(--panel);
  border-radius: var(--radius);
}

.service h3, .accounting-card h3, .tariff h3 { font-size: 22px; }
.service p, .accounting-card p, .tariff p { margin-top: 5px; font-size: 16px; line-height: 1.4; color: var(--muted); }
.service img { flex: 0 0 auto; width: 68px; height: auto; align-self: center; object-fit: contain; }

.accounting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(360px, auto) minmax(148px, auto);
  gap: var(--gutter);
  margin-top: 40px;
}

.accounting-card {
  display: flex;
  justify-content: space-between;
  min-width: 0;
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--panel);
}

.accounting-main { grid-row: span 2; flex-direction: column; background: #e4f0ff; }
.accounting-main img { width: 100%; height: auto; max-width: 334px; align-self: center; margin-bottom: 22px; }
.accounting-compact { flex-direction: column; justify-content: flex-start; padding: 24px 32px 26px; }
.accounting-compact img { width: auto; height: 180px; align-self: center; object-fit: contain; margin-bottom: 12px; }
.accounting-wide { grid-column: span 2; align-items: center; padding-inline: 32px 56px; }
.accounting-wide img { flex-shrink: 0; width: 146px; height: auto; }

.tariff-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); margin-top: 40px; }

.tariff {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 376px;
  padding: 26px 31px 28px;
  border-radius: var(--radius);
}

.tariff-zero { background: #e4f0ff; }
.tariff-simple { background: #ffebeb; }
.tariff-growth { background: #ffefd9; }
.tariff-active { background: #daf7f8; }
.tariff img { width: auto; height: 80px; object-fit: contain; margin-left: -4px; margin-bottom: 22px; }
.tariff h3 { line-height: 1.15; }
.tariff .discount { padding: 2px 6px; margin-top: 8px; border-radius: 5px; background: #007b36; color: #fff; font-size: 12px; font-weight: 700; }
.tariff-bottom, .tariff-monthly { margin-top: auto; padding-top: 20px; }
.tariff-bottom { display: flex; align-items: center; gap: 10px; }
.tariff strong { font-size: 30px; line-height: 1; white-space: nowrap; letter-spacing: -.035em; }
.tariff-bottom span, .tariff-monthly span, .tariff-monthly s { color: var(--muted); font-size: 13px; line-height: 1.3; }
.tariff-monthly s { display: block; margin-bottom: 4px; }
.tariff-note { max-width: 780px; margin-top: 24px; font-size: 13px; color: var(--muted); line-height: 1.4; }

.closing-banner {
  display: flex;
  position: relative;
  justify-content: space-between;
  gap: 20px;
  min-height: 195px;
  padding: 32px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background: var(--ink);
}

.closing-banner h2 { font-size: 22px; }
.closing-banner p { margin-top: 8px; font-size: 15px; color: #e2e2e5; }
.closing-banner .button { margin-top: 24px; min-height: 48px; padding-inline: 24px; font-size: 15px; }
.closing-banner img { position: absolute; right: 124px; bottom: 0; width: 204px; height: auto; }

.footer { background: var(--dark); position: relative; margin-top: -64px; padding-block: 72px 40px; border-radius: 64px 64px 0 0; color: #e3e3e6; }

.footer-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-columns section { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 14px; overflow-wrap: anywhere; }
.footer-columns h2 { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #a5a5ae; }
.footer-columns a { text-decoration: none; }
.footer-columns a:hover { text-decoration: underline; }
.footer-faq summary { cursor: pointer; }
.footer-faq p { margin-top: 8px; color: #b1b1b8; }
.footer-legal { border-top: 1px solid #353538; margin-top: 70px; padding-top: 44px; }
.footer-legal p { color: #b1b1b8; max-width: 1060px; font-size: 13px; line-height: 1.55; }
.footer-legal p + p { margin-top: 12px; }

@media (max-width: 1020px) {
  .hero-art { right: 0; top: 20px; }
  .benefit { padding-inline: 18px; }
  .section { padding-top: 92px; }
  .opening-section { padding-top: 64px; }
  .tariff { padding-inline: 22px; }
  .tariff-bottom { flex-wrap: wrap; }
  .closing-banner img { right: 56px; }
}

@media (max-width: 820px) {
  .container { width: calc(100% - 40px); }
  .hero { min-height: 360px; }
  .hero h1 { font-size: clamp(2.125rem, 5.7vw, 3rem); }
  .hero-art { top: auto; bottom: -8px; width: 47%; }
  .benefits, .tariff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit { min-height: 173px; }
  .section-top { align-items: flex-start; flex-direction: column; gap: 16px; }
  .service { padding: 20px; gap: 14px; }
  .service img { width: 52px; }
  .accounting-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .accounting-main { grid-column: span 2; grid-row: auto; flex-direction: row; align-items: center; }
  .accounting-main img { width: 40%; margin: 0; }
  .accounting-wide { padding-inline: 24px; }
  .tariff { min-height: 325px; }
  .tariff-bottom { flex-wrap: nowrap; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  :root { --gutter: 12px; --radius: 20px; }
  .container { width: calc(100% - 32px); }
  .site-header { min-height: 72px; }
  .header-brand { gap: 9px; font-size: 20px; }
  .site-header img { width: 24px; height: 36px; }
  .hero { display: grid; min-height: auto; padding-block: 16px 22px; }
  .hero-copy { max-width: none; }
  .hero h1 { margin-top: 18px; }
  .hero-subtitle { margin-top: 12px; max-width: 330px; }
  .hero .button { margin-top: 20px; }
  .hero-art { position: static; width: min(92%, 370px); justify-self: center; margin-top: 12px; }
  .hero-shell { padding-bottom: 38px; }
  .benefit { padding: 16px 14px 55px; border-radius: 18px; }
  .benefit h2 { font-size: 16px; }
  .benefit p { font-size: 13px; }
  .benefit-icon { right: 14px; bottom: 12px; width: 34px; height: 34px; border-radius: 10px; }
  .benefit-icon svg { width: 18px; height: 18px; }
  .white-surface { border-radius: 28px 28px 0 0; padding-bottom: 80px; }
  .section { padding-top: 52px; }
  .opening-section { padding-top: 36px; }
  .section > h2, .section-top h2 { font-size: 28px; }
  .section-top p { margin-top: 10px; }
  .steps { margin-top: 22px; grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; text-align: left; }
  .step:not(:last-child)::after { content: none; }
  .step-number { width: 40px; height: 40px; margin: 0; }
  .step-body { min-height: 70px; padding: 14px 16px; gap: 4px; }
  .step h3 { font-size: 17px; }
  .step p { font-size: 14px; }
  .application-frame { padding: 14px; margin-top: 24px; }
  .application-card { padding: 20px; border-radius: 16px; }
  .application-title { margin-bottom: 18px; font-size: 22px; }
  .form-first-actions { gap: 8px; margin-top: 16px; }
  .form-first-actions .button { font-size: 14px; padding-inline: 6px; }
  .application-note { margin-top: 12px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .services-grid { grid-template-columns: 1fr; margin-top: 22px; }
  .service { align-items: center; min-height: 98px; padding: 16px; }
  .service h3, .accounting-card h3, .tariff h3 { font-size: 17px; }
  .service p, .accounting-card p, .tariff p { font-size: 14px; }
  .accounting-grid { margin-top: 22px; }
  .accounting-card { padding: 16px; gap: 12px; }
  .accounting-compact img { width: auto; height: 85px; margin-bottom: 4px; }
  .accounting-wide img { width: 72px; }
  .tariff-grid { margin-top: 22px; }
  .tariff { min-height: 248px; padding: 16px 13px; }
  .tariff img { height: 46px; margin-bottom: 12px; }
  .tariff strong { font-size: 24px; }
  .tariff-bottom { flex-wrap: wrap; gap: 5px; }
  .tariff .discount { font-size: 10px; }
  .tariff-note { margin-top: 14px; }
  .desktop-break { display: none; }
  .closing-banner { padding: 20px; min-height: 0; align-items: flex-start; }
  .closing-banner div { position: relative; z-index: 1; }
  .closing-banner img { width: 100px; right: 10px; }
  .closing-banner p { max-width: 72%; font-size: 14px; }
  .closing-banner .button { margin-top: 16px; font-size: 14px; padding-inline: 12px; }
  .footer { margin-top: -28px; padding-block: 42px 28px; border-radius: 28px 28px 0 0; }
  .footer-columns { gap: 24px 16px; }
  .footer-legal { margin-top: 30px; padding-top: 22px; }
}

@media (max-width: 360px) {
  .benefit { padding-inline: 12px; }
  .application-card { padding-inline: 14px; }
  .application-title { font-size: 20px; }
  .closing-banner img { width: 84px; right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
