/* rameyuk design system -- token dari Pencil (rameyuk.pen), komponen dari mockup docs/mockup. */
:root {
  --bg: #EEEEF0; --surface: #FFFFFF; --surface-2: #F5F5F7; --ink: #111113; --text-2: #55555C;
  --text-3: #6E6E76; --line: #E4E4E8; --accent: #7C6CF5; --accent-ink: #5B4BD8; --accent-soft: #EDEAFE;
  --green: #16A34A; --green-soft: #DCFCE7; --red: #DC2626; --red-soft: #FEE2E2; --amber: #B45309;
  --amber-soft: #FEF3C7;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 28px; --pill: 999px;
  --shadow: 0 1px 2px rgba(17, 17, 19, .04), 0 12px 32px rgba(17, 17, 19, .06);
  --shadow-lg: 0 24px 64px rgba(17, 17, 19, .18);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --font: Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: 16px; --wrap: 1140px; --nav-h: 76px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: none; scroll-behavior: smooth; scroll-padding-top: 96px;
}
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font);
  font-feature-settings: "cv11", "ss01"; min-height: 100svh; display: flex; flex-direction: column;
}
main { flex: 1; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; font-size: 16px; color: inherit; }      /* 16px: iOS tidak zoom */
h1, h2, h3, h4 { margin: 0; letter-spacing: -.025em; line-height: 1.12; }
p { margin: 0; }
[x-cloak] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent-soft); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 15px; height: 15px; } .ic-lg { width: 22px; height: 22px; }
.muted { color: var(--text-2); } .faint { color: var(--text-3); } .green { color: var(--green); }
.red { color: var(--red); } .accent { color: var(--accent-ink); }
.small { font-size: 13px; } .xs { font-size: 12px; } .num { font-variant-numeric: tabular-nums; }
.mono { font-family: "JetBrains Mono", SFMono-Regular, Menlo, Consolas, monospace; }
.row { display: flex; align-items: center; gap: 10px; } .between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; } .gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; }
.gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .grow { flex: 1; min-width: 0; } .wrap-text { overflow-wrap: anywhere; }
.trunc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }

/* -- tipografi -------------------------------------------------------------------------- */
.display { font-size: clamp(34px, 6vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 750; }
.h3 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.lead { font-size: 16px; color: var(--text-2); line-height: 1.6; }
.label { font-weight: 600; font-size: 14px; }
.big-num { font-size: clamp(32px, 5vw, 44px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }

/* -- tombol ----------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 0 20px; border-radius: var(--pill); border: 1px solid transparent; font-weight: 600;
  font-size: 15px; white-space: nowrap; touch-action: manipulation; user-select: none;
  -webkit-user-select: none; transition: transform 140ms var(--ease-out), background 140ms, opacity 140ms;
}
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: var(--surface); border-color: var(--line); }
.btn-soft { background: var(--surface-2); }
.btn-ghost { background: transparent; }
.btn-white { background: #fff; color: var(--ink); }
.btn-lg { min-height: 56px; font-size: 16px; padding: 0 24px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-go { justify-content: space-between; padding-right: 6px; }
.btn-go .go { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; }
.btn-lg.btn-go .go { width: 46px; height: 46px; }
.btn-icon { width: 44px; min-height: 44px; padding: 0; }
.link { color: var(--accent-ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .btn-dark:hover:not(:disabled) { background: #26262b; }
  .btn-light:hover:not(:disabled), .btn-soft:hover:not(:disabled) { background: #ececef; }
  .btn-ghost:hover { background: rgba(17, 17, 19, .05); }
  .link:hover { text-decoration: underline; }
}
.spin { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* -- kartu, chip, badge ------------------------------------------------------------------ */
.card { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 24px; }
.card-soft { background: var(--surface-2); border-radius: var(--r-lg); padding: 20px 24px; }
.card-dark { background: linear-gradient(160deg, #2a2a30 0%, #111113 55%); color: #fff; border-radius: var(--r-xl);
  padding: 24px; box-shadow: var(--shadow); }
.card-dark .muted, .card-dark .faint { color: rgba(255, 255, 255, .62); }
@media (min-width: 768px) { .card, .card-dark { padding: 32px; } }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--pill);
  font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.badge.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-green { background: var(--green-soft); color: var(--green); }
.b-accent { background: var(--accent-soft); color: var(--accent-ink); }
.b-red { background: var(--red-soft); color: var(--red); }
.b-amber { background: var(--amber-soft); color: var(--amber); }
.b-solid { background: var(--accent); color: #fff; }
.b-dark { background: rgba(255, 255, 255, .14); color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; background: var(--surface);
  border-radius: var(--pill); font-size: 13px; font-weight: 500; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: var(--r-md);
  font-size: 14px; }
.note-green { background: var(--green-soft); color: #166534; }
.note-accent { background: var(--accent-soft); color: var(--accent-ink); }
.note-red { background: var(--red-soft); color: #991B1B; }
.note-amber { background: var(--amber-soft); color: #92400E; }
.note .ic { margin-top: 2px; }
.pf { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.pf-lg { width: 56px; height: 56px; border-radius: 50%; }
.pf-tiktok { background: var(--ink); color: #fff; } .pf-ig { background: var(--accent-soft); color: var(--accent); }
.pf-ighemat { background: var(--surface-2); color: var(--ink); } .pf-yt { background: var(--red-soft); color: var(--red); }
/* logo resmi Instagram & YouTube (thesvg.org, varian default): logonya sendiri yang mengisi kotak, tanpa latar */
.pf.pf-logo, .pk.dark .pf.pf-logo, .pkg-opt[aria-checked="true"] .pf.pf-logo { background: none; }
.pf-logo > .ic { width: 85%; height: 85%; }

/* -- form ------------------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.input {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px; border-radius: var(--r-md);
  background: var(--surface-2); border: 1.5px solid transparent; transition: border-color 140ms, background 140ms;
}
.input:focus-within { border-color: var(--accent); background: #fff; }
.input.bad { border-color: var(--red); }
.input input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; padding: 14px 0; }
.input .ic { color: var(--text-3); }
.hint { font-size: 13px; color: var(--text-3); }
.err { font-size: 13px; color: var(--red); }
.seg { display: inline-flex; padding: 4px; background: rgba(17, 17, 19, .06); border-radius: var(--pill); }
.seg button { border: 0; background: transparent; padding: 8px 18px; border-radius: var(--pill); font-weight: 600;
  font-size: 14px; color: var(--text-2); touch-action: manipulation; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.opt { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-md);
  background: var(--surface-2); border: 2px solid transparent; text-align: left; width: 100%;
  transition: border-color 140ms, background 140ms; }
.opt[aria-checked="true"] { border-color: var(--ink); background: #fff; }
.opt .radio { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: #fff; flex: none; }
.opt[aria-checked="true"] .radio { border: 7px solid var(--ink); }
.opt:disabled { opacity: .55; cursor: not-allowed; }
.qty { display: flex; align-items: center; justify-content: space-between; background: var(--surface-2);
  border-radius: var(--r-md); padding: 6px; }
.qty input { width: 100%; border: 0; background: transparent; text-align: center; font-size: 22px; font-weight: 700;
  outline: 0; font-variant-numeric: tabular-nums; }
.qty button { width: 44px; height: 44px; border: 0; border-radius: 12px; background: #fff; display: grid;
  place-items: center; flex: none; touch-action: manipulation; }
.qty button:active { transform: scale(.95); }
.pick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pick button { min-height: 48px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff;
  font-weight: 600; touch-action: manipulation; position: relative; }
.pick button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pick .tag { position: absolute; top: -9px; left: -4px; font-size: 11px; padding: 1px 6px; border-radius: 6px;
  background: var(--green); color: #fff; font-weight: 700; }
.pick.amt { row-gap: 16px; } .pick.amt button { min-height: 64px; padding: 8px 4px; }
.amt-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.amt-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1100px) { .amt-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp input { height: 60px; text-align: center; font-size: 24px; font-weight: 700; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--surface-2); outline: 0; min-width: 0; }
.otp input:focus { border-color: var(--accent); background: #fff; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* -- daftar & tabel ------------------------------------------------------------------- */
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; }
.kv > :first-child { color: var(--text-2); }
.kv > :last-child { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.rule { height: 1px; background: var(--line); border: 0; margin: 16px 0; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 13px; font-weight: 500; color: var(--text-3); padding: 0 12px 14px 0;
  border-bottom: 1px solid var(--line); }
.table td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .r { text-align: right; padding-right: 0; }
@media (max-width: 767px) {
  .table.stack-sm thead { display: none; }
  .table.stack-sm tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0;
    border-bottom: 1px solid var(--line); }
  .table.stack-sm td { border: 0; padding: 0; }
  .table.stack-sm .hide-sm { display: none; }
}
.empty { padding: 32px 0; text-align: center; color: var(--text-3); }
.skeleton { background: linear-gradient(90deg, #ececef 25%, #f6f6f8 50%, #ececef 75%); background-size: 200% 100%;
  animation: shimmer 1.2s infinite; border-radius: 8px; min-height: 16px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* -- progres & timeline ------------------------------------------------------------- */
.bar { height: 10px; border-radius: var(--pill); background: var(--surface-2); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: inherit; width: 0;
  background: linear-gradient(90deg, #7C6CF5, #A79BFF); transition: width 600ms var(--ease-out); }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { position: relative; padding: 0 0 26px 52px; min-height: 40px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; background: var(--line); }
.tl li:last-child::before { display: none; }
.tl li.done::before { background: var(--green); }
.tl .dot { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--line); background: #fff; display: grid; place-items: center; }
.tl .done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.tl .now .dot { background: var(--accent); border-color: var(--accent); }
.tl .now .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.tl .warn .dot { background: var(--amber-soft); border-color: var(--amber); color: var(--amber); }
.tl b { display: block; font-weight: 600; }
.tl li:not(.done):not(.now):not(.warn) b { color: var(--text-2); font-weight: 500; }

/* -- navigasi --------------------------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px);
  background: rgba(238, 238, 240, .82); backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%); }
.nav .wrap { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.logo { color: var(--ink); display: inline-flex; }
.logo svg { width: 120px; height: 30px; }
.nav-links { display: none; gap: 4px; margin: 0 auto; }
.nav-links a { padding: 8px 14px; border-radius: var(--pill); color: var(--text-2); font-weight: 500; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-end { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-end .hide-sm { display: none; }
@media (min-width: 900px) {
  .nav-links { display: flex; } .nav-end { margin-left: 0; } .nav-end .hide-sm { display: inline-flex; }
  .logo svg { width: 147px; height: 36px; }
}
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--ink); background: rgba(17, 17, 19, .05); } }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; text-transform: uppercase; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #fff;
  border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 8px; transform-origin: top right;
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out); }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px;
  border-radius: 10px; border: 0; background: none; text-align: left; font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .menu a:hover, .menu button:hover { background: var(--surface-2); } }
.menu-enter, .menu-leave-to { opacity: 0; transform: scale(.96); }

.tabbar { position: fixed; z-index: 30; left: 50%; transform: translateX(-50%);
  bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 4px; padding: 6px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--pill); box-shadow: var(--shadow-lg); }
.tabbar a { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: var(--pill);
  color: var(--text-2); font-weight: 600; font-size: 14px; touch-action: manipulation; user-select: none; }
.tabbar a[aria-current="page"] { background: var(--ink); color: #fff; }
.tabbar a:not([aria-current="page"]) span { display: none; }
@media (min-width: 900px) { .tabbar { display: none; } }
@media (max-width: 899px) { body.has-tabbar main { padding-bottom: 100px; } }

/* -- modal ------------------------------------------------------------------------------ */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(17, 17, 19, .45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: end center; }
.sheet { width: 100%; max-width: 480px; background: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 28px 24px calc(24px + env(safe-area-inset-bottom, 0px)); max-height: 92dvh; overflow-y: auto;
  overscroll-behavior: contain; }
@media (min-width: 640px) {
  .scrim { place-items: center; } .sheet { border-radius: var(--r-xl); padding: 40px; }
}
.fade-enter, .fade-leave-to { opacity: 0; }
.fade-active { transition: opacity 200ms var(--ease-out); }
.sheet-active { transition: transform 280ms var(--ease-out), opacity 200ms; }
.sheet-from { transform: translateY(24px); opacity: 0; }
.x-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface-2); display: grid;
  place-items: center; flex: none; }

/* -- toast ------------------------------------------------------------------------------ */
.toasts { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); top: calc(16px + env(safe-area-inset-top, 0px));
  display: flex; flex-direction: column; gap: 8px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  font-size: 14px; display: flex; gap: 10px; align-items: center; pointer-events: auto; }
.toast.t-err { background: #7F1D1D; }
.toast-active { transition: transform 240ms var(--ease-out), opacity 240ms; }
.toast-from { transform: translateY(-12px); opacity: 0; }

/* -- label isi paket (ciri khas: gaya tabel nilai gizi) ------------------------------------ */
.nlabel { background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 6px;
  padding: 14px 14px 12px; font-variant-numeric: tabular-nums; }
.nl-title { display: block; font-size: 17px; font-weight: 900; letter-spacing: .01em; line-height: 1.15;
  text-transform: uppercase; }
.nl-serv { display: flex; justify-content: space-between; padding: 4px 0 6px; font-size: 12px; font-weight: 600; }
.nl-group { border-top: 4px solid var(--ink); }
.nl-group.nl-first { border-top-width: 8px; }
.nl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; font-size: 13px; }
.nl-row + .nl-row { border-top: 1px solid var(--ink); }
.nl-row span { font-weight: 500; }
.nl-row:first-child span { font-weight: 700; }
.nl-row b { font-weight: 700; text-align: right; }
.nl-row b.nl-muted { color: var(--text-3); }
.nl-foot { margin: 0; padding-top: 6px; border-top: 8px solid var(--ink); font-size: 11px; line-height: 1.45;
  color: var(--text-2); }

/* -- tata letak halaman --------------------------------------------------------------- */
.page { padding-top: 24px; padding-bottom: 64px; }          /* hanya vertikal: gutter dari .wrap */
@media (min-width: 768px) { .page { padding-top: 40px; padding-bottom: 96px; } }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 500; margin-bottom: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
  .split .side { position: sticky; top: calc(var(--nav-h) + 16px); } }
.grid-2, .grid-3, .grid-4 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 72px 0; } }

/* -- footer (mockup F1 / F1m) ---------------------------------------------------------- */
.footer { --ft-text: #E4E4E7; --ft-2: #A1A1AA; --ft-3: #8A8A93; --ft-line: #26262B;
  background: var(--ink); color: var(--ft-text); margin-top: 24px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 899px) { body.has-tabbar .footer { padding-bottom: 120px; } }
.ft-marquee { overflow: hidden; border-bottom: 1px solid var(--ft-line); }
.ft-track { display: flex; width: max-content; animation: ft-scroll 40s linear infinite; }
.ft-words { display: flex; align-items: center; gap: 28px; padding: 22px 28px 22px 0; flex: none; }
.ft-words span { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap; color: #F4F4F6; }
.ft-star { width: 22px; height: 22px; flex: none; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
@keyframes ft-scroll { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .ft-marquee:hover .ft-track { animation-play-state: paused; } }
@media (max-width: 699px) { .ft-words { gap: 18px; padding: 16px 18px 16px 0; } .ft-words span { font-size: 19px; } .ft-star { width: 16px; height: 16px; } }

.ft-body { padding-top: 56px; display: flex; flex-direction: column; gap: 32px; }
.ft-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
.ft-brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; max-width: 400px; }
.ft-brand p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--ft-2); }
.ft-logo { color: #fff; display: inline-flex; align-self: flex-start; }
.ft-logo svg { width: 147px; height: 36px; }
.ft-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ft-col a { font-size: 14px; font-weight: 500; color: var(--ft-text); text-decoration: none; padding: 2px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 200ms var(--ease-out); }
.ft-col a:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .ft-col a:hover { background-size: 100% 1px; } }
.ft-caps, .ft-brand .ft-caps { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ft-3); line-height: 1.5; }
@media (max-width: 899px) { .ft-help { order: 1; grid-column: 1 / -1; } }     /* HP: email panjang dapat satu baris penuh (F1m) */
@media (min-width: 900px) {
  .ft-cols { grid-template-columns: 400px repeat(3, minmax(0, 1fr)); gap: 48px; }
  .ft-brand { grid-column: auto; }
}
.ft-bottom { border-top: 1px solid var(--ft-line); padding-top: 28px; display: grid; gap: 8px 16px; align-items: center;
  grid-template-columns: 1fr auto; grid-template-areas: "copy up" "clock up" "aff aff"; }
.ft-copy { grid-area: copy; }
.ft-aff { grid-area: aff; font-size: 11.5px; line-height: 1.6; color: var(--ft-3); margin-top: 12px; }
.ft-clock { grid-area: clock; display: inline-flex; align-items: center; gap: 8px; color: var(--ft-2); font-variant-numeric: tabular-nums; }
.ft-clock i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.ft-up { grid-area: up; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3F3F46; background: transparent;
  color: #fff; display: grid; place-items: center; touch-action: manipulation; transition: transform 140ms var(--ease-out), border-color 140ms; }
.ft-up:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .ft-up:hover { border-color: #A1A1AA; } }
@media (min-width: 900px) {
  .ft-bottom { grid-template-columns: 1fr auto auto; grid-template-areas: "copy clock up" "aff clock up"; column-gap: 40px; }
  .ft-aff { margin-top: 0; }
}
/* muncul sekali saat footer terlihat (kelas dipasang app.js; tanpa JS langsung tampil) */
.ft-anim .ft-reveal { opacity: 0; transform: translateY(8px); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
.ft-anim .ft-reveal:nth-child(2) { transition-delay: 60ms; }
.ft-anim .ft-reveal:nth-child(3) { transition-delay: 120ms; }
.ft-anim .ft-reveal:nth-child(4) { transition-delay: 180ms; }
.ft-anim.ft-in .ft-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ft-track { animation: none; }
  .ft-anim .ft-reveal { opacity: 1; transform: none; transition: none; }
}

/* -- reduced motion ------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .tabbar, .paybar { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .scrim { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(17, 17, 19, .72); }
}
