* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html,
body {
  margin: 0;
  min-width: 320px;
  padding: 0;
}

body {
  background:
    linear-gradient(180deg, rgba(39, 39, 42, 0.36), rgba(9, 9, 11, 0) 320px),
    #09090b;
  color: #d4d4d8;
  font-family: "Inter", "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: #7dd3fc;
  text-decoration-color: rgba(125, 211, 252, 0.36);
  text-underline-offset: 3px;
  transition: color 160ms ease, opacity 160ms ease, background 160ms ease;
}

a:hover {
  color: #e0f2fe;
}

label {
  color: #d4d4d8;
  cursor: pointer;
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 650;
  margin-bottom: 8px;
}

h1,
h2,
h3,
h4 {
  color: #f4f4f5;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
}

h2 {
  font-size: 1.55rem;
}

p {
  margin-top: 0;
}

.section {
  margin-bottom: 34px;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
  background: #0c0c0f;
  border: 1px solid #27272a;
  border-radius: 8px;
  box-shadow: none;
  color: #f4f4f5;
  font-size: 1rem;
  min-height: 46px;
  outline: none;
  padding: 11px 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  width: 100%;
}

input:hover,
select:hover {
  border-color: #3f3f46;
}

input:focus,
select:focus {
  border-color: #7dd3fc;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.12);
}

input::placeholder {
  color: #71717a;
}

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

input[disabled] {
  opacity: 0.5;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.small {
  color: #a1a1aa;
  font-size: 0.875em;
}

.error {
  color: #fca5a5;
}

.button {
  align-items: center;
  background: #f4f4f5;
  border: 1px solid #f4f4f5;
  border-radius: 8px;
  color: #09090b;
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  min-width: 150px;
  padding: 12px 22px;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 12px 24px rgba(244, 244, 245, 0.08);
  color: #09090b;
  transform: translateY(-1px);
}

.button.button-outline {
  background: #18181b;
  border-color: #27272a;
  color: #f4f4f5;
}

.button.button-outline:hover {
  background: #1f1f23;
  border-color: #3f3f46;
  color: #ffffff;
}

.container {
  margin: 56px auto 16px;
  max-width: 560px;
  padding: 0 18px;
}

.wrap {
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.98), rgba(17, 17, 19, 0.98));
  border: 1px solid #27272a;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  padding: 34px;
}

.header {
  border-bottom: 1px solid #27272a;
  margin-bottom: 28px;
  padding-bottom: 22px;
}

.header .logo img {
  display: block;
  height: auto;
  max-width: 210px;
  width: auto;
}

.brand-wordmark {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  line-height: 1;
  text-decoration: none;
}

.brand-wordmark .brand-mark {
  border-radius: 7px;
  display: block;
  height: 28px;
  max-width: none;
  object-fit: contain;
  width: 28px;
}

.brand-type {
  align-items: baseline;
  display: inline-flex;
  gap: 4px;
}

.brand-name {
  color: #f8fafc;
  font-size: 1.18rem;
  font-weight: 760;
}

.brand-product {
  background: linear-gradient(135deg, #a5f3fc 0%, #7dd3fc 42%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #7dd3fc;
  font-size: 1.18rem;
  font-weight: 720;
  -webkit-text-fill-color: transparent;
}

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

.row {
  margin-bottom: 20px;
}

.lists {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.lists li {
  margin: 0 0 8px;
}

.lists .description {
  color: #a1a1aa;
  font-size: 0.875em;
  line-height: 1.4;
  margin: 0 0 16px 25px;
}

.form .nonce {
  display: none;
}

.form .captcha {
  margin-top: 30px;
}

.archive {
  list-style-type: none;
  margin: 25px 0 0;
  padding: 0;
}

.archive .date {
  color: #a1a1aa;
  display: block;
  font-size: 0.875em;
}

.archive li {
  border-bottom: 1px solid #27272a;
  margin-bottom: 0;
  padding: 14px 0;
}

.feed {
  margin-right: 15px;
}

.home-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.home-options a {
  margin: 0;
}

.pagination {
  margin-top: 30px;
  text-align: center;
}

.pg-page {
  border: 1px solid #27272a;
  border-radius: 8px;
  display: inline-block;
  margin: 3px;
  padding: 4px 12px;
  text-decoration: none;
}

.pg-page.pg-selected {
  background: #f4f4f5;
  color: #09090b;
  font-weight: 700;
}

.login h2 {
  margin-bottom: 22px;
}

.login .submit {
  margin-top: 22px;
}

.login button {
  width: 100%;
}

.login button img {
  margin-right: 10px;
  max-width: 24px;
}

.login input[name="totp_code"] {
  font-size: 1.8em;
  letter-spacing: 0;
  text-align: center;
}

footer.container {
  color: #71717a;
  font-size: 0.775em;
  margin: 18px auto 34px;
  text-align: center;
}

footer a {
  color: #a1a1aa;
  text-decoration: none;
}

footer a:hover {
  color: #f4f4f5;
}

@media screen and (max-width: 650px) {
  body {
    background: #09090b;
  }

  .container {
    margin-top: 16px;
    padding: 0 12px;
  }

  .wrap {
    padding: 24px;
  }

  .header .logo img {
    max-width: 180px;
  }

  .brand-name,
  .brand-product {
    font-size: 1.05rem;
  }
}
