/* Menyatukan ukuran teks, lebar konten, dan ritme ruang seluruh landing page. */
:root {
  color-scheme: light dark;
  --paper: #ffffff;
  --surface: #ffffff;
  --ink: #302e28;
  --muted: #69665d;
  --line: #dcd8cf;
  --primary: #EA7C62;
  --secondary: #815ED7;
  --accent: var(--primary);
  --on-primary: #302e28;
  --page-width: 1080px;
  --section-space: clamp(56px, 6vw, 80px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { margin: 0 0 16px; }
h1, h2, h3 { margin: 0 0 16px; font-weight: 600; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 5.2vw, 64px); line-height: 1.12; }
h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.2; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.4; letter-spacing: -.02em; text-wrap: balance; }
.container { width: min(calc(100% - 64px), var(--page-width)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

/* Menjaga header tetap ringan dan sejajar dengan konten di bawahnya. */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 650; letter-spacing: -.04em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.top-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.top-nav a:hover, .footer-links a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.top-nav .nav-cta { padding: 8px 18px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: var(--on-primary); font-weight: 600; }
.top-nav .nav-cta:hover { color: var(--on-primary); }

/* Menyeimbangkan bobot judul dan screenshot tanpa mendorong tombol unduh ke bawah. */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px; min-height: min(700px, calc(100svh - 72px)); padding-block: clamp(32px, 4.5vh, 52px); }
.hero > div { min-width: 0; }
.hero-title-intro { display: block; margin-bottom: .24em; font-size: .74em; font-weight: 500; line-height: 1.25; letter-spacing: -.03em; }
h1 .hero-highlight { display: block; width: fit-content; margin-bottom: .3em; color: var(--accent); font-style: normal; font-weight: 700; white-space: normal; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 28%, transparent); text-decoration-thickness: .1em; text-underline-offset: .12em; }
.hero-copy { max-width: 49ch; color: var(--muted); font-size: 17px; line-height: 1.7; }
.download-prompt { margin: 28px 0 14px; font-size: 16px; font-weight: 600; }
.hero-actions, .download-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; max-width: 348px; }
.store-badge { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.store-badge:hover { opacity: .85; }
.store-platform { font-size: 14px; font-weight: 600; line-height: 1.4; }
.store-badge-apple img { width: 146px; height: auto; }
.store-badge-google img { width: 165px; height: auto; }

/* Menyamakan ritme judul, garis pemisah, dan kolom pada bagian isi. */
.section { padding-block: var(--section-space); }
.section-heading { max-width: 640px; margin-bottom: 32px; }
.section-heading > :last-child { margin-bottom: 0; }
.section-heading p { max-width: 55ch; color: var(--muted); font-size: 16px; }
.pain-grid, .journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pain-card { padding-top: 24px; border-top: 1px solid var(--line); }
.pain-card h3 { min-height: 2.8em; margin-bottom: 12px; }
.pain-card p, .journey-card p { margin-bottom: 0; color: var(--muted); font-size: 15px; }

/* Mengisi kedua sisi bagian fitur secara proporsional dengan enam fitur dalam grid. */
.feature-section { background: var(--surface); }
.feature-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.feature-intro .section-heading { margin-bottom: 32px; }
.feature-index { max-width: 350px; padding-top: 24px; border-top: 1px solid var(--line); }
.feature-index strong { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; }
.feature-index p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.feature-card { padding-top: 22px; border-top: 1px solid var(--line); }
.feature-card h3 { min-height: 2.8em; margin-bottom: 12px; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.journey { counter-reset: step; }
.journey-card { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; align-content: start; counter-increment: step; padding-top: 24px; border-top: 1px solid var(--line); }
.journey-card::before { content: counter(step) "."; grid-row: 1 / 3; color: var(--accent); font-size: 19px; font-weight: 600; line-height: 1.4; }
.journey-card h3 { min-height: 2.8em; margin-bottom: 12px; }

/* Menutup halaman dengan dua kolom yang sejajar dan ajakan unduh yang utuh. */
.trust-section { padding-top: 0; }
.trust-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; padding-top: var(--section-space); border-top: 1px solid var(--line); }
.trust-panel .hero-copy { margin-bottom: 0; font-size: 16px; }
.trust-list { display: grid; gap: 24px; }
.trust-item p { margin: 0; color: var(--muted); font-size: 15px; }
.trust-item strong { color: var(--ink); font-weight: 600; }
.download-section { background: var(--surface); }
.download-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 348px); align-items: center; gap: 64px; }
.download-copy { max-width: 550px; }
.download-copy p { margin-bottom: 0; color: var(--muted); font-size: 16px; }
.download-actions { justify-self: end; }
footer { padding-block: 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 12px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-credit { margin-top: 20px; margin-bottom: 0; font-size: 11px; color: var(--muted); }

@media (max-width: 1000px) {
  .hero { gap: 32px; }
  .top-nav { gap: 18px; }
  .feature-layout { grid-template-columns: 1fr; gap: 32px; }
  .feature-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; gap: 40px; }
  .feature-intro .section-heading { margin-bottom: 0; }
  .feature-list { gap: 32px; }
  .trust-panel { gap: 40px; }
  .download-panel { gap: 32px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 16px; }
}
@media (max-width: 760px) {
  .pain-grid, .journey { grid-template-columns: 1fr; gap: 24px; }
  .pain-card h3, .journey-card h3 { min-height: 0; }
  .trust-panel, .download-panel { grid-template-columns: 1fr; gap: 28px; }
  .download-actions { justify-self: start; }
}
@media (max-width: 680px) {
  :root { --section-space: 48px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 64px; gap: 16px; }
  .brand { font-size: 18px; }
  .brand img { width: 32px; height: 32px; }
  .top-nav a:not(.nav-cta) { display: none; }
  .top-nav .nav-cta { padding-inline: 14px; font-size: 13px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 36px; padding-block: 32px 40px; }
  h1 { font-size: clamp(34px, 8.8vw, 44px); }
  h2 { font-size: 28px; }
  h3 { font-size: 18px; }
  .hero-copy { font-size: 16px; line-height: 1.65; }
  .download-prompt { margin-top: 24px; }
  .section-heading { margin-bottom: 28px; }
  .feature-intro, .feature-list { grid-template-columns: 1fr; gap: 28px; }
  .feature-card h3 { min-height: 0; }
  .feature-index { max-width: none; padding-top: 20px; }
  .feature-card { padding-top: 20px; }
  .trust-section { padding-top: 0; }
  .footer-links { gap: 12px 18px; }
}
@media (max-width: 380px) {
  .hero-actions, .download-actions { gap: 16px; }
  .store-badge-apple img, .store-badge-google img { width: 100%; max-width: 165px; }
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #1c1c19; --surface: #252521; --ink: #eeede7; --muted: #b9b7ac; --line: #41413a; --accent: var(--primary); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .hero-actions, .download-section { display: none; }
  body, .feature-section { background: #fff; color: #111; }
}

/* Memberi ruang pada judul dan ajakan unduh tanpa dekorasi yang berulang. */
.hero { padding-block: 52px 64px; }
h1 { font-size: clamp(40px, 4.9vw, 62px); line-height: 1.12; letter-spacing: -.055em; }
h1 .hero-highlight { margin-top: .16em; margin-bottom: 0; font-family: Georgia, serif; font-weight: 400; letter-spacing: -.055em; text-decoration: none; }
.download-prompt { margin-top: 28px; }
.hero-actions, .download-actions { max-width: 390px; gap: 20px; }
.store-badge { min-height: 84px; justify-content: center; transition: transform 220ms ease, opacity 220ms ease; }
.store-badge:hover { transform: translateY(-3px); }
.store-badge-apple img { width: 158px; }
.store-badge-google img { width: 178px; }
.top-nav .nav-cta { border-radius: 10px; min-height: 46px; }

/* Menggunakan pembatas tipis dan tipografi sebagai struktur, bukan tumpukan kartu. */
.feature-layout { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 64px; }
.feature-index { position: sticky; top: 110px; }
.feature-index p + p { margin-top: 16px; }
.feature-card { display: block; }
.feature-card > div { min-width: 0; }
.trust-panel { align-items: start; }
.trust-item p br { display: none; }
.trust-item strong { display: block; margin-bottom: 5px; }
.download-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 390px); }
.download-copy h2 { max-width: 18ch; }

/* Konten tetap terlihat tanpa JavaScript; observer hanya mengaktifkan gerakan di layar. */
.reveal-ready { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 850ms cubic-bezier(.2,.65,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal-ready.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1000px) {
  .feature-layout { grid-template-columns: 1fr; gap: 36px; }
  .feature-index { position: static; max-width: 600px; }
  .download-panel { grid-template-columns: 1fr 390px; gap: 32px; }
}
@media (max-width: 760px) {
  .download-panel { grid-template-columns: 1fr; }
  .download-copy h2 { max-width: 24ch; }
}
@media (max-width: 680px) {
  .hero { padding-block: 40px 48px; gap: 24px; }
  h1 { font-size: clamp(35px, 8.7vw, 48px); }
  .hero-actions, .download-actions { gap: 16px; }
  .store-platform { font-size: 13px; }
  .store-badge img { width: 100%; max-width: 178px; }
  .store-badge-apple img { max-width: 158px; }
  .reveal-ready { transform: translateY(16px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-ready { opacity: 1; transform: none; }
}
@media print { .reveal-ready { opacity: 1; transform: none; } }
