.sb-case-page {
  --sb-case-shell: min(1824px, calc(100% - 224px));
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(21, 114, 232, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(21, 114, 232, 0.04) 1px, transparent 1px),
    linear-gradient(120deg, #ffffff 0%, #f8fbff 58%, #effbf3 100%);
  background-size: 88px 88px, 88px 88px, auto;
}

.sb-case-layout {
  width: var(--sb-case-shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 72px;
  padding: 64px 0 108px;
  align-items: start;
}

.sb-case-rail {
  position: sticky;
  top: 112px;
  padding-right: 32px;
  border-right: 1px solid #dbe6f4;
  display: grid;
  gap: 36px;
  justify-items: center;
}

.sb-case-app-box {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
}

.sb-case-app-logo {
  width: 172px;
  height: 172px;
  border: 1px solid #c9d8ea;
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sb-case-app-logo span {
  color: #101827;
  font-size: 72px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}

.sb-case-app-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 18px;
}

.sb-case-app-title {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.sb-case-app-title strong {
  display: block;
  margin: 0;
  color: #101827;
  font-size: 32px;
  line-height: 1;
  font-weight: 600;
}

.sb-case-app-title p {
  max-width: 260px;
  margin: 0;
  color: #5b687a;
  font-size: 16px;
  line-height: 1.5;
}

.sb-case-region {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #dbe6f4;
  border-radius: 999px;
  color: #334155;
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.sb-case-region::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1572e8;
}

.sb-case-app-cta,
.sb-case-outline-cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 0.34s ease, border-color 0.18s ease, color 0.18s ease;
}

.sb-case-app-cta {
  width: 100%;
  max-width: 300px;
  min-height: 60px;
  color: #ffffff;
  background-image: linear-gradient(90deg, #159931 0 50%, #25c844 50% 100%);
  font-size: 16px;
  box-shadow: none;
}

.sb-case-app-cta:hover,
.sb-case-app-cta:focus {
  color: #ffffff;
  background-position: 0 0;
}

.sb-case-rail-links {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding-top: 28px;
  border-top: 1px solid #dbe6f4;
}

.sb-case-rail-links a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #445166;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.sb-case-rail-links a:hover,
.sb-case-rail-links a:focus {
  color: #1572e8;
  border-color: #dbe6f4;
  background: rgba(255, 255, 255, 0.76);
}

.sb-case-main {
  min-width: 0;
  display: grid;
  gap: 48px;
}

.sb-case-hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
  gap: 76px;
  align-items: center;
  padding-bottom: 42px;
  border-bottom: 1px solid #dbe6f4;
}

.sb-case-hero h1,
.sb-case-section-title h2,
.sb-case-dark-band h2,
.sb-case-closing h2 {
  margin: 0;
  color: #101827;
  letter-spacing: 0;
  font-weight: 600;
}

.sb-case-hero h1 {
  max-width: 860px;
  font-size: 56px;
  line-height: 1.02;
}

.sb-case-lead {
  max-width: 800px;
  margin: 28px 0 0;
  color: #5b687a;
  font-size: 20px;
  line-height: 1.65;
}

.sb-case-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sb-case-tags span {
  padding: 9px 12px;
  border: 1px solid #dce8f4;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #263244;
  font-size: 13px;
  font-weight: 700;
}

.sb-case-hero-note {
  max-width: 420px;
  margin: 0;
  padding-left: 24px;
  border-left: 2px solid #1572e8;
  color: #334155;
  font-size: 18px;
  line-height: 1.7;
}

.sb-case-hero-note strong,
.sb-case-text-block strong {
  color: #101827;
  font-weight: 700;
}

.sb-case-section {
  border-top: 1px solid #dbe6f4;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 64px;
  padding-top: 44px;
}

.sb-case-section-title {
  display: grid;
  align-content: start;
  gap: 18px;
}

.sb-case-section-title h2,
.sb-case-dark-band h2,
.sb-case-closing h2 {
  max-width: 760px;
  font-size: 42px;
  line-height: 1.06;
}

.sb-case-section-title h2 {
  max-width: 420px;
}

.sb-case-section-title p {
  max-width: 420px;
  margin: 0;
  color: #5b687a;
  font-size: 17px;
  line-height: 1.65;
}

.sb-case-section-body {
  display: grid;
  gap: 28px;
}

.sb-case-text-block {
  max-width: 850px;
  margin: 0;
  color: #5b687a;
  font-size: 19px;
  line-height: 1.75;
}

.sb-case-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #dbe6f4;
  border-bottom: 1px solid #dbe6f4;
}

.sb-case-benefit {
  min-height: 174px;
  padding: 24px;
  border-right: 1px solid #dbe6f4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.sb-case-benefit:last-child {
  border-right: 0;
}

.sb-case-benefit span {
  color: #9bc7ff;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
}

.sb-case-benefit strong {
  color: #101827;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.sb-case-flow {
  margin-top: 12px;
  border-top: 1px solid #dbe6f4;
}

.sb-case-flow-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid #dbe6f4;
}

.sb-case-flow-number {
  color: #1572e8;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
}

.sb-case-flow-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 0.9fr);
  gap: 32px;
}

.sb-case-flow-copy strong {
  color: #101827;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.sb-case-flow-copy span {
  color: #5b687a;
  font-size: 17px;
  line-height: 1.65;
}

.sb-case-dark-band {
  margin: 12px 0;
  padding: 54px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    #07111f;
  background-size: 76px 76px, 76px 76px, auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.sb-case-dark-band h2 {
  max-width: 460px;
  color: #ffffff;
}

.sb-case-dark-list {
  display: grid;
  gap: 22px;
}

.sb-case-dark-list p {
  margin: 0;
  color: #aebbd0;
  font-size: 18px;
  line-height: 1.7;
  padding-bottom: 22px;
  border-bottom: 1px solid #1d3047;
}

.sb-case-dark-list p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sb-case-closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  padding: 50px 0 0;
  border-top: 1px solid #dbe6f4;
}

.sb-case-closing p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #5b687a;
  font-size: 18px;
  line-height: 1.65;
}

.sb-case-outline-cta {
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid #1572e8;
  background-image: linear-gradient(90deg, #073fb8 0 50%, #1572e8 50% 100%);
  color: #ffffff;
  box-shadow: none;
}

.sb-case-outline-cta:hover,
.sb-case-outline-cta:focus {
  color: #ffffff;
  border-color: #1267d4;
  background-position: 0 0;
}

@media (max-width: 1499.98px) {
  .sb-case-page {
    --sb-case-shell: min(1520px, calc(100% - 120px));
  }
}

@media (max-width: 1099.98px) {
  .sb-case-page {
    --sb-case-shell: calc(100% - 56px);
  }

  .sb-case-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 44px;
  }

  .sb-case-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
  }

  .sb-case-hero-note {
    max-width: 760px;
  }

  .sb-case-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-case-benefit:nth-child(2) {
    border-right: 0;
  }

  .sb-case-benefit:nth-child(1),
  .sb-case-benefit:nth-child(2) {
    border-bottom: 1px solid #dbe6f4;
  }
}

@media (max-width: 900px) {
  .sb-case-page {
    --sb-case-shell: calc(100% - 64px);
  }

  .sb-case-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px 0 64px;
  }

  .sb-case-rail {
    position: relative;
    top: auto;
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid #dbe6f4;
  }

  .sb-case-app-box {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: center;
    justify-items: center;
  }

  .sb-case-app-logo {
    width: 118px;
    height: 118px;
  }

  .sb-case-app-logo span {
    font-size: 48px;
  }

  .sb-case-app-logo img {
    padding: 14px;
  }

  .sb-case-app-title strong {
    font-size: 26px;
  }

  .sb-case-app-title p {
    max-width: none;
    font-size: 15px;
  }

  .sb-case-region,
  .sb-case-app-cta {
    grid-column: 1 / -1;
  }

  .sb-case-app-cta {
    max-width: none;
  }

  .sb-case-rail-links {
    display: none;
  }

  .sb-case-main {
    gap: 38px;
  }

  .sb-case-hero {
    padding-bottom: 32px;
  }

  .sb-case-hero h1 {
    font-size: 38px;
    line-height: 1.06;
  }

  .sb-case-lead {
    margin-top: 22px;
    font-size: 18px;
  }

  .sb-case-hero-note {
    font-size: 16px;
  }

  .sb-case-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 34px;
  }

  .sb-case-section-title h2,
  .sb-case-dark-band h2,
  .sb-case-closing h2 {
    font-size: 34px;
  }

  .sb-case-text-block {
    font-size: 17px;
  }

  .sb-case-benefits {
    grid-template-columns: 1fr;
  }

  .sb-case-benefit {
    min-height: 138px;
    border-right: 0;
    border-bottom: 1px solid #dbe6f4;
  }

  .sb-case-benefit:last-child {
    border-bottom: 0;
  }

  .sb-case-flow-row,
  .sb-case-flow-copy,
  .sb-case-dark-band,
  .sb-case-closing {
    grid-template-columns: 1fr;
  }

  .sb-case-flow-row {
    gap: 12px;
  }

  .sb-case-dark-band {
    padding: 30px;
    gap: 30px;
  }

  .sb-case-closing {
    gap: 24px;
  }

  .sb-case-outline-cta {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .sb-case-tags span {
    font-size: 12px;
  }
}
