@font-face {
  font-family: Montserrat;
  src: url('/assets/montserrat-latin-800-normal.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf7f2;
  --surface: #fffdfa;
  --ink: #28182e;
  --muted: #615667;
  --purple: #61297a;
  --plum: #361743;
  --lavender: #f1e8f5;
  --line: #e6dbe6;
  --gold: #eec16d;
  --heading: Montserrat, system-ui, sans-serif;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 800; letter-spacing: -.041em; }
h1 { font-size: clamp(2.15rem, 6.5vw, 4.25rem); line-height: 1.08; }
h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); line-height: 1.14; }
h3 { font-size: 1.125rem; line-height: 1.2; }
p { line-height: 1.6; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #812e9b; outline-offset: 4px; }
#utama:focus { outline: none; }
[hidden] { display: none !important; }

.shell { width: min(calc(100% - 2.25rem), 1120px); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  color: #fff;
  background: var(--plum);
  padding: 10px 14px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner, .footer-inner {
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
}
.brand { display: inline-flex; align-items: center; gap: .42rem; text-decoration: none; }
.brand span { font: 700 1.48rem/1 Georgia, serif; letter-spacing: -.04em; }
.brand img { width: 2.3rem; height: 2.3rem; flex: none; }
.masthead nav { display: flex; align-items: center; gap: .3rem; }
.masthead nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .3rem .65rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}
.masthead nav a:hover { background: #f2edf1; }
.masthead nav [aria-current="page"] { background: var(--lavender); color: #502063; }

.hero { display: grid; align-items: center; gap: 1.7rem; padding-block: 2.7rem 2.5rem; }
.hero h1 > span { color: var(--purple); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--purple);
  font-size: .875rem;
  font-weight: 750;
  margin-bottom: .65rem;
}
.eyebrow::before { content: ''; width: .85rem; height: 2px; background: #a97426; flex: none; }
.hero-lead { margin-top: 1rem; max-width: 33rem; font-size: 1.04rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  width: fit-content;
  max-width: 100%;
  padding: .55rem .95rem;
  border: 1px solid transparent;
  border-radius: .62rem;
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
}
.button-primary { color: #fff; background: #572368; }
.button-primary:hover { background: #421850; }
.button-outline { color: var(--plum); background: var(--surface); border-color: #d8c8dc; }
.button-outline:hover { background: var(--lavender); }

.earnings {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  border-radius: 1.25rem;
  padding: 1.35rem;
  color: #fff9ee;
  background: radial-gradient(ellipse at 98% 1%, #673773 0%, #4c245a 39%, #33143e 82%);
  box-shadow: 0 .75rem 2.3rem #41214c1c;
}
.earnings::before, .earnings::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 16rem;
  aspect-ratio: 1;
  right: -4.6rem;
  top: -9.15rem;
  border: 1px solid #eac38740;
  border-radius: 2rem;
  transform: rotate(44deg);
}
.earnings::after { width: 19rem; right: -6.1rem; top: -10.65rem; border-color: #eac38726; }
.gem {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border: 1px solid #e8c47870;
  border-radius: .75rem;
  background: #f8d38916;
}
.gem span {
  width: 1.65rem;
  height: 1.38rem;
  clip-path: polygon(20% 0, 80% 0, 100% 33%, 50% 100%, 0 33%);
  background: conic-gradient(from 22deg at 50% 34%, #e9b967 0deg 66deg, #a87938 66deg 119deg, #e8af59 119deg 158deg, #f2cb82 158deg 217deg, #ffebb5 217deg 300deg, #f7d796 300deg);
}
.earnings h2 { font: 700 .95rem/1.4 system-ui, sans-serif; letter-spacing: 0; }
.amount {
  margin-top: .5rem;
  color: #ffdda0;
  font: 800 clamp(1.27rem, 6.1vw, 2.45rem)/1.1 var(--heading);
  letter-spacing: -.05em;
  white-space: nowrap;
}
.amount span { margin-inline: .15em; color: #eec88d; }
.earnings-rule { height: 1px; margin-block: .88rem .7rem; background: #fff1d03f; }
.earnings-note { max-width: 27rem; font-size: .875rem; color: #f2e5f2; }

.section { padding-block: 2.5rem; }
.section-heading { margin-bottom: 1.2rem; }
.section-heading > p:not(.eyebrow) { max-width: 43rem; margin-top: .68rem; color: var(--muted); }
.partnership { border-top: 1px solid var(--line); }
.partner-grid { display: grid; gap: .7rem; }
.partner-card {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .95rem;
  background: var(--surface);
}
.partner-mark, .partner-card img { width: 2.6rem; height: 2.6rem; flex: none; }
.partner-mark {
  display: grid;
  place-items: center;
  border-radius: .66rem;
  color: var(--purple);
  background: var(--lavender);
  font: 800 1.2rem/1 var(--heading);
}
.partner-card p { margin-top: .35rem; color: var(--muted); }
.program-terms {
  margin-top: .9rem;
  display: grid;
  gap: .4rem 1.5rem;
  padding: .8rem 1rem;
  border-left: 3px solid #b5853a;
  border-radius: 0 .6rem .6rem 0;
  background: #f6ecd9;
}
.program-terms p { font-size: .9rem; }
.how { padding-top: 0; }
.activity-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: 0;
  padding: 0;
}
.activity-grid li {
  min-height: 5.6rem;
  padding: .78rem;
  display: grid;
  gap: .55rem;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--surface);
  font-weight: 700;
  font-size: .875rem;
}
.activity-icon { display: block; position: relative; width: 1.15rem; height: .92rem; color: var(--purple); }
.activity-icon::before, .activity-icon::after { content: ''; position: absolute; }
.message::before { inset: 0; border: 1.5px solid; border-radius: 4px; }
.message::after { top: .31rem; left: .26rem; width: .62rem; height: 1.5px; background: currentColor; box-shadow: 0 3px currentColor; }
.voice::before { width: 3px; height: .96rem; left: .47rem; top: -.02rem; border-radius: 3px; background: currentColor; }
.voice::after { width: 2px; height: .55rem; left: .16rem; top: .18rem; border-radius: 3px; background: currentColor; box-shadow: .66rem 0 currentColor; }
.video::before { inset: 0 .24rem 0 0; border: 1.5px solid; border-radius: 3px; }
.video::after { top: .15rem; right: -.07rem; border: .31rem solid transparent; border-right: .34rem solid currentColor; border-left: 0; }
.gift::before { inset: .17rem .06rem 0; border: 1.5px solid; border-radius: 2px; }
.gift::after { background: currentColor; height: .89rem; width: 1.5px; left: .52rem; top: 0; }

.stages-section { background: #f0e7f3; border-block: 1px solid #e8d9eb; }
.stage-grid { display: grid; gap: .5rem; }
.stage-card {
  padding: 1.15rem;
  background: var(--surface);
  border: 1px solid #e0d2e1;
  border-radius: .9rem;
}
.stage-card-formal { color: #fff8ff; background: var(--plum); border-color: var(--plum); }
.stage-card h3 { margin: .25rem 0 .45rem; font-size: 1.32rem; }
.stage-card > p:not(.stage-label) { color: var(--muted); }
.stage-card-formal > p:not(.stage-label) { color: #f0dff0; }
.stage-label { color: var(--purple); font-size: .875rem; font-weight: 750; }
.stage-card-formal .stage-label { color: #ffda8e; }
.stage-income {
  display: grid;
  gap: .25rem;
  border-top: 1px solid #e2d6e3;
  margin-top: .9rem;
  padding-top: .7rem;
  font-size: .94rem;
}
.stage-card-formal .stage-income { border-color: #ffffff37; }
.stage-income span { color: var(--muted); font-size: .875rem; }
.stage-card-formal .stage-income span { color: #f0dff0; }
.stage-condition { display: flex; align-items: center; gap: .5rem; padding: .35rem .25rem; color: #58266d; }
.stage-condition span { display: block; width: .55rem; aspect-ratio: 1; background: #9e6c2f; transform: rotate(45deg); flex: none; }
.stage-condition p, .stage-note { font-size: .875rem; }
.stage-condition p { font-weight: 700; }
.stage-note { margin-top: .8rem; color: var(--muted); }

.home-faq .section-heading { display: flex; gap: .8rem 1.5rem; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.question-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.question-link {
  display: flex;
  min-height: 67px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .72rem .5rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.question-link:hover { background: var(--lavender); }
.question-topic, .question-title { display: block; line-height: 1.34; }
.question-topic { color: #633377; font-size: .875rem; }
.question-title { margin-top: .12rem; font-weight: 720; }
.question-summary {
  display: block;
  max-width: 69ch;
  margin-top: .32rem;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.48;
}
.question-indicator {
  width: .67rem;
  height: .67rem;
  border: 1.5px solid #89599c;
  border-radius: 50%;
  margin-right: .3rem;
  flex: none;
}
.question-link:hover .question-indicator { background: #89599c; }
.footer { border-top: 1px solid var(--line); margin-top: auto; }
.footer-inner > a:last-child { font-size: .875rem; color: var(--purple); padding-block: .7rem; }

.page-intro {
  padding-block: 2.3rem 2.45rem;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 95% 15%, #eee1f2, transparent 65%), #f5edf5;
}
.page-intro h1 { max-width: 15ch; }
.page-intro h1 + p { margin-top: .75rem; color: var(--muted); }
.faq-body, .detail-shell { width: min(calc(100% - 2.25rem), 810px); padding-block: 1.5rem 3rem; }
.search-tools { display: grid; gap: .55rem; }
.search-tools label { font-weight: 720; font-size: .93rem; }
.search-input {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 53px;
  padding-inline: .85rem;
  border: 1px solid #d5c3db;
  border-radius: .72rem;
  background: var(--surface);
}
.search-input:focus-within { outline: 2px solid var(--purple); outline-offset: 2px; }
.search-input span { position: relative; flex: none; width: .88rem; height: .88rem; margin-right: .13rem; border: 1.5px solid #754c81; border-radius: 50%; }
.search-input span::after { content: ''; position: absolute; bottom: -.15rem; right: -.31rem; width: .42rem; height: 1.5px; background: #754c81; transform: rotate(45deg); }
.search-input input { width: 100%; min-width: 0; align-self: stretch; border: none; background: transparent; outline: none; }
.search-input input::placeholder { color: #71667a; }
.filters { display: flex; flex-wrap: wrap; gap: .42rem; margin-top: .3rem; }
.filters button {
  min-height: 44px;
  padding: .35rem .73rem;
  border: 1px solid #dacdde;
  border-radius: 999px;
  background: var(--surface);
  color: var(--plum);
  font-size: .875rem;
  font-weight: 650;
}
.filters button:hover { background: var(--lavender); }
.filters button[aria-pressed="true"] { background: var(--plum); color: white; border-color: var(--plum); }
.result-count { color: var(--muted); font-size: .875rem; margin: 1rem 0 .42rem; }
.empty-state { padding: 1rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-top: none; }

.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .15rem .46rem; color: var(--muted); font-size: .875rem; }
.breadcrumbs a { color: var(--purple); text-underline-offset: .2em; padding-block: .55rem; }
.answer-card {
  margin-top: .45rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 .45rem 1.65rem #41214c0b;
}
.answer-card h1 { font-size: clamp(1.7rem, 5.1vw, 3.15rem); }
.answer-body { margin-top: 1rem; }
.answer-body p { color: var(--muted); }
.answer-points { display: grid; margin: .8rem 0 0; gap: .65rem; }
.answer-points > div {
  padding: .75rem .9rem;
  border: 1px solid #e8daeb;
  border-radius: .6rem;
  background: #f8f2f8;
}
.answer-points dt { color: #4f205f; font-weight: 750; }
.answer-points dd { margin: .2rem 0 0; line-height: 1.5; }
.answer-note { margin-top: .75rem; }
.answer-media { margin-top: 1.3rem; }
.answer-media h2 { font-size: 1.15rem; }
.answer-media-items { display: grid; gap: .75rem; margin-top: .6rem; }
.answer-media figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: #f8f2f8;
}
.answer-media img, .answer-media video {
  display: block;
  width: 100%;
  max-height: 30rem;
  object-fit: contain;
}
.answer-media video { aspect-ratio: 16 / 9; background: var(--ink); }
.answer-media figcaption { padding: .65rem .8rem; color: var(--muted); font-size: .875rem; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .6rem; margin-top: 1.2rem; }
.share input { min-width: 0; width: 100%; border: 1px solid var(--line); border-radius: .45rem; padding: .5rem; }
.share span { color: var(--purple); font-size: .875rem; }
.related { margin-top: 1.55rem; }
.related h2 { margin-bottom: .7rem; font-size: 1.36rem; }
.detail-back { margin-top: 1rem; }
.not-found p { margin: .6rem 0 1rem; color: var(--muted); }

@media (min-width: 640px) {
  .shell { width: min(calc(100% - 4rem), 1120px); }
  .masthead-inner, .footer-inner { min-height: 76px; }
  .brand img { width: 2.65rem; height: 2.65rem; }
  .brand span { font-size: 1.67rem; }
  .masthead nav { gap: .55rem; }
  .masthead nav a { padding-inline: .9rem; }
  .partner-grid, .program-terms { grid-template-columns: 1fr 1fr; }
  .activity-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-intro { padding-block: 3.1rem 3.4rem; }
  .faq-body, .detail-shell { width: min(calc(100% - 4rem), 810px); }
  .answer-card { padding: 2rem; }
}

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.17fr 1fr; gap: clamp(2.1rem, 5vw, 4.85rem); padding-block: 4.4rem; }
  .hero h1 { font-size: clamp(2.64rem, 4.6vw, 4.25rem); }
  .hero-lead { font-size: 1.125rem; }
  .earnings { min-height: 310px; padding: clamp(1.35rem, 2.6vw, 2.2rem); }
  .gem { width: 3.45rem; height: 3.45rem; }
  .gem span { width: 1.95rem; height: 1.65rem; }
  .amount { font-size: clamp(1.65rem, 3.2vw, 2.52rem); }
  .section { padding-block: 3.4rem; }
  .how { padding-top: 0; }
  .partner-card { padding: 1.25rem; }
  .activity-grid li { padding: 1rem; min-height: 5.2rem; }
  .stage-grid { grid-template-columns: minmax(0, 1fr) 9.25rem minmax(0, 1fr); align-items: stretch; gap: 1rem; }
  .stage-card { display: flex; flex-direction: column; padding: 1.35rem; }
  .stage-income { margin-top: auto; }
  .stage-card > p:not(.stage-label) { padding-bottom: .9rem; }
  .stage-condition { align-self: center; flex-direction: column; text-align: center; padding: .5rem; }
  .question-link { padding-inline: .72rem; }
}

@media (max-width: 343px) {
  .masthead nav a { padding-inline: .52rem; }
  .brand span { font-size: 1.3rem; }
  .shell { width: calc(100% - 1.7rem); }
  .earnings { padding-inline: 1.12rem; }
}


.feedback .answer-media { margin-top: 0; }
.feedback .answer-media h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); }
.feedback .answer-media-items { max-width: 50rem; margin-top: 1.1rem; }
.video-retry { padding: .7rem .8rem; color: var(--muted); font-size: .875rem; }
.video-retry .button { margin-top: .45rem; }

.amount { white-space: normal; overflow-wrap: anywhere; }
.answer-media-note { margin-top: .55rem; color: var(--muted); font-size: .9rem; }
.question-title, .question-summary, .answer-body { overflow-wrap: anywhere; }
