:root {
  color-scheme: dark;
  --bg: #070707;
  --surface: #151517;
  --text: #f7f7f7;
  --muted: #b8b8bf;
  --subtle: #85858f;
  --accent: #f24566;
  --line: #2b2b31;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  max-width: 800px;
  margin: auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
}
header span {
  color: var(--muted);
  font-size: 13px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}
main {
  max-width: 480px;
  margin: 40px auto 0;
  padding: 0 24px;
}
h1 {
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 12px;
  font-weight: 600;
}
.intro {
  color: var(--muted);
  margin: 0 0 28px;
}
.order {
  background: var(--surface);
  padding: 22px;
  border-radius: 12px;
}
#name {
  font-size: 16px;
  margin: 0;
  overflow-wrap: anywhere;
}
.amount {
  font-size: 42px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
  line-height: 1.25;
  margin: 20px 0 24px;
}
dl {
  margin: 0;
  font-size: 13px;
}
dl div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  margin-top: 12px;
}
dt {
  color: var(--muted);
  flex-shrink: 0;
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
#message {
  min-height: 48px;
  margin: 22px 0 18px;
  color: var(--muted);
}
#message.error {
  color: #ff9eac;
}
.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
button {
  min-height: 48px;
  width: 100%;
  background: var(--text);
  color: var(--bg);
  border: 1px solid transparent;
  border-radius: 24px;
  font: inherit;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
}
button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.return {
  text-align: center;
  padding: 10px;
  color: var(--muted);
}
.help {
  font-size: 13px;
  color: var(--subtle);
  margin: 22px 0;
}
footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--subtle);
  padding: 22px 24px 32px;
  font-size: 12px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 480px) {
  main {
    margin-top: 24px;
  }
  header {
    padding: 18px 24px;
  }
}
