*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --ms-bg: #f6f9ff;
  --ms-surface: #ffffff;
  --ms-surface-soft: #f3f7ff;
  --ms-border: #dfe8f8;
  --ms-text: #16233f;
  --ms-muted: #66718d;
  --ms-accent: #2e73ea;
  --ms-accent-strong: #1f5fd4;
  --ms-check: #4d8dff;
}

body {
  margin: 0;
  background: var(--ms-bg);
  color: var(--ms-text);
  font-family: "Inter", "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

.ms-landing {
  background: var(--ms-bg);
  min-height: 100svh;
  color: var(--ms-text);
}

.ms-landing__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.5rem;
}

.ms-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.6rem 0;
}

.ms-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.ms-logo__mark {
  width: 1.6rem;
  height: 1.6rem;
  display: inline-block;
  border-radius: 0.45rem;
  object-fit: contain;
}

.ms-nav {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
}

.ms-nav a,
.ms-footer a {
  color: var(--ms-text);
  text-decoration: none;
  font-weight: 500;
}

.ms-nav a {
  font-size: 0.92rem;
}

.ms-button {
  border: 1px solid transparent;
  border-radius: 0.6rem;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.6rem 1rem;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.ms-button:hover {
  transform: translateY(-1px);
}

.ms-button--ghost {
  border-color: var(--ms-border);
  background: #fff;
  color: var(--ms-text);
}

.ms-button--primary {
  background: linear-gradient(180deg, var(--ms-accent) 0%, var(--ms-accent-strong) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(46, 115, 234, 0.28);
}

.ms-button--surface {
  border-color: #cfd9ee;
  background: #fff;
  color: #24304f;
}

.ms-button--outline {
  border-color: var(--ms-accent);
  background: #fff;
  color: var(--ms-text);
  gap: 0.35em;
}

.ms-header__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.ms-lang-selector {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 0.2rem;
}

.ms-lang-btn {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  text-decoration: none;
  overflow: hidden;
  opacity: 0.45;
  transition: opacity 150ms ease, border-color 150ms ease;
}

.ms-lang-btn:hover {
  opacity: 0.8;
}

.ms-lang-btn.is-active {
  border-color: var(--ms-accent);
  opacity: 1;
}

.ms-lang-btn img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ms-hero {
  margin-top: 1.8rem;
  position: relative;
  border: 1px solid #dde6f8;
  border-radius: 1.2rem;
  overflow: hidden;
  min-height: clamp(24rem, 52vw, 34rem);
  padding: clamp(1.6rem, 5.2vw, 4.8rem) clamp(1rem, 4vw, 3rem);
  background: radial-gradient(circle at 8% 16%, rgba(255, 255, 255, 0.52), transparent 44%), #e8f0ff;
  isolation: isolate;
  display: grid;
  align-items: center;
}

.ms-hero::before,
.ms-hero::after {
  content: "";
  position: absolute;
  inset: -42%;
  background-image: url("/static/marketing_site/background-image.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform-style: preserve-3d;
  pointer-events: none;
}

.ms-hero::before {
  z-index: -2;
  opacity: 0.95;
  filter: blur(13px) saturate(1.1) brightness(0.8);
  transform: perspective(1200px) rotateX(14deg) rotateY(-9deg) rotateZ(-3deg) scale(1.22);
  animation: ms-hero-drift-soft 24s ease-in-out infinite alternate;
}

.ms-hero::after {
  z-index: -1;
  opacity: 0.66;
  mix-blend-mode: screen;
  filter: blur(2px) saturate(1.15) brightness(1.03);
  transform: perspective(1200px) rotateX(11deg) rotateY(7deg) rotateZ(2deg) scale(1.16);
  animation: ms-hero-drift-sharp 16s ease-in-out infinite alternate-reverse;
}

.ms-hero__content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  animation: none;
}

.ms-lead {
  color: #fff;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
}

.ms-chip {
  margin: 0;
  margin-inline: auto;
  width: fit-content;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4171bf;
  background: #eaf2ff;
}

.ms-hero h1 {
  margin: 0.95rem 0 0;
  font-size: clamp(1.6rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.ms-hero h1 .ms-hero-emphasis {
  color: var(--ms-accent);
}



.ms-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.7rem;
  justify-content: center;
}

.ms-policy__hero {
  margin-top: 1.8rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid var(--ms-border);
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at 88% 12%, rgba(77, 141, 255, 0.16), transparent 36%),
    linear-gradient(180deg, #fff 0%, #f4f8ff 100%);
}

.ms-policy__hero .ms-chip {
  margin-inline: 0;
}

.ms-policy__hero h1 {
  margin: 0.9rem 0 0;
  max-width: 48rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  color: var(--ms-text);
}

.ms-policy__hero p:last-child {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: var(--ms-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.ms-policy__content {
  max-width: 920px;
  margin: 1.1rem auto 0;
  padding: clamp(1rem, 2.6vw, 2rem);
  border: 1px solid var(--ms-border);
  border-radius: 1rem;
  background: var(--ms-surface);
  box-shadow: 0 18px 40px rgba(22, 35, 63, 0.08);
}

.ms-policy__content h2 {
  margin: 0;
  color: var(--ms-text);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.16;
}

.ms-policy__content section {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--ms-border);
}

.ms-policy__content h3 {
  margin: 0 0 0.8rem;
  color: var(--ms-text);
  font-size: 1.1rem;
  line-height: 1.35;
}

.ms-policy__content p,
.ms-policy__terms dd {
  margin: 0.55rem 0 0;
  color: var(--ms-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.ms-policy__content a {
  color: var(--ms-accent);
  font-weight: 600;
}

.ms-policy__terms {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.ms-policy__terms div {
  padding: 0.85rem;
  border: 1px solid var(--ms-border);
  border-radius: 0.7rem;
  background: var(--ms-surface-soft);
}

.ms-policy__terms dt {
  color: var(--ms-text);
  font-weight: 700;
}

.ms-policy__terms dd {
  margin-left: 0;
}

.ms-hero__spacer {
  height: clamp(1.2rem, 4vw, 2.4rem);
}

.ms-panel {
  border: 1px solid var(--ms-border);
  border-radius: 1rem;
  background: #fff;
  padding: 0.9rem;
  box-shadow: 0 20px 40px rgba(20, 45, 95, 0.08);
  animation: none;
}

.ms-panel__top {
  padding: 0.45rem 0.4rem 0.55rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.74rem;
  color: #7580a1;
}

.ms-breadcrumb {
  width: 0.9rem;
  height: 0.9rem;
  display: inline-grid;
  place-items: center;
  border-radius: 0.22rem;
  background: #2f71e8;
  color: #fff;
  font-size: 0.56rem;
}

.ms-panel__tabs {
  display: flex;
  gap: 0.46rem;
  border-bottom: 1px solid #ebeff8;
  padding: 0.2rem 0.35rem 0.62rem;
  font-size: 0.69rem;
}

.ms-panel__tabs .is-active {
  color: #2965d8;
  font-weight: 700;
  padding: 0.12rem 0.33rem;
  border: 1px solid #a5bdf2;
  border-radius: 999px;
  background: #eff4ff;
}

.ms-panel__body {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.84fr);
  gap: 0.7rem;
}

.ms-builder,
.ms-preview {
  border: 1px solid #e2e9f6;
  border-radius: 0.75rem;
  background: #fdfefe;
  padding: 0.7rem;
}

.ms-panel h3 {
  margin: 0;
  font-size: 0.74rem;
  color: #36456b;
}

.ms-builder__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ms-builder__head span {
  color: #7d8cb1;
  font-weight: 700;
}

.ms-builder__add {
  margin: 0.5rem auto 0;
  width: fit-content;
  border: 1px solid #d6e0f6;
  border-radius: 0.35rem;
  background: #f5f8ff;
  color: #3f75d4;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.22rem 0.52rem;
}

.ms-builder__list {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.45rem;
}

.ms-field-row {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  border: 1px solid #edf1fa;
  border-radius: 0.52rem;
  padding: 0.42rem 0.5rem;
  font-size: 0.74rem;
  color: #56617d;
}

.ms-field-row span strong {
  display: block;
  font-weight: 600;
  font-size: 0.69rem;
  color: #485778;
}

.ms-field-row span small {
  display: block;
  margin-top: 0.1rem;
  color: #7b88a4;
  font-size: 0.62rem;
}

.ms-required {
  color: #de5174;
  font-weight: 600;
  font-size: 0.64rem;
  margin-top: 0.3rem;
}

.ms-preview__input {
  margin-top: 0.2rem;
  height: 1.38rem;
  border: 1px solid #e8edf8;
  border-radius: 0.42rem;
  color: #667493;
  font-size: 0.64rem;
  display: flex;
  align-items: center;
  padding: 0 0.45rem;
}

.ms-preview__feedback {
  margin-top: 0.4rem;
  font-size: 0.6rem;
  text-align: center;
  color: #3b4a6c;
  font-weight: 600;
}

.ms-preview__label {
  margin-top: 0.36rem;
  font-size: 0.6rem;
  color: #3c4d6f;
  font-weight: 600;
}

.ms-preview__stars {
  margin-top: 0.22rem;
  display: flex;
  gap: 0.2rem;
  font-size: 0.66rem;
  font-weight: 700;
  color: #8ea6d8;
}

.ms-preview__stars .is-active {
  color: #2a6de4;
}

.ms-preview__check {
  margin-top: 0.42rem;
  font-size: 0.55rem;
  color: #61708f;
}

.ms-preview button {
  margin-top: 0.54rem;
  width: 100%;
  height: 1.52rem;
  border: 0;
  border-radius: 0.42rem;
  background: var(--ms-accent);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
}

.ms-preview__cancel {
  text-align: center;
  font-size: 0.6rem;
  color: #4f74c0;
  margin-top: 0.24rem;
}

.ms-highlights {
  margin-top: 1.2rem;
  background: var(--ms-surface-soft);
  border: 1px solid #e5ecf8;
  border-radius: 0.95rem;
  padding: 1.15rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ms-highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.6rem;
  background: #e8f0ff;
  color: var(--ms-accent);
  margin-bottom: 0.65rem;
  flex-shrink: 0;
}

.ms-highlight-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.ms-highlights h3 {
  margin: 0;
  font-size: 1.08rem;
}

.ms-highlights p {
  margin: 0.4rem 0 0;
  color: #67728f;
  line-height: 1.35;
}

.ms-features {
  margin-top: 1.65rem;
}

.ms-features h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.9rem, 2.5vw, 3rem);
  letter-spacing: -0.02em;
}

.ms-feature-grid {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.ms-feature-card {
  border: 1px solid #e2eaf8;
  border-radius: 0.95rem;
  background: #fff;
  padding: 0.9rem;
  min-height: 16.5rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.ms-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(24, 61, 127, 0.07);
}

.ms-feature-card h3 {
  margin: 0.4rem 0 0;
  font-size: 1.05rem;
}

.ms-feature-card p {
  margin: 0.45rem 0 0;
  color: #6a7390;
  line-height: 1.4;
  min-height: 3rem;
  font-size: 0.94rem;
}

.ms-feature-card__badge {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.5rem;
  display: inline-grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.ms-feature-card__badge--green {
  background: #e6f8ee;
  color: #43a668;
}

.ms-feature-card__badge--violet {
  background: #efebff;
  color: #7756e3;
}

.ms-feature-card__badge--blue {
  background: #e9f1ff;
  color: #4583eb;
}

.ms-feature-card__badge--amber {
  background: #fff1dc;
  color: #db9a3b;
}

.ms-mock {
  margin-top: 0.75rem;
  border-radius: 0.8rem;
  border: 1px solid #e5ecf9;
  background: #f6f9ff;
  min-height: 8rem;
  padding: 0.55rem;
}

.ms-mock--list .ms-select-head {
  width: fit-content;
  margin: 0 auto 0.4rem;
  border: 1px solid #d8e4fb;
  border-radius: 0.35rem;
  background: #f4f8ff;
  color: #416fca;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.16rem 0.42rem;
}

.ms-mock--list ul {
  margin: 0;
  padding: 0.3rem 0.28rem;
  list-style: none;
  border: 1px solid #dde6f8;
  border-radius: 0.45rem;
  background: #fff;
}

.ms-mock--list li {
  font-size: 0.56rem;
  color: #62718f;
  padding: 0.1rem 0.25rem;
}

.ms-mock--list li.is-selected {
  background: #cadeff;
  color: #385ea8;
}

.ms-mock--icons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  align-content: center;
}

.ms-mock--icons span {
  height: 1.5rem;
  border-radius: 0.45rem;
  border: 1px solid #e0e7f9;
  background: #f1f5ff;
  color: #6957d9;
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.ms-mock--icons img {
  width: 0.95rem;
  height: 0.95rem;
  filter: invert(38%) sepia(67%) saturate(1730%) hue-rotate(218deg) brightness(93%) contrast(91%);
}

.ms-mock--phone {
  border-radius: 1rem;
  background: #fff;
  border: 2px solid #cfd9ea;
  min-height: 8.5rem;
}

.ms-phone-title {
  text-align: center;
  color: #44516f;
  font-weight: 700;
  font-size: 0.56rem;
  margin-top: 0.2rem;
}

.ms-phone-label {
  margin-top: 0.3rem;
  font-size: 0.52rem;
  color: #5e6e8f;
}

.ms-phone-input {
  margin-top: 0.1rem;
  height: 1rem;
  border: 1px solid #dde5f8;
  border-radius: 0.28rem;
}

.ms-mock--delivery {
  display: grid;
  gap: 0.4rem;
}

.ms-condition-card,
.ms-condition-result {
  border: 1px solid #dbe4f8;
  border-radius: 0.56rem;
  background: #fff;
  padding: 0.62rem 0.7rem;
}

.ms-condition-card {
  position: relative;
  border-color: #b9cdf7;
  background: linear-gradient(180deg, #edf4ff 0%, #fff 100%);
}

.ms-condition-card::before {
  content: "IF";
  position: absolute;
  top: -0.46rem;
  left: 0.62rem;
  border-radius: 999px;
  background: #2e73ea;
  color: #fff;
  padding: 0.12rem 0.34rem;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.ms-condition-card span,
.ms-condition-result span {
  display: block;
  color: #61708f;
  font-size: 0.56rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ms-condition-card strong {
  display: block;
  margin-top: 0.24rem;
  color: #23385f;
  font-size: 0.8rem;
}

.ms-condition-arrow {
  justify-self: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: #e8f0ff;
  color: #2e73ea;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.ms-condition-result {
  border-style: dashed;
}

.ms-condition-result div {
  margin-top: 0.45rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.ms-condition-result strong {
  border: 1px solid #dce6f8;
  border-radius: 0.45rem;
  background: #f6f9ff;
  color: #2d4675;
  padding: 0.42rem 0.5rem;
  font-size: 0.64rem;
  text-align: center;
}

.ms-delivery-row {
  border: 1px solid #dbe4f8;
  border-radius: 0.45rem;
  background: #fff;
  padding: 0.45rem 0.55rem;
}

.ms-delivery-row strong {
  display: block;
  font-size: 0.66rem;
  color: #3f4f72;
}

.ms-delivery-row small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.58rem;
  color: #7a86a1;
}

.ms-delivery-row.is-active {
  border-color: #b8cdf8;
  background: #edf3ff;
}

.ms-mock--table {
  background: #f8fbff;
  padding: 0;
  overflow: hidden;
}

.ms-response-filters {
  display: flex;
  gap: 0.28rem;
  padding: 0.45rem 0.55rem;
  background: #f7fbff;
  border-bottom: 1px solid #dfe8f8;
}

.ms-response-filters span {
  border: 1px solid #dae3f7;
  background: #fff;
  border-radius: 0.36rem;
  padding: 0.18rem 0.42rem;
  font-size: 0.54rem;
  color: #51627e;
  white-space: nowrap;
}

.ms-response-table__head,
.ms-response-table__row {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 0.7fr 1fr;
  gap: 0;
}

.ms-response-table__head span,
.ms-response-table__row span {
  padding: 0.42rem 0.5rem;
  border-bottom: 1px solid #dfe8f8;
  font-size: 0.54rem;
  white-space: nowrap;
}

.ms-response-table__head span {
  color: #667590;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #f2f7ff;
}

.ms-response-table__row span {
  color: #253553;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ms-response-table__row .is-link {
  color: #1f6feb;
}

.ms-mock--stats {
  display: grid;
  gap: 0.5rem;
}

.ms-stats-row {
  border: 1px solid #dbe4f8;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.48rem 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ms-stats-row strong {
  font-size: 0.68rem;
  color: #4e5f81;
}

.ms-stats-row span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #516386;
}

.ms-workspace {
  margin-top: 1rem;
  border: 1px solid #e2e9f8;
  border-radius: 1rem;
  background: var(--ms-surface-soft);
  padding: 1.35rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}

.ms-workspace h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.25rem);
  letter-spacing: -0.02em;
}

.ms-workspace p {
  margin: 0.55rem 0 0;
  color: #66728f;
  line-height: 1.45;
}

.ms-workspace ul {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.ms-workspace li::before {
  content: "✓";
  color: var(--ms-check);
  font-weight: 700;
  margin-right: 0.5rem;
}

.ms-workspace__chart {
  border: 1px solid #dfe7f7;
  border-radius: 0.9rem;
  background: #fff;
  padding: 0.9rem;
}

.ms-chart__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ms-chart__head span {
  background: #e7efff;
  color: #285bc2;
  border-radius: 0.42rem;
  padding: 0.18rem 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.ms-chart__bars {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.95rem;
  align-items: end;
  height: 4.3rem;
}

.ms-chart__bars span {
  border-radius: 999px;
  background: linear-gradient(180deg, #6aa1ff 0%, #2a6de4 100%);
  animation: ms-breathe 2.6s ease-in-out infinite;
}

.ms-chart__bars span:nth-child(1) {
  height: 1.45rem;
}

.ms-chart__bars span:nth-child(2) {
  height: 2.2rem;
}

.ms-chart__bars span:nth-child(3) {
  height: 2.6rem;
}

.ms-chart__bars span:nth-child(4) {
  height: 1.8rem;
}

.ms-chart__bars span:nth-child(5) {
  height: 2.8rem;
}

.ms-chart__bars span:nth-child(6) {
  height: 2.25rem;
}

.ms-chart__bars span:nth-child(7) {
  height: 2.6rem;
}

.ms-chart__stats {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.ms-chart__stats div {
  border: 1px solid #e3eaf8;
  border-radius: 0.7rem;
  background: #fcfdff;
  padding: 0.55rem;
}

.ms-chart__stats small {
  color: #6d7893;
  display: block;
}

.ms-chart__stats strong {
  font-size: 1.2rem;
}

.ms-integrations {
  margin-top: 1rem;
  border: 1px solid #e2e9f8;
  border-radius: 0.9rem;
  background: #fff;
  padding: 1rem 1.3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.ms-integrations h2,
.ms-integrations p {
  margin: 0;
}

.ms-integrations p {
  margin-top: 0.28rem;
  color: #667290;
}

.ms-integrations ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.ms-integrations li {
  border: 1px solid #dce5f8;
  border-radius: 0.55rem;
  background: #f6f9ff;
  padding: 0.52rem 0.72rem;
  font-weight: 700;
  color: #2d3f66;
}

.ms-cta {
  margin-top: 1rem;
  border: 1px solid #dfe7f8;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 8% 85%, #dce9ff 0, #dce9ff 8%, transparent 40%),
    radial-gradient(circle at 90% 86%, #dce9ff 0, #dce9ff 8%, transparent 40%),
    #eef4ff;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

.ms-cta h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  letter-spacing: -0.02em;
}

.ms-cta p {
  margin: 0.62rem 0 1rem;
  color: #65708d;
  font-size: 1.06rem;
}

.ms-cta__plane {
  position: absolute;
  width: 64px;
  height: 52px;
  background: linear-gradient(145deg, #f7fbff 0%, #cfdef8 100%);
  clip-path: polygon(0 54%, 100% 0, 66% 60%, 48% 86%);
  opacity: 0.7;
}

.ms-cta__plane--left {
  left: 3.5rem;
  top: 1.6rem;
  transform: rotate(-6deg);
  animation: ms-float-left 3.1s ease-in-out infinite;
}

.ms-cta__plane--right {
  right: 3.5rem;
  bottom: 1.65rem;
  transform: rotate(14deg);
  animation: ms-float-right 2.7s ease-in-out infinite;
}

.ms-footer {
  margin-top: 1.15rem;
  padding: 0.95rem 0 0;
  border-top: 1px solid #e3eaf8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 1.2rem;
}

.ms-footer__brand p,
.ms-footer__meta p {
  margin: 0.62rem 0 0;
  color: #67728f;
}

.ms-footer__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.ms-footer__cols h3 {
  margin: 0;
  font-size: 0.98rem;
}

.ms-footer__cols a {
  display: block;
  margin-top: 0.42rem;
  color: #67728f;
}

.ms-footer__meta {
  text-align: right;
  align-self: end;
}

.ms-footer__meta span {
  color: #58a4ea;
  font-size: 1.25rem;
}

@keyframes ms-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ms-float-left {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }

  50% {
    transform: translateY(-8px) rotate(-3deg);
  }
}

@keyframes ms-float-right {
  0%,
  100% {
    transform: translateY(0) rotate(14deg);
  }

  50% {
    transform: translateY(-8px) rotate(17deg);
  }
}

@keyframes ms-breathe {
  0%,
  100% {
    opacity: 0.85;
  }

  50% {
    opacity: 1;
  }
}

@keyframes ms-hero-drift-soft {
  0% {
    background-position: 46% 48%;
    transform: perspective(1200px) rotateX(14deg) rotateY(-9deg) rotateZ(-3deg) scale(1.22)
      translate3d(-1.2%, -0.9%, 0);
  }

  25% {
    background-position: 56% 42%;
    transform: perspective(1200px) rotateX(13deg) rotateY(-6deg) rotateZ(-1deg) scale(1.22)
      translate3d(1.4%, -1.6%, 0);
  }

  50% {
    background-position: 60% 56%;
    transform: perspective(1200px) rotateX(12deg) rotateY(-10deg) rotateZ(-4deg) scale(1.23)
      translate3d(1.7%, 1.2%, 0);
  }

  75% {
    background-position: 42% 60%;
    transform: perspective(1200px) rotateX(15deg) rotateY(-8deg) rotateZ(-2deg) scale(1.22)
      translate3d(-1.5%, 1.6%, 0);
  }

  100% {
    background-position: 46% 48%;
    transform: perspective(1200px) rotateX(14deg) rotateY(-9deg) rotateZ(-3deg) scale(1.22)
      translate3d(-1.2%, -0.9%, 0);
  }
}

@keyframes ms-hero-drift-sharp {
  0% {
    background-position: 52% 44%;
    transform: perspective(1200px) rotateX(11deg) rotateY(7deg) rotateZ(2deg) scale(1.16)
      translate3d(-0.8%, 0.6%, 0);
  }

  33% {
    background-position: 40% 50%;
    transform: perspective(1200px) rotateX(12deg) rotateY(9deg) rotateZ(3deg) scale(1.17)
      translate3d(1%, -0.8%, 0);
  }

  66% {
    background-position: 58% 58%;
    transform: perspective(1200px) rotateX(10deg) rotateY(6deg) rotateZ(1deg) scale(1.16)
      translate3d(0.7%, 1%, 0);
  }

  100% {
    background-position: 52% 44%;
    transform: perspective(1200px) rotateX(11deg) rotateY(7deg) rotateZ(2deg) scale(1.16)
      translate3d(-0.8%, 0.6%, 0);
  }
}

@media (max-width: 1100px) {
  .ms-nav {
    display: none;
  }

  .ms-header {
    grid-template-columns: auto 1fr;
  }

  .ms-header__actions {
    justify-content: flex-end;
  }

  .ms-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ms-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ms-workspace,
  .ms-integrations,
  .ms-footer {
    grid-template-columns: 1fr;
  }

  .ms-integrations ul {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .ms-landing__inner {
    padding: 1rem 0.85rem 1.6rem;
  }

  .ms-header__actions .ms-button--ghost {
    display: none;
  }

  .ms-hero h1 {
    font-size: clamp(1.9rem, 10.2vw, 2.8rem);
  }

  .ms-lead {
    font-size: 1rem;
  }

  .ms-actions {
    flex-direction: column;
  }

  .ms-highlights,
  .ms-feature-grid,
  .ms-chart__stats,
  .ms-workspace ul,
  .ms-footer__cols {
    grid-template-columns: 1fr;
  }

  .ms-chat-link {
    right: 0.85rem;
    bottom: 0.85rem;
    max-width: calc(100vw - 1.7rem);
    font-size: 0.9rem;
  }

  .ms-cta__plane {
    display: none;
  }
}

/* ── Path teaser ──────────────────────────────────────────────────────────── */
.ms-path-teaser {
  margin-top: 1rem;
  text-align: center;
  padding: 1.4rem 2rem;
  border: 1px solid #e2e9f8;
  border-radius: 0.9rem;
  background: var(--ms-surface);
}

.ms-path-teaser h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  letter-spacing: -0.01em;
}

.ms-path-teaser p {
  margin: 0.55rem 0 0;
  color: var(--ms-muted);
  font-size: 1.05rem;
}

.ms-path-flow {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.ms-path-flow__node {
  border: 1px solid #d6e4fb;
  border-radius: 0.72rem;
  background: #f6f9ff;
  color: #243c68;
  padding: 0.55rem 0.8rem;
  font-weight: 800;
}

.ms-path-flow__arrow {
  color: #2e73ea;
  font-weight: 900;
}

/* ── Chat mock ────────────────────────────────────────────────────────────── */
.ms-mock--chat {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ms-chat-bubble {
  max-width: 76%;
  padding: 0.38rem 0.6rem;
  border-radius: 0.65rem;
  font-size: 0.6rem;
  line-height: 1.4;
}

.ms-chat-bubble--in {
  background: #fff;
  border: 1px solid #dde6f8;
  color: #3a4d70;
  align-self: flex-start;
  border-bottom-left-radius: 0.15rem;
}

.ms-chat-bubble--out {
  background: #2e73ea;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 0.15rem;
}

/* ── Use cases ────────────────────────────────────────────────────────────── */
.ms-use-cases {
  margin-top: 2.4rem;
}

.ms-use-cases__intro {
  margin-bottom: 1rem;
}

.ms-use-cases__intro h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.25rem);
  letter-spacing: -0.02em;
}

.ms-use-cases__intro p {
  margin: 0.5rem 0 0;
  color: var(--ms-muted);
  max-width: 44rem;
  line-height: 1.5;
}

.ms-section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ms-accent);
  margin-bottom: 0.5rem;
}

.ms-use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.ms-use-case-card {
  border: 1px solid var(--ms-border);
  border-radius: 0.85rem;
  background: var(--ms-surface);
  padding: 1.1rem 1.2rem;
}

.ms-use-case-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.ms-use-case-card p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--ms-muted);
  line-height: 1.45;
}

/* ── How it works ─────────────────────────────────────────────────────────── */
.ms-how-it-works {
  margin-top: 2.4rem;
}

.ms-how-it-works h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 2.8vw, 2.25rem);
  letter-spacing: -0.02em;
  text-align: center;
}

.ms-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.ms-step {
  border: 1px solid var(--ms-border);
  border-radius: 0.85rem;
  background: var(--ms-surface);
  padding: 1.1rem 1.1rem 1.2rem;
}

.ms-step__num {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: #e8f0ff;
  color: var(--ms-accent);
  font-size: 0.85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 0.65rem;
}

.ms-step h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.ms-step p {
  margin: 0.4rem 0 0;
  font-size: 0.87rem;
  color: var(--ms-muted);
  line-height: 1.45;
}

/* ── Integration cards (override pill layout) ─────────────────────────────── */
.ms-integrations {
  display: block;
}

.ms-integrations__head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  letter-spacing: -0.01em;
}

.ms-integrations__head p {
  margin: 0.35rem 0 0;
  color: var(--ms-muted);
  max-width: 42rem;
}

.ms-integration-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.ms-integration-card {
  border: 1px solid #dce5f8;
  border-radius: 0.75rem;
  background: #f6f9ff;
  padding: 0.9rem 1rem;
}

.ms-integration-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ms-text);
}

.ms-integration-card p {
  margin: 0.35rem 0 0;
  font-size: 0.87rem;
  color: var(--ms-muted);
  line-height: 1.45;
}

/* ── Footer: 2-column nav ─────────────────────────────────────────────────── */
.ms-footer__cols {
  grid-template-columns: minmax(0, 1fr);
}

.ms-chat-link {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.42rem 1rem 0.42rem 0.42rem;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(30, 82, 160, 0.18);
  color: #1d3764;
  text-decoration: none;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.ms-chat-link__icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: #eaf2ff;
  display: grid;
  place-items: center;
}

.ms-chat-link__icon img {
  width: 1.1rem;
  height: 1.1rem;
  filter: invert(37%) sepia(88%) saturate(1694%) hue-rotate(203deg) brightness(96%) contrast(91%);
}

/* ── Responsive additions ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ms-steps,
  .ms-integration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ms-use-case-grid,
  .ms-integration-grid,
  .ms-steps {
    grid-template-columns: 1fr;
  }

  .ms-path-teaser {
    padding: 1rem;
  }

  .ms-path-teaser p {
    font-size: 0.95rem;
  }

  .ms-chat-link {
    right: 0.85rem;
    bottom: 0.85rem;
    max-width: calc(100vw - 1.7rem);
    font-size: 0.9rem;
  }
}
