/* Situs Undangan Islami: beranda, daftar, masuk */
:root { --c: #0b3d2e; --c2: #072a20; --gold: #c9a24a; --gold2: #e8cf8a; --ink: #1f2a24; --muted: #5d6b63; --line: #e5e1d6; --bg: #faf8f2; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--c); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(460px, 100% - 32px); margin: 32px auto; }
.center { text-align: center; }
.top { background: #fff; border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; color: var(--c); font-size: 1.1rem; }
.logo { width: 38px; height: 38px; border-radius: 11px; background: var(--c); display: grid; place-items: center; }
.logo svg { width: 24px; height: 24px; fill: none; stroke: var(--gold2); stroke-width: 7; }
.top nav { display: flex; gap: 14px; align-items: center; }
.top nav a { font-weight: 600; text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--c); color: #fff !important; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--c2); }
.btn-sm { min-height: 38px; padding: 0 16px; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #2a1e05 !important; }
.btn-gold:hover { filter: brightness(1.05); background: linear-gradient(135deg, var(--gold), var(--gold2)); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-block { width: 100%; margin-top: 16px; }
.hero { color: #f8f1dc; text-align: center; padding: clamp(48px, 9vw, 96px) 0; background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23c9a24a' stroke-opacity='.25' stroke-width='1.2'%3E%3Cpath d='M40 8l9 22 22 9-22 9-9 22-9-22-22-9 22-9z'/%3E%3Cpath d='M17 17h46v46H17z' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='7'/%3E%3C/g%3E%3C/svg%3E") center / 80px,
    linear-gradient(160deg, var(--c), var(--c2)); }
.hero-in { max-width: 760px; }
.basmalah { font-family: 'Amiri', serif; font-size: clamp(1.8rem, 6vw, 2.6rem); color: var(--gold2); margin: 0 0 10px; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 7vw, 4rem); font-weight: 700; }
.hero h1 span { color: var(--gold2); }
.lead { font-size: 1.15rem; opacity: .92; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.jenis { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: -28px; position: relative; }
.jenis-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; text-decoration: none; color: var(--ink); box-shadow: 0 8px 20px rgba(0, 0, 0, .06); border-top: 4px solid var(--gold); }
.jenis-item b { display: block; }
.jenis-item span { color: var(--muted); font-size: .88rem; }
.fitur, .langkah-bag { padding: 56px 0 8px; }
.fitur h2, .langkah-bag h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; text-align: center; color: var(--c); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 20px 0 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card h3 { color: var(--c); }
.card p { color: var(--muted); margin: 0; }
.langkah { list-style: none; padding: 0; counter-reset: l; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 20px 0 40px; }
.langkah li { counter-increment: l; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.langkah li::before { content: counter(l); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: var(--gold2); font-weight: 800; margin-bottom: 10px; }
.langkah b { display: block; }
.langkah span { color: var(--muted); font-size: .92rem; }
.form label { display: block; font-weight: 600; margin: 14px 0 6px; }
.form input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #d3cdbf; border-radius: 12px; font: inherit; }
.form input:focus { outline: 3px solid rgba(201, 162, 74, .3); border-color: var(--gold); }
.err { display: block; color: #b42318; font-size: .88rem; margin-top: 4px; }
.small { font-size: .9rem; color: var(--muted); }
.flash { padding: 12px 16px; border-radius: 12px; margin: 14px 0; font-weight: 600; }
.flash-ok { background: #dcf5e4; color: #11683a; }
.flash-err { background: #fdecea; color: #8a1c1c; }
.hp-field { position: absolute; left: -9999px; }
.foot { text-align: center; color: var(--muted); font-size: .88rem; padding: 32px 0; }
