:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #0a0a0b;
  color: #f4f1eb;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 80% 10%, #262218 0, transparent 34rem), #0a0a0b;
}
main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 32px;
}
header {
  max-width: 760px;
}
.eyebrow {
  color: #c9a96e;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}
h1 {
  font:
    clamp(2.5rem, 7vw, 5.8rem)/0.95 Georgia,
    serif;
  letter-spacing: -0.055em;
  margin: 0.2em 0;
}
header > p:not(.eyebrow) {
  color: #bbb7af;
  font-size: 1.1rem;
  max-width: 58ch;
}
progress {
  width: 100%;
  height: 3px;
  border: 0;
  margin: 28px 0 18px;
  accent-color: #d3ae6c;
}
.panel {
  border: 1px solid #34312c;
  border-radius: 20px;
  padding: clamp(22px, 5vw, 48px);
  background: rgba(18, 18, 19, 0.88);
  box-shadow: 0 24px 80px #0008;
}
form {
  display: grid;
  gap: 20px;
}
label,
legend {
  font-weight: 650;
}
textarea,
input,
select {
  width: 100%;
  margin-top: 9px;
  border: 1px solid #49453e;
  border-radius: 12px;
  background: #111214;
  color: inherit;
  padding: 14px 16px;
  font: inherit;
}
textarea:focus,
input:focus,
select:focus {
  outline: 2px solid #d3ae6c;
  outline-offset: 2px;
}
button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: #e2bd78;
  color: #15120d;
  font-weight: 800;
  cursor: pointer;
}
fieldset {
  border: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.method {
  display: flex;
  border: 1px solid #37342f;
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
}
.method input,
.confirm input {
  width: auto;
  margin: 3px 12px 0 0;
}
.method small {
  display: block;
  color: #aaa69f;
  margin-top: 3px;
}
aside,
.hint {
  color: #b7b2aa;
}
aside {
  border-left: 2px solid #d3ae6c;
  padding-left: 18px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
dl div {
  display: grid;
  grid-template-columns: 160px 1fr;
  padding: 10px 0;
  border-bottom: 1px solid #302e2a;
}
dt {
  color: #99958e;
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
footer {
  color: #77736d;
  font-size: 0.82rem;
  margin: 22px 4px;
}
[role="alert"] {
  color: #ffb4aa;
}
@media (max-width: 620px) {
  main {
    padding-top: 30px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  dl div {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .panel {
    animation: enter 0.35s ease-out both;
  }
  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
  }
}
