@font-face {
  font-family: "Inter Rondo";
  src: url("/access/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light dark;
  font-family: "Inter Rondo", Inter, ui-sans-serif, system-ui, sans-serif;
  color: #111827;
  background: #f9fafb;
}

body {
  margin: 0;
}

.access-shell {
  width: min(36rem, calc(100% - 3rem));
  margin: 12vh auto 0;
  border-top: 5px solid #e0c04b;
  padding-top: 2rem;
}

.access-brand {
  margin: 0 0 3rem;
  color: #0a1328;
  font-size: 1.5rem;
  font-weight: 800;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1;
}

.access-shell[data-rondo-access] h1 {
  font-size: clamp(1.25rem, 7vw, 3rem);
  white-space: nowrap;
}

p {
  color: #475569;
  line-height: 1.7;
}

a {
  color: #0a1328;
  font-weight: 700;
}

#access-recovery {
  margin-top: 1.5rem;
}

#access-recovery form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .75rem;
}

#access-recovery label {
  font-weight: 700;
}

#recovery-email {
  font-size: 2rem;
  min-width: 0;
  width: 100%;
}

#access-recovery button {
  border: 1px solid #9aa5b5;
  border-radius: 0;
  font: inherit;
  min-height: 3rem;
  min-width: 0;
  padding: .7rem .8rem;
  width: 100%;
}

#access-recovery button {
  background: #0a1328;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

[data-recovery-message] {
  min-height: 1.7rem;
}

:root[data-rondo-theme="dark"] {
  color-scheme: dark;
  color: #f8fafc;
  background: #090e19;
}

:root[data-rondo-theme="dark"] .access-brand,
:root[data-rondo-theme="dark"] .access-shell a {
  color: #e0c04b;
}

:root[data-rondo-theme="dark"] p {
  color: #a6b3c6;
}

:root[data-rondo-theme="dark"] #access-recovery button {
  border-color: #e0c04b;
  background: #0a1328;
}
