body.mssp-home-page {
  margin: 0;
  background: #f4f7f8;
  color: #182432;
}

body.mssp-home-page .page-header,
body.mssp-home-page .entry-title,
body.mssp-home-page h1.entry-title {
  display: none;
}

body.mssp-home-page #content,
body.mssp-home-page .site-main,
body.mssp-home-page .page-content,
body.mssp-home-page .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.mssp-home,
.mssp-home * {
  box-sizing: border-box;
}

.mssp-home {
  --home-ink: #182432;
  --home-text: #536273;
  --home-muted: #536578;
  --home-blue: #176897;
  --home-blue-dark: #0c4569;
  --home-blue-soft: #eaf5fa;
  --home-line: #dce5e9;
  --home-paper: #ffffff;
  --home-canvas: #f4f7f8;
  width: 100%;
  background: var(--home-canvas);
  color: var(--home-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.mssp-home a {
  color: inherit;
  text-decoration: none;
}

.mssp-home-wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.mssp-home-hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0 42px;
  border-bottom: 1px solid var(--home-line);
  background:
    radial-gradient(circle at 92% 20%, rgba(30, 129, 176, 0.13), transparent 34%),
    #ffffff;
}

.mssp-home-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(23, 104, 151, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.mssp-home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(34px, 6vw, 68px);
  align-items: center;
}

.mssp-home-eyebrow,
.mssp-home-kicker,
.mssp-home-planner__kicker {
  margin: 0 0 9px;
  color: var(--home-blue);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mssp-home-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(38px, 4.7vw, 54px);
  line-height: 1.08;
  font-weight: 780;
  letter-spacing: -0.04em;
}

.mssp-home-lead {
  max-width: 710px;
  margin: 18px 0 0;
  color: var(--home-text);
  font-size: 17px;
  line-height: 1.68;
}

.mssp-home-search {
  max-width: 700px;
  margin: 26px 0 0;
}

.mssp-home-search > label {
  display: block;
  margin: 0 0 8px;
  color: var(--home-ink);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 720;
}

.mssp-home-search__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.mssp-home-search input {
  width: 100%;
  min-width: 0;
  height: 54px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #c7d4da;
  border-radius: 10px;
  outline: 0;
  background: #ffffff;
  color: var(--home-ink);
  font: inherit;
  font-size: 15px;
  line-height: 54px;
  appearance: none;
}

.mssp-home-search input:focus {
  border-color: var(--home-blue);
  box-shadow: 0 0 0 3px rgba(23, 104, 151, 0.13);
}

.mssp-home-search button {
  min-width: 108px;
  height: 54px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid var(--home-blue);
  border-radius: 10px;
  background: var(--home-blue);
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.mssp-home-search button:hover,
.mssp-home-search button:focus-visible {
  border-color: var(--home-blue-dark);
  background: var(--home-blue-dark);
}

.mssp-home-quick-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 14px;
}

.mssp-home-quick-cities > span {
  color: var(--home-muted);
  font-size: 12px;
  font-weight: 650;
}

.mssp-home-quick-cities a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #365266;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 680;
}

.mssp-home-quick-cities a:hover,
.mssp-home-quick-cities a:focus-visible {
  border-color: #9ebbc9;
  color: var(--home-blue-dark);
}

.mssp-home-planner {
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(145deg, #123f5b, #0c547b);
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(13, 62, 89, 0.14);
}

.mssp-home-planner__kicker {
  color: #a7d9ef;
}

.mssp-home-planner h2 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.28;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.mssp-home-planner ol {
  display: grid;
  gap: 15px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.mssp-home-planner li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.mssp-home-planner li > span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.mssp-home-planner strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
}

.mssp-home-planner li p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.5;
}

.mssp-home-planner__link {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 21px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 13px;
  font-weight: 720;
}

.mssp-home-content {
  display: grid;
  gap: 42px;
  padding-block: 42px 58px;
}

.mssp-home-section {
  min-width: 0;
}

.mssp-home-section__head {
  max-width: 730px;
  margin-bottom: 21px;
}

.mssp-home-section__head h2,
.mssp-home-guidance h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.mssp-home-section__head > p:last-child,
.mssp-home-guidance article > p {
  margin: 10px 0 0;
  color: var(--home-text);
  font-size: 15px;
  line-height: 1.7;
}

.mssp-home-cities,
.mssp-home-recent {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: var(--home-paper);
}

.mssp-home-city-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.mssp-home-city-grid a {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid #e0e8eb;
  border-radius: 8px;
  background: #f8fafb;
  color: #29485d;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 680;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.mssp-home-city-grid a > span:last-child {
  color: #7292a4;
  font-size: 15px;
}

.mssp-home-city-grid a:hover,
.mssp-home-city-grid a:focus-visible {
  border-color: #a9c5d2;
  background: var(--home-blue-soft);
  color: var(--home-blue-dark);
}

.mssp-home-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.mssp-home-route-card {
  display: flex;
  min-width: 0;
  min-height: 148px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--home-line);
  border-radius: 13px;
  background: #ffffff;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.mssp-home-route-card > span {
  color: var(--home-blue);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mssp-home-route-card strong {
  margin-top: 10px;
  color: var(--home-ink);
  font-size: 17px;
  line-height: 1.38;
  font-weight: 730;
}

.mssp-home-route-card small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 17px;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 650;
}

.mssp-home-route-card:hover,
.mssp-home-route-card:focus-visible {
  transform: translateY(-2px);
  border-color: #a8c4d2;
  box-shadow: 0 12px 26px rgba(21, 72, 101, 0.08);
}

.mssp-home-recent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 16px;
}

.mssp-home-recent-grid a {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--home-line);
}

.mssp-home-recent-grid a > span:first-child {
  color: var(--home-blue);
  font-size: 11px;
  font-weight: 760;
}

.mssp-home-recent-grid strong {
  min-width: 0;
  color: var(--home-ink);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 670;
}

.mssp-home-recent-grid a > span:last-child {
  color: #7694a4;
  font-size: 16px;
}

.mssp-home-recent-grid a:hover strong,
.mssp-home-recent-grid a:focus-visible strong {
  color: var(--home-blue);
}

.mssp-home-guidance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mssp-home-guidance article {
  min-width: 0;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--home-line);
  border-radius: 17px;
  background: #ffffff;
}

.mssp-home-guidance ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.mssp-home-guidance li {
  position: relative;
  padding-left: 23px;
  color: var(--home-text);
  font-size: 14px;
  line-height: 1.55;
}

.mssp-home-guidance li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-blue);
}

.mssp-home-guidance .mssp-home-source-note {
  border-color: #cfe3eb;
  background: var(--home-blue-soft);
}

.mssp-home-source-note a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 17px;
  color: var(--home-blue-dark);
  font-size: 13px;
  font-weight: 740;
}

.mssp-home-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.mssp-home-faq details {
  min-width: 0;
  border: 1px solid var(--home-line);
  border-radius: 11px;
  background: #ffffff;
}

.mssp-home-faq summary {
  position: relative;
  min-height: 52px;
  padding: 15px 42px 15px 16px;
  color: var(--home-ink);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.mssp-home-faq summary::-webkit-details-marker {
  display: none;
}

.mssp-home-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  border-radius: 50%;
  background: var(--home-blue-soft);
  color: var(--home-blue);
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.mssp-home-faq details[open] summary::after {
  content: "−";
}

.mssp-home-faq details p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--home-text);
  font-size: 13px;
  line-height: 1.65;
}

.mssp-home-feedback {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px 26px;
  border-radius: 15px;
  background: #163f59;
  color: #ffffff;
}

.mssp-home-feedback strong {
  display: block;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.4;
}

.mssp-home-feedback p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.mssp-home-feedback a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 720;
}

.mssp-home-feedback a:hover,
.mssp-home-feedback a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 980px) {
  .mssp-home-hero__grid {
    grid-template-columns: 1fr;
  }

  .mssp-home-planner {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
    gap: 20px 28px;
    align-items: start;
  }

  .mssp-home-planner ol {
    grid-row: span 2;
    margin-top: 0;
  }

  .mssp-home-planner__link {
    margin-top: 0;
  }

  .mssp-home-city-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .mssp-home-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mssp-home-recent-grid,
  .mssp-home-guidance,
  .mssp-home-faq-grid {
    grid-template-columns: 1fr;
  }

  .mssp-home-planner {
    display: block;
  }

  .mssp-home-planner ol {
    margin-top: 20px;
  }

  .mssp-home-planner__link {
    margin-top: 20px;
  }

  .mssp-home-feedback {
    grid-template-columns: 1fr;
  }

  .mssp-home-feedback a {
    width: max-content;
  }
}

@media (max-width: 560px) {
  .mssp-home-wrap {
    width: calc(100% - 28px);
  }

  .mssp-home-hero {
    padding: 30px 0 26px;
  }

  .mssp-home-hero h1 {
    font-size: clamp(31px, 9.5vw, 39px);
    line-height: 1.1;
  }

  .mssp-home-lead {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.6;
  }

  .mssp-home-search {
    margin-top: 21px;
  }

  .mssp-home-search__row {
    grid-template-columns: 1fr;
  }

  .mssp-home-search input,
  .mssp-home-search button {
    height: 50px;
  }

  .mssp-home-search input {
    line-height: 50px;
  }

  .mssp-home-search button {
    width: 100%;
  }

  .mssp-home-quick-cities {
    gap: 6px;
  }

  .mssp-home-planner {
    padding: 21px;
    border-radius: 14px;
    box-shadow: none;
  }

  .mssp-home-content {
    gap: 32px;
    padding-block: 30px 42px;
  }

  .mssp-home-section__head {
    margin-bottom: 17px;
  }

  .mssp-home-section__head h2,
  .mssp-home-guidance h2 {
    font-size: 25px;
  }

  .mssp-home-cities,
  .mssp-home-recent,
  .mssp-home-guidance article {
    padding: 20px 17px;
    border-radius: 13px;
  }

  .mssp-home-city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .mssp-home-city-grid a {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .mssp-home-route-grid {
    grid-template-columns: 1fr;
  }

  .mssp-home-route-card {
    min-height: 126px;
    padding: 18px;
  }

  .mssp-home-recent-grid a {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .mssp-home-feedback {
    padding: 21px 18px;
    border-radius: 13px;
  }

  .mssp-home-feedback a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mssp-home-route-card,
  .mssp-home-city-grid a {
    transition: none;
  }
}
