:root {
  color-scheme: dark;
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #101b1d;
  color: #e6efeb;
  --muted: #a3b6b2;
  --mint: #b9e1ce;
  --line: #35474a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
header,
footer {
  max-width: 1240px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 48px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  font-weight: 620;
  letter-spacing: -0.4px;
}
.mark {
  font-size: 35px;
  line-height: 1;
  font-family: Georgia, serif;
  font-style: italic;
}
.mark span {
  font-family: system-ui;
  font-size: 22px;
  vertical-align: top;
  color: var(--mint);
}
.edition,
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}
.edition {
  border: 1px solid var(--line);
  padding: 9px 12px;
  border-radius: 5px;
  letter-spacing: 1px;
}
main {
  max-width: 1240px;
  margin: 35px auto 60px;
  padding: 24px 48px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 94px;
}
.intro {
  padding-top: 20px;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(42px, 4.7vw, 65px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 24px 0;
}
.lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 420px;
}
h2 {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 20px 0;
}
p {
  line-height: 1.6;
}
h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 44px 0 38px;
  display: grid;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}
.steps li {
  display: flex;
  gap: 20px;
  align-items: center;
}
.steps span {
  font-size: 11px;
  border: 1px solid var(--line);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.steps [aria-current] {
  color: var(--mint);
}
.steps [aria-current] span {
  border-color: var(--mint);
  background: #213832;
}
.boundary {
  display: flex;
  gap: 13px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  max-width: 420px;
}
.boundary p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--mint);
  border-radius: 50%;
  margin-top: 8px;
}
.panel {
  background: #19272a;
  border: 1px solid #34474b;
  padding: 36px;
  border-radius: 14px;
  align-self: start;
  min-height: 475px;
  box-shadow: 0 18px 60px #0002;
}
.stage > p {
  color: var(--muted);
  font-size: 14px;
}
.stage > .eyebrow {
  font-size: 11px;
}
label {
  display: block;
  font-size: 13px;
  margin: 28px 0 10px;
}
label span {
  color: var(--muted);
}
input {
  display: block;
  width: 100%;
  background: #101b1d;
  border: 1px solid #526966;
  border-radius: 6px;
  color: #e6efeb;
  font: inherit;
  padding: 14px;
  min-height: 50px;
}
input::placeholder {
  color: #92a8a2;
}
button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  padding: 13px 16px;
  background: var(--mint);
  color: #152b23;
  border: 1px solid transparent;
  border-radius: 6px;
  font:
    600 14px/1.4 ui-sans-serif,
    system-ui;
  cursor: pointer;
}
button:hover {
  filter: brightness(1.07);
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #e7d0a4;
  outline-offset: 4px;
}
.text-button {
  background: none;
  color: var(--muted);
  justify-content: center;
  font-weight: 400;
  margin-top: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.secondary {
  border-color: #637d75;
  background: none;
  color: var(--mint);
  justify-content: center;
}
.stage > .note {
  font-size: 12px;
  line-height: 1.55;
  margin: 22px 0 0;
}
.identity {
  overflow-wrap: anywhere;
}
#status {
  color: #f6c8a9;
  font-size: 14px;
  margin: 18px 0 0;
}
#status:empty {
  display: none;
}
.saved {
  font-size: 12px;
  color: var(--mint);
  display: flex;
  align-items: center;
  gap: 10px;
}
.saved span {
  border: 1px solid #5b8976;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
}
dl {
  margin: 28px 0;
}
dl div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
dt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px;
}
dd {
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.next {
  border-left: 2px solid #617b71;
  padding: 2px 0 2px 16px;
  margin: 25px 0;
}
.next p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
footer {
  border-top: 1px solid #2b3d3f;
  color: var(--muted);
  font-size: 11px;
  gap: 20px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  header {
    padding: 24px;
  }
  .edition {
    font-size: 9px;
    padding: 7px;
  }
  main {
    margin: 10px auto 30px;
    padding: 0 24px;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .intro {
    padding: 0;
  }
  h1 {
    font-size: 44px;
    margin: 20px 0 16px;
  }
  .lede {
    font-size: 16px;
  }
  .steps {
    margin: 24px 0;
    gap: 13px;
  }
  .boundary {
    display: none;
  }
  .panel {
    padding: 26px;
    min-height: 0;
  }
  h2 {
    font-size: 31px;
  }
  footer {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button {
    transition: filter 0.15s;
  }
}

#greeting {
  overflow-wrap: anywhere;
}
.button-link { display:flex; justify-content:space-between; align-items:center; min-height:50px; padding:13px 16px; margin-top:18px; background:var(--mint); color:#152b23; border-radius:6px; font-size:14px; font-weight:600; text-decoration:none; }
