:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  background: #090c11;
  color: #f3f5f8;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse at top, #78391a33, transparent 55%);
}
main {
  width: min(100%, 460px);
  padding: 32px;
  border: 1px solid #ffffff22;
  border-radius: 20px;
  background: #12161d;
}
.brand {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #ffac73;
  font-weight: 800;
}
h1 {
  font-size: 36px;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 26px 0 18px;
}
p {
  color: #adb6c4;
  font-size: 14px;
  line-height: 1.6;
}
label {
  display: block;
  font-size: 13px;
  margin: 24px 0 10px;
}
input,
button {
  width: 100%;
  border-radius: 9px;
  min-height: 48px;
  font: inherit;
}
input {
  border: 1px solid #566073;
  background: #090c12;
  color: #ffe1cd;
  padding: 10px 14px;
  font-size: 23px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
button {
  border: 0;
  background: #ff985d;
  color: #251206;
  font-weight: 750;
  cursor: pointer;
  margin: 8px 0 20px;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
:focus-visible {
  outline: 3px solid #8ecfff;
  outline-offset: 3px;
}
.hint,
footer {
  font-size: 11px;
  color: #98a5b8;
}
aside {
  border-top: 1px solid #ffffff18;
  padding-top: 20px;
}
aside strong {
  font-size: 12px;
}
aside p {
  font-size: 12px;
  margin: 6px 0 16px;
}
footer {
  line-height: 1.7;
}
#error {
  color: #ffafa5;
}

main {
  width: min(100%, 740px);
}
h2 {
  font-size: 21px;
  margin-top: 0;
}
section {
  margin: 28px 0;
  padding-top: 24px;
  border-top: 1px solid #ffffff20;
}
a {
  color: #ffac73;
}
details {
  border: 1px solid #ffffff25;
  border-radius: 10px;
  padding: 16px;
  margin: 18px 0;
}
summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 14px;
}
.progress {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 8px;
  font-size: 13px;
  margin-top: 26px;
}
.progress li {
  flex: 1;
  padding: 12px 8px;
  background: #090c11;
  border-radius: 8px;
  color: #aab6c8;
}
.progress [aria-current] {
  color: #ffc095;
  box-shadow: inset 0 0 0 1px #ff985d;
}
.choices {
  display: flex;
  gap: 12px;
}
.choices button {
  background: #202733;
  color: #ddd;
}
.choices [aria-pressed="true"] {
  background: #ff985d;
  color: #251206;
}
.button {
  display: block;
  text-align: center;
  padding: 15px 18px;
  background: #ff985d;
  color: #251206;
  font-weight: 750;
  border-radius: 9px;
  text-decoration: none;
  margin: 16px 0;
}
.secondary {
  background: #252e3b;
  color: #f3f5f8;
  border: 1px solid #556174;
}
.copy-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 16px 0;
}
.copy-row > div {
  flex: 1;
  min-width: 0;
}
.copy-row span {
  font-size: 12px;
  color: #aab6c8;
}
.copy-row input {
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 8px;
}
.copy-row button {
  width: auto;
  flex-shrink: 0;
  margin: 22px 0 0;
  padding: 0 12px;
  font-size: 12px;
}
textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #566073;
  background: #090c12;
  color: #e8edf5;
  border-radius: 8px;
  padding: 12px;
  font: 14px/1.6 system-ui;
}
.auth-choice {
  background: #1b2430;
  padding: 16px;
  border-radius: 10px;
}
.auth-choice p {
  margin-bottom: 0;
}
#copy-status {
  color: #92e6ba;
}
#handoff {
  padding: 16px;
  border: 1px solid #ff985d;
  border-radius: 10px;
}
@media (max-width: 520px) {
  body {
    padding: 12px;
  }
  main {
    padding: 22px 18px;
  }
  h1 {
    font-size: 32px;
  }
  .progress {
    font-size: 11px;
    gap: 4px;
  }
  .copy-row {
    display: block;
  }
  .copy-row button {
    width: 100%;
    margin: 6px 0;
  }
  .choices {
    gap: 8px;
  }
}
