:root {
  --green: #16a765;
  --green-dark: #087a46;
  --green-deep: #0f2a1e;
  --green-soft: #e8f6ee;
  --gold: #f2b33d;
  --ink: #1c2836;
  --muted: #66727c;
  --line: #e1e8e4;
  --bg: #f4f7f6;
  --card: #fff;
  --red: #d64545;
  --radius: 16px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.55; }
a { color: var(--green-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }

.hero { background: linear-gradient(150deg, #12935a, #0b6b41); color: #fff; padding: 22px 0 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand .mark { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.brand .mark svg { width: 72%; height: 72%; }
.brand strong { display: block; font-size: 18px; line-height: 1.1; }
.brand small { display: block; color: #cdeedc; font-size: 12px; }
.hero h1 { font-size: clamp(26px, 6vw, 36px); line-height: 1.15; margin: 26px 0 10px; letter-spacing: -.01em; }
.hero p { margin: 0; color: #e3f5eb; max-width: 600px; }
.hero b { color: #fff; }

main { margin-top: -40px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 24px rgba(16,40,30,.07); padding: 22px; margin-bottom: 16px; }
.card h2 { margin: 0 0 4px; font-size: 19px; }
.card > p.sub { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-size: 14px; font-weight: 800; margin-right: 8px; vertical-align: 2px; }

.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: block; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; background: #fff; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice strong { display: block; font-size: 15.5px; }
.choice span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.choice .tag { display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 800; color: #6b4a00; background: #fdf0d2; border-radius: 999px; padding: 2px 8px; }
.choice.on, .choice:has(input:checked) { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 2px rgba(22,167,101,.15); }
.choice:has(input:focus-visible) { outline: 3px solid rgba(22,167,101,.4); outline-offset: 2px; }
.periods { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 6px; }
@media (max-width: 620px) { .choices { grid-template-columns: 1fr; } }

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
@media (max-width: 620px) { .grid2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 13.5px; font-weight: 700; color: #33463c; }
.field small { color: var(--muted); font-weight: 500; }
.input { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; background: #fff; }
.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,167,101,.15); }
textarea.input { min-height: 80px; resize: vertical; }
.addr { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.addr input { border: 0; flex: 1; min-width: 0; padding: 11px 6px 11px 13px; outline: none; background: transparent; }
.addr span { padding: 0 13px 0 2px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.addr:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,167,101,.15); }
.hidden { display: none !important; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.estimate { background: var(--green-deep); color: #e6f3ec; border-radius: 14px; padding: 16px 18px; margin-top: 6px; }
.estimate .row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14.5px; }
.estimate .row b { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.estimate .total { border-top: 1px solid rgba(255,255,255,.15); margin-top: 8px; padding-top: 10px; font-size: 16px; }
.estimate .total b { color: var(--gold); font-size: 22px; }
.estimate .save { color: #9fe0bd; font-size: 13px; margin-top: 4px; }
.estimate .note { color: #ffd78a; font-size: 13.5px; margin-top: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 13px 20px; background: var(--green); color: #fff; font-weight: 800; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--green-dark); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.block { width: 100%; font-size: 17px; padding: 15px; }
.btn.wa { background: #1fa855; }
.btn.secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn.small { padding: 6px 12px; font-size: 13.5px; border-radius: 9px; }
.error { color: var(--red); font-weight: 700; margin: 0 0 12px; }
.agree { font-size: 13px; color: var(--muted); margin: 10px 0 0; text-align: center; }

.done-head { text-align: center; }
.done-head .ok { width: 60px; height: 60px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; margin: 0 auto 10px; font-size: 30px; font-weight: 900; }
.code { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 22px; font-weight: 800; letter-spacing: .04em; background: var(--green-soft); color: var(--green-dark); padding: 4px 14px; border-radius: 10px; }
.amount { font-size: 30px; font-weight: 900; color: var(--green-dark); font-variant-numeric: tabular-nums; }
.banks { display: grid; gap: 10px; margin: 14px 0; }
.bank { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.bank .name { font-weight: 800; font-size: 15px; }
.bank .num { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; font-weight: 700; letter-spacing: .03em; }
.bank .holder { color: var(--muted); font-size: 13.5px; }
.steps { padding-left: 20px; margin: 10px 0 16px; }
.steps li { margin-bottom: 6px; }
.summary { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 12px 0; }
.summary td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.summary td:last-child { text-align: right; font-weight: 700; }

.foot { text-align: center; color: var(--muted); font-size: 14px; padding-top: 8px; padding-bottom: 32px; }
.foot .credit { font-size: 12px; color: #a0aaa6; font-weight: 600; letter-spacing: .03em; }
.loading { text-align: center; padding: 40px 0; color: var(--muted); }
.grid2 > * { min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 4px; }
.check { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; }

/* Hudur Pro — kartu paket */
.plans { align-items: stretch; }
.plan .price { font-size: 22px; font-weight: 900; color: var(--green-dark); margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.plan-list { margin: 6px 0 0; padding-left: 18px; font-size: 13px; color: #44544b; }
.plan-list li { margin-bottom: 3px; }
.core { margin: 12px 0 16px; font-size: 14px; }
.core summary { cursor: pointer; font-weight: 700; color: var(--green-dark); }
.core ul { margin: 8px 0 0; padding-left: 20px; columns: 2; }
@media (max-width: 620px) { .core ul { columns: 1; } }
