html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* Loss framing yang lembut: menjelaskan biaya dari murojaah tanpa arah. */
.loss-frame {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #083f35, #0d5c4d);
}
.loss-frame::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -215px;
  top: -215px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(255,255,255,.034), 0 0 0 116px rgba(255,255,255,.018);
}
.loss-heading,
.loss-list,
.loss-closing { position: relative; z-index: 1; }
.loss-heading { max-width: 780px; }
.loss-heading h2 {
  margin: 0;
  color: #fff;
  font: 600 clamp(46px, 5.3vw, 76px)/.98 var(--display);
  letter-spacing: -2.6px;
}
.loss-heading h2 em { color: #f2a6bf; }
.loss-heading > p:last-child {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.66);
}
.loss-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.loss-list article {
  min-height: 145px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 21px;
  background: rgba(255,255,255,.065);
}
.loss-list span {
  color: #f2a6bf;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.loss-list p {
  margin: 25px 0 0;
  font: 500 20px/1.28 var(--display);
}
.loss-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 18px;
  padding: 30px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 25px;
}
.loss-closing > div { max-width: 650px; }
.loss-closing small {
  color: var(--rose);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.loss-closing h3 {
  margin: 8px 0;
  font: 600 29px/1.12 var(--display);
}
.loss-closing p { margin: 0; color: var(--muted); font-size: 12px; }
.loss-closing .button {
  flex: 0 0 auto;
  max-width: 340px;
  color: #fff;
  background: var(--green);
  text-align: center;
}
@media (max-width: 980px) {
  .loss-list { grid-template-columns: 1fr 1fr; }
  .loss-closing { display: block; }
  .loss-closing .button { max-width: none; margin-top: 22px; }
}
@media (max-width: 640px) {
  .loss-heading h2 { font-size: 41px; line-height: 1; letter-spacing: -1.4px; }
  .loss-heading > p:last-child { margin-top: 18px; font-size: 14px; }
  .loss-list { grid-template-columns: 1fr; gap: 8px; margin-top: 28px; }
  .loss-list article,
  .loss-list article:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 17px;
    border-radius: 16px;
  }
  .loss-list p { margin-top: 13px; font-size: 19px; }
  .loss-closing { margin-top: 10px; padding: 21px; border-radius: 19px; }
  .loss-closing h3 { font-size: 25px; }
  .loss-closing .button { width: 100%; padding: 14px 16px; font-size: 11px; line-height: 1.4; }
}

/* Perbandingan dibuat horizontal agar mudah dibaca di semua ukuran layar. */
.versus {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-self: center;
  writing-mode: horizontal-tb;
  background: var(--rose-soft);
  color: var(--rose);
  font: 800 10px var(--body);
  letter-spacing: .8px;
}

/* Contoh kartu capaian: latar tetap memakai aset tema, isi selalu terbaca. */
.share-card-preview {
  position: absolute;
  width: 285px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 7px solid #fff;
  border-radius: 30px;
  box-shadow: var(--shadow);
  color: #fff;
}
.share-card-preview.card-one { left: 6%; top: 60px; transform: rotate(-8deg); }
.share-card-preview.card-two { right: 6%; top: 0; transform: rotate(8deg); }
.share-card-preview > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.share-card-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(3,28,25,.2), transparent 35%, rgba(3,28,25,.42));
}
.share-card-content {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 34px 24px 28px;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.share-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 1px;
}
.share-card-top small { font-size: 7px; }
.share-card-main {
  margin-top: auto;
  margin-bottom: 40px;
  padding: 17px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 17px;
  background: rgba(5,34,31,.48);
  backdrop-filter: blur(6px);
}
.share-card-main small { font-size: 6px; font-weight: 800; letter-spacing: 1.2px; }
.share-card-main b { display: block; margin: 8px 0; font: 600 24px/1.05 var(--display); }
.share-card-main p { margin: 0; font-size: 8px; line-height: 1.5; }
.share-card-content > em {
  font: 500 7px var(--body);
  font-style: normal;
  text-align: center;
  letter-spacing: .5px;
}

@media (max-width: 640px) {
  .versus { margin: 0 auto; }
  .share-card-preview { width: 170px; border-width: 5px; border-radius: 22px; }
  .share-card-preview.card-one { left: 0; }
  .share-card-preview.card-two { right: 0; }
  .share-card-content { padding: 24px 15px 18px; }
  .share-card-main { margin-bottom: 22px; padding: 11px; }
  .share-card-main b { font-size: 15px; }
  .share-card-main p { font-size: 6.5px; }
}

.purchase-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 22px;
}

.purchase-flow > div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 9px;
  border-radius: 14px;
  background: var(--paper);
}

.purchase-flow b {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 10px;
}

.purchase-flow strong,
.purchase-flow small {
  display: block;
}

.purchase-flow strong { font-size: 9px; }
.purchase-flow small { font-size: 7px; color: var(--muted); line-height: 1.35; }
.support-note {
  margin: 10px 0 0;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--mint);
  font-size: 8px;
  color: var(--muted);
}
.support-note b { color: var(--ink); }

@media (max-width: 640px) {
  body { padding-bottom: 0; }

  .hero-stage {
    height: 455px;
    margin-bottom: 5px;
  }

  .hero-phone {
    transform: translate(-50%, -50%) rotate(3deg);
  }

  .page-marker { display: none; }

  .chip-top { right: 2px; }
  .chip-bottom { left: 2px; }

  .tension-grid { display: grid; overflow: visible; padding: 0; }
  .tension-grid article {
    min-width: 0;
    width: 100%;
    min-height: 142px;
    border: 1px solid rgba(20, 44, 39, .18);
    box-shadow: 0 10px 30px rgba(20, 44, 39, .06);
  }

  .journey-body { position: relative; padding-bottom: 30px; }
  .journey-phone-wrap {
    position: sticky;
    top: 8px;
    height: 500px;
    z-index: 1;
    background: linear-gradient(180deg, var(--green) 0 88%, rgba(8,63,53,0));
  }
  .journey-progress {
    position: absolute;
    top: 50%;
    right: 2px;
    width: 3px;
    height: 160px;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    transform: translateY(-50%);
    overflow: hidden;
  }
  .journey-progress i {
    display: block;
    width: 100%;
    height: 33.333%;
    border-radius: inherit;
    background: var(--saffron);
    transform: translateY(var(--journey-progress, 0%));
    transition: transform .45s ease;
  }
  .journey-steps {
    display: grid;
    gap: 0;
    position: relative;
    z-index: 2;
    margin-top: -72px;
  }
  .journey-step {
    min-height: 62vh;
    padding: 0 0 22px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    opacity: 1;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .5s cubic-bezier(.22,1,.36,1);
  }
  .journey-step > div {
    width: 100%;
    padding: 14px 16px 15px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 17px;
    background: rgba(5,45,38,.82);
    box-shadow: 0 14px 34px rgba(0,0,0,.16);
    backdrop-filter: blur(12px);
  }
  .journey-step.active { transform: translateY(0); }
  .journey-step .step-dot {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    font-size: 17px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.85);
    border-color: rgba(255,255,255,.18);
  }
  .journey-step.active .step-dot {
    background: var(--saffron);
    color: var(--ink);
    box-shadow: 0 0 0 5px rgba(232,185,91,.12);
  }
  .journey-step h3 {
    margin: 5px 0 7px;
    font-size: 23px;
    line-height: 1.05;
  }
  .journey-step p {
    margin: 0;
    font-size: 10.5px;
    line-height: 1.55;
  }
  .journey-step small { font-size: 7px; letter-spacing: 1.5px; }
  .journey-phone { width: 220px; height: 445px; }
  .journey-phone .screen-shot {
    transform: scale(1.025) translateY(5px);
    filter: blur(2px);
    transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1), filter .55s ease;
    will-change: opacity, transform, filter;
  }
  .journey-phone .screen-shot.active {
    transform: scale(1) translateY(0);
    filter: blur(0);
  }

  .feature-grid { display: grid; overflow: visible; padding: 0; }
  .feature,
  .feature-main {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: 0 12px 34px rgba(0,0,0,.11);
  }
  .feature-main {
    min-height: 0;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0 14px;
  }
  .feature-main > span { margin: 0; }
  .feature-main > div:nth-child(2) { align-self: start; }
  .feature-main .mini-target { grid-column: 1 / -1; margin-top: 18px; }
  .feature > small { margin-top: 18px; }
  .feature h3 { margin-bottom: 0; }

  .target-window > div {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    aspect-ratio: 1;
  }

  .not-a-file {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .comparison p { padding: 8px 0; }

  .share-cards { min-height: 385px; }
  .share-cards img { width: 170px; }

  .purchase-flow {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 18px;
  }
  .purchase-flow > div { padding: 10px 8px; }

  .mobile-cta {
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  .mobile-cta.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}

/* Keep existing customers' entry visible, including narrow phones. */
.nav-shell .login-link {
  display: inline-flex;
  margin-left: auto;
  min-height: 44px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .nav-shell { gap: 12px; padding-top: env(safe-area-inset-top, 0px); height: calc(70px + env(safe-area-inset-top, 0px)); }
  .hero { padding-top: calc(112px + env(safe-area-inset-top, 0px)); }
}
