@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #171919;
  --panel: #1d2020;
  --surface: #252828;
  --line: #39433e;
  --muted: #a8b3ad;
  --text: #e7e9e4;
  --bright: #f5f1e6;
  --accent: #bce4d4;
  --accent-dark: #172c24;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(ellipse at 10% 25%, #20342a 0, transparent 48%), var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
input, button { font: inherit; }
button, a { touch-action: manipulation; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.welcome-shell {
  max-width: 1320px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(32px, env(safe-area-inset-top)) max(44px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(44px, env(safe-area-inset-left));
  margin: auto;
  display: flex;
  flex-direction: column;
}
.brand { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; text-decoration: none; font-size: 20px; font-weight: 650; letter-spacing: -.6px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: var(--accent-dark); font-size: 17px; font-weight: 750; }
.brand-light { font-weight: 350; color: var(--accent); margin-left: 3px; }
.welcome-layout { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(48px, 8vw, 120px); flex: 1; padding: 60px 0; }
.eyebrow { margin: 0 0 20px; color: var(--accent); letter-spacing: 2.3px; font-size: 10px; font-weight: 700; }
h1 { margin: 0; color: var(--bright); font-weight: 450; font-size: clamp(44px, 5.2vw, 72px); letter-spacing: -2.8px; line-height: 1.12; }
h1 span { color: #aec5b8; }
.welcome-description { max-width: 390px; margin: 28px 0 34px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.journey { display: flex; gap: 24px; color: var(--muted); font-size: 12px; flex-wrap: wrap; }
.journey span { display: grid; gap: 9px; }
.journey i { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #576a5f; border-radius: 50%; color: var(--accent); font-style: normal; font-size: 9px; }
.sign-in-card { padding: clamp(24px, 3.3vw, 44px); background: var(--panel); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 22px 80px #0002; }
.sign-in-card .eyebrow { margin-bottom: 12px; font-size: 9px; }
h2 { margin: 0; font-size: 30px; line-height: 1.3; font-weight: 500; letter-spacing: -.9px; color: var(--bright); }
.card-description { margin: 10px 0 28px; color: var(--muted); font-size: 14px; }
form { display: flex; flex-direction: column; }
label { margin-bottom: 8px; font-size: 13px; font-weight: 500; }
input { min-width: 0; width: 100%; min-height: 50px; padding: 12px 14px; color: var(--text); background: #171b18; border: 1px solid #46544b; border-radius: 10px; margin-bottom: 21px; }
input:focus { border-color: var(--accent); }
.primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: 12px 18px; margin-top: 6px; color: var(--accent-dark); background: var(--accent); border: 1px solid var(--accent); border-radius: 11px; font-size: 14px; font-weight: 650; cursor: pointer; text-decoration: none; }
.primary-action:hover { background: #d0eee2; }
.primary-action span { font-size: 20px; line-height: 1; }
.account-note { margin: 22px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.notice { margin: 0 0 18px; border: 1px solid #536c5e; border-radius: 10px; background: #24392e; color: #d7eadb; padding: 12px; font-size: 13px; overflow-wrap: anywhere; }
.notice-error { border-color: #8c5d54; background: #392923; color: #ffded5; }
footer { color: #94a79b; font-size: 11px; letter-spacing: .2px; }
.redirect-shell { justify-content: center; align-items: center; gap: 26px; }
.redirect-shell .brand { align-self: center; }
.redirect-card { width: min(100%, 460px); text-align: center; }
.redirect-card .primary-action { width: 100%; }
.redirect-card strong { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .welcome-shell { padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
  .welcome-layout { grid-template-columns: 1fr; gap: 30px; padding: 42px 0 30px; }
  h1 { font-size: 40px; letter-spacing: -1.8px; }
  .desktop-break { display: none; }
  .welcome-story .eyebrow { margin-bottom: 13px; }
  .welcome-description, .journey { display: none; }
  .sign-in-card { width: 100%; max-width: 470px; margin: 0 auto; padding: 25px; }
  .welcome-story { max-width: 470px; width: 100%; margin: 0 auto; }
  .card-description { margin-bottom: 24px; }
  footer { text-align: center; }
}
@media (max-width: 360px) {
  .welcome-shell { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 34px; }
  .sign-in-card { padding: 20px; }
  .eyebrow { letter-spacing: 1.5px; }
}
