:root {
  color-scheme: light;
  --ink: #17151c;
  --paper: #f6f1e8;
  --chartreuse: #c7ff34;
  --violet: #6b4eff;
  --muted: #6f6878;
  --line: rgba(23, 21, 28, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(199, 255, 52, 0.28), transparent 42%),
    radial-gradient(circle at bottom right, rgba(107, 78, 255, 0.18), transparent 46%),
    var(--paper);
  color: var(--ink);
}

a { color: var(--violet); }

header,
main,
footer {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  padding: 28px 0 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

header .brand {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-size: 13px;
  font-weight: 700;
}

header nav a { text-decoration: none; }

main {
  background: #fffdf8;
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 28px 24px 36px;
  margin-top: 12px;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}

h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

h2 {
  margin: 28px 0 10px;
  font-size: 18px;
  line-height: 1.25;
}

p, li {
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}

ul { padding-left: 1.2em; }

.meta {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

input {
  min-height: 46px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
  background: #fff;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--chartreuse);
  cursor: pointer;
}

button.danger { background: #ff8f7a; }
button:disabled { opacity: 0.55; cursor: wait; }

.status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.45;
}

.status.error { color: #b42318; background: #fff1f0; }
.status.ok { color: #17663a; background: #edfdf3; }

footer {
  padding: 0 0 36px;
  font-size: 12px;
  color: var(--muted);
}
