/* Sign in, forgot password and choose a new password: the homepage's paper and ink look.
   A form on paper at left, an ink panel with the Q at right; the form alone below 900px. */
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--ink-muted); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.display { font-variant-numeric: lining-nums; }

.lg-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); box-sizing: border-box; }
.lg-side { display: flex; flex-direction: column; padding: 28px 64px 32px; box-sizing: border-box; }
.lg-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lg-wordmark img { display: block; height: 46px; width: auto; margin-left: -9px; }
.lg-main { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 400px; margin: 0 auto; padding: 48px 0; gap: 28px; }
.lg-head { display: flex; flex-direction: column; gap: 10px; }
.lg-head .overline { text-transform: uppercase; color: var(--ink-muted); }
.lg-head h1 { margin: 0; font-size: 52px; line-height: 1.04; }
.lg-head p { margin: 0; color: var(--ink-muted); font-size: 16px; line-height: 24px; }
.lg-studio:empty { display: none; }
.lg-studio img { max-height: 44px; width: auto; }

.lg-form { display: flex; flex-direction: column; gap: 16px; }
.lg-field { display: flex; flex-direction: column; gap: 6px; }
.lg-field > span { font-size: 13px; line-height: 18px; font-weight: 600; }
.lg-field input { height: 52px; width: 100%; box-sizing: border-box; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; }
.lg-field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.lg-hint { margin: -8px 0 0; font-size: 13px; color: var(--ink-muted); }
.lg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border: 0; border-radius: 12px; background: #1c1a17; color: #faf7f2; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: transform .5s cubic-bezier(.16, 1, .3, 1), opacity .3s; }
.lg-btn:hover { transform: translate3d(0, -2px, 0); }
.lg-btn[disabled] { opacity: .7; cursor: default; transform: none; }
.lg-error { margin: 0; color: var(--live); font-size: 14px; line-height: 20px; }
.lg-error:empty, .lg-done:empty { display: none; }
.lg-done { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-size: 14px; line-height: 20px; }
.lg-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.lg-links a { font-weight: 500; }
.lg-foot { font-size: 12px; color: var(--ink-muted); }
.lg-foot a { color: inherit; }

/* The ink panel */
.lg-ink { position: relative; isolation: isolate; overflow: hidden; margin: 16px 16px 16px 0; border-radius: 32px; background: #1c1a17; color: #faf7f2; display: flex; flex-direction: column; justify-content: space-between; padding: 64px 56px 0; }
.lg-ink::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 6% 12%, rgba(212,166,88,.26), transparent 70%), radial-gradient(50% 60% at 100% 100%, rgba(198,122,96,.24), transparent 70%); }
.lg-wm { position: absolute; z-index: -1; width: 820px; height: auto; right: -260px; top: 40px; opacity: .075; pointer-events: none; }
.lg-ink .display { margin: 0; max-width: 520px; font-size: clamp(38px, 3.6vw, 54px); line-height: 1.08; }
.lg-ink p { margin: 14px 0 0; max-width: 440px; color: rgba(250,247,242,.8); font-size: 17px; line-height: 27px; }
.lg-phone { align-self: center; width: 270px; height: 420px; margin-top: 40px; box-sizing: border-box; padding: 8px 8px 0; border-radius: 44px 44px 0 0; background: #0d0c0b; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); overflow: hidden; }
.lg-phone div { height: 100%; border-radius: 36px 36px 0 0; overflow: hidden; background: var(--paper); padding-top: 34px; box-sizing: border-box; position: relative; }
.lg-phone div::before { content: ""; position: absolute; top: 9px; left: 50%; width: 78px; height: 22px; margin-left: -39px; border-radius: 999px; background: #0d0c0b; }
.lg-phone img { display: block; width: 100%; height: auto; }

@media (max-width: 1100px) { .lg-side { padding: 24px 40px 28px; } .lg-ink { padding: 48px 40px 0; } }
@media (max-width: 899px) {
  .lg-page { grid-template-columns: 1fr; }
  .lg-ink { display: none; }
  .lg-side { padding: 16px 20px 24px; min-height: 100vh; }
  .lg-wordmark img { height: 40px; margin-left: -8px; }
  .lg-main { justify-content: flex-start; padding: 12vh 0 40px; }
  .lg-head h1 { font-size: 42px; }
}
