.account-auth-page { background: #f8f9f5; }
.auth-layout { display: grid; grid-template-columns: 44% 56%; min-height: 100svh; }
.auth-story { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 42px clamp(38px, 5.6vw, 110px) 28px; color: #f2f4e8; background: #122c24; }
.auth-story::before, .auth-story::after { content: ""; position: absolute; pointer-events: none; border: 1px solid #74978120; border-radius: 50%; width: 650px; height: 650px; right: -475px; top: 10%; }
.auth-story::after { width: 800px; height: 800px; right: -550px; top: calc(10% - 75px); }
.auth-story .brand { position: relative; z-index: 1; }
.auth-story-content { position: relative; z-index: 1; margin: auto 0; padding: 64px 0; }
.auth-eyebrow { display: flex; align-items: center; gap: 10px; color: #a6c1af; font-size: 11px; letter-spacing: 1.6px; }
.auth-eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: #b8d5a6; box-shadow: 0 0 0 4px #b8d5a612; }
.auth-story h2 { margin: 26px 0 22px; font: 500 clamp(32px, 3.05vw, 52px)/1.55 var(--serif); letter-spacing: 2px; }
.auth-story h2 em { color: #c1d6ad; font-style: normal; }
.auth-story-content > p { color: #a9bdb1; font-size: 13px; line-height: 2.1; }
.auth-signal { position: relative; height: 142px; margin: 34px -10% 36px 0; }
.auth-signal-grid { position: absolute; inset: 0; background-image: linear-gradient(#adc6a80d 1px, transparent 1px), linear-gradient(90deg, #adc6a80d 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, #000, transparent); }
.auth-signal svg { position: absolute; width: 100%; height: 120px; stroke: #b5d8a6; }
.auth-baseline { stroke: #54755f; stroke-width: .7; stroke-dasharray: 3 7; }
.auth-wave { stroke-width: 1.8; stroke-dasharray: 700; stroke-dashoffset: 700; animation: auth-draw 1.4s ease-out forwards; }
.auth-signal circle { fill: #bedbaa; stroke: #122c24; stroke-width: 2; }
.auth-signal > span { position: absolute; right: 10%; bottom: 0; font-size: 10px; color: #799985; letter-spacing: 1.5px; }
.auth-story-note { display: flex; gap: 15px; align-items: center; padding-top: 26px; border-top: 1px solid #73988236; }
.auth-note-mark { display: grid; place-items: center; width: 37px; height: 37px; flex-shrink: 0; border: 1px solid #617f6960; border-radius: 50%; color: #b9d0ac; font-size: 22px; font-weight: 300; }
.auth-story-note strong { font-size: 12px; font-weight: 500; color: #d9e3d5; letter-spacing: .8px; }
.auth-story-note p { margin-top: 4px; color: #91aa99; font-size: 11px; }
.auth-story-footer { display: flex; justify-content: space-between; gap: 15px; color: #859e8e; font-size: 10px; letter-spacing: 1.2px; }
.auth-story-footer > span:first-child { font-family: var(--number); }
.auth-form-area { display: flex; flex-direction: column; padding: 42px clamp(36px, 5.8vw, 112px) 28px; }
.auth-back { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; color: #6e8074; font-size: 12px; transition: color .2s; }
.auth-back svg { width: 15px; height: 15px; }
.auth-back:hover { color: var(--green); }
.auth-form-wrap { width: 100%; max-width: 420px; margin: auto; padding: 38px 0 42px; animation: auth-appear .5s ease-out both; }
.auth-heading .overline { margin-bottom: 11px; font-size: 11px; letter-spacing: 2px; }
.auth-heading h1 { font: 600 34px/1.4 var(--serif); letter-spacing: 1.5px; }
.auth-heading > p { margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.9; }
.auth-form { display: grid; gap: 21px; margin-top: 32px; }
.auth-field { display: grid; gap: 9px; min-width: 0; }
.auth-field label { font-size: 12px; color: #344c3f; }
.auth-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.auth-label-row > span { font-size: 10px; color: #7d897f; }
.auth-field input { height: 50px; padding-inline: 15px; border-color: #dce3d9; background: #fff; border-radius: 8px; font-size: 13px; }
.auth-field input:hover { border-color: #b7c6ba; }
.auth-field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px #0c796415; }
.auth-code-row { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 10px; }
.auth-code-row input { font-family: var(--number); font-size: 17px; letter-spacing: 3px; }
.auth-code-row input::placeholder { font: 12px var(--body); letter-spacing: 0; }
.auth-code-row .button { padding: 0 10px; min-height: 50px; color: #216e55; background: #edf3eb; border-color: #d7e2d2; border-radius: 8px; font-size: 12px; white-space: nowrap; }
.auth-code-row .button:not(:disabled):hover { background: #e2eddf; border-color: #becfb5; }
.auth-submit { width: 100%; min-height: 51px; margin-top: 3px; padding-inline: 19px; justify-content: space-between; border-radius: 8px; font-size: 13px; letter-spacing: .5px; }
.auth-submit svg { width: 18px; height: 18px; transition: transform .2s; }
.auth-submit:not(:disabled):hover svg { transform: translateX(3px); }
.auth-feedback { padding: 11px 14px; border: 1px solid #dce4d5; border-radius: 7px; background: #eef3e9; color: #445d46; line-height: 1.8; font-size: 12px; overflow-wrap: anywhere; }
.auth-privacy { display: flex; align-items: flex-start; justify-content: center; gap: 7px; margin-top: 22px; font-size: 10px; color: #7d8a7e; line-height: 1.8; }
.auth-privacy svg { width: 13px; height: 15px; margin-top: 1px; }
.auth-form-footer { display: flex; justify-content: space-between; gap: 16px; color: #8a978b; font-size: 10px; }
@keyframes auth-draw { to { stroke-dashoffset: 0; } }
@keyframes auth-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1050px) {
  .auth-layout { grid-template-columns: 43% 57%; }
  .auth-story { padding-inline: 34px; }
  .auth-story h2 { font-size: 31px; letter-spacing: 1px; }
  .auth-story-content > p { font-size: 12px; }
  .auth-story-note p { max-width: 230px; line-height: 1.8; }
  .auth-form-area { padding-inline: 42px; }
  .auth-story-footer { flex-direction: column; gap: 6px; }
}
@media (max-width: 700px) {
  .auth-layout { display: flex; flex-direction: column; }
  .auth-story { padding: 22px 26px; flex-shrink: 0; }
  .auth-story .brand { font-size: 15px; }
  .auth-story .brand img { width: 34px; height: 34px; }
  .auth-story .brand small { font-size: 9px; }
  .auth-story-content, .auth-story-footer { display: none; }
  .auth-form-area { flex: 1; padding: 23px 26px 22px; }
  .auth-form-wrap { max-width: 430px; padding: 31px 0 36px; margin-block: 0; }
  .auth-heading h1 { font-size: 29px; }
  .auth-heading > p { margin-top: 10px; }
  .auth-form { margin-top: 27px; gap: 19px; }
  .auth-field input { font-size: 16px; }
  .auth-field input::placeholder { font-size: 12px; }
  .auth-form-footer { margin-top: auto; }
  .auth-privacy { justify-content: flex-start; font-size: 10px; }
}
@media (max-width: 360px) {
  .auth-story, .auth-form-area { padding-inline: 20px; }
  .auth-code-row { grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-form-wrap, .auth-wave { animation: none; }
  .auth-wave { stroke-dashoffset: 0; }
}
