/* ============================================================
   JASA SEO & COPYWRITING · Rizqi Akbar
   Arah visual: editorial (cerita, glosarium) bertemu dashboard
   analitik (hero, hasil, paket). Palet dan font dari brief.

   Aturan warna: netral cream/charcoal menutup 85-90% permukaan.
   Empat aksen bersifat semantik ala skor Lighthouse:
     --good  hijau   hasil, growth, keadaan "sesudah"
     --warn  amber   highlight istilah, perlu perhatian
     --bad   merah   keadaan "sebelum", dipakai sangat hemat
     --info  biru    link dan CTA utama
   Aturan microcopy: tanpa em dash, tanpa en dash.
   ============================================================ */

:root {
  --bg:        #FAF9F5;
  --surface:   #E8E6DC;
  --surface-2: #F1EFE8;   /* antara bg dan surface, untuk kartu di atas surface */
  --ink:       #141413;
  --ink-2:     #4A4945;   /* body copy sekunder. kontras 8.9:1 di --bg */
  --muted:     #6E6C66;   /* keterangan kecil. kontras 5.1:1 di --bg */
  --line:      #B0AEA5;
  --line-soft: #D9D6CB;

  --good: #0A7F46;
  --warn: #A86300;
  --bad:  #C4321F;
  --info: #1F5FD1;
  --good-soft: rgba(10, 127, 70, .12);
  --warn-soft: rgba(214, 140, 0, .16);
  --bad-soft:  rgba(196, 50, 31, .10);
  --info-soft: rgba(31, 95, 209, .10);
  --on-info: #FFFFFF;

  --shadow: 0 1px 0 rgba(20, 20, 19, .04), 0 12px 32px -12px rgba(20, 20, 19, .18);

  --sans:  "Poppins", ui-sans-serif, system-ui, sans-serif;
  --serif: "Lora", "Iowan Old Style", Georgia, serif;

  --fs-display: clamp(34px, 4vw, 58px);
  --fs-h2:      clamp(28px, 3.8vw, 50px);
  --fs-h3:      clamp(18px, 1.6vw, 21px);
  --fs-body:    clamp(16px, 1.15vw, 18px);
  --fs-small:   14px;
  --fs-micro:   12px;

  --wrap:      1200px;
  --pad-x:     clamp(16px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 136px);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #141413;
    --surface:   #1F1E1C;
    --surface-2: #2A2926;
    --ink:       #FAF9F5;
    --ink-2:     #CFCDC4;
    --muted:     #A3A197;
    --line:      #4A4944;
    --line-soft: #2F2E2B;
    --good: #3DD68C;
    --warn: #F5B544;
    --bad:  #FF6B57;
    --info: #6FA2FF;
    --good-soft: rgba(61, 214, 140, .14);
    --warn-soft: rgba(245, 181, 68, .16);
    --bad-soft:  rgba(255, 107, 87, .14);
    --info-soft: rgba(111, 162, 255, .14);
    --on-info: #0B1733;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 18px 40px -16px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  --bg:        #141413;
  --surface:   #1F1E1C;
  --surface-2: #2A2926;
  --ink:       #FAF9F5;
  --ink-2:     #CFCDC4;
  --muted:     #A3A197;
  --line:      #4A4944;
  --line-soft: #2F2E2B;
  --good: #3DD68C;
  --warn: #F5B544;
  --bad:  #FF6B57;
  --info: #6FA2FF;
  --good-soft: rgba(61, 214, 140, .14);
  --warn-soft: rgba(245, 181, 68, .16);
  --bad-soft:  rgba(255, 107, 87, .14);
  --info-soft: rgba(111, 162, 255, .14);
  --on-info: #0B1733;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 18px 40px -16px rgba(0, 0, 0, .7);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Dasar ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--fs-body)/1.7 var(--serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
h1, h2, h3, h4 { font-family: var(--sans); margin: 0; letter-spacing: -.02em; line-height: 1.12; font-weight: 600; }
p { margin: 0; }
a { color: var(--info); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
svg { display: block; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--info); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad-x); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-sm); font: 500 14px var(--sans); }
.skip:focus { top: 12px; }


/* ── Primitif ────────────────────────────────────────── */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.dot--good { background: var(--good); }
.dot--bad  { background: var(--bad); }
.dot--warn { background: var(--warn); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 12px/1 var(--sans); letter-spacing: .01em;
  padding: 6px 10px; border-radius: 999px;
  background: var(--surface); color: var(--ink-2);
  white-space: nowrap;
}
.chip--good { background: var(--good-soft); color: var(--good); }
.chip--warn { background: var(--warn-soft); color: var(--warn); }
.chip--info { background: var(--info-soft); color: var(--info); }

.hl { font-family: var(--sans); font-weight: 600; font-size: .86em; color: var(--warn); background: var(--warn-soft); padding: 1px 6px; border-radius: 4px; margin-right: 2px; }

.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 20px;
  font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.btn--primary { background: var(--info); color: var(--on-info); box-shadow: 0 8px 20px -10px var(--info); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px var(--info); }
.btn--ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 54px; padding: 0 26px; font-size: 16px; }
.btn:active { transform: translateY(0) scale(.98); }

.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-soft); background: transparent; cursor: pointer;
  transition: border-color .2s, background-color .2s, opacity .2s;
}
.icon-btn:hover { border-color: var(--line); background: var(--surface); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:disabled { opacity: .35; cursor: default; background: transparent; }

.link-arrow { font: 500 15px var(--sans); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ── Header ──────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.top.is-scrolled { border-bottom-color: var(--line-soft); }

/* Masthead ala koran. Hilang saat scroll supaya nav tetap ramping. */
.masthead {
  max-width: var(--wrap); margin-inline: auto; padding: 8px var(--pad-x) 0;
  display: flex; align-items: center; gap: 14px;
  font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  overflow: hidden; max-height: 28px;
  transition: max-height .35s var(--ease), opacity .25s, padding .35s var(--ease);
}
.masthead__rule { flex: 1; height: 3px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.top.is-scrolled .masthead { max-height: 0; opacity: 0; padding-top: 0; }

.nav {
  max-width: var(--wrap); margin-inline: auto; padding: 12px var(--pad-x);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 17px/1 var(--sans); letter-spacing: -.01em; }
.brand__mark { width: 26px; height: 26px; }
.nav__links { display: flex; gap: 4px; margin-inline: auto; }
.nav__links a {
  font: 500 14px/1 var(--sans); color: var(--ink-2); text-decoration: none;
  padding: 10px 12px; border-radius: 999px; transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--ink); background: var(--surface); }
.nav__links a[aria-current="true"] { color: var(--ink); background: var(--surface); }
.nav__end { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; }

[data-theme-toggle] .i-moon { display: none; }
:root[data-theme="dark"] [data-theme-toggle] .i-sun { display: none; }
:root[data-theme="dark"] [data-theme-toggle] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) [data-theme-toggle] .i-sun { display: none; }
  :root:not([data-theme="light"]) [data-theme-toggle] .i-moon { display: block; }
}

@media (max-width: 960px) {
  .nav__toggle { display: inline-grid; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0;
    padding: 8px var(--pad-x) 16px;
    background: var(--bg); border-bottom: 1px solid var(--line-soft);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .nav__links a:hover { background: transparent; }
  .nav { gap: 12px; justify-content: space-between; }
}
@media (max-width: 560px) {
  .masthead span:first-child { display: none; }
}

/* ── Section kepala (sistem editorial) ───────────────── */
.section { padding-block: var(--section-y); }
.sec-head { border-top: 1px solid var(--ink); padding-top: 18px; margin-bottom: clamp(36px, 5vw, 64px); display: grid; gap: 18px; }
.sec-head h2 { font-size: var(--fs-h2); max-width: 24ch; text-wrap: balance; }
.sec-head--split { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 18px 48px; }
.sec-head--split > div { display: grid; gap: 18px; }
.sec-head--center { text-align: center; justify-items: center; border-top: 0; }
.sec-head--center h2 { max-width: 22ch; }
.kicker { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.kicker span { color: var(--muted); font-variant-numeric: tabular-nums; }
.kicker span::after { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--line); vertical-align: middle; margin-left: 10px; }
.lede { color: var(--ink-2); max-width: 46ch; font-size: clamp(16px, 1.2vw, 18px); }
.lede .chip { margin-right: 6px; vertical-align: 2px; }
@media (max-width: 860px) { .sec-head--split { grid-template-columns: 1fr; } }

/* ── Reveal ──────────────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ══════════ HERO ══════════ */
.hero { position: relative; padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(88px, 10vw, 120px); }
.hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 26px; }
.eyebrow { font: 500 13px/1.3 var(--sans); color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border: 1px solid var(--line-soft); border-radius: 999px; justify-self: start; }
.hero h1 { font-size: var(--fs-display); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.02em; color: var(--good); }
.hero__sub { color: var(--ink-2); max-width: 54ch; font-size: clamp(17px, 1.3vw, 19px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 400 14px/1.4 var(--sans); color: var(--muted); padding-top: 22px; border-top: 1px dashed var(--line); }
.hero__proof b { color: var(--ink); font-weight: 600; }

.hero__visual { margin: 0; display: grid; gap: 12px; justify-items: center; }
.hero__caption { font: 400 12px var(--sans); color: var(--muted); }

/* Perangkat: layar + alas, dibuat dari CSS. */
.device { width: 100%; max-width: 560px; }
.device__screen {
  background: var(--ink); padding: 10px; border-radius: 18px 18px 6px 6px;
  box-shadow: var(--shadow);
}
:root[data-theme="dark"] .device__screen { background: #2E2D2A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .device__screen { background: #2E2D2A; } }
.device__base {
  height: 16px; margin-inline: -6%;
  background: linear-gradient(var(--line), var(--line-soft));
  border-radius: 2px 2px 14px 14px;
  position: relative;
}
.device__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 6px; transform: translateX(-50%); background: var(--surface); border-radius: 0 0 8px 8px; }

.browser { background: var(--bg); border-radius: 10px 10px 3px 3px; overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser__url { flex: 1; font: 400 11px/1 var(--sans); color: var(--muted); background: var(--bg); padding: 7px 12px; border-radius: 999px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser__body { position: relative; aspect-ratio: 16 / 11; }

.stage { position: absolute; inset: 0; padding: clamp(14px, 3vw, 24px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s; }
.stage--chart { opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none; }
[data-phase="chart"] .stage--search { opacity: 0; transform: translateY(-14px) scale(.98); filter: blur(3px); }
[data-phase="chart"] .stage--chart { opacity: 1; transform: none; }

.searchbox {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border: 1px solid var(--line-soft); border-radius: 999px;
  background: var(--bg); box-shadow: 0 6px 18px -12px rgba(0,0,0,.35);
  font: 400 clamp(13px, 1.5vw, 15px)/1 var(--sans); color: var(--ink);
}
.searchbox svg { width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.searchbox__text { white-space: nowrap; overflow: hidden; }
.caret { width: 1.5px; height: 1.1em; background: var(--info); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
[data-phase="results"] .caret { opacity: 0; animation: none; }

.serp { --row: clamp(38px, 5.4vw, 46px); --gap: 8px; margin-top: 18px; display: grid; gap: var(--gap); position: relative; }
.serp__row {
  height: var(--row); display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0 14px; border-radius: 10px; background: var(--surface-2);
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .7s var(--ease-out), background-color .4s;
}
.serp__row--comp { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
.sk { display: block; height: 7px; border-radius: 4px; background: var(--line-soft); }
.sk--t { width: 46%; background: color-mix(in srgb, var(--info) 30%, var(--line-soft)); }
.sk--l { width: 72%; }
.serp__row:nth-child(2) .sk--t { width: 38%; }
.serp__row:nth-child(3) .sk--t { width: 52%; }
.serp__you { display: grid; gap: 2px; font: 400 12px/1.2 var(--sans); min-width: 0; }
.serp__you b { font-size: clamp(12px, 1.4vw, 14px); color: var(--info); font-weight: 600; }
.serp__you small { color: var(--muted); font-size: 11px; }
.serp__row--you { background: var(--bg); border: 1px solid var(--line-soft); }
.rank { font: 600 11px/1 var(--sans); padding: 6px 9px; border-radius: 999px; background: var(--bad-soft); color: var(--bad); white-space: nowrap; transition: background-color .4s, color .4s; }

[data-phase="results"] .serp__row, [data-phase="ranked"] .serp__row, [data-phase="chart"] .serp__row { opacity: 1; transform: none; }
[data-phase="results"] .serp__row:nth-child(2) { transition-delay: .08s; }
[data-phase="results"] .serp__row:nth-child(3) { transition-delay: .16s; }
[data-phase="results"] .serp__row:nth-child(4) { transition-delay: .24s; }
[data-phase="ranked"] .serp__row--comp, [data-phase="chart"] .serp__row--comp { transform: translateY(calc(var(--row) + var(--gap))); opacity: .55; }
[data-phase="ranked"] .serp__row--you, [data-phase="chart"] .serp__row--you {
  transform: translateY(calc(-3 * (var(--row) + var(--gap))));
  border-color: color-mix(in srgb, var(--good) 45%, transparent);
  box-shadow: 0 10px 24px -14px var(--good);
}
[data-phase="ranked"] .rank, [data-phase="chart"] .rank { background: var(--good-soft); color: var(--good); }

.chart__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.chart__label { font: 500 11px/1.3 var(--sans); color: var(--muted); letter-spacing: .02em; }
.chart__value { font: 600 clamp(22px, 3.2vw, 32px)/1.1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.chart__legend { display: grid; gap: 6px; font: 400 11px/1 var(--sans); color: var(--muted); }
.chart__legend li { display: flex; align-items: center; gap: 6px; }
.chart__legend .dot { width: 7px; height: 7px; }
.chart { width: 100%; height: 58%; margin-top: 10px; overflow: visible; }
.chart__grid path { stroke: var(--line-soft); stroke-width: 1; stroke-dasharray: 3 4; fill: none; vector-effect: non-scaling-stroke; }
.chart__before { fill: none; stroke: var(--bad); stroke-width: 2; stroke-dasharray: .015 .012; opacity: .8; vector-effect: non-scaling-stroke; }
.chart__line { fill: none; stroke: var(--good); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.chart__area { fill: url(#gArea); opacity: 0; transition: opacity .8s .6s; }
[data-phase="chart"] .chart__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-out) .2s; }
[data-phase="chart"] .chart__area { opacity: 1; }
.chart__x { display: flex; justify-content: space-between; font: 400 10px/1 var(--sans); color: var(--muted); margin-top: 8px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  font: 500 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); text-decoration: none;
  padding: 8px 12px;
}
.scroll-cue svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .device { max-width: 520px; }
}

/* ══════════ STORY ══════════ */
.story { background: var(--surface-2); }
.story__body { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.path { display: grid; }
.path__item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 0 0 26px; position: relative; }
.path__item::before { content: ""; position: absolute; left: 21px; top: 30px; bottom: 0; width: 1px; background: var(--line); }
.path__item:last-child { padding-bottom: 0; }
.path__item:last-child::before { display: none; }
.path__no {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg);
  font: 600 13px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-2);
}
.path__item:last-child .path__no { background: var(--good); border-color: var(--good); color: var(--bg); }
.path__item > div { padding-top: 9px; display: grid; gap: 4px; }
.path__item h3 { font-size: var(--fs-h3); line-height: 1.3; }
.path__item p { color: var(--ink-2); font-size: 16.5px; }
.story__side { position: sticky; top: 110px; display: grid; gap: 24px; }
.pull { margin: 0; padding: 28px 0; border-block: 1px solid var(--ink); }
.pull p { font: italic 500 clamp(22px, 2.2vw, 30px)/1.35 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.pull p::before { content: "\201C"; display: block; font: 600 64px/.6 var(--serif); color: var(--warn); margin-bottom: 10px; }

/* Siklus kerja: tujuh langkah, langkah terakhir kembali ke awal. */
.cycle { margin-top: clamp(56px, 7vw, 96px); }
.cycle__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.cycle__title { font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.cycle__note { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); }
.cycle__note svg { width: 18px; height: 18px; fill: none; stroke: var(--good); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cycle__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.step { padding: 20px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line-soft); display: grid; gap: 8px; align-content: start; }
.step__no { font: 600 12px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 18px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.step--loop { grid-column: span 2; border-color: color-mix(in srgb, var(--good) 45%, transparent); background: var(--good-soft); }
.step--loop .step__no { color: var(--good); }
@media (max-width: 1000px) { .cycle__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .story__body { grid-template-columns: 1fr; }
  .story__side { position: static; }
}
@media (max-width: 520px) { .cycle__grid { grid-template-columns: 1fr; } .step--loop { grid-column: auto; } }

/* ══════════ ISTILAH (teaser) ══════════ */
.term-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.term-card {
  border: 1px solid var(--line-soft); border-radius: var(--r); background: var(--bg);
  transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.term-card__btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 22px 18px; display: grid; gap: 10px; position: relative;
  border-radius: var(--r);
}
.term-card__tag { font: 500 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.term-card__name { font: 600 22px/1.15 var(--sans); letter-spacing: -.02em; padding-right: 36px; }
.term-card__short { font: 400 16px/1.55 var(--serif); color: var(--ink-2); }
.term-card__plus {
  position: absolute; top: 18px; right: 18px; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-soft); transition: transform .35s var(--ease), background-color .25s, border-color .25s;
}
.term-card__plus::before, .term-card__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.term-card__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.term-card__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.term-card__more > div { overflow: hidden; padding-inline: 22px; }
.term-card__more p { font-size: 15.5px; line-height: 1.6; padding-top: 14px; border-top: 1px dashed var(--line); }
.term-card__more a { display: inline-block; font: 500 14px var(--sans); margin: 12px 0 20px; }
.term-card.is-open { border-color: color-mix(in srgb, var(--warn) 55%, transparent); box-shadow: 0 16px 34px -22px var(--warn); }
.term-card.is-open .term-card__more { grid-template-rows: 1fr; }
.term-card.is-open .term-card__plus { transform: rotate(45deg); background: var(--warn-soft); border-color: transparent; color: var(--warn); }
@media (hover: hover) {
  .term-card:hover { border-color: color-mix(in srgb, var(--warn) 55%, transparent); box-shadow: 0 16px 34px -22px var(--warn); transform: translateY(-2px); }
  .term-card:hover .term-card__more { grid-template-rows: 1fr; }
  .term-card:hover .term-card__plus { transform: rotate(45deg); background: var(--warn-soft); border-color: transparent; color: var(--warn); }
}
.terms__more { margin-top: 28px; }
@media (max-width: 960px) { .term-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .term-grid { grid-template-columns: 1fr; } }

/* ══════════ PAKET ══════════ */
.pkgs { background: var(--surface); }
.tabs {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 5px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line-soft);
  margin-bottom: 28px; max-width: 100%;
}
.tab {
  position: relative; z-index: 1; background: none; border: 0; cursor: pointer;
  padding: 12px 22px; border-radius: 14px; text-align: left; display: grid; gap: 4px;
  transition: color .25s;
}
.tab__title { font: 600 15px/1.2 var(--sans); }
.tab__sub { font: 400 13px/1.3 var(--sans); color: var(--muted); }
.tab[aria-selected="true"] .tab__sub { color: var(--ink-2); }
.tabs__ink {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-soft);
  transition: transform .45s var(--ease-out);
}
.tabs[data-active="1"] .tabs__ink { transform: translateX(100%); }
@media (max-width: 600px) {
  .tabs { display: grid; width: 100%; }
  .tab { padding: 12px 14px; }
  .tab__sub { font-size: 12px; }
}

.panel { animation: fadeUp .5s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

.rail { position: relative; margin-inline: calc(var(--pad-x) * -1); }
.rail__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px var(--pad-x) 22px; scroll-padding-inline: var(--pad-x);
  scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track:focus-visible { outline-offset: -2px; }
.rail__controls { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }
.rail__controls[hidden] { display: none; }

.pkg {
  flex: 0 0 clamp(290px, 31%, 370px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 16px;
  padding: 26px; border-radius: var(--r-lg); background: var(--bg);
  border: 1px solid var(--line-soft); cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pkg:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.pkg--featured { border-color: color-mix(in srgb, var(--info) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--info) 30%, transparent); }
.pkg__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pkg__tier { font: 600 20px/1.2 var(--sans); letter-spacing: -.01em; }
.pkg__fit { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; min-height: 3.1em; }
.pkg__price { font: 600 clamp(26px, 2.4vw, 30px)/1.1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.pkg__price small { display: block; font: 500 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pkg__price span { font: 400 14px var(--sans); color: var(--muted); letter-spacing: 0; }
.pkg__list { display: grid; gap: 14px; flex: 1; }
.pkg__list li { display: grid; grid-template-columns: 18px 1fr; column-gap: 12px; row-gap: 2px; }
.pkg__list li::before {
  content: ""; grid-row: span 2; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--good-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7F46' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.pkg__list b { font: 600 15px/1.35 var(--sans); }
.pkg__list span { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.pkg__more > summary { width: 100%; list-style: none; }
.pkg__more > summary::-webkit-details-marker { display: none; }
.pkg__detail { padding-top: 18px; display: grid; gap: 10px; font-size: 15px; }
.pkg__detail .pkg__price { border-bottom: 1px solid var(--line-soft); }
.pkg__cta { width: 100%; margin-top: 4px; }

.steps { display: grid; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); font: 600 12px/1 var(--sans); color: var(--ink); }
.steps b { color: var(--ink); }
.deliv { display: grid; gap: 14px; margin: 0; }
.deliv div { display: grid; gap: 4px; padding-left: 14px; border-left: 2px solid var(--good); }
.deliv dt { font: 600 15px/1.3 var(--sans); }
.deliv dd { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

.note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 18px;
  padding: 14px 18px; border-radius: var(--r); background: var(--bg); border: 1px dashed var(--line);
  font-size: 15.5px; color: var(--ink-2); max-width: 720px;
}
.note svg { width: 20px; height: 20px; flex: none; margin-top: 3px; fill: none; stroke: var(--info); stroke-width: 1.7; }
.note b { color: var(--ink); font-family: var(--sans); font-weight: 600; font-size: .94em; }

/* Menu satuan, ditata seperti daftar harga di koran. */
.menu { margin-top: clamp(48px, 6vw, 80px); padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line-soft); }
.menu__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; padding-bottom: 14px; border-bottom: 3px double var(--ink); }
.menu__head h3 { font-size: 24px; }
.menu__head p { color: var(--muted); font-size: 15px; }
.menu__item { display: grid; grid-template-columns: minmax(0, 1.6fr) 1fr auto auto; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.menu__item:last-child { border-bottom: 0; padding-bottom: 0; }
.menu__item > div { display: grid; gap: 3px; }
.menu__item b { font: 600 16px/1.3 var(--sans); }
.menu__item span:not(.menu__lead) { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.menu__lead { height: 1px; border-bottom: 2px dotted var(--line); align-self: center; }
.menu__reveal {
  border: 0; background: none; padding: 6px 0; cursor: pointer; text-align: right; white-space: nowrap;
  font: 600 16px/1.2 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink);
}
.menu__val small { font: 400 12px var(--sans); color: var(--muted); margin: 0 3px; }
.menu__peek { font: 500 14px var(--sans); color: var(--info); border-bottom: 1px dashed currentColor; }
.menu__reveal[aria-expanded="true"] .menu__peek, html:not(.js) .menu__peek { display: none; }
.js .menu__reveal[aria-expanded="false"] .menu__val { display: none; }
.menu__reveal[aria-expanded="true"] .menu__val { animation: fadeUp .35s var(--ease-out); }
.menu__ask { font: 500 14px/1 var(--sans); text-decoration: none; padding: 9px 14px; border-radius: 999px; background: var(--info-soft); }
.menu__ask:hover { background: var(--info); color: var(--on-info); }
@media (max-width: 760px) {
  .menu__item { grid-template-columns: 1fr auto; gap: 10px 14px; }
  .menu__item > div { grid-column: 1 / -1; }
  .menu__lead { display: none; }
  .menu__reveal { text-align: left; }
}

/* ══════════ MODAL ══════════ */
.modal {
  width: min(620px, calc(100vw - 24px)); max-height: min(88vh, 820px);
  padding: 0; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  background: var(--bg); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5);
  overflow: auto;
}
.modal::backdrop { background: rgba(20, 20, 19, .55); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .4s var(--ease-out); }
.modal[open]::backdrop { animation: fade .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
.modal__inner { padding: clamp(22px, 4vw, 36px); display: grid; gap: 14px; position: relative; }
.modal__close { position: absolute; top: 16px; right: 16px; }
.modal__kind { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.modal__title { font-size: clamp(26px, 3vw, 34px); padding-right: 48px; }
.modal__price { font: 600 22px/1.2 var(--sans); padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.modal__price span, .modal__price small { font: 400 14px var(--sans); color: var(--muted); }
.modal__body { display: grid; gap: 12px; }
.modal__body h4 { font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.modal__body > p { color: var(--ink-2); }
.modal__foot { padding-top: 10px; }
.modal__foot .btn { width: 100%; }
@media (max-width: 600px) {
  .modal { margin: auto 0 0; width: 100vw; max-width: 100vw; max-height: 90vh; border-radius: var(--r-lg) var(--r-lg) 0 0; }
}

/* ══════════ KLIEN ══════════ */
.clients .sec-head { margin-bottom: 36px; }
.marquee {
  display: grid; gap: 14px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__row { display: flex; gap: 14px; width: max-content; }
.js .marquee__row { animation: marquee var(--dur, 48s) linear infinite; }
.js .marquee__row[data-row="1"] { animation-direction: reverse; }
.marquee:hover .marquee__row, .marquee:focus-within .marquee__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo {
  flex: none; height: 76px; min-width: 176px; padding: 0 28px;
  display: grid; place-items: center; border-radius: var(--r);
  border: 1px solid var(--line-soft); background: var(--bg);
  font: 600 18px/1 var(--sans); letter-spacing: -.01em; color: var(--muted);
  filter: grayscale(1); opacity: .8;
  transition: filter .35s, opacity .35s, color .35s, border-color .35s, transform .35s var(--ease);
}
.logo img { max-height: 34px; width: auto; }
.logo:hover { filter: none; opacity: 1; color: var(--logo-hue, var(--ink)); border-color: var(--line); transform: translateY(-2px); }
.logo--nda { border-style: dashed; font: 500 13px/1.3 var(--sans); color: var(--muted); display: flex; gap: 10px; text-align: left; }
.logo--nda svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; flex: none; }
.logo--nda:hover { color: var(--ink-2); }
.clients__note { margin-top: 28px; text-align: center; font-size: 14px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__row { flex-wrap: wrap; width: auto; justify-content: center; padding-inline: var(--pad-x); }
}

/* ══════════ HASIL ══════════ */
.results { background: var(--surface-2); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.cases { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; margin-top: 14px; }
.case { padding: 26px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line-soft); display: grid; gap: 12px; align-content: start; }
.case__kicker { font: 500 13px/1.3 var(--sans); color: var(--ink-2); }
.case h3 { font-size: clamp(20px, 2vw, 26px); }
.case > p:not(.case__kicker) { color: var(--ink-2); font-size: 16px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.case__tags li { font: 500 14px/1 var(--sans); padding: 10px 14px; border-radius: 999px; background: var(--good-soft); color: var(--good); }
.track { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; }
.track__step { position: relative; display: grid; gap: 12px; padding-right: 12px; font: 500 14px/1.35 var(--sans); }
.track__step i { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px var(--good-soft); }
.track__step::before { content: ""; position: absolute; left: 8px; right: 0; top: 7px; height: 2px; background: var(--good); }
.track__step:last-child::before { display: none; }
.track__step--start i { background: var(--bad); box-shadow: 0 0 0 4px var(--bad-soft); }
.track__step--start::before { background: linear-gradient(90deg, var(--bad), var(--good)); }
.track__step--start span { color: var(--bad); }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .track { grid-template-columns: 1fr; gap: 16px; }
  .track__step { grid-template-columns: 16px 1fr; align-items: center; }
  .track__step::before { left: 7px; right: auto; top: 8px; bottom: -24px; width: 2px; height: auto; }
  .track__step--start::before { background: linear-gradient(var(--bad), var(--good)); }
}
.metric {
  padding: 22px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line-soft);
  display: grid; gap: 12px; align-content: start; grid-template-rows: auto auto auto auto 1fr;
}
.metric__label { font: 500 13px/1.3 var(--sans); color: var(--ink-2); }
.metric__num { font: 600 clamp(40px, 4vw, 54px)/1 var(--sans); letter-spacing: -.035em; color: var(--good); font-variant-numeric: tabular-nums; }
.spark { width: 100%; height: 32px; }
.spark path { fill: none; stroke: var(--good); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease-out) .2s; vector-effect: non-scaling-stroke; }
.js .metric:not(.is-in) .spark path { stroke-dashoffset: 1; }
.gauge { position: relative; width: 84px; height: 84px; display: grid; place-items: center; }
.gauge svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 6; }
.gauge__bg { stroke: var(--good-soft); }
.gauge__fg { stroke: var(--good); stroke-linecap: round; transition: stroke-dasharray 1.6s var(--ease-out) .2s; }
.gauge span { font: 600 26px/1 var(--sans); color: var(--good); font-variant-numeric: tabular-nums; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding-top: 12px; border-top: 1px dashed var(--line); }
.ba div { display: grid; gap: 3px; }
.ba dt { font: 500 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ba dd { margin: 0; font: 600 15px/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.is-bad  { color: var(--bad); }
.is-good { color: var(--good); }
.metric__mean { font-size: 15px; line-height: 1.5; color: var(--ink-2); align-self: end; }

.scope { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.scope li { padding: 22px 22px 0 0; display: grid; gap: 6px; }
.scope li + li { padding-left: 22px; border-left: 1px solid var(--line-soft); }
.scope span { font: 600 clamp(34px, 3.6vw, 46px)/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.scope small { font: 400 14px/1.4 var(--sans); color: var(--muted); }
@media (max-width: 860px) {
  .metrics { grid-template-columns: 1fr; }
  .scope { grid-template-columns: 1fr; }
  .scope li, .scope li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line-soft); }
}

/* ══════════ TOOLS ══════════ */
.tool-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool-group { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line-soft); display: grid; gap: 18px; align-content: start; }
.tool-group h3 { font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tool-grid li { position: relative; }
.tool {
  width: 100%; aspect-ratio: 1; display: grid; place-items: center;
  border-radius: var(--r); border: 1px solid var(--line-soft); background: var(--surface-2);
  cursor: pointer; color: var(--muted); position: relative;
  transition: color .3s, border-color .3s, background-color .3s, transform .3s var(--ease);
}
.tool__glyph { width: 42%; height: 42%; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.tool__mono { font: 700 clamp(15px, 1.5vw, 18px)/1 var(--sans); letter-spacing: -.03em; }
.tool__name, .tool__fn { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tool:hover, .tool:focus-visible, .tool[aria-expanded="true"] { color: var(--hue, var(--ink)); border-color: var(--line); background: var(--bg); transform: translateY(-2px); }

/* Popover nama + fungsi. */
.tip {
  position: absolute; z-index: 20; left: 50%; bottom: calc(100% + 10px);
  width: 220px; transform: translate(-50%, 6px); opacity: 0; pointer-events: none;
  padding: 12px 14px; border-radius: 12px; background: var(--ink); color: var(--bg);
  font: 400 13px/1.45 var(--sans); text-align: left; box-shadow: var(--shadow);
  transition: opacity .2s, transform .25s var(--ease);
}
.tip b { display: block; font-weight: 600; font-size: 14px; margin-bottom: 3px; }
.tip::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--ink); }
.tip.is-left  { left: 0; transform: translate(0, 6px); }
.tip.is-left::after { left: 28px; }
.tip.is-right { left: auto; right: 0; transform: translate(0, 6px); }
.tip.is-right::after { left: auto; right: 22px; transform: none; }
.tool-grid li:hover .tip, .tool:focus-visible + .tip, .tool[aria-expanded="true"] + .tip { opacity: 1; transform: translate(-50%, 0); }
.tool-grid li:hover .tip.is-left, .tool:focus-visible + .tip.is-left, .tool[aria-expanded="true"] + .tip.is-left,
.tool-grid li:hover .tip.is-right, .tool:focus-visible + .tip.is-right, .tool[aria-expanded="true"] + .tip.is-right { transform: none; }

.skills { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.skills__title { font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.skills__list { display: flex; flex-wrap: wrap; gap: 8px; }
.skills__list li { font: 500 13.5px/1 var(--sans); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-soft); color: var(--ink-2); }
@media (max-width: 960px) {
  .tool-groups { grid-template-columns: 1fr; }
}

/* ══════════ GLOSARIUM ══════════ */
.glossary__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.glossary__intro { position: sticky; top: 100px; }
.glossary__intro .sec-head { margin-bottom: 28px; }
.glossary__intro h2 { font-size: clamp(28px, 3.2vw, 42px); }
.gl-tools { display: grid; gap: 16px; }
.search {
  display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 50px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--info); box-shadow: 0 0 0 4px var(--info-soft); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; color: var(--ink); font: 400 15px var(--sans); }
.search input::placeholder { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter { font: 500 13px/1 var(--sans); padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line-soft); background: transparent; cursor: pointer; color: var(--ink-2); transition: all .2s; }
.filter:hover { border-color: var(--line); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gl-count { font: 400 13px var(--sans); color: var(--muted); }

.gl-list { border-top: 1px solid var(--ink); }
.gl { border-bottom: 1px solid var(--line-soft); }
.gl[hidden] { display: none; }
.gl h3 { font-size: inherit; }
.gl button {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: auto 1fr 28px; align-items: baseline; gap: 6px 16px;
  padding: 22px 0;
}
.gl__term { font: 600 clamp(18px, 1.6vw, 21px)/1.25 var(--sans); letter-spacing: -.015em; }
.gl__short { font: italic 400 16px/1.4 var(--serif); color: var(--muted); }
.gl button i { align-self: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-soft); position: relative; transition: transform .35s var(--ease), background-color .25s; }
.gl button i::before, .gl button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.gl button i::after { transform: translate(-50%, -50%) rotate(90deg); }
.gl button:hover .gl__term { color: var(--info); }
.gl button[aria-expanded="true"] i { transform: rotate(45deg); background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.gl__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.gl__panel > div { overflow: hidden; }
.gl.is-open .gl__panel { grid-template-rows: 1fr; }
.gl__panel p { max-width: 62ch; color: var(--ink-2); }
.gl__panel p:first-child { padding-top: 2px; }
.gl__impact { margin: 14px 0 24px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--warn-soft); color: var(--ink) !important; }
.gl__impact .hl { background: transparent; padding: 0; }
.gl.is-flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 40% { background: var(--warn-soft); } 100% { background: transparent; } }
.gl-empty { padding: 28px 0; color: var(--muted); }
@media (max-width: 900px) {
  .glossary__grid { grid-template-columns: 1fr; }
  .glossary__intro { position: static; }
}
@media (max-width: 560px) {
  .gl button { grid-template-columns: 1fr 28px; }
  .gl__short { grid-column: 1; grid-row: 2; }
  .gl button i { grid-row: 1 / span 2; grid-column: 2; }
}

/* ══════════ LAYANAN LAIN ══════════ */
.extras { padding-top: 0; }
.extra-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.extra {
  display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r-lg);
  border: 1px solid var(--line-soft); color: var(--ink); text-decoration: none;
  transition: border-color .25s, transform .3s var(--ease), background-color .25s;
}
.extra svg { width: 26px; height: 26px; fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.extra h3 { font-size: 18px; }
.extra p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.extra__go { font: 500 14px var(--sans); color: var(--info); margin-top: 6px; }
.extra__go::after { content: " \2192"; display: inline-block; transition: transform .2s var(--ease); }
.extra:hover { border-color: var(--line); background: var(--surface-2); transform: translateY(-2px); }
.extra:hover .extra__go::after { transform: translateX(4px); }
@media (max-width: 1000px) { .extra-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .extra-grid { grid-template-columns: 1fr; } }

/* ══════════ PENUTUP ══════════ */
.close { padding-top: 0; }
.close__card {
  border-radius: 28px; padding: clamp(32px, 6vw, 80px);
  background: var(--ink); color: var(--bg);
  display: grid; gap: 22px; justify-items: start;
  position: relative; overflow: hidden;
}
/* Ornamen: ring skor ala Lighthouse, samar. */
.close__card::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 26px solid var(--good); opacity: .14; clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);
}
:root[data-theme="dark"] .close__card { background: var(--surface-2); color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .close__card { background: var(--surface-2); color: var(--ink); } }
.close__card .kicker { color: inherit; opacity: .7; }
.close__card .kicker span { color: inherit; }
.close__card .kicker span::after { background: currentColor; opacity: .4; }
.close__card h2 { font-size: clamp(30px, 4.4vw, 58px); max-width: 18ch; text-wrap: balance; }
.close__sub { max-width: 56ch; opacity: .8; font-size: clamp(16px, 1.3vw, 19px); }

.picker { border: 0; margin: 6px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.picker label { cursor: pointer; }
.picker input { position: absolute; opacity: 0; pointer-events: none; }
.picker span {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 14.5px/1 var(--sans); padding: 12px 16px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  transition: all .2s;
}
.picker span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .6; transition: all .2s; }
.picker input:checked + span { background: color-mix(in srgb, currentColor 12%, transparent); border-color: currentColor; }
.picker input:checked + span::before { background: var(--good); border-color: var(--good); opacity: 1; }
.picker input:focus-visible + span { outline: 2px solid var(--info); outline-offset: 2px; }
.close__fine { font-size: 14px; opacity: .6; font-family: var(--sans); }

/* ══════════ FOOTER ══════════ */
.foot { padding: 48px 0 32px; border-top: 1px solid var(--line-soft); }
.foot__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.foot__line { margin-top: 12px; font-size: 15px; color: var(--ink-2); max-width: 44ch; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 20px; font: 500 14px var(--sans); }
.foot__links a { color: var(--ink-2); text-decoration: none; }
.foot__links a:hover { color: var(--info); }
.foot__copy { margin-top: 32px; font: 400 13px var(--sans); color: var(--muted); }

/* ══════════ DOCK (HP) ══════════ */
.dock {
  position: fixed; z-index: 55; left: 12px; right: 12px; bottom: 12px;
  display: none; align-items: center; justify-content: center; gap: 10px;
  height: 54px; border-radius: 999px; background: var(--info); color: var(--on-info);
  font: 500 15px/1 var(--sans); text-decoration: none; box-shadow: 0 14px 30px -12px var(--info);
  transform: translateY(140%); transition: transform .45s var(--ease-out);
}
.dock svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (max-width: 760px) {
  .dock { display: flex; }
  .dock.is-shown { transform: none; }
  .foot { padding-bottom: 96px; }
}
