@font-face {
  font-family: Inter;
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0b1424;
  --surface: #111e30;
  --raised: #17263b;
  --accent: #70e0cb;
  --text: #f8fafc;
  --muted: #a8b8cc;
  --border: #293a50;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
p {
  line-height: 1.8;
}
svg {
  height: 20px;
  width: 20px;
  flex-shrink: 0;
}
.auth-page {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  min-height: 100dvh;
}
.auth-main {
  padding: 31px 48px 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.auth-top img {
  display: block;
}
.back-home {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.back-home:hover {
  color: var(--accent);
}
.auth-card {
  max-width: 410px;
  width: 100%;
  margin: auto;
  padding: 48px 0;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.3px;
  font-weight: 600;
  color: var(--accent);
}
.auth-heading h1 {
  font-size: 33px;
  font-weight: 550;
  letter-spacing: -1.2px;
  line-height: 1.3;
  margin: 14px 0 12px;
}
.auth-heading > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.auth-main form {
  display: grid;
  gap: 20px;
}
.auth-main label {
  display: block;
  font-size: 12px;
  color: #d9e4f1;
  font-weight: 450;
  margin-bottom: 9px;
}
.auth-main input:not([type="radio"]) {
  width: 100%;
  min-height: 46px;
  border: 1px solid #35465b;
  background: #101d2e;
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
  display: block;
}
.auth-main input::placeholder {
  color: #8497ae;
}
.auth-main input:hover {
  border-color: #51667d;
}
.auth-main input:focus {
  border-color: var(--accent);
  outline-offset: 2px;
}
.auth-main input[aria-invalid="true"] {
  border-color: #f0a5a5;
}
.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 9px;
}
.label-row label {
  margin: 0;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--accent);
  font-size: 10px;
  font-weight: 450;
  line-height: 1.6;
}
.text-button:hover {
  text-decoration: underline;
}
.field-hint {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.7;
}
.field-error {
  font-size: 11px;
  color: #f0aaaa;
  margin-top: 7px;
  line-height: 1.6;
}
.strength-track {
  height: 3px;
  border-radius: 5px;
  background: #293a50;
  margin-top: 11px;
  overflow: hidden;
}
.strength-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 0.2s;
}
.strength-track [data-level="0"] {
  width: 15%;
  background: #d9a0a0;
}
.strength-track [data-level="1"] {
  width: 45%;
}
.strength-track [data-level="2"] {
  width: 75%;
}
.strength-track [data-level="3"] {
  width: 100%;
}
.login-details {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.login-details > p {
  font-size: 10px;
  color: #93a7bf;
  max-width: 240px;
  line-height: 1.7;
}
.login-details > a {
  font-size: 11px;
  color: var(--accent);
  white-space: nowrap;
  line-height: 1.7;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 47px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--accent);
  color: #0a2428;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.6;
}
.button:hover {
  background: #45c9b3;
}
.button svg {
  width: 17px;
  height: 17px;
}
.full {
  width: 100%;
  justify-content: space-between;
}
.button[aria-busy="true"] svg {
  animation: load 0.8s linear infinite;
}
@keyframes load {
  to {
    transform: rotate(360deg);
  }
}
.form-message {
  font-size: 12px;
  color: #f0aaaa;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.form-message:empty {
  display: none;
}
.form-message.success {
  color: var(--accent);
}
.legal-copy {
  font-size: 10px;
  color: #93a7bf;
  line-height: 1.8;
}
.legal-copy a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-copy a:hover {
  color: var(--accent);
}
.auth-switch {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 24px 0;
}
.auth-switch a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--accent);
  margin-left: 3px;
}
.security-note {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 21px;
  color: #94a9be;
  font-size: 10px;
  line-height: 1.6;
}
.security-note svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}
.auth-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8b9eb5;
  font-size: 9px;
  line-height: 1.6;
  margin-top: auto;
}
.auth-footer {flex-wrap:wrap}
.auth-footer nav {display:flex;gap:14px;flex-wrap:wrap}
.auth-footer nav a {text-decoration:underline;text-underline-offset:3px}
.auth-footer a:hover {
  color: var(--accent);
}
.auth-story {
  padding: 36px 49px 28px;
  background: #111e30;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.story-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8px;
  color: #a8b8cc;
  letter-spacing: 1.3px;
  height: 30px;
}
.story-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.story-content {
  margin: auto 0;
  padding: 60px 0;
  max-width: 485px;
}
.story-content h2 {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -1.7px;
  margin: 18px 0 23px;
}
.story-content h2 em {
  font-style: normal;
  color: var(--accent);
}
.story-content > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.brand-interface {
  border: 1px solid #34495f;
  border-radius: 11px;
  background: #142236;
  overflow: hidden;
  margin-top: 39px;
  box-shadow: 0 20px 50px #050c181f;
}
.interface-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--border);
}
.interface-header > span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.interface-header svg {
  color: var(--accent);
  height: 17px;
  width: 17px;
}
.demo-label {
  font-size: 7px;
  letter-spacing: 0.7px;
  color: var(--accent);
  padding: 5px 7px;
  background: #70e0cb09;
  border: 1px solid #70e0cb30;
  border-radius: 4px;
  white-space: nowrap;
}
.principle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.principle-row:last-of-type {
  border-bottom: 0;
}
.principle-icon {
  border: 1px solid #70e0cb30;
  background: #70e0cb08;
  color: var(--accent);
  border-radius: 8px;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.principle-icon svg {
  width: 17px;
  height: 17px;
}
.principle-row > div {
  flex: 1;
}
.principle-row strong {
  display: block;
  font-size: 12px;
  font-weight: 450;
}
.principle-row p {
  font-size: 10px;
  color: #9eb0c4;
  margin-top: 4px;
}
.check-icon {
  color: var(--accent);
  width: 15px;
  height: 15px;
}
.interface-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 12px;
  font-size: 9px;
  color: #9caec1;
  border-top: 1px solid var(--border);
  line-height: 1.6;
}
.interface-footer svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
}
.auth-story > footer {
  font-size: 9px;
  color: #94a6bb;
}
.account-type-selector {
  padding: 0;
  border: 0;
  margin: 0;
  min-width: 0;
}
.account-type-selector legend {
  font-size: 12px;
  color: #d9e4f1;
  margin: 0 0 10px;
  padding: 0;
}
.account-type-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.auth-main .account-type-option {
  position: relative;
  cursor: pointer;
  margin: 0;
}
.account-type-option > input {
  position: absolute;
  top: 13px;
  right: 12px;
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--accent);
  z-index: 1;
}
.account-type-content {
  display: grid;
  grid-template-columns: 21px 1fr;
  gap: 6px 9px;
  align-items: center;
  height: 100%;
  padding: 15px 26px 15px 12px;
  border: 1px solid #35465b;
  border-radius: 7px;
  background: #101d2e;
  color: #9baec3;
}
.account-type-content svg {
  width: 18px;
  height: 18px;
  grid-row: 1/3;
}
.account-type-content strong {
  font-size: 11px;
  font-weight: 500;
  color: #dce7f3;
  overflow-wrap: anywhere;
}
.account-type-content small {
  font-size: 8px;
  line-height: 1.5;
  font-weight: 400;
  grid-column: 2;
}
.account-type-option > input:checked + .account-type-content {
  border-color: #70e0cb80;
  background: #70e0cb08;
  color: var(--accent);
}
.account-type-option > input:focus-visible + .account-type-content {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.organisation-name-field {
  margin-top: 18px;
}
.session-notice {
  border: 1px solid #70e0cb40;
  background: #70e0cb07;
  padding: 13px;
  border-radius: 7px;
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 23px;
  line-height: 1.7;
}
.recovery-result {
  padding: 25px 0;
}
.result-icon {
  height: 47px;
  width: 47px;
  display: grid;
  place-items: center;
  border: 1px solid #70e0cb40;
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: 23px;
}
.recovery-result h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.6px;
}
.recovery-result > p {
  font-size: 13px;
  color: var(--muted);
  margin: 17px 0 25px;
  line-height: 1.9;
}
.retry-button {
  justify-self: start;
}
.legal-page main {
  max-width: 780px;
  margin: auto;
  padding: 45px 30px 65px;
}
.legal-page .eyebrow {
  margin: 45px 0 15px;
}
.legal-page h1 {
  font-size: 35px;
  line-height: 1.3;
  letter-spacing: -1px;
  margin-bottom: 35px;
}
.legal-page section {
  padding: 30px 0;
  border-top: 1px solid var(--border);
}
.legal-page h2 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
}
.legal-page p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 15px;
}
.legal-page .button {
  margin-top: 25px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  .auth-main {
    padding-inline: 65px;
  }
  .auth-story {
    padding-inline: 70px;
  }
  .auth-card {
    max-width: 440px;
  }
  .story-content {
    max-width: 540px;
  }
  .story-content h2 {
    font-size: 49px;
  }
}
@media (max-width: 1100px) {
  .auth-main {
    padding: 28px 32px 22px;
  }
  .auth-story {
    padding: 30px 32px;
  }
  .story-content h2 {
    font-size: 34px;
  }
  .story-content > p {
    font-size: 13px;
  }
  .interface-header {
    padding-inline: 14px;
  }
  .interface-header > span:first-child {
    font-size: 11px;
  }
  .demo-label {
    font-size: 6px;
  }
  .principle-row {
    margin-inline: 14px;
    gap: 10px;
  }
  .principle-row strong {
    font-size: 10px;
  }
  .principle-row p {
    font-size: 9px;
  }
  .interface-footer {
    font-size: 8px;
  }
  .back-home {
    font-size: 10px;
  }
  .auth-heading h1 {
    font-size: 30px;
  }
  .account-type-content {
    grid-template-columns: 1fr;
    padding: 14px 12px;
  }
  .account-type-content svg {
    grid-row: auto;
  }
  .account-type-content small {
    grid-column: auto;
  }
}
@media (max-width: 800px) {
  .auth-page {
    display: block;
  }
  .auth-story {
    display: none;
  }
  .auth-main {
    min-height: 100dvh;
    padding: 24px 28px;
  }
  .auth-card {
    max-width: 430px;
    padding: 40px 0;
  }
  .auth-top {
    max-width: 600px;
    width: 100%;
    margin-inline: auto;
  }
  .auth-footer {
    max-width: 600px;
    width: 100%;
    margin-inline: auto;
  }
  .auth-heading h1 {
    font-size: 32px;
  }
  .account-type-content {
    grid-template-columns: 21px 1fr;
    padding: 15px 26px 15px 12px;
  }
  .account-type-content svg {
    grid-row: 1/3;
  }
  .account-type-content small {
    grid-column: 2;
  }
  .auth-main input:not([type="radio"]) {
    font-size: 16px;
  }
  .auth-main form {
    gap: 19px;
  }
  .security-note {
    font-size: 10px;
  }
  .login-details > p {
    max-width: 210px;
  }
  .auth-card .eyebrow {
    font-size: 9px;
  }
}
@media (max-width: 430px) {
  .auth-main {
    padding: 22px 20px;
  }
  .auth-card {
    padding: 37px 0;
  }
  .auth-heading h1 {
    font-size: 30px;
  }
  .auth-heading > p {
    font-size: 12px;
  }
  .account-type-options {
    gap: 10px;
  }
  .account-type-content {
    grid-template-columns: 1fr;
    padding: 13px 12px;
    gap: 5px;
  }
  .account-type-content svg {
    grid-row: auto;
    margin-bottom: 3px;
  }
  .account-type-content small {
    grid-column: auto;
    font-size: 9px;
  }
  .account-type-content strong {
    font-size: 12px;
  }
  .auth-footer {
    font-size: 8px;
  }
  .security-note {
    font-size: 9px;
    gap: 6px;
  }
  .login-details {
    gap: 15px;
  }
  .login-details > p {
    font-size: 9px;
    max-width: 175px;
  }
  .login-details > a {
    font-size: 10px;
  }
  .back-home {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
