/* ==========================================================================
   AKSARAKYA — Jasa Penulisan & Penerbitan Buku
   HTML5 + CSS3 + Vanilla JS. Tanpa framework, tanpa database.
   Referensi visual: index.html & syarat-ketentuan-aksarakarya.html
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------ */
:root {
  --ink: #14213d;
  --muted: #64748b;
  --primary: #c96b3b;
  --primary-dark: #9f4e28;
  --cream: #fbf7f2;
  --paper: #ffffff;
  --line: #e8e0d8;
  --soft: #f4eee8;
  --dark: #14213d;
  --gold: #d5a14b;
  --shadow: 0 20px 60px rgba(20, 33, 61, .10);

  --container: 1160px;
  --content: 760px;
  --radius: 22px;
  --radius-sm: 12px;
  --transition: .2s ease;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.035em; margin: 0 0 .4em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid rgba(201, 107, 59, .5); outline-offset: 2px; border-radius: 3px; }

.container { width: min(var(--container), calc(100% - 40px)); margin: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 13px 22px;
  font-weight: 800; font-size: 14px; border: 0; cursor: pointer;
  transition: var(--transition); text-align: center; line-height: 1.3;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 25px rgba(201, 107, 59, .24); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { color: #fff; }
.btn-outline { border: 1px solid var(--line); background: #fff; color: var(--dark); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { color: var(--primary-dark); }
.btn-outline-light { border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-block { width: 100%; }

/* --- Header & navigation ------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 247, 242, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 224, 216, .85);
}
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 22px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.04em; color: var(--ink); flex-shrink: 0; }
.site-logo:hover { color: var(--ink); }
.logo-mark {
  width: 36px; height: 36px; border-radius: 11px; background: var(--dark);
  display: grid; place-items: center; color: #fff; font-weight: 900; flex-shrink: 0;
}
.site-logo img { width: 36px; height: 36px; }

.site-nav { display: flex; align-items: center; flex: 1; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; }
.nav-item-head { display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; padding: 8px 11px; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: #4b5563; white-space: nowrap; line-height: 1.3;
}
.nav-link:hover { color: var(--primary); background: rgba(244, 238, 232, .7); }
.nav-item.is-active > .nav-item-head > .nav-link { color: var(--primary); }
.nav-item.is-active > .nav-item-head > .nav-link::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: -1px;
  height: 2px; border-radius: 2px; background: var(--primary);
}
.nav-expand {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border: 0; background: transparent; color: #4b5563; cursor: pointer;
  border-radius: 8px;
}
.nav-expand:hover { background: var(--soft); color: var(--primary); }
.nav-expand svg { width: 16px; height: 16px; transition: transform var(--transition); }

/* Dropdown: disembunyikan secara tegas, ditampilkan lewat .submenu-open atau hover. */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40;
  display: none; margin: 0; padding: 10px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow);
  grid-template-columns: repeat(2, minmax(210px, 1fr)); gap: 2px;
  max-height: 70vh; overflow-y: auto;
}
.nav-item.submenu-open > .nav-dropdown { display: grid; }
.nav-item.submenu-open > .nav-item-head > .nav-expand svg { transform: rotate(180deg); }
.nav-dropdown a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: #4b5563; line-height: 1.35; }
.nav-dropdown a:hover { background: var(--soft); color: var(--primary); }

/* Desktop: buka saat hover/fokus agar tidak perlu klik, klik tetap berfungsi. */
@media (min-width: 861px) {
  /* Jembatan hover transparan. Dropdown berada di top: calc(100% + 8px),
     sehingga menyisakan celah 8px di bawah menu induk. Celah ini bukan
     bagian dari .nav-item (dropdown diposisikan absolut), jadi hover
     terputus dan dropdown menutup sebelum submenu dapat diklik.
     Strip setinggi 8px ini milik .nav-item, mengisi celah tersebut, dan
     mempertahankan :hover saat kursor bergerak ke submenu. */
  .nav-item.has-children::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 8px;
  }
  .nav-item.has-children:hover > .nav-dropdown,
  .nav-item.has-children:focus-within > .nav-dropdown { display: grid; }
  .nav-item.has-children:hover > .nav-item-head > .nav-expand svg,
  .nav-item.has-children:focus-within > .nav-item-head > .nav-expand svg { transform: rotate(180deg); }
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer;
}
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--ink); border-radius: 2px; transition: var(--transition); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Layar sedang: rapatkan navigasi agar tidak berdesakan. */
@media (max-width: 1040px) and (min-width: 861px) {
  .header-inner { gap: 12px; }
  .nav-link { padding: 8px 8px; font-size: 13.5px; }
  .site-logo { font-size: 19px; }
}

/* --- Hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 90px 0 70px; }
.hero:before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: #f1dfd1; right: -180px; top: -180px; opacity: .65;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; position: relative; }
.hero-grid.single { grid-template-columns: 1fr; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: #f2e5dc; color: var(--primary-dark);
  padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 900;
  letter-spacing: .08em; text-transform: uppercase;
}
h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.03; letter-spacing: -.055em; margin: 20px 0; }
.hero h1 span { color: var(--primary); }
.lead { font-size: 19px; color: var(--muted); max-width: 680px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.trust-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; color: var(--muted); font-size: 13px; }
.trust-row strong { display: block; color: var(--ink); font-size: 15px; }

/* --- Book scene (home hero) --------------------------------------------- */
.book-scene { position: relative; min-height: 480px; }
.book-back {
  position: absolute; right: 30px; top: 30px; width: 300px; height: 390px;
  background: #e6d5c7; border-radius: 8px 18px 18px 8px; transform: rotate(8deg); box-shadow: var(--shadow);
}
.book-front {
  position: absolute; left: 25px; top: 55px; width: 330px; height: 410px;
  background: var(--dark); border-radius: 8px 18px 18px 8px;
  box-shadow: 0 30px 70px rgba(20, 33, 61, .28); padding: 38px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
}
.book-front:after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: #0d172b; border-radius: 8px 0 0 8px; }
.book-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #d8b87a; font-weight: 800; }
.book-title { font-family: Georgia, serif; font-size: 40px; line-height: 1.04; letter-spacing: -.04em; }
.book-author { font-size: 13px; opacity: .75; }
.floating-card {
  position: absolute; right: -10px; bottom: 25px; background: #fff; border: 1px solid var(--line);
  padding: 18px; border-radius: 18px; box-shadow: var(--shadow); width: 190px;
}
.floating-card strong { display: block; font-size: 26px; }

/* --- Sections ----------------------------------------------------------- */
.section { padding: 90px 0; }
.section-white { background: #fff; }
.section-dark { background: var(--dark); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 45px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker { color: var(--primary); font-weight: 900; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.section-dark .section-kicker { color: var(--gold); }
.section h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.08; letter-spacing: -.045em; margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 17px; }
.section-dark .section-head p { color: #b9c3d3; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* --- Cards -------------------------------------------------------------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 35px rgba(20, 33, 61, .04); }
.card h3 { font-size: 20px; line-height: 1.2; margin: 12px 0 8px; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 42px; height: 42px; border-radius: 13px; background: #f2e5dc; color: var(--primary-dark); display: grid; place-items: center; font-weight: 900; }
.card-link { display: inline-block; margin-top: 14px; font-weight: 800; color: var(--primary); font-size: 14px; }

/* --- Service cards ------------------------------------------------------ */
.services .service { background: #1d2b49; border: 1px solid rgba(255, 255, 255, .1); padding: 25px; border-radius: var(--radius); display: flex; flex-direction: column; color: #fff; }
.services .service.featured { background: var(--primary); transform: translateY(-8px); box-shadow: 0 25px 60px rgba(0, 0, 0, .2); }
.service-tag { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 900; opacity: .8; }
.price { font-size: 30px; font-weight: 900; letter-spacing: -.04em; margin: 12px 0 3px; }
.price small { font-size: 12px; font-weight: 600; opacity: .7; }
.service h3 { margin: 0 0 10px; font-size: 20px; }
.service p { color: #c5cede; font-size: 14px; flex: 1; }
.service.featured p { color: #fff; }
.service ul { padding: 0; margin: 16px 0 0; list-style: none; font-size: 13px; color: #e3e8f0; }
.service li { padding: 5px 0; }
.service li:before { content: "\2713"; color: #d8b87a; font-weight: 900; margin-right: 8px; }
.service.featured li:before { color: #fff; }
.service .btn { margin-top: 22px; background: #fff; color: var(--dark); }

/* --- Pricing cards ------------------------------------------------------ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pricing-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: 0 10px 35px rgba(20, 33, 61, .04);
  transition: var(--transition);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-card.is-featured { border: 2px solid var(--primary); box-shadow: 0 25px 60px rgba(201, 107, 59, .16); }
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.pricing-card.is-pro { background: var(--dark); border-color: var(--dark); color: #fff; }
.pricing-card.is-pro:hover { box-shadow: 0 25px 60px rgba(20, 33, 61, .32); }
.pricing-tier { font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.pricing-card.is-pro .pricing-tier { color: var(--gold); }
.pricing-name { font-size: 24px; line-height: 1.1; margin: 6px 0 12px; letter-spacing: -.03em; }
.pricing-card.is-pro .pricing-name { color: #fff; }
.pricing-price { font-size: 34px; font-weight: 900; letter-spacing: -.045em; line-height: 1; margin: 0 0 12px; color: var(--ink); }
.pricing-card.is-pro .pricing-price { color: #fff; }
.pricing-desc { font-size: 14px; color: var(--muted); margin: 0 0 18px; min-height: 60px; }
.pricing-card.is-pro .pricing-desc { color: #b9c3d3; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 24px; font-size: 14px; color: #33405a; }
.pricing-card.is-pro .pricing-features { color: #dbe1ec; }
.pricing-features li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid var(--line); }
.pricing-card.is-pro .pricing-features li { border-bottom-color: rgba(255, 255, 255, .12); }
.pricing-features li:last-child { border-bottom: 0; }
.pricing-features li::before { content: "\2713"; color: var(--primary); font-weight: 900; flex-shrink: 0; }
.pricing-card.is-pro .pricing-features li::before { color: var(--gold); }
.pricing-card .btn { margin-top: auto; }
.pricing-card.is-pro .btn-primary { background: var(--primary); }

/* --- Bahan / tags grid -------------------------------------------------- */
.tags-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tag-chip { background: #f8f3ee; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-weight: 700; font-size: 14px; text-align: center; }
.section-dark .tag-chip { background: #1d2b49; border-color: rgba(255, 255, 255, .12); color: #e3e8f0; }

/* --- Flow (IDE -> BUKU) ------------------------------------------------- */
.flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.flow-step { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.flow-arrow { color: var(--primary); font-weight: 900; }

/* --- Timeline (proses) -------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 850px; }
.timeline li { position: relative; display: flex; gap: 20px; padding: 0 0 26px 0; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.timeline-num { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: #f2e5dc; color: var(--primary-dark); display: grid; place-items: center; font-weight: 900; font-size: 15px; z-index: 1; }
.timeline-body h3 { font-size: 18px; margin: 8px 0 4px; }
.timeline-body p { color: var(--muted); font-size: 15px; margin: 0; }

/* --- Compare table ------------------------------------------------------ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--soft); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-dark); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { color: var(--muted); }

/* --- Checklist ---------------------------------------------------------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 15px; }
.check-list li::before { content: "\2713"; color: var(--primary); font-weight: 900; flex-shrink: 0; }
.check-list.is-negative li::before { content: "\2715"; color: var(--muted); }
.check-list.is-negative li { background: var(--soft); }

/* --- Include / exclude two column -------------------------------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h3 { margin-top: 0; display: flex; align-items: center; gap: 10px; }
.panel ul { list-style: none; padding: 0; margin: 0; }
.panel li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 15px; color: #33405a; border-bottom: 1px solid var(--line); }
.panel li:last-child { border-bottom: 0; }
.panel li::before { font-weight: 900; flex-shrink: 0; }
.panel.is-include { border-top: 4px solid var(--primary); }
.panel.is-include li::before { content: "\2713"; color: var(--primary); }
.panel.is-exclude { border-top: 4px solid #c2b8ad; background: var(--soft); }
.panel.is-exclude li::before { content: "\2715"; color: var(--muted); }

/* --- Process / steps ---------------------------------------------------- */
.step { position: relative; }
.step-num { font-size: 44px; font-weight: 900; color: #e4d6ca; line-height: 1; }

/* --- Targets ------------------------------------------------------------ */
.target-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.target { background: #f8f3ee; border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; font-weight: 800; font-size: 14px; }

/* --- Quote -------------------------------------------------------------- */
.quote { background: #f1e5db; border-radius: 28px; padding: 45px; text-align: center; }
.quote p { font-family: Georgia, serif; font-size: 29px; line-height: 1.3; margin: 0 auto 15px; max-width: 850px; }

/* --- FAQ ---------------------------------------------------------------- */
.faq { max-width: 850px; margin: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin: 10px 0; padding: 18px 20px; }
.faq summary { font-weight: 800; cursor: pointer; }
.faq p { color: var(--muted); margin: 12px 0 0; }

/* --- Page header & breadcrumb ------------------------------------------ */
.page-header { background: var(--dark); color: #fff; padding: 62px 0 58px; }
.page-header h1 { color: #fff; font-size: clamp(36px, 5vw, 58px); margin: 10px 0 14px; }
.page-header p { color: #b9c3d3; font-size: 18px; max-width: 720px; margin: 0; }
.page-header .section-kicker { color: var(--gold); }

.breadcrumb { padding: 18px 0 0; font-size: 13px; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: "\203A"; color: #c3b7ab; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* --- Listing items (layanan/jenis/dosen) -------------------------------- */
.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.list-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: 0 10px 35px rgba(20, 33, 61, .04);
  transition: var(--transition);
}
.list-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.list-card .icon { margin-bottom: 14px; }
.list-card h3 { font-size: 19px; margin: 0 0 8px; }
.list-card p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.list-card .card-link { margin-top: 16px; }

/* --- Detail content ----------------------------------------------------- */
.detail { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.detail h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 1.4em; }
.detail h2:first-child { margin-top: 0; }
.prose { font-size: 17px; color: #33405a; }
.prose h2 { font-size: clamp(25px, 3vw, 34px); margin-top: 1.5em; color: var(--ink); }
.prose h3 { font-size: 20px; margin-top: 1.4em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--primary); font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding: 16px 22px; border-left: 4px solid var(--primary); background: #fbf1eb; border-radius: 0 14px 14px 0; color: #5d463a; }
.prose blockquote p:last-child { margin-bottom: 0; }

.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 10px 35px rgba(20, 33, 61, .04); position: sticky; top: 96px; }
.aside-card h2, .aside-card h3 { font-size: 18px; margin-top: 0; }
.aside-card ul { padding-left: 1.1em; color: var(--muted); font-size: 14px; }
.aside-card .btn { margin-top: 8px; }
.aside-list { list-style: none; padding: 0; margin: 0; }
.aside-list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.aside-list li:last-child { border-bottom: 0; }
.aside-list a { font-weight: 600; }

/* --- Artikel cards ------------------------------------------------------ */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 35px rgba(20, 33, 61, .04); transition: var(--transition); }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-card-cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.article-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.article-card-category { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.article-card-title { font-size: 19px; line-height: 1.25; margin: 0 0 8px; }
.article-card-excerpt { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.article-card-meta { display: flex; gap: 8px; margin-top: auto; font-size: 13px; color: var(--muted); }
.article-card-meta span + span::before { content: "\00B7"; margin-right: 8px; opacity: .7; }
.article-card-link { margin-top: 10px; font-weight: 800; font-size: 14px; color: var(--primary); }
.article-card.is-hidden { display: none; }

/* --- Artikel page ------------------------------------------------------- */
.article-header { max-width: var(--content); margin: 8px auto 30px; }
.article-title { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; margin: 8px 0 16px; }
.article-excerpt { font-size: 18px; color: var(--muted); }
.byline { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 14px; }
.byline span + span::before { content: "\00B7"; margin-right: 10px; opacity: .7; }
.article-featured { max-width: var(--content); margin: 0 auto 36px; }
.article-featured img { width: 100%; border-radius: var(--radius-sm); }
.article-body { max-width: var(--content); margin: 0 auto; font-size: 17px; color: #33405a; }
.article-toc { max-width: var(--content); margin: 0 auto 34px; padding: 22px 26px; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; }
.article-toc-title { font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--primary-dark); margin: 0 0 12px; }
.article-toc ol { margin: 0; padding-left: 1.2em; }
.article-toc li { margin-bottom: 6px; font-size: 15px; }
.article-toc a { color: #33405a; font-weight: 600; }
.article-toc a:hover { color: var(--primary); }
.article-faq { max-width: var(--content); margin: 48px auto 0; }
.article-faq h2 { margin-bottom: 20px; }
.article-body h2 { scroll-margin-top: 96px; }

.article-related { max-width: var(--content); margin: 56px auto 0; padding-top: 36px; border-top: 1px solid var(--line); }
.related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.related-item a { display: block; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-weight: 700; font-size: 15px; color: var(--ink); transition: var(--transition); }
.related-item a:hover { border-color: var(--primary); transform: translateY(-2px); color: var(--primary); }
.related-item small { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }

/* --- Filter bar --------------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn { padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; transition: var(--transition); }
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.empty-state { display: none; padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state.is-visible { display: block; }

/* --- CTA ---------------------------------------------------------------- */
.final-cta { background: var(--primary); color: #fff; text-align: center; padding: 85px 0; }
.final-cta .section-kicker { color: #ffe0cf; }
.final-cta h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.05; letter-spacing: -.05em; margin: 10px 0 15px; color: #fff; }
.final-cta p { max-width: 660px; margin: 0 auto 28px; color: #ffece2; font-size: 17px; }
.detail + .final-cta, .article-related + * { margin-top: 0; }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: #0e1729; color: #aeb8c9; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 14px; }
.footer-brand:hover { color: #fff; }
.footer-desc { font-size: 14px; max-width: 34ch; margin: 0 0 18px; }
.footer-cta { font-size: 13px; padding: 11px 18px; }
.footer-col h3 { color: #fff; font-size: 15px; margin: 0 0 14px; letter-spacing: 0; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #aeb8c9; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .14); padding: 20px 0; font-size: 13px; }
.footer-bottom-note { color: var(--gold); }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .book-scene { max-width: 520px; margin: auto; }
  .grid-5, .grid-4, .list-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .target-grid { grid-template-columns: repeat(3, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.is-featured { grid-column: 1 / -1; }
  .tags-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 14px 24px 22px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { display: block; border-bottom: 1px solid var(--line); }
  .nav-item-head { justify-content: space-between; }
  .nav-link { padding: 14px 6px; font-size: 15px; flex: 1; }
  .nav-item.is-active > .nav-item-head > .nav-link::after { display: none; }
  .nav-expand { display: flex; }
  .nav-dropdown {
    position: static; display: none; border: 0; box-shadow: none; border-radius: 0;
    padding: 0 0 10px; max-height: none; overflow: visible;
    grid-template-columns: 1fr;
  }
  .nav-item.submenu-open > .nav-dropdown { display: grid; }
  .nav-dropdown a { padding: 10px 12px; }
  .header-actions .btn-cta { display: none; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { min-height: 68px; }
  .hero { padding: 60px 0 40px; }
  .book-scene { transform: scale(.85); transform-origin: top center; margin-bottom: -60px; }
  .grid-3, .grid-4, .grid-5, .grid-6, .list-grid, .article-grid, .related-list, .target-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.is-featured { grid-column: auto; }
  .pricing-desc { min-height: 0; }
  .tags-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline li { gap: 14px; }
  .check-list { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .quote { padding: 30px 20px; }
  .quote p { font-size: 23px; }
  .final-cta { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .breadcrumb { padding-top: 14px; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(34px, 10vw, 44px); }
  .final-cta .hero-actions { flex-direction: column; }
  .final-cta .hero-actions .btn { width: 100%; }
  .pricing-card { padding: 26px 22px; }
  .pricing-card .btn, .pricing-card .btn-block { width: 100%; }
  .tags-grid { grid-template-columns: 1fr; }
  .flow { gap: 8px; }
  .flow-step { font-size: 12px; padding: 10px 14px; }
}
