/* Public platform layout. The cabinet uses the same brand tokens and header. */
html {
  scroll-padding-top: 76px;
}
#site-head {
  position: sticky;
  top: 0;
  z-index: 12;
  background: #fff;
  border-color: #e2e6ec;
}
.bar {
  min-height: 65px;
  gap: 26px;
  max-width: 1690px;
  padding-inline: clamp(20px, 3.1vw, 58px);
}
.bar .logo {
  width: 178px;
}
.bar .wide-nav {
  margin-left: auto;
  gap: clamp(18px, 2vw, 31px);
}
.bar nav a,
.bar .login-link {
  font-size: 14px;
}
.bar .nav-actions {
  gap: 16px;
}
.bar .btn.small {
  min-height: 38px;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 7px;
}
.bar .header-search {
  color: #45546a;
  font-size: 13px;
  border: 1px solid #dce2e9;
  border-radius: 7px;
  gap: 8px;
  padding: 6px 8px 6px 11px;
  min-height: 34px;
  min-width: 106px;
  font-weight: 400;
}
.bar .header-search:hover {
  background: #f4f7fa;
  text-decoration: none;
}
.header-search kbd {
  color: #526078;
  font:
    11px/17px SpaceMono,
    monospace;
  margin-left: auto;
  border: 1px solid #e0e5ec;
  border-radius: 3px;
  padding-inline: 4px;
}
.btn {
  border-radius: 7px;
}
.shell.landing-shell {
  max-width: 1330px;
  width: 100%;
  padding-inline: clamp(23px, 4vw, 64px);
}
.mt-hero {
  overflow: hidden;
  background: radial-gradient(
    ellipse at 70% 37%,
    #e6edf5 0,
    #f4f7fa 38%,
    #fcfdfe 67%,
    white 86%
  );
  border-bottom: 1px solid #e7ebef;
}
.mt-hero-inner {
  min-height: clamp(420px, 34vw, 510px);
  position: relative;
  display: grid;
  align-items: center;
}
.mt-pitch {
  padding: 46px 0 42px;
  position: relative;
  z-index: 1;
  width: 55%;
  pointer-events: none;
}
.mt-pitch a {
  pointer-events: auto;
}
.mt-pitch h1 {
  font-size: clamp(48px, 4.6vw, 72px);
  line-height: 1.015;
  letter-spacing: -0.04em;
  color: #141f34;
}
.mt-pitch > p {
  font-size: clamp(16px, 1.34vw, 19px);
  line-height: 1.53;
  color: #475772;
  max-width: 42ch;
  margin: 20px 0 23px;
  text-wrap: pretty;
}
.mt-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.mt-actions .btn {
  min-height: 45px;
  font-size: 14px;
  padding: 12px 17px;
}
.mt-actions .outline {
  color: #263953;
  border-color: #c7d1dd;
}
.mt-catalog-note {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: #41546a;
  gap: 8px;
  font-size: 12px;
  margin-top: 13px;
}
.mt-catalog-note span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35866c;
}
.family-rail {
  border-bottom: 1px solid #e0e6ed;
  background: white;
}
.mt-chapters {
  padding-bottom: 66px;
}
.final-prompt h2 {
  font-size: clamp(30px, 3.1vw, 47px);
  color: #152238;
  line-height: 1.07;
}
.final-prompt p {
  color: #4f5f75;
  margin-top: 14px;
  line-height: 1.55;
  max-width: 45ch;
}
.final-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(25px, 3.5vw, 52px);
  border: 1px solid #d6e5e1;
  border-radius: 14px;
  background: linear-gradient(115deg, #f0f7f4, #f8fafb 74%);
}
.final-prompt .btn {
  flex: none;
  font-size: 14px;
}
.final-prompt h2 {
  font-size: clamp(27px, 2.5vw, 39px);
}
.final-prompt p {
  max-width: 58ch;
}
footer {
  background: white;
}
@media (max-width: 1030px) {
  .bar {
    gap: 16px;
  }
  .bar .header-search {
    min-width: 44px;
  }
  .bar .header-search kbd {
    display: none;
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 69px;
  }
  .bar {
    min-height: 61px;
  }
  .bar .logo {
    width: 166px;
  }
  .mt-hero-inner {
    min-height: 385px;
  }
  .mt-pitch h1 {
    font-size: clamp(38px, 5.6vw, 48px);
  }
}
@media (max-width: 650px) {
  .shell.landing-shell {
    padding-inline: 20px;
  }
  .mt-hero {
    background: radial-gradient(
      ellipse at 52% 68%,
      #e9f0f6,
      #fbfcfd 63%,
      white
    );
  }
  .mt-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .mt-pitch {
    width: 100%;
    padding: 34px 0 0;
  }
  .mt-pitch h1 {
    font-size: clamp(37px, 9.3vw, 56px);
  }
  .mt-pitch > p {
    font-size: 16px;
    margin: 14px 0 17px;
    max-width: 43ch;
  }
  .mt-actions .btn {
    font-size: 13px;
    padding-inline: 14px;
    min-height: 44px;
  }
  .mt-catalog-note {
    margin-top: 7px;
    min-height: 32px;
  }
  .mt-chapters {
    padding-bottom: 35px;
  }
  .final-prompt {
    flex-direction: column;
    align-items: start;
    gap: 18px;
  }
}
@media (max-width: 360px) {
  .shell.landing-shell {
    padding-inline: 15px;
  }
  .mt-pitch h1 {
    font-size: clamp(30px, 9.45vw, 34px);
  }
  .mt-actions {
    gap: 6px;
  }
  .mt-actions .btn {
    padding-inline: 9px;
    font-size: 12px;
  }
}
