:root {
  --coral: #E85D4A;
  --coral-deep: #C6432F;
  --coral-soft: #FBE9E5;
  --ink: #22252B;
  --ink-soft: #6B625F;
  --placeholder: #B8B0AA;
  --bg: #FFFDF9;
  --surface: #F7F1E9;
  --surface-strong: #EFE4D8;
  --line: #E8DED5;
  --gold: #D9A441;
  --gold-deep: #8A6420;
  --gold-soft: #FBF3DF;
  --negative: #B3462C;
  --negative-soft: #F8ECE8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.auth-wrap {
  max-width: 460px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--coral);
  background: var(--coral-soft);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.auth-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }

.auth-wrap h1 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.auth-wrap p.lede {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 32px;
}

.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 12px 28px rgba(34,37,43,0.06);
}

.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
}
.field input::placeholder { color: var(--placeholder); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--coral);
}
.field .hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

.account-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.account-type-option {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.account-type-option input { position: absolute; opacity: 0; }
.account-type-option:has(input:checked) {
  border-color: var(--coral);
  background: var(--coral-soft);
  color: var(--coral-deep);
}

.auth-submit {
  width: 100%;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s ease;
  margin-top: 6px;
}
.auth-submit:hover { background: var(--coral-deep); }
.auth-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.auth-switch {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 24px;
}
.auth-switch a { color: var(--coral); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

.auth-error {
  background: var(--negative-soft);
  border: 1px solid rgba(179,70,44,.25);
  color: var(--negative);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 18px 0 4px;
}
.consent-row input { margin-top: 3px; flex-shrink: 0; }

.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }