/* New Token Alerts. Light theme only. No web fonts, no external requests. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #F7F8FA;
  color: #0F172A;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
}

a {
  color: #1D4ED8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: #1E40AF;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid #1D4ED8;
  outline-offset: 2px;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.muted {
  color: #475569;
}

.small {
  font-size: 15px;
}

/* Header */

.site-header {
  border-bottom: 1px solid #E2E8F0;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0F172A;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 6px;
}

.logo:hover {
  color: #0F172A;
}

.logo-mark {
  flex: none;
  width: 28px;
  height: 28px;
}

.bell-line {
  fill: none;
  stroke: #1D4ED8;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bell-dot {
  fill: #1D4ED8;
  stroke: #F7F8FA;
  stroke-width: 1.5;
}

.header-link {
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  border-radius: 4px;
}

/* Hero */

.hero {
  padding: 72px 0 56px;
}

.hero h1 {
  max-width: 760px;
}

.lead {
  max-width: 680px;
  margin-top: 20px;
  font-size: 19px;
  color: #475569;
}

.hero .signup {
  margin-top: 32px;
}

.form-note {
  margin-top: 12px;
  font-size: 15px;
  color: #475569;
}

.alt-link {
  margin-top: 20px;
}

/* Signup form */

.signup {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 12px;
  max-width: 560px;
}

.signup label {
  font-size: 15px;
  font-weight: 600;
}

.signup input[type="email"] {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #94A3B8;
  border-radius: 8px;
  background: #FFFFFF;
  color: #0F172A;
  font: inherit;
}

.signup input[type="email"]::placeholder {
  color: #64748B;
  opacity: 1;
}

.signup button,
.btn {
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: #1D4ED8;
  color: #FFFFFF;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.signup button:hover,
.btn:hover {
  background: #1E40AF;
}

.signup button:disabled,
.btn:disabled {
  background: #475569;
  cursor: default;
}

/* Honeypot: off-screen, not display:none. */
.hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-msg {
  font-size: 15px;
  color: #475569;
}

.form-msg.is-error {
  color: #7C2D12;
  font-weight: 600;
}

.form-done {
  max-width: 560px;
  margin-top: 32px;
  padding: 16px 20px;
  border: 1px solid #E2E8F0;
  border-left: 4px solid #1D4ED8;
  border-radius: 12px;
  background: #FFFFFF;
  font-weight: 600;
}

.card .form-done {
  margin-top: 20px;
}

@media (min-width: 560px) {
  .signup {
    grid-template-columns: 1fr auto;
  }

  .signup label,
  .signup .form-msg {
    grid-column: 1 / -1;
  }
}

/* Sections and cards */

.section {
  padding: 40px 0;
}

.section > .wrap > h2 {
  margin-bottom: 24px;
}

.card {
  padding: 24px;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  background: #FFFFFF;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.cards .card p {
  margin-top: 8px;
  color: #475569;
}

.example {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.post {
  padding: 20px 24px 24px;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  background: #FFFFFF;
}

.post-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.post-avatar {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid #E2E8F0;
  border-radius: 50%;
  background: #F7F8FA;
}

.post-who {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  line-height: 1.35;
}

.post-name {
  display: block;
  font-weight: 700;
}

.post-handle {
  display: block;
  color: #475569;
}

.tag {
  flex: none;
  padding: 2px 10px;
  border: 1px solid #1D4ED8;
  border-radius: 999px;
  color: #1D4ED8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-body {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.post-body p + p {
  margin-top: 16px;
}

.points {
  padding: 0;
  list-style: none;
}

.points li {
  padding: 4px 0 4px 16px;
  border-left: 3px solid #1D4ED8;
}

.points li + li {
  margin-top: 16px;
}

.risk {
  padding: 24px;
  border: 1px solid #FDBA74;
  border-radius: 12px;
  background: #FFF7ED;
  color: #7C2D12;
}

.risk h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.faq {
  padding: 4px 24px;
}

.faq details + details {
  border-top: 1px solid #E2E8F0;
}

.faq summary {
  padding: 16px 0;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
}

.faq details p {
  padding: 0 0 18px;
  color: #475569;
}

.cta h2 {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .example {
    grid-template-columns: 6fr 5fr;
    gap: 40px;
  }

  .card.cta {
    padding: 32px;
  }
}

/* Small pages: privacy, terms, confirmed, unsubscribe, 404 */

.page {
  max-width: 760px;
  padding-top: 56px;
  padding-bottom: 72px;
}

.page h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.page h2 {
  margin: 36px 0 10px;
  font-size: 22px;
}

.page p + p,
.page ul + p,
.page p + ul {
  margin-top: 14px;
}

.page ul {
  padding-left: 22px;
}

.page li + li {
  margin-top: 6px;
}

.page .btn {
  margin-top: 8px;
}

/* Footer */

.site-footer {
  margin-top: 40px;
  padding: 28px 0 40px;
  border-top: 1px solid #E2E8F0;
  color: #475569;
  font-size: 15px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}

.footer-row .sep {
  color: #475569;
}

.footer-note {
  margin-top: 10px;
}

/* Phones */

@media (max-width: 639px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .hero {
    padding: 44px 0 36px;
  }

  .lead {
    font-size: 17px;
  }

  .section {
    padding: 28px 0;
  }

  .page {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .page h1 {
    font-size: 30px;
  }
}

@media (max-width: 479px) {
  .wrap {
    padding: 0 16px;
  }

  .card,
  .risk {
    padding: 20px;
  }

  .post {
    padding: 16px 16px 20px;
  }

  .faq {
    padding: 4px 20px;
  }

  .footer-row {
    gap: 4px 18px;
  }

  .footer-row .sep {
    display: none;
  }
}
