/* NT Somic — гарнитура сайта Mpfinassist; локальная копия под SIL OFL 1.1. */
@font-face {
  font-family: "NT Somic";
  src: url("assets/fonts/nt-somic-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --primary: #08715b;
  --primary-hover: #05664f;
  --brand-green: #11ae88;
  --brand-blue: #2a84ee;
  --link: #2266b4;
  --ink: #212529;
  --muted: #596b87;
  --line: #d8e5f2;
  --surface: #f5faff;
  --soft-blue: #eaf3fd;
  --cta-gradient: linear-gradient(105deg, #087e64 0%, #216fc7 100%);
  font-family:
    "NT Somic",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
  color: var(--ink);
  background: #fff;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1,
h2 {
  line-height: 1.16;
  letter-spacing: 0.012em;
}
h2 {
  font-size: clamp(1.9rem, 4vw, 2.875rem);
  font-weight: 700;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 5px;
}
svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.inline-icon {
  width: 16px;
  height: 16px;
  margin-left: 6px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 20;
  padding: 12px 20px;
  background: #fff;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgb(15 23 42 / 5%);
  backdrop-filter: blur(16px);
}
html:not(.js) .site-header {
  position: static;
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
  padding-block: 12px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  min-height: 44px;
  font-size: 1rem;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(105deg, var(--brand-green), var(--brand-blue));
  border-radius: 50%;
}
.brand-mark svg {
  width: 27px;
  height: 27px;
}
.brand-subtitle {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}
.site-nav > a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav > a:hover:not(.button) {
  color: var(--primary);
}
.menu-toggle,
.dialog-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 30px;
  background: var(--cta-gradient);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  background: linear-gradient(105deg, var(--primary-hover), #185cac);
  box-shadow: 0 5px 18px rgb(17 174 136 / 15%);
  transform: translateY(-1px);
}
.button-small {
  min-height: 44px;
  padding: 10px 16px;
}
.hero {
  display: grid;
  gap: 42px;
  padding-block: 48px 44px;
}
.hero-copy {
  margin-inline: auto;
  text-align: center;
}
h1 {
  max-width: 1100px;
  margin-inline: auto;
  font-size: clamp(2.125rem, 5vw, 4.375rem);
  font-weight: 700;
  line-height: 1.12;
}
h1 span {
  color: inherit;
}
.hero-description {
  max-width: 790px;
  margin-inline: auto;
  margin-top: 24px;
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--ink);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  justify-content: center;
}
.trial-note {
  width: fit-content;
  max-width: min(100%, 520px);
  margin: 20px auto 0;
  padding: 14px 18px;
  border: 1px solid #c9e5dd;
  border-radius: 14px;
  background: #f1faf7;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}
.trial-note strong {
  display: block;
  color: var(--primary);
  font-weight: 600;
}
.trial-description {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.hero-visual {
  align-self: center;
  min-width: 0;
  padding: 0;
  width: 100%;
  max-width: 1008px;
  margin-inline: auto;
  text-align: center;
}
.visual-label {
  margin: 0 4px 16px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}
.product-window {
  margin-inline: auto;
}
.product-image-link {
  display: block;
}
.product-image-link img {
  width: 100%;
  aspect-ratio: 1008 / 623;
}
.marketplaces {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 36px;
  padding-block: 27px 32px;
  border-top: 1px solid var(--line);
}
.marketplaces p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.marketplaces strong {
  color: var(--muted);
  font-weight: 500;
}
.marketplace-logos {
  width: 201px;
  height: 58px;
  flex-shrink: 0;
}
.section {
  padding-block: 64px;
}
.section-tinted {
  background: #fff;
}
.section-heading {
  max-width: 100%;
  margin: 0 auto 36px;
  text-align: left;
}
.section-heading > p {
  margin-top: 16px;
  max-width: 800px;
  font-size: 1.125rem;
  color: var(--muted);
}
.capabilities {
  display: grid;
  gap: 28px;
}
.capability {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.capability:nth-child(even) {
  background: #fff;
}
.capability-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  padding: 20px 28px;
}
.capability-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e0f4ed;
  color: var(--primary);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.capability-name {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.35;
}
.capability-tag {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: right;
}
.capability-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  grid-template-areas: "copy visual";
  align-items: center;
  gap: 40px;
  padding: 16px 32px 32px;
}
.capability:nth-child(even) .capability-content {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  grid-template-areas: "visual copy";
}
.capability-copy {
  grid-area: copy;
  min-width: 0;
}
.capability-copy h3 {
  max-width: 390px;
  font-size: clamp(1.375rem, 2.3vw, 1.75rem);
  line-height: 1.25;
}
.capability-copy > p {
  margin-top: 16px;
  color: var(--muted);
}
.capability-points {
  display: grid;
  gap: 16px;
  padding-left: 20px;
  margin: 24px 0 0;
  color: var(--muted);
}
.capability-points li {
  padding-left: 4px;
}
.capability-points li::marker {
  color: var(--primary);
}
.capability-points strong {
  color: var(--ink);
  font-weight: 600;
}
.capability-visual {
  grid-area: visual;
  min-width: 0;
  text-align: center;
}
.capability-image-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: zoom-in;
}
.capability-image-link img {
  flex: 0 1 auto;
  min-width: 0;
  border-radius: 6px;
}
.capability-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
}
.capability-visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.875rem;
}
.capabilities-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.6fr);
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  padding: 36px 40px;
  border: 1px solid #c9e5dd;
  border-radius: 20px;
  background: linear-gradient(115deg, #eff9f4, #edf5ff);
}
.tariffs-copy h3 {
  max-width: 540px;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  line-height: 1.25;
}
.tariffs-copy > p {
  margin-top: 16px;
  max-width: 560px;
  color: var(--muted);
  font-size: 1rem;
}
.tariffs-copy .tariffs-note {
  margin-top: 12px;
  font-size: 0.875rem;
}
.tariffs-action {
  text-align: center;
}
.tariffs-action > p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.875rem;
}
.tariffs-action strong {
  color: var(--primary);
  font-weight: 600;
}
.questions-layout {
  display: grid;
  gap: 32px;
}
.questions-intro > p:last-child {
  margin-top: 20px;
  max-width: 300px;
  color: var(--muted);
  font-size: 1.125rem;
}
.faq {
  min-width: 0;
}
.faq details {
  background: var(--soft-blue);
  border: 1px solid transparent;
  border-radius: 12px;
}
.faq details + details {
  margin-top: 16px;
}
.faq details:first-child {
  border-top: 1px solid transparent;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  list-style: none;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 700;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary svg {
  width: 36px;
  height: 36px;
  padding: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  color: var(--link);
  transition: transform 0.2s;
}
.faq details[open] summary {
  color: var(--ink);
}
.faq details[open] summary svg {
  transform: rotate(45deg);
  color: var(--link);
}
.answer {
  padding: 0 28px 26px;
  color: var(--muted);
  font-size: 1.0625rem;
}
.answer p + p {
  margin-top: 12px;
}
.answer a {
  color: var(--link);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.closing-section {
  padding-block: 64px;
}
.closing {
  display: grid;
  gap: 34px;
  padding: 32px 24px;
  border-radius: 20px;
  background: var(--cta-gradient);
  border: 1px solid transparent;
}
.closing h2 {
  max-width: 560px;
  color: #fff;
}
.closing-copy > p {
  margin-top: 18px;
  max-width: 520px;
  color: #fff;
  font-size: 1.125rem;
}
.closing-action {
  margin-top: 28px;
}
.closing-action > p {
  margin-top: 12px;
  font-size: 0.875rem;
  color: #fff;
}
.closing-action .button {
  color: var(--primary);
  background: #fff;
}
.closing-action .button:hover {
  background: #eaf3fd;
  color: var(--primary-hover);
}
.start-steps {
  align-self: center;
  list-style: none;
  margin: 0;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
}
.start-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.start-steps li + li {
  margin-top: 24px;
}
.start-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: #e0f4ed;
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 600;
}
.start-steps strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
}
.start-steps p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 3px;
}
.site-footer {
  padding-block: 24px;
  background: #e8f2fc;
  border-radius: 20px 20px 0 0;
  padding-inline: 28px;
}
.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-note {
  text-align: center;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.preview-dialog {
  width: min(1100px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 80px rgb(15 23 42 / 25%);
}
.preview-dialog::backdrop {
  background: rgb(15 23 42 / 65%);
  backdrop-filter: blur(4px);
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 12px 16px;
}
.dialog-header h2 {
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.dialog-close {
  flex-shrink: 0;
}
.preview-scroll {
  overflow: auto;
  max-height: 65dvh;
  border-block: 1px solid var(--line);
  background: #f6f7f9;
}
.preview-scroll img {
  max-width: none;
  margin-inline: auto;
}
.dialog-caption {
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--muted);
}
body.has-dialog {
  overflow: hidden;
}
.reveal {
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.reveal.is-pending {
  opacity: 0;
  transform: translateY(16px);
}
@media (min-width: 640px) {
  .container {
    width: min(1200px, calc(100% - 64px));
  }
  .hero {
    padding-block: 64px 52px;
  }
  .hero-visual {
    padding: 0;
  }
  .visual-label {
    margin-bottom: 24px;
  }
  .marketplaces {
    align-items: center;
  }
  .section {
    padding-block: 80px;
  }
  .section-heading {
    margin-bottom: 42px;
  }
  .closing {
    padding: 40px;
  }
}
@media (min-width: 1025px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 52px;
    padding-block: 70px 50px;
  }
  .hero-visual {
    margin-top: 6px;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-actions .button {
    padding-inline: 32px;
  }
  .marketplaces {
    padding-block: 30px 36px;
  }
  .section {
    padding-block: 90px;
  }
  .questions-layout {
    grid-template-columns: 0.85fr 1.6fr;
    gap: 60px;
  }
  .closing {
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    padding: 52px;
  }
  .closing-section {
    padding-block: 72px 80px;
  }
  .menu-ready .menu-toggle {
    display: none;
  }
}
@media (max-width: 1024px) {
  .capability-content {
    gap: 28px;
    padding: 12px 24px 28px;
  }
  .capability-image-link {
    min-height: 280px;
    padding: 12px;
  }
  .capability-tag {
    display: none;
  }
  .site-nav {
    width: 100%;
    padding: 12px 0 4px;
    border-top: 1px solid var(--line);
  }
  .js .site-nav {
    display: none;
  }
  .js .site-nav.is-open {
    display: flex;
  }
  .menu-ready .menu-toggle {
    display: grid;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-visual {
    width: 100%;
    max-width: 1008px;
  }
}
@media (max-width: 799px) {
  .capability-content,
  .capability:nth-child(even) .capability-content {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "visual" "copy";
  }
  .capability-image-link {
    min-height: 0;
    padding: 16px;
  }
  .capability-copy h3 {
    max-width: none;
  }
  .capabilities-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 28px;
  }
  .tariffs-action {
    justify-self: start;
  }
}
@media (max-width: 639px) {
  .capability-heading {
    gap: 12px;
    min-height: 80px;
    padding: 16px;
  }
  .capability-number {
    width: 36px;
    height: 36px;
  }
  .capability-name {
    font-size: 1.0625rem;
  }
  .capability-content {
    padding: 8px 16px 24px;
  }
  .capability-image-link {
    padding: 8px;
  }
  .capabilities-footer {
    padding: 24px 20px;
  }
  .tariffs-action {
    width: 100%;
  }
  .tariffs-action .button {
    width: 100%;
    padding-inline: 20px;
    font-size: 1rem;
  }
  .footer-bottom {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .footer-note {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: left;
  }
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100dvh - 92px);
    overflow: auto;
  }
  .site-nav > a:not(.button) {
    padding: 8px 12px;
  }
  .site-nav > .button {
    margin-top: 8px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .button {
    width: 100%;
    padding-inline: 20px;
    font-size: 1rem;
  }
  .hero-description {
    font-size: 1.0625rem;
  }
  .hero-visual {
    padding: 0;
  }
  .marketplaces p br {
    display: none;
  }
  .marketplaces p {
    text-align: center;
  }
  .marketplaces p strong::before {
    content: " ";
  }
  .faq summary {
    padding: 22px 18px;
    gap: 12px;
  }
  .answer {
    padding: 0 18px 24px;
  }
  .closing .button {
    width: 100%;
  }
  .start-steps {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal.is-pending {
    opacity: 1;
    transform: none;
  }
}
