:root {
  color-scheme: dark;
  --bg: #071817;
  --surface: #102725;
  --surface-soft: #17332f;
  --text: #f2f8f7;
  --muted: #aac1bd;
  --accent: #55d6b0;
  --danger: #ff8e8e;
  --border: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at top right, #16453d 0, var(--bg) 38rem);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

header { margin-bottom: 40px; }

.brand {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 14px 0 12px;
  font-size: clamp(36px, 7vw, 58px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

h2 { margin: 34px 0 8px; font-size: 22px; }
h3 { margin: 24px 0 6px; font-size: 17px; }
p, li { color: var(--muted); }
ul, ol { padding-left: 22px; }
.updated { font-size: 14px; }

.card {
  margin: 20px 0;
  padding: 24px;
  background: rgba(16, 39, 37, .9);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.card h2:first-child, .card p:first-child { margin-top: 0; }
.warning { border-color: rgba(255, 142, 142, .42); }
.warning strong { color: var(--danger); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #06231d;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.danger { background: var(--danger); color: #2c0909; }
.button:disabled { cursor: wait; opacity: .55; }

label { display: block; margin: 15px 0 6px; font-weight: 700; }
input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #091d1b;
  color: var(--text);
  font: inherit;
}

.status { min-height: 26px; margin-top: 14px; }
.status.error { color: var(--danger); }
.status.success { color: var(--accent); }

nav { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
footer { margin-top: 48px; border-top: 1px solid var(--border); padding-top: 22px; }

@media (max-width: 520px) {
  .shell { padding-top: 36px; }
  .card { padding: 19px; }
}
