:root{
  --bg:#ffffff;
  --text:#0b1220;
  --muted:#4b5563;
  --line:#e5e7eb;
  --primary:#1a73e8;
  --primary2:#0b57d0;
  --danger:#b42318;
  --ok:#137333;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 18px;
  --max: 980px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background: radial-gradient(1200px 700px at 20% -10%, rgba(26,115,232,.12), transparent 60%),
              radial-gradient(900px 600px at 90% 0%, rgba(11,87,208,.10), transparent 55%),
              #fff;
}
a{color:var(--primary); text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:var(--max); margin:0 auto; padding:28px 18px 60px}
.nav{display:flex; align-items:center; justify-content:space-between; padding:14px 0 6px}
.brand{display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.2px}
.pill{font-size:12px; padding:6px 10px; border:1px solid var(--line); border-radius:999px; color:var(--muted); background:rgba(255,255,255,.75); backdrop-filter: blur(8px)}
.hero{
  margin-top:18px;
  padding:28px 22px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.78);
  box-shadow:var(--shadow);
}
.kicker{font-size:13px; color:var(--muted); letter-spacing:.12em; text-transform:uppercase}
h1{margin:10px 0 10px; font-size:40px; line-height:1.08; letter-spacing:-.02em}
.sub{margin:0; max-width:72ch; color:var(--muted); font-size:16px; line-height:1.6}
.price{margin-top:18px; display:flex; align-items:baseline; gap:12px; flex-wrap:wrap}
.price strong{font-size:28px}
.price span{color:var(--muted)}
.cta{display:flex; gap:10px; margin-top:18px; flex-wrap:wrap}
.btn{
  border:1px solid var(--line);
  background:#fff;
  padding:10px 14px;
  border-radius:12px;
  font-weight:600;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); box-shadow:0 8px 18px rgba(0,0,0,.08); border-color:#d1d5db}
.btn.primary{background: linear-gradient(135deg, var(--primary) 0%, var(--primary2) 100%); color:#fff; border-color:transparent}
.btn.primary:hover{box-shadow:0 10px 22px rgba(26,115,232,.22)}
.grid{margin-top:18px; display:grid; grid-template-columns: 1.2fr .8fr; gap:14px}
@media (max-width: 920px){ .grid{grid-template-columns:1fr} h1{font-size:34px}}
.card{border:1px solid var(--line); border-radius:var(--radius); background:rgba(255,255,255,.86); box-shadow:var(--shadow); padding:18px}
.h2{margin:0 0 10px; font-size:16px}
.list{margin:0; padding-left:18px; color:var(--muted); line-height:1.7}
.footer{margin-top:26px; padding-top:18px; border-top:1px solid var(--line); color:var(--muted); font-size:13px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px}

/* Modal */
.modal{position:fixed; inset:0; display:none; place-items:center; background:rgba(15,23,42,.42); padding:16px; z-index:50}
.modal.open{display:grid}
.modal-card{width:min(720px, 100%); border-radius:22px; background:#fff; border:1px solid rgba(229,231,235,.9); box-shadow:0 24px 80px rgba(0,0,0,.25); overflow:hidden; transform: translateY(6px); animation: pop .18s ease forwards}
@keyframes pop{to{transform: translateY(0)}}
.modal-head{display:flex; align-items:center; justify-content:space-between; padding:16px 18px; border-bottom:1px solid var(--line)}
.modal-head strong{font-size:14px}
.x{border:1px solid var(--line); background:#fff; border-radius:10px; width:34px; height:34px; cursor:pointer}
.modal-body{padding:16px 18px}
.form{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.form .full{grid-column:1 / -1}
label{display:block; font-size:12px; color:var(--muted); margin:0 0 6px}
input, textarea, select{width:100%; padding:10px 12px; border-radius:12px; border:1px solid var(--line); outline:none; font: inherit}
textarea{min-height:88px; resize:vertical}
input:focus, textarea:focus, select:focus{border-color:rgba(26,115,232,.6); box-shadow:0 0 0 4px rgba(26,115,232,.12)}
.small{font-size:12px; color:var(--muted); margin-top:8px}
.offer-status{display:none; margin:12px 0 0; padding:10px 12px; border-radius:12px; border:1px solid var(--line); background:#fff; font-size:13px}
.offer-status.info{border-color:rgba(26,115,232,.25); background:rgba(26,115,232,.06); color:#174ea6}
.offer-status.error{border-color:rgba(180,35,24,.25); background:rgba(180,35,24,.06); color:var(--danger)}
#offerSuccess{display:none; border:1px solid rgba(19,115,51,.20); background:rgba(19,115,51,.06); color:var(--ok); padding:12px; border-radius:14px; margin-bottom:12px}
.success-title{font-weight:700; margin-bottom:4px}
.success-id{margin-top:8px; font-size:12px; color:#0b3b1a}
.actions{display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top:12px}
.btn.is-busy{opacity:.75; cursor:progress}
