/* Bullafric portal auth screens (sign-in, reset flow, portal chooser).
   Sizes are taken from the 1728px Figma frames: 1rem = 16 design px. */
:root {
  --navy: #03045e;
  --blue: #0077b6;
  --cyan: #00b4d8;
  --cyan-ink: #04a6c8;
  --sky: #90e0ef;
  --ice: #caf0f8;
  --ice-ink: #005a8c;
  --paper: #f7f9fc;
  --ink: #0a0f2e;
  --muted: #5a607a;
  --soft: #8a90a6;
  --line: #dfe3ea;
  --field: #d5dae3;
  --ok: #1f9d6b;
  --bad: #d93c4a;
  --night: #0b1220;
  --night-card: #111a2e;
  --night-chip: #0f2c42;
}

* { box-sizing: border-box; }
html { font-size: clamp(13px, .926vw, 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink);
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }
button, input { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ---------- Split layout ---------- */
.auth { display: grid; grid-template-columns: 53.24% 1fr; min-height: 100vh; }

.panel {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  display: flex; flex-direction: column; padding: 4.375rem 4.2rem 4.4rem 7.5rem; min-height: 100vh;
  background:
    radial-gradient(55% 45% at 0% 22%, rgba(1, 70, 150, .95), transparent 72%),
    radial-gradient(45% 35% at 0% 60%, rgba(1, 60, 130, .55), transparent 75%),
    radial-gradient(40% 32% at 100% 100%, rgba(1, 80, 140, .8), transparent 75%),
    linear-gradient(180deg, #02044c 0%, #020347 100%);
}
.panel::before { /* faint dot grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(150, 190, 255, .28) .9px, transparent 1.3px);
  background-size: 1.5rem 1.5rem; background-position: .4rem .4rem;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 45%, #000 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 45%, #000 100%);
}
.panel__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { height: 2.75rem; width: auto; }
.logo--w path { fill: #fff !important; }
.logo-link { display: inline-block; text-decoration: none; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem; height: 2.625rem; padding: 0 1.5rem;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px;
  font-size: 1rem; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap;
}
.panel h1 {
  margin: 3.6rem 0 0; font-weight: 900; font-size: 5rem; line-height: .96; letter-spacing: -.032em;
}
.panel h1 em { font-style: normal; color: var(--cyan-ink); }
.panel__lede { margin: 1.45rem 0 0; max-width: 40rem; font-size: 1.375rem; line-height: 1.42; color: rgba(255, 255, 255, .96); }
.panel__art { flex: 1; display: flex; align-items: flex-start; min-height: 0; padding: 3rem 0 1.5rem; }
.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.9rem; margin: 0; padding: 0; list-style: none; font-size: 1.0625rem; color: rgba(255, 255, 255, .92); }
.trust li { display: flex; align-items: center; gap: .55rem; }
.trust .ico { width: 1.15rem; height: 1.15rem; color: var(--cyan); stroke-width: 2; }

/* ---------- Illustration (cards). 1em = 10 design px ---------- */
.art { position: relative; font-size: min(.625rem, .579vw); width: 68em; height: 43em; flex: none; }
.art * { line-height: 1.25; }
.card {
  position: absolute; border-radius: 2.2em; background: #fbfbfb; color: var(--ink);
  box-shadow: 0 2.4em 5em rgba(0, 0, 20, .45), 0 .4em 1em rgba(0, 0, 20, .25);
}
.card--dark { background: #0a0f2e; color: #fff; box-shadow: 0 2.4em 5em rgba(0, 0, 10, .55); border: 1px solid rgba(255,255,255,.06); }
.card--grey { background: #e8e8e8; }
.card--toast { display: flex; align-items: center; gap: 1.6em; padding: 0 2em; }
.tile-ico { width: 4.8em; height: 4.8em; border-radius: 1em; background: var(--ice); color: var(--ice-ink); display: grid; place-items: center; flex: none; }
.tile-ico .ico { width: 2.4em; height: 2.4em; }
.toast__t { font-weight: 700; font-size: 1.5em; }
.toast__s { font-size: 1.3em; color: #3a3f5c; margin-top: .2em; }
.kicker { font-size: 1.2em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.chip { display: inline-block; padding: .6em 1.1em; border-radius: 999px; background: #f0f0f6; color: #3a3f5c; font-weight: 700; font-size: 1.32em; }
.pill { display: inline-block; padding: .35em 1em; border-radius: 999px; font-size: 1.35em; font-weight: 700; }

/* talent */
.t-profile { left: .2em; top: 4.5em; width: 36.6em; min-height: 27em; transform: rotate(-3deg); padding: 2.8em 2.6em 2.6em; }
.t-profile__head { display: flex; align-items: center; gap: 1.4em; }
.avatar { width: 5.2em; height: 5.2em; border-radius: 50%; background: #e7e8ef; display: grid; place-items: center; color: #3a3f5c; flex: none; }
.avatar .ico { width: 2.4em; height: 2.4em; }
.t-profile__name { font-weight: 700; font-size: 1.8em; }
.t-profile__role { font-size: 1.35em; color: #4b5068; margin-top: .25em; }
.avail { display: flex; align-items: center; justify-content: space-between; margin: 1.6em 0 1.4em; padding: .95em 1.1em; border-radius: .7em; background: var(--ice); color: var(--ice-ink); font-weight: 700; font-size: 1.5em; }
.toggle { width: 3.2em; height: 1.8em; border-radius: 999px; background: var(--blue); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; right: .25em; top: .25em; width: 1.3em; height: 1.3em; border-radius: 50%; background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 1em .9em; max-width: 26em; }
.t-match { left: 34.5em; top: 8.5em; width: 32.5em; height: 17.6em; transform: rotate(5deg); padding: 2.4em 2.2em; }
.t-match .kicker { color: var(--cyan-ink); }
.t-match__t { font-size: 1.85em; font-weight: 700; margin: .7em 0 1.15em; line-height: 1.4; }
.t-match__btns { display: flex; gap: 1.2em; }
.t-match__btns span { flex: 1; height: 4.4em; border-radius: .9em; display: grid; place-items: center; font-weight: 700; font-size: 1.4em; }
.t-match__btns .b1 { background: var(--cyan); color: var(--navy); }
.t-match__btns .b2 { border: 1px solid rgba(255, 255, 255, .35); }
.t-toast { left: 7.8em; top: 32.2em; width: 39.5em; height: 8.4em; transform: rotate(1.5deg); }

/* client */
.c-mile { left: .2em; top: .2em; width: 40em; height: 26em; transform: rotate(-3deg); padding: 3em 2.8em; }
.c-mile__top { display: flex; justify-content: space-between; align-items: center; }
.c-mile .kicker { font-weight: 400; color: #4b5068; font-size: 1.5em; letter-spacing: .02em; }
.pill--ok { background: #cfddd4; color: #1e693a; }
.c-mile__t { font-size: 2.7em; font-weight: 700; margin: .45em 0 .45em; }
.segs { display: flex; gap: .6em; margin-bottom: 1.6em; }
.segs i { height: .75em; flex: 1; border-radius: 999px; background: #d4d5dc; }
.segs i.n { background: var(--navy); }
.segs i.b { background: var(--blue); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1em; }
.checks li { display: flex; align-items: center; gap: 1em; font-size: 1.65em; color: #3a3f5c; }
.checks .ico { width: 1em; height: 1em; color: #2b8a5a; stroke-width: 2.4; }
.checks .ring { width: .95em; height: .95em; border: 2px solid var(--navy); border-radius: 50%; flex: none; }
.checks li.now { color: var(--navy); font-weight: 700; }
.c-apps { left: 34.4em; top: 6.4em; width: 30em; height: 16.4em; transform: rotate(4deg); padding: 2.2em 2.2em; }
.c-apps .kicker { font-weight: 400; font-size: 1.5em; color: rgba(255, 255, 255, .85); }
.apps { display: flex; gap: 1.2em; margin-top: 1.8em; }
.apps span { width: 7.6em; height: 7.6em; border-radius: 1.2em; display: grid; place-items: center; }
.apps .ico { width: 2.8em; height: 2.8em; }
.apps .a1 { background: #03a5c5; color: var(--ink); }
.apps .a2 { background: #2931a9; color: #fff; }
.apps .a3 { background: #e8e8e8; color: var(--ink); }
.c-toast { left: 3.6em; top: 29.2em; width: 36em; height: 8.6em; transform: rotate(1.5deg); }
.c-toast .toast__t { font-size: 1.75em; }
.c-toast .toast__s { font-size: 1.5em; }
.c-toast .tile-ico { width: 5.6em; height: 5em; }

/* founder */
.f-pitch { left: .5em; top: 3em; width: 41.5em; height: 28.4em; transform: rotate(-3deg); padding: 3em 2.6em; }
.f-pitch__top { display: flex; justify-content: space-between; align-items: center; }
.f-pitch .kicker { color: #3a3f5c; }
.pill--dd { background: var(--ice); color: var(--ice-ink); font-size: 1.25em; }
.steps { list-style: none; margin: 2.4em 0 0; padding: 0; display: grid; gap: 2.65em; }
.steps li { display: flex; align-items: center; gap: 1.6em; font-size: 1.45em; color: #2b3048; }
.steps i { width: 1.15em; height: 1.15em; border-radius: 50%; background: var(--navy); flex: none; }
.steps li.now { font-weight: 700; color: var(--ink); }
.steps li.now i { background: var(--cyan); box-shadow: 0 0 0 .35em #bfecf5; }
.steps li.next { color: #5a607a; }
.steps li.next i { background: transparent; border: 1.5px solid #c7c9d3; }
.f-room { left: 36em; top: 8.2em; width: 34.5em; height: 18em; transform: rotate(5deg); padding: 2.4em 2.6em; }
.f-room__top { display: flex; justify-content: space-between; align-items: center; color: var(--cyan-ink); }
.f-room__top .ico { width: 2em; height: 2em; color: var(--cyan); }
.files { list-style: none; margin: 1.2em 0 0; padding: 0; display: grid; gap: 1.4em; }
.files li { display: flex; align-items: center; gap: 1.3em; font-size: 1.5em; }
.files .ico { width: 1.3em; height: 1.3em; color: #fff; }
.f-toast { left: 9em; top: 33em; width: 40em; height: 9.6em; transform: rotate(1.5deg); }

/* ---------- Form side ---------- */
.side { display: flex; align-items: center; justify-content: center; padding: 2.5rem 3.6rem 2.5rem 2rem; background: var(--paper); }
.form-wrap { width: 100%; max-width: 31.625rem; }
.tabs { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; border-bottom: 1px solid var(--line); margin: 0 0 3.2rem; }
.tabs a {
  display: block; padding: 0 .25rem .45rem; min-width: 6.7rem; text-decoration: none; font-size: 1.125rem; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s;
}
.tabs a:first-child { text-align: left; }
.tabs a:nth-child(2), .tabs a:nth-child(3) { text-align: center; }
.tabs a:last-child { text-align: right; min-width: 4.4rem; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--navy); }
.form-wrap h2 { margin: 0; font-weight: 400; font-size: 2.5rem; line-height: 1.2; color: var(--ink); letter-spacing: -.005em; }
.form-wrap .sub { margin: .9rem 0 0; font-size: 1.25rem; color: var(--muted); }

.btn {
  display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; height: 4rem;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  font-size: 1.25rem; font-weight: 400; transition: background .15s, box-shadow .15s, opacity .15s;
}
.btn--google { margin-top: 2.9rem; background: transparent; border-color: #ccd2dc; color: #2d3a4f; font-weight: 700; font-size: 1.25rem; }
.btn--google img { width: 1.25rem; height: 1.25rem; }
.btn--google:hover { background: #fff; box-shadow: 0 2px 10px rgba(10, 15, 46, .06); }
.btn--sso { margin-top: 2.9rem; background: #dde5e6; color: #1e1e1e; font-weight: 700; font-size: 1.0625rem; }
.btn--sso:hover { background: #d2dbdd; }
.btn--sso .ico { width: 1.4rem; height: 1.4rem; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: #0a0c78; }
.btn--primary .ico { width: 1.35rem; height: 1.35rem; stroke-width: 2; }
.btn--night { background: var(--night); }
.btn--night:hover { background: #18233a; }

.or { display: flex; align-items: center; gap: .6rem; margin: 2.1rem 0 1.9rem; color: var(--muted); font-size: 1rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: #e4e8ee; }

.field { margin-top: 2.1rem; }
.field:first-of-type { margin-top: 0; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .35rem; }
.field label, .field .label { display: block; font-size: 1.125rem; color: var(--ink); }
.field__row label { margin: 0; }
.field > label { margin-bottom: .35rem; }
.link-muted { font-size: 1.125rem; color: var(--muted); text-decoration: none; }
.link-muted:hover { color: var(--blue); text-decoration: underline; }
.input-wrap { position: relative; }
.input {
  width: 100%; height: 4rem; padding: 0 1rem; border: 1px solid var(--field); border-radius: .75rem; background: #fff;
  font-size: 1rem; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--soft); }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 119, 182, .14); }
.input-wrap .input { padding-right: 3.5rem; }
.eye { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 0; background: none; color: #1b2033; cursor: pointer; border-radius: .5rem; }
.eye .ico { width: 1.3rem; height: 1.3rem; }
.eye .i-off { display: none; }
.eye.is-on .i-on { display: none; }
.eye.is-on .i-off { display: block; }
.err { display: none; margin: .45rem 0 0; font-size: .9375rem; color: var(--bad); }
.field.has-err .input, .field.has-err .otp input { border-color: var(--bad); }
.field.has-err .err { display: block; }

.check { display: inline-flex; align-items: center; gap: .65rem; margin-top: 1.9rem; font-size: 1.125rem; cursor: pointer; user-select: none; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { width: 1.5rem; height: 1.5rem; border-radius: .3rem; border: 1.5px solid var(--field); background: #fff; display: grid; place-items: center; color: #fff; flex: none; }
.check__box .ico { width: 1rem; height: 1rem; stroke-width: 2.6; opacity: 0; }
.check input:checked + .check__box { background: var(--navy); border-color: var(--navy); }
.check input:checked + .check__box .ico { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.night-form .check input:checked + .check__box { background: var(--night); border-color: var(--night); }

.form-wrap .btn--primary { margin-top: 1.9rem; }
.form-foot { margin: 1.6rem 0 0; padding-top: 1.6rem; border-top: 1px solid #e4e8ee; font-size: 1.125rem; line-height: 1.5; color: var(--muted); }
.form-foot a { color: var(--blue); text-decoration: none; }
.form-foot a:hover { text-decoration: underline; }
.dest-note { margin: .7rem 0 -.6rem; font-size: .9375rem; color: var(--muted); text-align: center; }
.dest-note b { color: var(--ink); font-weight: 700; }

/* OTP boxes (staff + check-email) */
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: .65rem; }
.otp input {
  width: 100%; height: 4.6rem; border: 1px solid var(--field); border-radius: .75rem; background: #fff; text-align: center;
  font-size: 1.5rem; font-weight: 700; color: var(--navy); padding: 0;
}
.otp input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 119, 182, .14); }

/* ---------- Staff / back office panel ---------- */
.panel--night {
  background-color: var(--night);
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 3rem 3rem; background-position: -1px -1px;
  padding-top: 6.3rem; padding-left: 7.9rem; padding-right: 3.6rem; padding-bottom: 8.6rem;
}
.panel--night::before { display: none; }
.panel--night::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: .625rem; background: var(--cyan-ink); }
.badge--restricted { border: 0; background: #0a2536; color: var(--cyan); font-weight: 700; font-size: .8125rem; letter-spacing: .06em; height: 2.4rem; padding: 0 1.1rem; border-radius: .6rem; }
.badge--restricted::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--cyan); }
.eyebrow { margin: 6.2rem 0 0; color: var(--cyan-ink); font-size: 1.125rem; letter-spacing: .01em; text-transform: uppercase; }
.panel--night h1 { margin-top: 2.3rem; font-weight: 900; font-size: 4.75rem; }
.panel--night .panel__lede { margin-top: 2.1rem; color: #b4bdd0; max-width: 42rem; }
.bo { display: grid; grid-template-columns: 28.1rem 16.25rem; gap: 1.5rem; margin-top: 2.8rem; align-items: start; }
.bo__card { background: var(--night-card); border: 1px solid rgba(255, 255, 255, .07); border-radius: 1.1rem; padding: 1.5rem 1.5rem 1.4rem; height: 17.2rem; }
.bo__k { margin: 0 0 1rem; font-size: .8125rem; font-weight: 700; color: #b4bdd0; letter-spacing: .02em; text-transform: uppercase; }
.bo__list { list-style: none; margin: 0; padding: 0; }
.bo__list li { display: flex; align-items: center; gap: .9rem; height: 3.33rem; font-size: .9375rem; color: #e8ecf3; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.bo__list li:last-child { border-bottom: 0; }
.bo__list .ico { width: 1.3rem; height: 1.3rem; color: var(--cyan); }
.cur { margin-left: auto; display: flex; gap: .45rem; }
.cur span { padding: .3rem .55rem; border-radius: .4rem; background: var(--night-chip); color: var(--cyan); font-size: .6875rem; font-weight: 700; }
.bo__access { display: grid; gap: .65rem; }
.dest {
  display: flex; align-items: center; height: 2.6rem; padding: 0 .9rem; border: 1px solid transparent; border-radius: .6rem;
  background: var(--night-chip); color: var(--cyan); font-weight: 700; font-size: .875rem; text-align: left; cursor: pointer; width: 100%;
}
.dest:hover { border-color: rgba(0, 180, 216, .35); }
.dest[aria-pressed="true"] { border-color: var(--cyan); }
.bo__card--staff { cursor: pointer; transition: border-color .15s; }
.bo__card--staff[aria-pressed="true"] { border-color: rgba(0, 180, 216, .5); }
.bo-foot { margin-top: auto; font-size: .8125rem; color: #8892a5; padding-top: 2rem; }

/* ---------- Centered flow pages (reset / check / new / success) ---------- */
.flow {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 0 1.25rem;
  background:
    radial-gradient(48% 52% at 50% 42%, #fff 0%, rgba(255, 255, 255, .88) 50%, rgba(255, 255, 255, 0) 100%),
    url("img/auth-waves.svg") center / 100% 100% no-repeat,
    var(--paper);
}
.flow__main { width: 100%; max-width: 36.25rem; flex: 1; display: flex; flex-direction: column; align-items: center; padding-top: 6.2rem; }
.flow__main--center { justify-content: center; padding-top: 0; padding-bottom: 6rem; }
.flow__logo img { height: 2.75rem; width: auto; }
.steps-bar { display: flex; gap: .5rem; margin-top: 4.4rem; }
.steps-bar i { width: 2.1rem; height: .3rem; border-radius: 999px; background: #e3e7ee; }
.steps-bar i.on { background: var(--blue); }
.flow h1 { margin: 1.3rem 0 0; font-size: 2.125rem; font-weight: 700; line-height: 1.2; color: var(--navy); text-align: center; letter-spacing: -.005em; }
.flow .lead { margin: .9rem auto 0; max-width: 24rem; text-align: center; font-size: 1.0625rem; line-height: 1.35; color: #4b5068; }
.flow .lead--wide { max-width: 34rem; }
.flow .lead b { color: var(--ink); font-weight: 700; }
.flow .lead a { color: var(--blue); font-weight: 700; text-decoration: none; }
.flow form { width: 100%; margin-top: 3.4rem; }
.flow .field > label { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.req { color: var(--bad); }
.flow .input { height: 3.9rem; border-color: #e3e7ee; }
.btn--sq { border-radius: .75rem; height: 3.9rem; font-size: 1.0625rem; font-weight: 700; }
.flow .btn--sq { margin-top: 1.1rem; }
.btn--ghost { background: #fff; border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: #f2f3fb; }
.btn--ghost .ico { width: 1.1rem; height: 1.1rem; }
.btn[disabled] { background: #9ea3c4; cursor: not-allowed; }
.flow .otp { gap: .95rem; }
.flow .otp input { height: 4.6rem; border-color: #e3e7ee; font-size: 1.5rem; }
.flow .otp input.filled { background: #f0fbfd; border-color: #a8e3ef; }
.resend { margin: 1.4rem 0 0; text-align: center; font-size: .9375rem; color: var(--soft); }
.resend button { border: 0; background: none; padding: 0; color: #5aa7cf; cursor: pointer; }
.resend button:disabled { cursor: default; }
.resend button:not(:disabled) { color: var(--blue); font-weight: 700; }
.rules { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; font-size: .875rem; color: var(--soft); }
.rules li { display: flex; align-items: center; gap: .55rem; }
.rules .dot { width: 1.05rem; height: 1.05rem; border-radius: 50%; background: #d5dae3; color: #fff; display: grid; place-items: center; flex: none; }
.rules .dot .ico { width: .7rem; height: .7rem; stroke-width: 3; }
.rules .i-x { display: none; }
.rules li.ok { color: var(--ok); } .rules li.ok .dot { background: var(--ok); }
.rules li.bad { color: var(--bad); } .rules li.bad .dot { background: var(--bad); }
.rules li.bad .i-x { display: block; } .rules li.bad .i-ok { display: none; }
.flow .field + .field { margin-top: 1.6rem; }
.flow__foot { width: 100%; max-width: 36.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 2rem 0 3.4rem; font-size: .875rem; color: var(--soft); flex-wrap: wrap; }
.flow__foot nav { display: flex; gap: 3.2rem; }
.flow__foot a { color: var(--ink); text-decoration: none; }
.flow__foot a:hover { text-decoration: underline; }

/* success badge */
.done { position: relative; width: 13rem; height: 13rem; display: grid; place-items: center; }
.done__glow { position: absolute; inset: 1rem; border-radius: 50%; background: radial-gradient(circle, rgba(0, 180, 216, .18), transparent 70%); }
.done__ring { position: relative; width: 7.8rem; height: 7.8rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, #19c3e3 0%, #0a8fc9 45%, #052f8a 100%); box-shadow: 0 1.2rem 2.4rem rgba(0, 119, 182, .25); }
.done__inner { width: 4.6rem; height: 4.6rem; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--navy); }
.done__inner .ico { width: 2rem; height: 2rem; stroke-width: 2.4; }
.cf { position: absolute; display: block; }
.cf1 { left: 1.6rem; top: 2.6rem; width: 1.1rem; height: .5rem; background: #0a5fae; border-radius: 2px; transform: rotate(30deg); }
.cf2 { left: 5rem; top: .9rem; width: .9rem; height: .9rem; border: 2.5px solid #f5b13d; border-right-color: transparent; border-radius: 50%; }
.cf3 { right: 3.3rem; top: .7rem; width: .65rem; height: .65rem; background: #f5b13d; transform: rotate(45deg); }
.cf4 { right: 1.8rem; top: 3.4rem; width: 1.2rem; height: 1.2rem; color: var(--cyan); }
.cf5 { left: 1.2rem; top: 6.6rem; width: 1rem; height: .3rem; background: var(--navy); border-radius: 2px; transform: rotate(-20deg); }
.cf6 { right: 2rem; top: 7.6rem; width: .55rem; height: .55rem; background: #f6c9d2; border-radius: 50%; }
.cf7 { left: 3.4rem; bottom: 1.6rem; width: .9rem; height: .3rem; background: var(--cyan); border-radius: 2px; transform: rotate(25deg); }
.cf8 { right: 4.8rem; bottom: 1.1rem; width: .8rem; height: .45rem; background: var(--blue); border-radius: 0 0 1rem 1rem; }
.flow .btn--wide { max-width: 36.25rem; }

/* ---------- Portal chooser ---------- */
.panel--light { background: var(--paper); color: var(--ink); border-right: 1px solid #e4e8ee; }
.panel--light::before { display: none; }
.panel--light .logo { height: 2.4rem; }
.chooser-k { display: flex; align-items: center; gap: 1rem; margin: 3.4rem 0 0; font-size: 1rem; color: var(--muted); }
.chooser-k span { color: var(--ink); }
.chooser-k::after { content: ""; flex: 1; height: 1px; background: #dfe3ea; }
.panel--light h1 { font-weight: 400; color: var(--ink); font-size: 4.3rem; line-height: 1.1; letter-spacing: -.015em; margin-top: 3.6rem; }
.panel--light h1 em { color: var(--blue); }
.panel--light .panel__lede { color: var(--muted); max-width: 34rem; }
.ticks { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 1.15rem; font-size: 1rem; color: var(--ink); }
.ticks li { display: flex; align-items: center; gap: .8rem; }
.ticks .ico { width: 1.1rem; height: 1.1rem; color: var(--blue); stroke-width: 2.4; }
.panel--light .trust { margin-top: auto; color: var(--muted); font-size: .9375rem; }
.panel--light .trust .ico { color: var(--muted); }
.side--light { background: #fff; }
.portals { display: grid; gap: 1rem; margin-top: 2.6rem; }
.portal {
  display: grid; grid-template-columns: 3.4rem 1fr auto; align-items: center; gap: 1.1rem; padding: 1.25rem 1.4rem;
  border: 1px solid #dfe3ea; border-radius: 1rem; background: #fff; text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.portal:hover { border-color: var(--blue); box-shadow: 0 .6rem 1.6rem rgba(3, 4, 94, .08); transform: translateY(-1px); }
.portal__ico { width: 3.4rem; height: 3.4rem; border-radius: .8rem; display: grid; place-items: center; background: var(--ice); color: var(--ice-ink); }
.portal__ico .ico { width: 1.5rem; height: 1.5rem; }
.portal__ico--night { background: var(--night); color: var(--cyan); }
.portal__t { font-size: 1.1875rem; font-weight: 700; }
.portal__s { font-size: .9375rem; color: var(--muted); margin-top: .15rem; line-height: 1.4; }
.portal > .ico { color: var(--navy); width: 1.25rem; height: 1.25rem; }
.chooser-foot { margin-top: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .panel { padding-left: 4.5rem; padding-right: 3rem; }
  .panel--night { padding-left: 4.5rem; }
  .bo { grid-template-columns: 1.7fr 1fr; }
}
@media (max-width: 960px) {
  html { font-size: 15px; }
  .auth { grid-template-columns: 1fr; }
  .panel { min-height: 0; padding: 2rem 2.5rem 2.5rem; }
  .panel h1 { font-size: 3.4rem; margin-top: 2.6rem; max-width: 11em; }
  .panel__lede { font-size: 1.15rem; margin-top: 1.2rem; }
  .panel__art { justify-content: center; padding: 2rem 0 1.5rem; }
  .art { font-size: min(.48rem, calc((100vw - 5rem) / 72)); }
  .side { padding: 3rem 2.5rem 4rem; }
  .panel--night { padding: 3rem 2.5rem 2.5rem; }
  .panel--night h1 { font-size: 3.2rem; margin-top: 1.4rem; }
  .eyebrow { margin-top: 2.6rem; }
  .bo { grid-template-columns: 1.7fr 1fr; }
  .bo__card { height: auto; }
  .bo-foot { padding-top: 1.6rem; }
  .panel--light h1 { font-size: 3rem; margin-top: 2rem; }
  .chooser-k { margin-top: 2rem; }
  .ticks { margin-top: 1.8rem; }
  .panel--light .trust { margin-top: 2rem; }
}
@media (max-width: 600px) {
  .panel { padding: 1.5rem 1.25rem 1.75rem; }
  .logo { height: 2.3rem; }
  .badge { height: 2.1rem; padding: 0 .9rem; font-size: .75rem; }
  .panel h1 { font-size: 2.5rem; margin-top: 1.8rem; }
  .panel__lede { font-size: 1.02rem; }
  .panel__art { display: none; }
  .trust { margin-top: 1.4rem; gap: .5rem 1.2rem; font-size: .875rem; }
  .side { padding: 2rem 1.25rem 3rem; align-items: flex-start; }
  .tabs { margin-bottom: 2.2rem; }
  .tabs a { min-width: 0; font-size: 1rem; padding-left: .1rem; padding-right: .1rem; }
  .tabs a:last-child { min-width: 0; }
  .form-wrap h2 { font-size: 2rem; }
  .form-wrap .sub { font-size: 1.05rem; }
  .btn--google, .btn--sso { margin-top: 2rem; }
  .or { margin: 1.6rem 0 1.8rem; }
  .field { margin-top: 1.6rem; }
  .btn { height: 3.5rem; font-size: 1.1rem; }
  .input { height: 3.5rem; }
  .form-foot { font-size: 1rem; }
  .otp { gap: .4rem; }
  .otp input { height: 3.6rem; }
  .panel--night { padding: 2.2rem 1.25rem 1.75rem; }
  .panel--night h1 { font-size: 2.5rem; }
  .eyebrow { margin-top: 1.8rem; font-size: .9rem; }
  .bo { grid-template-columns: 1fr; gap: 1rem; }
  .cur span { padding: .25rem .4rem; }
  .flow__main { padding-top: 3.5rem; }
  .steps-bar { margin-top: 2.6rem; }
  .flow h1 { font-size: 1.75rem; }
  .flow form { margin-top: 2.2rem; }
  .flow .otp { gap: .45rem; }
  .flow .otp input { height: 3.6rem; }
  .rules { grid-template-columns: 1fr; }
  .flow__foot { flex-direction: column; justify-content: center; text-align: center; }
  .flow__foot nav { gap: 1.6rem; }
  .panel--light h1 { font-size: 2.4rem; }
  .portal { grid-template-columns: 2.8rem 1fr auto; padding: 1rem; gap: .85rem; }
  .portal__ico { width: 2.8rem; height: 2.8rem; }
}
