/* ==========================================================================
   Floosh website. Gaya: 3D lembut berkilau, ceria dan berwarna, tetap kemas.
   Palet (keputusan pemilik): pandan #1FAF5A (jenama), langit #3B9EFF, gula #FF6FA8, ungu #A78BFA, jingga #FF8A3D,
   dengan tona muda dan varian gelap. Merah hanya untuk "padam", emas hanya untuk "favourite".
   Teks atas SEMUA latar aksen berwarna guna dakwat tetap --ink (#15211A, 4.8:1 hingga 8.2:1). Putih gagal WCAG AA.
   Setiap bahagian ada satu aksen (.tone-*): latar tona muda, lencana dan butang aksen, teks dakwat.
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  --kertas: #ffffff;
  --kabus: #f2f5f1;
  --garis: #e2e8e0;
  --dakwat: #15211a;
  --redup: #66736a;          /* 4.97:1 atas putih */
  --redup-t: #55625a;        /* redup atas tona muda (5.4:1 atau lebih) */
  --ink: #15211a;            /* dakwat tetap: SENTIASA teks atas latar aksen */
  --card: #ffffff;
  --link: #0f6b32;           /* pautan atas putih dan tona muda (5.6:1 atau lebih) */

  --c-pandan: #1faf5a;
  --c-langit: #3b9eff;
  --c-gula: #ff6fa8;
  --c-ungu: #a78bfa;
  --c-jingga: #ff8a3d;
  --t-pandan: #e2f5e8;
  --t-langit: #e3f1ff;
  --t-gula: #ffe6f0;
  --t-ungu: #efe9ff;
  --t-jingga: #ffebdd;

  --buang: #f2544a;          /* hanya untuk padam */
  --buang-ink: #c03a31;
  --buang-muda: #fde7e5;
  --emas: #f5a623;           /* hanya untuk favourite */

  --shadow: 0 1px 2px rgba(21, 33, 26, 0.06), 0 16px 34px -20px rgba(21, 33, 26, 0.38);

  --display: "Bricolage Grotesque", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --kertas: #0f1511;
    --kabus: #1a221c;
    --garis: #2a342d;
    --dakwat: #eef3ee;
    --redup: #97a39a;
    --redup-t: #97a39a;
    --card: #0f1511;
    --link: #4cd183;

    --t-pandan: #16301f;
    --t-langit: #14283d;
    --t-gula: #3a1b2a;
    --t-ungu: #2a2342;
    --t-jingga: #3d2515;

    --buang-ink: #ff8179;
    --buang-muda: #3a1d1b;

    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 34px -20px rgba(0, 0, 0, 0.75);
  }
}

/* Aksen bahagian: pembolehubah sahaja. Latar tona hanya pada .section dan elemen yang memintanya. */
.tone-green { --accent: var(--c-pandan); --tint: var(--t-pandan); }
.tone-blue { --accent: var(--c-langit); --tint: var(--t-langit); }
.tone-pink { --accent: var(--c-gula); --tint: var(--t-gula); }
.tone-purple { --accent: var(--c-ungu); --tint: var(--t-ungu); }
.tone-orange { --accent: var(--c-jingga); --tint: var(--t-jingga); }
.section[class*="tone-"] { background: var(--tint); --redup: var(--redup-t); }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  font-family: var(--ui);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--dakwat);
  background: var(--kertas);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--c-pandan); color: var(--ink); }
:focus-visible { outline: 3px solid var(--dakwat); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; color: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--dakwat); color: var(--kertas); padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 8.5vw, 4.75rem); letter-spacing: -0.035em; line-height: 1.1; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.2; }
p { text-wrap: pretty; }
.lede { font-size: clamp(1.125rem, 2.2vw, 1.3125rem); line-height: 1.5; color: var(--redup); max-width: 56ch; }
.muted { color: var(--redup); }
.small { font-size: 0.9375rem; }

/* ---------- Header ---------- */
.site-header { padding-block: 14px; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dakwat); font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; min-height: 44px; }
.logo { width: 36px; height: 36px; border-radius: 22%; box-shadow: 0 2px 8px -2px rgba(21, 33, 26, 0.4); flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 2px 6px; margin-inline-start: auto; order: 3; width: 100%; }
.nav a { color: var(--dakwat); text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--kabus); }
.nav a[aria-current="page"] { background: var(--t-pandan); color: var(--link); font-weight: 700; }
.lang { display: inline-flex; background: var(--kabus); border-radius: 999px; padding: 3px; margin-inline-start: auto; }
.lang > a, .lang > span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 0.875rem; font-weight: 600; text-decoration: none; color: var(--redup); }
.lang a:hover { color: var(--dakwat); }
.lang [aria-current="true"] { background: var(--c-pandan); color: var(--ink); box-shadow: 0 1px 3px rgba(21, 33, 26, 0.2); }
@media (min-width: 900px) {
  .nav { order: 0; width: auto; }
  .lang { margin-inline-start: 0; }
}

/* ---------- Butang dan lencana ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 24px; border-radius: 18px; font-weight: 700; font-size: 1.0625rem; text-decoration: none; border: 0; transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.2s, box-shadow 0.2s; box-shadow: 0 6px 16px -8px rgba(21, 33, 26, 0.5), inset 0 -3px 0 rgba(21, 33, 26, 0.16); }
.btn--primary { background: var(--c-pandan); color: var(--ink); }
.btn--primary:hover { background: #3cc573; }
.btn--ghost { background: var(--kabus); color: var(--dakwat); box-shadow: none; }
.btn--ghost:hover { background: var(--garis); }
.btn--ink { background: var(--ink); color: #ffffff; }
.btn--ink:hover { background: #2a3a30; }
.btn:active { transform: scale(0.98); }
.btn svg { width: 20px; height: 20px; }
@media (prefers-color-scheme: dark) {
  .btn--ink { background: #eef3ee; color: var(--ink); }
  .btn--ink:hover { background: #ffffff; }
}

.chip { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--accent, var(--c-pandan)); color: var(--ink); font-size: 0.8125rem; font-weight: 700; line-height: 1.2; border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.chip svg { width: 18px; height: 18px; }
.chip--del { background: var(--buang); }
.chip--keep { background: var(--c-pandan); }
.chip--fav { background: var(--emas); }
.chip--soon { background: var(--c-jingga); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 16px; background: var(--dakwat); color: var(--kertas); text-decoration: none; }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 1.0625rem; }
.store small { font-size: 0.75rem; font-weight: 600; opacity: 0.9; }
.store-badge { display: inline-flex; align-items: center; border-radius: 12px; }
.store-badge img { display: block; height: 48px; width: auto; }
.store-badge:focus-visible { outline: 3px solid var(--dakwat); outline-offset: 2px; }
.store--soon { background: var(--card); color: var(--dakwat); border: 2px dashed var(--redup); }
.store--soon small { opacity: 1; color: var(--redup); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(20px, 4vw, 56px) clamp(40px, 7vw, 88px); --redup: var(--redup-t); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--kabus); font-weight: 600; font-size: 0.9375rem; margin-bottom: 24px; }
.hero-tag .logo { width: 44px; height: 44px; }
.hero h1 .word { display: inline-block; padding: 0.02em 0.22em 0.08em; border-radius: 0.3em; color: var(--ink); box-shadow: inset 0 -0.07em 0 rgba(21, 33, 26, 0.16); margin-block: 0.03em; }
.hero h1 .dot { color: var(--ink); }
.word--1 { background: var(--c-langit); transform: rotate(-2deg); }
.word--2 { background: var(--c-pandan); transform: rotate(1.5deg); }
.word--3 { background: var(--c-gula); transform: rotate(-1deg); }
.hero .lede { margin-top: 28px; }
.hero .joke { margin-top: 16px; max-width: 52ch; }
.hero .stores { margin-top: 32px; }
.hero .soon-note { margin-top: 14px; }
.hero-art { position: relative; display: grid; place-items: center; max-width: 520px; width: 100%; margin-inline: auto; }
.hero-art::before { content: ""; position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle at 28% 24%, var(--t-langit), var(--t-pandan) 55%, var(--t-gula)); }
.hero-art picture, .hero-art img { position: relative; width: 100%; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; }
}

/* ---------- Demo telefon ---------- */
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.legend { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 14px; }
.legend li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; }
.legend .chip { width: 40px; height: 40px; padding: 0; }
.legend strong { font-weight: 700; }
@media (min-width: 900px) { .try-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }

.phone { width: min(340px, 100%); margin-inline: auto; border-radius: 52px; background: #0e1410; padding: 10px; box-shadow: var(--shadow), 0 0 0 2px rgba(21, 33, 26, 0.08); }
.screen { position: relative; border-radius: 43px; background: var(--kertas); overflow: hidden; display: flex; flex-direction: column; min-height: 560px; padding: 18px 18px 14px; color: var(--dakwat); --redup: #66736a; }
.screen::before { content: ""; align-self: center; width: 96px; height: 26px; border-radius: 16px; background: #0e1410; margin-bottom: 12px; }
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.8125rem; }
.pill { background: var(--kabus); border-radius: 20px; padding: 6px 12px; font-weight: 600; font-size: 0.8125rem; display: inline-flex; gap: 6px; align-items: center; }
.pill--bin { background: var(--buang-muda); color: var(--buang-ink); }
.pill svg { width: 15px; height: 15px; }
.deck { position: relative; flex: 1; margin-top: 12px; min-height: 360px; touch-action: pan-y; outline-offset: 4px; }
.card { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 10px 24px -14px rgba(21, 33, 26, 0.5); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s; user-select: none; -webkit-user-select: none; touch-action: none; will-change: transform; }
.card.is-top { cursor: grab; }
.card.is-dragging { transition: none; cursor: grabbing; }
.card[data-depth="1"] { transform: scale(0.95) translateY(12px); }
.card[data-depth="2"] { transform: scale(0.9) translateY(24px); }
.card[data-depth="3"], .card[data-depth="4"] { transform: scale(0.9) translateY(24px); opacity: 0; pointer-events: none; }
.card .meta { position: absolute; inset-inline: 0; bottom: 0; padding: 44px 16px 14px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.6)); font-size: 0.8125rem; }
.card .meta b { display: block; font-size: 0.9375rem; }
.photo--a { background: #1b1b1b url(/img/demo/photo-a.webp) center / cover no-repeat; }
.photo--b { background: #1b1b1b url(/img/demo/photo-b.webp) center / cover no-repeat; }
.photo--c { background: #1b1b1b url(/img/demo/photo-c.webp) center / cover no-repeat; }
.photo--d { background: #1b1b1b url(/img/demo/photo-d.webp) center / cover no-repeat; }
.photo--e { background: #1b1b1b url(/img/demo/photo-e.webp) center / cover no-repeat; }
.stamp { position: absolute; top: 22px; padding: 6px 12px; border-radius: 12px; border: 3px solid; font-family: var(--display); font-weight: 800; font-size: 1.375rem; opacity: 0; background: rgba(255, 255, 255, 0.92); letter-spacing: 0; }
.stamp--del { right: 16px; color: var(--buang-ink); border-color: var(--buang); transform: rotate(10deg); }
.stamp--keep { left: 16px; color: var(--link); border-color: var(--c-pandan); transform: rotate(-10deg); }
.stamp--fav { left: 50%; top: auto; bottom: 84px; transform: translateX(-50%); color: #8a5a00; border-color: var(--emas); }
.deck-empty { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 20px; border-radius: 26px; background: var(--kabus); }
.deck.is-empty .deck-empty { display: flex; }
.deck-empty b { font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.02em; }
.actions { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 14px 0 6px; }
.act { border: 1px solid var(--garis); border-radius: 50%; display: grid; place-items: center; background: var(--kertas); box-shadow: 0 4px 14px -6px rgba(21, 33, 26, 0.4); transition: transform 0.15s; }
.act:active { transform: scale(0.92); }
.act svg { width: 24px; height: 24px; }
.act--l { width: 62px; height: 62px; }
.act--s { width: 48px; height: 48px; }
.act--del { color: var(--buang-ink); }
.act--keep { color: var(--link); }
.act--fav { color: #a86d00; }
.act--undo { color: var(--redup); }
.demo-hint { text-align: center; font-size: 0.75rem; color: var(--redup); padding-top: 2px; }
.demo-note { text-align: center; margin-top: 16px; font-size: 0.875rem; color: var(--redup); }

/* ---------- Seksyen ---------- */
.section { padding-block: clamp(56px, 9vw, 112px); }
.section-head { max-width: 40rem; margin-bottom: clamp(28px, 5vw, 56px); }
.section-head .lede { margin-top: 16px; }
.section-head--art { max-width: none; display: grid; gap: 24px; align-items: center; }
.section-head--art > div:first-child { max-width: 40rem; }
.head-art picture, .head-art img { width: min(100%, 280px); margin-inline: auto; }
@media (min-width: 900px) {
  .section-head--art { grid-template-columns: 1fr 300px; gap: 48px; }
}

/* Cara ia berfungsi */
.steps { list-style: none; padding: 0; display: grid; gap: 20px; counter-reset: s; }
.step { position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--card); border-radius: 30px; padding: 20px 22px 26px; box-shadow: var(--shadow); }
.step-art { display: grid; place-items: center; background: var(--tint); border-radius: 22px; padding: 12px; margin-bottom: 8px; }
.step-art picture, .step-art img { width: min(100%, 200px); }
@media (min-width: 900px) { .step-art picture, .step-art img { width: min(100%, 240px); } }
.step-num { position: absolute; top: 30px; left: 30px; width: 44px; height: 44px; padding: 0; font-family: var(--display); font-size: 1.375rem; box-shadow: 0 4px 10px -4px rgba(21, 33, 26, 0.5); }
.step h3 { font-size: clamp(1.75rem, 3.2vw, 2.25rem); letter-spacing: -0.03em; }
.step p { color: var(--redup); }
.step p strong { color: var(--dakwat); font-weight: 700; }
.step-extra { margin-top: 28px; max-width: 60ch; color: var(--redup); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Kategori */
.cats { list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.cat { background: var(--card); border-radius: 26px; padding: 20px; box-shadow: var(--shadow); }
.cat-art { width: 112px; height: 112px; display: grid; place-items: center; border-radius: 28px; background: var(--tint); margin-bottom: 14px; }
.cat-art picture, .cat-art img { width: 88%; }
.cat h3 { margin-bottom: 6px; }
.cat p { color: var(--redup); }
.later { margin-top: clamp(40px, 6vw, 64px); }
.later h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1.375rem; }
.later-lead { margin-top: 8px; color: var(--redup); max-width: 60ch; }
.cats--later { margin-top: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cat--later { background: transparent; box-shadow: none; border: 2px dashed var(--redup); display: grid; grid-template-columns: 76px 1fr; column-gap: 16px; align-items: center; padding: 16px; }
.cat--later .cat-art { width: 76px; height: 76px; border-radius: 22px; margin: 0; grid-row: span 2; background: var(--card); }
.cat--later h3 { font-size: 1.125rem; margin: 0 0 2px; align-self: end; }
.cat--later p { align-self: start; font-size: 0.9688rem; }

/* Keselamatan */
.safe-grid { display: grid; gap: 40px; }
.safe-list { list-style: none; padding: 0; display: grid; gap: 12px; align-content: start; }
.safe-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 18px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); align-items: start; }
.safe-list .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.safe-list .ico svg { width: 24px; height: 24px; }
.safe-list b { font-weight: 700; }
.safe-list li > div > span { color: var(--redup); display: block; }
.head-art--left { margin: 8px 0 20px; }
.head-art--left picture, .head-art--left img { margin-inline: 0; width: min(100%, 260px); }
.callout { display: grid; grid-template-columns: 28px 1fr; gap: 12px; background: var(--tint); color: var(--dakwat); border: 2px solid var(--accent); border-radius: 22px; padding: 16px 18px; margin-top: 12px; font-size: 0.9688rem; }
.callout svg { width: 24px; height: 24px; }
.callout b { display: block; }
@media (min-width: 900px) { .safe-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }

/* Privasi */
.priv-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.priv-list li { background: var(--card); border-radius: 26px; padding: 22px 24px; box-shadow: var(--shadow); }
.priv-list h3 { font-size: 1.25rem; margin-bottom: 6px; }
.priv-list p { color: var(--redup); }
.priv-link { margin-top: 36px; }
@media (min-width: 760px) { .priv-list { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* Harga */
.plans { display: grid; gap: 20px; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr) 132px; align-content: start; background: var(--card); border-radius: 32px; padding: 28px; box-shadow: var(--shadow); }
.plan > * { grid-column: 1 / -1; }
.plan-art { grid-column: 2; grid-row: 1 / span 2; width: 132px; margin: -10px -8px 0 0; }
.plan h3 { grid-column: 1; grid-row: 1; font-size: 1.75rem; align-self: end; }
.plan .price-line { grid-column: 1; grid-row: 2; margin-top: 8px; color: var(--redup); }
.plan ul { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.plan li svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--c-pandan); color: var(--ink); margin-top: 1px; }
.plan--pro { background: linear-gradient(160deg, #1faf5a 0%, #4fcb85 100%); color: var(--ink); --redup: var(--ink); }
.plan--pro li svg { background: #ffffff; }
.plan-later { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.6); font-size: 0.9375rem; }
.plan-later .chip { flex: none; }
.price-rows { margin-top: 20px; display: grid; gap: 10px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #ffffff; color: var(--ink); }
.price-row b { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; white-space: nowrap; }
.price-row small { display: block; color: #3e4a43; font-size: 0.8125rem; }
.badge { display: inline-block; background: var(--c-jingga); color: var(--ink); font-size: 0.75rem; font-weight: 700; border-radius: 999px; padding: 2px 10px; margin-inline-start: 8px; vertical-align: 2px; }
.pricing-note { margin-top: 24px; max-width: 64ch; color: var(--redup); }
@media (min-width: 800px) { .plans { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { max-width: 46rem; display: grid; gap: 12px; --redup: var(--redup-t); }
.faq details { background: var(--kabus); border-radius: 22px; padding-inline: 22px; --accent: var(--c-pandan); }
.faq details:nth-child(5n + 2) { --accent: var(--c-langit); }
.faq details:nth-child(5n + 3) { --accent: var(--c-gula); }
.faq details:nth-child(5n + 4) { --accent: var(--c-ungu); }
.faq details:nth-child(5n + 5) { --accent: var(--c-jingga); }
.faq summary { cursor: pointer; padding: 18px 48px 18px 0; font-weight: 700; font-size: 1.125rem; list-style: none; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding-bottom: 22px; color: var(--redup); max-width: 62ch; }
.faq .a p + p { margin-top: 10px; }

/* CTA */
.cta-section { padding-block: 0; background: linear-gradient(135deg, #1faf5a 0%, #4fcb85 60%, #86e3ad 100%); color: var(--ink); overflow: hidden; }
.cta { display: grid; gap: 24px; align-items: center; color: var(--ink); padding-block: clamp(40px, 7vw, 96px); }
.cta h2 { max-width: 16ch; }
.cta .lede { margin-top: 16px; color: var(--ink); }
.cta .stores { margin-top: 28px; }
.cta .store--soon { background: #ffffff; color: var(--ink); border-color: var(--ink); }
.cta .store--soon small { color: #3e4a43; }
.cta .btn { margin-top: 20px; }
.cta-more { margin-top: 16px; }
.cta a:not(.btn) { color: var(--ink); font-weight: 600; }
.cta-art { max-width: 380px; margin-inline: auto; width: 100%; }
@media (min-width: 900px) { .cta { grid-template-columns: 1.15fr 0.85fr; gap: 40px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--kabus); padding-block: 48px 40px; font-size: 0.9375rem; }
.foot-grid { display: grid; gap: 32px; }
.foot-grid h2 { font-family: var(--ui); font-size: 0.875rem; letter-spacing: 0; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: 0; }
.foot-grid ul a { color: var(--dakwat); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.foot-grid ul a:hover { text-decoration: underline; }
.foot-grid address { font-style: normal; color: var(--redup); }
.foot-grid address a { display: inline-flex; min-height: 44px; align-items: center; }
.foot-brand .logo { width: 32px; height: 32px; }
.foot-brand p { color: var(--redup); max-width: 32ch; margin-top: 10px; }
.legal-line { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--garis); color: var(--redup); font-size: 0.875rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } }

/* ---------- Halaman dokumen (privasi, terma, sokongan): tenang, boleh dibaca ---------- */
.doc { padding-block: clamp(20px, 4vw, 48px) clamp(56px, 8vw, 96px); }
.doc-head { display: grid; gap: 16px; align-items: center; background: var(--tint); border-radius: clamp(26px, 4vw, 40px); padding: clamp(22px, 4vw, 44px); --redup: var(--redup-t); }
.doc-head-copy { max-width: 46rem; }
.doc-head h1 { font-size: clamp(2.25rem, 6.5vw, 3.75rem); line-height: 1.02; letter-spacing: -0.03em; }
.doc-head .meta { margin-top: 14px; color: var(--redup); font-size: 0.9375rem; }
.doc-head .lede { margin-top: 18px; }
.doc-head-art { width: 112px; }
.doc-head-art img { width: 100%; }
@media (min-width: 640px) { .doc-head { grid-template-columns: minmax(0, 1fr) 150px; gap: 32px; } .doc-head-art { width: 150px; } }
.summary { margin-top: 20px; background: var(--tint); border-radius: var(--radius); padding: 20px 22px; max-width: 46rem; --redup: var(--redup-t); border-inline-start: 6px solid var(--accent); }
.summary h2 { font-family: var(--ui); font-size: 1rem; letter-spacing: 0; margin-bottom: 8px; }
.summary ul { padding-inline-start: 1.2em; display: grid; gap: 6px; }
.doc-layout { display: grid; gap: 32px; margin-top: 40px; }
.toc { font-size: 0.9375rem; }
.toc h2 { font-family: var(--ui); font-size: 0.875rem; letter-spacing: 0; margin-bottom: 8px; }
.toc ol { list-style: none; padding: 0; display: grid; gap: 0; }
.toc a { display: flex; align-items: center; min-height: 44px; padding-block: 4px; color: var(--redup); text-decoration: none; }
.toc a:hover { color: var(--dakwat); text-decoration: underline; }
.prose { max-width: 46rem; }
.prose section { padding-block: 8px 20px; }
.prose section::after { content: ""; display: block; clear: both; }
.prose h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-top: 28px; margin-bottom: 12px; letter-spacing: -0.02em; line-height: 1.15; }
.prose h3 { font-family: var(--ui); font-size: 1.0625rem; letter-spacing: 0; margin-top: 20px; margin-bottom: 6px; }
.prose p, .prose ul, .prose ol { margin-top: 12px; }
.prose ul, .prose ol { padding-inline-start: 1.25em; display: grid; gap: 8px; }
.prose li::marker { color: var(--redup); }
.prose strong { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 0.9688rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: start; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--garis); }
.prose th { font-weight: 600; background: var(--kabus); }
.sec-art { float: right; width: 96px; margin: 8px 0 8px 16px; }
.note { background: var(--kabus); border-radius: 14px; padding: 14px 16px; margin-top: 16px; font-size: 0.9688rem; }
.note--warn { background: var(--t-jingga); color: var(--dakwat); border: 2px solid var(--c-jingga); }
.contact-card { margin-top: 16px; background: var(--t-pandan); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 6px; --redup: var(--redup-t); }
.contact-card address { font-style: normal; }
@media (min-width: 960px) {
  .doc-layout { grid-template-columns: 230px minmax(0, 46rem); gap: 64px; align-items: start; }
  .toc { position: sticky; top: 24px; }
}

/* ---------- 404 ---------- */
.nf { padding-block: clamp(56px, 12vw, 140px); }
.nf p { margin-top: 16px; }
.nf .btn { margin-top: 28px; }
.nf-art { width: 160px; margin-bottom: 16px; }

/* ---------- Gerak ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.24s; }
  .hero-copy > *:nth-child(6) { animation-delay: 0.3s; }
  .hero-art img { animation: float 7s ease-in-out infinite; }
  .cta-art img { animation: float 8s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .toc, .skip, .doc-head-art, .sec-art { display: none; }
  body { font-size: 11pt; }
  .doc-head, .summary { background: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (prefers-color-scheme: dark) {
  .phone { background: #050805; box-shadow: 0 0 0 1px #34413a, var(--shadow); }
  .screen { background: #151c17; --redup: #97a39a; }
  .screen::before { background: #050805; }
  .act { background: #1d261f; }
  .stamp { background: rgba(21, 28, 23, 0.92); }
  .stamp--fav { color: var(--emas); }
  .logo { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
  .step-art, .cat-art { background: var(--tint); }
}

/* ---------- Blog ---------- */
.crumb { font-size: 0.9375rem; margin-bottom: 12px; }
.crumb a { color: var(--link); }
.post-cover { margin-top: 24px; }
.post-cover img, .post-fig img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.post-fig { margin-top: 22px; }
.post-fig figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--redup); }
.post-body { margin-top: 28px; }
.post-body p, .post-body li { font-size: 1.0625rem; line-height: 1.65; }
.post-body a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.post-body .btn { text-decoration: none; }
.post-highlight { margin-top: 18px; background: var(--tint); border-inline-start: 6px solid var(--accent); border-radius: var(--radius); padding: 16px 20px; color: var(--dakwat); }
.post-highlight p { margin: 0; font-weight: 500; }
.post-cta { margin-top: 28px; background: var(--tint); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 14px; justify-items: start; color: var(--dakwat); }
.post-cta p { margin: 0; font-weight: 600; }
.post-badge { margin-top: 16px; }
.post-list { list-style: none; padding: 0; display: grid; gap: 24px; margin-top: 32px; }
.post-card { display: grid; gap: 0; background: var(--tint); border-radius: var(--radius); overflow: hidden; color: var(--dakwat); --redup: var(--redup-t); }
.post-card-img img { width: 100%; height: auto; display: block; }
.post-card-body { padding: 20px 22px 24px; display: grid; gap: 10px; justify-items: start; }
.post-card-body h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.15; }
.post-card-body h2 a { color: inherit; text-decoration: none; }
.post-card-body h2 a:hover { text-decoration: underline; }
.post-card-body .meta { font-size: 0.9375rem; color: var(--redup); }
@media (min-width: 760px) {
  .post-card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
}

.store-badge--apple img { height: 48px; width: auto; }
.stores { align-items: center; }

/* ---------- Laman utama baharu: hero (cadangan A) dan laluan 4 langkah (cadangan C) ---------- */
.hero--a { padding-block: clamp(16px, 4vw, 48px) clamp(32px, 6vw, 72px); text-align: center; }
.hero--a .hero-copy { max-width: 64rem; margin-inline: auto; display: grid; justify-items: center; gap: 18px; }
.hero--a .hero-tag { margin-bottom: 0; }
.hero--a h1 { font-size: clamp(1.45rem, 6.8vw, 5rem); white-space: nowrap; }
.hero--a .lede { max-width: 40ch; }
.hero--a .lede { margin-top: 0; margin-inline: auto; max-width: 40ch; }
.hero--a .stores { margin-top: 8px; justify-content: center; }
.hero--a .hero-art { margin-top: clamp(20px, 4vw, 40px); max-width: min(460px, 82vw); }
.needs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.need { display: inline-flex; align-items: center; gap: 6px; background: var(--kabus); border-radius: 999px; padding: 4px 12px; font-size: 0.8125rem; font-weight: 600; }
.need svg { width: 16px; height: 16px; }
.quiet { color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }

.path { display: grid; gap: 16px; }
.rail { position: sticky; top: 0; z-index: 5; background: var(--kertas); padding-block: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); border-bottom: 1px solid var(--garis); }
.rail ol { list-style: none; padding: 0; display: flex; gap: 8px; }
.rail a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; text-decoration: none; color: var(--redup); font-weight: 600; font-size: 0.875rem; border-radius: 999px; }
.rail .num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--kabus); color: var(--dakwat); font-weight: 800; flex: none; }
.rail .lbl { display: none; }
.rail a[aria-current="step"] { color: var(--dakwat); }
.rail a[aria-current="step"] .num { background: var(--ink); color: #ffffff; }
.rail a[aria-current="step"] .lbl { display: inline; }
.rail a:focus-visible, .pdetails summary:focus-visible, .quiet:focus-visible { outline: 3px solid var(--c-pandan); outline-offset: 2px; }
.psteps { list-style: none; padding: 0; display: grid; gap: 20px; }
.pstep { background: var(--tint); color: var(--dakwat); --redup: var(--redup-t); border-radius: clamp(24px, 4vw, 36px); padding: clamp(20px, 4vw, 36px); display: grid; gap: 20px; align-items: center; scroll-margin-top: 72px; }
.pstep h3 { font-size: clamp(1.25rem, 5vw, 1.85rem); line-height: 1.1; margin-top: 10px; white-space: nowrap; }
.pstep-copy { container-type: inline-size; min-width: 0; }
@supports (font-size: 1cqw) { .pstep h3 { font-size: clamp(1.1rem, 5.9cqw, 1.85rem); } }
.pstep p { margin-top: 12px; max-width: 52ch; }
.pstep .stores { margin-top: 18px; }
.pstep-label { display: flex; align-items: center; gap: 8px; margin: 0 !important; font-weight: 700; font-size: 0.875rem; }
.pstep-art { max-width: 240px; width: 100%; margin-inline: auto; }
.pstep-art img { width: 100%; height: auto; }
.pstep-art .app-icon { border-radius: 26%; box-shadow: var(--shadow); }
.pstep .legend { margin-top: 18px; }
.price-one { font-weight: 600; background: #ffffff; border-radius: 16px; padding: 12px 14px; }
.pdetails { margin-top: 16px; }
.pdetails > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 18px; border-radius: 999px; background: var(--ink); color: #ffffff; font-weight: 700; cursor: pointer; list-style: none; }
.pdetails > summary::-webkit-details-marker { display: none; }
.pdetails > summary::after { content: "+"; font-weight: 800; }
.pdetails[open] > summary::after { content: "\2212"; }
.pdetails-body { margin-top: 14px; display: grid; gap: 14px; }
.mini-cats, .more-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.mini-cats li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; background: #ffffff; border-radius: 16px; padding: 10px 12px; }
.mini-cats li > span:last-child, .more-list li { display: grid; gap: 2px; }
.mini-art img { width: 52px; height: 52px; }
.later-line { margin-top: 0 !important; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.9375rem; }
.more-list li { background: #ffffff; border-radius: 16px; padding: 12px 14px; color: var(--dakwat); }
.pstep--demo .demo-wrap, .pstep--demo > div:last-child { min-width: 0; }
.safe-grid { list-style: none; padding: 0; display: grid; gap: 14px; }
.safe-card { background: var(--card); color: var(--dakwat); border-radius: 22px; padding: 18px 20px; box-shadow: var(--shadow); --redup: var(--redup-t); }
.safe-card h3 { font-family: var(--ui); font-size: 1.0625rem; letter-spacing: 0; line-height: 1.25; margin-top: 10px; }
.safe-card p { margin-top: 6px; color: var(--redup); font-size: 0.9688rem; }
.safe-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--c-pandan); color: var(--ink); display: grid; place-items: center; }
.safe-ico svg { width: 22px; height: 22px; }
#safety .pdetails { margin-top: 22px; }
#safety .pdetails-body { max-width: 46rem; }
@media (min-width: 640px) { .safe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mini-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 760px) {
  .pstep { grid-template-columns: minmax(0, 1fr) 240px; gap: 36px; }
  .pstep--demo { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
}
@media (min-width: 960px) {
  .path { grid-template-columns: 150px minmax(0, 1fr); gap: 40px; align-items: start; }
  .rail { top: 24px; align-self: start; border: 0; padding: 0; margin: 0; background: none; }
  .rail ol { flex-direction: column; gap: 6px; }
  .rail .lbl { display: inline; }
  .safe-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.pnum { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ink); color: #ffffff; font-weight: 800; font-size: 0.875rem; }
.pstep-art .app-icon { max-width: 128px; }
@media (min-width: 760px) { .pstep-art .app-icon { max-width: 192px; } }
.path-section { padding-top: clamp(32px, 6vw, 72px); }

.hero--a .hero-art--shot { max-width: 520px; padding-block: 8px; }
.hero--a .hero-art .hero-shot { position: relative; z-index: 1; width: min(290px, 62vw); height: auto; border-radius: 28px; box-shadow: var(--shadow); }
.hero--a .hero-art .hero-orb { position: absolute; z-index: 2; left: 2%; bottom: 6%; width: clamp(96px, 30%, 170px); }
.hero--a .hero-art .hero-orb picture, .hero--a .hero-art .hero-orb img { width: 100%; height: auto; }
.shot-note { margin-top: 12px; max-width: 40ch; margin-inline: auto; }
.path-section .section-head { max-width: none; }
.path-section .section-head h2 { font-size: clamp(1.5rem, 3.9vw, 3rem); }
@media (min-width: 560px) { .path-section .section-head h2 { white-space: nowrap; } }

.foot-grid .publisher a { display: inline-flex; min-height: 44px; align-items: center; color: var(--link); font-weight: 600; text-underline-offset: 3px; }
#faq .section-head { margin-inline: auto; text-align: center; }
#faq .faq { margin-inline: auto; }
.post-body .post-badge { display: inline-block; vertical-align: top; margin-top: 16px; margin-right: 12px; }
.post-body .post-cta .btn--primary { color: #ffffff; }
