@font-face {
  font-family: Poppins;
  src: url(/fonts/poppins-latin-400-normal.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url(/fonts/poppins-latin-600-normal.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url(/fonts/poppins-latin-700-normal.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  font:
    16px/1.6 Poppins,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #edf3fb;
  background: #11151f;
  color-scheme: dark;
  --muted: #a3aec3;
  --cyan: #52caff;
  --border: #303b50;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(ellipse at top right, #16374866, transparent 55%);
  min-height: 100dvh;
}
main {
  max-width: 1000px;
  margin: auto;
  padding: 32px 24px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 26px;
  margin-bottom: 42px;
  border-bottom: 2px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--cyan);
  font-size: 36px;
  font-weight: 800;
  text-decoration: none;
}
.brand span {
  font-size: 23px;
  color: #f5f8ff;
}
.brand small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin: 10px 0 24px;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 23px;
  line-height: 1.4;
}
h3 {
  font-size: 17px;
}
p {
  color: var(--muted);
  margin: 12px 0 22px;
}
.eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 12px;
  margin: 0;
}
.card {
  background: #1a202d;
  border: 2px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  margin: 22px 0;
  box-shadow: 0 12px 40px #0002;
  min-width: 0;
}
.actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 26px;
}
button,
.button {
  font: inherit;
  border: 2px solid var(--border);
  background: #252e40;
  color: #f0f5fc;
  padding: 11px 20px;
  border-radius: 13px;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}
button:hover,
.button:hover {
  border-color: var(--cyan);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #082b40;
}
.status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: #293449;
  border: 1px solid #3d4b65;
  border-radius: 40px;
  padding: 5px 14px;
  font-size: 13px;
}
.pending {
  color: #ffd78c;
}
.accepted {
  color: #81e1b6;
}
.rejected {
  color: #ff9ca8;
}
textarea {
  display: block;
  resize: vertical;
  width: 100%;
  min-height: 190px;
  background: #111722;
  border: 2px solid #3b4a63;
  border-radius: 14px;
  padding: 18px;
  color: #f4f7ff;
  font: inherit;
  margin-top: 16px;
}
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}
label {
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 700;
  line-height: 1.5;
  display: block;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.count {
  display: block;
  text-align: right;
  color: var(--muted);
  font-size: 13px;
  margin-top: 7px;
}
progress {
  width: 100%;
  height: 8px;
  accent-color: var(--cyan);
  margin: 14px 0 30px;
}
.answer {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #e2eaf6;
  background: #111722;
  border-radius: 12px;
  padding: 18px;
  margin: 10px 0 25px;
}
.hint,
footer {
  font-size: 13px;
  color: var(--muted);
}
footer {
  text-align: center;
  margin: 44px 0 10px;
}
#notice:not(:empty) {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #a24e65;
  background: #382433;
  color: #ffbec9;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
#account {
  font-size: 14px;
  text-align: right;
  overflow-wrap: anywhere;
}
#account button {
  font-size: 12px;
  min-height: 36px;
  padding: 6px 12px;
  margin-left: 10px;
}
summary {
  cursor: pointer;
  font-weight: 650;
  padding: 12px 0;
}
details {
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
a {
  color: var(--cyan);
}
@media (max-width: 600px) {
  main {
    padding: 20px 16px;
  }
  .card {
    padding: 23px 18px;
    border-radius: 18px;
  }
  header {
    margin-bottom: 28px;
    gap: 12px;
  }
  .brand {
    gap: 10px;
    font-size: 29px;
  }
  .brand span {
    font-size: 20px;
  }
  .actions button {
    flex: 1;
  }
  #account {
    max-width: 45%;
  }
  #account button {
    display: block;
    margin: 6px 0 0 auto;
  }
  textarea {
    min-height: 210px;
  }
}

.brand img {
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}
