:root {
  color-scheme: dark;
  --bg: #07100f;
  --panel: #0d1817;
  --panel-2: #101f1d;
  --text: #f2f7f6;
  --muted: #9fb3af;
  --line: rgba(255,255,255,.09);
  --accent: #4ae0b2;
  --accent-strong: #2fc999;
  --danger: #ffb760;
  --radius: 20px;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(45, 202, 154, .10), transparent 28rem),
    radial-gradient(circle at 100% 30%, rgba(62, 117, 111, .10), transparent 30rem),
    var(--bg);
  color: var(--text);
}
.shell { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 44px 0 32px; }
.brand { display: flex; align-items: center; gap: 13px; margin: 0 4px 30px; }
.brand-logo { width: 48px; height: 48px; display: block; filter: drop-shadow(0 8px 20px rgba(0,0,0,.28)); }
.brand-name { font-size: 16px; font-weight: 800; letter-spacing: .01em; }
.brand-sub { margin-top: 2px; font-size: 12px; color: var(--muted); }
.card { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 35%), var(--panel); box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.hidden { display: none !important; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #bcd0cc; font-size: 13px; font-weight: 650; margin-bottom: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(74,224,178,.08); }
.dot.warning { background: var(--danger); box-shadow: 0 0 0 5px rgba(255,183,96,.08); }
h1 { margin: 0; max-width: 640px; font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -.035em; }
.lead { max-width: 620px; margin: 16px 0 30px; color: var(--muted); font-size: 16px; line-height: 1.65; }
label { display: block; font-size: 13px; font-weight: 700; color: #cbd8d5; margin: 22px 0 9px; }
textarea, input, select {
  width: 100%; border: 1px solid var(--line); outline: none; border-radius: 12px; background: #091311; color: var(--text); font: inherit; padding: 14px 15px; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 126px; line-height: 1.55; }
textarea:focus, input:focus, select:focus { border-color: rgba(74,224,178,.65); box-shadow: 0 0 0 4px rgba(74,224,178,.08); }
textarea.masked { -webkit-text-security: disc; }
.secret-wrap { position: relative; }
.secret-wrap textarea { padding-right: 88px; }
.secret-wrap .small { position: absolute; top: 10px; right: 10px; width: auto; padding: 8px 10px; }
button, .button-link { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
.primary { width: 100%; margin-top: 24px; border: 0; border-radius: 12px; padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #03110d; background: var(--accent); font-weight: 800; transition: transform .12s, background .12s; }
.primary:hover { background: #62e8c0; transform: translateY(-1px); }
.primary.compact { width: auto; margin: 0; justify-content: center; white-space: nowrap; }
.ghost { border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); color: #d7e2df; font-weight: 700; }
.ghost:hover { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.045); }
.ghost.full { width: 100%; padding: 14px; margin-top: 16px; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.trust-row div { display: flex; flex-direction: column; gap: 3px; }
.trust-row strong { font-size: 14px; }
.trust-row span { color: var(--muted); font-size: 12px; }
.copy-row { display: flex; align-items: stretch; gap: 10px; }
.copy-row input { min-width: 0; }
.copy-row textarea { min-width: 0; }
.hint { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: #869b96; }
.success-icon, .error-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; font-weight: 850; }
.success-icon { background: rgba(74,224,178,.1); border: 1px solid rgba(74,224,178,.25); color: var(--accent); }
.error-icon { background: rgba(255,183,96,.1); border: 1px solid rgba(255,183,96,.25); color: var(--danger); }
.warning-box { padding: 14px 16px; border: 1px solid rgba(255,183,96,.18); border-radius: 12px; color: #d9c6ad; background: rgba(255,183,96,.05); font-size: 13px; line-height: 1.55; }
.button-link { display: block; text-align: center; text-decoration: none; }
footer { padding: 20px 6px 0; color: #667a76; font-size: 11px; line-height: 1.55; text-align: center; }
@media (max-width: 620px) {
  .shell { width: min(100% - 20px, 760px); padding-top: 22px; }
  .brand { margin-bottom: 18px; }
  .card { padding: 24px 20px; border-radius: 16px; }
  h1 { font-size: 32px; }
  .trust-row { grid-template-columns: 1fr; gap: 12px; }
  .copy-row { flex-direction: column; }
  .primary.compact { width: 100%; padding: 13px; }
}
