* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); font-family: var(--body); background: linear-gradient(180deg, #fbe6df 0, #fff 580px); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
[hidden] { display: none !important; }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); align-items: start; gap: 32px 80px; width: min(1160px, 100%); min-height: 100vh; margin: auto; padding: 150px 40px 48px; }
.auth-story { padding-top: 16px; }
.story-kicker, .auth-kicker { margin: 0 0 22px; color: var(--red-dark); font-size: 11px; font-weight: 600; letter-spacing: .12em; line-height: 1.5; }
.auth-story h2 { margin: 0; font-size: clamp(44px, 4.5vw, 64px); font-weight: 700; letter-spacing: -.055em; line-height: 1; }
.auth-story h2 em { font-family: var(--serif); font-weight: 400; }
.auth-story > p:not(.story-kicker) { max-width: 430px; margin: 24px 0 30px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.auth-photo { display: block; width: 100%; max-height: 260px; object-fit: cover; border-radius: 24px; }
.auth-card { width: 100%; min-width: 0; padding: 36px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 20px 65px #00000005; }
.auth-kicker { margin-bottom: 12px; font-size: 10px; }
.auth-card h1 { margin: 0 0 15px; font-size: 38px; font-weight: 700; letter-spacing: -.055em; line-height: 1.05; }
.auth-intro { margin: 0 0 30px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.auth-card form { display: grid; gap: 18px; }
.auth-card label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; }
.auth-card input { width: 100%; min-width: 0; height: 50px; padding: 0 14px; border: 1px solid #dedede; border-radius: 11px; outline: none; color: var(--ink); background: #fff; font-size: 15px; font-weight: 400; }
.auth-card input:focus { border-color: var(--red); box-shadow: 0 0 0 3px #f33b0812; }
.auth-card input::placeholder { color: #909094; }
.auth-submit { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 14px; margin-top: 4px; padding: 15px 21px; border: 0; border-radius: 17px; color: #fff; background: #050505; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s; }
.auth-submit:hover { background: #292929; }
.auth-submit:disabled { opacity: .55; cursor: wait; }
.auth-message { margin: 20px 0 0; padding: 14px; border-left: 3px solid var(--red); border-radius: 7px; color: #5f3b30; background: #fff4ef; font-size: 13px; line-height: 1.55; }
.auth-message.is-error { border-color: #b92a24; color: #8c2922; background: #fff1ef; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 22px; }
.auth-links button, .auth-links a { display: inline-flex; min-height: 40px; align-items: center; padding: 4px 0; border: 0; color: #555; background: none; font: 500 12px var(--body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.auth-links button:hover, .auth-links a:hover, .auth-back:hover { color: var(--red-dark); }
.auth-footnote { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.auth-recovery-destinations { display: grid; gap: 12px; margin-top: 24px; }
.auth-recovery-destinations a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; font-size: 14px; font-weight: 600; }
.auth-recovery-destinations a:first-child { color: #fff; background: #050505; border-color: #050505; }
.auth-recovery-destinations a:hover { border-color: var(--red); }
.auth-back { grid-column: 1 / -1; justify-self: center; color: var(--muted); font-size: 12px; }
.password-control { position: relative; display: block; }
.auth-card .password-control input { padding-right: 82px; }
.password-visibility { position: absolute; top: 50%; right: 9px; transform: translateY(-50%); padding: 8px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 500; cursor: pointer; }
.password-visibility:hover { color: var(--ink); }
@media (max-width: 900px) { .auth-shell { gap: 32px; padding: 125px 28px 36px; } .auth-story h2 { font-size: 48px; } .auth-card { padding: 28px; } .auth-card h1 { font-size: 34px; } }
@media (max-width: 700px) {
  .auth-shell { grid-template-columns: minmax(0, 1fr); width: min(520px, 100%); gap: 28px; padding: 108px 20px 30px; }
  .auth-story { padding: 0 12px; text-align: center; }
  .auth-story h2 { font-size: 46px; }
  .story-kicker { margin-bottom: 16px; font-size: 10px; }
  .auth-story > p:not(.story-kicker) { margin: 18px auto 0; font-size: 15px; }
  .auth-photo { display: none; }
  .auth-card { padding: 28px 24px; border-radius: 23px; }
  .auth-card h1 { font-size: 32px; }
  .auth-intro { font-size: 14px; }
}
@media (max-width: 360px) { .auth-shell { padding-right: 14px; padding-left: 14px; } .auth-card { padding: 24px 20px; } .auth-story h2 { font-size: 40px; } }
