/* FamaBooth website — profesional, berwarna, terorganisir.
   Aturan: semua warna & font lewat token :root; satu warna aksen per bagian; tanpa label huruf kapital berjarak. */
@font-face { font-family: "Jakarta"; src: url("/site/fonts/jakarta.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --blue: #016eb3; --blue-ink: #014f82; --blue-soft: #e6f1fa;
  --coral: #ff6b5b; --coral-soft: #fff0ee;
  --sun: #ffc53d; --sun-soft: #fff7e0;
  --violet: #7c5cff; --violet-soft: #f1edff;
  --mint: #2ec4a0; --mint-soft: #e5f8f3;
  --ink: #0f1729; --text: #2b3445; --muted: #5d6779; --line: #e7e9ef;
  --bg: #ffffff; --surface: #f7f8fb; --card: #ffffff;
  --shadow: 0 1px 2px rgba(15, 23, 41, .06), 0 12px 32px -12px rgba(15, 23, 41, .16);
  --radius: 18px; --radius-sm: 12px;
  --max: 1180px; --gutter: clamp(16px, 4vw, 40px);
  --ph-a: #eef1f6; --ph-b: #e4e8f0; --ph-ink: #8a93a6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blue: #3a9be0; --blue-ink: #8cc8f2; --blue-soft: #0f2a40;
    --coral-soft: #3a1f1d; --sun-soft: #3a3016; --violet-soft: #251f45; --mint-soft: #123a31;
    --ink: #f2f4f8; --text: #d5dae4; --muted: #9aa3b5; --line: #262c39;
    --bg: #0c111b; --surface: #121927; --card: #151d2c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .6);
    --ph-a: #161e2d; --ph-b: #1b2537; --ph-ink: #6d7891;
  }
}
:root[data-theme="dark"] {
  --blue: #3a9be0; --blue-ink: #8cc8f2; --blue-soft: #0f2a40;
  --coral-soft: #3a1f1d; --sun-soft: #3a3016; --violet-soft: #251f45; --mint-soft: #123a31;
  --ink: #f2f4f8; --text: #d5dae4; --muted: #9aa3b5; --line: #262c39;
  --bg: #0c111b; --surface: #121927; --card: #151d2c;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .6);
  --ph-a: #161e2d; --ph-b: #1b2537; --ph-ink: #6d7891;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -.022em; margin: 0; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 750; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 720; }
h3 { font-size: 20px; font-weight: 680; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; transition: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }

/* --- tombol --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent; font: 650 16px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px var(--blue); }
.btn.primary:hover { background: var(--blue-ink); }
:root[data-theme="dark"] .btn.primary:hover { background: #2a86c9; }
.btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--muted); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* --- header --- */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 15.5px; }
.nav a:hover { background: var(--surface); color: var(--ink); }
.top .end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink); cursor: pointer; font: 650 13px/1 var(--font); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
@media (max-width: 920px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 16px;
    background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-grid; }
  .top .login { display: none; }
}
@media (max-width: 520px) { .top .dl { display: none; } }

/* --- section dasar --- */
section { padding: clamp(72px, 9vw, 120px) 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 + p { margin-top: 16px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.tint-blue { background: var(--blue-soft); }
.tint-mint { background: var(--mint-soft); }
.tint-sun { background: var(--sun-soft); }
.tint-violet { background: var(--violet-soft); }
.tint-surface { background: var(--surface); }

/* --- hero --- */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 96px); }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 .hl { color: var(--blue); }
.hero .lead { margin-top: 20px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .note { margin-top: 16px; font-size: 15px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero .note svg { width: 18px; height: 18px; color: var(--mint); flex: none; }
.hero-visual { position: relative; }
.hero-visual .ph { aspect-ratio: 4 / 5; border-radius: 28px; }
.hero-visual .shot { position: absolute; left: -14%; bottom: -6%; width: 84%; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--card);
  box-shadow: var(--shadow); font-size: 14px; font-weight: 650; color: var(--ink); }
.chip i { width: 10px; height: 10px; border-radius: 99px; }
.chip.c1 { top: 8%; right: -4%; } .chip.c1 i { background: var(--coral); }
.chip.c2 { top: 42%; right: -8%; } .chip.c2 i { background: var(--mint); }
@media (max-width: 920px) {
  .hero .grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 520px; margin: 8px auto 40px; width: 100%; }
  .hero-visual .shot { left: -4%; }
  .chip.c1 { right: 2%; } .chip.c2 { right: 0; }
}

/* --- placeholder foto (diisi file asli di /site/img/foto/) --- */
.ph { position: relative; overflow: hidden; border-radius: var(--radius); background:
  repeating-linear-gradient(135deg, var(--ph-a) 0 14px, var(--ph-b) 14px 28px); display: grid; place-items: center; }
.ph > span { font-size: 13px; color: var(--ph-ink); padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ph.has-img > span { display: none; }
.ph.has-img:hover img { transform: scale(1.025); }

/* --- tiga alasan --- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why article { padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.why .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; }
.why .ic svg { width: 26px; height: 26px; }
.why p { margin-top: 10px; color: var(--muted); }
.ic.blue { background: var(--blue-soft); color: var(--blue); }
.ic.coral { background: var(--coral-soft); color: var(--coral); }
.ic.sun { background: var(--sun-soft); color: #b77c00; }
.ic.violet { background: var(--violet-soft); color: var(--violet); }
.ic.mint { background: var(--mint-soft); color: #128a6e; }
:root[data-theme="dark"] .ic.sun { color: var(--sun); } :root[data-theme="dark"] .ic.mint { color: var(--mint); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ic.sun { color: var(--sun); } :root:not([data-theme="light"]) .ic.mint { color: var(--mint); } }
@media (max-width: 860px) { .why { grid-template-columns: minmax(0, 1fr); } }

/* --- split (teks + visual) --- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split .ph { aspect-ratio: 3 / 2; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.checks svg { width: 24px; height: 24px; color: var(--mint); margin-top: 2px; }
.checks b { color: var(--ink); font-weight: 650; display: block; }
.checks span { color: var(--muted); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split.rev > :first-child { order: 0; } }

/* --- fitur (tab dengan tangkapan layar asli) --- */
.feat { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.feat-list { display: grid; gap: 8px; }
.feat-list button { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; text-align: left; padding: 16px; border-radius: var(--radius-sm);
  border: 1px solid transparent; background: transparent; cursor: pointer; font: inherit; color: var(--text); transition: background-color .15s ease, border-color .15s ease; }
.feat-list button:hover { background: var(--card); }
.feat-list button[aria-selected="true"] { background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.feat-list .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin: 0; }
.feat-list .ic svg { width: 22px; height: 22px; }
.feat-list b { color: var(--ink); display: block; font-weight: 680; }
.feat-list span.t { font-size: 15px; color: var(--muted); }
.feat-view { position: sticky; top: 96px; }
.feat-view img { width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #181a20; }
.feat-view img[hidden] { display: none; }
@media (max-width: 920px) { .feat { grid-template-columns: minmax(0, 1fr); } .feat-view { position: static; order: -1; } }
.more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.more div { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line);
  font-size: 15.5px; color: var(--ink); font-weight: 560; }
.more svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 980px) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .more { grid-template-columns: minmax(0, 1fr); } }

/* --- langkah --- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; padding: 0; margin: 0; }
.steps li { list-style: none; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  font-weight: 750; color: #fff; margin-bottom: 18px; }
.steps li:nth-child(1)::before { background: var(--blue); }
.steps li:nth-child(2)::before { background: var(--coral); }
.steps li:nth-child(3)::before { background: var(--mint); }
.steps p { margin-top: 8px; color: var(--muted); }
.steps-wrap { display: grid; gap: 28px; }
.steps-wrap .ph { aspect-ratio: 21 / 8; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); padding: 0; } .steps-wrap .ph { aspect-ratio: 4 / 3; } }

/* --- acara (galeri foto) --- */
.events { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; }
.events .ph:first-child { grid-row: span 2; aspect-ratio: auto; min-height: 420px; }
.events .ph { aspect-ratio: 16 / 10; }
.events figure { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tags span { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.tags span:nth-child(5n+1) { background: var(--blue-soft); color: var(--blue); }
.tags span:nth-child(5n+2) { background: var(--coral-soft); color: #c4402f; }
.tags span:nth-child(5n+3) { background: var(--sun-soft); color: #8a5d00; }
.tags span:nth-child(5n+4) { background: var(--violet-soft); color: var(--violet); }
.tags span:nth-child(5n+5) { background: var(--mint-soft); color: #0f7a61; }
:root[data-theme="dark"] .tags span { color: var(--ink) !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tags span { color: var(--ink) !important; } }
@media (max-width: 760px) { .events { grid-template-columns: minmax(0, 1fr); } .events .ph:first-child { min-height: 0; aspect-ratio: 4 / 3; grid-row: auto; } }

/* --- harga --- */
.toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); gap: 4px; margin-top: 24px; }
.toggle button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: 650 15px/1 var(--font); color: var(--muted); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.toggle .save { margin-left: 6px; padding: 3px 8px; border-radius: 999px; background: var(--sun); color: #3d2a00; font-size: 12.5px; }
.trial { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius); background: var(--card); border: 1px dashed var(--mint);
  margin: 0 auto 28px; max-width: 760px; }
.trial svg { width: 28px; height: 28px; color: var(--mint); flex: none; }
.trial b { color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); position: relative; }
.plan.rec { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -13px; left: 30px; padding: 5px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 650; }
.plan .bar { width: 44px; height: 6px; border-radius: 99px; margin-bottom: 20px; }
.plan:nth-child(1) .bar { background: var(--mint); } .plan:nth-child(2) .bar { background: var(--blue); } .plan:nth-child(3) .bar { background: var(--violet); }
.plan .for { color: var(--muted); font-size: 15px; margin-top: 6px; min-height: 48px; }
.plan .old { margin-top: 22px; min-height: 22px; color: var(--muted); font-size: 15px; }
.plan .old s { color: #d23c2c; text-decoration-color: #d23c2c; }
.plan .price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan .price b { font-size: clamp(32px, 3.4vw, 40px); font-weight: 760; color: var(--ink); letter-spacing: -.02em; }
.plan .price span { color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; flex: 1; }
.plan li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 15.5px; }
.plan li svg { width: 20px; height: 20px; color: var(--mint); margin-top: 2px; }
.plan .btn { width: 100%; }
.addon { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; margin-top: 20px; padding: 22px 26px;
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.addon b { color: var(--ink); }
.fine { margin-top: 18px; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 920px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; } }

/* --- testimoni (masih kosong) --- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { padding: 28px; border-radius: var(--radius); border: 1.5px dashed var(--line); background: var(--card); min-height: 200px; display: flex;
  flex-direction: column; justify-content: space-between; }
.quote .lines i { display: block; height: 12px; border-radius: 99px; background: var(--surface); margin-bottom: 10px; }
.quote .lines i:nth-child(2) { width: 86%; } .quote .lines i:nth-child(3) { width: 64%; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote .who i { width: 40px; height: 40px; border-radius: 99px; background: var(--surface); }
.quote .who span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .quotes { grid-template-columns: minmax(0, 1fr); } .quote:nth-child(n+2) { display: none; } }

/* --- FAQ --- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 650; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform .2s ease; color: var(--muted); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* --- kontak --- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); }
.ways { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ways li { display: flex; gap: 14px; align-items: center; }
.ways .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.ways .ic svg { width: 21px; height: 21px; }
.ways small { display: block; color: var(--muted); font-size: 14px; }
.ways a, .ways b { color: var(--ink); font-weight: 650; text-decoration: none; }
form.card { padding: clamp(22px, 3vw, 32px); border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
label { display: grid; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
input, select, textarea { width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-msg { font-size: 15px; min-height: 22px; }
.form-msg.ok { color: #0f7a61; } .form-msg.err { color: #c4402f; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .row2 { grid-template-columns: minmax(0, 1fr); } }

/* --- ajakan akhir --- */
.final { text-align: center; padding: clamp(56px, 7vw, 88px) var(--gutter); border-radius: 32px; background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.final h2 { color: #fff; max-width: 18ch; margin: 0 auto; }
.final p { color: rgba(255, 255, 255, .86); margin: 16px auto 0; max-width: 52ch; }
.final .cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.final .btn.primary { background: #fff; color: var(--blue-ink); box-shadow: none; }
.final .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.final .dots i { position: absolute; border-radius: 999px; opacity: .9; }
.final .dots i:nth-child(1) { width: 120px; height: 120px; background: var(--coral); left: -40px; top: -40px; }
.final .dots i:nth-child(2) { width: 70px; height: 70px; background: var(--sun); right: 8%; top: -30px; }
.final .dots i:nth-child(3) { width: 140px; height: 140px; background: var(--mint); right: -50px; bottom: -60px; }
.final .dots i:nth-child(4) { width: 46px; height: 46px; background: var(--violet); left: 12%; bottom: 18px; }
:root[data-theme="dark"] .final { background: #0b4f80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .final { background: #0b4f80; } }

/* --- footer --- */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: clamp(72px, 9vw, 120px); }
footer .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
footer h3 { font-size: 15px; margin-bottom: 14px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a { color: var(--muted); text-decoration: none; font-size: 15px; }
footer a:hover { color: var(--ink); }
footer .copy { margin-top: 40px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } footer .cols > :first-child { grid-column: 1 / -1; } }

/* --- halaman sederhana (download, legal) --- */
.page-head { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(28px, 4vw, 40px); }
.page-head p { margin-top: 14px; }
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dl-card { padding: 32px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.dl-card .os { display: flex; align-items: center; gap: 14px; }
.dl-card .os svg { width: 40px; height: 40px; }
.dl-card ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.dl-card .btn { align-self: flex-start; margin-top: auto; }
.notice { padding: 18px 22px; border-radius: var(--radius-sm); background: var(--sun-soft); color: var(--ink); margin-bottom: 24px; }
.notice[hidden] { display: none; }
.how { counter-reset: h; display: grid; gap: 14px; padding: 0; margin: 16px 0 0; }
.how li { list-style: none; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.how li::before { counter-increment: h; content: counter(h); width: 30px; height: 30px; border-radius: 99px; background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; font-weight: 700; font-size: 14px; }
@media (max-width: 760px) { .dl-grid { grid-template-columns: minmax(0, 1fr); } }
.legal { max-width: 760px; padding-bottom: 40px; }
.legal h2 { font-size: 24px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--text); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }

/* --- gerak masuk (hanya bila JS aktif & gerak tidak dikurangi) --- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .btn:hover, .ph img, .faq summary svg { transition: none; transform: none; }
}
