/* HaloTelco: clean, responsive guide layout. */
:root {
    --primary: #c91f2b;
    --text: #202731;
    --muted: #606976;
    --border: #e4e7eb;
    --surface: #ffffff;
    --font: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; background: #f6f7f9; color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
.container { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 24px; }
main.container { padding-top: 28px; }
section[id] { scroll-margin-top: 100px; }
.topbar { position: sticky; top: 0; z-index: 50; padding: 16px 0; background: #fff; border-bottom: 1px solid var(--border); }
.topbar-inner, .brand, .footer-brand, .topnav { display: flex; align-items: center; }
.topbar-inner { justify-content: space-between; gap: 20px; }
.brand, .footer-brand { gap: 10px; text-decoration: none; }
.brand-logo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 21px; font-weight: 800; }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -.6px; }
.brand-name span { color: var(--primary); }
.topnav { gap: 6px; }
.topnav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 700; }
.topnav a:hover { color: var(--primary); background: #fff1f2; }
.topnav .topnav-cta { color: #fff; background: var(--primary); margin-left: 6px; }
.topnav .topnav-cta:hover { background: #ac1823; color: #fff; }
.section { padding: 28px; margin-bottom: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.section-icon { display: grid; flex: 0 0 40px; place-items: center; width: 40px; height: 40px; color: var(--primary); background: #fff1f2; border-radius: 10px; }
.section-icon svg { width: 21px; height: 21px; }
.section-title { font-size: 21px; line-height: 1.4; letter-spacing: -.5px; font-weight: 800; }
.section-subtitle { color: var(--muted); font-size: 13px; margin-top: 4px; }
.info-list { list-style: none; counter-reset: info; }
.info-list li { position: relative; padding: 16px 0 16px 40px; counter-increment: info; color: var(--muted); font-size: 14px; }
.info-list li + li { border-top: 1px solid var(--border); }
.info-list li:first-child { padding-top: 0; }
.info-list li:last-child { padding-bottom: 0; }
.info-list li::before { content: counter(info); position: absolute; left: 0; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #f0f2f5; color: var(--text); font-size: 12px; font-weight: 700; }
.info-list strong { color: var(--text); font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { display: flex; align-items: flex-start; gap: 12px; }
.step-num { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 9px; background: #fff1f2; color: var(--primary); font-size: 13px; font-weight: 800; }
.step b { display: block; font-size: 14px; line-height: 1.5; font-weight: 700; }
.step p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guide-card { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; background: #fff; transition: border-color .18s, background .18s; }
.guide-card:hover { border-color: #da9298; background: #fffafb; }
.guide-wide { grid-column: 1 / -1; align-items: center; }
.guide-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; color: var(--primary); background: #fff1f2; border-radius: 10px; }
.guide-icon svg { width: 23px; height: 23px; }
.guide-body { flex: 1; min-width: 0; }
.guide-title { display: block; font-size: 15px; font-weight: 700; line-height: 1.5; }
.guide-subtitle { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.guide-cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--primary); font-size: 12px; font-weight: 700; white-space: nowrap; }
.guide-wide > .guide-cta { margin-top: 0; }
.guide-cta svg { width: 15px; height: 15px; }
.guide-hint { text-align: center; color: var(--muted); font-size: 12px; margin-top: 18px; }
.guide-hint strong { font-weight: 600; }
.portin-note, .chapter-note { margin-top: 22px; padding: 18px; border-left: 3px solid #df9a32; border-radius: 4px 10px 10px 4px; background: #fffbf2; color: #665331; font-size: 14px; }
.whatsapp-button { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; padding: 13px 20px; border-radius: 10px; background: #168344; color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; }
.whatsapp-button:hover, .wa-float:hover { background: #116b37; }
.whatsapp-button svg { width: 22px; height: 22px; }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #168344; color: #fff; box-shadow: 0 4px 14px #00000018; }
.wa-float svg { width: 26px; height: 26px; }
.footer { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 86px; color: var(--muted); font-size: 12px; }
.footer-brand .brand-logo { width: 28px; height: 28px; border-radius: 8px; font-size: 16px; }
.footer-brand .brand-name { font-size: 16px; }
.footer-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; text-align: center; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--primary); }
.breadcrumb a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { width: 15px; height: 15px; }
.tutorial-hero { margin-top: 20px; padding: 28px; background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.chapter-badge { display: inline-block; padding: 4px 10px; margin-bottom: 12px; border-radius: 6px; background: #fff1f2; color: var(--primary); font-size: 12px; font-weight: 700; }
.tutorial-hero h1 { font-size: clamp(24px, 4vw, 32px); line-height: 1.35; letter-spacing: -.7px; }
.tutorial-hero h1 span { color: var(--primary); }
.tutorial-hero p { color: var(--muted); margin-top: 10px; font-size: 14px; }
.gallery { display: grid; gap: 20px; margin: 24px 0; }
.gallery-figure { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.gallery-figure img { width: 100%; height: auto; }
.gallery-num { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; }
.gallery .chapter-note { margin-top: 0; }
/* Content stays visible without JavaScript; no decorative motion. */
.reveal { opacity: 1; }
@media (max-width: 760px) {
    .steps { grid-template-columns: 1fr; gap: 20px; }
    .guide-list { grid-template-columns: 1fr; }
    .guide-wide { grid-column: auto; }
    .guide-card { flex-wrap: wrap; }
    .guide-wide > .guide-cta { margin-left: 56px; }
}
@media (max-width: 560px) {
    .container { padding-left: 16px; padding-right: 16px; }
    main.container { padding-top: 20px; }
    .topbar { padding: 12px 0; }
    .topbar-inner { flex-wrap: wrap; gap: 10px; }
    .topnav { width: 100%; justify-content: space-between; gap: 0; }
    .topnav a { padding: 6px 9px; font-size: 12px; }
    .topnav .topnav-cta { margin-left: 0; }
    section[id] { scroll-margin-top: 132px; }
    .section, .tutorial-hero { padding: 20px; border-radius: 12px; margin-bottom: 16px; }
    .section-title { font-size: 19px; }
    .section-heading { gap: 10px; margin-bottom: 20px; }
    .section-icon { flex-basis: 34px; width: 34px; height: 34px; }
    .guide-card { padding: 16px; }
    .guide-title { font-size: 14px; }
    .guide-wide > .guide-cta { width: 100%; }
    .info-list li { padding-left: 34px; }
    .wa-float { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
/* Homepage: clear sections, compact process and consistent guide rows. */
.home-page .container { max-width: 920px; }
.home-page main.container { padding-top: 40px; }
.home-page .section { padding: 0; margin-bottom: 36px; border: 0; border-radius: 0; background: transparent; }
.home-page .section-heading { margin-bottom: 18px; }
.home-page .section-title { font-size: 23px; letter-spacing: -.7px; }
.home-page #info .info-list { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; padding: 24px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.home-page #info .info-list li { padding: 0; border: 0; font-size: 13px; line-height: 1.8; }
.home-page #info .info-list li + li { padding-left: 28px; border-left: 1px solid var(--border); }
.home-page #info .info-list li::before { content: none; }
.home-page #info h3 { margin-bottom: 8px; color: var(--text); font-size: 15px; font-weight: 800; }
.home-page .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; }
.home-page .step { display: block; min-width: 0; }
.step-card { display: flex; flex-direction: column; height: 100%; padding: 20px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); text-decoration: none; transition: border-color .18s, background .18s; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.home-page .step-num { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; font-size: 15px; letter-spacing: -.5px; }
.home-page .guide-open { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border: 1px solid #714047; border-radius: 8px; background: #342127; color: #f48b93; font-size: 12px; font-weight: 700; white-space: nowrap; }
.step-copy { padding-bottom: 0; }
.guide-card:hover .guide-open { border-color: var(--primary); background: #47282f; }
.home-page .step b { font-size: 14px; font-weight: 800; }
.step-description { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.home-page .guide-list { display: flex; flex-direction: column; gap: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.home-page .guide-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 22px 24px; border: 0; border-radius: 0; }
.home-page .guide-card + .guide-card { border-top: 1px solid var(--border); }
.home-page .guide-icon { width: 44px; height: 44px; border-radius: 10px; }
.home-page .guide-title { font-size: 16px; }
.home-page .guide-subtitle { font-size: 13px; }
.home-page #syarat { padding-top: 28px; border-top: 1px solid var(--border); }
.home-page #syarat .info-list li { font-size: 13px; }
.home-page .whatsapp-button { width: fit-content; }
@media (max-width: 760px) {
    .home-page .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .home-page main.container { padding-top: 26px; }
    .home-page .section { margin-bottom: 28px; }
    .home-page .section-title { font-size: 21px; }
    .home-page #info .info-list { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
    .home-page #info .info-list li + li { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--border); }
    .home-page .steps { grid-template-columns: 1fr; gap: 10px; }
    .step-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 12px 14px; padding: 18px 16px; }
    .step-top { flex: 0 0 38px; margin-bottom: 0; }
    .step-copy { padding-bottom: 0; }
    .step-description { margin-top: 4px; }
    .home-page .guide-card { grid-template-columns: 36px minmax(0, 1fr); padding: 18px 16px; gap: 12px; }
    .home-page .guide-icon { width: 36px; height: 36px; }
    .home-page .guide-icon svg { width: 20px; height: 20px; }
    .home-page .guide-title { font-size: 14px; }
    .home-page .guide-subtitle { font-size: 12px; }
    .home-page .guide-open { grid-column: 2; justify-self: start; }
    .home-page .whatsapp-button { width: 100%; }
}

/* Charcoal palette with restrained HaloTelco red accents. */
:root {
    --primary: #f0646d;
    --text: #eef0f3;
    --muted: #a5abb5;
    --border: #30343c;
    --surface: #1b1e24;
}
body { background: #121418; }
.topbar { background: #16181d; }
.brand-logo, .topnav .topnav-cta { background: #c92332; color: #fff; }
.topnav a:hover { color: #fff; background: #272b32; }
.topnav .topnav-cta:hover { background: #ae1e2b; }
.section, .tutorial-hero, .gallery-figure { background: var(--surface); }
.section-icon, .step-num, .guide-icon, .chapter-badge { background: #342127; color: #f48b93; }
.info-list li::before { background: #292d35; }
.guide-card { background: var(--surface); }
.guide-card:hover { background: #24272e; border-color: #55505a; }
.portin-note, .chapter-note { background: #28241e; color: #d7c6a8; border-left-color: #a88751; }
.whatsapp-button, .wa-float { background: #216b48; }
.whatsapp-button:hover, .wa-float:hover { background: #287e56; }
.gallery-num { background: #c92332; }
.home-page #info .info-list, .home-page .guide-list { background: var(--surface); }
.home-page .guide-card { background: transparent; }
.home-page .guide-card:hover { background: #24272e; }
.apn-nav { display: flex; gap: 12px; margin: 24px 0; }
.apn-nav a { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); text-align: center; text-decoration: none; font-weight: 700; }
.apn-nav a:hover { border-color: var(--primary); color: var(--primary); }
.apn-nav a[aria-current="page"] { border-color: var(--primary); background: #342127; color: #f48b93; }
