/* The paid offer, on both pages: the hero's "Start 3-day free trial" and "Buy lifetime" buttons
   with the trial terms under them. lifetime.js fills in the live price and seats; [hidden]
   parts stay hidden until it has a valid answer. The pricing cards are in pricing.css. Warm colors by default (main page), night colors under
   [data-icp="dev"] (/agents). */

.hero .hero-actions.offer-actions { flex-wrap: wrap; align-items: center; }
.offer-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid #fffaf3;
  border-radius: 999px;
  background: #fffaf3;
  box-shadow: 0 5px 20px #10191226;
  color: #2a3028;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-shadow: none;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease;
}
.offer-button:hover { transform: translateY(-1px); }
.offer-button svg { width: 16px; height: 16px; flex-shrink: 0; }
.offer-button--lifetime {
  border-color: #fff7e966;
  background: #141914cc;
  color: #fffaf3;
}
.offer-button--lifetime:hover { background: #141914f2; }
.offer-button[hidden] { display: none; }

/* "62 left at $149", floating on the top edge of the lifetime button. */
.offer-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid #ffffff2e;
  border-radius: 999px;
  background: #1c1d1a;
  color: #e9e2d4;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.offer-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #5ccc82; box-shadow: 0 0 0 3px #5ccc8233; }
.offer-badge[hidden], .offer-soldout[hidden] { display: none; }
.offer-soldout { align-self: center; color: #fffaf3; font-size: 13px; font-weight: 500; }

@media (max-width: 760px) {
  .hero .hero-actions.offer-actions { justify-content: center; row-gap: 20px; }
  .hero .offer-button { flex: 1 1 100%; }
}

/* Night colors for /agents. */
[data-icp="dev"] .offer-button { border-color: var(--glow); background: var(--glow); box-shadow: none; color: #1b1408; }
[data-icp="dev"] .offer-button:hover { background: #f6c47c; }
[data-icp="dev"] .offer-button--lifetime { border-color: #f2b45e8c; background: #f2b45e1a; color: var(--night-text); }
[data-icp="dev"] .offer-button--lifetime:hover { background: #f2b45e2e; }
[data-icp="dev"] .offer-soldout { color: var(--night-text); }

/* One clear trial invitation, followed by a quieter area for existing customers. */
.closing-section { padding: 48px 28px 36px; }
.closing-section > img { width: 64px; height: 64px; }
.closing-section h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.14; }
.closing-section > p:not(.eyebrow) { margin: 18px auto 0; max-width: 430px; }
.closing-offer { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 24px; }
.closing-section .closing-offer .button { margin: 0; min-height: 48px; text-decoration: none; }
.closing-offer__lifetime { color: inherit; font-size: 13px; font-weight: 500; text-underline-offset: 3px; }
.closing-section .closing-note { max-width: 380px; margin: 16px auto 0; font-size: 11px; line-height: 1.6; }
.closing-install { max-width: 600px; margin: 28px auto 0; padding-top: 22px; border-top: 1px solid var(--line); }
.closing-have { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.closing-section .closing-downloads { margin-top: 14px; }
.closing-section .closing-downloads .button-download { border-color: #c7bead; background: transparent; color: var(--ink); box-shadow: none; }
.closing-section .closing-downloads .button-download > svg:last-child { color: inherit; }
.closing-section .download-extras { margin-top: 8px; }
[data-icp="dev"] .closing-install { border-color: var(--night-line); }
[data-icp="dev"] .closing-have { color: var(--night-muted); }
[data-icp="dev"] .closing-section .closing-downloads .button-download { border-color: var(--night-line); color: var(--night-text); }
[data-icp="dev"] .closing-section .download-alt,
[data-icp="dev"] .closing-section .windows-first-run,
[data-icp="dev"] .closing-section .windows-first-run p { color: var(--night-muted); }
@media (max-width: 540px) {
  .closing-section { padding: 36px 20px 28px; }
  .closing-section .closing-downloads .button-download { padding-inline: 12px; }
  .closing-section .closing-downloads .download-label small { white-space: normal; }
}
