.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 100px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 100px;
}
.account-story { max-width: 520px; }
.account-story > img { margin-bottom: 38px; object-fit: contain; }
.account-story h1 { font-size: clamp(42px, 4.3vw, 64px); font-weight: 500; letter-spacing: -2.8px; line-height: 1.1; }
.account-story > p { max-width: 400px; margin-top: 28px; font-size: 17px; color: var(--gray); line-height: 1.8; text-wrap: balance; }
.account-story .text-link { margin-top: 32px; }
.account-panel { width: 100%; max-width: 500px; justify-self: end; padding: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); }
.account-panel h2 { font-size: 30px; letter-spacing: -1px; line-height: 1.2; }
.account-intro { margin-top: 14px; color: var(--gray); font-size: 14px; line-height: 1.8; }
.account-form { margin-top: 28px; }
.account-form label { display: block; font-size: 12px; font-weight: 500; line-height: 1.6; margin-bottom: 8px; }
.account-form label > span { font-size: 11px; color: var(--gray); font-weight: 400; margin-left: 6px; }
.account-form input, .account-form textarea { width: 100%; border: 1px solid #d5d5dc; border-radius: 2px; background: #fff; color: #000; padding: 13px 14px; font: inherit; font-size: 14px; margin-bottom: 20px; }
.account-form input { min-height: 46px; }
.account-form textarea { resize: vertical; }
.account-form input:focus-visible, .account-form textarea:focus-visible { outline: none; border-color: #b8b8c0; box-shadow: none; }
.account-form .button { width: 100%; min-height: 48px; }
.account-form .button:disabled { opacity: .6; cursor: wait; }
.account-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.account-field-row > div { min-width: 0; }
.account-privacy { font-size: 11px; line-height: 1.8; color: var(--gray); margin-bottom: 20px; }
.account-privacy a, .account-alternative a { color: var(--blue); }
.account-help { font-size: 11px; color: var(--gray); line-height: 1.8; margin-top: 22px; }
.account-status { font-size: 12px; color: #333; line-height: 1.8; margin-top: 16px; }
.account-status:empty { display: none; }
.account-panel .account-alternative { font-size: 12px; line-height: 1.8; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 1000px) { .account-layout { gap: 45px; } .account-panel { padding: 28px; } }
@media (max-width: 760px) {
  .account-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 44px; padding-bottom: 64px; }
  .account-story > img { width: 44px; height: 44px; margin-bottom: 24px; }
  .account-story h1 { font-size: 42px; letter-spacing: -2px; }
  .account-story > p { font-size: 15px; margin-top: 20px; }
  .account-story .text-link { margin-top: 22px; }
  .account-panel { max-width: none; justify-self: stretch; padding: 26px 22px; }
  .account-panel h2 { font-size: 27px; }
}
@media (max-width: 380px) { .account-field-row { grid-template-columns: 1fr; gap: 0; } }

/* Standalone Login: full-height brand and sign-in panels. */
.login-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100svh; }
.login-brand, .login-access { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 42px clamp(32px, 4.5vw, 88px); }
.login-brand { background: #000; color: #fff; }
.login-wordmark { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; min-height: 44px; }
.login-wordmark img { display: block; object-fit: contain; }
.login-wordmark img:first-child { filter: brightness(0) invert(1); }
.login-brand-copy { margin-block: auto; padding-block: 90px; }
.login-brand-copy h1 { font-size: clamp(48px, 4.6vw, 80px); font-weight: 500; letter-spacing: -.065em; line-height: 1.08; }
.login-brand-copy h1 span { color: var(--blue); }
.login-brand-copy p { max-width: 480px; margin-top: 34px; color: #a6a6ad; font-size: 16px; line-height: 1.8; text-wrap: balance; }
.login-access { background: #fff; }
.login-back { align-self: flex-start; color: var(--gray); font-size: 12px; line-height: 44px; }
.login-back:hover { color: #000; }
.login-access .account-panel { align-self: center; max-width: 420px; margin-block: auto; padding: 80px 0; background: transparent; border: 0; border-radius: 0; }
.login-access .account-panel h2 { font-size: clamp(40px, 5vw, 76px); font-weight: 500; letter-spacing: -.065em; line-height: 1.12; white-space: nowrap; }
.login-access .account-form { margin-top: 26px; }
.login-access .account-form input { min-height: 54px; background: #f0f0f0; border-color: transparent; padding: 15px 16px; border-radius: 0; margin-bottom: 18px; }
.login-access .account-form input:focus { outline: none; border-color: #b8b8c0; box-shadow: none; }
.login-access .account-form .button { min-height: 54px; border-radius: 0; padding-inline: 20px; }
.login-access .account-help { margin-top: 20px; }
.login-access .account-alternative { margin-top: 28px; padding-top: 24px; font-size: 13px; color: var(--gray); }
.login-access .account-alternative a { margin-left: 6px; }
@media (max-width: 1000px) {
  .login-brand, .login-access { padding-inline: 32px; }
  .login-brand-copy h1 { font-size: 54px; }
}
@media (max-width: 760px) {
  .login-layout { grid-template-columns: 1fr; }
  .login-brand { padding: 24px; }
  .login-wordmark { gap: 10px; }
  .login-wordmark img:last-child { width: 108px; height: 36px; }
  .login-wordmark img:first-child { width: 28px; height: 28px; }
  .login-brand-copy { padding: 44px 0 20px; }
  .login-brand-copy h1 { font-size: clamp(42px, 9vw, 64px); }
  .login-brand-copy p { margin-top: 22px; font-size: 14px; max-width: 380px; }
  .login-access { padding: 18px 24px 44px; }
  .login-access .account-panel { max-width: 440px; padding: 34px 0 0; }
  .login-access .account-panel h2 { font-size: 40px; }
}
.account-form .otp-code-field[hidden], .account-form .otp-controls[hidden] { display: none; }
.account-form .otp-controls { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; }
.otp-controls button { padding: 0; border: 0; background: transparent; color: var(--gray); font-size: 12px; }
.otp-controls button:hover { color: var(--blue); }
.otp-controls button:disabled { opacity: .5; cursor: wait; }
.account-form button[hidden] { display: none; }
