* {
  box-sizing: border-box;
}
html, body {
  padding: 0;
  margin: 0;
  min-width: 320px;
}
body {
  background: #f8f4ff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #0f172a;
}
a {
  color: #7444e5;
  text-decoration-color: rgba(116, 68, 229, 0.4);
}
a:hover {
  color: #5b36bb;
}
label {
  cursor: pointer;
  color: #0f172a;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 6px;
}
h1,
h2,
h3,
h4 {
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 22px;
  margin: 0 0 16px;
}
h3 {
  font-size: 17px;
  margin: 18px 0 10px;
}
p {
  color: #475569;
  margin: 0 0 16px;
}
.section {
  margin-bottom: 32px;
}

input[type="text"], input[type="email"], input[type="password"], select {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  width: 100%;
  background: #ffffff;
  color: #0f172a;
  font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
  input:focus, select:focus {
    border-color: #7444e5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(116, 68, 229, 0.15);
  }

input:focus::placeholder {
  color: transparent;
}

input[disabled] {
  opacity: 0.5;
}

input[type="checkbox"], input[type="radio"] {
  accent-color: #7444e5;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 8px;
  cursor: pointer;
}

.center {
  text-align: center;
}
.right {
  text-align: right;
}
.small {
  font-size: 0.875em;
}
.error {
  color: #ef4444;
}
.button {
  background: #7444e5;
  padding: 14px 32px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  display: inline-block;
  min-width: 150px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: background .15s, border-color .15s, color .15s;
}
.button:hover {
  background: #5b36bb;
  color: #fff;
}
.button.button-outline {
  background: #fff;
  border: 1px solid #7444e5;
  color: #7444e5;
}
.button.button-outline:hover {
  border-color: #5b36bb;
  background-color: #5b36bb;
  color: #fff;
}

.container {
  margin: 40px auto 15px auto;
  max-width: 525px;
}

.wrap {
  background: #ffffff;
  padding: 40px;
  border: 1px solid rgba(116, 68, 229, 0.12);
  border-radius: 24px;
}

.header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 18px;
  margin-bottom: 22px;
}
.header .logo img {
  width: 56px;
  height: 56px;
  max-width: 56px;
}

.unsub-all {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
}

.row {
  margin-bottom: 20px;
}
.lists {
  list-style-type: none;
  padding: 0;
}
  .lists li {
    margin: 0 0 8px 0;
  }
  .lists .description {
    margin: 4px 0 12px 24px;
    font-size: 0.875em;
    line-height: 1.4;
    color: #94a3b8;
  }
  .form .nonce {
    display: none;
  }
  .form .captcha {
    margin-top: 30px;
  }

.archive {
  list-style-type: none;
  margin: 25px 0 0 0;
  padding: 0;
}
  .archive .date {
    display: block;
    color: #94a3b8;
    font-size: 0.875em;
  }
  .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;
    color: #7444e5;
  }
  .pg-page.pg-selected {
    text-decoration: underline;
    font-weight: bold;
    color: #0f172a;
  }

.login .submit {
  margin-top: 20px;
}
  .login button {
    width: 100%;
    vertical-align: middle;
    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 {
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-top: 30px;
  margin-bottom: 30px;
}
  footer a {
    color: #94a3b8;
    text-decoration: none;
  }
  footer a:hover {
    color: #5b36bb;
  }

@media screen and (max-width: 600px) {
  .container {
    margin: 16px auto;
    max-width: none;
  }
  .wrap {
    padding: 28px;
    border-radius: 18px;
  }
}
