:root {
  color-scheme: dark;
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: #f3efe6;
  background: #181a19;
  --line: #414440;
  --muted: #c4c4b8;
  --gold: #f1ce87;
  --surface: #242724;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: .75rem;
  background: #181a19;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
.shell { width: min(64rem, calc(100% - 2.5rem)); margin-inline: auto; }
.bar { border-bottom: 1px solid var(--line); }
.bar-inner {
  min-height: 4.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: "Crimson Text", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}
.brand span { color: var(--muted); font-size: .95em; font-weight: 400; }
.text-link { background: none; border: 0; padding: .65rem 0 .65rem .65rem; color: var(--gold); }
.text-link:hover { text-decoration: underline; }
main { padding-block: clamp(2.5rem, 7vw, 6rem); }
h1, h2 {
  font-family: "Crimson Text", Georgia, serif;
  margin: 0;
  font-weight: 500;
  line-height: 1.08;
}
h1 { font-size: clamp(2.65rem, 7vw, 4.65rem); }
h2 { font-size: clamp(1.85rem, 4.5vw, 2.65rem); }
p { line-height: 1.55; }
.muted, .product p, .empty p { color: var(--muted); }
.account { overflow-wrap: anywhere; }
.sign-in { max-width: 30rem; margin-inline: auto; }
.fields { display: grid; gap: 1.15rem; margin-top: 2rem; }
label { display: grid; gap: .45rem; }
input {
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: var(--surface);
  color: inherit;
  width: 100%;
  min-height: 2.85rem;
  padding: .55rem .8rem;
}
.error { color: #ffc9bc; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  width: fit-content;
  padding: .65rem 1rem;
  border: 1px solid var(--gold);
  border-radius: .35rem;
  background: var(--gold);
  color: #251d0f;
  font-weight: 650;
  text-decoration: none;
}
.button:hover { background: #ffdfa2; }
.button.secondary { background: transparent; color: var(--gold); }
.button.secondary:hover { background: #39352a; }
.product, .empty {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .65rem;
  margin-top: 2rem;
  overflow: hidden;
}
.product { display: grid; grid-template-columns: minmax(13rem, 33%) 1fr; }
.product-content, .empty { padding: clamp(1.35rem, 4vw, 3rem); }
.actions { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.55rem; }
.cover {
  display: grid;
  place-items: center;
  min-height: 12rem;
  padding: 1.4rem;
  background: radial-gradient(ellipse at 50% 25%, #574a38, #2c3027 72%);
  color: #ffdf9f;
}
.cover span {
  display: grid;
  align-content: center;
  min-height: 100%;
  width: 100%;
  text-align: center;
  border: 1px solid #b59c68;
  font: 700 clamp(1.1rem, 2.55vw, 1.8rem) "Crimson Text", Georgia, serif;
}
@media (max-width: 42rem) {
  .product { grid-template-columns: 1fr; }
  .cover span { font-size: 1.6rem; }
}
