:root {
  --teal: #149a80;
  --teal-deep: #0c6e5c;
  --teal-ink: #04221c;
  --mist: #e7f5f1;
  --ink: #1c2422;
  --soft: #3f534d;
  --faint: #5d716b;
  --paper: #f6f3ec;
  --card: #fffcf8;
  --sand: #e6dfd2;
  --line: rgba(28, 36, 34, 0.12);
  --shadow: 0 28px 60px -40px rgba(18, 64, 52, 0.55);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Myanmar Text", "Myanmar Sangam MN", "Pyidaungsu", "Padauk", "Noto Sans Myanmar UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --display: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Myanmar Text", "Myanmar Sangam MN", "Pyidaungsu", "Padauk", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #f3f7f4;
  isolation: isolate;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

html[lang="my"] body { line-height: 1.85; }
html[lang="zh"] body { line-height: 1.75; }

img { max-width: 100%; display: block; }
a { color: var(--teal-deep); text-underline-offset: 0.18em; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(20, 154, 128, 0.22); }

:focus-visible {
  outline: 2px solid var(--teal-deep);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--card);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 243, 236, 0.9);
  backdrop-filter: blur(16px);
  border-top: 4px solid var(--teal);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 14px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 750;
  letter-spacing: 0.01em;
  margin-right: auto;
}
.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.7);
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--soft);
  font: 600 0.86rem/1 var(--sans);
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.lang button[aria-pressed="true"] {
  background: var(--mist);
  color: var(--teal-ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}
.btn-solid {
  background: var(--teal);
  color: var(--teal-ink);
  box-shadow: 0 10px 24px -16px rgba(12, 110, 92, 0.9);
}
.btn-solid:hover { background: #18aa8c; }
.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: rgba(28, 36, 34, 0.2);
}
.btn-line:hover { border-color: var(--teal); color: var(--teal-deep); }

.menu-btn {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 12px;
  min-height: 42px;
  padding: 0 12px;
  font: 700 0.92rem/1 var(--sans);
  cursor: pointer;
}

.bar-nav {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  padding: 2px 0 8px;
}
.bar-nav a {
  color: var(--soft);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 650;
  padding: 6px 10px;
  border-radius: 999px;
}
.bar-nav a:hover { color: var(--ink); background: rgba(255, 252, 248, 0.7); }
.bar-nav a[aria-current="page"] {
  color: var(--teal-ink);
  background: var(--mist);
}

.hero { padding: 22px 0 8px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.72fr);
  gap: 32px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero-grid > div { container-type: inline-size; }
.kicker {
  margin: 0 0 12px;
  color: var(--teal-deep);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
html[lang="my"] .kicker,
html[lang="zh"] .kicker {
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.95rem;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: normal; line-height: 1.05; margin: 0; }
.hero h1 {
  font-size: clamp(3.2rem, 4.6vw, 4rem);
  line-height: 1.2;
  max-width: none;
}
html[lang="my"] .hero h1,
html[lang="zh"] .hero h1 {
  font-size: clamp(3.2rem, 4.6vw, 4rem);
  line-height: 1.8;
  letter-spacing: 0;
  max-width: none;
  word-break: keep-all;
}
html[lang="zh"] .hero h1 { line-height: 1.35; max-width: none; }
.lede {
  margin: 18px 0 0;
  max-width: 38ch;
  color: var(--soft);
  font-size: 1.18rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fine { margin: 14px 0 0; max-width: 46ch; color: var(--faint); font-size: 0.92rem; }

.hero-phone {
  justify-self: end;
  align-self: center;
  width: min(100%, 318px);
  max-width: 100%;
  margin-top: 0;
}
.phone {
  width: 100%;
  padding: 11px;
  border-radius: 42px;
  background: linear-gradient(165deg, #2a3532, #141c1a 46%, #1c2422);
  box-shadow:
    inset 0 0 0 1px rgba(255, 252, 248, 0.16),
    0 28px 60px -36px rgba(18, 64, 52, 0.72);
}
.phone img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 485 / 1024;
  object-fit: contain;
  object-position: center;
  border-radius: 31px;
  background: #f8f7fd;
}

.section { padding: 64px 0; }
.section-head { max-width: 40rem; margin-bottom: 26px; }
.section-head h2,
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.5rem); }
html[lang="my"] .section-head h2,
html[lang="zh"] .section-head h2,
html[lang="my"] .page-hero h1,
html[lang="zh"] .page-hero h1 {
  line-height: 1.3;
  letter-spacing: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}
.section-head p { margin: 12px 0 0; color: var(--soft); }

.g-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.g-card {
  background: var(--card);
  border: 1px solid rgba(20, 154, 128, 0.2);
  border-radius: 28px 28px 28px 6px;
  padding: 26px 26px 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  min-height: 210px;
}
.g-card:nth-child(even) { border-radius: 6px 28px 28px 28px; }
.g-card::after {
  content: "";
  position: absolute;
  width: 84px;
  height: 110px;
  right: -24px;
  top: -28px;
  background: linear-gradient(165deg, rgba(20, 154, 128, 0.16), transparent 70%);
  transform: skewX(-16deg);
  border-radius: 16px;
}
.g-card.is-lead {
  background:
    linear-gradient(180deg, rgba(20, 154, 128, 0.12), rgba(255, 252, 248, 0) 42%),
    var(--card);
}
.g-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--teal);
  letter-spacing: normal;
  line-height: 1;
}
.g-card h3 { margin-top: 18px; font-size: 1.45rem; line-height: 1.25; max-width: 18ch; }
html[lang="my"] .g-card h3,
html[lang="zh"] .g-card h3 { letter-spacing: 0; line-height: 1.45; max-width: 22ch; }
.g-card p { margin: 12px 0 0; color: var(--soft); position: relative; }

.band {
  background: rgba(255, 252, 248, 0.55);
  border-block: 1px solid var(--line);
}

.steps, .dl-grid, .store-row, .split, .link-grid, .qa-list { position: relative; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  padding: 22px 20px 20px;
  background: var(--card);
  border-radius: 24px;
  border: 1px solid var(--line);
  min-height: 220px;
}
.step b {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  color: rgba(20, 154, 128, 0.45);
  letter-spacing: normal;
}
.step h3 { margin-top: 10px; font-size: 1.28rem; line-height: 1.3; }
html[lang="my"] .step h3, html[lang="zh"] .step h3 { letter-spacing: 0; }
.step p { margin: 10px 0 0; color: var(--soft); }

.dl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 38px 18px 26px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  border-radius: 22px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.dl-card::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0.28);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.dl-card:hover { border-color: rgba(20, 154, 128, 0.55); transform: translateY(-3px); }
.dl-card:hover::before { transform: scaleX(1); }
.dl-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(20, 154, 128, 0.28);
}
.dl-card h3 { margin-top: 18px; font-size: 1.35rem; }
.dl-card p {
  margin: 8px 0 0;
  width: 100%;
  color: var(--soft);
  font-size: 0.95rem;
  text-align: center;
}
.file {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--faint);
}
.match {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 1;
  line-height: 1.15;
  white-space: nowrap;
  background: var(--mist);
  color: var(--teal-ink);
  font-size: 0.75rem;
  font-weight: 750;
  padding: 4px 8px;
  border-radius: 999px;
}

.store-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.store-btn {
  appearance: none;
  text-align: left;
  cursor: default;
  background: transparent;
  border: 1px dashed rgba(28, 36, 34, 0.28);
  border-radius: 20px;
  padding: 16px 18px;
  color: var(--ink);
}
.store-k { display: block; font-family: var(--display); font-weight: 750; font-size: 1.15rem; }
.store-soon {
  display: block;
  margin-top: 6px;
  color: var(--teal-deep);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}
.panel {
  background: var(--card);
  border-radius: 28px;
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
}
.panel h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
html[lang="my"] .panel h2, html[lang="zh"] .panel h2 { letter-spacing: 0; line-height: 1.35; }
.panel p { color: var(--soft); }
.panel .btn { margin-top: 8px; }

.page-hero { padding: 48px 0 8px; }
.page-hero .lede { margin-top: 14px; }
.stack { display: grid; gap: 16px; max-width: 74ch; }
.stack p { margin: 0; color: var(--soft); }
.stack h2 { font-size: 1.55rem; margin-top: 8px; }
html[lang="my"] .stack h2, html[lang="zh"] .stack h2 { letter-spacing: 0; line-height: 1.4; }

.qa { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: 8px 12px; }
.qa .idx {
  font-family: var(--display);
  font-weight: 800;
  color: var(--teal);
  font-size: 1.3rem;
}
.qa h2 { font-size: 1.35rem; line-height: 1.35; }
html[lang="my"] .qa h2, html[lang="zh"] .qa h2 { letter-spacing: 0; }
.qa p { grid-column: 2; margin: 0; color: var(--soft); }

.link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plain-card {
  display: block;
  padding: 22px;
  background: var(--card);
  border-radius: 24px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.plain-card strong { display: block; font-family: var(--display); font-size: 1.4rem; margin-bottom: 8px; }
.plain-card span { color: var(--teal-deep); overflow-wrap: anywhere; }

.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
}
.foot {
  display: grid;
  gap: 10px;
}
.foot p { margin: 0; color: var(--faint); }
.foot-links { display: grid; gap: 6px; }
.foot-links a { overflow-wrap: anywhere; }

@media (max-width: 980px) {
  .hero-grid, .g-grid, .steps, .dl-grid, .split, .link-grid, .store-row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
  .menu-btn { display: inline-flex; order: 2; }
  .brand { order: 1; }
  .bar > .btn-solid { order: 3; flex: 1 1 100%; }
  .lang { order: 4; }
  .bar-nav { order: 5; display: none; padding-bottom: 12px; }
  .site-header.is-open .bar-nav { display: flex; flex-direction: column; align-items: flex-start; }
  .hero { padding: 16px 0 4px; }
  .hero-grid, .g-grid, .dl-grid, .split, .link-grid, .store-row, .qa { grid-template-columns: 1fr; }
  .hero-grid { gap: 18px; }
  .hero-phone {
    justify-self: center;
    width: min(100%, 280px);
    margin-top: 0;
  }
  .qa p { grid-column: 1; }
  .section { padding: 46px 0; }
  .dl-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dl-card, .dl-card::before { transition: none; }
  .dl-card:hover { transform: none; }
}

/* mk-rise-entrance: 18px lift, 550ms, ease-out, no bounce. */
@keyframes mk-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mk-rise {
  opacity: 0;
  transform: translateY(18px);
}

.mk-rise.mk-rise-play {
  animation-name: mk-rise;
  animation-duration: 550ms;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
  animation-iteration-count: 1;
}

@media (prefers-reduced-motion: reduce) {
  .mk-rise,
  .mk-rise.mk-rise-play {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* dl-app-logos */
.dl-intro {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 28px;
  text-align: center;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  line-height: 1.5;
}
.dl-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.3;
  text-align: center;
}
.dl-card h3.dl-title {
  margin-top: 0;
  font-size: 1.22rem;
  line-height: 1.3;
}
.dl-logo {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}
html[lang="my"] .dl-title,
html[lang="zh"] .dl-title {
  letter-spacing: 0;
  line-height: 1.35;
}
/* /dl-app-logos */

/* mk-soft-drift: slow blurred teal, mint, and blue spots behind every page. */
html {
  background: #f3f7f4;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(64px);
}

body::before {
  width: min(780px, 74vw);
  height: min(780px, 74vw);
  left: -8vw;
  top: -6vh;
  background: radial-gradient(circle at 42% 40%, rgba(20, 154, 128, 0.30) 0%, rgba(20, 154, 128, 0.11) 46%, transparent 72%);
  animation-name: mk-drift-a;
  animation-duration: 18s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

body::after {
  width: min(900px, 82vw);
  height: min(900px, 82vw);
  right: -12vw;
  bottom: -8vh;
  background:
    radial-gradient(circle at 68% 36%, rgba(176, 228, 210, 0.72) 0%, rgba(176, 228, 210, 0.18) 48%, transparent 72%),
    radial-gradient(circle at 26% 70%, rgba(112, 170, 208, 0.32) 0%, rgba(112, 170, 208, 0.09) 50%, transparent 74%);
  animation-name: mk-drift-b;
  animation-duration: 24s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes mk-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(8vw, 7vh, 0) scale(1.07); }
}

@keyframes mk-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-7vw, -9vh, 0) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}

/* mk-card-lift: raise every card 8px on hover. 220ms ease-out, no bounce. */
.g-card,
.step,
.dl-card,
.plain-card,
.panel {
  transition: transform 220ms ease-out, box-shadow 220ms ease-out;
}

.g-card:hover,
.step:hover,
.dl-card:hover,
.plain-card:hover,
.panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 58px -32px rgba(18, 64, 52, 0.62);
}

a.g-card,
a.step,
a.dl-card,
a.plain-card,
a.panel {
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .g-card,
  .step,
  .dl-card,
  .plain-card,
  .panel {
    transition: none;
  }

  .g-card:hover,
  .step:hover,
  .dl-card:hover,
  .plain-card:hover,
  .panel:hover {
    transform: none;
  }
}

/* mk-store-lift: Coming Soon store controls rise 8px on hover, same as the cards. */
.store-btn {
  transition: transform 220ms ease-out, box-shadow 220ms ease-out;
}
.store-btn:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 58px -32px rgba(18, 64, 52, 0.62);
}
@media (prefers-reduced-motion: reduce) {
  .store-btn {
    transition: none;
  }
  .store-btn:hover {
    transform: none;
  }
}

/* mk-guarantees-head: centered card around the advantages heading. */
#guarantees .section-head {
  width: max-content;
  max-width: min(40rem, 100%);
  margin: 0 auto 26px;
  align-self: center;
  padding: 20px 28px;
  text-align: center;
  background: var(--card);
  border: 1px solid rgba(20, 154, 128, 0.2);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition: transform 220ms ease-out, box-shadow 220ms ease-out;
}
#guarantees .section-head h2 {
  text-align: center;
}
#guarantees .section-head:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 58px -32px rgba(18, 64, 52, 0.62);
}
@media (max-width: 760px) {
  #guarantees .section-head {
    padding: 18px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #guarantees .section-head {
    transition: none;
  }
  #guarantees .section-head:hover {
    transform: none;
  }
}

/* mk-center-copy: center page titles, prose, lists, the header nav, and the footer.
   Clears a clipped title: no negative offset, overflow visible, line box tall enough
   for Myanmar and Chinese headings. */
.bar-nav {
  justify-content: center;
}

.page-hero {
  padding: 64px 0 16px;
  overflow: visible;
}

.page-hero .wrap,
.stack,
.section .wrap:has(> .qa) {
  width: min(44rem, calc(100% - 48px));
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  overflow: visible;
}

.page-hero .kicker,
.page-hero .lede,
.page-hero h1,
.stack :is(h2, p, li, ul, ol),
.section-head,
.section-head :is(h2, p),
.section > .wrap > h2,
.qa,
.qa :is(.idx, h2, p, div) {
  text-align: center;
  margin-inline: auto;
}

.page-hero h1,
html[lang="my"] .page-hero h1,
html[lang="zh"] .page-hero h1 {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  inset: auto;
  text-indent: 0;
  transform: none;
  display: block;
  width: auto;
  max-width: min(16em, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: 0.18em 0.3em;
  overflow: visible;
  text-align: center;
  line-height: 1.55;
}

.page-hero .lede,
.hero .lede,
.hero .fine {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero {
  overflow: visible;
}

.hero-grid > div:first-child {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  text-align: center;
}

.hero-phone {
  grid-column: 1 / -1;
  justify-self: center;
}

.hero .cta-row {
  justify-content: center;
}

.section-head {
  width: min(40rem, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.stack :is(ul, ol),
main :is(ul, ol) {
  list-style-position: inside;
  padding-inline: 0;
  margin-inline: auto;
  max-width: 44rem;
  text-align: center;
}

main li {
  text-align: center;
}

.qa {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.g-card,
.step,
.panel,
.plain-card {
  text-align: center;
}

.g-card h3,
.step h3,
.panel h2,
.panel p,
html[lang="my"] .g-card h3,
html[lang="zh"] .g-card h3,
html[lang="my"] .step h3,
html[lang="zh"] .step h3 {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.plain-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-footer .foot {
  justify-items: center;
  text-align: center;
}

.site-footer .foot p,
.site-footer .foot-links,
.site-footer .foot-links a {
  text-align: center;
}

.site-footer .foot-links {
  justify-content: center;
  width: 100%;
}

html[lang="my"] :is(.page-hero h1, .hero h1, .section-head h2, .stack h2, .qa h2, .kicker) {
  font-family: "Noto Sans Myanmar", "Myanmar Text", "Padauk", var(--display);
}

html[lang="zh"] :is(.page-hero h1, .hero h1, .section-head h2, .stack h2, .qa h2, .kicker) {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", var(--display);
}

@media (max-width: 760px) {
  .site-header.is-open .bar-nav {
    align-items: center;
  }

  .page-hero .wrap,
  .stack,
  .section .wrap:has(> .qa) {
    width: min(44rem, calc(100% - 32px));
  }
}

/* mk-mobile-hero-lang: language pill stays inside its frame on phones. */
/* mk-hero-plain: three non-wrapping lines on the gradient. No card. */
.hero {
  padding: 34px 0 10px;
  overflow: visible;
}
.hero .hero-grid > .hero-copy {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  text-align: center;
  background: none;
  border: 0;
  box-shadow: none;
}
.hero-card {
  display: contents;
  margin: 0;
  padding: 0;
  width: auto;
  max-width: none;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.hero .hero-line {
  display: block;
  width: max-content;
  max-width: none;
  margin-inline: auto;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  overflow: visible;
}
html[lang] .hero h1 {
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  overflow: visible;
  text-align: center;
  text-wrap: wrap;
  word-break: keep-all;
  font-weight: 700;
  letter-spacing: 0;
  font-size: clamp(3.2rem, 4.6vw, 4rem);
  line-height: 1.2;
}
html[lang="my"] .hero h1 { line-height: 1.8; }
html[lang="zh"] .hero h1 { line-height: 1.35; max-width: none; }
html[lang] .hero h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 18px auto 0;
  background: #149A80;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
}
.hero .hero-grid { row-gap: 44px; }
.hero .hero-phone {
  grid-column: 1 / -1;
  justify-self: center;
}

@media (max-width: 760px) {
  .site-header {
    overflow: visible;
  }
  .site-header .wrap {
    width: min(var(--wrap), calc(100% - 28px));
    max-width: calc(100% - 28px);
    margin-inline: auto;
    box-sizing: border-box;
  }
  .site-header .bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    column-gap: 12px;
    row-gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 12px 0 10px;
    box-sizing: border-box;
    position: static;
    overflow: visible;
  }
  .site-header .brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 auto 0 0;
  }
  .site-header .menu-btn {
    order: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    align-self: center;
    width: auto;
    max-width: 46%;
    margin: 0 0 0 auto;
    position: static;
    inset: auto;
    transform: none;
  }
  .site-header .lang {
    order: 3;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    align-self: flex-start;
    width: max-content;
    max-width: 100%;
    min-width: max-content;
    flex-shrink: 0;
    margin: 0;
    padding: 4px;
    gap: 2px;
    box-sizing: border-box;
    position: static;
    left: auto;
    right: auto;
    inset: auto;
    transform: none;
    overflow: visible;
  }
  .site-header .lang button {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
    max-width: none;
    margin: 0;
    padding: 0.42em 0.8em;
    border: 0;
    border-radius: 999px;
    line-height: 1.35;
    white-space: nowrap;
    position: static;
    inset: auto;
    transform: none;
    overflow: visible;
    box-sizing: border-box;
  }
  .site-header .lang button[aria-pressed="true"] {
    background: var(--mist);
    color: var(--teal-ink);
  }
  .site-header .bar-nav,
  .site-header.is-open .bar-nav {
    order: 4;
    display: none;
    position: static;
    left: auto;
    right: auto;
    inset: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 4px 0 12px;
    box-sizing: border-box;
    overflow: visible;
  }
  .site-header.is-open .bar-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
  }
  .site-header.is-open .bar-nav a {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    overflow: visible;
  }

  .hero {
    padding: 18px 0 6px;
    overflow: visible;
  }
  .hero .hero-grid {
    gap: 32px;
  }
  .hero .hero-grid > .hero-copy {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    text-align: left;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .hero .hero-card {
    display: contents;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .hero .hero-line {
    margin-inline: 0;
  }
  html[lang] .hero h1 {
    font-size: clamp(1.65rem, 7.6vw, 2.3rem);
    font-size: clamp(1.65rem, 8.4cqi, 2.3rem);
    line-height: 1.2;
    text-align: left;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  html[lang="my"] .hero h1 { line-height: 1.8; }
  html[lang="zh"] .hero h1 { line-height: 1.35; max-width: none; }
  html[lang] .hero h1::after {
    margin: 14px 0 0;
  }
  .hero .hero-phone {
    justify-self: center;
    width: min(100%, 280px);
    margin-top: 0;
  }
}
/* mk-hero-split: headline left, phone right from 900px. Stacked below that. */
@media (min-width: 900px) {
  .hero .hero-grid {
    display: grid;
    grid-template-columns: max-content clamp(268px, 30vw, 318px);
    column-gap: clamp(48px, 5vw, 80px);
    row-gap: 0;
    align-items: center;
    justify-content: center;
    width: min(1120px, calc(100% - 40px));
    max-width: calc(100% - 40px);
    margin-inline: auto;
    box-sizing: border-box;
  }

  .hero .hero-grid > .hero-copy {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    width: max-content;
    max-width: none;
    min-width: max-content;
    margin: 0;
    padding: 0;
    text-align: left;
    background: none;
    border: 0;
    box-shadow: none;
    container-type: normal;
  }

  .hero .hero-phone {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    width: 100%;
    max-width: 318px;
    margin-top: 0;
  }

  .hero .hero-line {
    display: block;
    width: max-content;
    max-width: none;
    margin-inline: 0;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    overflow: visible;
  }

  html[lang] .hero h1,
  html[lang="my"] .hero h1,
  html[lang="en"] .hero h1,
  html[lang="zh"] .hero h1 {
    display: block;
    width: max-content;
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: left;
    background: none;
    border: 0;
    box-shadow: none;
    overflow: visible;
    font-weight: 700;
    letter-spacing: 0;
    font-size: clamp(3.2rem, 5.8vw, 4rem);
  }

  html[lang] .hero h1::after {
    width: 48px;
    height: 3px;
    margin: 18px 0 0;
  }
}

@media (max-width: 899px) {
  .hero {
    overflow: visible;
  }

  .hero .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    justify-items: stretch;
    width: min(1120px, calc(100% - 32px));
    max-width: calc(100% - 32px);
    margin-inline: auto;
    box-sizing: border-box;
  }

  .hero .hero-grid > .hero-copy {
    grid-column: 1;
    grid-row: 1;
    justify-self: stretch;
    align-self: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: left;
    background: none;
    border: 0;
    box-shadow: none;
    container-type: inline-size;
  }

  .hero .hero-phone {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    align-self: start;
    width: min(100%, 280px);
    max-width: 280px;
    margin-top: 0;
  }

  .hero .hero-line {
    display: block;
    width: max-content;
    max-width: 100%;
    margin-inline: 0;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  html[lang] .hero h1,
  html[lang="my"] .hero h1,
  html[lang="en"] .hero h1,
  html[lang="zh"] .hero h1 {
    display: block;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    background: none;
    border: 0;
    box-shadow: none;
    overflow: visible;
    font-weight: 700;
    letter-spacing: 0;
    font-size: clamp(1.45rem, 9.5cqi, 3.2rem);
  }

  html[lang] .hero h1::after {
    width: 48px;
    height: 3px;
    margin: 14px 0 0;
  }
}

/* mk-hero-credit: one credit line under the homepage headline. */
.hero-credit {
  display: block;
  min-width: 0;
  max-width: 100%;
  margin: 12px 0 0;
  padding: 0;
  text-align: left;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--teal-ink);
  white-space: normal;
  overflow-wrap: anywhere;
}
html[lang="my"] .hero-credit {
  font-family: "Noto Sans Myanmar", "Myanmar Text", "Padauk", var(--sans);
  line-height: 1.7;
}
html[lang="zh"] .hero-credit {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", var(--sans);
}

/* mk-hero-lockup: center the three headline lines on the longest line, and give the credit the same size. */
@media (max-width: 899px) {
  .hero .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    width: min(1120px, calc(100% - 32px));
    max-width: calc(100% - 32px);
    margin-inline: auto;
    box-sizing: border-box;
  }

  .hero .hero-grid > .hero-copy {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: center;
    background: none;
    border: 0;
    box-shadow: none;
    container-type: normal;
  }

  .hero .hero-phone {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }

  html[lang] .hero h1,
  html[lang="my"] .hero h1,
  html[lang="en"] .hero h1,
  html[lang="zh"] .hero h1,
  .hero .hero-credit,
  html[lang="my"] .hero .hero-credit,
  html[lang="en"] .hero .hero-credit,
  html[lang="zh"] .hero .hero-credit {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
  }
}

@media (min-width: 900px) {
  .hero .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(268px, 30vw, 318px);
    column-gap: clamp(48px, 5vw, 80px);
    row-gap: 0;
    align-items: center;
    justify-content: stretch;
    width: min(1120px, calc(100% - 40px));
    max-width: calc(100% - 40px);
    margin-inline: auto;
    box-sizing: border-box;
  }

  .hero .hero-grid > .hero-copy {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: center;
    background: none;
    border: 0;
    box-shadow: none;
    container-type: normal;
  }

  .hero .hero-phone {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    width: 100%;
    max-width: 318px;
    margin-top: 0;
  }

  html[lang] .hero h1,
  html[lang="my"] .hero h1,
  html[lang="en"] .hero h1,
  html[lang="zh"] .hero h1,
  .hero .hero-credit,
  html[lang="my"] .hero .hero-credit,
  html[lang="en"] .hero .hero-credit,
  html[lang="zh"] .hero .hero-credit {
    font-size: 2.6rem;
    font-weight: 700;
    text-align: center;
  }
}

html[lang] .hero h1,
html[lang="my"] .hero h1,
html[lang="en"] .hero h1,
html[lang="zh"] .hero h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  text-align: center;
  text-wrap: nowrap;
  background: none;
  border: 0;
  box-shadow: none;
  overflow: visible;
  letter-spacing: 0;
}

.hero .hero-line {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 0;
  text-align: center;
  white-space: nowrap;
  text-wrap: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  overflow: visible;
}

html[lang] .hero h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 18px auto 0;
  flex: 0 0 auto;
  align-self: center;
  background: #149A80;
  border: 0;
  border-radius: 2px;
  box-shadow: none;
}

.hero .hero-credit,
html[lang="my"] .hero .hero-credit,
html[lang="en"] .hero .hero-credit,
html[lang="zh"] .hero .hero-credit {
  display: block;
  align-self: stretch;
  width: auto;
  max-width: 100%;
  min-width: 0;
  margin: 12px 0 0;
  padding: 0;
  text-align: center;
  letter-spacing: 0;
  white-space: normal;
  text-wrap: wrap;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: manual;
}

html[lang="en"] .hero .hero-credit {
  font-family: var(--display);
}

html[lang="my"] .hero .hero-credit {
  font-family: "Noto Sans Myanmar", "Myanmar Text", "Padauk", var(--display);
}

html[lang="zh"] .hero .hero-credit {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", var(--display);
}

@font-face {
  font-family: "Noto Sans Myanmar";
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/noto-my-e735a62548.woff2") format("woff2");
  unicode-range: U+20, U+2c-2e, U+30, U+33, U+41, U+43-44, U+46-47, U+49, U+4b-50, U+52-54, U+57, U+59, U+61-69, U+6b-79, U+1000-1002, U+1004-1006, U+1010-1012, U+1014-1016, U+1018-101e, U+1021, U+102b-102f, U+1031-1032, U+1036-103e, U+1040, U+1043, U+104a-104b;
}

@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/noto-sc-1026ef79a0.woff2") format("woff2");
  unicode-range: U+20, U+2c-2e, U+30, U+33, U+41, U+43-44, U+46-47, U+49, U+4b-50, U+52-54, U+57, U+59, U+61-69, U+6b-79, U+3001-3002, U+4e00, U+4e0a-4e0b, U+4e0e, U+4e2d, U+4eec, U+4f7f, U+5165, U+5207, U+5373, U+53cb, U+53d6, U+53ef-53f0, U+5728, U+5730, U+5927, U+597d, U+59cb, U+5b98, U+5b9a, U+5bfc, U+5e73, U+5e94, U+5f00, U+5f3a, U+5fc3, U+60a8, U+6211, U+6237, U+62e9, U+6362, U+638c, U+63a5, U+63a7, U+6587, U+65b9, U+65e0, U+6670, U+672c, U+6d01, U+6e05, U+6e90, U+7528, U+7684, U+79c1, U+7a33, U+7acb, U+7b80, U+7cfb, U+7f6e, U+8054, U+83b7, U+884c, U+8a00, U+8bb8, U+8bed, U+8d26, U+8f7d, U+8fd0, U+8fde, U+9009, U+914d, U+952e, U+968f-9690, U+9760;
}

/* mk-hero-thick: homepage headline at twice the size, weight 800, glyph stroke. Credit stays 2.6rem / 1.6rem at weight 800. */

.hero .hero-grid {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  column-gap: clamp(40px, 4vw, 80px);
  row-gap: 40px;
  width: calc(100% - 40px);
  max-width: calc(100% - 40px);
  margin-inline: auto;
  box-sizing: border-box;
}

.hero .hero-grid > .hero-copy {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  text-align: center;
  background: none;
  border: 0;
  box-shadow: none;
  container-type: normal;
}

.hero .hero-phone {
  flex: 0 0 auto;
  width: min(318px, 100%);
  max-width: 318px;
  margin-top: 0;
}

html[lang] .hero h1,
html[lang="my"] .hero h1,
html[lang="en"] .hero h1,
html[lang="zh"] .hero h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  font-weight: 800;
  color: var(--ink);
  -webkit-text-stroke: 2px #0e3d34;
  paint-order: stroke fill;
  text-shadow: none;
  letter-spacing: 0;
  background: none;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.hero .hero-line {
  display: block;
  width: max-content;
  max-width: none;
  margin-inline: auto;
  padding: 0;
  white-space: nowrap;
  text-wrap: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  overflow: visible;
  text-align: center;
  background: none;
  border: 0;
  box-shadow: none;
}

.hero .hero-credit,
html[lang="my"] .hero .hero-credit,
html[lang="en"] .hero .hero-credit,
html[lang="zh"] .hero .hero-credit {
  align-self: stretch;
  width: auto;
  min-width: 0;
  max-width: 100%;
  margin: 12px 0 0;
  padding: 0;
  font-weight: 800;
  color: var(--teal-ink);
  -webkit-text-stroke: 0;
  paint-order: normal;
  text-shadow: none;
  text-align: center;
  white-space: normal;
  text-wrap: wrap;
  word-break: keep-all;
  overflow-wrap: normal;
  background: none;
  border: 0;
  box-shadow: none;
}

@media (max-width: 899px) {
  .hero .hero-grid {
    flex-direction: column;
    align-items: center;
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    row-gap: 28px;
  }

  .hero .hero-phone {
    width: min(280px, 100%);
    max-width: 280px;
  }

  html[lang] .hero h1,
  html[lang="my"] .hero h1,
  html[lang="en"] .hero h1,
  html[lang="zh"] .hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
  }

  .hero .hero-credit,
  html[lang="my"] .hero .hero-credit,
  html[lang="en"] .hero .hero-credit,
  html[lang="zh"] .hero .hero-credit {
    font-size: 1.6rem;
    font-weight: 800;
  }
}

@media (min-width: 900px) {
  .hero .hero-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  html[lang] .hero h1,
  html[lang="my"] .hero h1,
  html[lang="en"] .hero h1,
  html[lang="zh"] .hero h1 {
    font-size: 5.2rem;
    font-weight: 800;
  }

  .hero .hero-credit,
  html[lang="my"] .hero .hero-credit,
  html[lang="en"] .hero .hero-credit,
  html[lang="zh"] .hero .hero-credit {
    font-size: 2.6rem;
    font-weight: 800;
  }
}

@media (max-width: 520px) {
  html[lang="en"] .hero h1 {
    font-size: min(3.2rem, calc((100vw - 20px) / 9.75));
  }
}

@media (max-width: 460px) {
  html[lang="zh"] .hero h1 {
    font-size: min(3.2rem, calc((100vw - 20px) / 8.55));
  }
}

@media (max-width: 440px) {
  html[lang="my"] .hero h1 {
    font-size: min(3.2rem, calc((100vw - 20px) / 8.15));
  }
}
