:root {
  --brand: #0d6b50; --brand-deep: #0a5540; --brand-soft: #e7f3ee; --glow: rgba(19, 138, 103, .30);
  --ink: #1c2430; --body: #3a4553; --muted: #5b6675; --faint: #8a95a3;
  --line: #e3e8ee; --line-2: #d8dee6; --bg: #f5f7f9; --red: #b42318; --red-bg: #fdf0ee; --red-line: #f5cdc6;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased;
       background: radial-gradient(900px 520px at 50% 18%, #eaf5f0, transparent 70%), var(--bg); }
button, input { font: inherit; color: inherit; }
#topline { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--brand); }
.wrap { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; gap: 22px; }
.card { width: min(400px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px 22px;
        box-shadow: 0 30px 60px -28px rgba(16, 24, 40, .28), 0 2px 6px rgba(16, 24, 40, .05); display: grid; gap: 14px;
        animation: rise .4s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-size: 21px; color: var(--body); letter-spacing: -.3px; }
.brand-name b { color: var(--ink); }
.lead { margin: 0 0 4px; color: var(--muted); }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--body); }
input { width: 100%; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; font-size: 15px; font-weight: 400; background: #fff; }
input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.msg { min-height: 0; font-size: 13px; }
.msg:not(:empty) { color: var(--red); background: var(--red-bg); border: 1px solid var(--red-line); border-radius: 10px; padding: 8px 11px; }
.btn { border: 1px solid var(--brand); background: var(--brand); color: #fff; border-radius: 10px; padding: 11px 14px; font-weight: 600;
       cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--brand-deep); }
.btn:disabled { opacity: .65; cursor: default; }
.fine { margin: 2px 0 0; font-size: 12px; color: var(--faint); }
.foot img { width: 72px; opacity: .75; display: block; }

.brand-name small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin-top: 2px; line-height: 1.2; }
.brand-name small b { color: var(--brand); font-weight: 800; }
