/* Font di-host sendiri (subset Latin; Plus Jakarta Sans dan IBM Plex Sans berupa font variabel). */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/fonts/PlusJakartaSans-500-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/fonts/IBMPlexSans-400-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Layout: satu kolom lebar 1080px; hero dua kolom (pesan + siklus PPEPP), lalu bagian bergantian terang/biru muda, ditutup pita navy ajakan */
:root {
  --bg: #F6F8FB; --band: #E9EFF6; --surface: #FFFFFF; --ink: #12304D; --muted: #4A5B6D; --line: #D6DFE9;
  --navy: #1F4E79; --amber: #E9A23B; --amber-text: #9C5A00; --night: #12304D; --on-night: #F6F8FB; --on-night-muted: #C5D7EA;
  --arc1: #163A5F; --arc2: #1F4E79; --arc3: #2C6AA0; --arc4: #3F86C2; --arc5: #5E9FD4;
  --f-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0E1B29; --band: #13253A; --surface: #172C44; --ink: #E6EDF5; --muted: #A6B8CB; --line: #274563;
  --navy: #8DBDEB; --amber: #EBAE52; --amber-text: #EBAE52; --night: #0A1520; --on-night: #E6EDF5; --on-night-muted: #A6B8CB;
  --arc1: #FFFFFF; --arc2: #DCEAF6; --arc3: #B5D3EE; --arc4: #8CBBE3; --arc5: #64A2D6; color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0E1B29; --band: #13253A; --surface: #172C44; --ink: #E6EDF5; --muted: #A6B8CB; --line: #274563;
  --navy: #8DBDEB; --amber: #EBAE52; --amber-text: #EBAE52; --night: #0A1520; --on-night: #E6EDF5; --on-night-muted: #A6B8CB;
  --arc1: #FFFFFF; --arc2: #DCEAF6; --arc3: #B5D3EE; --arc4: #8CBBE3; --arc5: #64A2D6; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
a { color: var(--navy); }
.eyebrow { font-family: var(--f-display); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-text); }
.lead { color: var(--muted); font-size: 18px; max-width: 62ch; }
section { padding-block: 72px; }
section.band { background: var(--band); }
.head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }

/* logo */
.logo, .cycle { display: block; height: auto; }
.logo .a1, .cycle .a1 { stroke: var(--arc1); } .logo .a2, .cycle .a2 { stroke: var(--arc2); } .logo .a3, .cycle .a3 { stroke: var(--arc3); }
.logo .a4, .cycle .a4 { stroke: var(--arc4); } .logo .a5, .cycle .a5 { stroke: var(--arc5); }
.logo .gap { stroke: var(--bg); } .cycle .gap { stroke: var(--bg); } .logo .tail, .cycle .tail { stroke: var(--amber); }
.logo .wm { fill: var(--ink); } .logo .tg { fill: var(--muted); }
.cycle .lbl { font-family: var(--f-display); font-size: 8.6px; font-weight: 700; fill: var(--ink); }

/* header */
header.top { padding-block: 18px; border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
header.top .logo { width: 150px; }
nav { display: flex; gap: 6px 22px; flex-wrap: wrap; font-family: var(--f-display); font-weight: 600; font-size: 15px; }
nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
nav a:hover, nav a:focus-visible { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }

/* hero */
.hero { padding-block: 64px 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.4vw, 68px); font-weight: 800; letter-spacing: -0.025em; }
.hero .copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero .cycle { width: 100%; max-width: 480px; justify-self: center; }
.doa { font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--amber-text); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { font: 600 16px/1 var(--f-display); display: inline-flex; align-items: center; gap: 8px; padding: 15px 22px; border-radius: 10px; text-decoration: none; border: 2px solid var(--navy); min-height: 48px; }
.btn.primary { background: var(--navy); color: var(--bg); }
.btn.ghost { color: var(--navy); background: transparent; }
.btn:focus-visible, .copy-btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.btn.pending { opacity: .55; cursor: not-allowed; border-style: dashed; }
.note { font-size: 14px; color: var(--muted); }

/* dua nilai */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.value .who { font-size: 14px; font-weight: 600; color: var(--muted); }
.value ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }

/* siklus */
.ppepp { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.ppepp li { display: grid; grid-template-columns: 180px minmax(0, 1fr) 150px; gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ppepp .stage { font-family: var(--f-display); font-weight: 800; font-size: 19px; }
.ppepp .what { color: var(--muted); }
.ppepp .menu { font-size: 13px; font-weight: 600; color: var(--amber-text); text-align: right; font-variant-numeric: tabular-nums; }

/* laporan */
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; background: #FFFFFF; box-shadow: 0 8px 24px rgba(18, 48, 77, .08); }
figcaption { font-family: var(--f-display); font-weight: 700; font-size: 15px; }
.fineprint { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* paket */
.pack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pack div { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pack p { color: var(--muted); font-size: 15px; }

/* pelatihan */
.train { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; align-items: start; }
.train .points { display: grid; gap: 18px; }
.train .points div { display: grid; gap: 4px; }
.train .points p { color: var(--muted); }
.tbl { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 15px; background: var(--surface); }
th { text-align: left; font-family: var(--f-display); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 2px solid var(--ink); }
td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* model */
.model { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.model div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.model p { color: var(--muted); }
.model .tag { font-family: var(--f-display); font-size: 13px; font-weight: 700; color: var(--amber-text); }

/* status */
.status { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.stats b { display: block; font-family: var(--f-display); font-size: 32px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stats span { font-size: 14px; color: var(--muted); }
.status div.s { padding: 22px 24px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; }
.status p { color: var(--muted); }

/* mulai + kontak */
.night { background: var(--night); color: var(--on-night); }
.night .eyebrow { color: var(--amber); }
.night .lead, .night p { color: var(--on-night-muted); }
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 3px solid var(--amber); padding-top: 14px; display: grid; gap: 6px; }
.steps li::before { content: counter(s); font-family: var(--f-display); font-weight: 800; font-size: 28px; color: var(--amber); line-height: 1; }
.steps h3 { color: var(--on-night); }
.night .btn.primary { background: var(--amber); border-color: var(--amber); color: #12304D; }
.night .btn.ghost { color: var(--on-night); border-color: var(--on-night-muted); }
.contact { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.chip { display: flex; align-items: center; gap: 10px; border: 1px solid #3A5A7D; border-radius: 10px; padding: 10px 12px 10px 16px; }
.chip span { user-select: all; color: var(--on-night); font-variant-numeric: tabular-nums; }
.chip small { color: var(--on-night-muted); font-size: 13px; }
.copy-btn { font: 600 13px var(--f-display); background: transparent; color: var(--amber); border: 1px solid var(--amber); border-radius: 7px; padding: 6px 10px; cursor: pointer; }
footer { background: var(--night); color: var(--on-night-muted); font-size: 14px; padding-block: 24px 32px; border-top: 1px solid #23476B; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (max-width: 860px) {
  .hero .wrap, .train, .status { grid-template-columns: minmax(0, 1fr); }
  .hero .cycle { max-width: 360px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack, .model { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  section { padding-block: 52px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .ppepp li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ppepp .menu { text-align: left; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* foto */
.hero { position: relative; overflow: hidden; background: #07090F; color: #F2F5FA; padding-block: 0; }
.hero .wrap { min-height: 560px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.hero .photo { position: absolute; inset: 0 auto 0 0; width: 52%; margin: 0; }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; display: block; border: 0; border-radius: 0; box-shadow: none; }
.hero .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,9,15,0) 55%, #07090F 100%); }
.hero .copy { grid-column: 2; padding-block: 72px; position: relative; }
.hero .eyebrow { color: #EBAE52; }
.hero .lead { color: #BFCDDD; }
.hero .doa { color: #EBAE52; }
.hero .btn.primary { background: #EBAE52; border-color: #EBAE52; color: #12304D; }
.hero .btn.ghost { color: #F2F5FA; border-color: #8FA6BF; }
.withphoto { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 36px; }
.withphoto .head { margin-bottom: 0; }
.pic { margin: 0; border-radius: 16px; overflow: hidden; background: #0B1420; }
.pic img { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; box-shadow: none; }
.banner { margin: 0 0 32px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 6; background: #0B1420; }
.banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 860px) {
  .hero .wrap { min-height: 0; grid-template-columns: minmax(0, 1fr); padding-left: 0; padding-right: 0; gap: 0; }
  .hero .photo { position: relative; width: 100%; height: 260px; }
  .hero .photo::after { background: linear-gradient(180deg, rgba(7,9,15,0) 55%, #07090F 100%); }
  .hero .copy { grid-column: 1; padding: 8px max(20px, env(safe-area-inset-right, 0px)) 52px max(20px, env(safe-area-inset-left, 0px)); }
  .withphoto { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .banner { aspect-ratio: 16 / 8; }
}

/* ===== Penyempurnaan (Tahap 1): header lengket, tombol menu, animasi masuk, FAQ ===== */
picture { display: contents; }
html { scroll-padding-top: 88px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--bg); padding: 10px 16px; border-radius: 8px; font: 600 15px var(--f-display); text-decoration: none; transition: top .2s ease; }
.skip:focus { top: 12px; }
header.top { position: sticky; top: 0; z-index: 40; padding-block: 12px; background: var(--bg); transition: box-shadow .25s ease; }
@supports (backdrop-filter: blur(8px)) { header.top { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); } }
header.top.scrolled { box-shadow: 0 6px 24px rgba(18, 48, 77, .14); }
header.top .wrap { flex-wrap: nowrap; gap: 20px; }
header.top .brand { display: inline-flex; flex: none; }
header.top nav { margin-left: auto; flex-wrap: nowrap; gap: 4px 22px; white-space: nowrap; }
nav a[aria-current="true"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--amber); }
nav a[aria-current="page"] { color: var(--navy); }
.hdr-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.btn.hdr-cta { min-height: 42px; padding: 10px 16px; font-size: 14px; white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; }
.nav-toggle:hover { background: var(--band); }
.nav-toggle:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -6px; left: 0; right: 0; }
.nav-toggle span::after { top: 6px; left: 0; right: 0; }
header.top.open .nav-toggle span { background: transparent; }
header.top.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
header.top.open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 1040px) {
  .nav-toggle { display: inline-block; }
  header.top nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; flex-direction: column; gap: 0; padding: 8px max(20px, env(safe-area-inset-left, 0px)) 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(18, 48, 77, .16); display: none; }
  header.top.open nav { display: flex; }
  header.top nav a { padding: 13px 4px; font-size: 17px; border-bottom: 1px solid var(--line); box-shadow: none !important; }
  header.top nav a:last-child { border-bottom: 0; }
  header.top .logo { width: 130px; }
}
@media (max-width: 520px) { .btn.hdr-cta { padding: 9px 12px; } .hdr-actions { gap: 8px; } }

/* animasi masuk saat di-scroll; kelas .rv hanya dipasang oleh JS dan dinonaktifkan bila "kurangi gerakan" */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .65s cubic-bezier(.2, .7, .2, 1), transform .65s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rv-d, 0ms); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 840px; margin: 0 auto; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: border-color .2s ease, box-shadow .25s ease; }
.faq-list details[open] { border-color: var(--navy); box-shadow: 0 10px 28px rgba(18, 48, 77, .1); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 0; font: 700 17px/1.4 var(--f-display); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 8px; }
.faq-list summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: -5px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .25s ease, margin .25s ease; }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-list .jawab { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* di layar sempit, ajakan "Daftar onboarding" pindah ke dalam menu agar header tidak melebar */
.nav-cta { display: none; }
@media (max-width: 640px) {
  .btn.hdr-cta { display: none; }
  header.top .logo { width: 118px; }
  header.top nav .nav-cta { display: block; margin-top: 10px; padding: 13px 16px !important; text-align: center; border-radius: 10px; background: var(--navy); color: var(--bg) !important; font-weight: 700; border-bottom: 0 !important; }
}
html, body { overflow-x: clip; }
