/* Lunas: halaman pemasaran dan bantuan (tema olive, tiada inline style kerana CSP). */
:root {
  --bg: #f6f6ee; --surface: #ffffff; --ink: #1f2410; --muted: #5d6347; --line: #dfe0cf;
  --accent: #4d6b1c; --accent-ink: #ffffff; --accent-soft: rgb(77 107 28 / .1);
  --radius: 12px; --shadow: 0 1px 2px rgb(31 36 16 / .05), 0 8px 24px rgb(31 36 16 / .07);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; margin: 24px 0 12px; }
h2 { font-size: 1.375rem; margin: 40px 0 12px; line-height: 1.25; }
h3 { font-size: 1.0625rem; margin: 0 0 6px; }
p, ul, ol { margin: 0 0 12px; }
li { margin-bottom: 4px; }
.lead { font-size: 1.125rem; color: var(--muted); }
.small { font-size: .875rem; color: var(--muted); }

.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--accent); letter-spacing: -0.02em; }
.bar nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.bar nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 1.0625rem; }
.hero .btn { margin: 0 8px 8px 0; }

.hero { display: grid; gap: 28px; padding: 24px 0 8px; align-items: center; }
@media (min-width: 760px) { .hero { grid-template-columns: 1.2fr 1fr; padding-top: 48px; } }

.sample { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; border-top: 8px solid var(--accent); }
.s-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 12px; font-size: .9375rem; }
.s-head span { color: var(--muted); }
.s-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.s-due { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 12px 14px; border: 2px solid var(--accent); border-radius: 8px; }
.s-due strong { color: var(--accent); font-size: 1.25rem; }

.grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid:not(.two) { grid-template-columns: repeat(3, 1fr); } }
.grid article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.grid article p:last-child, .grid article ul:last-child { margin-bottom: 0; }
.pick { border-color: var(--accent) !important; box-shadow: inset 0 0 0 1px var(--accent); }
.price { font-size: 1.75rem; font-weight: 800; margin-bottom: 8px; }
.price span { font-size: .9375rem; font-weight: 500; color: var(--muted); }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 8px; }
summary { cursor: pointer; font-weight: 600; min-height: 28px; }
details p { margin: 8px 0 0; color: var(--muted); }

.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.toc a { background: var(--accent-soft); border-radius: 999px; padding: 6px 14px; text-decoration: none; font-weight: 600; font-size: .9375rem; min-height: 36px; display: inline-flex; align-items: center; }
main section[id] { scroll-margin-top: 72px; }
main > section > ul, main > section > ol, main > ul, main > ol { padding-left: 1.25rem; }
.plain { list-style: none; padding: 0 !important; }
.plain li { margin-bottom: 10px; }
.plain a { font-weight: 600; font-size: 1.125rem; }
.cta { text-align: center; padding: 16px 0 24px; }

.foot { margin-top: 48px; padding: 24px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
main { padding-bottom: 8px; min-height: 50vh; }
