:root {
  --ink: #0b2233;
  --muted: #56697a;
  --line: #e1e9ee;
  --card: #ffffff;
  --accent: #0a7f99;
  --accent-ink: #ffffff;
  --accent-soft: #e5f6f8;
  --ok: #0f9d6b;
  --bad: #d23b3b;
  --bg-top: #f2f8fa;
  --bg-bottom: #ffffff;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 15% -140px, rgba(0,185,199,.20) 0%, rgba(0,185,199,0) 70%),
    radial-gradient(700px 380px at 100% -80px, rgba(255,150,20,.14) 0%, rgba(255,150,20,0) 70%),
    linear-gradient(var(--bg-top), var(--bg-bottom));
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 620px; margin: 0 auto; padding: 40px 20px 56px; }
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; }
.logo { width: 40px; height: 40px; display: block; }
.brand b { font-size: 18px; letter-spacing: -.01em; }
.brand span { color: var(--muted); font-size: 14px; margin-left: 2px; }
h1 { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 8px; }
.lead { color: var(--muted); margin: 0 0 28px; font-size: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px; margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(15,23,41,.04), 0 8px 24px rgba(15,23,41,.05);
}
.hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.hero h2 { font-size: 18px; margin: 0 0 4px; }
.meta { color: var(--muted); font-size: 13px; }
.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 650; font-size: 16px;
  padding: 14px 22px; border-radius: 12px; text-decoration: none;
  box-shadow: 0 6px 16px rgba(10,127,153,.25);
  transition: transform .08s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn.secondary { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
.btn.wa { background: #1faa59; box-shadow: 0 6px 16px rgba(31,170,89,.22); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.steps b { display: block; margin-bottom: 2px; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }
h3 { font-size: 16px; margin: 0 0 16px; }
details summary {
  cursor: pointer; font-weight: 650; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--muted); font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "–"; }
.inner { margin-top: 16px; }
.inner ol { margin: 0 0 14px; padding-left: 20px; color: var(--muted); font-size: 14.5px; }
.inner ol li { margin: 6px 0; }
.inner ol b { color: var(--ink); }
.cfg { display: flex; gap: 8px; }
.cfg input {
  flex: 1; min-width: 0; font: 12.5px ui-monospace, "Cascadia Mono", Consolas, monospace;
  border: 1px solid var(--line); background: #f8f9fc; border-radius: 10px; padding: 11px 12px; color: var(--ink);
}
.note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.foot { text-align: center; color: var(--muted); font-size: 13px; margin-top: 28px; }
/* login */
.center { min-height: 100%; display: grid; place-items: center; padding: 24px; }
.login { width: 100%; max-width: 400px; }
.login .brand { justify-content: center; margin-bottom: 22px; }
.login h1 { font-size: 22px; text-align: center; }
.login .lead { text-align: center; font-size: 14.5px; margin-bottom: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input {
  font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10,127,153,.14); }
.err { color: var(--bad); font-size: 13.5px; min-height: 20px; margin: -4px 0 10px; }
.login .btn { width: 100%; justify-content: center; }
@media (max-width: 520px) {
  h1 { font-size: 25px; }
  .hero .btn { width: 100%; justify-content: center; }
}
.btn.dl { background: linear-gradient(135deg, #ffa30a, #ff6a00); box-shadow: 0 8px 20px rgba(255,120,0,.28); }
.login .logo { width: 56px; height: 56px; }
.login .brand { flex-direction: column; gap: 6px; }
.login .brand span { margin-left: 0; }
