/* ==========================================================
   Harianku Official Website — style.css
   Mobile-first. Tema: [data-theme="light" | "dark"] pada <html>.
   ========================================================== */

/* ---------- Design tokens ---------- */
:root {
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --primary: #7a5bc2;
  --primary-strong: #6544b0;
  --primary-soft: #ece6fa;
  --on-primary: #ffffff;
  --sun: #ffd57a;               /* titik kuning dari logo */

  --bg: #f8f6fd;
  --bg-2: #f1edfb;
  --card: #ffffff;
  --card-glass: rgba(255, 255, 255, .62);
  --border: rgba(122, 91, 194, .16);
  --border-strong: rgba(122, 91, 194, .28);
  --text: #1c1830;
  --text-2: #5a5573;
  --shadow: 0 1px 2px rgba(60, 40, 110, .06), 0 12px 32px -12px rgba(60, 40, 110, .18);
  --shadow-lg: 0 2px 4px rgba(60, 40, 110, .06), 0 30px 60px -24px rgba(60, 40, 110, .32);
  --blob-a: rgba(176, 150, 235, .45);
  --blob-b: rgba(255, 213, 122, .28);
  --ok: #2f9e6b;
  --warn: #e08a2e;
  --danger: #d9534f;

  --r-sm: .75rem;
  --r-md: 1.125rem;
  --r-lg: 1.75rem;
  --r-xl: 2.25rem;
  --pad: clamp(1rem, 4vw, 2rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --maxw: 75rem;
  --nav-h: 4.25rem;
  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --primary: #b9a2ee;
  --primary-strong: #cdbcf6;
  --primary-soft: rgba(185, 162, 238, .14);
  --on-primary: #17102b;

  --bg: #0f1020;
  --bg-2: #14152a;
  --card: #1a1b30;
  --card-glass: rgba(34, 35, 62, .56);
  --border: rgba(200, 185, 245, .12);
  --border-strong: rgba(200, 185, 245, .24);
  --text: #eeeaf8;
  --text-2: #a9a5c4;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .55);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 30px 60px -24px rgba(0, 0, 0, .7);
  --blob-a: rgba(122, 91, 194, .38);
  --blob-b: rgba(255, 213, 122, .08);
  --ok: #55c795;
  --warn: #f0a85a;
  --danger: #f0807c;
  color-scheme: dark;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--primary); color: var(--on-primary); padding: .7rem 1rem; border-radius: var(--r-sm); transition: top .2s; }
.skip-link:focus { top: 1rem; }

/* Transisi tema halus (kelas dipasang sementara oleh JS) */
html.theme-fade *, html.theme-fade *::before, html.theme-fade *::after {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease, fill .35s ease, stroke .35s ease !important;
}

.container { width: min(100% - 2 * var(--pad), var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: .75rem; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); }
h3 { font-size: 1.125rem; letter-spacing: -.01em; }
.lead { color: var(--text-2); font-size: clamp(1rem, .95rem + .3vw, 1.175rem); margin-top: 1rem; }

/* ---------- Glass ---------- */
.glass {
  background: var(--card-glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .35);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .glass { -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); }
}
:root[data-theme="dark"] .glass { box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .75rem 1.4rem;
  border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 10px 24px -10px var(--primary); }
.btn-primary:hover { transform: translateY(-2px); background: var(--primary-strong); box-shadow: 0 16px 30px -12px var(--primary); }
.btn-ghost { background: var(--card-glass); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--primary); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { min-height: 3.5rem; padding-inline: 1.8rem; font-size: 1.0625rem; }
.btn-sm { min-height: 2.75rem; padding: .55rem 1.1rem; font-size: .9375rem; }

/* ---------- Navbar ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: .6rem var(--pad) 0; pointer-events: none; }
.nav-inner {
  pointer-events: auto; width: min(100%, var(--maxw)); margin-inline: auto; min-height: 3.5rem; padding: .4rem .5rem .4rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-radius: 999px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; min-height: 2.75rem; }
.brand img { width: 2.1rem; height: 2.1rem; border-radius: .6rem; }
.nav-links { display: none; align-items: center; gap: .25rem; }
.nav-links a { padding: .55rem .9rem; border-radius: 999px; font-weight: 600; font-size: .9375rem; color: var(--text-2); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--text); background: var(--primary-soft); }
.nav-links a.active { color: var(--primary); background: var(--primary-soft); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-cta { display: none; }
.icon-btn {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; display: inline-grid; place-items: center; background: transparent; border: 1px solid var(--border);
  transition: background-color .2s, transform .25s var(--ease), border-color .2s;
}
.icon-btn:hover { background: var(--primary-soft); border-color: var(--primary); }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 1.3rem; height: 1.3rem; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.menu-btn[aria-expanded="true"] .i-menu { display: none; }

.mobile-menu {
  pointer-events: auto; width: min(100%, var(--maxw)); margin: .5rem auto 0; border-radius: var(--r-lg); padding: .75rem;
  display: grid; gap: .25rem; transform-origin: top; opacity: 0; transform: translateY(-.5rem) scale(.98); visibility: hidden;
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.mobile-menu { background: var(--card); }
.mobile-menu.open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.mobile-menu a:not(.btn) { padding: .9rem 1rem; border-radius: var(--r-sm); font-weight: 600; min-height: 3rem; }
.mobile-menu a:not(.btn):hover, .mobile-menu a.active { background: var(--primary-soft); color: var(--primary); }
.mobile-menu .btn { margin-top: .35rem; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(2rem, 6vw, 4.5rem)); padding-bottom: clamp(3rem, 7vw, 5.5rem); position: relative; isolation: isolate; overflow: clip; }
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.blob-a { width: min(38rem, 90vw); aspect-ratio: 1; background: var(--blob-a); top: -8rem; right: -10rem; }
.blob-b { width: min(26rem, 70vw); aspect-ratio: 1; background: var(--blob-b); bottom: -4rem; left: -8rem; }
.hero-grid { display: grid; gap: clamp(2.5rem, 7vw, 4rem); align-items: center; }
.hero-copy { text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem .4rem .5rem; border-radius: 999px; font-size: .8125rem; font-weight: 700; color: var(--text-2);
  margin-bottom: 1.25rem;
}
.badge .dot { width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--primary-soft); display: grid; place-items: center; color: var(--primary); }
.badge .dot svg { width: .85rem; height: .85rem; }
.hero h1 { font-size: clamp(2.5rem, 1.2rem + 6.2vw, 4.75rem); }
.hero h1 .accent { color: var(--primary); }
.hero .lead { max-width: 34rem; margin-inline: auto; margin-top: 1.25rem; }
.hero-cta { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.hero-meta { margin-top: 1.5rem; font-size: .875rem; color: var(--text-2); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: center; }
.hero-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-meta svg { width: 1rem; height: 1rem; color: var(--primary); }

.hero-visual { position: relative; display: grid; place-items: center; padding: 1rem 0; }
.hero-visual .phone { width: min(17rem, 68vw); transform: rotate(-2deg); animation: floaty 7s ease-in-out infinite; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: .6rem; padding: .6rem .9rem .6rem .6rem; border-radius: var(--r-md); font-size: .8125rem; line-height: 1.25; z-index: 2;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip b { display: block; font-size: .875rem; }
.float-chip small { color: var(--text-2); font-size: .75rem; }
.float-chip .ic { width: 2.2rem; height: 2.2rem; border-radius: .7rem; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; }
.float-chip .ic svg { width: 1.2rem; height: 1.2rem; }
.chip-1 { left: 0; top: 14%; animation-delay: -2s; }
.chip-2 { right: 0; bottom: 12%; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Phone mockup (UI skala dengan container query) ---------- */
.phone { container-type: inline-size; position: relative; aspect-ratio: 9 / 19; }
.phone::after { /* bingkai */
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: 15cqw; background: linear-gradient(145deg, #3a3555, #1b1830);
  box-shadow: var(--shadow-lg), inset 0 0 0 .5cqw rgba(255, 255, 255, .12);
}
:root[data-theme="dark"] .phone::after { background: linear-gradient(145deg, #4a4470, #14122a); }
.phone::before { /* kamera */
  content: ""; position: absolute; top: 5.4cqw; left: 50%; translate: -50% 0; width: 4.4cqw; height: 4.4cqw; border-radius: 99px; background: #0b0a16; z-index: 3;
}
.screen {
  position: absolute; inset: 2.6cqw; z-index: 1; border-radius: 12.6cqw; overflow: hidden; background: var(--s-bg); color: var(--s-text);
  padding: 13cqw 5.5cqw 5.5cqw; font-size: 4.4cqw; line-height: 1.3; display: flex; flex-direction: column; gap: 3.2cqw;
  --s-bg: #f7f4fd; --s-card: #fff; --s-text: #1c1830; --s-sub: #7c7796; --s-line: rgba(122, 91, 194, .14); --s-acc: #7a5bc2; --s-acc-soft: #ece6fa;
}
:root[data-theme="dark"] .screen { --s-bg: #12132a; --s-card: #1d1e38; --s-text: #eeeaf8; --s-sub: #9f9bbd; --s-line: rgba(200, 185, 245, .12); --s-acc: #b9a2ee; --s-acc-soft: rgba(185, 162, 238, .16); }
.s-top { display: flex; justify-content: space-between; align-items: center; }
.s-top h4 { margin: 0; font-size: 6.4cqw; font-weight: 800; letter-spacing: -.02em; }
.s-top small { color: var(--s-sub); font-size: 3.6cqw; display: block; font-weight: 600; }
.s-av { width: 9cqw; height: 9cqw; border-radius: 50%; background: var(--s-acc); color: var(--bg); display: grid; place-items: center; font-weight: 800; font-size: 4cqw; }
:root:not([data-theme="dark"]) .s-av { color: #fff; }
.s-card { background: var(--s-card); border-radius: 5cqw; padding: 3.6cqw; border: 1px solid var(--s-line); }
.s-row { display: flex; align-items: center; gap: 3cqw; }
.s-grow { flex: 1; min-width: 0; }
.s-t { font-weight: 700; font-size: 4.2cqw; }
.s-s { color: var(--s-sub); font-size: 3.4cqw; }
.s-pill { font-size: 3.2cqw; font-weight: 700; padding: .8cqw 2.6cqw; border-radius: 99px; background: var(--s-acc-soft); color: var(--s-acc); white-space: nowrap; }
.s-bar { width: 1.2cqw; align-self: stretch; border-radius: 9px; background: var(--s-acc); flex: none; }
.s-bar.y { background: #f2b84b; } .s-bar.g { background: #3fb584; }
.s-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.s-num { font-size: 6.2cqw; font-weight: 800; letter-spacing: -.02em; }
.s-hero { background: var(--s-acc); color: #fff; border: 0; }
:root[data-theme="dark"] .s-hero { color: #17102b; }
.s-hero .s-s { color: inherit; opacity: .78; }
.s-check { width: 5cqw; height: 5cqw; border-radius: 50%; border: .5cqw solid var(--s-acc); flex: none; display: grid; place-items: center; }
.s-check.on { background: var(--s-acc); }
.s-check.on::after { content: ""; width: 1.8cqw; height: 1cqw; border-left: .6cqw solid var(--bg); border-bottom: .6cqw solid var(--bg); rotate: -45deg; translate: 0 -.2cqw; }
:root:not([data-theme="dark"]) .s-check.on::after { border-color: #fff; }
.s-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 2.4cqw 0 0; border-top: 1px solid var(--s-line); }
.s-nav i { width: 6cqw; height: 6cqw; border-radius: 2cqw; background: var(--s-line); display: block; }
.s-nav i.on { background: var(--s-acc); }
.s-chart { display: flex; align-items: flex-end; gap: 2cqw; height: 18cqw; }
.s-chart i { flex: 1; border-radius: 1.4cqw 1.4cqw .4cqw .4cqw; background: var(--s-acc-soft); display: block; }
.s-chart i.on { background: var(--s-acc); }
.s-receipt { background: #fffefb; color: #2a2638; border-radius: 3cqw; padding: 4cqw 4cqw 6cqw; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 3.4cqw; position: relative; --zz: 2.4cqw;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--zz)) 100% repeat-x; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--zz)) 100% repeat-x; }
.s-receipt hr { border: 0; border-top: .4cqw dashed #b9b3cf; margin: 2cqw 0; }
.s-receipt .r { display: flex; justify-content: space-between; gap: 2cqw; padding: .5cqw 0; }
.s-receipt .tot { font-weight: 800; font-size: 3.9cqw; }
.s-toggle { width: 10cqw; height: 5.8cqw; border-radius: 99px; background: var(--s-line); position: relative; flex: none; }
.s-toggle::after { content: ""; position: absolute; top: .7cqw; left: .7cqw; width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.s-toggle.on { background: var(--s-acc); }
.s-toggle.on::after { left: 5.1cqw; }
.s-sw { display: flex; gap: 2.4cqw; }
.s-sw i { width: 7cqw; height: 7cqw; border-radius: 50%; display: block; box-shadow: inset 0 0 0 .5cqw rgba(0, 0, 0, .08); }
.s-sw i.on { outline: .7cqw solid var(--s-acc); outline-offset: .6cqw; }
.s-notif { background: var(--s-card); border: 1px solid var(--s-line); border-radius: 4.4cqw; padding: 3.2cqw; display: flex; gap: 3cqw; align-items: flex-start; box-shadow: 0 2cqw 5cqw -3cqw rgba(60, 40, 110, .25); }
.s-notif img { width: 8cqw; height: 8cqw; border-radius: 2.2cqw; flex: none; }
.s-notif .s-t { font-size: 3.8cqw; }

/* ---------- Features ---------- */
.features-grid { display: grid; gap: 1rem; }
.feature {
  border-radius: var(--r-lg); padding: 1.5rem; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 1rem; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
}
.feature:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.f-visual { height: 7rem; border-radius: var(--r-md); background: var(--primary-soft); position: relative; overflow: hidden; display: grid; place-items: center; padding: .9rem; }
.f-title { display: flex; align-items: center; gap: .65rem; }
.f-ic { width: 2.4rem; height: 2.4rem; border-radius: .8rem; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; flex: none; }
.f-ic svg { width: 1.25rem; height: 1.25rem; }
.feature p { color: var(--text-2); font-size: .975rem; }
/* mini visuals */
.mv { width: 100%; display: grid; gap: .45rem; }
.mv .ln { height: .95rem; border-radius: .5rem; background: var(--card); display: flex; align-items: center; gap: .45rem; padding: 0 .5rem; font-size: .65rem; font-weight: 700; color: var(--text-2); }
.mv .ln::before { content: ""; width: .28rem; height: .6rem; border-radius: 9px; background: var(--primary); flex: none; }
.mv .ln.y::before { background: #f2b84b; } .mv .ln.g::before { background: #3fb584; }
.mv-spark { width: 100%; height: 100%; }
.mv-spark path.l { stroke: var(--primary); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mv-spark path.a { fill: var(--primary); opacity: .14; }
.mv-bell { display: flex; align-items: center; gap: .6rem; background: var(--card); border-radius: .9rem; padding: .55rem .75rem; font-size: .72rem; font-weight: 700; width: 100%; }
.mv-bell svg { width: 1.3rem; height: 1.3rem; color: var(--primary); flex: none; }
.mv-bell small { display: block; color: var(--text-2); font-weight: 600; font-size: .65rem; }
.mv-rcpt { background: #fffefb; color: #2a2638; border-radius: .5rem; padding: .5rem .75rem; width: 70%; font: 700 .62rem/1.5 ui-monospace, Menlo, Consolas, monospace; --zz: .35rem;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--zz)) 100% repeat-x; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--zz)) 100% repeat-x; padding-bottom: .8rem; }
.mv-rcpt div { display: flex; justify-content: space-between; }
.mv-rcpt hr { border: 0; border-top: 1px dashed #b9b3cf; margin: .2rem 0; }
.mv-sw { display: flex; gap: .6rem; }
.mv-sw i { width: 1.9rem; height: 1.9rem; border-radius: 50%; display: block; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .08); }
.mv-sw i.on { outline: 2px solid var(--primary); outline-offset: 3px; }
.mv-task { display: grid; gap: .4rem; width: 100%; }
.mv-task div { display: flex; align-items: center; gap: .5rem; background: var(--card); border-radius: .6rem; padding: .3rem .55rem; font-size: .68rem; font-weight: 700; }
.mv-task div::before { content: ""; width: .8rem; height: .8rem; border-radius: 50%; border: 2px solid var(--primary); flex: none; }
.mv-task div.on::before { background: var(--primary); }
.mv-task div.on { color: var(--text-2); text-decoration: line-through; }

/* ---------- Preview gallery ---------- */
.gallery {
  display: flex; gap: 1.25rem; overflow-x: auto; padding: 1rem var(--pad) 2rem; margin-inline: calc(-1 * var(--pad));
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
.shot { flex: 0 0 min(15rem, 68vw); scroll-snap-align: center; display: grid; gap: 1rem; justify-items: center; text-align: center; }
.shot .phone { width: 100%; transition: transform .45s var(--ease); }
.shot:hover .phone { transform: translateY(-8px) rotate(-1deg); }
.shot .screen { text-align: left; }
.shot figcaption { font-weight: 700; font-size: .95rem; }
.shot figcaption small { display: block; color: var(--text-2); font-weight: 500; font-size: .8125rem; }
.note { margin-top: .5rem; text-align: center; font-size: .8125rem; color: var(--text-2); }
.shot img.screenshot { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screen:has(> img.screenshot) { padding: 0; }

/* ---------- Download ---------- */
.dl-card { border-radius: var(--r-xl); padding: clamp(1.5rem, 5vw, 3.25rem); display: grid; gap: 2rem; position: relative; overflow: hidden; isolation: isolate; }
.dl-card::before { content: ""; position: absolute; z-index: -1; width: 28rem; aspect-ratio: 1; border-radius: 50%; background: var(--blob-a); filter: blur(80px); top: -14rem; right: -10rem; }
.dl-head { display: flex; align-items: center; gap: 1rem; }
.dl-head img { width: 4.5rem; height: 4.5rem; border-radius: 1.2rem; box-shadow: var(--shadow); }
.dl-head h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
.dl-head p { color: var(--text-2); font-size: .95rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.5rem; }
.spec { background: var(--card-glass); border: 1px solid var(--border); border-radius: var(--r-md); padding: .85rem 1rem; min-width: 0; }
.spec dt { font-size: .75rem; font-weight: 700; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; }
.spec dd { font-weight: 700; margin-top: .15rem; overflow-wrap: anywhere; }
.spec.wide { grid-column: 1 / -1; }
.hash { display: flex; align-items: center; gap: .6rem; }
.hash code { font: 600 .75rem/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; overflow-wrap: anywhere; color: var(--text-2); flex: 1; min-width: 0; }
.copy-btn { width: 2.75rem; height: 2.75rem; flex: none; border-radius: .8rem; border: 1px solid var(--border); background: transparent; display: grid; place-items: center; transition: background-color .2s; }
.copy-btn:hover { background: var(--primary-soft); }
.copy-btn svg { width: 1.1rem; height: 1.1rem; }
.dl-side { display: grid; gap: 1.25rem; align-content: start; }
.dl-side .btn { width: 100%; }
.dl-hint { font-size: .85rem; color: var(--text-2); text-align: center; }
.steps { counter-reset: s; display: grid; gap: .75rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; align-items: start; font-size: .95rem; color: var(--text-2); }
.steps li::before { content: counter(s); width: 2rem; height: 2rem; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 800; display: grid; place-items: center; }
.steps strong { color: var(--text); }

/* ---------- Changelog ---------- */
.timeline { position: relative; display: grid; gap: 1.5rem; max-width: 46rem; margin-inline: auto; padding-left: 1.75rem; }
.timeline::before { content: ""; position: absolute; left: .45rem; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(var(--primary), var(--border)); border-radius: 2px; }
.release { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); }
.release::before { content: ""; position: absolute; left: calc(-1.75rem + .1rem); top: 1.7rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); }
.release header { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-bottom: .75rem; }
.release h3 { font-size: 1.25rem; }
.tag { font-size: .75rem; font-weight: 800; padding: .2rem .65rem; border-radius: 99px; background: var(--primary-soft); color: var(--primary); }
.release time, .release .date { color: var(--text-2); font-size: .85rem; margin-left: auto; }
.release ul { display: grid; gap: .5rem; }
.release li { position: relative; padding-left: 1.4rem; color: var(--text-2); }
.release li::before { content: ""; position: absolute; left: .15rem; top: .7em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--primary); }
.release p { color: var(--text-2); margin-bottom: .6rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin-inline: auto; display: grid; gap: .75rem; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; font-weight: 700; min-height: 3.5rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: .6rem; height: .6rem; border-right: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); rotate: 45deg; translate: 0 -.15rem; transition: rotate .3s var(--ease); flex: none; }
.faq details[open] summary::after { rotate: -135deg; translate: 0 .1rem; }
.faq .ans { padding: 0 1.25rem 1.2rem; color: var(--text-2); }
.faq .ans p + p, .faq .ans ol { margin-top: .6rem; }
.faq .ans ol { list-style: decimal; padding-left: 1.2rem; display: grid; gap: .3rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-block: 3rem 2rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer p.tag-line { color: var(--text-2); margin-top: .75rem; max-width: 22rem; }
.footer nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.footer nav a { color: var(--text-2); font-weight: 600; min-height: 2.75rem; display: inline-flex; align-items: center; transition: color .2s; }
.footer nav a:hover { color: var(--primary); }
.copy { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--text-2); font-size: .875rem; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 30rem) {
  .hero-cta { flex-direction: row; justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 48rem) {
  .nav-cta { display: inline-flex; }
  .specs { grid-template-columns: repeat(4, 1fr); }
  .spec.wide { grid-column: 1 / -1; }
  .dl-card { grid-template-columns: 1.15fr .85fr; align-items: start; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; }
  .release { padding: 1.6rem 1.9rem; }
}
@media (min-width: 64rem) {
  .nav-links { display: flex; }
  .menu-btn, .mobile-menu { display: none; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .hero-copy { text-align: left; }
  .hero .lead { margin-inline: 0; }
  .hero-cta, .hero-meta { justify-content: flex-start; }
  .hero-visual .phone { width: min(19rem, 100%); }
  .chip-1 { left: -5rem; top: 30%; } .chip-2 { right: -1rem; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { overflow: visible; margin-inline: 0; padding-inline: 0; justify-content: space-between; }
  .shot { flex: 1 1 0; min-width: 0; }
  .specs { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 80rem) { .specs { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 106rem) { html { font-size: 18px; } :root { --maxw: 82rem; } }
@media (min-width: 140rem) { html { font-size: 21px; } }
@media (max-width: 24rem) {
  .specs { grid-template-columns: 1fr; }
  .chip-1, .chip-2 { display: none; }
}
@media (max-width: 40rem) { .chip-1 { left: -.25rem; } .chip-2 { right: -.25rem; } .release time, .release .date { margin-left: 0; width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Screenshot asli: varian tema */
.screen .screenshot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.screenshot.shot-light, :root[data-theme="light"] .screenshot.shot-dark { display: none; }
:root[data-theme="light"] .screenshot.shot-light { display: block; }
