:root {
  --sunset: #F2683C;
  --pine: #0F3D3E;
  --sand: #FBF6EF;
  --sky: #2E7DAF;
  --card: #FFFFFF;
  --muted: #4E6566;
  --line: rgba(15, 61, 62, 0.12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sunset: #FF8A5C;
    --pine: #E6F0EE;
    --sand: #0E1A1B;
    --sky: #7CC0EA;
    --card: #142526;
    --muted: #9FB5B3;
    --line: rgba(230, 240, 238, 0.14);
  }
}

* { box-sizing: border-box; }
html, body { padding: 0; margin: 0; min-width: 320px; }
body { background: var(--sand); color: var(--pine); font: 17px/1.6 var(--sans); }
a { color: var(--sky); }
label { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; }

input[type="text"], input[type="email"], input[type="password"], select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--pine);
  font: inherit;
}
input:focus { outline: 2px solid var(--sky); outline-offset: 1px; }
input[disabled] { opacity: 0.5; }

.center { text-align: center; }
.right { text-align: right; }
.small { font-size: 14px; color: var(--muted); }
.error { color: var(--sunset); }

.button {
  min-width: 150px;
  padding: 14px 22px;
  border: 0;
  border-radius: 12px;
  background: var(--sunset);
  color: #fff;
  font: 600 17px var(--sans);
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}
.button:hover { filter: brightness(0.92); }
.button.button-outline { background: transparent; border: 1px solid var(--sunset); color: var(--sunset); }

.container { margin: 40px auto 15px auto; max-width: 550px; padding: 0 16px; }
.wrap { background: var(--card); padding: 32px; border: 1px solid var(--line); border-radius: 16px; }
.section { margin-bottom: 40px; }

.header { padding-bottom: 15px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.header .logo a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pine); font: 600 22px var(--serif); }
.header .logo img { width: 36px; height: 36px; }

.row { margin-bottom: 20px; }
.lists { list-style-type: none; padding: 0; }
.lists li { margin: 0 0 5px 0; }
.lists .description { margin: 0 0 15px 25px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.form .nonce { display: none; }
.form .captcha { margin-top: 30px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.consent input { margin-top: 5px; flex: none; }

.archive { list-style-type: none; margin: 25px 0 0 0; padding: 0; }
.archive .date { display: block; color: var(--muted); font-size: 14px; }
.archive li { margin-bottom: 15px; }
.feed { margin-right: 15px; }
.home-options { margin-top: 30px; }
.home-options a { margin: 0 7px; }
.pagination { margin-top: 30px; text-align: center; }
.pg-page { display: inline-block; padding: 0 10px; text-decoration: none; }
.pg-page.pg-selected { text-decoration: underline; font-weight: bold; }

.login .submit { margin-top: 20px; }
.login button { width: 100%; display: flex; align-items: center; justify-content: center; }
.login button img { max-width: 24px; margin-right: 10px; }
.login input[name=totp_code] { font-size: 2em; letter-spacing: 5px; text-align: center; }

footer.container { margin: 30px auto; text-align: center; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }

@media screen and (max-width: 650px) {
  .container { margin-top: 0; padding: 0; }
  .wrap { border-radius: 0; border-width: 0 0 1px 0; padding: 24px 16px; }
}
