/* Extra rules for harga.html and it-summary.html only.
   Loaded after /styles.css, so the storefront's tokens (--ink, --soft, --line ...) are available.
   Kept in a separate file because the storefront's CSP allows only 'self' (no inline <style>). */

.eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-board-muted);
  margin-bottom: 14px;
}
.hero-compact { padding: clamp(40px, 5vw, 72px) 0 clamp(36px, 5vw, 64px); }
.hero-compact h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
.hero-compact .tagline {
  margin: 18px auto 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--on-board);
}
.hero-compact .lead { margin-bottom: 0; }

.price-unit { font-size: var(--text-base); }
.plans-two-note { margin-top: 22px; }
.included-list { max-width: 780px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.closing .cta-row { margin-top: 4px; }
.closing .cta-row + p { margin: 18px auto 0; font-size: var(--text-sm); }

/* ---------- IT summary: screen ---------- */
.it-body { background: #ECEEE8; }
.it-sheet {
  width: 210mm;
  max-width: 100%;
  margin: 0 auto;
  padding: 11mm 12mm 9mm;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.4;
}
.it-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 8px; border-bottom: 2px solid var(--ink);
}
.it-head .brand-line { display: flex; align-items: center; gap: 8px; }
.it-head .brand-line img { width: 28px; height: auto; }
.it-head .brand-word { font-size: 21px; }
.it-head .doc-kind { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: right; }
.it-title { margin: 9px 0 2px; font-size: 25px; line-height: 1.08; letter-spacing: -0.02em; }
.it-intro { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.it-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.it-block { padding: 6px 0 4px; border-top: 1px solid var(--line); break-inside: avoid; }
.it-block.wide { grid-column: 1 / -1; }
.it-block h2 {
  font-family: var(--font-body); font-weight: 700; font-size: 12.5px; letter-spacing: 0;
  line-height: 1.2; margin: 0 0 3px; color: var(--ink);
}
.it-block p, .it-block li, .it-block td, .it-block th { font-size: 11.5px; }
.it-block p + p { margin-top: 4px; }
.it-block ul { margin: 0; padding-left: 15px; display: grid; gap: 2px; }
.it-table { width: 100%; border-collapse: collapse; }
.it-table th, .it-table td { text-align: left; vertical-align: top; padding: 3px 6px 3px 0; border-bottom: 1px solid var(--soft); }
.it-table th { font-weight: 700; width: 36%; }
.it-table tr:last-child th, .it-table tr:last-child td { border-bottom: 0; }
.it-limit { background: var(--warn-soft); border-left: 3px solid var(--amber); padding: 6px 9px; border-radius: 3px; }
.it-limit h2 { color: var(--warn-ink); }
.it-foot {
  margin-top: 6px; padding-top: 5px; border-top: 2px solid var(--ink);
  display: flex; justify-content: space-between; gap: 12px; font-size: 10.5px; color: var(--muted);
}
.it-actions { max-width: 210mm; margin: 0 auto; padding: 12px var(--gutter); font-size: var(--text-sm); color: var(--muted); }

@media (max-width: 700px) {
  .it-grid { grid-template-columns: 1fr; }
  .it-sheet { padding: 16px; }
}

/* ---------- IT summary: print (A4, one page) ---------- */
@page { size: A4; margin: 0; }
@media print {
  html, body, .it-body { background: #fff !important; }
  .it-actions { display: none; }
  .it-sheet { width: 210mm; height: 296mm; max-width: none; margin: 0; padding: 10mm 12mm 8mm; overflow: hidden; }
  .it-grid { grid-template-columns: 1fr 1fr; }
  a { color: inherit; text-decoration: none; }
  .it-intro { font-size: 13.5px; }
  .it-block { padding: 8px 0 6px; }
  .it-block h2 { font-size: 14px; }
  .it-block p, .it-block li, .it-block td, .it-block th { font-size: 12.8px; }
  .it-limit p { font-size: 13.2px; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Rupiah figures are longer than the dollar ones: keep "a year" on the same line. */
.price-figure.price-rp { font-size: clamp(1.9rem, 2.6vw, 2.2rem); }
.price-figure.price-rp span { white-space: nowrap; }

/* Preserve serif display face when sample demo headings use <p class="sample-title">. */
p.sample-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

/* ---------- 4-tier grid, comparison tables & open spec pages ---------- */
@media (min-width: 720px) {
  .plans.plans-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .plans.plans-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
.badge-roll {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--verified-soft);
  color: var(--ink);
}
.doc-prose { max-width: 920px; }
.doc-prose h2 { margin-top: 28px; margin-bottom: 10px; }
.doc-prose p + p, .doc-prose ul { margin-top: 10px; }
.doc-prose ul { padding-left: 20px; }
.doc-prose li { margin-bottom: 6px; }
.table-scroll { width: 100%; overflow-x: auto; margin: 18px 0 12px; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.92rem;
}
.data-table th, .data-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
}
.data-table th {
  background: var(--ground);
  font-weight: 700;
  color: var(--ink);
}
.inline-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--soft);
  padding: 1px 5px;
  border-radius: 4px;
}
.spec-pre {
  background: #10231F;
  color: #F5F6F1;
  padding: 16px 18px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.84rem;
  line-height: 1.5;
  margin: 14px 0 20px;
}

/* ---------- Knowledge Base hub grid (/kb/) ---------- */
.kb-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
@media (min-width: 720px) {
  .kb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.kb-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.kb-card.kb-card-featured {
  border-color: var(--active);
  box-shadow: inset 0 3px 0 var(--active);
}
.kb-card-tag {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--active);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.kb-card h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}
.kb-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}
.kb-card-links {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: var(--text-sm);
}
