@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --paper: #F6F5F1;
  --surface: #FFFFFF;
  --ink: #152430;
  --secondary: #43586A;
  --muted: #566A7C;
  --border: #DEDAD0;
  --accent: #0A6E9C;
  --accent-hover: #085A81;
  --focus: #46C8F1;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.page { min-height: 100svh; padding: 30px 20px 48px; }
.site-header { width: min(100%, 520px); margin: 0 auto 22px; }
.logo { display: block; width: 164px; height: auto; }
.auth-card {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 32px 40px 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 40px -12px rgba(23, 32, 42, .10), 0 4px 12px -6px rgba(23, 32, 42, .05);
}
h1 {
  margin: 0 0 14px;
  font: 600 40px/1.08 'Barlow Semi Condensed', Inter, sans-serif;
  letter-spacing: -.015em;
}
.lead { margin: 0 0 16px; color: var(--secondary); font-size: 15px; line-height: 1.6; }
.note {
  margin: 0 0 20px;
  padding: 14px 0 0;
  border-top: 1px solid #EAE7DF;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.6;
}
form { display: grid; gap: 9px; }
form > label:not(.consent) { margin-top: 8px; font-size: 13px; font-weight: 700; }
input[type=email], input[type=password] {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #9BAAB5;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
input:hover { border-color: var(--accent); }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 15px 0 8px;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}
.consent input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--accent); }
button, .button-link {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: 700 14px/1.4 Inter, system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
button:hover, .button-link:hover { background: var(--accent-hover); color: #fff; }
.support { margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.state-action { margin-top: 26px; }
.state-action:empty { display: none; }
.internal-note { margin: 0 0 22px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--paper); color: var(--secondary); font-size: 13px; line-height: 1.5; }
.verify-report { margin: 0 0 22px; padding: 15px; border: 1px solid var(--border); border-radius: 8px; background: var(--paper); }
.verify-report strong { font-size: 13px; }
.verify-report pre { margin: 9px 0 0; color: var(--secondary); font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 240px; overflow: auto; }
.verify-secondary { margin-top: 10px; }
.verify-secondary button { color: var(--accent); border-color: #9BAAB5; background: #fff; }
.verify-secondary button:hover { color: var(--accent-hover); background: #F0EEE8; }
@media (max-width: 540px) {
  .page { padding: 22px 14px 36px; }
  .site-header { margin-bottom: 20px; }
  .logo { width: 145px; }
  .auth-card { padding: 28px 24px 30px; }
  h1 { font-size: 35px; }
}
@media (prefers-reduced-motion: no-preference) {
  button, .button-link, a, input { transition: background-color .15s, border-color .15s, color .15s; }
}
