/* Bernd — gaya situs dan CMS. Satu berkas, tanpa build. */

:root {
  --ink: #0A0A0A;
  --ink-2: #141414;
  --ink-3: #1F1F1F;
  --line: #E7E5E1;
  --line-soft: #F1EFEC;
  --line-btn-dark: #3A3A3A;
  --line-dark: #262626;
  --muted: #5C5A56;
  --soft: #F7F6F3;
  --brand: #0A0A0A;
  --brand-soft: #F1EFEB;
  --brand-deep: #0A0A0A;
  --mint: #F2F1EE;          /* aksen di latar gelap: putih gading logo */
  --gold: #D9A441;
  --on-dark: #B8B6B1;
  --on-dark-2: #8E8C87;
  --up: #067647;
  --up-bg: #E6F4EE;
  --up-tick: #34D399;
  --down: #B42318;
  --down-bg: #FDECEA;
  --down-tick: #FF8A8A;
  --warn: #6B4308;
  --warn-bg: #FFF1CC;
  --bad: #912018;
  --bad-bg: #FDECEA;
  --mute-ink: #3A3936;
  --mute-bg: #EDEBE7;
  --field-line: #D6D3CE;
  --radius: 14px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h: "Space Grotesk", Inter, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.5; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg, video { max-width: 100%; }
::selection { background: var(--ink); color: var(--mint); }
section[id] { scroll-margin-top: 80px; }
p a, .auth__links a, .help a { text-decoration: underline; text-decoration-color: rgba(10, 10, 10, .3); text-underline-offset: 3px; }
img { display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-h); }
p { margin: 0; }
ul, ol { margin: 0; padding-left: 20px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.section--dark :focus-visible, .hero :focus-visible, .lock-card :focus-visible, .site-footer :focus-visible, .adm-side :focus-visible { outline-color: var(--mint); }
.h { font-family: var(--font-h); }
.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; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }

/* ------------------------------------------------------------ tata letak */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding: 80px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #fff; }
.stack { display: flex; flex-direction: column; gap: 32px; }
.stack--sm { gap: 16px; }
.stack--xs { gap: 8px; }
.head { display: flex; flex-direction: column; gap: 8px; }
.head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--brand); text-transform: uppercase; }
.eyebrow--mint { color: var(--mint); }
.section-title { font-size: 36px; letter-spacing: -.02em; }
.lead { font-size: 16px; color: var(--muted); }
.grid { display: grid; gap: 24px; }
.grid--16 { gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row--between { justify-content: space-between; }

/* --------------------------------------------------------------- tombol */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  background: var(--brand); color: #fff; font: 600 15px/1.2 var(--font);
  cursor: pointer; text-decoration: none; transition: opacity .15s, background-color .15s;
}
.btn:hover { text-decoration: none; opacity: .86; }
.btn svg { flex: none; }
.btn--mint { background: var(--mint); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn--outline:hover { opacity: 1; background: var(--brand-soft); }
.btn--ghost { background: transparent; border-color: var(--line-btn-dark); color: #fff; }
.btn--ghost:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
.btn--light { background: #fff; border-color: var(--field-line); color: var(--ink); }
.btn--danger { background: var(--bad); color: #fff; }
.btn--danger-outline { background: transparent; border-color: var(--bad); color: var(--bad); }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; text-decoration: underline; }

/* ------------------------------------------------------------ lencana */
.chip {
  display: inline-flex; align-items: center; font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep); white-space: nowrap;
}
.chip--free { background: var(--brand); color: #fff; }
.chip--ok { background: var(--up-bg); color: var(--up); }
.chip--warn { background: var(--warn-bg); color: var(--warn); }
.chip--bad { background: var(--bad-bg); color: var(--bad); }
.chip--muted { background: var(--mute-bg); color: var(--mute-ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none;
}
.pill:hover { text-decoration: none; border-color: var(--brand); }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill__n { margin-left: 8px; font-size: 12px; opacity: .75; }

/* --------------------------------------------------------- ticker harga */
.ticker { background: #000; color: #fff; border-bottom: 1px solid var(--line-dark); }
.ticker__in { display: flex; align-items: center; height: 44px; white-space: nowrap; }
.ticker .live { position: relative; z-index: 1; height: 100%; padding: 0 18px 0 max(20px, calc((100vw - 1200px) / 2 + 40px)); background: #000; box-shadow: 12px 0 16px -4px #000; }
.ticker__viewport { flex: 1; min-width: 0; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker-run var(--ticker-duration, 60s) linear infinite; }
.ticker__group { display: flex; flex: none; gap: 36px; padding-right: 36px; }
/* Ticker selalu berjalan (banyak PC Windows mematikan efek animasi tanpa sengaja, yang terbaca sebagai
   "kurangi animasi"); sebagai gantinya ada tombol jeda, dan ticker berhenti saat diarahkan kursor atau disentuh. */
.ticker__viewport:hover .ticker__track, .ticker__viewport:focus-within .ticker__track, .ticker.is-paused .ticker__track { animation-play-state: paused; }
@keyframes ticker-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker__toggle { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 100%; margin-right: max(8px, calc((100vw - 1200px) / 2 + 28px)); padding: 0; border: 0; background: #000; box-shadow: -12px 0 16px -4px #000; color: var(--on-dark-2); cursor: pointer; }
.ticker__toggle:hover { color: #fff; }
.ticker__toggle:focus-visible { outline: 2px solid var(--mint); outline-offset: -6px; }
.ticker__toggle .i-play { display: none; }
.ticker.is-paused .ticker__toggle .i-play { display: block; }
.ticker.is-paused .ticker__toggle .i-pause { display: none; }
.live { display: flex; align-items: center; gap: 6px; flex: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--mint); }
.live__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--up-tick); }
.live.is-stale { color: var(--on-dark-2); }
.live.is-stale .live__dot { background: var(--on-dark-2); }
.tick { display: flex; gap: 8px; align-items: baseline; flex: none; font-size: 14px; }
.tick__sym { font-weight: 600; }
.tick__price { color: var(--on-dark); font-variant-numeric: tabular-nums; }
.tick__chg { font-weight: 600; color: var(--on-dark-2); }
.tick__chg[data-dir="up"] { color: var(--up-tick); }
.tick__chg[data-dir="down"] { color: var(--down-tick); }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 30; background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.site-header :focus-visible { outline-color: var(--mint); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-h); font-weight: 700; font-size: 20px; letter-spacing: -.01em; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__suffix { color: var(--brand); }
.brand--dark { color: #fff; }
.brand--dark .brand__suffix { color: var(--mint); }
.logo { display: block; width: auto; max-width: none; }
.logo--mark { height: 38px; }
.logo--full { height: 60px; }
.auth .logo--full { height: 76px; }
.adm-side .logo--mark { height: 30px; }
.adm-mobilebar .logo--mark { height: 26px; }
.site-menu { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex: 1; }
.nav { display: flex; gap: 22px; align-items: center; margin: 0 auto; }
.nav a { color: var(--on-dark); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-actions form { margin: 0; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 15px; font-weight: 600; }
.site-header .nav-link { color: #fff; }
.menu-btn {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--line-dark); border-radius: 10px; background: transparent; color: #fff; cursor: pointer;
}

/* ----------------------------------------------------------------- hero */
.hero { background: radial-gradient(900px 480px at 85% -10%, rgba(242, 241, 238, .09), transparent 60%), var(--ink); color: #fff; }
.hero__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.hero h1 { font-size: 56px; line-height: 1.05; letter-spacing: -.02em; color: #fff; }
.hero__text { font-size: 18px; line-height: 1.6; color: var(--on-dark); max-width: 520px; }
.hero__books { display: flex; gap: 16px; align-items: flex-start; justify-content: center; }

/* ---------------------------------------------------------------- cover */
.cover {
  --c: #1F1F1F; position: relative; display: flex; flex-direction: column; justify-content: space-between;
  flex: none; background: var(--c); color: #fff; border-radius: 4px 10px 10px 4px; padding: 12px; overflow: hidden;
}
.cover--hero { width: 160px; aspect-ratio: 3 / 4; padding: 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.cover--card { width: 120px; height: 170px; }
.cover--grid { width: 100%; aspect-ratio: 3 / 4; padding: 14px; }
.cover__label { font-size: 9px; font-weight: 600; letter-spacing: .14em; opacity: .85; text-transform: uppercase; }
.cover__title { font-family: var(--font-h); font-weight: 700; font-size: 13px; line-height: 1.2; }
.cover--hero .cover__title, .cover--grid .cover__title { font-size: 17px; }
.cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Kartu hero bergerak: melayang bergantian, kilau menyapu, bar sinyal naik-turun, miring mengikuti kursor (app.js).
   Sengaja tetap berjalan walau perangkat meminta animasi dikurangi (sama seperti ticker); gerakannya pelan dan dekoratif. */
.hero__books { perspective: 900px; }
.hero__book { --rx: 0deg; --ry: 0deg; transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .35s ease-out; }
.hero__book .cover--hero { animation: hero-float 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -2s); }
@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); box-shadow: 0 20px 40px rgba(0, 0, 0, .35), 0 0 0 rgba(0, 0, 0, 0); }
  50% { transform: translateY(-16px) rotate(1.5deg); box-shadow: 0 34px 50px rgba(0, 0, 0, .45), 0 0 44px color-mix(in srgb, var(--c) 45%, transparent); }
}
.hero__book .cover--hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .24) 48%, rgba(255, 255, 255, .06) 56%, transparent 70%);
  transform: translateX(-130%); animation: hero-shine 7s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1.4s + .8s);
}
@keyframes hero-shine { 0% { transform: translateX(-130%); } 28%, 100% { transform: translateX(130%); } }
.hero__book .cover--hero svg rect { transform-box: fill-box; transform-origin: 50% 100%; animation: hero-bars 1.8s ease-in-out infinite; }
.hero__book .cover--hero svg rect:nth-child(2) { animation-delay: .2s; }
.hero__book .cover--hero svg rect:nth-child(3) { animation-delay: .4s; }
.hero__book .cover--hero svg rect:nth-child(4) { animation-delay: .6s; }
@keyframes hero-bars { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.4); } }

/* ----------------------------------------------------------- harga live */
.price-card { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.price-card--small { gap: 10px; padding: 20px; border-radius: var(--radius); }
.price-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.price-card__sym { font-family: var(--font-h); font-size: 24px; font-weight: 700; }
.price-card--small .price-card__sym { font-size: 18px; }
.price-card__name { font-size: 14px; color: var(--muted); }
.price-card__price { font-family: var(--font-h); font-size: 48px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-card--small .price-card__price { font-size: 28px; letter-spacing: -.01em; }
.price-card__foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.price-card.is-stale .price-card__price { color: #A3A19C; }
.delta { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--mute-bg); color: var(--mute-ink); white-space: nowrap; }
.price-card--small .delta { font-size: 13px; padding: 4px 10px; }
.delta[data-dir="up"] { background: var(--up-bg); color: var(--up); }
.delta[data-dir="down"] { background: var(--down-bg); color: var(--down); }
.stale-tag { display: none; font-size: 12px; font-weight: 600; color: var(--warn); background: var(--warn-bg); padding: 2px 8px; border-radius: 999px; }
.is-stale .stale-tag { display: inline-block; }

.price-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.price-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 15px/1 var(--font); cursor: pointer; transition: background-color .15s, border-color .15s; }
.price-tab:hover { border-color: var(--ink); }
.price-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.price-tab__n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--mute-bg); color: var(--mute-ink); font-size: 12px; }
.price-tab.is-active .price-tab__n { background: rgba(255, 255, 255, .16); color: #fff; }
[data-price-panel][hidden] { display: none; }

/* Harga real-time (WebSocket): kedip hijau saat naik, merah saat turun */
.price-card__price, .tick__price { transition: color .6s ease; }
.price-card__price.is-up { color: var(--up); transition: none; }
.price-card__price.is-down { color: var(--down); transition: none; }
.tick__price.is-up { color: var(--up-tick); transition: none; }
.tick__price.is-down { color: var(--down-tick); transition: none; }
.live.is-streaming .live__dot { animation: live-pulse 1.6s ease-out infinite; }
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .price-card__price, .tick__price { transition: none; }
  .live.is-streaming .live__dot { animation: none; }
}

/* ------------------------------------------------------ kartu konten */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.ebook-card { display: flex; gap: 20px; }
.ebook-card__body { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-width: 0; }
.ebook-card h3, .video-card h3, .ind-card h3 { line-height: 1.25; }
.ebook-card h3 { font-size: 20px; }
.ebook-card p, .ind-card p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.card-title-link { color: var(--ink); }
.cat-card { display: flex; flex-direction: column; gap: 10px; }
.cat-card__top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.cat-card h4 { font-size: 18px; }
a.cat-card--open { color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
a.cat-card--open:hover { border-color: var(--ink); text-decoration: none; transform: translateY(-2px); }
.member-grid--done { grid-template-columns: minmax(0, 1fr); padding-top: 72px; padding-bottom: 72px; }
@media (prefers-reduced-motion: reduce) { a.cat-card--open, a.cat-card--open:hover { transition: none; transform: none; } }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 999px; background: var(--c, #1F1F1F); flex: none; }
.video-card { --c: #1F1F1F; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.video-card__thumb { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: var(--c); overflow: hidden; }
.video-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 20px; }
.video-card h3 { font-size: 18px; line-height: 1.3; }
.play { position: relative; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 999px; background: #fff; }
.duration { position: absolute; right: 12px; bottom: 12px; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.ind-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.ind-card__art { display: flex; align-items: center; justify-content: center; height: 96px; border-radius: 10px; background: var(--ink); overflow: hidden; }
.ind-card__art img { width: 100%; height: 100%; object-fit: cover; }
.ind-card h3 { font-size: 20px; }
.ind-card__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.lock-card { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 28px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.lock-card__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 999px; background: var(--ink-3); color: var(--mint); }
.lock-card h3 { font-size: 22px; line-height: 1.2; color: #fff; }
.lock-card p { font-size: 15px; line-height: 1.55; color: var(--on-dark); }
.note { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px; border-radius: var(--radius); background: var(--brand-soft); }
.note h3 { font-size: 18px; }
.note p { font-size: 15px; line-height: 1.6; color: var(--mute-ink); }
.empty { padding: 32px; border: 1px dashed var(--field-line); border-radius: var(--radius); background: #fff; color: var(--muted); text-align: center; }

/* ---------------------------------------------------- bagian member */
.member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.member-grid h2 { font-size: 44px; line-height: 1.08; letter-spacing: -.02em; color: #fff; }
.member-grid__text { font-size: 18px; line-height: 1.6; color: var(--on-dark); max-width: 520px; }
.fineprint { font-size: 13px; line-height: 1.7; color: var(--on-dark-2); max-width: 520px; }
.steps-card { display: flex; flex-direction: column; gap: 24px; padding: 36px; border-radius: 20px; background: #fff; color: var(--ink); }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__n { display: flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--font-h); font-weight: 700; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--muted); }

.cta-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; padding: 56px; border-radius: 24px; background: var(--ink); }
.cta-band h2 { font-size: 40px; line-height: 1.1; letter-spacing: -.01em; color: #fff; }
.cta-band p { font-size: 17px; line-height: 1.65; color: var(--on-dark); }

.about-box { max-width: 760px; }
.about-box p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.faq-item { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.faq-item h3 { font-size: 18px; }
.faq-item p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--on-dark); }
.site-footer__in { display: flex; flex-direction: column; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.site-footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.site-footer nav a { color: var(--on-dark); font-size: 15px; }
.legal { padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; line-height: 1.7; color: var(--on-dark-2); }
.legal p + p { margin-top: 8px; }

/* ----------------------------------------------------------- formulir */
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
fieldset.fld { border: 0; padding: 0; min-width: 0; }
.lb { font-size: 14px; font-weight: 600; padding: 0; }
.lb small { font-weight: 400; color: var(--muted); }
.in, .ta, .sel {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--field-line); border-radius: 10px;
  background: #fff; color: var(--ink); font: 400 15px/1.4 var(--font);
}
.ta { min-height: 96px; resize: vertical; }
.ta--code { font-family: var(--mono); font-size: 13px; }
.in:focus, .ta:focus, .sel:focus { outline: 3px solid rgba(10, 10, 10, .12); border-color: var(--brand); }
.in[aria-invalid="true"], .ta[aria-invalid="true"], .sel[aria-invalid="true"] { border-color: var(--bad); }
input[type="file"].in { padding: 9px 10px; min-height: 44px; background: var(--soft); }
input[type="color"].in { padding: 4px; min-width: 56px; }
.help { font-size: 13px; line-height: 1.5; color: var(--muted); }
.err { font-size: 13px; font-weight: 500; color: var(--bad); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }
.rd { display: flex; gap: 10px; align-items: center; min-height: 36px; font-size: 15px; cursor: pointer; }
.rd input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.flash { margin: 16px 0; padding: 12px 16px; border: 1px solid; border-radius: 10px; font-size: 15px; }
.flash--ok { background: var(--up-bg); border-color: #B8E2D0; color: var(--up); }
.flash--error { background: var(--bad-bg); border-color: #F4C2BD; color: var(--bad); }
.flash--warn { background: var(--warn-bg); border-color: #EBD28A; color: var(--warn); }
.errors-box { margin: 0 0 16px; padding: 12px 16px; border-radius: 10px; background: var(--bad-bg); color: var(--bad); font-size: 14px; }
.errors-box ul { margin: 4px 0 0; }

/* ----------------------------------------------- halaman masuk/daftar */
.auth { display: flex; flex-direction: column; align-items: center; gap: 24px; min-height: 100vh; padding: 40px 20px; background: var(--soft); }
.auth__card { width: 100%; max-width: 440px; padding: 36px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.auth__card h1 { font-size: 28px; margin-bottom: 6px; }
.auth__links { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.auth__note { max-width: 440px; text-align: center; font-size: 13px; color: var(--muted); }
.reg { width: 100%; max-width: 1100px; }
.reg__head { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 28px; }
.reg__head h1 { font-size: 40px; line-height: 1.1; letter-spacing: -.02em; }
.reg__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.reg__form { padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.reg__form h2 { font-size: 22px; margin-bottom: 16px; }
.info-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 16px; }
.info-card h2 { font-size: 20px; }
.info-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.info-card .eyebrow { font-size: 12px; }
.pre-line { white-space: pre-line; }

/* ------------------------------------------------------ area member */
.member-head { background: var(--soft); border-bottom: 1px solid var(--line); }
.member-head__in { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 32px; }
.member-head h1 { font-size: 36px; letter-spacing: -.01em; }
.search { display: flex; gap: 8px; width: 100%; max-width: 420px; }
.search .in { flex: 1; }
.tag { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep); font-size: 12px; font-weight: 600; }
.book-card { display: flex; flex-direction: column; gap: 12px; }
.book-card h3 { font-size: 16px; line-height: 1.3; }
.book-card .btn { margin-top: auto; }
.status-box { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin: 0 auto; padding: 36px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.status-box h1 { font-size: 30px; }
.status-line { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.data-list { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 14px; }
.data-list dt { color: var(--muted); }
.data-list dd { margin: 0; word-break: break-word; }
.page-pad { padding-top: 48px; padding-bottom: 80px; }

/* -------------------------------------------------- halaman video/indikator */
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.detail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.detail h1 { font-size: 34px; line-height: 1.15; letter-spacing: -.01em; }
.player { aspect-ratio: 16 / 9; border-radius: var(--radius); background: #000; overflow: hidden; }
.player iframe, .player video { display: block; width: 100%; height: 100%; border: 0; }
.prose { font-size: 16px; line-height: 1.7; color: var(--mute-ink); }
.shot { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); }

/* ------------------------------------------------------------ halaman */
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 14px; text-decoration: none; }
.pager a:hover { border-color: var(--brand); }
.pager .is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .is-disabled { color: #A3A19C; background: var(--soft); }

/* ============================================================== CMS */
body.adm-body { background: var(--soft); }
.adm { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.adm-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 20px 16px 28px; background: var(--ink); color: var(--on-dark); }
.adm-side .brand { color: #fff; }
.adm-side .brand__suffix { color: var(--mint); }
.adm-side__sub { margin: 10px 0 12px 2px; font-size: 12px; color: var(--on-dark-2); }
.adm-nav-group { margin: 22px 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--on-dark-2); }
.adm-nav { display: flex; flex-direction: column; gap: 2px; }
.adm-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 8px; color: var(--on-dark); font-size: 14px; text-decoration: none; }
.adm-nav a:hover { background: var(--ink-2); color: #fff; text-decoration: none; }
.adm-nav a.is-active { background: var(--ink-3); color: #fff; font-weight: 600; }
.adm-badge { padding: 1px 8px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; }
.adm-side__foot { margin-top: 24px; padding: 16px 12px 0; border-top: 1px solid var(--line-dark); font-size: 13px; }
.adm-side__foot a { color: var(--on-dark); }
.adm-side__foot form { margin: 8px 0 0; }
.adm-main { min-width: 0; padding: 28px 32px 64px; }
.adm-mobilebar { display: none; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.adm-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.adm-top h1 { font-size: 28px; }
.crumb { margin-bottom: 4px; font-size: 13px; color: var(--muted); }
.adm-card { margin-bottom: 20px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.adm-card > h2, .adm-card__head h2 { font-size: 18px; }
.adm-card > h2 { margin-bottom: 12px; }
.adm-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.adm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.adm-grid > .adm-card { margin-bottom: 0; }
.adm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 20px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stat__label { font-size: 13px; color: var(--muted); }
.stat__value { font-family: var(--font-h); font-size: 28px; font-weight: 700; }
.stat__sub { font-size: 12px; color: var(--muted); }
.stat--warn .stat__value { color: var(--warn); }
.stat--ok .stat__value { color: var(--up); }
.stat--bad .stat__value { color: var(--bad); }
a.stat { color: inherit; text-decoration: none; }
a.stat:hover { border-color: var(--brand); }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl--tight td { padding: 8px 10px; }
.cell-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cell-title small { font-size: 13px; color: var(--muted); }
.cell-flex { display: flex; align-items: center; gap: 10px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 16px; }
.filters .fld { margin: 0; }
.filters .in, .filters .sel { min-height: 40px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.callout { padding: 14px 16px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: 14px; line-height: 1.55; }
.callout--ok { background: var(--up-bg); color: var(--up); }
.callout + .callout, .callout + .adm-card { margin-top: 12px; }
.callout-wrap { margin-bottom: 20px; }
.secret { display: block; padding: 12px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 14px; word-break: break-all; }
.code { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); font-family: var(--mono); font-size: 13px; line-height: 1.55; white-space: pre-wrap; word-break: break-all; }
.kv { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-word; }
.proof-preview { max-width: 100%; max-height: 420px; border: 1px solid var(--line); border-radius: 10px; }
.matrix td, .matrix th { text-align: center; }
.matrix td:first-child, .matrix th:first-child { text-align: left; }
.inline-note { font-size: 13px; color: var(--muted); }
.sep { height: 1px; margin: 16px 0; border: 0; background: var(--line); }

/* ------------------------------------------- halaman tools & kalender */
.page-head { background: radial-gradient(900px 420px at 85% -20%, rgba(242, 241, 238, .08), transparent 60%), var(--ink); color: #fff; padding: 64px 0 56px; }
.page-head h1 { font-size: 44px; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.page-head__text { max-width: 640px; font-size: 17px; line-height: 1.6; color: var(--on-dark); }
.page-head__text strong { color: #fff; }

.rate-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.rate-bar__field { display: flex; flex-direction: column; gap: 6px; width: 260px; max-width: 100%; }
.rate-bar .help { flex: 1; min-width: 240px; margin: 0; }
.affix { display: flex; align-items: stretch; }
.affix__text { display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--field-line); border-right: 0; border-radius: 10px 0 0 10px; background: var(--soft); color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.affix .in { border-radius: 0 10px 10px 0; min-width: 0; }

.page-head--tool { padding: 36px 0 32px; }
.page-head--tool h1 { font-size: 36px; }
.back--dark { color: var(--on-dark); }
.back--dark:hover { color: #fff; text-decoration: none; }
.tool-tabs { position: sticky; top: 72px; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.tool-tabs__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tool-tabs__in::-webkit-scrollbar { display: none; }
.tool-tab { flex: none; padding: 14px 14px 12px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tool-tab:hover { color: var(--ink); text-decoration: none; }
.tool-tab.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.tool-page { padding-top: 32px; }
.tool-wrap { max-width: 820px; margin: 0 auto; }
.tool-wrap--wide { max-width: none; }
.tool-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tool-pick { display: flex; flex-direction: column; gap: 10px; padding: 24px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.tool-pick:hover { border-color: var(--ink); text-decoration: none; transform: translateY(-2px); }
.tool-pick h2 { font-size: 20px; }
.tool-pick p { flex: 1; font-size: 15px; line-height: 1.55; color: var(--muted); }
.tool-pick__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .tool-pick, .tool-pick:hover { transition: none; transform: none; } }
.tool-card { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; scroll-margin-top: 88px; }
.tool-card h2 { font-size: 24px; }
.tool-card .form-grid .fld, .tool-card > .fld { margin-bottom: 0; }
.tool-card .form-grid { gap: 16px; }
.tool-result { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 12px; background: var(--ink); color: #fff; }
.tool-result__main { display: flex; flex-direction: column; gap: 4px; }
.tool-result__label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
.tool-result__value { font-family: var(--font-h); font-size: 40px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tool-result__line { font-family: var(--font-h); font-size: 20px; font-weight: 700; line-height: 1.35; font-variant-numeric: tabular-nums; word-break: break-word; }
.tool-result__list { display: grid; gap: 8px; margin: 0; }
.tool-result__list div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.tool-result__list dt { color: var(--on-dark); }
.tool-result__list dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.tool-result__warn { margin: 0; padding: 10px 12px; border-radius: 8px; background: rgba(255, 196, 0, .12); color: #FFD666; font-size: 13px; line-height: 1.5; }
.tool-result .help { color: var(--on-dark-2); }
/* Panduan tools: cara pakai, contoh kasus, penjelasan hasil, istilah */
.tool-question { margin: 2px 0 0; font-size: 15px; line-height: 1.5; color: var(--on-dark); }
.tool-question strong { color: #fff; font-weight: 600; }
.tool-pick .tool-pick__q { flex: none; font-family: var(--font-h); font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.tool-guide { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.tool-wrap--wide .tool-guide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.tool-guide__how { padding: 24px 28px; }
.tool-guide__title { margin: 0 0 14px; font-family: var(--font-h); font-size: 18px; }
.tool-steps { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.tool-steps li { position: relative; padding-left: 38px; font-size: 15px; line-height: 1.55; color: var(--muted); counter-increment: step; }
.tool-steps li strong { color: var(--ink); font-weight: 600; }
.tool-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 13px/1 var(--font-h); }
.tool-guide__example { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 28px; border-left: 1px solid var(--line); background: var(--brand-soft); }
.tool-guide__tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tool-guide__case { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink); }
.tool-guide__example .help { margin: 0; }
.tool-guide__status { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.tool-result__explain { margin: 0; padding: 12px 14px; border-radius: 8px; background: var(--ink-3); color: var(--on-dark); font-size: 14px; line-height: 1.6; }
.tool-result__explain strong { color: #fff; font-weight: 700; }
.tool-result__explain-tag { font-weight: 700; color: var(--mint); }
.tool-result.is-flash { animation: tool-flash 1.4s ease-out; }
@keyframes tool-flash { 0% { box-shadow: 0 0 0 0 rgba(10, 10, 10, .5); } 30% { box-shadow: 0 0 0 7px rgba(10, 10, 10, .22); } 100% { box-shadow: 0 0 0 0 rgba(10, 10, 10, 0); } }
.tool-terms { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.tool-terms summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 24px; font-weight: 600; cursor: pointer; list-style: none; }
.tool-terms summary::-webkit-details-marker { display: none; }
.tool-terms summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; line-height: 1; color: var(--muted); }
.tool-terms[open] summary::after { content: "−"; }
.tool-terms__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin: 0; padding: 4px 24px 24px; }
.tool-wrap--wide .tool-terms__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tool-terms__list dt { font-size: 15px; font-weight: 700; }
.tool-terms__list dd { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
@media (max-width: 1000px) { .tool-wrap--wide .tool-terms__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .tool-guide, .tool-wrap--wide .tool-guide { grid-template-columns: minmax(0, 1fr); }
  .tool-guide__how, .tool-guide__example { padding: 20px; }
  .tool-guide__example { border-left: 0; border-top: 1px solid var(--line); }
  .tool-terms__list, .tool-wrap--wide .tool-terms__list { grid-template-columns: minmax(0, 1fr); padding: 4px 20px 20px; }
  .tool-terms summary { padding: 0 20px; }
}
.plan-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.plan-inputs { display: flex; flex-direction: column; gap: 16px; }
.plan-result .tool-result__line { font-size: 22px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--field-line); border-radius: 12px; background: var(--soft); align-self: flex-start; max-width: 100%; }
.seg__opt { position: relative; display: inline-flex; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg__opt span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 9px; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color .15s, color .15s; }
.seg__opt:hover span { color: var(--ink); }
.seg__opt input:checked + span { background: var(--ink); color: #fff; }
.seg__opt input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.affix__select { width: auto; min-width: 84px; border-radius: 10px 0 0 10px; border-right: 0; background-color: var(--soft); font-weight: 600; }
.plan-table td, .plan-table th { padding: 9px 12px; }
.plan-table tr.is-rec td { font-weight: 700; background: var(--brand-soft); }
.plan-table tr.is-off td { color: #A3A19C; }

/* Kalender */
.next-event { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; max-width: 760px; margin-top: 8px; padding: 14px 18px; border: 1px solid var(--line-dark); border-radius: 12px; background: var(--ink-2); }
.next-event__text { flex: 1; min-width: 220px; color: var(--on-dark); font-size: 15px; line-height: 1.5; }
.next-event__text strong { color: #fff; }
.next-event__time { display: block; font-size: 13px; color: var(--on-dark-2); }
.next-event__count { font-family: var(--font-h); font-weight: 700; color: var(--mint); white-space: nowrap; }
.impact { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.impact::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.impact--high { background: var(--down-bg); color: var(--down); }
.impact--medium { background: var(--warn-bg); color: var(--warn); }
.next-event .impact--high { background: rgba(255, 138, 138, .14); color: var(--down-tick); }

.cal-filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.cal-filters .pill { cursor: pointer; font: 500 14px/1 var(--font); }
.cal-day { display: flex; flex-direction: column; gap: 12px; }
.cal-day__title { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.cal-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cal-row { display: grid; grid-template-columns: 64px 84px 96px minmax(0, 1fr) 110px 110px; gap: 12px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line-soft); font-size: 14px; }
.cal-row--actual { grid-template-columns: 64px 84px 96px minmax(0, 1fr) 96px 96px 96px; }
.cal-row--head { border-top: 0; background: var(--soft); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cal-row .num { text-align: right; font-variant-numeric: tabular-nums; }
.cal-row__time { font-weight: 600; font-variant-numeric: tabular-nums; }
.cal-row__cur { font-weight: 700; }
.cal-row__title { font-weight: 500; }
.cal-row.is-past { color: #8E8C87; }
.cal-row.is-past .impact { opacity: .55; }
.cal-row[hidden], .cal-day[hidden] { display: none; }

@media (max-width: 1000px) {
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
  .tool-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .tool-picks { grid-template-columns: minmax(0, 1fr); }
  .page-head--tool h1 { font-size: 28px; }
}
@media (max-width: 760px) {
  .page-head { padding: 44px 0 40px; }
  .page-head h1 { font-size: 30px; }
  .page-head__text { font-size: 16px; }
  .tool-card { padding: 20px; }
  .tool-result__value { font-size: 34px; }
  .cal-row--head { display: none; }
  .cal-row, .cal-row--actual { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 14px 16px; }
  .cal-list .cal-row:nth-child(2) { border-top: 0; }
  .cal-row__title { flex-basis: 100%; order: 4; font-size: 15px; }
  .cal-row .num { order: 5; text-align: left; font-size: 13px; color: var(--muted); }
  .cal-row .num::before { content: attr(data-label) ": "; }
  .plan-table th, .plan-table td { padding: 8px 6px; font-size: 13px; }
  .plan-table th { font-size: 11px; letter-spacing: 0; }
  .tool-result__list div { flex-direction: column; gap: 2px; }
  .tool-result__list dd { text-align: left; }
}
/* ------------------------------------------------ perangkat member */
.device-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.device { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.device__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.device form { margin: 0; flex: none; }
.device--empty { justify-content: center; border-style: dashed; background: transparent; }

/* ------------------------------------------------------ kartu member */
.mcard-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.mcard-preview { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.mcard-preview > .help { margin: 0; }
.mcard-sheet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 32px 28px 22px; border-radius: 20px; background: radial-gradient(640px 320px at 50% -10%, rgba(242, 241, 238, .12), transparent 70%), var(--ink); }
.mcard-side { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; }
.mcard-side figcaption { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.mcard-svg { display: block; width: 100%; max-width: 300px; height: auto; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .5)); }
.mcard-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mcard-status { font-weight: 600; color: var(--ink); }
.mcard-form { display: flex; flex-direction: column; gap: 16px; padding: 28px; }
.mcard-form .fld { margin-bottom: 0; }
.mcard-form .form-grid { gap: 16px; }
.mcard-photo { display: flex; align-items: flex-start; gap: 16px; }
.mcard-photo__thumb { flex: none; width: 72px; height: 72px; border: 2px solid #D9A441; border-radius: 999px; background: var(--soft) center / cover no-repeat; }
.save-state { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.save-state.is-saving { color: var(--muted); }
.save-state.is-saved { color: var(--up); }
.save-state.is-error { color: var(--bad); }
.field-error { font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--bad); }
.mcard-readonly { margin: 0; padding: 11px 14px; border-radius: 10px; background: var(--soft); color: var(--muted); font-size: 15px; word-break: break-all; }
.member-card-promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.member-card-promo p { margin: 0; color: var(--on-dark); font-size: 15px; }
.member-card-promo strong { color: #fff; }
@media (max-width: 1000px) {
  .mcard-layout { grid-template-columns: minmax(0, 1fr); }
  .mcard-preview { position: static; }
}
@media (max-width: 480px) {
  .mcard-sheet { gap: 12px; padding: 20px 14px 16px; }
  .mcard-form { padding: 20px; }
  .mcard-actions .btn { flex: 1 1 100%; }
}
@media print {
  @page { size: A4 portrait; margin: 15mm; }
  .ticker, .site-header, .site-footer, .member-head, .mcard-form, .mcard-actions, .mcard-preview > .help, .flash, .errors-box { display: none !important; }
  body { background: #fff; }
  .mcard-page { padding: 0 !important; }
  .mcard-layout { display: block; padding: 0; }
  .mcard-preview { position: static; }
  .mcard-sheet { display: flex; gap: 10mm; padding: 0; border-radius: 0; background: none; }
  .mcard-side figcaption { display: none; }
  .mcard-svg { width: 54mm; height: 85.6mm; max-width: none; filter: none; outline: .2mm dashed #9A9A9A; outline-offset: 1mm; }
  .mcard-sheet * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ------------------------------------------------------ responsif */
@media (max-width: 1000px) {
  .grid-3, .grid-4, .adm-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail { grid-template-columns: minmax(0, 1fr); }
  .cta-band { padding: 40px 32px; }
}

@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .hero__in, .member-grid, .cta-band, .reg__grid, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .hero__in { gap: 40px; padding-top: 56px; padding-bottom: 56px; }
  .hero h1 { font-size: 36px; }
  .hero__text, .member-grid__text, .cta-band p { font-size: 16px; }
  .hero__books { justify-content: flex-start; }
  .hero__books > div { flex: 0 1 140px; min-width: 0; }
  .cover--hero { width: 100%; max-width: 140px; padding: 10px; }
  .cover--hero .cover__title { font-size: 12px; }
  .member-grid { gap: 40px; padding-top: 56px; padding-bottom: 56px; }
  .member-grid h2, .cta-band h2 { font-size: 30px; }
  .steps-card { padding: 24px; }
  .cta-band { gap: 24px; padding: 32px 24px; }
  .price-card__price { font-size: 36px; }
  .price-card { padding: 22px; }
  .reg__head h1 { font-size: 30px; }
  .reg__form, .auth__card { padding: 24px; }
  .member-head h1 { font-size: 28px; }
  .menu-btn { display: inline-flex; }
  .site-menu {
    display: none; position: absolute; top: 72px; left: 0; right: 0; z-index: 20;
    flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 20px 20px;
    border-bottom: 1px solid var(--line-dark); background: var(--ink); box-shadow: 0 16px 32px rgba(0, 0, 0, .4);
  }
  .site-menu.is-open { display: flex; }
  .nav { flex-direction: column; align-items: flex-start; gap: 0; margin: 0; width: 100%; }
  .nav a { display: flex; align-items: center; min-height: 44px; width: 100%; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 8px; width: 100%; }
  .nav-actions .btn { width: 100%; }
  .ebook-card { flex-direction: column; }
  .cover--card { width: 100%; max-width: 140px; }

  .adm { grid-template-columns: minmax(0, 1fr); }
  .adm-side { display: none; position: static; height: auto; }
  .adm-side.is-open { display: block; }
  .adm-mobilebar { display: flex; }
  .adm-main { padding: 20px 16px 56px; }
  .adm-grid, .adm-grid--3, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .kv, .data-list { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .kv dd, .data-list dd { margin-bottom: 8px; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .grid--keep2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--keep2 .price-card__price { font-size: 22px; }
  .head--row { align-items: flex-start; }
  .detail h1 { font-size: 26px; }
  .status-box { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
