:root {
  color-scheme: light;
  --pink: #be286a;
  --ink: #24232a;
  --muted: #686773;
  --line: #e7e4e8;
  --green: #19734b;
  --red: #a32737;
  --white: #fff;
  --shadow: 0 20px 60px #38223414;
  font: 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: linear-gradient(160deg, #fff, #fbf7fa 56%, #f7eef3); color: var(--ink); }
.environment { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px; background: #26232b; color: white; text-align: center; font-size: 12px; }
.environment strong { color: #f5c6db; letter-spacing: .08em; }
.shell { display: grid; grid-template-columns: minmax(260px, .78fr) minmax(380px, 1.22fr); gap: 52px; align-items: center; width: min(1120px, calc(100% - 40px)); min-height: calc(100vh - 106px); margin: 28px auto; }
.brand { align-self: center; }
.logo { display: block; width: min(100%, 290px); height: auto; object-fit: contain; object-position: left; }
.eyebrow { margin: 38px 0 10px; color: var(--pink); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 480px; margin: 0 0 18px; font-size: clamp(34px, 4vw, 52px); line-height: 1.03; letter-spacing: -.045em; }
.brand > p:not(.eyebrow) { max-width: 420px; color: var(--muted); }
.safe { font-size: 13px; }
.steps { display: flex; gap: 7px; max-width: 410px; margin-top: 28px; }
.steps i { flex: 1; height: 4px; border-radius: 9px; background: #e8dfe5; }
.steps i.on { background: var(--pink); }
.card { justify-self: end; width: 100%; max-width: 590px; padding: clamp(24px, 4vw, 40px); border: 1px solid #ece7eb; border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
h2 { margin: 0 0 9px; font-size: 27px; line-height: 1.15; letter-spacing: -.025em; }
.sub { margin: 0 0 22px; color: var(--muted); }
label { display: grid; gap: 7px; margin: 17px 0; font-size: 13px; font-weight: 650; }
input { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid #d8d3da; border-radius: 10px; background: white; color: var(--ink); font: inherit; font-size: 16px; }
input:focus-visible, button:focus-visible { outline: 3px solid #be286a55; outline-offset: 2px; border-color: var(--pink); }
label small { color: var(--muted); font-size: 12px; font-weight: 400; }
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
button { min-height: 48px; padding: 12px 18px; border: 0; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; }
button.primary { width: 100%; margin-top: 8px; background: var(--pink); color: white; }
button.secondary { background: #f8f5f7; color: var(--ink); }
.secondary-form { margin-top: 10px; }
.notice { margin: 18px 0; padding: 13px 14px; border-radius: 10px; background: #f6f3f6; color: #534f56; font-size: 13px; overflow-wrap: anywhere; }
.notice.error { background: #fff0f1; color: #812e3b; }
.notice.warning { background: #fff5df; color: #71510d; }
.notice.success { background: #eaf5ef; color: #275a41; }
.mail { display: grid; gap: 6px; margin: 20px 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fcfbfc; }
.mail small { margin-top: 8px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .1em; }
.mail small:first-child { margin-top: 0; }
.mail strong { overflow-wrap: anywhere; }
.mail p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.otp { color: var(--pink); font-size: 34px; letter-spacing: .18em; }
footer { padding: 0 16px 18px; color: var(--muted); text-align: center; font-size: 11px; }
@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; gap: 22px; width: min(600px, calc(100% - 28px)); margin: 22px auto; }
  .logo { width: min(100%, 230px); }
  .eyebrow { margin-top: 20px; }
  h1 { font-size: 35px; }
  .card { justify-self: stretch; max-width: none; padding: 25px 22px; }
}
@media (max-width: 520px) {
  .environment { display: grid; gap: 2px; }
  .shell { width: calc(100% - 22px); margin: 18px auto; }
  .logo { width: 205px; }
  h1 { font-size: 31px; }
  .card { padding: 22px 18px; border-radius: 16px; }
}
