/* EDFSOCIAL log in screen: white, app style. Separate from the main website's design. */
:root {
  --text: #0E1324; --sub: #6B7280; --line: #E5E7EB; --field: #F3F4F6;
  --a: #5B4CF0; --a-dk: #4636D9; --a-soft: #EEECFE; --ok: #10B981; --danger: #E5484D;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #fff; }
body { color: var(--text); font: 16px/1.4 var(--font); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--a) 45%, transparent); outline-offset: 2px; }

.lg { min-height: 100vh; min-height: 100dvh; width: 100%; max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center;
  padding: calc(32px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom)); }

.lg__hero { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 36px; animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.lg__icon { width: 72px; height: 72px; border-radius: 22px; object-fit: cover; box-shadow: 0 10px 30px -8px rgba(91, 76, 240, .45), 0 0 0 1px rgba(14, 19, 36, .06); }
.lg__name { margin: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -.025em; }

.lg__panel { animation: rise .5s .08s cubic-bezier(.2, .8, .2, 1) both; transition: opacity .35s .3s, transform .35s .3s; }
.lg__panel--done { opacity: 0; transform: translateY(-8px); }
.lg__title { margin: 0 0 18px; font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

.lg__form { display: grid; gap: 12px; }
.lg__form--shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }

/* field with a label that floats up */
.fi { position: relative; display: flex; align-items: center; height: 60px; padding: 0 6px 0 16px; border-radius: 16px; background: var(--field); border: 1.5px solid transparent; transition: border-color .2s, background-color .2s, box-shadow .2s; cursor: text; }
.fi:hover { background: #ECEDF0; }
.fi:focus-within { background: #fff; border-color: var(--a); box-shadow: 0 0 0 4px var(--a-soft); }
.fi__ic { display: grid; color: #9CA3AF; transition: color .2s; }
.fi:focus-within .fi__ic { color: var(--a); }
.fi input { flex: 1; min-width: 0; height: 100%; padding: 20px 10px 4px 12px; border: 0; outline: 0; background: none; font: 600 16px var(--font); color: var(--text); }
.fi__l { position: absolute; left: 50px; top: 50%; transform: translateY(-50%); color: var(--sub); font-weight: 500; pointer-events: none; transition: top .18s, font-size .18s, color .18s; }
.fi input:focus + .fi__l, .fi input:not(:placeholder-shown) + .fi__l { top: 16px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.fi:focus-within .fi__l { color: var(--a); }
.fi__eye { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: none; color: #9CA3AF; }
.fi__eye:hover { color: var(--text); background: rgba(0,0,0,.04); }
.fi__eye[aria-pressed="true"] { color: var(--a); }
.fi input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px var(--field) inset; -webkit-text-fill-color: var(--text); }
.fi:focus-within input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #fff inset; }

.lg__err { display: flex; align-items: center; gap: 6px; padding: 0 4px; color: var(--danger); font-size: .88rem; font-weight: 600; animation: rise .2s both; }
.lg__err:empty { display: none; }

.lg__btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 58px; margin-top: 6px; border: 0; border-radius: 16px; color: #fff; font-weight: 700; font-size: 1.05rem;
  background: var(--a); box-shadow: 0 10px 24px -10px rgba(91, 76, 240, .9); transition: transform .12s, background-color .2s, box-shadow .2s; }
.lg__btn:hover { background: var(--a-dk); }
.lg__btn:active { transform: scale(.97); }
.lg__btn:disabled { cursor: default; }
.lg__btn svg { transition: transform .2s; }
.lg__btn:hover svg { transform: translateX(3px); }
.lg__btn--done { background: var(--ok); box-shadow: 0 10px 24px -10px rgba(16, 185, 129, .9); animation: pop .35s; }
@keyframes pop { 50% { transform: scale(1.04); } }
.lg__spin { width: 24px; height: 24px; border-radius: 50%; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.lg__link { display: block; width: max-content; margin: 20px auto 0; padding: 8px 12px; border-radius: 10px; color: var(--a); font-weight: 700; font-size: .95rem; text-decoration: none; }
.lg__link:hover { background: var(--a-soft); }

.lg__toast { position: fixed; top: calc(14px + env(safe-area-inset-top)); left: 50%; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--text); color: #fff; font-weight: 700; font-size: .9rem; box-shadow: 0 10px 30px -10px rgba(14,19,36,.5); animation: toast 3.5s both; white-space: nowrap; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, -20px); } 10%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, -20px); } }

.lg__nojs { margin: 40px 20px; font-weight: 600; }

/* smaller logo on the other screens */
.lg__hero { transition: margin .3s; }
.lg__hero--small { margin-bottom: 24px; }
.lg__hero--small .lg__icon { width: 52px; height: 52px; border-radius: 16px; }
.lg__hero--small .lg__name { font-size: 1.05rem; }
.lg__icon, .lg__name { transition: width .3s, height .3s, border-radius .3s, font-size .3s; }

/* screens slide like an app */
.lg__stage { position: relative; }
.lg__stage--fwd { animation: inR .32s cubic-bezier(.2, .8, .2, 1) both; }
.lg__stage--back { animation: inL .32s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes inR { from { opacity: 0; transform: translateX(40px); } }
@keyframes inL { from { opacity: 0; transform: translateX(-40px); } }
.lg__stage--fwd .lg__panel, .lg__stage--back .lg__panel { animation: none; }

.lg__back { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 0 10px -8px; border: 0; border-radius: 50%; background: none; color: var(--text); }
.lg__back:hover { background: var(--field); }
.lg__text { margin: -8px 0 20px; color: var(--sub); line-height: 1.5; }
.lg__text b { color: var(--text); overflow-wrap: anywhere; }
.lg__hint { margin: -8px 0 20px; color: var(--sub); font-size: .88rem; }
.lg__panel--center { text-align: center; display: flex; flex-direction: column; align-items: stretch; }
.lg__panel--center .lg__badge { align-self: center; }
.lg__badge { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 20px; background: var(--a-soft); color: var(--a); animation: pop .4s .1s both; }
.lg__badge--warn { background: #FEF3C7; color: #B45309; }
a.lg__btn { text-decoration: none; }
.lg__btn--ghost { background: var(--field); color: var(--text); box-shadow: none; }
.lg__btn--ghost:hover { background: #E5E7EB; }
.lg__btn--ghost:disabled { color: var(--sub); }
.lg__spin--dark { border-color: rgba(14,19,36,.15); border-top-color: var(--text); }
.lg__panel--center .lg__err { justify-content: center; margin-top: 10px; }

/* password strength */
.meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: -2px 2px 2px; }
.meter span { height: 5px; border-radius: 3px; background: var(--line); transition: background-color .25s; }
.meter small { grid-column: 1 / -1; color: var(--sub); font-size: .82rem; font-weight: 600; }
.meter--1 span:nth-child(1) { background: #F59E0B; }
.meter--2 span:nth-child(-n+2) { background: #22C55E; }
.meter--3 span { background: var(--ok); }
.match { display: flex; align-items: center; gap: 6px; margin: -2px 4px 0; font-size: .85rem; font-weight: 600; color: #B45309; }
.match--ok { color: var(--ok); }

@media (max-height: 600px) { .lg { justify-content: flex-start; } .lg__hero { margin-bottom: 22px; } .lg__icon { width: 56px; height: 56px; border-radius: 18px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ---------- create account ---------- */
.lg__or { display: flex; align-items: center; gap: 12px; margin: 26px 0 14px; color: var(--sub); font-size: .88rem; font-weight: 600; }
.lg__or::before, .lg__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lg__btn--alt { background: #fff; color: var(--a); border: 1.5px solid color-mix(in srgb, var(--a) 35%, transparent); box-shadow: none; margin-top: 0; }
.lg__btn--alt:hover { background: var(--a-soft); border-color: var(--a); }
.lg__btn--alt:hover svg { transform: rotate(90deg); }
.lg__foot { margin: 22px 0 0; text-align: center; color: var(--sub); font-size: .95rem; }
.lg__foot a { color: var(--a); font-weight: 700; text-decoration: none; }
.lg__foot a:hover { text-decoration: underline; }
.lg__link--btn { border: 0; background: none; font-family: inherit; }
.lg__note { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 12px 14px; border-radius: 14px; background: var(--a-soft); color: var(--text); font-size: .9rem; animation: rise .25s both; }
.lg__note svg { color: var(--a); flex: none; }
.lg__note b { overflow-wrap: anywhere; }
.lg__mini { border: 0; padding: 6px 12px; border-radius: 999px; background: var(--a); color: #fff; font-weight: 700; font-size: .85rem; }
.lg__mini:disabled { opacity: .6; }
.lg__badge--ok { background: #D1FAE5; color: #059669; }
.lg__badge--mail { background: linear-gradient(135deg, var(--a-soft), #E0F2FE); }
.lg__panel--center .lg__btn + .lg__btn { margin-top: 10px; }

/* step dots */
.su__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 18px; }
.su__step { display: grid; gap: 7px; }
.su__step i { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.su__step i::after { content: ""; position: absolute; inset: 0; background: var(--a); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.su__step.is-done i::after, .su__step.is-on i::after { transform: scaleX(1); }
.su__step small { color: #9CA3AF; font-size: .74rem; font-weight: 700; letter-spacing: .02em; transition: color .3s; }
.su__step.is-on small { color: var(--a); }
.su__step.is-done small { color: var(--text); }

.su__form--fwd { animation: inR .32s cubic-bezier(.2, .8, .2, 1) both; }
.su__form--back { animation: inL .32s cubic-bezier(.2, .8, .2, 1) both; }
.su__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.su__row .fi { padding-left: 12px; }
.su__row .fi__l { left: 46px; }
.fi--noic .fi__ic { display: none; }
.su__row .fi--noic input { padding-left: 4px; }
.su__row .fi--noic .fi__l { left: 16px; }
.su__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* label always up: date and select */
.fi--up .fi__l { top: 16px; font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.fi--up input[type="date"] { min-height: 100%; -webkit-appearance: none; appearance: none; }
.fi--up input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; padding: 6px; }
.fi--up input[type="date"]:invalid, .fi--up input[type="date"][value=""] { color: var(--sub); }
.fi--sel select { flex: 1; min-width: 0; height: 100%; padding: 20px 34px 4px 12px; border: 0; outline: 0; background: none; font: 600 16px var(--font); color: var(--text); -webkit-appearance: none; appearance: none; cursor: pointer; }
.fi--sel select.is-empty { color: var(--sub); font-weight: 500; }
.fi__chev { position: absolute; right: 14px; display: grid; color: #9CA3AF; pointer-events: none; }
.fi--sel:focus-within .fi__chev { color: var(--a); }

/* gender choice */
.su__seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; outline: 0; border-radius: 16px; }
.su__seg:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 35%, transparent); }
.su__seg button { display: flex; align-items: center; justify-content: center; gap: 6px; height: 52px; border: 1.5px solid transparent; border-radius: 14px; background: var(--field); color: var(--text); font-weight: 600; transition: background-color .2s, border-color .2s, color .2s, transform .12s; }
.su__seg button:hover { background: #ECEDF0; }
.su__seg button:active { transform: scale(.96); }
.su__seg button.is-on { background: var(--a-soft); border-color: var(--a); color: var(--a); font-weight: 700; }
.su__seg button svg { animation: pop .3s; }

/* community rules tick box */
.su__terms { display: flex; align-items: flex-start; gap: 12px; padding: 12px 4px 2px; color: var(--sub); font-size: .9rem; line-height: 1.45; cursor: pointer; }
.su__terms input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.su__box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 8px; border: 2px solid #D1D5DB; color: transparent; transition: background-color .2s, border-color .2s, color .2s; }
.su__terms input:checked + .su__box { background: var(--a); border-color: var(--a); color: #fff; }
.su__terms input:focus-visible + .su__box { box-shadow: 0 0 0 4px var(--a-soft); }
.su__terms:hover .su__box { border-color: var(--a); }
.su__auto { margin-top: 14px; }

@media (max-width: 360px) { .su__row { grid-template-columns: 1fr; } .su__row .fi--noic .fi__ic { display: grid; } .su__row .fi--noic .fi__l { left: 46px; } .su__step small { font-size: .68rem; } }
.su__row > * { min-width: 0; }
.lg__stage { max-width: 100%; }
.su__inv { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 10px 14px; border-radius: 16px; background: var(--a-soft); animation: rise .4s both; }
.su__inv img, .su__inv span { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--a); color: #fff; font-weight: 700; }
.su__inv p { margin: 0; font-size: .95rem; }

/* ---------- every screen size ---------- */
/* fields never wider than the screen (very small phones) */
.lg__form { grid-template-columns: minmax(0, 1fr); }
.fi input { width: 100%; }
.lg__card { width: 100%; }
.lg__brand { display: none; }

/* tablets and small laptops: the form in a card on a soft background */
@media (min-width: 640px) {
  html, body { background: #f4f3ff; }
  body { background: radial-gradient(1200px 600px at 10% -10%, #e6e3ff 0%, transparent 60%), radial-gradient(900px 500px at 110% 110%, #dff0ff 0%, transparent 60%), #f6f6fb; background-attachment: fixed; }
  .lg { max-width: none; padding: 40px 24px; align-items: center; }
  .lg__card { width: 460px; max-width: 100%; padding: 40px 40px 34px; border-radius: 28px; background: #fff; box-shadow: 0 30px 80px -30px rgba(43, 35, 140, .28), 0 0 0 1px rgba(14, 19, 36, .05); }
  .lg__card--wide { width: 520px; }
  .lg__hero { margin-bottom: 26px; }
}

/* laptops and desktops: brand panel on the left, form on the right */
@media (min-width: 1000px) {
  body { background: #fff; }
  .lg { display: grid; grid-template-columns: minmax(420px, 1.05fr) minmax(480px, 1fr); align-items: stretch; justify-content: stretch; min-height: 100vh; padding: 0; }
  .lg__brand { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 56px clamp(40px, 6vw, 96px); color: #fff;
    background: radial-gradient(800px 500px at 0% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(150deg, #1e8bff 0%, #5b4cf0 52%, #9a3cf0 100%); }
  .lg__bi { position: relative; z-index: 2; max-width: 520px; animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; }
  .lg__blogo { width: 84px; height: 84px; border-radius: 24px; background: #fff; box-shadow: 0 20px 40px -14px rgba(0,0,0,.35); margin-bottom: 34px; }
  .lg__bh { margin: 0 0 16px; font-size: clamp(2rem, 3.1vw, 3rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
  .lg__bp { margin: 0 0 34px; font-size: 1.08rem; line-height: 1.55; opacity: .9; max-width: 440px; }
  .lg__bf { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
  .lg__bf li { display: flex; align-items: flex-start; gap: 14px; }
  .lg__bf li > span { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
  .lg__bf b { display: block; font-size: 1rem; }
  .lg__bf small { display: block; opacity: .82; font-size: .9rem; margin-top: 2px; }
  .lg__bubbles i { position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); animation: drift 14s ease-in-out infinite; }
  .lg__bubbles i:nth-child(1) { width: 380px; height: 380px; right: -120px; top: -100px; }
  .lg__bubbles i:nth-child(2) { width: 220px; height: 220px; left: -70px; bottom: -60px; animation-delay: -4s; }
  .lg__bubbles i:nth-child(3) { width: 120px; height: 120px; right: 14%; bottom: 12%; animation-delay: -8s; }
  .lg__bubbles i:nth-child(4) { width: 60px; height: 60px; left: 18%; top: 10%; animation-delay: -2s; }
  .lg__bubbles i:nth-child(5) { width: 30px; height: 30px; right: 30%; top: 38%; animation-delay: -6s; }
  @keyframes drift { 50% { transform: translate(14px, -18px) scale(1.05); } }

  .lg__card { align-self: center; justify-self: center; width: 440px; padding: 48px 0; border-radius: 0; background: none; box-shadow: none; }
  .lg__card--wide { width: 500px; }
  .lg__hero { flex-direction: row; justify-content: flex-start; gap: 12px; margin-bottom: 30px; }
  .lg__hero .lg__icon { width: 44px; height: 44px; border-radius: 14px; }
  .lg__hero .lg__name { font-size: 1.1rem; }
  .lg__hero--small { margin-bottom: 22px; }
  .lg__title { font-size: 2rem; }
}
@media (min-width: 1600px) {
  .lg__card { width: 480px; }
  .lg__card--wide { width: 540px; }
  .lg__bh { font-size: 3.4rem; }
}
/* short laptop screens */
@media (min-width: 1000px) and (max-height: 760px) {
  .lg__blogo { width: 64px; height: 64px; margin-bottom: 22px; }
  .lg__bp { margin-bottom: 22px; }
  .lg__bf { gap: 12px; }
  .lg__card { padding: 28px 0; }
}
@media (min-width: 1000px) { .lg__card { max-width: calc(100% - 72px); } }

/* ---------- saved accounts ("Continue as …") and Remember me ---------- */
.acc { display: grid; gap: 10px; }
.acc__row { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 44px 12px 12px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .1s; animation: rise .35s both; }
.acc__row:hover { border-color: var(--a); box-shadow: 0 10px 24px -14px rgba(91, 76, 240, .55); }
.acc__row:active { transform: scale(.99); }
.acc__row > svg { color: var(--a); flex: none; }
.acc__img, .acc__ini { flex: none; border-radius: 50%; object-fit: cover; }
.acc__ini { display: grid; place-items: center; background: linear-gradient(135deg, #1e8bff, #6a4cf6); color: #fff; font-weight: 800; }
.acc__t { flex: 1; min-width: 0; display: grid; }
.acc__t b { font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc__t small { color: var(--sub); font-weight: 600; font-size: .85rem; }
.acc__x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--field); color: var(--sub); }
.acc__x:hover { background: #fee2e2; color: var(--danger); }
.acc__other { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 10px; padding: 12px; border: 1.5px dashed var(--line); border-radius: 18px; background: none; color: var(--text); font-weight: 700; text-align: left; }
.acc__other:hover { border-color: var(--a); color: var(--a); }
.acc__plus { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--a-soft); color: var(--a); }
.acc__me { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 18px; }
.acc__me .lg__title { margin: 12px 0 2px; font-size: 1.5rem; }
.acc__me small { color: var(--sub); font-weight: 600; }
.acc__me .acc__img, .acc__me .acc__ini { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--a-soft); }
.lg__rem { display: flex; align-items: center; gap: 12px; padding: 4px 4px 0; cursor: pointer; color: var(--text); font-weight: 600; font-size: .95rem; }
.lg__rem input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lg__rem small { display: block; color: var(--sub); font-weight: 500; font-size: .8rem; }
.lg__rem input:checked + .su__box { background: var(--a); border-color: var(--a); color: #fff; }
.lg__rem input:focus-visible + .su__box { box-shadow: 0 0 0 4px var(--a-soft); }
.su__hint { display: flex; align-items: center; gap: 6px; margin: -2px 4px 0; color: var(--sub); font-size: .82rem; font-weight: 500; }
.su__steps--4 small { font-size: .68rem; }
.fi.is-off, .fi input:disabled { opacity: .6; cursor: not-allowed; }
@media (min-width: 640px) { .acc__row { background: #fff; } }

/* ---------- type like Facebook: Segoe UI / Helvetica / Arial, plain weights, no tight tracking ---------- */
:root { --font: "Segoe UI Historic", "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji"; --sub: #65676B; --text: #1C1E21; }
body { font-family: var(--font); font-size: 15px; line-height: 1.34; }
.lg__title, .lg__name, .lg__bh, .acc__me .lg__title { letter-spacing: normal; }
.lg__title { font-size: 1.6rem; font-weight: 700; color: var(--text); }
.lg__text, .lg__hint, .lg__foot { color: var(--sub); font-size: 15px; }
.fi input, .fi--sel select { font: 400 17px/1.2 var(--font); color: var(--text); }
.fi__l { font-size: 16px; font-weight: 400; color: #8A8D91; }
.fi input:focus + .fi__l, .fi input:not(:placeholder-shown) + .fi__l, .fi--up .fi__l { font-size: 12px; font-weight: 400; letter-spacing: normal; color: var(--sub); }
.fi:focus-within .fi__l { color: var(--a); }
.su__seg button, .su__seg button.is-on { font-weight: 400; font-size: 15px; }
.su__seg button.is-on { font-weight: 600; }
.su__terms, .lg__rem { font-size: 13px; font-weight: 400; }
.lg__rem { font-size: 15px; }
.lg__btn { font-size: 18px; font-weight: 700; letter-spacing: normal; }
.lg__link, .lg__foot a { font-weight: 600; }
.su__step small { font-weight: 600; letter-spacing: normal; }
.lg__err, .meter small, .match { font-weight: 400; }
.lg__bf b { font-weight: 600; }
.su__steps--4 { grid-template-columns: repeat(4, 1fr); }

/* Single centred authentication form, without a promotional panel. */
.lg { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:100vh; min-height:100dvh; max-width:none; padding:calc(28px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom)); }
.lg__card { flex:none; width:100%; max-width:460px; margin:auto; }
.lg__card--wide { max-width:540px; }
.lg__hero { flex-direction:column; justify-content:center; align-items:center; text-align:center; }
@media(min-width:640px) {
 .lg__card { width:460px; max-width:100%; padding:36px; border-radius:24px; background:#fff; box-shadow:0 20px 60px -25px rgba(43,35,140,.2); }
 .lg__card--wide { width:540px; }
}
@media(max-height:600px) { .lg { justify-content:flex-start; } .lg__card { margin:0 auto; } }

* { -webkit-touch-callout:none; } img,a { -webkit-user-drag:none; }

/* "Get the EDFSOCIAL app" under the login and sign-up card */
.lg__get { width: 100%; max-width: 440px; margin: 18px auto 8px; padding: 0 4px; text-align: center; }
.lg__geth { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #65676b; letter-spacing: .01em; }
.lg__getrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lg__store { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 14px; border-radius: 14px; background: #fff; color: #050505; text-decoration: none; border: 1px solid #dadde1; box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: transform .1s, box-shadow .15s; }
.lg__store:active { transform: scale(.97); }
.lg__store span { display: grid; text-align: left; line-height: 1.1; }
.lg__store small { font-size: 11px; font-weight: 600; color: #65676b; }
.lg__store b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.lg__store.is-main { background: #111; color: #fff; border-color: #111; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.lg__store.is-main small { color: rgba(255,255,255,.7); }
.lg__getm { display: inline-block; margin-top: 12px; font-size: 13.5px; color: #1976f5; text-decoration: none; }
.lg__getm b { color: #00a884; }
@media (prefers-color-scheme: dark) {
  .lg__geth { color: #b0b3b8; }
  .lg__store { background: #242526; color: #e4e6eb; border-color: #3a3b3c; }
  .lg__store small { color: #b0b3b8; }
  .lg__store.is-main { background: #fff; color: #050505; border-color: #fff; }
  .lg__store.is-main small { color: #65676b; }
}
/* the app buttons sit at the very top of the page, before the login card */
.lg__get { margin: 4px auto 14px; padding: 10px 12px 12px; border-radius: 18px; background: linear-gradient(135deg, #f3f0ff, #e9f3ff); border: 1px solid #e3e0fb; }
.lg__geth { margin-bottom: 8px; font-size: 13px; color: #4b4f58; }
.lg__store { height: 48px; border-radius: 12px; }
.lg__store b { font-size: 15.5px; }
.lg__getm { margin-top: 8px; font-size: 12.5px; }
@media (prefers-color-scheme: dark) { .lg__get { background: linear-gradient(135deg, #1f1d2e, #17222f); border-color: #2c2a40; } .lg__geth { color: #c7cad1; } }
