:root {
  color-scheme: dark;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #edf3ff;
  background: #071329;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(ellipse at 90% 0, #143677, transparent 55%);
  min-height: 100vh;
}
header,
main,
footer {
  max-width: 1050px;
  margin: auto;
  padding: 24px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #274366;
}
a {
  color: #a8c9ff;
  text-underline-offset: 4px;
}
.brand {
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.13em;
  font-size: 16px;
}
.brand span {
  display: block;
  font-size: 11px;
  color: #ffdd67;
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
main {
  padding-top: 64px;
  min-height: 70vh;
}
h1 {
  font-size: clamp(36px, 7vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 12px 0 28px;
}
h2 {
  line-height: 1.2;
}
p {
  max-width: 650px;
  font-size: 18px;
  color: #c3d0e6;
}
em {
  font-style: normal;
  color: #ffdd67;
}
.eyebrow {
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 750;
  color: #ffdd67;
}
.panel {
  padding: 28px;
  border: 1px solid #31527d;
  border-radius: 14px;
  background: #102447;
  margin: 36px 0;
}
.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid #518cff;
  border-radius: 8px;
  background: #205acb;
  color: white;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
}
.quiet {
  background: transparent;
  border-color: #476382;
}
button:hover,
.button:hover {
  background: #326bd9;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #ffdd67;
  outline-offset: 4px;
}
.monogram {
  width: 112px;
  height: 112px;
  object-fit: contain;
}
ul {
  list-style: none;
  padding: 0;
}
.person {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #274366;
  padding: 20px 0;
}
.person span,
.person small {
  display: block;
  overflow-wrap: anywhere;
}
.person small {
  color: #ffdd67;
}
.person form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
input {
  font: inherit;
  padding: 12px;
  border: 1px solid #476382;
  border-radius: 8px;
  background: #102447;
  color: white;
  width: min(100%, 450px);
  min-height: 48px;
}
label {
  display: block;
  margin-bottom: 8px;
}
footer {
  color: #91a5c5;
  font-size: 13px;
}
footer span {
  color: #ffdd67;
  margin: 0 8px;
}
.subtle {
  font-size: 14px;
  color: #91a5c5;
}
@media (max-width: 600px) {
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  main {
    padding-top: 36px;
  }
  .person {
    align-items: flex-start;
    flex-direction: column;
  }
  .panel {
    padding: 20px;
  }
  nav {
    gap: 14px;
  }
}
.auth-form {
  display: grid;
  gap: 14px;
  max-width: 460px;
  margin: 24px 0;
}
.auth-form input {
  width: 100%;
}
.auth-form label {
  margin: 0;
}
.auth-form details {
  border: 1px solid #476382;
  padding: 16px;
  border-radius: 8px;
}
.auth-form summary {
  cursor: pointer;
  min-height: 32px;
}
.auth-form details label {
  margin: 14px 0 6px;
}

.password-signin {
  max-width: 460px;
  margin: 20px 0;
}
.password-signin > summary {
  cursor: pointer;
  padding: 12px 0;
}
.password-signin .auth-form {
  margin-top: 12px;
}

.sync-issues { overflow-wrap: anywhere; }
