/* Brand site at / (index.html). Builds on themes.css + book.css; mobile first, wider grid from 760px. */

/* Hide the other language. !important so element layout rules (grid/flex) can't re-show it. */
html:not([lang="ms"]) [data-l="ms"], html:not([lang="en"]) [data-l="en"] { display: none !important; }

.top-inner, main.landing { max-width: 1040px; }
main.landing { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 20px; }

/* ---------- header ---------- */
.brand { text-decoration: none; }
.mark { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-grad); color: var(--accent-ink); }
.mark svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand { gap: 8px; }
.brand .brand-title { font-size: 18px; font-weight: 700; overflow: visible; }
.top-inner { gap: 8px; }
.login { flex: none; font-size: 14px; font-weight: 700; color: var(--ink2); text-decoration: none; padding: 6px 4px; }

/* ---------- hero ---------- */
.lp-hero { display: grid; gap: 22px; padding: 26px 20px; margin: 0; align-items: center; }
.lp-hero .chip { margin: 0 0 12px; }
.lp-hero h1 { font-size: 30px; line-height: 1.15; letter-spacing: .01em; }
.lp-hero .lead { font-size: 16px; margin-top: 12px; }
.cta { display: grid; gap: 10px; margin-top: 18px; }
.cta .primary, .cta .wa, .cta .secondary { display: flex; align-items: center; justify-content: center; font-size: 16px; min-height: 52px; }
.fine { font-size: 13px; color: var(--hero-sub); margin-top: 12px; }

.lp-preview { display: grid; gap: 10px; }
.pv-card { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: 14px; color: var(--ink); box-shadow: var(--shadow); }
.pv-head { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pv-num { font-size: 26px; font-weight: 800; margin-top: 4px; font-variant-numeric: tabular-nums; }
.pv-num small { font-size: 13px; font-weight: 700; margin-left: 6px; }
.pv-num .up { color: var(--up); }
.pv-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 10px; }
.pv-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: var(--viz-bar); opacity: .55; }
.pv-bars i:nth-last-child(2) { opacity: 1; background: var(--viz-bar-on); }
.pv-row { display: flex; align-items: center; gap: 12px; }
.pv-row b, .pv-row small { display: block; }
.pv-row small { color: var(--muted); font-size: 13px; }
.pv-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }

/* ---------- sections ---------- */
.lp-sec h2, .lp-end h2 { font-family: var(--font-display); font-size: 24px; line-height: 1.2; margin-bottom: 14px; }
.lp-sec .hint { margin: -6px 0 14px; font-size: 15px; }
.lp-sec h3 { font-size: 16px; margin: 0 0 4px; }
.lp-sec .card p { color: var(--ink2); font-size: 15px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.num { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--accent-grad); color: var(--accent-ink); }

.feats { display: grid; gap: 10px; }
.feat { display: grid; gap: 6px; align-content: start; }
.ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1.5px solid var(--accent); background: var(--accent-soft); color: var(--accent); margin-bottom: 4px; flex: none; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.demo { display: block; margin-top: 14px; }

.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.price { padding: 14px; }
.price { position: relative; display: grid; gap: 4px; align-content: start; }
.price.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.price .badge { position: absolute; top: -11px; left: 12px; background: var(--accent); color: var(--accent-ink); white-space: nowrap; }
.prices { margin-top: 18px; }
.price .plan-btn { display: flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 8px; text-align: center; }
.amt { font-size: 26px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.amt small { display: inline-block; font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.ticks { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; background: var(--ok-soft); color: var(--ok); }

.niches { display: grid; gap: 10px; }
.niche { display: flex; gap: 14px; align-items: flex-start; }
.niche:not(.on) { opacity: .75; }
.niche:not(.on) .ic { border-color: var(--line); background: transparent; color: var(--muted); }
.niche h3 .badge { margin-left: 4px; vertical-align: 2px; }

.lp-end { text-align: center; display: grid; gap: 6px; padding: 24px 18px; }
.lp-end h2 { margin-bottom: 2px; }
.lp-end .cta { max-width: 420px; width: 100%; margin: 12px auto 0; }

.foot { font-size: 13px; color: var(--muted); text-align: center; }
.foot a { color: var(--accent); }

/* ---------- wider screens ---------- */
@media (min-width: 760px) {
  body { padding-bottom: 40px; }
  .brand .brand-title { font-size: 21px; }
  .login { padding-inline: 10px; }
  .lp-bar { display: none; }
  main.landing { gap: 56px; padding-top: 32px; }
  .lp-hero { grid-template-columns: 1.25fr 1fr; gap: 36px; padding: 44px 40px; }
  .lp-hero h1 { font-size: 42px; }
  .lp-hero .lead { font-size: 17px; }
  .cta { grid-template-columns: auto auto; justify-content: start; }
  .cta .primary, .cta .wa, .cta .secondary { padding-inline: 26px; }
  .lp-sec h2, .lp-end h2 { font-size: 30px; }
  .price { padding: 18px; }
  .amt { font-size: 32px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .steps li { flex-direction: column; }
  .feats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .demo { justify-self: center; display: table; margin: 18px auto 0; }
  #harga { max-width: 640px; width: 100%; justify-self: center; }
  .niches { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .niche { flex-direction: column; }
  .lp-end { padding: 36px; }
  .lp-end .cta { justify-content: center; max-width: none; }
}
