/*
 * FinanceQuest theme for listmonk public pages.
 * Colours, font and radius follow FinanceQuest Design System v2
 * (tokens/colors.css, typography.css, radius.css).
 *
 * Fonts: copy the noto-sans-*.woff2 files from the landing page's
 * public/assets/fonts/ into public/static/fonts/.
 */
@font-face{font-family:"Noto Sans";font-style:normal;font-weight:100 900;font-display:swap;src:url("fonts/noto-sans-latin-ext-normal.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Noto Sans";font-style:normal;font-weight:100 900;font-display:swap;src:url("fonts/noto-sans-latin-normal.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root {
  --background: #ffffff;
  --foreground: #32302f;
  --primary: #0e8f5f;
  --primary-ink: #0b6b48;
  --secondary: #f6f6f5;
  --muted-foreground: #4f4f4f;
  --destructive: #d92d20;
  --border: #e8e8e7;
  --brand-deep: #064e3b;

  --font-sans: "Noto Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 1rem;
  --focus-ring: 0 0 0 3px color-mix(in oklab, var(--primary) 50%, transparent);
}

* {
  box-sizing: border-box;
}
html, body {
  padding: 0;
  margin: 0;
  min-width: 320px;
}
body {
  background: var(--secondary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  color: var(--primary-ink);
  text-decoration: underline;
}
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 4px;
}
label {
  cursor: pointer;
  font-weight: 500;
}
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.3;
}
h2 {
  font-size: 1.375rem;
  margin: 0 0 1rem;
}
.section {
  margin-bottom: 45px;
}

input[type="text"], input[type="email"], input[type="password"], select {
  display: block;
  width: 100%;
  height: 2.5rem;
  margin-top: 6px;
  padding: 0 .875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  font-family: var(--font-sans);
  font-size: 1em;
  color: var(--foreground);
}
input:focus, select:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}
input::placeholder {
  color: #767676;
}
input:focus::placeholder {
  color: transparent;
}
input[disabled] {
  opacity: 0.5;
}
input[type="checkbox"], input[type="radio"] {
  accent-color: var(--primary);
  width: 1rem;
  height: 1rem;
  margin: 0 8px 0 0;
  vertical-align: -2px;
}

.center {
  text-align: center;
}
.right {
  text-align: right;
}
.small {
  font-size: 0.875em;
}
.error {
  color: var(--destructive);
}

.button {
  display: inline-block;
  min-width: 150px;
  padding: 11px 24px;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1em;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover {
  background: var(--primary-ink);
  border-color: var(--primary-ink);
  color: #fff;
  text-decoration: none;
}
.button.button-outline {
  background: var(--background);
  border-color: var(--border);
  color: var(--foreground);
}
.button.button-outline:hover {
  background: var(--secondary);
}

.container {
  margin: 60px auto 15px auto;
  max-width: 550px;
}
.wrap {
  background: var(--background);
  padding: 0 40px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Deep green header strip with the reversed lockup. */
.header {
  margin: 0 -40px 32px;
  padding: 20px 40px;
  background: var(--brand-deep);
}
.header .logo {
  display: inline-block;
}
.header .logo img {
  display: block;
  height: 44px;
  width: auto;
  margin-left: -6px;
}

.unsub-all {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.row {
  margin-bottom: 20px;
}
.lists {
  list-style-type: none;
  padding: 0;
}
.lists li {
  margin: 0 0 8px 0;
}
.lists .description {
  margin: 2px 0 14px 24px;
  font-size: 0.875em;
  line-height: 1.45;
  color: var(--muted-foreground);
}
.form .nonce {
  display: none;
}
.form .captcha {
  margin-top: 30px;
}

.archive {
  list-style-type: none;
  margin: 25px 0 0 0;
  padding: 0;
}
.archive li {
  margin-bottom: 15px;
}
.archive .date {
  display: block;
  color: var(--muted-foreground);
  font-size: 0.875em;
}
.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 {
  font-weight: 600;
  text-decoration: underline;
}

.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] {
  height: 3.5rem;
  font-size: 2em;
  letter-spacing: 5px;
  text-align: center;
}

footer.container {
  margin-top: 24px;
  margin-bottom: 30px;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.8125em;
}
footer a {
  color: var(--muted-foreground);
}

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