:root {
  --bg: #f5f7fb;
  --ink: #1a1a2e;
  --muted: #5b6472;
  --brand: #2563eb;
  --brand-dark: #1a1a2e;
  --card: #ffffff;
  --line: #e5e9f0;
  --ok: #16a34a;
  --err: #dc2626;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 560px; }

/* Header / hero */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 64px 0 72px;
  text-align: center;
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 22px; font-weight: 800; letter-spacing: 0.5px;
}
.logo img { width: 46px; height: 46px; border-radius: 10px; display: block; }
.logo .accent { color: #60a5fa; }
.hero .logo { justify-content: center; }
.hero h1 { font-size: 34px; font-weight: 800; margin: 24px 0 12px; }
.hero p { color: #aeb8c9; font-size: 17px; max-width: 560px; margin: 0 auto; }

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.05s ease, background 0.15s ease;
}
.btn:hover { background: #1d4ed8; }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: #94a3b8; cursor: not-allowed; }
.btn--hero { margin-top: 28px; font-size: 17px; padding: 16px 34px; }

/* Cards / sections */
section { padding: 48px 0; }
.section-title { font-size: 24px; font-weight: 800; margin-bottom: 24px; text-align: center; }

.currencies { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.chip {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 15px;
}

.steps { list-style: none; display: grid; gap: 14px; max-width: 620px; margin: 0 auto; }
.steps li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start;
}
.steps .n {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand-dark); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}

.info-row { text-align: center; color: var(--muted); font-size: 15px; }
.info-row strong { color: var(--ink); }

/* Consent form */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}
.card h1 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.card .lead { color: var(--muted); font-size: 15px; margin-bottom: 24px; }

.amount-block {
  display: none; background: #eff6ff; border: 1px solid #bfdbfe;
  border-radius: 10px; padding: 12px 16px; margin-bottom: 20px;
  font-size: 15px;
}
.amount-block strong { font-size: 17px; }

.policy {
  max-height: 220px; overflow-y: auto; border: 1px solid var(--line);
  border-radius: 10px; padding: 16px; margin-bottom: 18px;
  font-size: 14px; color: #374151; background: #fafbfc;
}
.policy h3 { font-size: 15px; margin: 12px 0 6px; }
.policy h3:first-child { margin-top: 0; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 12px 14px; font-size: 15px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-family: inherit;
}
.field input:focus, .field select:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

.checkbox { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 22px; }
.checkbox input { margin-top: 4px; }
.checkbox label { font-size: 14px; color: #374151; }

.status { min-height: 22px; margin-top: 14px; font-size: 14px; font-weight: 600; }
.status--error { color: var(--err); }
.status--success { color: var(--ok); }

.warning {
  display: none; background: #fef3c7; border: 1px solid #fde68a;
  border-radius: 10px; padding: 16px; font-size: 14px; color: #78350f;
}

footer { padding: 32px 0; text-align: center; color: var(--muted); font-size: 13px; }
footer a { color: var(--brand); text-decoration: none; }

@media (max-width: 600px) {
  .hero h1 { font-size: 27px; }
  .card { padding: 20px; }
}
