/*
 * Visual refinement layer for the four public landing pages.
 *
 * The original landing stylesheet is a generated/minified asset. Keeping the
 * refinements here makes the responsive system reviewable and prevents small
 * visual fixes from turning into an opaque one-line diff.
 */

:root {
  --landing-ink: #323a40;
  --landing-muted: #5b6e7a;
  --landing-placeholder: #5b6e7a;
  --landing-surface: #fff;
  --landing-canvas: #f4f6f7;
  --landing-blue: #0079ea;
  --landing-blue-text: #006bcf;
  --landing-orange: #ff541b;
  --landing-radius-lg: 24px;
  --landing-radius-md: 18px;
  --landing-shadow-raised: 0 18px 48px rgba(47, 67, 78, 0.07);
  --landing-shadow-interactive: 0 14px 36px rgba(47, 67, 78, 0.09);
  --landing-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  font-family: SFProDisplay, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: -0.012em;
  color: var(--landing-ink);
}

::selection {
  color: var(--landing-ink);
  background: rgba(255, 84, 27, 0.2);
}

h1,
h2,
.smb__btn,
.smb__btn__white,
.smb__story .title,
.smb__channels .title,
.smb__app__list .title,
.smb__tools .title {
  font-family: "Golos Text", SFProDisplay, -apple-system, BlinkMacSystemFont, sans-serif;
}

h1,
h2 {
  text-wrap: balance;
  letter-spacing: -0.028em;
}

h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 560;
  line-height: 1.14;
}

h1 strong {
  font-weight: 760;
}

h2 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.18;
}

p {
  text-wrap: pretty;
}

a,
button,
input {
  transition-duration: 180ms;
  transition-timing-function: var(--landing-ease-out);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--landing-blue);
  outline-offset: 4px;
}

.smb__input::placeholder {
  color: var(--landing-placeholder);
}

.smb__wrapper {
  gap: clamp(76px, 10vw, 112px);
  padding-right: max(16px, (100% - 700px) / 2);
  padding-left: max(16px, (100% - 700px) / 2);
}

.smb__header {
  height: 72px;
  padding-right: max(16px, (100% - 700px) / 2);
  padding-left: max(16px, (100% - 700px) / 2);
}

.smb__header .smb__menu div a {
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.smb__header .smb__menu div a:hover {
  color: var(--landing-blue-text);
}

.smb__header .smb__menu div a.is-active {
  font-weight: 500;
}

.smb__input,
.smb__btn__menu {
  box-shadow: 0 8px 24px rgba(47, 67, 78, 0.04);
}

.smb__btn__menu:hover,
.smb__btn__search:hover,
.smb__btn:hover,
.smb__btn__white:hover {
  transform: translateY(-2px);
}

.smb__intro,
.smb__together,
.smb__options {
  border-radius: var(--landing-radius-lg);
  box-shadow: var(--landing-shadow-raised);
}

.smb__intro {
  gap: 36px;
  padding: 30px 22px 0;
}

.smb__intro > div:first-child {
  width: 100%;
}

.smb__intro .logo {
  width: 72px;
  margin: 0 0 28px 2px;
}

.smb__intro h1 {
  max-width: 17ch;
  margin-bottom: 18px;
}

.smb__intro h1 .hero-claim {
  display: block;
  margin-top: 2px;
  font-size: clamp(20px, 6.25vw, 28px);
  line-height: 1.2;
}

.smb__intro h1 .hero-claim > span {
  display: block;
  white-space: nowrap;
}

.smb__intro h1 + p {
  max-width: 52ch;
}

.smb__intro ul {
  margin-top: 32px;
  gap: 10px;
}

.smb__story h2,
.smb__story h2 + p,
.smb__posts h2,
.smb__posts h2 + p,
.smb__channels h2,
.smb__channels h2 + p,
.smb__channels .smb__tabs .btns,
.smb__app__list h2 {
  margin-left: 10px;
  margin-right: 10px;
}

.smb__story h2 + p,
.smb__posts h2 + p,
.smb__answers h2 + p,
.smb__tools h2 + p {
  margin-bottom: 40px;
}

.smb__story ul {
  gap: 20px;
}

.smb__story ul li a,
.smb__channels .smb__tabs .tab ul a,
.smb__post,
.smb__review {
  border-radius: var(--landing-radius-lg);
  box-shadow: 0 10px 30px rgba(47, 67, 78, 0.045);
}

.smb__story ul li a {
  overflow: hidden;
}

.smb__story ul li a:hover,
.smb__channels .smb__tabs .tab ul a:hover {
  transform: translateY(-4px);
  box-shadow: var(--landing-shadow-interactive);
}

.smb__story ul li a .title,
.smb__app__list ul li .title,
.smb__tools .grid .title {
  font-weight: 620;
}

.smb__story ul li a,
.smb__channels .smb__tabs .tab ul a .text,
.smb__app__list ul,
.smb__tools .grid,
.smb__post .top .subname,
.smb__post .bottom a,
.smb__post .bottom span,
.smb__review--autor .autor .subname {
  color: var(--landing-muted);
}

.smb__tabs {
  gap: 36px;
}

.smb__tabs .btns {
  gap: 10px;
}

.smb__channels .smb__tabs {
  gap: 20px;
}

.smb__channels .smb__tabs .btns {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  background: #e7edf1;
  box-shadow: inset 0 1px 2px rgba(47, 67, 78, 0.05);
}

.smb__channels .smb__tabs .btns .smb__btn__white {
  height: 44px;
  padding: 0 12px;
  border-color: transparent;
  color: var(--landing-ink);
  background: transparent;
  box-shadow: none;
}

.smb__channels .smb__tabs .btns .smb__btn__white:hover {
  color: var(--landing-blue-text);
  background: rgba(255, 255, 255, 0.72);
  transform: none;
}

.smb__channels .smb__tabs .btns .smb__btn__white.is-active {
  border-color: var(--landing-blue-text);
  color: #fff;
  background: var(--landing-blue-text);
  box-shadow: 0 8px 18px rgba(0, 121, 234, 0.24);
}

.smb__channels .smb__tabs .btns .smb__btn__white.is-active:hover {
  color: #fff;
  background: var(--landing-blue-text);
}

@media (min-width: 375px) and (max-width: 1199px) {
  .smb__channels .smb__tabs .btns {
    flex-wrap: nowrap;
  }

  .smb__channels .smb__tabs .btns .smb__btn__white {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 6px;
    padding-left: 6px;
    font-size: 14px;
  }
}

.smb__btn__white {
  border-width: 1px;
  box-shadow: 0 8px 22px rgba(47, 67, 78, 0.045);
}

.smb__btn__white.is-active {
  box-shadow: 0 0 0 1px var(--landing-blue);
}

.smb__channels .smb__tabs .tab ul {
  gap: 16px;
}

.smb__channels .smb__tabs .tab ul a {
  transition: transform 200ms var(--landing-ease-out), box-shadow 200ms var(--landing-ease-out);
}

.smb__post {
  padding: 22px;
  gap: 16px;
}

.smb__post .title {
  line-height: 1.28;
}

.smb__post .content {
  line-height: 1.48;
}

.smb__post .bottom {
  padding-top: 4px;
}

.smb__help .bubbles {
  margin-bottom: 40px;
}

.smb__help .bubbles div {
  gap: 8px;
}

.smb__help .bubbles div span {
  height: 54px;
  padding: 0 20px;
  border-radius: var(--landing-radius-md);
  box-shadow: 0 8px 20px rgba(47, 67, 78, 0.035);
}

.smb__help h2 + p,
.smb__answers h2 + p,
.smb__tools h2 + p {
  max-width: 66ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.48;
}

.smb__together,
.smb__options {
  gap: 32px;
  padding: 26px 22px;
}

.smb__together > div,
.smb__options > div {
  max-width: 62ch;
}

.smb__together img,
.smb__options img {
  width: min(100%, 330px);
}

.smb__answers img {
  filter: drop-shadow(0 20px 28px rgba(47, 67, 78, 0.08));
}

.smb__app__list {
  padding: 68px 0;
}

.smb__app__list ul {
  gap: 44px;
}

.smb__app__list ul li {
  gap: 8px;
}

.smb__app__list ul li img {
  margin-bottom: 8px;
  border-radius: var(--landing-radius-md);
}

.smb__app__list ul li p {
  margin-right: 8px;
  margin-left: 8px;
}

.smb__reviews .rating {
  margin-bottom: 36px;
  color: var(--landing-muted);
}

.smb__reviews ul {
  align-items: stretch;
  gap: 16px;
}

.smb__review {
  padding: 26px 22px;
}

.smb__review--autor .autor {
  margin-top: auto;
}

.smb__app__main {
  gap: 28px;
}

.smb__app__main h2 {
  max-width: 22ch;
}

.smb__app {
  gap: 32px;
  padding: 40px 22px;
}

.smb__app .img {
  width: min(100%, 320px);
}

.smb__footer {
  gap: 16px;
  padding: 24px 10px 30px;
}

.smb__footer .list {
  gap: 8px 18px;
  line-height: 1.4;
}

.smb__footer .disclaimer p,
.smb__footer .copy {
  color: var(--landing-muted);
}

footer.smb__footer .disclaimer p,
footer.smb__footer .copy .copy__requisites {
  opacity: 1;
}

.smb__footer .copy > a:last-child {
  flex: 0 0 71px;
}

.smb__footer .copy > a:last-child img {
  width: 71px;
  height: 50px;
  object-fit: contain;
}

/*
 * Compact phone and portrait-tablet composition. These links are navigation
 * choices, so their illustrations support recognition without setting a tall
 * card height.
 */
@media (max-width: 1199px) {
  .smb__intro h1 {
    max-width: none;
  }

  .smb__story h2 + p {
    margin-bottom: 28px;
  }

  .smb__story ul {
    gap: 12px;
  }

  .smb__story ul li a {
    min-height: 160px;
  }

  .smb__story ul li a > span {
    padding: 16px 0 16px 18px;
    gap: 8px;
  }

  .smb__story ul li a img {
    align-self: flex-end;
    width: 120px;
    height: 160px;
    object-fit: contain;
  }

  .smb__app__main ul {
    width: min(100%, 310px);
    flex-flow: row wrap;
    justify-content: center;
    gap: 10px;
  }

  .smb__app__main ul li {
    flex: 0 0 calc((100% - 10px) / 2);
    max-width: 150px;
  }

  .smb__app__main ul img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 374px) {
  .smb__story ul li a img {
    width: 96px;
    height: 128px;
  }
}

@media (max-width: 319px) {
  .smb__wrapper {
    padding-right: 10px;
    padding-left: 10px;
  }

  .smb__intro {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (max-width: 299px) {
  .smb__wrapper,
  .smb__intro {
    padding-right: 8px;
    padding-left: 8px;
  }
}

@media (min-width: 700px) and (max-width: 1199px) {
  .smb__wrapper {
    gap: 92px;
  }

  .smb__intro {
    padding: 40px 40px 0;
    gap: 40px;
  }

  .smb__intro .logo {
    width: 76px;
  }

  .smb__intro h1 {
    font-size: clamp(32px, 3.5vw, 36px);
  }

  .smb__intro h1 .hero-claim {
    font-size: clamp(30px, 3.5vw, 34px);
  }

  .smb__intro .img {
    width: min(100%, 470px);
  }

  .smb__together,
  .smb__options,
  .smb__app {
    flex-direction: row;
    align-items: center;
    gap: 34px;
    padding: 32px;
  }

  .smb__together img,
  .smb__options img,
  .smb__app .img {
    flex: 0 0 290px;
    width: 290px;
  }

  .smb__app__list ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 24px;
  }

  .smb__app__list ul li img {
    width: 100%;
  }

  .smb__posts ul,
  .smb__reviews ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smb__posts ul > :last-child:nth-child(odd),
  .smb__reviews ul > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  body {
    font-size: 20px;
    line-height: 1.48;
  }

  .smb__wrapper {
    gap: 112px;
    padding-top: 96px;
    padding-right: max(40px, (100% - 1180px) / 2);
    padding-left: max(40px, (100% - 1180px) / 2);
  }

  .smb__header {
    height: 72px;
    padding-right: max(40px, (100% - 1120px) / 2);
    padding-left: max(40px, (100% - 1120px) / 2);
  }

  .smb__channels .smb__tabs .btns {
    width: fit-content;
    padding: 6px;
    gap: 6px;
  }

  .smb__channels .smb__tabs .btns .smb__btn__white {
    padding-right: 18px;
    padding-left: 18px;
  }

  .smb__intro {
    min-height: 560px;
    gap: 54px;
    padding: 36px 0 0 40px;
  }

  .smb__intro > div:first-child {
    min-width: 0;
    padding-bottom: 2px;
  }

  .smb__intro .logo {
    width: 76px;
    margin-bottom: 34px;
  }

  .smb__intro h1 {
    max-width: none;
  }

  .smb__intro h1 .hero-claim {
    margin-top: 4px;
    font-size: 36px;
    line-height: 1.18;
  }

  .smb__intro h1 .hero-claim > span {
    display: block;
    white-space: nowrap;
  }

  .smb__intro ul {
    justify-content: flex-start;
    margin: 42px 0 38px;
  }

  .smb__intro .img {
    width: 590px;
  }

  .smb__story h2,
  .smb__story h2 + p,
  .smb__posts h2,
  .smb__posts h2 + p,
  .smb__channels h2,
  .smb__channels h2 + p,
  .smb__channels .smb__tabs .btns,
  .smb__app__list h2 {
    margin-left: 24px;
    margin-right: 24px;
  }

  .smb__story h2 + p,
  .smb__posts h2 + p,
  .smb__answers h2 + p,
  .smb__tools h2 + p {
    margin-bottom: 44px;
  }

  .smb__story ul li a > span {
    padding: 28px 0 28px 28px;
  }

  .smb__channels .smb__tabs .tab ul a {
    padding: 26px;
  }

  .smb__post {
    padding: 28px;
  }

  .smb__help .bubbles div {
    font-size: 18px;
  }

  .smb__help .bubbles div span {
    height: 64px;
    padding: 0 24px;
    border-radius: 22px;
  }

  .smb__together,
  .smb__options {
    gap: 64px;
    padding: 36px;
  }

  .smb__together img,
  .smb__options img {
    width: 340px;
  }

  .smb__answers img {
    width: 900px;
    margin-left: calc((100% - 900px) / 2);
  }

  .smb__app__list {
    padding: 72px 0;
  }

  .smb__app__list ul {
    gap: 56px 28px;
  }

  .smb__app__list ul li {
    width: calc(33.333% - 19px);
  }

  .smb__review {
    padding: 32px 28px;
    line-height: 1.52;
  }

  .smb__app {
    gap: 64px;
    padding: 48px 56px;
  }

  .smb__footer {
    display: flex;
    gap: 14px;
    padding: 20px 0 28px;
  }

  .smb__footer .list {
    align-content: normal;
  }

  .smb__footer .disclaimer,
  .smb__footer .copy {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
