:root {
  color-scheme: dark;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: #08090f;
  color: #e8e8ee;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% -10%, #173451 0, transparent 34rem),
    #08090f;
}

main {
  width: min(860px, calc(100% - 28px));
  margin: 0 auto;
  padding: 34px 0 64px;
}

h1, h2 { color: #ffd97a; }
h1 { font-size: clamp(1.55rem, 5vw, 2.3rem); line-height: 1.18; }
h2 { margin-top: 2rem; font-size: 1.15rem; }
p, li { line-height: 1.65; }
a { color: #8ed8ff; }

.eyebrow, .muted { color: #8f94a4; }
.eyebrow { letter-spacing: .08em; text-transform: uppercase; }

.panel {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #34405a;
  border-radius: 12px;
  background: #11131ee6;
}

.notice {
  border-color: #8f6d2e;
  background: #2a210f99;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0;
}

nav a, button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #5cc8ff;
  border-radius: 8px;
  background: #10243a;
  color: #ccecff;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

label { display: block; margin: 16px 0 6px; color: #cbd5e4; }

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #44516c;
  border-radius: 7px;
  background: #090b14;
  color: #f2f2f5;
  font: inherit;
}

textarea { min-height: 150px; resize: vertical; }

.check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: start;
}

.check input { width: auto; margin-top: 5px; }
.status { min-height: 24px; margin-top: 14px; color: #a8f0ae; }
.status.error { color: #ff9aa6; }

footer {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid #252938;
  color: #777d8e;
  font-size: .88rem;
}

@media (max-width: 520px) {
  main { padding-top: 22px; }
  .panel { padding: 14px; }
}
