/* PAMOS landing: tenang dan lapang. Warna dari branding PAMOS. */
:root {
  --bg: #ffffff;
  --soft: #f3f6fb;
  --line: #dde5f0;
  --ink: #062a5c;
  --text: #1c2b40;
  --muted: #55657c;
  --blue: #1a5fb4;
  --blue-dark: #0b3f86;
  --w: 1120px;
  --f: "Noto Sans", "DejaVu Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--f); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
code { font-family: ui-monospace, "DejaVu Sans Mono", monospace; font-size: .88em; background: var(--soft); padding: .1em .35em; border-radius: 4px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* Bilah atas */
.bar {
  position: sticky; top: 0; z-index: 5; background: var(--bg);
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--w); margin: 0 auto; padding: 16px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.bar nav { display: flex; gap: 28px; }
.bar nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 16px; }
.bar nav a:hover { color: var(--blue); }

/* Pembuka */
.hero {
  max-width: var(--w); margin: 0 auto; padding: 56px 24px 96px;
  display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(56px, 8vw, 104px); line-height: .95; letter-spacing: -.04em; font-weight: 700; color: var(--ink); }
.lead { font-size: 22px; font-weight: 500; color: var(--ink); margin-top: 16px; }
.hero-text p:not(.lead) { margin-top: 16px; color: var(--muted); max-width: 42ch; }
.actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.btn {
  display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 13px 22px; border-radius: 8px; transition: background .15s; white-space: nowrap;
}
.btn:hover { background: var(--blue-dark); }
.btn[aria-disabled="true"] { background: var(--soft); color: var(--muted); pointer-events: none; }
.link { font-weight: 500; text-decoration: none; }
.link:hover { text-decoration: underline; }
.hero-shot img { border-radius: 12px; }

/* Bagian */
.section { max-width: var(--w); margin: 0 auto; padding: 72px 24px; }
.section h2 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -.02em; font-weight: 700; color: var(--ink); margin-bottom: 32px; }

.features { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 48px; }
.features h3 { font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.features p { color: var(--muted); }

/* Unduhan */
.downloads { border-top: 1px solid var(--line); }
.dl { display: flex; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.dl-icon { width: 44px; height: 44px; flex: none; }
.dl-main { flex: 1; min-width: 0; }
.dl-main h3 { font-size: 18px; color: var(--ink); }
.dl-meta { color: var(--muted); font-size: 15px; }
.dl-main details { margin-top: 4px; font-size: 14px; color: var(--muted); }
.dl-main summary { cursor: pointer; width: fit-content; }
.dl-main summary:hover { color: var(--blue); }
.dl-sum { word-break: break-all; margin-top: 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.copy { font: 500 13px var(--f); border: 1px solid var(--line); background: var(--bg); color: var(--text); padding: 4px 10px; border-radius: 6px; cursor: pointer; }
.copy:hover { border-color: var(--blue); color: var(--blue); }
.note { color: var(--muted); font-size: 14px; margin-top: 12px; min-height: 1.6em; }

.windows { margin-top: 48px; background: var(--soft); border-radius: 12px; padding: 28px 32px; }
.windows h3 { font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.windows p { max-width: 75ch; }

/* Cara pasang */
.steps { padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { counter-increment: s; color: var(--muted); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); color: var(--ink); font-weight: 700; margin-bottom: 12px; }
.steps b { display: block; color: var(--ink); }

/* Tanya jawab */
.faq { max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 500; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 64ch; }

/* Kaki */
.foot { max-width: var(--w); margin: 48px auto 0; padding: 32px 24px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.foot p:first-child { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.foot .small { font-size: 13px; margin-top: 6px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px 56px; }
  .features { grid-template-columns: 1fr 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 20px; }
  .bar { padding: 14px 20px; }
}
@media (max-width: 560px) {
  .bar nav { gap: 16px; }
  .bar nav a:nth-child(3) { display: none; }
  .features, .steps { grid-template-columns: 1fr; }
  .dl { flex-wrap: wrap; gap: 10px 16px; }
  .dl-main { flex: 1 1 calc(100% - 64px); }
  .dl .btn { margin-left: 60px; }
  .windows { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
