/* The AI Pulse offer (2026-11-16): on every blog post, the blog index and the
 * pillar guides the blog lists. Generated posts get the card from
 * scripts/generate-citation-pages.mjs pulseCard(); the hand-built pages carry
 * a copy. A price panel beside the pitch, inside a gradient hairline; one
 * column on phones. Every page that shows it links this file and
 * /scripts/buy-now.js. Tokens all have fallbacks, so it stands on its own. */
.pulse-offer {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  margin: 44px 0 36px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg, #ffffff);
  box-shadow: 0 24px 60px -28px rgba(67, 56, 202, 0.35);
}
.pulse-offer::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-2, #8b5cf6), #f0abfc 45%, var(--accent-3, #3b82f6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.pulse-offer .po-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 28px 24px;
  color: #f5f7ff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(139, 92, 246, 0.45) 0%, transparent 60%),
    linear-gradient(160deg, #0b1533 0%, #1b1450 100%);
}
.pulse-offer .po-badge {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e9d5ff;
  background: rgba(167, 139, 250, 0.18);
  border: 1px solid rgba(167, 139, 250, 0.35);
}
.pulse-offer .po-amt {
  font-family: var(--display, "Inter", system-ui, sans-serif);
  font-weight: 800;
  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #ffffff 15%, #c4b5fd 60%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pulse-offer .po-amt small { font-size: 16px; letter-spacing: 0; margin-left: 3px; -webkit-text-fill-color: #aab6d3; }
.pulse-offer .po-alt { font-size: 12.5px; line-height: 1.4; color: #aab6d3; }
.pulse-offer .po-body { padding: 26px 28px; }
.pulse-offer .po-head {
  margin: 0;
  font-family: var(--display, "Inter", system-ui, sans-serif);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink, #0a2245);
}
.pulse-offer .po-copy { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-2, #2d4663); }
.pulse-offer .po-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; }
.pulse-offer .po-list li { position: relative; margin: 0; padding-left: 26px; font-size: 14.5px; line-height: 1.45; color: var(--ink, #0a2245); }
.pulse-offer .po-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat,
    linear-gradient(135deg, var(--accent-2, #8b5cf6), var(--accent-3, #3b82f6));
}
.pulse-offer .po-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 20px; }
.pulse-offer .po-buy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent, #5a5ddb), var(--accent-2, #8b5cf6));
  box-shadow: 0 10px 24px -10px rgba(90, 93, 219, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pulse-offer .po-buy:hover, .pulse-offer .po-buy:focus-visible { color: #ffffff; border: 0; transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(90, 93, 219, 0.8); }
.pulse-offer .po-buy[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.pulse-offer .po-more { font-size: 14.5px; font-weight: 600; color: var(--accent-deep, #4338ca); }
@media (prefers-reduced-motion: reduce) { .pulse-offer .po-buy { transition: none; } .pulse-offer .po-buy:hover { transform: none; } }
@media (max-width: 640px) {
  .pulse-offer { grid-template-columns: 1fr; border-radius: 18px; }
  .pulse-offer .po-price { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 20px 18px; }
  .pulse-offer .po-amt { font-size: 42px; }
  .pulse-offer .po-alt { flex-basis: 100%; }
  .pulse-offer .po-body { padding: 20px 18px 22px; }
  .pulse-offer .po-head { font-size: 19px; }
}

/* On a page that isn't an article (the blog index, the pillar guides) the card
 * sits in its own band, centred at reading width. */
.pulse-band { padding: 40px 0 44px; }
.pulse-band .pulse-offer { max-width: 880px; margin: 0 auto; }
