:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f5f2;
  color: #1d1d1b;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.panel,
.workspace {
  width: min(100%, 680px);
}

.panel {
  padding: 0;
}

.workspace {
  display: grid;
  gap: 28px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #5e635b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(2.25rem, 8vw, 4.4rem);
  line-height: 0.96;
}

h2 {
  margin-bottom: 8px;
  font-size: 1.22rem;
}

p {
  color: #444943;
  line-height: 1.55;
}

.stack,
.steps {
  display: grid;
  gap: 16px;
}

label {
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #b9beb5;
  border-radius: 6px;
  background: #ffffff;
  color: inherit;
  font: inherit;
  padding: 0 16px;
  text-transform: uppercase;
}

input:focus,
button:focus-visible,
.button:focus-visible,
summary:focus-visible {
  outline: 3px solid #2f6f73;
  outline-offset: 3px;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: fit-content;
  border: 0;
  border-radius: 6px;
  background: #1f3f42;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  padding: 0 18px;
  cursor: pointer;
}

.secondary {
  background: transparent;
  color: #1f3f42;
  border: 1px solid #9aa29a;
}

.error {
  color: #9b1c1c;
  font-weight: 700;
}

.steps {
  list-style: none;
  counter-reset: steps;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid #d6d8d1;
}

.steps li::before {
  content: counter(steps);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dce8de;
  color: #1f3f42;
  font-weight: 800;
}

.meta,
summary,
dd {
  overflow-wrap: anywhere;
}

.meta {
  margin-top: 12px;
  color: #5e635b;
  font-size: 0.94rem;
}

details {
  margin-top: 14px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

dl {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

dt {
  font-weight: 700;
}

dd {
  margin: 4px 0 0;
  color: #444943;
}

.notice {
  border-left: 4px solid #2f6f73;
  padding-left: 14px;
}

.notice-text {
  width: fit-content;
  border-left: 4px solid #7a6f2a;
  background: #ece8cf;
  color: #3f3b22;
  padding: 12px 14px;
}

.logout {
  margin-top: 4px;
}

@media (max-width: 560px) {
  body {
    place-items: start center;
    padding-top: 26px;
  }

  .steps li {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

  .steps li::before {
    width: 32px;
    height: 32px;
  }
}
