:root {
  --ink: #0b1220;
  --paper: #fff7f3;
  --ember: #e85d3c;
  --ember-deep: #c4472b;
  --mist: #f3e7e0;
  --muted: #5c6578;
  --line: rgba(11, 18, 32, 0.12);
  --font-display: "Segoe UI", "Tahoma", sans-serif;
  --font-body: "Segoe UI", "Tahoma", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(232, 93, 60, 0.28), transparent 55%),
    radial-gradient(900px 500px at -10% 100%, rgba(11, 18, 32, 0.1), transparent 50%),
    linear-gradient(160deg, #fff7f3 0%, #f7ebe4 45%, #efe4dc 100%);
}

.shell {
  width: min(640px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 64px;
}

.hero {
  display: grid;
  gap: 18px;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
}

.brand span {
  color: var(--ember);
}

.lead {
  margin: 0;
  max-width: 28ch;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  font: 700 0.98rem/1.2 var(--font-body);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.btn-primary {
  background: var(--ember);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(232, 93, 60, 0.35);
}

.btn-primary:hover {
  background: var(--ember-deep);
}

.links {
  margin: 4px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}

.links a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.links a:hover {
  color: var(--ember-deep);
}

.links span {
  color: var(--line);
}

.meta {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.status {
  margin: 0;
  min-height: 1.4em;
  font-weight: 700;
  color: var(--ember-deep);
  white-space: pre-wrap;
}

.foot {
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

code {
  font-family: ui-monospace, Consolas, monospace;
  background: var(--mist);
  padding: 0.1em 0.35em;
  border-radius: 6px;
}
