@import url('/fonts/fonts.css');
:root {
  color-scheme: dark;
  font-family: 'DM Sans', sans-serif;
  background: #071422;
  color: #edf2ee;
  line-height: 1.65;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 24px 18px 60px;
  background: radial-gradient(ellipse at top, #21433e88, transparent 65%);
  min-height: 100vh;
}
main {
  max-width: 800px;
  margin: auto;
}
header {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 0 28px;
}
header img {
  width: 64px;
  height: 64px;
}
header strong {
  font-family: Georgia, serif;
  font-size: 24px;
  color: #f5daa1;
  letter-spacing: 0.06em;
}
header small {
  display: block;
  color: #b3c8c6;
}
h1 {
  font-family: Georgia, serif;
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.2;
  color: #ffe5af;
}
h2 {
  font-size: 21px;
  color: #efd39b;
  margin-top: 28px;
}
a {
  color: #f0cf8d;
  text-underline-offset: 4px;
}
p,
li {
  color: #d7e3e2;
}
section,
.card {
  padding: 24px;
  background: #102532;
  border: 1px solid #aa875754;
  border-radius: 18px;
  margin: 20px 0;
}
nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}
label {
  display: block;
  margin: 14px 0;
  font-weight: 600;
}
input {
  font: inherit;
  width: 100%;
  padding: 12px;
  border: 1px solid #809394;
  border-radius: 9px;
  background: #071422;
  color: #fff;
}
input[type='checkbox'] {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 10px;
}
button,
.button {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 9px;
  background: #e5c382;
  color: #15222a;
  cursor: pointer;
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.secondary {
  background: #24444b;
  color: #e2edec;
  margin-left: 8px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #86dbca;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.muted {
  font-size: 14px;
  color: #a8bdbc;
}
.status {
  padding: 14px;
  background: #173b35;
  border-radius: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.status.error {
  background: #512c30;
}
.checkbox {
  font-weight: 400;
}
footer {
  padding-top: 24px;
  color: #9db2b2;
  font-size: 14px;
}
@media (max-width: 500px) {
  section,
  .card {
    padding: 18px;
  }
  header strong {
    font-size: 21px;
  }
}
