/* Static SEO pages (/alat/, /banding/, /panduan/): same colours, fonts and buttons as the landing page (app/ui/landing.css). */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
.lp { --navy: #0b1b3a; --blue: #2f6bff; --blue-d: #1f55e0; --soft: #eef3ff; --ink: #0b1b3a; --mut: #4b5b7c; --line: #e3e8f2; --ok: #18794e; --warn: #9a5b00;
  min-height: 100vh; background: #fff; color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; overflow-x: clip; -webkit-font-smoothing: antialiased; }
.lp h1, .lp h2, .lp h3 { letter-spacing: -0.02em; text-wrap: balance; }
.lp p { text-wrap: pretty; }

.logo-lockup { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { flex-shrink: 0; display: block; }
.wordmark { font-weight: 800; font-size: 21px; letter-spacing: -0.6px; color: var(--ink); }
.wordmark b { color: #2f6bff; font-weight: 800; }
.lp-foot .wordmark { color: #fff; }
.lp-foot .wordmark b { color: #6f97ff; }

.lp-head { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px max(16px, calc((100vw - 1120px) / 2)); background: #ffffffee; backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.lp-logo { display: flex; align-items: center; min-height: 44px; }
.lp-head-r { display: flex; align-items: center; gap: 6px; }
.lp-login { display: flex; align-items: center; min-height: 44px; padding: 0 8px; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--mut); }
.lp-login:hover { color: var(--ink); }
.lp-head-cta { display: none; }

.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 12px; border: 0;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 17px; box-shadow: 0 6px 18px #2f6bff40; transition: background-color .15s, transform .15s; text-align: center; }
.lp-btn:hover { background: var(--blue-d); }
.lp-btn:active { transform: translateY(1px); }
.lp-btn.line { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.lp-btn.line:hover { background: var(--soft); }
.lp-link { color: var(--blue); font-weight: 600; }
.lp-link:hover, .pg-body a:hover { text-decoration: underline; }

/* Page body */
.pg { max-width: 860px; margin: 0 auto; padding: 18px 16px 0; }
.pg-wide { max-width: 1120px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 13px; color: var(--mut); margin: 4px 0 14px; padding: 0; list-style: none; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--blue); }
.pg h1 { font-size: clamp(26px, 7vw, 44px); line-height: 1.15; font-weight: 800; }
.pg-lead { margin-top: 12px !important; font-size: 18px; color: var(--ink); }
.pg-meta { margin-top: 10px !important; font-size: 13px; color: var(--mut); }
.pg h2 { margin-top: 40px !important; font-size: clamp(22px, 5.6vw, 32px); line-height: 1.2; font-weight: 800; }
.pg h2[id] { scroll-margin-top: 84px; }
.toc { margin-top: 22px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fafbff; }
.toc-h { margin: 0 !important; font-size: 14px; font-weight: 800; color: var(--ink); }
.pg-body .toc ol { margin-top: 8px; gap: 4px; }
.pg-body .toc a { font-weight: 600; display: block; padding: 4px 0; }
.pg h3 { margin-top: 22px !important; font-size: 19px; line-height: 1.3; }
.pg-body p, .pg-body li { color: #22314f; }
.pg-body p { margin-top: 12px !important; }
.pg-body ul, .pg-body ol { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.pg-body a { color: var(--blue); font-weight: 600; }
.note { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #fff8e6; border: 1px solid #f1dca6; font-size: 15px; color: #4a3a10; }
.note p { margin: 0 !important; color: inherit; }
.fine { font-size: 13px; color: var(--mut); }

/* Cards and grids */
.cards { display: grid; gap: 14px; margin-top: 18px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: #fafbff; display: grid; gap: 8px; align-content: start; }
.card h2, .card h3 { margin: 0 !important; }
.card p { margin: 0 !important; color: var(--mut); font-size: 16px; }
.card .lp-btn { margin-top: 6px; }
.tag { display: inline-block; justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--blue); font-size: 13px; font-weight: 700; }

/* Comparison table: real table on wide screens, stacked cards on phones. */
.cmp { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.cmp thead th { background: var(--navy); color: #fff; font-size: 14px; }
.cmp tbody th { font-weight: 700; }
@media (max-width: 759px) {
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp tr { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 6px 0; background: #fafbff; }
  .cmp tbody th { font-size: 17px; border-bottom: 1px solid var(--line); }
  .cmp td { border: 0; padding: 6px 14px; }
  .cmp td::before { content: attr(data-l); display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--mut); }
}

/* FAQ */
.faq { margin-top: 16px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px !important; color: var(--mut); font-size: 16px; }

/* CTA card */
.cta { margin: 36px 0 0; padding: 26px 20px; border-radius: 20px; background: var(--navy); color: #fff; display: grid; gap: 10px; }
.cta h2 { margin: 0 !important; color: #fff; font-size: 24px; }
.cta p, .cta li { color: #c9d6f2; font-size: 16px; }
.cta ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.cta .lp-btn { margin-top: 6px; width: 100%; max-width: 380px; }
.cta small { color: #9fb0d4; font-size: 13px; }

/* Tool forms */
.tool { margin-top: 20px; border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; background: #fafbff; display: grid; gap: 14px; }
.tool h2 { margin: 0 !important; font-size: 21px; }
.fld { display: grid; gap: 6px; }
.fld label, .fld .lbl { font-size: 15px; font-weight: 700; }
.fld small { color: var(--mut); font-size: 13px; }
.in { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #c9d2e3; border-radius: 12px; background: #fff; font-size: 16px; }
.in:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.addon { display: grid; grid-template-columns: 1fr 112px 44px; gap: 8px; align-items: center; }
.icon-btn { min-height: 44px; min-width: 44px; border-radius: 12px; border: 1px solid #c9d2e3; background: #fff; font-size: 20px; color: var(--mut); }
.small-btn { justify-self: start; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px dashed var(--blue); color: var(--blue); font-weight: 700; font-size: 15px; background: #fff; }
.seg { display: inline-grid; grid-auto-flow: column; padding: 3px; border-radius: 12px; background: #eef1f7; }
.seg label { display: grid; place-items: center; min-height: 42px; min-width: 64px; padding: 0 10px; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: #fff; box-shadow: 0 2px 8px #0b1b3a1f; }
.res { border-radius: 16px; padding: 16px; background: #fff; border: 2px solid var(--blue); display: grid; gap: 4px; }
.res-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.res-row:last-child { border-bottom: 0; }
.res-row b { white-space: nowrap; }
.res-row.big { font-size: 20px; font-weight: 800; color: var(--blue); border-bottom: 0; }
.res-row.neg b { color: #b42318; }
.res-row.pos b { color: var(--ok); }
.err { color: #b42318; font-size: 15px; font-weight: 600; }
.err:empty { display: none; }

/* Inspection checklist */
.sheet { margin-top: 20px; border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: #fff; display: grid; gap: 16px; }
.sheet h2 { margin: 0 !important; font-size: 20px; }
.sheet-head { display: grid; gap: 10px; }
.stage { display: grid; gap: 10px; }
.chk { width: 100%; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
.chk th:nth-child(1) { width: 46%; }
.chk th:nth-child(2) { width: 48px; }
.chk .in { min-width: 0; min-height: 40px; padding: 6px 8px; }
.chk th, .chk td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: middle; }
.chk thead th { background: var(--soft); font-size: 13px; }
.chk td.c { text-align: center; padding: 4px; }
.chk input[type="checkbox"] { width: 24px; height: 24px; accent-color: var(--blue); }
.fuel { display: flex; flex-wrap: wrap; gap: 6px; }
.fuel label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid #c9d2e3; border-radius: 12px; background: #fff; font-size: 15px; font-weight: 600; }
.fuel input { width: 20px; height: 20px; accent-color: var(--blue); }
.car-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.car-map label { display: grid; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 700; }
.car-map .in { min-height: 40px; padding: 6px 8px; font-size: 16px; }
.sign { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.sign div { border-top: 1px solid var(--ink); padding-top: 6px; font-size: 13px; color: var(--mut); min-height: 64px; display: flex; align-items: flex-end; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions .lp-btn { flex: 1 1 200px; }

/* Agreement generator (/alat/jana-perjanjian-sewa-kereta/) */
textarea.in { min-height: 88px; resize: vertical; }
.gen-form .seg label { min-width: 0; }
.doc { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; background: #fff; display: grid; gap: 12px; font-size: 14px; line-height: 1.45; color: #111; overflow-wrap: anywhere; }
.doc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--mut); margin-bottom: 4px; }
.doc p { margin: 0; }
.doc-head { display: grid; gap: 10px; border-bottom: 2px solid var(--navy); padding-bottom: 10px; }
.doc-co { font-size: 18px !important; margin: 0 !important; }
.doc-title { font-size: 16px; font-weight: 800; color: var(--navy); }
.doc-cols { display: grid; gap: 12px; }
.doc-table { width: 100%; border-collapse: collapse; }
.doc-table th, .doc-table td { border: 1px solid #cfd6e4; padding: 6px 8px; text-align: left; vertical-align: top; }
.doc-table thead th { background: var(--soft); font-size: 13px; }
.doc-table .num { text-align: right; white-space: nowrap; }
.doc-table tr.total td { font-weight: 800; }
.doc-check td { height: 34px; }
.doc-check td:first-child { width: 40%; }
.doc-note ol, .doc-note ul { margin: 0; padding-left: 20px; display: grid; gap: 3px; }
.doc-signs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.doc-sign { height: 54px; border-bottom: 1px solid #111; margin-bottom: 4px; }
.doc-foot { font-size: 12px; color: var(--mut); }
.pg-fig { margin: 18px 0 0; }
.pg-fig img { display: block; width: 100%; max-width: 520px; height: auto; border: 1px solid var(--line); border-radius: 12px; }
.pg-fig.phone img { max-width: 280px; border-radius: 22px; }
.pg-fig figcaption { margin-top: 6px; font-size: 13px; color: var(--mut); }
@media (min-width: 760px) {
  .doc { padding: 28px; }
  .doc-head { grid-template-columns: 1fr auto; }
  .doc-right { text-align: right; }
  .doc-cols { grid-template-columns: 1fr 1fr; }
}

.lp-foot { display: grid; gap: 16px; justify-items: start; margin-top: 56px; padding: 32px 16px calc(32px + env(safe-area-inset-bottom, 0px)); background: #060f22; color: #c9d6f2; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.lp-foot nav a, .lp-foot nav button { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: #c9d6f2; }
.lp-foot nav a:hover, .lp-foot nav button:hover { color: #fff; text-decoration: underline; }
.lp-foot small { color: #8a9bbd; }

/* Cookie banner (same text and behaviour as app/ui/consent-banner.tsx) */
.consent { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin: 0 auto; padding: 14px 16px;
  border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 36px #0b1b3a33; display: grid; gap: 10px; font-size: 15px; }
.consent a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.consent-btns { display: flex; gap: 8px; }
.consent-btns button { flex: 1; min-height: 44px; border-radius: 12px; font-weight: 700; }
.consent-no { background: #eef1f7; color: var(--ink); }
.consent-yes { background: var(--blue); color: #fff; }

@media (min-width: 760px) {
  .lp-head-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; margin-left: 6px; }
  .pg { padding: 32px 24px 0; }
  .cards.two { grid-template-columns: 1fr 1fr; }
  .tool { padding: 24px; }
  .sheet { padding: 24px; }
  .sheet-head { grid-template-columns: repeat(3, 1fr); }
  .stages { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .cta { padding: 32px; }
  .lp-foot { grid-template-columns: auto 1fr auto; align-items: center; padding: 32px max(24px, calc((100vw - 1120px) / 2)); }
  .lp-foot nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { transition-duration: 0s !important; animation: none !important; }
}

/* Print: only the document (checklist / result), no header, footer, CTA or explanations. */
@media print {
  @page { size: A4; margin: 12mm; }
  .lp { font-size: 12px; min-height: 0; }
  .lp-head, .lp-foot, .cta, .no-print, .consent, .crumbs, .faq, .pg-body, .pg-lead, .pg-meta { display: none !important; }
  .pg { max-width: none; padding: 0; }
  .sheet, .tool { border: 0; padding: 0; margin: 0; background: #fff; gap: 8px; }
  .stages { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .sheet-head { grid-template-columns: repeat(3, 1fr); }
  .in { min-height: 0; padding: 3px 6px; border-radius: 4px; font-size: 12px; border-color: #999; }
  .chk th, .chk td { padding: 3px 5px; border-color: #999; }
  .fuel label, .car-map label { min-height: 0; padding: 2px 6px; border-color: #999; }
  .car-map .in { min-height: 0; }
  .print-title { display: block !important; font-size: 16px; font-weight: 800; }
  a { color: inherit !important; }
  .doc { border: 0; padding: 0; margin: 0; font-size: 11px; gap: 8px; }
  .doc-head { grid-template-columns: 1fr auto; }
  .doc-right { text-align: right; }
  .doc-cols { grid-template-columns: 1fr 1fr; }
  .doc-table th, .doc-table td { padding: 3px 6px; border-color: #999; }
  .doc-check td { height: 24px; }
  .doc-sign { height: 44px; }
  .seo-pref { display: none !important; }
}
.print-title { display: none; }

/* Google Preferred Sources callout (end of guide pages) */
.seo-pref { max-width: 760px; margin: 28px auto 8px; padding: 14px 16px; border-radius: 12px; background: #fff8e1; border: 1px solid #f3d27a; font-size: 15px; line-height: 1.5; }
.seo-pref a { color: #0b1b3a; text-decoration: none; }
.seo-pref a:hover { text-decoration: underline; }
