:root {
  --green: #0B5D50; --green-dark: #084A40; --green-soft: #E3F1EE; --green-mint: #B9E0D7;
  --ink: #14181A; --slate: #4A5357; --page: #F2F3EF; --white: #FFFFFF;
  --line: #D9DDD6; --warn: #8A3B12; --warn-soft: #FBEBDD;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 24, 26, 0.06), 0 8px 24px rgba(20, 24, 26, 0.08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem; line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--green); text-underline-offset: 2px; }
a:hover { color: var(--green-dark); }
a:focus-visible, .btn:focus-visible, .table-scroll:focus-visible, .produk-galeri:focus-visible, summary:focus-visible {
  outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px;
}
.hero a:focus-visible, .closing a:focus-visible { outline-color: var(--white); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 30; }
.muted { color: var(--slate); }
.small, .note { font-size: 0.9rem; }
.center { text-align: center; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top-right { display: flex; align-items: center; gap: 20px; }
.top nav { display: none; gap: 20px; font-size: 0.95rem; }
.top nav a { color: var(--slate); text-decoration: none; padding: 8px 0; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--green); text-decoration: underline; }
@media (min-width: 760px) { .top nav { display: flex; } }
.btn-top { padding: 8px 14px; font-size: 0.92rem; border-radius: 10px; }

/* Tombol */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 20px; border-radius: 12px; font-weight: 700; text-decoration: none; line-height: 1.2;
}
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); color: var(--white); }
.btn-light { background: var(--white); color: var(--green-dark); }
.btn-light:hover { background: var(--green-soft); color: var(--ink); }
.btn-top.btn-green { min-height: 44px; }
@media (prefers-reduced-motion: no-preference) {
  .btn, .store { transition: background-color 0.15s ease, transform 0.15s ease; }
  a.btn:hover { transform: translateY(-1px); }
}
.store {
  display: inline-flex; flex-direction: column; justify-content: center; min-height: 48px;
  padding: 4px 16px 5px; border-radius: 12px; border: 2px dashed rgba(185, 224, 215, 0.7);
  background: transparent; color: var(--white);
  font-weight: 700; font-size: 1rem; line-height: 1.15; text-decoration: none; cursor: default;
}
.store small { font-size: 0.72rem; font-weight: 600; color: var(--green-mint); text-transform: uppercase; letter-spacing: 0.06em; }
/* Saat aplikasi tayang dan .store menjadi tautan: tampil sebagai tombol putih. */
a.store { cursor: pointer; background: var(--white); color: var(--ink); border-style: solid; border-color: var(--white); }
a.store small { color: var(--slate); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-center { justify-content: center; }

/* Hero */
.hero {
  color: var(--white); padding: 40px 0 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(185, 224, 215, 0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(185, 224, 215, 0.10), transparent 40%),
    linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%);
}
.hero-grid { display: grid; gap: 32px; }
.eyebrow {
  display: inline-block; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); color: var(--green-soft); font-size: 0.85rem; font-weight: 600; line-height: 1.4;
}
.hero h1 { margin: 0 0 16px; font-size: clamp(1.9rem, 7.4vw, 3.25rem); line-height: 1.12; letter-spacing: -0.02em; max-width: 20ch; text-wrap: balance; }
.hero-sub { margin: 0 0 24px; font-size: clamp(1.05rem, 3.4vw, 1.2rem); color: var(--green-soft); max-width: 52ch; }
.hero-note { margin: 16px 0 0; font-size: 0.9rem; color: var(--green-mint); }
.hero { overflow: hidden; }
.hero-visual { display: flex; justify-content: center; align-items: flex-start; margin-bottom: -110px; }
.hero .phone { width: 54vw; max-width: 260px; flex: none; z-index: 1; }
.hero .phone-hero-2 { width: 46vw; max-width: 236px; margin-left: -10vw; margin-top: 56px; z-index: 0; }
@media (min-width: 900px) {
  .hero { padding-top: 64px; }
  .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
  .hero-text { padding-bottom: 72px; }
  .hero-visual { margin-bottom: -170px; padding-top: 8px; }
  .hero .phone { width: 260px; }
  .hero .phone-hero-2 { width: 240px; margin-left: -24px; margin-top: 72px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .phone { animation: naik 0.7s ease-out both; }
  .hero .phone-hero-2 { animation-delay: 0.15s; }
  @keyframes naik { from { transform: translateY(24px); } to { transform: none; } }
}

/* Pilihan segmen */
.segmen { padding: 28px 0 32px; background: var(--white); border-bottom: 1px solid var(--line); }
.segmen-judul { margin: 0 0 14px; font-size: 1.15rem; letter-spacing: 0; }
.segmen-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .segmen-list { grid-template-columns: 1fr 1fr; gap: 16px; } }
.segmen-kartu {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px;
  border: 2px solid var(--line); border-radius: var(--radius); background: var(--page);
  color: var(--ink); text-decoration: none;
}
.segmen-kartu:hover { border-color: var(--green); color: var(--ink); background: var(--green-soft); }
.segmen-ikon { display: flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--green-soft); }
.segmen-teks strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.segmen-teks span { display: block; margin-top: 2px; color: var(--slate); font-size: 0.92rem; line-height: 1.4; }
.segmen-panah { margin-left: auto; padding-left: 4px; color: var(--green); font-size: 1.35rem; font-weight: 700; }

/* Bingkai HP */
.phone {
  position: relative; width: min(270px, 72vw); padding: 26px 10px 12px; border-radius: 40px;
  background: #101415; box-shadow: 0 2px 4px rgba(20, 24, 26, 0.15), 0 24px 48px rgba(8, 74, 64, 0.22);
}
.phone::before {
  content: ""; position: absolute; top: 10px; left: 50%; width: 52px; height: 6px; margin-left: -26px;
  border-radius: 999px; background: #2A3032;
}
.phone img { display: block; width: 100%; height: auto; border-radius: 28px; background: var(--page); }

/* Bagian umum */
section { padding: 56px 0; }
.band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { margin: 0 0 8px; color: var(--green); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
section h2 { margin: 0 0 12px; font-size: clamp(1.55rem, 5.2vw, 2.25rem); line-height: 1.2; letter-spacing: -0.01em; max-width: 26ch; }
.section-lead { margin: 0 0 28px; color: var(--slate); font-size: 1.05rem; max-width: 60ch; }
@media (min-width: 900px) { section { padding: 80px 0; } }

/* Masalah → solusi */
.pain-group { font-size: 1.05rem; margin: 28px 0 12px; color: var(--ink); }
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .pain-list { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1000px) { .pain-list { grid-template-columns: repeat(4, 1fr); } }
.pain-list li { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--page); }
.pain-list .gain { flex: 1; }
.pain, .gain { margin: 0; padding: 14px 16px 14px 48px; position: relative; }
.pain { color: var(--slate); }
.gain { background: var(--green-soft); color: var(--green-dark); font-weight: 600; }
.pain::before, .gain::before {
  content: ""; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 50%;
}
.pain::before { background: var(--warn-soft); border: 2px solid #E9B48F; }
.gain::before { background: var(--green); }
.gain::after {
  content: ""; position: absolute; left: 23px; top: 21px; width: 5px; height: 9px;
  border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Blok penjual produk */
.produk { background: var(--green-soft); border-top: 1px solid var(--green-mint); border-bottom: 1px solid var(--green-mint); }
.produk .kicker { color: var(--green-dark); }
.produk .section-lead { color: var(--ink); }
.produk-galeri {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  margin: 0 -16px; padding: 8px 16px 20px;
}
.produk-item { flex: 0 0 auto; display: flex; flex-direction: column; width: min(240px, 66vw); margin: 0; scroll-snap-align: center; }
.produk-item .phone { width: 100%; }
.produk-item figcaption { order: -1; margin: 0 0 16px; min-height: 4.6em; color: var(--slate); font-size: 0.95rem; }
.produk-item figcaption strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 1.08rem; line-height: 1.3; }
@media (min-width: 640px) { .produk-galeri { margin: 0 -24px; padding: 8px 24px 20px; } }
@media (min-width: 900px) {
  .produk-galeri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; overflow: visible; margin: 0; padding: 8px 0 0; }
  .produk-item { width: auto; }
  .produk-item .phone { width: min(100%, 270px); margin: 0 auto; }
}
.produk-ticks { margin-top: 28px; display: grid; gap: 0 24px; }
@media (min-width: 760px) { .produk-ticks { grid-template-columns: 1fr 1fr; } }

/* Fitur */
#fitur h2 { margin-bottom: 8px; }
.feature { display: grid; gap: 28px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--line); }
.feature:last-of-type { border-bottom: 0; }
.feature-text { max-width: 520px; }
.feature h3 { margin: 0 0 12px; font-size: clamp(1.3rem, 4.4vw, 1.75rem); line-height: 1.25; letter-spacing: -0.01em; }
.feature p { margin: 0 0 16px; color: var(--slate); font-size: 1.05rem; }
.feature .num {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 0 14px;
  border-radius: 12px; background: var(--green-soft); color: var(--green-dark); font-weight: 800; font-size: 0.95rem;
}
.feature-visual { position: relative; z-index: 0; display: flex; justify-content: center; }
.feature-visual::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(420px, 92vw); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, var(--green-mint) 0%, rgba(185, 224, 215, 0.45) 45%, rgba(242, 243, 239, 0) 70%);
}
.feature-visual.has-paper { justify-content: flex-start; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; padding: 56px 0; }
  .feature:nth-of-type(even) .feature-text { order: 2; }
  .feature:nth-of-type(even) .feature-visual { order: 1; }
  .feature .phone { width: 300px; }
}
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 8px; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 5px; width: 6px; height: 11px;
  border: solid var(--green); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.paper {
  margin: 0; position: absolute; right: 0; bottom: -16px; width: min(170px, 42vw);
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 8px 8px 6px; box-shadow: var(--shadow);
}
.paper img { display: block; width: 100%; height: auto; border-radius: 8px; }
.paper figcaption { margin-top: 4px; font-size: 0.72rem; line-height: 1.3; font-weight: 700; color: var(--slate); text-align: center; }
@media (min-width: 480px) { .feature-visual.has-paper { justify-content: center; } }
@media (min-width: 900px) { .paper { width: 220px; right: -8px; bottom: 24px; } }

/* Untuk siapa */
.who { display: grid; gap: 16px; margin: 28px 0 20px; }
@media (min-width: 760px) { .who { grid-template-columns: 1fr 1fr; gap: 20px; } }
.who-card { background: var(--page); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.who-icon { display: block; margin-bottom: 12px; }
.who-card h3 { margin: 0 0 8px; font-size: 1.3rem; }
.who-card p { margin: 0 0 16px; color: var(--slate); }
.who-link { display: inline-block; margin-top: 8px; padding: 10px 0; font-weight: 700; }

/* Paket */
.plans { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.plan h3 { margin: 0 0 8px; font-size: 1.4rem; }
.plan p { margin: 0; color: var(--slate); }
.plan .plan-tag {
  display: inline-block; margin: 0 0 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-dark); font-size: 0.8rem; font-weight: 700;
}
.plan-main { border: 2px solid var(--green); }
.plan-main .plan-tag { background: var(--green); color: var(--white); }
.plan-trial { background: var(--green-soft); border-radius: var(--radius); padding: 16px 18px; margin: 16px 0 12px; }
.plan-trial p { margin: 0; }

/* Tanya jawab */
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 18px 40px 18px 0;
  font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark);
  font-size: 1.2rem; line-height: 28px; text-align: center; font-weight: 700;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--slate); }

/* Penutup */
.closing { background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%); color: var(--white); text-align: center; }
.closing-inner { max-width: 680px; }
.closing-icon { display: block; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); }
.closing h2 { margin: 0 auto 12px; }
.closing p { color: var(--green-soft); margin: 0 auto 24px; max-width: 52ch; }
.closing .closing-note { margin: 24px 0 0; font-size: 0.95rem; }
.closing a:not(.btn) { color: var(--white); }

/* Halaman hukum dan teks panjang */
.doc { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px 16px; margin: 24px 0 40px; }
@media (min-width: 640px) { .doc { padding: 32px; } }
.doc h1 { margin: 0 0 8px; font-size: clamp(1.6rem, 6vw, 2.1rem); line-height: 1.2; }
.doc h2 { margin: 32px 0 12px; font-size: 1.3rem; line-height: 1.3; scroll-margin-top: 76px; max-width: none; letter-spacing: 0; }
.doc h3 { margin: 24px 0 8px; font-size: 1.1rem; }
.version { display: inline-block; margin: 0 0 16px; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: 0.9rem; font-weight: 600; }
.meta { margin: 0 0 20px; padding: 0; font-size: 0.95rem; color: var(--slate); }
.meta dt { font-weight: 700; color: var(--ink); }
.meta dd { margin: 0 0 8px; }
.toc { background: var(--page); border-radius: 12px; padding: 12px 16px; margin: 0 0 24px; font-size: 0.95rem; }
.toc p { margin: 0 0 4px; font-weight: 700; }
.toc ol { margin: 0; padding-left: 20px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--green-soft); color: var(--green-dark); }
tr:last-child td { border-bottom: 0; }
.steps li { margin-bottom: 6px; }
.callout { background: var(--green-soft); border-radius: 12px; padding: 12px 16px; margin: 16px 0; }
.callout p { margin: 0 0 8px; }
.callout p:last-child { margin: 0; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--white); padding: 28px 0 36px; font-size: 0.9rem; color: var(--slate); }
.foot .wrap { display: grid; gap: 4px; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.foot-brand img { width: 24px; height: 24px; border-radius: 6px; }
.foot p { margin: 0 0 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 8px 0 12px; }
.foot nav a { padding: 10px 0; }
.foot nav a[aria-current="page"] { font-weight: 700; }
