:root {
  color-scheme: dark;
  --bg: #101821;
  --panel: #182431;
  --line: #314153;
  --muted: #abbacd;
  --accent: #8be1d4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: #eff5fb;
  font:
    16px/1.6 system-ui,
    sans-serif;
}
header,
main,
footer {
  max-width: 1180px;
  margin: auto;
  padding: 28px 36px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
a {
  color: var(--accent);
}
.brand {
  font-size: 28px;
  font-weight: 750;
  text-decoration: none;
  color: white;
}
.brand span {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 0 32px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
}
h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  margin: 18px 0;
}
h2 {
  font-size: 26px;
}
h3 {
  margin: 0 0 10px;
}
p {
  margin: 10px 0;
}
.muted,
small {
  color: var(--muted);
}
button,
.button {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #263c4b;
  color: #d7fff7;
  padding: 10px 16px;
  cursor: pointer;
  text-decoration: none;
}
button:hover,
.button:hover {
  border-color: var(--accent);
}
.sectionhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.card,
#detail {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.card {
  cursor: pointer;
  text-align: left;
  color: inherit;
}
.card:hover {
  border-color: var(--accent);
}
progress {
  width: 100%;
  height: 10px;
  accent-color: var(--accent);
}
.badge {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.plain {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
label {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  padding: 11px;
  background: var(--bg);
  color: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}
textarea {
  min-height: 100px;
}
form {
  max-width: 760px;
  margin-bottom: 24px;
}
form button {
  margin-top: 16px;
}
li {
  margin: 10px 0;
  overflow-wrap: anywhere;
}
aside {
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 14px;
}
#notice {
  color: #ffd38b;
}
footer {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}
#identity {
  font-size: 13px;
}
#identity button {
  margin-left: 12px;
  padding: 5px 10px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  header,
  main,
  footer {
    padding: 20px;
  }
  .intro {
    display: block;
    padding-top: 30px;
  }
  .intro .button {
    display: inline-block;
    margin-top: 18px;
  }
  #identity {
    max-width: 150px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
