:root {
  color-scheme: dark;
  --background: #08090d;
  --panel: #111319;
  --text: #f5f5f2;
  --muted: #a8abb4;
  --line: #30333d;
  --accent: #7de8ee;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.6;
}

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

header { padding: 24px 0 36px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
h1 { margin: 12px 0; font-size: clamp(36px, 8vw, 64px); line-height: 1.05; letter-spacing: -.05em; }
h2 { margin-top: 0; font-size: 18px; }
p, li { color: var(--muted); }

section {
  margin: 16px 0;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}

details { padding: 14px 0; border-top: 1px solid var(--line); }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 800; }

.button {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 14px;
  color: #08090d;
  background: var(--text);
  font-weight: 900;
  text-decoration: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 4px;
  color: var(--muted);
  font-size: 12px;
}

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

@media (max-width: 520px) {
  main { padding-top: 32px; }
  section { padding: 18px; }
  footer { flex-direction: column; }
}
