@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@500;600&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy: #0B2545;
  --navy-deep: #071A33;
  --teal: #2C7DA0;
  --paper: #F6F8FA;
  --slate: #445069;
  --line: #DCE3EA;
  --white: #FFFFFF;
  --error: #B3261E;
  --success: #1E7A46;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  font-family: 'Inter', sans-serif;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
}

.wrap { width: 100%; max-width: 380px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(11, 37, 69, 0.04), 0 12px 32px rgba(11, 37, 69, 0.06);
  padding: 48px 40px 40px;
  width: 100%;
}

.mark { width: 16px; height: 16px; margin: 0 auto 22px; display: block; }

h1 {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.25;
  text-align: center;
  color: var(--navy-deep);
  margin: 0 0 4px;
}

.sub { text-align: center; font-size: 13.5px; color: var(--slate); margin: 0 0 28px; }

.identity-chip {
  text-align: center;
  font-size: 14px;
  color: var(--navy-deep);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px;
  margin-bottom: 22px;
}
.identity-chip a { color: var(--teal); font-size: 12.5px; text-decoration: none; margin-left: 8px; }
.identity-chip a:hover { text-decoration: underline; }

label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--slate);
  margin-bottom: 7px;
}

input[type="text"], input[type="password"], input[type="tel"], input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--navy-deep);
  background: var(--paper);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
  margin-bottom: 16px;
}
input:focus { border-color: var(--teal); background: var(--white); }

.altlink { display: block; margin-top: -8px; margin-bottom: 8px; font-size: 13px; color: var(--teal); text-decoration: none; }
.altlink:hover { text-decoration: underline; }

.btn-primary {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  background: #F5C518;
  color: var(--navy);
  border: none;
  border-radius: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-primary:hover { background: #D9AC0F; }

.divider { display: flex; align-items: center; gap: 12px; margin: 28px 0 20px; }
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px;
  background: repeating-linear-gradient(to right, var(--line) 0 4px, transparent 4px 8px);
}
.divider span { font-size: 11px; letter-spacing: 0.08em; color: var(--slate); text-transform: uppercase; }

.btn-secondary {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-secondary:hover { border-color: var(--teal); background: var(--paper); }
.btn-secondary:last-child { margin-bottom: 0; }

.footer-note { text-align: center; margin-top: 28px; font-size: 13px; color: var(--slate); }
.footer-note a { color: var(--navy); font-weight: 600; text-decoration: none; }
.footer-note a:hover { text-decoration: underline; }

.trust-strip { text-align: center; margin-top: 18px; font-size: 11.5px; color: var(--slate); letter-spacing: 0.02em; }

.banner {
  border-radius: 3px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 20px;
}
.banner.error { background: #FBEAE9; color: var(--error); border: 1px solid #F1C3C0; }
.banner.success { background: #E8F5EC; color: var(--success); border: 1px solid #BFE3CA; }

.field-error { color: var(--error); font-size: 12px; margin: -12px 0 14px; }
