/* Trial download gate. Loaded on every public page. */
.dl-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px 16px;
  background: rgba(5, 5, 7, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.dl-gate.is-open { display: grid; }
.dl-card {
  width: min(440px, 100%);
  background: #171a21;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #f2f3f5;
}
.dl-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.dl-card p { margin: 0 0 16px; color: #b4b8c2; font-size: 15px; line-height: 1.45; }
.dl-card label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #b4b8c2; }
.dl-card input[type="email"] {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b0c10;
  color: #f2f3f5;
  padding: 12px 14px;
  font: 16px inherit;
}
.dl-card input[type="email"]:focus { outline: 2px solid #3b82f6; outline-offset: 1px; }
.dl-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }
.dl-actions button {
  font: 600 15px inherit;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}
.dl-cancel {
  background: transparent;
  color: #b4b8c2;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.dl-go {
  background: #3b82f6;
  color: #fff;
  border: 0;
}
.dl-go:disabled { opacity: 0.6; cursor: wait; }
.dl-status { min-height: 1.2em; margin: 10px 0 0; font-size: 13px; color: #f2f3f5; }
.dl-card .hp { position: absolute; left: -9999px; }
.dl-note { margin: 14px 0 0; font-size: 12px; color: #7d828f; }
.dl-note a { color: #60a5fa; }

.trial-page { padding: 120px 0 80px; max-width: 520px; }
.trial-page h1 { font-size: clamp(36px, 6vw, 56px); margin-bottom: 12px; }
.trial-page .lead { color: #b4b8c2; margin-bottom: 22px; }
.trial-page form { display: grid; gap: 12px; }
.trial-page label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.trial-page input[type="email"] {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111318;
  color: #f2f3f5;
  padding: 12px 14px;
  font: 16px inherit;
}
.trial-page .form-status { min-height: 1.2em; font-size: 14px; }

/* Limited-offer buy dialog */
a[data-buy].btn {
  background: transparent;
  border-color: #e8b650;
  color: #e8b650;
  box-shadow: none;
}
a[data-buy].btn:hover { background: rgba(232, 182, 80, 0.12); color: #f0c56a; }
.buy-gate {
  position: fixed;
  inset: 0;
  z-index: 82;
  display: none;
  place-items: center;
  padding: 24px 16px;
  background: rgba(5, 5, 7, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.buy-gate.is-open { display: grid; }
.buy-card {
  width: min(460px, 100%);
  background: #171a21;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #f2f3f5;
}
.buy-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #e8b650;
}
.buy-card h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: -0.03em; }
.buy-price { margin: 0 0 12px; font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }
.buy-price span { color: #e8b650; }
.buy-card p { margin: 0 0 12px; color: #b4b8c2; font-size: 15px; line-height: 1.45; }
.buy-card ul { margin: 0 0 16px; padding: 0 0 0 18px; color: #f2f3f5; font-size: 15px; line-height: 1.45; }
.buy-card li { margin: 4px 0; }
.buy-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-bottom: 6px; }
.buy-actions a, .buy-actions button {
  font: 600 15px inherit;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  text-decoration: none;
}
.buy-later {
  background: transparent;
  color: #b4b8c2;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.buy-go {
  background: #e8b650;
  color: #1a1408;
  border: 0;
}
.buy-note { margin: 22px 0 0; font-size: 13px; line-height: 1.5; color: #b4b8c2; }
.buy-note a { color: #e8b650; text-decoration: underline; text-underline-offset: 2px; }
.buy-note a:hover { color: #f0c56a; }
