.fi-how-page {
  overflow: hidden;
  color: var(--fonteia-text);
  background: #ffffff;
}

.fi-how-page .container {
  width: var(--sb-section-shell);
  max-width: none;
}

.fi-how-hero,
.fi-how-pain,
.fi-how-compare,
.fi-how-steps,
.fi-how-quality,
.fi-how-delivery,
.fi-how-cta {
  --sb-section-shell: min(1824px, calc(100% - 224px));
}

.fi-how-hero {
  min-height: calc(100vh - 89px);
  display: flex;
  align-items: center;
  padding: 48px 0;
  background:
    linear-gradient(90deg, rgba(51, 99, 225, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(51, 99, 225, 0.055) 1px, transparent 1px),
    #ffffff;
  background-size: 56px 56px;
}

.fi-how-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(460px, 0.5fr);
  gap: 76px;
  align-items: center;
}

.fi-how-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--fonteia-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fi-how-page h1,
.fi-how-page h2 {
  margin: 0;
  color: #111827;
  font-weight: 600;
  letter-spacing: 0;
}

.fi-how-page h1 {
  max-width: 900px;
  font-size: 52px;
  line-height: 1.04;
}

.fi-how-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #526174;
  font-size: 20px;
  line-height: 1.64;
}

.fi-how-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.fi-how-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-position 0.34s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.fi-how-button:hover,
.fi-how-button:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

.fi-how-button-primary {
  color: #ffffff;
  background-image: linear-gradient(90deg, #1f4fc7 0 50%, var(--fonteia-blue) 50% 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
}

.fi-how-button-primary:hover,
.fi-how-button-primary:focus {
  color: #ffffff;
  background-position: 0 0;
}

.fi-how-button-secondary {
  border: 1px solid #dbe5f2;
  color: #111827;
  background-image: linear-gradient(90deg, #eef4fb 0 50%, #ffffff 50% 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
}

.fi-how-button-secondary:hover,
.fi-how-button-secondary:focus {
  color: var(--fonteia-blue);
  border-color: rgba(51, 99, 225, 0.38);
  background-position: 0 0;
}

.fi-how-preview {
  overflow: hidden;
  padding: 22px;
  border: 1px solid #dbe5f2;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.fi-how-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.fi-how-preview-top span {
  color: var(--fonteia-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fi-how-preview-top strong {
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.fi-how-question {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 14px;
  border: 1px solid #dbe5f2;
  border-radius: 24px;
  background: #ffffff;
}

.fi-how-question i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #111827;
  background: #eef4fb;
  font-size: 18px;
}

.fi-how-question span {
  color: #111827;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.fi-how-processing {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.fi-how-processing::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 21px;
  height: 2px;
  background: #dbe5f2;
}

.fi-how-processing span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #526174;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.fi-how-processing b {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe5f2;
  border-radius: 999px;
  color: #ffffff;
  background: var(--fonteia-blue);
  font-size: 13px;
  font-weight: 700;
}

.fi-how-answer-card {
  padding: 22px;
  border-radius: 24px;
  color: #ffffff;
  background: #07111f;
}

.fi-how-answer-label {
  color: #9fb8ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fi-how-answer-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.58;
}

.fi-how-source-chip {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.fi-how-source-chip strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.fi-how-source-chip span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.4;
}

.fi-how-pain,
.fi-how-compare,
.fi-how-quality {
  padding: 82px 0;
  background: #ffffff;
}

.fi-how-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(460px, 0.56fr);
  gap: 72px;
  align-items: start;
}

.fi-how-section-grid h2,
.fi-how-section-head h2,
.fi-how-cta-box h2 {
  font-size: 46px;
  line-height: 1.08;
}

.fi-how-section-grid > div > p,
.fi-how-section-head p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #526174;
  font-size: 18px;
  line-height: 1.64;
}

.fi-how-pain-list,
.fi-how-quality-board {
  display: grid;
  gap: 14px;
}

.fi-how-pain-list article,
.fi-how-quality-board article {
  padding: 24px;
  border: 1px solid #dbe5f2;
  border-radius: 24px;
  background: #f7fbff;
}

.fi-how-pain-list strong,
.fi-how-quality-board strong {
  display: block;
  color: #111827;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.18;
}

.fi-how-compare {
  border-top: 1px solid #dbe5f2;
}

.fi-how-compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 18px;
}

.fi-how-compare-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid #dbe5f2;
  border-radius: 24px;
  background: #ffffff;
}

.fi-how-compare-card > span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--fonteia-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fi-how-compare-card > strong {
  display: block;
  color: #111827;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.28;
}

.fi-how-compare-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.fi-how-compare-card li {
  position: relative;
  padding-left: 24px;
  color: #526174;
  font-size: 16px;
  line-height: 1.55;
}

.fi-how-compare-card li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  content: "";
}

.fi-how-compare-card dl {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.fi-how-compare-card dl div {
  padding-top: 14px;
  border-top: 1px solid #dbe5f2;
}

.fi-how-compare-card dt {
  color: var(--fonteia-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fi-how-compare-card dd {
  margin: 7px 0 0;
  color: #263244;
  font-size: 15px;
  line-height: 1.55;
  word-break: break-word;
}

.fi-how-compare-card-source {
  background: #f8fbff;
}

.fi-how-pain-list p,
.fi-how-quality-board p {
  margin: 12px 0 0;
  color: #526174;
  font-size: 15px;
  line-height: 1.58;
}

.fi-how-steps,
.fi-how-delivery {
  padding: 82px 0;
  border-top: 1px solid #dbe5f2;
  border-bottom: 1px solid #dbe5f2;
  background: #f5f8fc;
}

.fi-how-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.42fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 34px;
}

.fi-how-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #dbe5f2;
  border-radius: 28px;
  background: #dbe5f2;
}

.fi-how-step-grid article {
  min-height: 300px;
  padding: 28px;
  background: #ffffff;
}

.fi-how-step-grid span {
  color: var(--fonteia-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.fi-how-step-grid strong {
  display: block;
  margin-top: 36px;
  color: #111827;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.14;
}

.fi-how-step-grid p {
  margin: 14px 0 0;
  color: #526174;
  font-size: 15px;
  line-height: 1.56;
}

.fi-how-delivery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.fi-how-delivery-grid a {
  min-height: 220px;
  padding: 26px;
  border: 1px solid #dbe5f2;
  border-radius: 24px;
  color: #111827;
  background: #ffffff;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.fi-how-delivery-grid a:hover,
.fi-how-delivery-grid a:focus {
  color: #111827;
  border-color: rgba(51, 99, 225, 0.26);
  background: #f8fbff;
  text-decoration: none;
  transform: translateY(-2px);
}

.fi-how-delivery-grid strong {
  display: block;
  color: #111827;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.16;
}

.fi-how-delivery-grid p {
  margin: 14px 0 0;
  color: #526174;
  font-size: 15px;
  line-height: 1.56;
}

.fi-how-cta {
  padding: 76px 0;
  background: #ffffff;
}

.fi-how-cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 42px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    var(--bg-dark);
  background-size: 54px 54px;
}

.fi-how-cta-box h2 {
  max-width: 820px;
  color: #ffffff;
}

.fi-how-cta-box p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.62;
}

@media (max-width: 1499.98px) {
  .fi-how-hero,
  .fi-how-pain,
  .fi-how-compare,
  .fi-how-steps,
  .fi-how-quality,
  .fi-how-delivery,
  .fi-how-cta {
    --sb-section-shell: min(1520px, calc(100% - 120px));
  }
}

@media (max-width: 1099.98px) {
  .fi-how-hero,
  .fi-how-pain,
  .fi-how-compare,
  .fi-how-steps,
  .fi-how-quality,
  .fi-how-delivery,
  .fi-how-cta {
    --sb-section-shell: calc(100% - 56px);
  }

  .fi-how-hero-grid,
  .fi-how-section-grid,
  .fi-how-section-head,
  .fi-how-cta-box {
    grid-template-columns: 1fr;
  }

  .fi-how-step-grid,
  .fi-how-delivery-grid,
  .fi-how-compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .fi-how-hero,
  .fi-how-pain,
  .fi-how-compare,
  .fi-how-steps,
  .fi-how-quality,
  .fi-how-delivery,
  .fi-how-cta {
    --sb-section-shell: calc(100% - 24px);
  }

  .fi-how-hero {
    min-height: 0;
    padding: 52px 0 42px;
  }

  .fi-how-page h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .fi-how-lead {
    font-size: 16px;
  }

  .fi-how-actions {
    display: grid;
  }

  .fi-how-button {
    width: 100%;
  }

  .fi-how-preview {
    border-radius: 22px;
  }

  .fi-how-section-grid h2,
  .fi-how-section-head h2,
  .fi-how-cta-box h2 {
    font-size: 30px;
  }

  .fi-how-pain,
  .fi-how-compare,
  .fi-how-steps,
  .fi-how-quality,
  .fi-how-delivery,
  .fi-how-cta {
    padding: 56px 0;
  }

  .fi-how-step-grid,
  .fi-how-delivery-grid,
  .fi-how-compare-grid {
    grid-template-columns: 1fr;
  }

  .fi-how-step-grid article,
  .fi-how-delivery-grid a {
    min-height: 0;
  }

  .fi-how-cta-box {
    padding: 26px;
  }
}
