:root {
  --forest: #12372d;
  --forest-2: #1f5747;
  --mint: #b9e5cf;
  --cream: #fbfaf5;
  --ink: #17332b;
  --muted: #62736d;
  --line: #dce6e0;
  --coral: #ef7f66;
  --error: #a53b32;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: 'Segoe UI', system-ui, sans-serif; line-height: 1.5; }
button, input { font: inherit; }
.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(430px, .9fr) minmax(520px, 1.1fr); }
.auth-story { position: relative; min-height: 100vh; display: flex; flex-direction: column; padding: 42px clamp(42px, 6vw, 92px); overflow: hidden; color: white; background: var(--forest); }
.auth-story::before { content: ''; position: absolute; width: 620px; height: 620px; right: -330px; top: -240px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 85px rgba(255,255,255,.025), 0 0 0 170px rgba(255,255,255,.018); }
.auth-story::after { content: ''; position: absolute; width: 390px; height: 390px; left: -210px; bottom: -220px; border-radius: 50%; background: rgba(185,229,207,.09); }
.auth-brand { position: relative; z-index: 1; display: inline-flex; width: fit-content; align-items: center; gap: 11px; color: var(--ink); font-size: 20px; font-weight: 750; letter-spacing: -.02em; text-decoration: none; }
.auth-brand-light { color: white; }
.auth-brand-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px 12px 12px 4px; color: var(--forest); background: var(--mint); font-family: Georgia, serif; font-size: 25px; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.story-content { position: relative; z-index: 1; margin: auto 0; max-width: 570px; padding: 70px 0; }
.auth-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--mint); font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.auth-eyebrow i { width: 26px; height: 2px; background: var(--coral); }
.auth-eyebrow.dark { color: var(--forest-2); }
.story-content h1 { margin: 22px 0 24px; font-family: Georgia, serif; font-size: clamp(47px, 5vw, 72px); font-weight: 400; line-height: 1.03; letter-spacing: -.035em; }
.story-content h1 em { color: var(--mint); font-weight: 400; }
.story-content > p { max-width: 550px; margin: 0; color: rgba(255,255,255,.68); font-size: 17px; line-height: 1.7; }
.story-points { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.82); font-size: 14px; }
.story-points span { display: inline-grid; width: 22px; height: 22px; margin-right: 9px; place-items: center; border-radius: 50%; color: var(--forest); background: var(--mint); font-size: 11px; font-weight: 800; }
.story-card { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; max-width: 480px; padding: 15px 17px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(255,255,255,.07); backdrop-filter: blur(10px); }
.story-card-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: var(--forest); background: var(--mint); font-size: 22px; }
.story-card div { display: flex; flex-direction: column; }.story-card small { color: rgba(255,255,255,.56); }.story-card-status { padding: 5px 9px; border-radius: 99px; color: var(--mint); background: rgba(185,229,207,.1); font-size: 10px; font-weight: 700; }
.auth-panel { display: grid; place-items: center; padding: 54px clamp(30px, 7vw, 110px); background: white; }
.auth-panel-inner { width: min(100%, 470px); }
.auth-brand-mobile { display: none; }
.auth-heading { margin-bottom: 28px; }
.auth-heading h2 { margin: 13px 0 6px; font-family: Georgia, serif; font-size: 46px; font-weight: 400; line-height: 1.1; }
.auth-heading p { margin: 0; color: var(--muted); }
.google-button { width: 100%; height: 52px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: white; cursor: pointer; font-weight: 700; transition: border-color .2s, box-shadow .2s, transform .2s; }
.google-button:hover { border-color: #9eaea7; box-shadow: 0 8px 24px rgba(18,55,45,.08); transform: translateY(-1px); }.google-button svg { width: 20px; height: 20px; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 25px 0; color: #84928d; font-size: 12px; }.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-form { display: grid; gap: 20px; }.field { display: grid; gap: 7px; }.field label { font-size: 13px; font-weight: 700; }.field-label-row { display: flex; justify-content: space-between; gap: 18px; }.field-label-row a { color: var(--forest-2); font-size: 12px; font-weight: 650; text-decoration: none; }.field-label-row a:hover { text-decoration: underline; }
.input-wrap { position: relative; }.input-wrap svg { position: absolute; width: 19px; height: 19px; left: 15px; top: 50%; transform: translateY(-50%); fill: none; stroke: #7d8c86; stroke-width: 1.7; pointer-events: none; }
.input-wrap input { width: 100%; height: 52px; padding: 0 15px 0 46px; border: 1px solid var(--line); border-radius: 11px; outline: 0; color: var(--ink); background: #fcfdfc; transition: border-color .2s, box-shadow .2s, background .2s; }.input-wrap input::placeholder { color: #9ca8a3; }.input-wrap input:focus { border-color: var(--forest-2); background: white; box-shadow: 0 0 0 4px rgba(31,87,71,.1); }
.field-error { min-height: 0; color: var(--error); font-size: 12px; }.field-error:empty { display: none; }
.submit-button { height: 54px; display: flex; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 11px; color: white; background: var(--forest); cursor: pointer; font-weight: 750; box-shadow: 0 9px 22px rgba(18,55,45,.18); transition: background .2s, transform .2s, box-shadow .2s; }.submit-button:hover { background: var(--forest-2); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(18,55,45,.23); }
.auth-alert { margin-bottom: 18px; padding: 12px 14px; border-left: 3px solid var(--coral); border-radius: 7px; color: var(--error); background: #fff1ef; font-size: 13px; }.auth-alert:empty { display: none; }
.auth-signup, .auth-back { margin: 24px 0 0; text-align: center; color: var(--muted); font-size: 13px; }.auth-signup a { color: var(--forest-2); font-weight: 750; }.auth-back { margin-top: 9px; }.auth-back a { color: var(--muted); text-decoration: none; }.auth-back a:hover { color: var(--forest); }
.auth-security { margin: 34px 0 0; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; color: #85918d; font-size: 11px; }.auth-security span { color: var(--forest-2); }
@media (max-width: 900px) { .auth-page { grid-template-columns: 1fr; }.auth-story { display: none; }.auth-panel { min-height: 100vh; padding: 38px 24px; }.auth-brand-mobile { display: inline-flex; margin-bottom: 64px; }.auth-brand-mobile .auth-brand-mark { color: white; background: var(--forest); }.auth-heading h2 { font-size: 42px; } }
@media (max-width: 520px) { .auth-panel { align-items: start; padding: 25px 18px 35px; }.auth-brand-mobile { margin-bottom: 48px; }.auth-heading { margin-bottom: 24px; }.auth-heading h2 { font-size: 39px; }.auth-divider { margin: 21px 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
