:root {
  --vp-c-brand-1: #2f64bd;
  --vp-c-brand-2: #3f78d4;
  --vp-c-brand-3: #6aa0f0;
  --mh-ink: #10203f;
  --mh-muted: #64718a;
  --mh-line: #dbe5f4;
  --mh-blue: #2f64bd;
  --mh-blue-dark: #173f86;
  --mh-blue-soft: #eef5ff;
  --mh-steel: #f6f8fb;
  --mh-panel: #ffffff;
}

.VPDoc {
  padding: 0 !important;
}

.VPDoc .container {
  max-width: none !important;
}

.VPDoc .content {
  max-width: none !important;
}

.VPDoc .content-container {
  max-width: none !important;
}

.VPDocFooter {
  display: none;
}

.vp-doc {
  color: var(--mh-ink);
}

.vp-doc h1,
.vp-doc h2,
.vp-doc h3,
.vp-doc p {
  margin: 0;
}

.vp-doc a {
  text-decoration: none;
}

.VPNavBarTitle .logo {
  width: 120px;
  height: auto;
}

.site-shell {
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 34%, #f7f9fc 100%);
  overflow: hidden;
}

.hero-section,
.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-section {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 54px;
  align-items: center;
  padding: 78px 0 54px;
}

.brand-logo {
  width: 250px;
  max-width: 72vw;
  margin-bottom: 28px;
}

.eyebrow {
  color: var(--mh-blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin-top: 14px;
  color: var(--mh-ink);
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin-top: 24px;
  color: var(--mh-muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.button.primary {
  color: #fff;
  background: var(--mh-blue);
  box-shadow: 0 16px 34px rgba(47, 100, 189, 0.26);
}

.button.ghost {
  color: var(--mh-blue-dark);
  border: 1px solid #b8cbed;
  background: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin-top: 42px;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid var(--mh-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.hero-metrics strong {
  display: block;
  color: var(--mh-blue-dark);
  font-size: 23px;
  line-height: 1.1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--mh-muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 24px 0 74px 54px;
  border: 1px solid #c9d8ef;
  background:
    linear-gradient(135deg, rgba(47, 100, 189, 0.14), rgba(255, 255, 255, 0.62)),
    repeating-linear-gradient(90deg, rgba(47, 100, 189, 0.06) 0, rgba(47, 100, 189, 0.06) 1px, transparent 1px, transparent 22px);
  border-radius: 8px;
  transform: skewX(-6deg);
}

.hero-banner {
  min-height: auto;
  isolation: isolate;
}

.hero-banner::before {
  display: block;
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  background: rgba(76, 138, 225, 0.12);
  filter: blur(28px);
  transform: none;
  z-index: 0;
}

.hero-banner img {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(198, 216, 241, 0.72);
  box-shadow:
    0 26px 64px rgba(18, 42, 83, 0.13),
    0 0 0 10px rgba(255, 255, 255, 0.62);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-composite: intersect;
}

.connection-visual {
  gap: 28px;
  padding: 32px;
}

.diagram-phone,
.diagram-charger,
.diagram-link {
  position: relative;
  z-index: 1;
}

.diagram-phone {
  width: 190px;
  height: 382px;
  padding: 14px;
  border: 9px solid #17233c;
  border-radius: 34px;
  background: #17233c;
  box-shadow: 0 28px 62px rgba(18, 42, 83, 0.2);
}

.phone-speaker {
  width: 58px;
  height: 5px;
  margin: 0 auto 13px;
  border-radius: 999px;
  background: #3f4d68;
}

.phone-screen {
  height: 326px;
  padding: 24px 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, #ffffff 0%, #edf5ff 100%);
  border: 1px solid #d9e7fb;
}

.screen-label {
  display: inline-flex;
  color: var(--mh-blue);
  font-size: 13px;
  font-weight: 800;
}

.phone-screen strong {
  display: block;
  margin-top: 38px;
  color: var(--mh-ink);
  font-size: 34px;
  line-height: 1;
}

.phone-screen p {
  margin-top: 12px;
  color: var(--mh-muted);
  font-size: 14px;
}

.charge-bar {
  height: 12px;
  margin-top: 46px;
  overflow: hidden;
  border-radius: 999px;
  background: #d7e5f7;
}

.charge-bar span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f64bd, #2ab3a6);
}

.diagram-link {
  width: 154px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diagram-link span {
  position: absolute;
  border: 2px solid rgba(47, 100, 189, 0.36);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(45deg);
}

.diagram-link span:nth-child(1) {
  width: 58px;
  height: 58px;
}

.diagram-link span:nth-child(2) {
  width: 96px;
  height: 96px;
}

.diagram-link span:nth-child(3) {
  width: 136px;
  height: 136px;
}

.diagram-link strong {
  position: absolute;
  bottom: 18px;
  color: var(--mh-blue-dark);
  font-size: 13px;
  letter-spacing: 0;
}

.diagram-charger {
  width: 238px;
}

.charger-head {
  width: 86px;
  height: 34px;
  margin-left: 38px;
  border-radius: 7px 7px 0 0;
  background: #17233c;
}

.charger-body {
  min-height: 150px;
  padding: 28px 26px;
  border: 1px solid #c7d7ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 62px rgba(18, 42, 83, 0.16);
}

.charger-body span {
  display: block;
  color: var(--mh-muted);
  font-size: 14px;
}

.charger-body strong {
  display: block;
  margin-top: 10px;
  color: var(--mh-ink);
  font-size: 22px;
  line-height: 1.22;
}

.charger-body i {
  display: block;
  width: 54px;
  height: 10px;
  margin-top: 28px;
  border-radius: 999px;
  background: #2ab3a6;
  box-shadow: 74px 0 0 #d7e5f7, 112px 0 0 #d7e5f7;
}

.charger-cable {
  width: 126px;
  height: 50px;
  margin-left: 58px;
  border-right: 8px solid #17233c;
  border-bottom: 8px solid #17233c;
  border-radius: 0 0 26px 0;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-top: 10px;
  color: var(--mh-ink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--mh-muted);
  font-size: 17px;
  line-height: 1.8;
}

.intro-grid,
.solution-grid {
  display: grid;
  gap: 18px;
}

.intro-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intro-grid article,
.solution-card,
.platform-copy article {
  border: 1px solid var(--mh-line);
  border-radius: 8px;
  background: var(--mh-panel);
  box-shadow: 0 12px 34px rgba(16, 32, 63, 0.06);
}

.intro-grid article {
  padding: 28px;
}

.intro-grid h3,
.solution-card h3,
.platform-copy h3 {
  color: var(--mh-ink);
  font-size: 21px;
  letter-spacing: 0;
}

.intro-grid p,
.solution-card p,
.platform-copy p {
  margin-top: 12px;
  color: var(--mh-muted);
  line-height: 1.75;
}

.solutions-section {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: var(--mh-steel);
}

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

.solution-card {
  min-height: 260px;
  padding: 26px;
}

.solution-card a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--mh-blue);
  font-weight: 700;
}

.featured-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(210px, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: center;
}

.featured-card img,
.image-card img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  background: #eef2f6;
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--mh-blue);
  font-size: 13px;
  font-weight: 800;
}

.image-card {
  padding: 0;
  overflow: hidden;
}

.image-card div {
  padding: 22px;
}

.image-card img {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.platform-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 38px;
  align-items: center;
}

.platform-copy {
  display: grid;
  gap: 16px;
}

.platform-copy article {
  padding: 24px;
}

.miniapp-showcase {
  display: block;
}

.miniapp-overview-card {
  margin: 0;
  border: 1px solid var(--mh-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(16, 32, 63, 0.1);
}

.miniapp-overview-card {
  overflow: hidden;
}

.miniapp-overview-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

.phone-shot {
  position: relative;
  margin: 0;
  padding: 12px 10px 10px;
  border-radius: 34px;
  background:
    linear-gradient(145deg, #1b2947 0%, #101a30 58%, #0b1324 100%);
  box-shadow:
    0 24px 48px rgba(16, 32, 63, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-shot::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 29px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.phone-shot::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 14px;
  width: 78px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: #101a30;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
  z-index: 2;
}

.phone-island {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 50%;
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transform: translateX(-50%);
}

.phone-screen-crop {
  width: 100%;
  aspect-ratio: 9 / 17.55;
  overflow: hidden;
  border-radius: 26px;
  background: #eef3fb;
}

.phone-screen-crop img {
  display: block;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: top center;
}

.phone-shot:nth-child(2),
.phone-shot:nth-child(4) {
  transform: translateY(28px);
}

.site-footer {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 28px 20px 30px;
  color: #9da9bd;
  background: #10203f;
  font-size: 12px;
  line-height: 1.8;
}

.footer-main,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}

.site-footer p,
.footer-contact span {
  margin: 0;
}

.site-footer a {
  color: #c9d6eb;
  font-weight: 600;
}

@media (max-width: 980px) {
  .hero-section,
  .platform-layout {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

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

  .featured-card {
    grid-column: span 2;
  }

  .phone-gallery {
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .VPNavBarTitle .title span {
    display: none;
  }

  .VPNavBarTitle .logo {
    width: 112px;
  }

  .VPNavBarSearch {
    display: none;
  }

  .hero-section,
  .section {
    width: min(100% - 28px, 1180px);
  }

  .hero-copy h1 {
    font-size: 34px;
    line-height: 1.16;
  }

  .hero-lede,
  .section-heading p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-metrics,
  .solution-grid,
  .featured-card,
  .phone-gallery {
    grid-template-columns: 1fr;
  }

  .hero-metrics div,
  .intro-grid article,
  .solution-card,
  .platform-copy article {
    padding: 20px;
  }

  .hero-visual {
    min-height: 360px;
    padding: 18px 0 52px;
    gap: 8px;
  }

  .hero-visual::before {
    inset: 18px 0 60px 20px;
  }

  .diagram-phone {
    width: 124px;
    height: 250px;
    padding: 9px;
    border-width: 7px;
    border-radius: 24px;
  }

  .phone-speaker {
    width: 38px;
    margin-bottom: 8px;
  }

  .phone-screen {
    height: 207px;
    padding: 16px 12px;
    border-radius: 15px;
  }

  .phone-screen strong {
    margin-top: 24px;
    font-size: 24px;
  }

  .phone-screen p {
    font-size: 12px;
  }

  .charge-bar {
    margin-top: 28px;
  }

  .diagram-link {
    width: 62px;
    height: 112px;
  }

  .diagram-link span:nth-child(1) {
    width: 32px;
    height: 32px;
  }

  .diagram-link span:nth-child(2) {
    width: 52px;
    height: 52px;
  }

  .diagram-link span:nth-child(3) {
    width: 72px;
    height: 72px;
  }

  .diagram-link strong {
    bottom: 6px;
    font-size: 11px;
  }

  .diagram-charger {
    width: 136px;
  }

  .charger-head {
    width: 58px;
    height: 24px;
    margin-left: 22px;
  }

  .charger-body {
    min-height: 116px;
    padding: 18px 14px;
  }

  .charger-body span {
    font-size: 12px;
  }

  .charger-body strong {
    font-size: 16px;
  }

  .charger-body i {
    width: 32px;
    height: 8px;
    margin-top: 20px;
    box-shadow: 44px 0 0 #d7e5f7, 70px 0 0 #d7e5f7;
  }

  .charger-cable {
    width: 72px;
    height: 36px;
    margin-left: 34px;
    border-right-width: 6px;
    border-bottom-width: 6px;
  }

  .featured-card {
    grid-column: auto;
  }

  .phone-shot:nth-child(2),
  .phone-shot:nth-child(4) {
    transform: none;
  }

  .phone-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .phone-shot {
    padding: 9px 8px 8px;
    border-radius: 28px;
  }

  .phone-shot::before {
    inset: 6px;
    border-radius: 23px;
  }

  .phone-shot::after {
    top: 11px;
    width: 58px;
    height: 17px;
    border-radius: 0 0 13px 13px;
  }

  .phone-screen-crop {
    border-radius: 22px;
  }

  .phone-island {
    top: 16px;
    width: 26px;
    height: 4px;
  }

  .site-footer {
    justify-items: start;
    text-align: left;
  }

  .footer-main,
  .footer-contact {
    justify-content: flex-start;
  }
}
