/* Public pages (FAQ, Kebijakan Privasi, Syarat & Ketentuan, Upgrade, Hapus akun).
   Loaded after /app/app.css: same tokens, buttons, chips, notices as the web app. */

.site { min-height: 100vh; display: flex; flex-direction: column; background: var(--white); }
.site-main { flex: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .inner { display: flex; align-items: center; gap: 12px; max-width: 1120px; height: 60px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 769px) { .site-header .inner { padding: 0 32px; } }
.site-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a:not(.btn) { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.site-nav a:not(.btn)[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .site-nav a:not(.btn):hover { background: var(--fill); color: var(--ink); } }
@media (max-width: 640px) { .site-nav .hide-xs { display: none; } }

.site-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 769px) { .site-wrap { padding: 0 32px; } }
.site-wrap.narrow { max-width: 760px; }

.site-hero { padding: 48px 0 28px; }
@media (min-width: 769px) { .site-hero { padding: 72px 0 36px; } }
.site-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: 0.02em; }
.site-hero h1 { margin-top: 10px; font-size: clamp(32px, 6vw, 52px); line-height: 1.05; letter-spacing: -0.045em; max-width: 18ch; }
.site-hero p { margin-top: 14px; max-width: 56ch; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.site-hero .center { text-align: center; margin-left: auto; margin-right: auto; }

.site-footer { margin-top: 80px; border-top: 1px solid var(--line); }
.site-footer .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; max-width: 1120px; margin: 0 auto; padding: 28px 16px calc(28px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--ink-3); }
@media (min-width: 769px) { .site-footer .inner { padding: 32px; } }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer a { color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }

/* FAQ ----------------------------------------------------------------------------- */
.faq-search { position: relative; max-width: 560px; margin-top: 24px; }
.faq-search .search .input { height: 52px; min-height: 52px; font-size: 16px; padding-left: 46px; border-radius: 14px; }
.faq-search .search .icon { left: 16px; }
.faq-layout { display: grid; gap: 32px; padding-bottom: 24px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; } }
.faq-toc { display: none; }
@media (min-width: 960px) {
  .faq-toc { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; }
  .faq-toc a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
  .faq-toc a.active { background: var(--fill); color: var(--ink); font-weight: 600; }
}
@media (hover: hover) and (pointer: fine) { .faq-toc a:hover { background: var(--fill); color: var(--ink); } }
.faq-chips { margin-top: 4px; }
@media (min-width: 960px) { .faq-chips { display: none; } }
.faq-group { scroll-margin-top: 84px; }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group > h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; letter-spacing: -0.02em; margin-bottom: 6px; }
.faq-group > h2 .icon { color: var(--ink-3); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q { flex: 1; }
.faq-item summary .chev { flex-shrink: 0; margin-top: 1px; color: var(--ink-3); transition: transform 220ms var(--ease-out); }
.faq-item[open] summary .chev { transform: rotate(45deg); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .faq-item summary:hover .q { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; } }
.faq-item .a { padding: 0 36px 20px 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.faq-item .a p + p, .faq-item .a p + ol, .faq-item .a p + ul, .faq-item .a ol + p, .faq-item .a ul + p { margin-top: 10px; }
.faq-item .a ol, .faq-item .a ul { padding-left: 20px; }
.faq-item .a ol { list-style: decimal; }
.faq-item .a ul { list-style: disc; }
.faq-item .a li + li { margin-top: 4px; }
.faq-item .a strong { color: var(--ink); font-weight: 600; }
.faq-item .a a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.faq-item .a kbd { padding: 1px 6px; border-radius: 6px; background: var(--fill); font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--ink); }
.faq-item[open] .a { animation: faq-in 220ms var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .faq-item[open] .a { animation: none; } .faq-item summary .chev { transition: none; } }
.faq-item mark { background: var(--accent-soft); color: var(--ink); border-radius: 3px; padding: 0 1px; }
.faq-empty { padding: 40px 20px; border-radius: 20px; background: var(--fill); text-align: center; color: var(--ink-2); }
.faq-empty strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.help-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 56px; padding: 24px; border-radius: 20px; background: var(--fill); }
.help-card .grow h2 { font-size: 20px; letter-spacing: -0.02em; }
.help-card .grow p { margin-top: 4px; color: var(--ink-2); }

/* Legal ---------------------------------------------------------------------------- */
.legal-layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .legal-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; } }
.legal-toc { display: none; }
@media (min-width: 960px) {
  .legal-toc { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 1px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 4px; }
  .legal-toc .label { padding: 0 12px 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
  .legal-toc a { display: block; padding: 6px 12px; border-radius: 8px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); }
  .legal-toc a.active { background: var(--fill); color: var(--ink); font-weight: 600; }
}
@media (hover: hover) and (pointer: fine) { .legal-toc a:hover { background: var(--fill); color: var(--ink); } }
.legal-toc-mobile { margin-bottom: 8px; }
@media (min-width: 960px) { .legal-toc-mobile { display: none; } }
.legal-toc-mobile summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 12px; background: var(--fill); font-weight: 600; cursor: pointer; list-style: none; }
.legal-toc-mobile summary::-webkit-details-marker { display: none; }
.legal-toc-mobile[open] summary .icon { transform: rotate(180deg); }
.legal-toc-mobile ol { padding: 8px 16px 4px 36px; list-style: decimal; color: var(--ink-2); }
.legal-toc-mobile li { padding: 4px 0; }

.legal-summary { padding: 20px 22px; border-radius: 16px; background: var(--fill); }
.legal-summary h2 { font-size: 16px; letter-spacing: -0.01em; }
.legal-summary .lang { margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.legal-summary ul { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.legal-summary li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.legal-summary li .icon { margin-top: 2px; color: var(--ink); }
.legal-summary li strong { color: var(--ink); font-weight: 600; }

.legal-body { max-width: 70ch; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.legal-body section { scroll-margin-top: 84px; padding-top: 32px; }
.legal-body h2 { font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 10px; }
.legal-body h2 a.anchor { margin-left: 6px; color: var(--ink-3); opacity: 0; font-weight: 500; transition: opacity 120ms ease; }
.legal-body section:hover h2 a.anchor, .legal-body h2 a.anchor:focus-visible { opacity: 1; }
.legal-body h3 { margin-top: 18px; font-size: 16px; color: var(--ink); }
.legal-body p + p, .legal-body p + ul, .legal-body ul + p { margin-top: 12px; }
.legal-body ul { margin-top: 10px; padding-left: 22px; list-style: disc; }
.legal-body li + li { margin-top: 6px; }
.legal-body a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.legal-body .caps { font-size: 14.5px; letter-spacing: 0.01em; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.legal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* Upgrade -------------------------------------------------------------------------- */
.plan-durations { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--fill); gap: 2px; }
.plan-durations label { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.plan-durations input { position: absolute; opacity: 0; pointer-events: none; }
.plan-durations label:has(input:checked) { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--line); }
.plan-durations label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

.plans { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  transition: box-shadow 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan:has(input:checked) { box-shadow: 0 0 0 2px var(--ink); }
.plan:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.plan:active { transform: scale(0.995); }
.plan.static { cursor: default; background: var(--fill); box-shadow: none; }
.plan.static:active { transform: none; }
@media (hover: hover) and (pointer: fine) { .plan:not(.static):not(:has(input:checked)):hover { box-shadow: 0 0 0 1px var(--line-strong); } }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-head h3 { font-size: 18px; letter-spacing: -0.02em; }
.plan-radio { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); color: transparent; flex-shrink: 0; }
.plan:has(input:checked) .plan-radio { background: var(--ink); box-shadow: none; color: #fff; }
.plan-price { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.plan-price strong { font-size: 30px; letter-spacing: -0.03em; line-height: 1; }
.plan-price span { font-size: 14px; color: var(--ink-3); }
.plan-total { margin-top: -8px; font-size: 13.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; min-height: 20px; }
.plan ul { display: flex; flex-direction: column; gap: 9px; padding-top: 14px; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.plan li .icon { margin-top: 2px; color: var(--ink); }
.plan li.off { color: var(--ink-3); }
.plan li.off .icon { color: var(--ink-3); }
.plan li strong { color: var(--ink); font-weight: 600; }
.plan .pill { align-self: flex-start; }

.checkout {
  position: sticky;
  bottom: 0;
  z-index: 15;
  margin-top: 24px;
  padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-top: 1px solid var(--line);
}
.checkout .inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.checkout .sum { flex: 1; min-width: 200px; }
.checkout .sum small { display: block; font-size: 13px; color: var(--ink-3); }
.checkout .sum strong { font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.checkout .sum .until { font-size: 13.5px; color: var(--ink-2); }
.checkout .btn { min-width: 220px; }
@media (max-width: 560px) { .checkout .btn { width: 100%; } }
.secure { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }

.status-card { display: flex; flex-direction: column; gap: 16px; max-width: 520px; padding: 24px; border-radius: 20px; box-shadow: 0 0 0 1px var(--line); }
.status-card .row-k { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.status-card .row-k span { color: var(--ink-3); }
.status-card .actions { display: flex; flex-wrap: wrap; gap: 8px; }

.plan-faq { margin-top: 56px; }
.plan-faq h2 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 4px; }

/* Delete account ----------------------------------------------------------------- */
.da { display: grid; gap: 32px; padding-bottom: 24px; }
@media (min-width: 900px) { .da { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; } }
.da-facts { display: flex; flex-direction: column; }
.da-facts li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.da-facts li:last-child { border-bottom: 0; }
.da-facts .avatar { border-radius: 12px; }
.da-facts strong { display: block; font-size: 15.5px; }
.da-facts p { margin-top: 2px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.da-alt { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; padding: 18px 20px; border-radius: 16px; background: var(--fill); }
.da-alt strong { font-size: 15px; }
.da-alt a { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.da-form { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 20px; box-shadow: 0 0 0 1px var(--line); }
.da-form h2 { font-size: 18px; letter-spacing: -0.02em; }
.da-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.da-check input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--danger); }
.da-reasons .chip { cursor: pointer; }
.da-reasons input { position: absolute; opacity: 0; pointer-events: none; }
.da-reasons label:has(input:checked) { background: var(--ink); color: #fff; box-shadow: none; }
.da-reasons label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.da-done { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 520px; margin: 0 auto; padding: 64px 0 24px; text-align: center; }
.da-done h1 { font-size: 30px; letter-spacing: -0.03em; }
.da-done p { color: var(--ink-2); line-height: 1.55; }
.da-steps { display: flex; flex-direction: column; gap: 12px; width: 100%; margin-top: 12px; text-align: left; }
.da-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--fill); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.da-steps .n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; flex-shrink: 0; }

@media print {
  /* app.css hides everything except a .printable receipt; public pages print their own content */
  @page { size: A4; margin: 16mm 14mm; }
  .site-hero, .site-hero *, .legal-layout, .legal-layout * { visibility: visible !important; }
  .site-hero { padding: 0 0 6mm; }
  .site-wrap { padding: 0; }
  .site-header, .site-footer, .legal-toc, .legal-toc-mobile, .legal-actions { display: none !important; }
  .legal-layout { display: block; }
  .legal-body { max-width: none; color: #000; }
}

/* Checkout focus: header without links, quiet footer */
.site-secure { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13.5px; font-weight: 500; color: var(--ink-3); }
.site-footer.focused { margin-top: 48px; }

/* Upgrade on phones: what to buy first, Gratis summarised last, one-line pay bar */
@media (max-width: 859px) {
  .plans { display: flex; flex-direction: column; }
  .plan-rec { order: -1; }
  .plan-free { order: 9; padding: 16px 18px; gap: 6px; }
  .plan-free .plan-price strong { font-size: 18px; }
  .plan-free .plan-total { display: none; }
  .plan-free ul { padding-top: 8px; gap: 4px; border-top: 0; }
  .plan-free li { font-size: 13.5px; }
  .plan { padding: 18px; gap: 12px; }
  .plan-price strong { font-size: 26px; }
  .plan ul { padding-top: 12px; gap: 7px; }
  .plan-durations { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .plan-durations label { justify-content: center; padding: 8px 6px; }
  .duration-note { width: 100%; text-align: center; }
}
@media (max-width: 560px) {
  .site-hero { padding: 28px 0 16px; }
  .site-hero h1 { font-size: 30px; }
  .site-hero p { font-size: 15.5px; }
  .checkout { margin: 20px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, 0.25); }
  .checkout .inner { flex-wrap: nowrap; gap: 12px; }
  .checkout .sum { min-width: 0; }
  .checkout .sum small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .checkout .sum strong { font-size: 19px; }
  .checkout .sum .until { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .checkout .inner > div:last-child { flex-shrink: 0; }
  .checkout .btn { width: auto; min-width: 0; padding-left: 22px; padding-right: 22px; }
  .checkout .secure { display: none; }
  .plan-faq { margin-top: 40px; }
  .status-card { padding: 20px; }
}

.pay-short { display: none; }
@media (max-width: 560px) { .pay-long { display: none; } .pay-short { display: inline; } }

/* Landing pages (views/landing.ejs, config/landings.js) ----------------------------- */
.lp-hero { padding: 28px 0 40px; overflow: hidden; }
@media (min-width: 769px) { .lp-hero { padding: 48px 0 64px; } }
.lp-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .lp-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; } }
.lp-crumbs { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; font-size: 13.5px; color: var(--ink-3); }
.lp-crumbs a { color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .lp-crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 13.5px; font-weight: 600; }
.lp-hero h1 { margin-top: 16px; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.04; letter-spacing: -0.045em; text-wrap: balance; }
.lp-hero h1 em { font-style: normal; color: var(--accent); }
.lp-lead { margin-top: 18px; max-width: 54ch; font-size: 18px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lp-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.lp-note .icon { color: var(--ok); }
.lp-note a { color: var(--ink-2); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
@media (max-width: 560px) {
  .lp-hero h1 { font-size: 33px; }
  .lp-lead { font-size: 16px; }
  .lp-ctas .btn { flex: 1 1 100%; }
}

/* Product mock: drawn with the app's own tokens so it always looks like the real app */
.lp-stage { position: relative; padding: 8px 0 28px; }
.lp-stage:has(.mock-float) { padding-bottom: 60px; }
.lp-stage::before { content: ""; position: absolute; inset: -10% -20% -10% 0; background: radial-gradient(60% 55% at 55% 45%, var(--accent-soft), transparent 70%); z-index: 0; }
.mock { position: relative; z-index: 1; max-width: 460px; margin: 0 auto; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--float-shadow); overflow: hidden; }
.mock-top { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--fill); }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fill-2); }
.mock-url { margin-left: 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.mock-body { display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.mock-who { display: flex; align-items: center; gap: 12px; }
.mock-who > div { flex: 1; min-width: 0; }
.mock-who b { display: block; font-size: 16px; }
.mock-who small { display: block; font-size: 13px; color: var(--ink-3); }
.mock-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.mock-st, .mock-cages span[data-tone] { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.mock-st::before, .mock-cages span[data-tone]::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mock [data-tone="inroom"] { color: var(--st-inroom) !important; }
.mock [data-tone="calling"] { color: var(--st-calling) !important; }
.mock [data-tone="warn"] { color: var(--warn-ink) !important; }
.mock-vitals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-vitals div { padding: 10px 12px; border-radius: 12px; background: var(--fill); }
.mock-vitals small, .mock-field small, .mock-k { display: block; font-size: 12px; color: var(--ink-3); }
.mock-vitals b { font-size: 15px; font-variant-numeric: tabular-nums; }
.mock-field { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mock-field small { width: 100%; }
.mock-chip { padding: 5px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.mock-lines { display: flex; flex-direction: column; }
.mock-lines div { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; color: var(--ink-2); }
.mock-lines div + div::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.mock-lines b { color: var(--ink); font-variant-numeric: tabular-nums; }
.mock-btn { display: grid; place-items: center; min-height: 46px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 700; }
.mock-float { position: absolute; right: -8px; bottom: 0; z-index: 2; width: 220px; border-radius: 16px; animation: lp-float 6s var(--ease-in-out) infinite; }
.mock-float .mock-body { padding: 12px 14px; gap: 2px; }
.mock-float p { font-size: 14px; font-weight: 600; }
@media (max-width: 560px) { .mock-float { display: none; } .lp-stage:has(.mock-float) { padding-bottom: 28px; } }
@keyframes lp-float { 50% { transform: translateY(-6px); } }
.mock-timeline { display: flex; flex-direction: column; }
.mock-timeline li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 10px 0 10px; }
.mock-timeline li::before { content: ""; position: absolute; left: 63px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--white); z-index: 1; }
.mock-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 67px; top: 22px; bottom: -14px; width: 1px; background: var(--line-strong); }
.mock-timeline li:not(:first-child)::before { background: var(--line-strong); }
.mock-timeline time { font-size: 13px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.mock-timeline li > div { padding-left: 20px; }
.mock-timeline b { display: block; font-size: 14.5px; }
.mock-timeline small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.mock-cages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-cage { display: flex; flex-direction: column; gap: 2px; min-height: 84px; padding: 10px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.mock-cage small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.mock-cage b { font-size: 14.5px; }
.mock-cage > span:not([data-tone]) { margin-top: auto; font-size: 13px; color: var(--ink-3); }
.mock-cage.on { background: var(--fill); box-shadow: none; }
.mock-cage span[data-tone] { margin-top: auto; font-size: 11.5px; }
.mock-entry { display: flex; gap: 12px; padding: 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.mock-time { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mock-entry b { display: block; font-size: 14px; }
.mock-entry small { display: block; font-size: 13px; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .mock-float { animation: none; } }

.lp-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.lp-proof li { display: flex; flex-direction: column; gap: 2px; padding: 20px 16px; }
.lp-proof li + li { border-left: 1px solid var(--line); }
.lp-proof b { font-size: clamp(20px, 3vw, 28px); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lp-proof span { font-size: 14px; color: var(--ink-3); }
@media (max-width: 640px) {
  .lp-proof { grid-template-columns: 1fr; }
  .lp-proof li { flex-direction: row; align-items: baseline; gap: 10px; padding: 14px 0; }
  .lp-proof li + li { border-left: 0; border-top: 1px solid var(--line); }
}

.lp-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; }
.lp-toc span { margin-right: 4px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.lp-toc a { padding: 7px 14px; border-radius: 999px; background: var(--fill); font-size: 14px; font-weight: 600; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .lp-toc a:hover { background: var(--fill-2); color: var(--ink); } }

.lp-section { padding: 44px 0; scroll-margin-top: 60px; }
@media (min-width: 769px) { .lp-section { padding: 64px 0; } }
.lp-section.tint { background: var(--fill); }
.lp-head { max-width: 640px; margin-bottom: 32px; }
.lp-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lp-head h2, .lp-prose h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.12; letter-spacing: -0.035em; text-wrap: balance; }
.lp-head p { margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.lp-head p.small { font-size: 15px; color: var(--ink-3); }

.lp-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.lp-ic.sm { width: 36px; height: 36px; border-radius: 10px; }
.lp-features { display: grid; gap: 28px 32px; }
@media (min-width: 640px) { .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .lp-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.lp-features h3 { margin-top: 14px; font-size: 17px; letter-spacing: -0.015em; }
.lp-features p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

.lp-split { display: grid; gap: 16px; }
@media (min-width: 769px) { .lp-split { grid-template-columns: 1fr 1fr; } }
.lp-split article { padding: 28px; border-radius: 20px; box-shadow: 0 0 0 1px var(--line); }
.lp-split h3 { margin-top: 16px; font-size: 20px; letter-spacing: -0.02em; }
.lp-split ul { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.lp-split li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.lp-split li .icon { flex-shrink: 0; margin-top: 2px; color: var(--ok); }

.lp-prose { max-width: 68ch; }
.lp-prose p { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }

.lp-checklist { display: grid; gap: 12px; counter-reset: none; }
@media (min-width: 769px) { .lp-checklist { grid-template-columns: 1fr 1fr; } }
.lp-checklist li { display: flex; gap: 16px; padding: 20px; border-radius: 16px; background: var(--fill); }
.lp-checklist .tag { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: 14px; font-weight: 700; color: var(--accent); flex-shrink: 0; }
.lp-checklist h3 { font-size: 16.5px; letter-spacing: -0.01em; }
.lp-checklist p { margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.lp-asset { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; padding: 28px; border-radius: 24px; background: var(--hero); color: #fff; }
.lp-asset h2 { font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.03em; }
.lp-asset p { margin-top: 8px; max-width: 52ch; color: rgba(255, 255, 255, 0.78); line-height: 1.55; }
.lp-asset ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, 0.9); }
.lp-asset li { display: inline-flex; align-items: center; gap: 6px; }
.lp-asset .btn.primary { background: #fff; color: var(--hero); }
.lp-asset-doc { display: flex; flex-direction: column; gap: 7px; width: 84px; height: 108px; padding: 16px 14px; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5); transform: rotate(-4deg); flex-shrink: 0; }
.lp-asset-doc i { height: 5px; border-radius: 3px; background: var(--fill-2); }
.lp-asset-doc i:first-child { width: 60%; background: var(--accent); }
.lp-asset-doc i:nth-child(3) { width: 80%; }
@media (max-width: 560px) { .lp-asset { padding: 22px; } .lp-asset-doc { display: none; } .lp-asset .btn { width: 100%; } }

.lp-compare { border-radius: 20px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.lp-compare .cmp-row { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; }
.lp-compare .cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.lp-compare .cmp-row > span { padding: 14px 18px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.lp-compare .cmp-row > span:first-child { font-weight: 600; color: var(--ink); }
.lp-compare .cmp-head > span { padding-top: 16px; padding-bottom: 16px; font-size: 13.5px; font-weight: 700; color: var(--ink-3); }
.lp-compare .us { display: flex; gap: 8px; background: var(--accent-soft); color: var(--ink) !important; }
.lp-compare .cmp-head .us { color: var(--accent-ink) !important; }
.lp-compare .us .icon { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
@media (max-width: 680px) {
  .lp-compare .cmp-row { grid-template-columns: 1fr; padding: 14px 16px; gap: 6px; }
  .lp-compare .cmp-head { display: none; }
  .lp-compare .cmp-row > span { padding: 0; }
  .lp-compare .cmp-row > span[data-col]::before { content: attr(data-col) ": "; font-weight: 600; color: var(--ink-3); }
  .lp-compare .us { padding: 8px 10px !important; border-radius: 10px; }
  .lp-compare .us::before { display: none; }
}

.lp-bill-wrap { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .lp-bill-wrap { grid-template-columns: 1fr 1fr; gap: 56px; } .lp-bill-wrap .lp-head { margin-bottom: 0; } }
.lp-bill { padding: 22px 24px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--float-shadow); }
.lp-bill > div { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 15px; color: var(--ink-2); }
.lp-bill > div + div::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.lp-bill b { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-bill .minus b { color: var(--ok); }
.lp-bill .total { padding-top: 16px; font-size: 16px; font-weight: 700; color: var(--ink); }
.lp-bill .total::before { height: 2px !important; background: var(--ink) !important; }
.lp-bill .total b { font-size: 22px; letter-spacing: -0.02em; }

.lp-steps { display: grid; gap: 16px; }
@media (min-width: 769px) { .lp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.lp-steps li { position: relative; padding: 24px; border-radius: 20px; box-shadow: 0 0 0 1px var(--line); }
.lp-steps .n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.lp-steps h3 { margin-top: 14px; font-size: 17px; }
.lp-steps p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.lp-plans { display: grid; gap: 14px; max-width: 980px; margin: 0 auto; }
@media (min-width: 860px) { .lp-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.lp-plans article { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.lp-plans article.rec { box-shadow: 0 0 0 2px var(--accent); }
.lp-plans .plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lp-plans h3 { font-size: 18px; letter-spacing: -0.02em; }
.lp-plans .price { display: flex; align-items: baseline; gap: 6px; }
.lp-plans .price strong { font-size: 28px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lp-plans .price span { font-size: 14px; color: var(--ink-3); }
.lp-plans ul { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.lp-plans li { display: flex; align-items: flex-start; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.lp-plans li .icon { flex-shrink: 0; margin-top: 2px; color: var(--ink); }
.lp-plans-note { margin-top: 20px; text-align: center; font-size: 15px; }
.lp-plans-note a, .lp-more a { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.lp-more { margin-top: 20px; font-size: 15px; color: var(--ink-2); }

.lp-band { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: 36px; border-radius: 24px; background: var(--hero); color: #fff; }
.lp-band h2 { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -0.035em; line-height: 1.15; }
.lp-band p { margin-top: 8px; color: rgba(255, 255, 255, 0.78); }
.lp-band-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.btn.white { background: #fff; color: var(--hero); }
.btn.on-hero { background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); }
@media (hover: hover) and (pointer: fine) {
  .btn.white:hover { background: #eef3fb; }
  .btn.on-hero:hover { background: rgba(255, 255, 255, 0.2); }
}
@media (max-width: 560px) { .lp-band { padding: 24px; } .lp-band-ctas, .lp-band-ctas .btn { width: 100%; } }

.lp-related { display: grid; gap: 10px; margin-top: 40px; }
.lp-section:last-child { padding-bottom: 0; }
.lp-section:last-child + * , .site-main:has(.lp-section) + .site-footer { margin-top: 64px; }
@media (min-width: 769px) { .lp-related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lp-related > span { grid-column: 1 / -1; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.lp-related a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); color: var(--ink); transition: box-shadow 160ms var(--ease-out); }
.lp-related a > .icon { color: var(--ink-3); transition: transform 160ms var(--ease-out); }
.lp-related b { display: block; font-size: 15.5px; }
.lp-related small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) {
  .lp-related a:hover { box-shadow: 0 0 0 1px var(--line-strong); }
  .lp-related a:hover > .icon { transform: translateX(3px); color: var(--ink); }
}
.lp-section .faq-item:first-of-type { border-top: 1px solid var(--line); }

/* Template rekam medis (views/template-rekam-medis.ejs): an A4 sheet on screen, the only thing printed */
.rm-intro { padding: 28px 0 32px; }
@media (min-width: 769px) { .rm-intro { padding: 48px 0 40px; } }
.rm-intro h1 { margin-top: 16px; font-size: clamp(32px, 5vw, 48px); line-height: 1.05; letter-spacing: -0.045em; }
.rm-preview { padding: 32px 16px; margin: 0 -16px; background: var(--fill); overflow-x: auto; }
@media (min-width: 769px) { .rm-preview { margin: 0; padding: 48px; border-radius: 24px; } }
.rm-sheet {
  --rm-ink: #111;
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  padding: 12mm 14mm 9mm;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--float-shadow);
  color: var(--rm-ink);
  font-size: 10.5pt;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  gap: 3.6mm;
}
@media (max-width: 860px) { .rm-sheet { transform-origin: top left; zoom: 0.55; } }
@media (max-width: 480px) { .rm-sheet { zoom: 0.42; } }
.rm-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8mm; padding-bottom: 4mm; border-bottom: 1.5pt solid var(--rm-ink); }
.rm-title { font-size: 16pt; font-weight: 800; letter-spacing: 0.04em; margin-bottom: 3mm; }
.rm-meta { display: flex; flex-direction: column; gap: 2mm; }
.rm-block h2 { display: flex; align-items: center; gap: 2.5mm; margin-bottom: 2.5mm; font-size: 10.5pt; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.rm-block h2 b { display: grid; place-items: center; width: 6mm; height: 6mm; border-radius: 1.5mm; background: var(--rm-ink); color: #fff; font-size: 9.5pt; }
.rm-grid { display: grid; gap: 2mm 8mm; }
.rm-grid.two { grid-template-columns: 1fr 1fr; }
.rm-col { display: flex; flex-direction: column; gap: 2mm; }
.rm-line { display: flex; align-items: flex-end; gap: 2mm; min-height: 6.5mm; }
.rm-line span, .rm-opts span, .rm-vitals span { flex-shrink: 0; font-size: 9pt; color: #444; }
.rm-line i, .rm-vitals i, .rm-fill { flex: 1; min-width: 10mm; border-bottom: 0.75pt solid #999; height: 5mm; }
.rm-opts { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.5mm 4mm; min-height: 7mm; font-size: 9.5pt; }
.rm-opts .gap { margin-left: 4mm; }
.rm-box { height: 13mm; border: 0.75pt solid #999; border-radius: 1.5mm; }
.rm-box.tall { height: 17mm; margin-bottom: 1.5mm; }
.rm-vitals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2mm 6mm; margin-bottom: 2.5mm; }
.rm-vitals div { display: flex; align-items: flex-end; gap: 1.5mm; min-height: 7mm; }
.rm-vitals em { font-style: normal; font-size: 9pt; color: #444; }
.rm-table { width: 100%; border-collapse: collapse; margin-bottom: 2mm; font-size: 9pt; }
.rm-table th { padding: 1.5mm 2mm; border: 0.75pt solid #999; background: #f2f2f2; text-align: left; font-weight: 700; }
.rm-table td { height: 7mm; border: 0.75pt solid #999; }
.rm-table th:first-child { width: 46%; }
.rm-sign { display: grid; grid-template-columns: 1fr 45mm; gap: 8mm; align-items: end; margin-top: auto; padding-top: 4mm; }
.rm-signbox { height: 16mm; border: 0.75pt dashed #999; border-radius: 1.5mm; padding: 1.5mm 2mm; font-size: 8.5pt; color: #666; }
.rm-credit { font-size: 7.5pt; color: #888; text-align: center; }
.rm-after { padding-top: 56px; }

@media print {
  body, .site { background: #fff !important; }
  .no-print, .site-header { display: none !important; }
  .site-wrap { max-width: none; padding: 0; }
  .rm-preview { padding: 0; margin: 0; background: none; border-radius: 0; overflow: visible; }
  html:has(.rm-sheet), body:has(.rm-sheet) { height: 264mm; overflow: hidden; }
  .rm-sheet, .rm-sheet * { visibility: visible !important; }
  /* fills the A4 printable area inside the 16mm × 14mm page margins */
  .rm-sheet { position: absolute; top: 0; left: 0; zoom: 1 !important; box-shadow: none; width: 182mm; height: 264mm; min-height: 0; margin: 0; padding: 0; gap: 3.2mm; }
  .rm-sheet .rm-line, .rm-sheet .rm-opts, .rm-sheet .rm-vitals div { min-height: 6mm; }
  .rm-sheet .rm-box { height: 11mm; }
  .rm-sheet .rm-box.tall { height: 14mm; }
  .rm-sheet .rm-table td { height: 6.4mm; }
  .rm-sheet .rm-signbox { height: 14mm; }
  .rm-sheet .rm-head { padding-bottom: 3mm; }
}
