:root {
  --sb-widget-shell: min(1824px, calc(100% - 224px));
}

.sb-widget-page {
  overflow: hidden;
  color: #111827;
  background: #ffffff;
  font-family: var(--sb-font-sans);
}

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

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

.sb-widget-page p {
  margin: 0;
}

.sb-widget-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  color: #1572e8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sb-widget-hero {
  padding: 74px 0 78px;
  background:
    linear-gradient(90deg, rgba(21, 114, 232, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(21, 114, 232, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 88% 20%, rgba(49, 206, 54, 0.14), transparent 28%),
    #ffffff;
  background-size: 56px 56px, 56px 56px, auto, auto;
}

.sb-widget-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(640px, 0.78fr);
  gap: 72px;
  align-items: center;
}

.sb-widget-hero-grid > *,
.sb-widget-install-grid > *,
.sb-widget-section-grid > * {
  min-width: 0;
}

.sb-widget-page h1 {
  max-width: 780px;
  font-size: 56px;
  line-height: 1.05;
}

.sb-widget-lead {
  max-width: 650px;
  margin-top: 24px;
  color: #536174;
  font-size: 20px;
  line-height: 1.64;
}

.sb-widget-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.sb-widget-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 0.34s ease, border-color 0.18s ease, color 0.18s ease;
}

.sb-widget-button:hover,
.sb-widget-button:focus {
  text-decoration: none;
}

.sb-widget-button-primary {
  color: #ffffff;
  background-image: linear-gradient(90deg, #073fb8 0 50%, #1572e8 50% 100%);
}

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

.sb-widget-button-secondary {
  border: 1px solid #dce5f1;
  color: #111827;
  background-image: linear-gradient(90deg, #eef2f7 0 50%, #ffffff 50% 100%);
}

.sb-widget-button-secondary:hover,
.sb-widget-button-secondary:focus {
  color: #1572e8;
  background-position: 0 0;
}

.sb-widget-hero .sb-hero-trust {
  justify-content: flex-start;
  max-width: none;
  margin: 28px 0 0;
}

.sb-widget-browser-demo {
  position: relative;
  min-height: 590px;
  padding: 28px 28px 34px;
  border: 1px solid #cfd9e7;
  border-radius: 28px;
  background: #0b1320;
  box-shadow: 0 34px 90px rgba(16, 24, 40, 0.18);
}

.sb-widget-browser-screen {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(17, 24, 39, 0.08) 1px, transparent 1px),
    #ffffff;
  background-size: 54px 54px;
}

.sb-widget-store-blur {
  position: absolute;
  inset: 0;
  padding: 34px 46px;
  filter: blur(4px);
  opacity: 0.72;
}

.sb-widget-store-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 58px;
}

.sb-widget-store-logo {
  width: 118px;
  height: 28px;
  border-radius: 8px;
  background: #182235;
}

.sb-widget-store-links {
  display: flex;
  gap: 26px;
}

.sb-widget-store-links i {
  width: 84px;
  height: 12px;
  border-radius: 99px;
  background: #9aa7ba;
}

.sb-widget-store-cta {
  width: 116px;
  height: 38px;
  border-radius: 999px;
  background: #f2555b;
}

.sb-widget-store-content {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.sb-widget-phone {
  height: 350px;
  border: 10px solid transparent;
  border-radius: 42px;
  background:
    linear-gradient(#0d1424, #0d1424) padding-box,
    linear-gradient(135deg, #1b2638, #68778f) border-box;
}

.sb-widget-store-copy {
  display: grid;
  gap: 18px;
}

.sb-widget-store-copy strong {
  display: block;
  width: 360px;
  height: 36px;
  border-radius: 12px;
  background: #142033;
}

.sb-widget-store-copy span {
  display: block;
  width: 440px;
  max-width: 100%;
  height: 16px;
  border-radius: 999px;
  background: #9aa7ba;
}

.sb-widget-store-copy span:nth-child(3) {
  width: 360px;
}

.sb-widget-panel {
  position: absolute;
  left: 72px;
  top: 70px;
  z-index: 3;
  width: 340px;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
  background: #f3f3f4;
  box-shadow: 0 30px 70px rgba(7, 17, 31, 0.26);
}

.sb-widget-panel-head {
  position: relative;
  padding: 34px 34px 72px;
  color: #ffffff;
  background: linear-gradient(135deg, #1572e8 0%, #10d9bc 100%);
}

.sb-widget-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
}

.sb-widget-panel-head span {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
}

.sb-widget-panel-head strong {
  display: block;
  max-width: 250px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.sb-widget-card {
  position: relative;
  margin: -24px 16px 0;
  padding: 24px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
}

.sb-widget-card + .sb-widget-card {
  margin-top: 24px;
}

.sb-widget-card h3 {
  font-size: 16px;
  font-weight: 700;
}

.sb-widget-card p {
  margin-top: 10px;
  color: #4c5565;
  font-size: 14px;
  line-height: 1.55;
}

.sb-widget-main-button {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  border-radius: 4px;
  color: #ffffff;
  background: linear-gradient(90deg, #c8343d 0 50%, #f2555b 50% 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  font-size: 14px;
  font-weight: 600;
  transition: background-position 0.34s ease;
}

.sb-widget-outline {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  border: 1px solid #f2555b;
  border-radius: 999px;
  color: #f2555b;
  font-size: 14px;
  font-weight: 600;
}

.sb-widget-foot {
  padding: 28px 0 18px;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.sb-widget-mark {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.sb-widget-mark i {
  width: 12px;
  height: 12px;
  margin-left: -3px;
  border-radius: 50%;
}

.sb-widget-mark i:first-child {
  margin-left: 0;
  background: #ffcf24;
}

.sb-widget-mark i:nth-child(2) {
  background: #1572e8;
}

.sb-widget-mark i:nth-child(3) {
  background: #ff5d55;
}

.sb-widget-floating-button {
  position: absolute;
  left: 86px;
  bottom: 56px;
  z-index: 2;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(90deg, #b90f1c 0 50%, #ef1d2d 50% 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  font-size: 19px;
  font-weight: 600;
  box-shadow: 0 18px 34px rgba(239, 29, 45, 0.28);
  transition: background-position 0.34s ease;
}

.sb-widget-main-button:hover,
.sb-widget-main-button:focus,
.sb-widget-floating-button:hover,
.sb-widget-floating-button:focus {
  background-position: 0 0;
}

.sb-widget-install {
  padding: 76px 0;
  color: #d8e7ff;
  background: #07111f;
}

.sb-widget-install-grid {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.sb-widget-install h2 {
  color: #ffffff;
  font-size: 42px;
  line-height: 1.1;
}

.sb-widget-install p {
  max-width: 520px;
  margin-top: 18px;
  color: #a9b8ce;
  font-size: 17px;
  line-height: 1.7;
}

.sb-widget-code-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0e1a2b;
}

.sb-widget-code-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.sb-widget-code-card pre {
  margin: 0;
  padding: 24px;
  overflow: auto;
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.sb-widget-code-card code {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.sb-widget-code-blue {
  color: #8dbdff;
}

.sb-widget-code-green {
  color: #72ee76;
}

.sb-widget-code-muted {
  color: #8ea4c2;
}

.sb-widget-fit {
  padding: 74px 0;
  background: #f4f7fb;
}

.sb-widget-section-grid {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.sb-widget-section-grid h2,
.sb-widget-behavior-head h2,
.sb-widget-cta h2 {
  font-size: 42px;
  line-height: 1.1;
}

.sb-widget-section-copy {
  margin-top: 18px;
  color: #536174;
  font-size: 17px;
  line-height: 1.7;
}

.sb-widget-fit-list {
  display: grid;
  border-top: 1px solid #dce5f1;
}

.sb-widget-fit-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 140px;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid #dce5f1;
}

.sb-widget-fit-row span {
  color: #1572e8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sb-widget-fit-row h3 {
  font-size: 20px;
}

.sb-widget-fit-row p {
  margin-top: 6px;
  color: #536174;
  font-size: 15px;
  line-height: 1.55;
}

.sb-widget-fit-row strong {
  justify-self: end;
  color: #0f7a24;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.sb-widget-behavior {
  padding: 76px 0;
  background: #ffffff;
}

.sb-widget-behavior-head {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.sb-widget-behavior-head h2 {
  max-width: 620px;
}

.sb-widget-behavior-head p {
  max-width: 520px;
  color: #536174;
  font-size: 17px;
  line-height: 1.7;
}

.sb-widget-behavior-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #dce5f1;
  background: #ffffff;
}

.sb-widget-behavior-card {
  min-height: 230px;
  padding: 28px;
  border-right: 1px solid #dce5f1;
}

.sb-widget-behavior-card:last-child {
  border-right: 0;
}

.sb-widget-behavior-card span {
  display: block;
  margin-bottom: 42px;
  color: #9bc7ff;
  font-size: 24px;
  font-weight: 700;
}

.sb-widget-behavior-card h3 {
  font-size: 20px;
}

.sb-widget-behavior-card p {
  margin-top: 12px;
  color: #536174;
  font-size: 15px;
  line-height: 1.6;
}

.sb-widget-cta {
  padding: 74px 0;
  background:
    linear-gradient(90deg, rgba(21, 114, 232, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(21, 114, 232, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 86% 22%, rgba(49, 206, 54, 0.16), transparent 32%),
    #ffffff;
  background-size: 56px 56px, 56px 56px, auto, auto;
}

.sb-widget-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 42px 0;
  border-top: 1px solid #dce5f1;
  border-bottom: 1px solid #dce5f1;
}

.sb-widget-cta h2 {
  max-width: 680px;
}

.sb-widget-cta p {
  max-width: 620px;
  margin-top: 14px;
  color: #536174;
  font-size: 17px;
  line-height: 1.7;
}

@media (max-width: 1180px) {
  :root {
    --sb-widget-shell: calc(100% - 56px);
  }

  .sb-widget-hero-grid,
  .sb-widget-install-grid,
  .sb-widget-section-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .sb-widget-browser-demo {
    min-height: 560px;
  }

  .sb-widget-behavior-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sb-widget-behavior-card:nth-child(2) {
    border-right: 0;
  }

  .sb-widget-behavior-card:nth-child(-n+2) {
    border-bottom: 1px solid #dce5f1;
  }
}

@media (max-width: 760px) {
  :root {
    --sb-widget-shell: calc(100% - 24px);
  }

  .sb-widget-hero,
  .sb-widget-install,
  .sb-widget-fit,
  .sb-widget-behavior,
  .sb-widget-cta {
    padding: 48px 0;
  }

  .sb-widget-page h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .sb-widget-lead {
    font-size: 17px;
    line-height: 1.58;
  }

  .sb-widget-install h2,
  .sb-widget-section-grid h2,
  .sb-widget-behavior-head h2,
  .sb-widget-cta h2 {
    font-size: 32px;
    line-height: 1.12;
  }

  .sb-widget-browser-demo {
    min-height: 620px;
    padding: 14px;
    border-radius: 20px;
  }

  .sb-widget-browser-screen {
    min-height: 590px;
  }

  .sb-widget-store-blur {
    padding: 28px;
  }

  .sb-widget-store-links {
    display: none;
  }

  .sb-widget-store-content {
    grid-template-columns: 1fr;
  }

  .sb-widget-phone {
    width: 220px;
    height: 300px;
  }

  .sb-widget-panel {
    left: 18px;
    right: 18px;
    top: 54px;
    width: auto;
  }

  .sb-widget-floating-button {
    left: 28px;
    bottom: 34px;
    min-height: 54px;
    padding: 0 22px;
    font-size: 16px;
  }

  .sb-widget-fit-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sb-widget-fit-row strong {
    justify-self: start;
  }

  .sb-widget-behavior-head,
  .sb-widget-cta-box {
    display: block;
  }

  .sb-widget-behavior-head p {
    margin-top: 16px;
  }

  .sb-widget-behavior-grid {
    grid-template-columns: 1fr;
  }

  .sb-widget-behavior-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #dce5f1;
  }

  .sb-widget-behavior-card:last-child {
    border-bottom: 0;
  }

  .sb-widget-behavior-card span {
    margin-bottom: 28px;
  }

  .sb-widget-cta .sb-widget-button {
    margin-top: 24px;
  }
}
