/* Stratton brand tokens — taken from the Stratton Remodeling logo (royal blue, red swoosh, white). */
:root {
  --blue: #1b4fbf;
  --blue-deep: #0f2f7a;
  --blue-soft: #e8eefb;
  --red: #d42a20;
  --ink: #0f1a33;
  --muted: #5d6781;
  --line: #dfe4ef;
  --bg: #f5f7fb;
  --card: #ffffff;
  --ok: #1f9d55;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 26, 51, .06), 0 8px 24px rgba(15, 26, 51, .08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'DM Sans', system-ui, sans-serif; letter-spacing: -.01em; margin: 0; }
a { color: var(--blue); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 'DM Sans', system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary, .btn-gold { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(27, 79, 191, .28); }
.btn-primary:hover, .btn-gold:hover { background: var(--blue-deep); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #b0201a; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; }

.brandmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brandmark img { width: 36px; height: 36px; object-fit: contain; border-radius: 50%; background: #fff; }
.brandmark span { display: flex; flex-direction: column; font-weight: 700; font-size: 15px; line-height: 1.1; }
.brandmark small { font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }

input, select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px;
  font: 400 15px/1.35 'DM Sans', system-ui, sans-serif; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(27, 79, 191, .25); border-color: var(--blue); }
label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 6px; }

/* Password field with show/hide button */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-eye { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 8px; }
.pw-eye:hover { color: var(--ink); }
.pw-eye:focus-visible { outline: 2px solid rgba(27, 79, 191, .35); }
.recovery-key { font: 600 17px/1.4 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .04em; text-align: center; padding: 14px; background: var(--blue-soft); border-radius: 10px; user-select: all; word-break: break-all; }
