/* SmartGriya — halaman Daftar & Syarat (Brand Guidelines v1.3) */
:root {
  --leaf: #43a047; --green: #2e7d32; --deep: #164b34; --yellow: #ffc928;
  --bg: #f5f8f2; --surface: #fff; --surface-2: #f8fbf6; --soft: #e8f3e6; --line: #e3ebe1;
  --text: #13281d; --muted: #61776a; --bad: #c62828; --bad-bg: #fdecec;
  --shadow: 0 1px 2px rgba(22, 75, 52, 0.06), 0 8px 24px rgba(22, 75, 52, 0.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
.ms { font-family: "Material Symbols Rounded"; font-size: 20px; line-height: 1; font-weight: normal; font-style: normal; display: inline-block; }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; background: var(--deep); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand span { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand em { font-style: normal; color: var(--yellow); }
.back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 14px; font-weight: 600; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 32px 20px 60px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: start; }
.intro { position: sticky; top: 90px; }
.eyebrow { margin: 0; color: var(--green); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.intro h1 { margin: 8px 0 12px; font-size: 34px; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; color: var(--deep); }
.lead { margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.perks .ms { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--soft); color: var(--green); }
.perks b { display: block; font-size: 14px; }
.perks small { color: var(--muted); font-size: 13px; }

.card { padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card h2 { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; font-size: 17px; color: var(--deep); }
.card h2 + * { margin-top: 0; }
.card h2:not(:first-child) { margin-top: 24px; }
.card h2 .ms { color: var(--green); }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field > span { color: var(--muted); font-size: 12px; font-weight: 600; }
input, select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2);
  color: var(--text); font: inherit; font-size: 15px;
}
select { appearance: none; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%2361776a' d='M6 8 0 0h12z'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 34px; }
select:disabled { opacity: 0.6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--leaf); background-color: #fff; box-shadow: 0 0 0 4px rgba(67, 160, 71, 0.15); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.hint { margin: -2px 0 12px; color: var(--muted); font-size: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 16px; padding: 14px; border-radius: 14px; background: var(--soft); font-size: 13px; line-height: 1.5; cursor: pointer; }
.agree input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green); flex: none; }
.agree a { color: var(--green); font-weight: 600; }
.msg { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--bad-bg); color: var(--bad); font-size: 13px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border: 0; border-radius: 14px;
  background: var(--green); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none;
}
.btn:disabled { opacity: 0.6; }
.btn.ghost { background: var(--soft); color: var(--green); }
.done { display: grid; justify-items: center; gap: 10px; padding: 24px 6px; text-align: center; }
.done-ico { font-size: 48px; color: var(--green); }
.done h2 { justify-content: center; margin: 0; }
.done p { margin: 0 0 10px; color: var(--muted); line-height: 1.6; }

/* ---------- Syarat & Ketentuan ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 32px 20px 60px; }
.doc h1 { margin: 6px 0 6px; font-size: 32px; font-weight: 800; color: var(--deep); letter-spacing: -0.02em; }
.doc .meta { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.doc .draft { margin: 0 0 24px; padding: 12px 14px; border-radius: 14px; background: #fff6dc; color: #8a5300; font-size: 13px; line-height: 1.5; }
.doc h2 { margin: 28px 0 10px; font-size: 18px; color: var(--deep); }
.doc p, .doc li { font-size: 15px; line-height: 1.7; color: #24392d; }
.doc ol, .doc ul { padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 14px; }
.doc th, .doc td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }

@media (max-width: 860px) {
  .wrap { grid-template-columns: 1fr; padding-top: 20px; }
  .intro { position: static; }
  .intro h1 { font-size: 26px; }
  .perks { grid-template-columns: 1fr 1fr; }
  .perks li { flex-direction: column; gap: 8px; }
}
@media (max-width: 520px) {
  .two { grid-template-columns: 1fr; }
  .card { padding: 18px; border-radius: 18px; }
  .perks { grid-template-columns: 1fr; }
  .perks li { flex-direction: row; }
}
