:root {
  color-scheme: dark;
  --bg: #050d18;
  --surface: #0d1c2c;
  --ink: #f3f4f2;
  --dim: #a9b5c2;
  --teal: #55d6c1;
  --line: #20364a;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); }
body {
  margin: 0;
  padding: 0 24px;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
.container.wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { display: block; width: 190px; height: auto; object-fit: contain; }
a { color: var(--teal); text-underline-offset: 4px; }
a:hover { color: var(--ink); }
.site-link { font-size: 14px; color: var(--dim); text-decoration: none; padding: 10px 0; }
main { padding: clamp(32px, 4vw, 48px) 0 44px; }
main > section { max-width: 740px; }
.newsletter-label { margin: 0 0 18px; color: var(--teal); font-weight: 600; }
h1 { margin: 0 0 24px; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
h2 { color: var(--ink); line-height: 1.2; }
.intro { max-width: 58ch; margin: 0 0 26px; color: var(--dim); font-size: 19px; line-height: 1.6; }
.home-options { display: flex; align-items: center; gap: 24px; margin: 26px 0 16px; flex-wrap: wrap; }
.button, a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 50px;
  padding: 14px 22px;
  background: var(--teal);
  color: var(--bg);
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}
.button:hover, a.button:hover { background: #8ee7d8; color: var(--bg); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; }
.subscription-note, .consent-copy { color: var(--dim); font-size: 14px; }
.topics { display: flex; flex-wrap: wrap; gap: 12px 30px; padding-top: 24px; margin-top: 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 15px; }
.newsletter-footer { border-top: 1px solid var(--line); padding: 26px 0 32px; color: var(--dim); font-size: 13px; }
.newsletter-footer p { max-width: 60ch; margin: 0 0 12px; }
.newsletter-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.newsletter-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--dim); }
.newsletter-footer a:hover { color: var(--teal); }
.signup { max-width: 600px; }
.signup h1 { font-size: clamp(32px, 4vw, 46px); }
.form { max-width: 560px; }
.form p { margin: 0 0 22px; }
.form label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--ink); }
.optional { color: var(--dim); font-weight: 400; }
.form input:not([type=checkbox]):not(.nonce) {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid #536476;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  box-shadow: none;
}
.form input::placeholder { color: var(--dim); opacity: 1; }
.nonce { display: none !important; }
fieldset.lists { padding: 0; margin: 26px 0; border: 0; }
.lists legend { margin-bottom: 12px; font-size: 16px; font-weight: 600; }
.list-option { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 44px; }
.list-option input { width: 20px; height: 20px; accent-color: var(--teal); }
.form .list-option label { display: inline; margin: 0; font-weight: 400; }
.list-option .description { flex-basis: 100%; color: var(--dim); }
.captcha { margin: 22px 0; }
altcha-widget { --altcha-color-base: #0d1c2c; --altcha-color-text: #f3f4f2; --altcha-color-border: #536476; --altcha-color-border-focus: #55d6c1; max-width: 100%; }
.back-link { margin-top: 28px; }
.archive { padding-left: 0; list-style: none; }
.archive li { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.archive .date { color: var(--dim); white-space: nowrap; }
.login { max-width: 520px; }
.login .button-outline { background: var(--surface); color: var(--ink); border: 1px solid #536476; }
.login .button-outline img { max-height: 24px; }
.error { color: #ffb4b4; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.skip-link { position: absolute; left: 24px; top: -100px; background: var(--surface); padding: 12px; z-index: 1; }
.skip-link:focus { top: 10px; }
@media (max-width: 600px) {
  body { padding: 0 22px; }
  .header { padding: 14px 0; gap: 12px; }
  .brand img { width: 160px; }
  .site-link { font-size: 13px; }
  .intro { font-size: 18px; }
  .home-options { align-items: flex-start; flex-direction: column; gap: 12px; }
  .home-options .button, .form > div > .button, .back-link .button { width: 100%; }
  .topics { flex-direction: column; gap: 10px; margin-top: 30px; }
  .archive li { flex-direction: column; gap: 4px; }
}
