/* Styles of the sales page /audit/ (tools/build-pages.mjs salesPage). Loaded on that page only.
   Ported from the finance site (finance-templates/app/public/_assets), which took them from the security site. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-media { opacity: 0; animation: ss-rise 0.7s cubic-bezier(0.16,1,0.3,1) both; }
  .hero-copy .kicker { animation-delay: 0.05s; }
  .hero-copy h1 { animation-delay: 0.13s; }
  .hero-copy .sub { animation-delay: 0.22s; }
  .hero-copy .hero-cta { animation-delay: 0.31s; }
  .hero-copy .hero-points { animation-delay: 0.40s; }
}
.hd-docs { display: none; }
.hero-docs .hero-copy > p.sub,
.hero-docs .hero-mosaic { display: none; }
.hd-lead { margin: 0 0 2px; font-size: 14px; opacity: 0.75; }
.hd-doc { margin: 0; }
.hd-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); }
.hd-open img { display: block; width: 100%; height: auto; border-radius: 10px; }
.hd-doc figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-top: 8px; font-size: 13.5px; line-height: 1.35; color: #e6eefb; }
.hd-doc figcaption span { opacity: 0.7; }
.hd-doc figcaption .hd-dl { flex-basis: 100%; }
.hd-doc figcaption .hd-dl span { opacity: 1; }
@media (max-width: 860px) {
  .hero-docs .hd-phone { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 20px; }
  .hd-phone .hd-lead { grid-column: 1 / -1; margin-bottom: 0; }
  .hd-phone .hd-doc:first-of-type { grid-column: 1 / -1; }
  .hd-phone .hd-doc:first-of-type .hd-open img { max-height: 240px; object-fit: cover; object-position: top; }
  .hd-phone .hd-doc:not(:first-of-type) .hd-open img { max-height: 110px; object-fit: cover; object-position: top; }
  .hd-phone .hd-doc figcaption { font-size: 12.5px; margin-top: 6px; }
}
@media (min-width: 861px) {
  .hero-docs .hd-desk { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
  .hd-desk .hd-lead { grid-column: 1 / -1; }
  .hd-desk .hd-doc:first-of-type { grid-column: 1 / -1; }
  .hd-desk .hd-doc:not(:first-of-type) .hd-open img { max-height: 150px; object-fit: cover; object-position: top; }
}
#hd-lb { position: fixed; inset: 0; z-index: 9999; background: rgba(6, 12, 28, 0.92); display: flex; align-items: center; justify-content: center; padding: 20px; }
#hd-lb[hidden] { display: none; }
#hd-lb img { max-width: min(1000px, 96vw); max-height: 92vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
#hd-lb button { position: absolute; top: 14px; right: 16px; font: inherit; font-size: 15px; padding: 8px 14px; border-radius: 8px; border: 0; cursor: pointer; background: #fff; color: #0b2545; }
.hero--lead .hero-copy { max-width: 560px; }
.lead-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 520px; }
.lead-form input { flex: 1 1 220px; min-width: 0; padding: 14px 16px; font: inherit; font-size: 1rem; border-radius: 12px; border: 1.5px solid #c7d3e6; background: #fff; color: var(--ink); }
.lead-form input:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(47, 127, 224, 0.25); }
.lead-form .btn { flex: 0 0 auto; animation: none; white-space: nowrap; }
.lead-hint { margin: 10px 0 0; font-size: 0.86rem; color: #cdd9ee; }
.hero--lead .form-msg { color: #ffd6d0; }
.hero--lead .form-msg.ok { color: #9fe3bd; }
.lead-final { text-align: center; max-width: 560px; margin: 0 auto; }
.lead-final .lead-form { justify-content: center; margin-left: auto; margin-right: auto; }
.lead-final .lead-hint { color: var(--muted); }
.lead-final .form-msg.err { color: #b3261e; }
.lead-media img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 44px rgba(3, 12, 36, 0.45); background: #fff; }
.lead-previews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.lead-preview { margin: 0; }
.lead-preview img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.lead-preview figcaption { margin-top: 8px; font-size: 0.88rem; color: var(--muted); }
.lead-download { margin-top: 22px; }
.lead-download .btn { animation: none; }
.lead-note { color: #cdd9ee; margin-top: 12px; }
.lead-note.ok { color: #9fe3bd; }
.lead-note.warn { color: #ffd6d0; }
@media (max-width: 860px) {
  .hero--lead .hero-grid { grid-template-columns: 1fr; }
  .lead-previews { grid-template-columns: 1fr; }
}
.hero--lead .hero-grid:has(.hero-copy--lead) { grid-template-columns: 1fr; }
.hero-copy--lead { max-width: 620px; }
.lead-media--inline { margin: 18px 0 6px; max-width: 620px; }
.lead-media--inline img { box-shadow: 0 14px 36px rgba(3, 12, 36, 0.4); }
.header-utils .util-nav { font-weight: 600; }
@media (max-width: 760px) {
  .header-utils .util-nav { display: none; }
}
.pbuy--dark .form-msg { color: #ffd6d0; }
.pricing-tables { display: grid; grid-template-columns: 1fr 1.4fr; gap: 34px; margin-top: 10px; }
.pricing-tables h3 { margin: 0 0 8px; }
.cat-table a { color: inherit; text-decoration: none; }
.cat-table a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 760px) {
  .pricing-tables, .tier-grid { grid-template-columns: 1fr; }
}
.offer-pending [data-sale-price], .offer-pending .sale-line { visibility: hidden; }
.sale-sub { margin: 14px 0 0; font-size: 1.05rem; line-height: 1.6; color: #dbe6f6; max-width: 560px; }
.sale-line { margin: 12px 0 0; font-size: 0.95rem; line-height: 1.5; }
.pbuy--dark .sale-line { color: #dbe6f6; }
.sale-quote { max-width: 760px; margin: 22px auto; padding: 20px 24px; border-left: 4px solid #1b6ca8; background: #eaf1f8; border-radius: 0 12px 12px 0; font-size: 1.08rem; line-height: 1.6; color: #0b2545; }
.sale-text { max-width: 760px; margin: 0 auto; }
.sale-text p { margin: 0 0 14px; line-height: 1.65; }
.sale-card-meta { margin: 6px 0 0; font-size: 0.9rem; line-height: 1.45; color: var(--muted, #5a6b82); }
.sale-list { margin: 0; padding-left: 20px; line-height: 1.7; }
.sale-note { margin: 16px 0 0; font-size: 0.9rem; line-height: 1.55; color: var(--muted, #5a6b82); }
@media (max-width: 860px) {
  .hero-docs .sale-sub { font-size: 1rem; }
}
@keyframes ss-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
#hd-lb[hidden] { display: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue, #1b6ca8); text-decoration: underline; cursor: pointer; font: inherit; }
.legal { max-width: 760px; margin: 40px auto 60px; }
.legal h1 { margin-bottom: 18px; }
.legal h2 { margin: 26px 0 10px; font-size: 1.25rem; }
.muted-note { color: var(--muted, #5a6b82); font-size: 0.9rem; }
.util-nav { margin-right: 14px; font-weight: 600; color: var(--navy, #0e2350); text-decoration: none; }
@media (max-width: 860px) { .util-nav { display: none; } }
/* Price box at the foot of the sales page. Named sale-price: the pricing page has its own .price-card. */
.sale-price { max-width: 520px; margin: 0 auto 22px; padding: 28px 26px; background: #fff; border: 1px solid #d5e2f0; border-radius: 14px; text-align: left; box-shadow: 0 8px 24px rgba(11, 37, 69, .08); }
.sale-price h2 { margin: 6px 0 10px; font-size: 1.5rem; }
.sale-price__row { display: flex; align-items: baseline; gap: 14px; margin: 0 0 4px; }
.sale-price__row s { color: #7b8794; font-size: 1.3rem; }
.sale-price__amount { font-size: 2.8rem; font-weight: 800; color: var(--navy, #0e2350); line-height: 1; }
.sale-price__note { margin: 0 0 16px; color: #52606d; font-size: .95rem; }
.sale-price__ticks { list-style: none; margin: 0; padding: 0; }
.sale-price__ticks li { position: relative; padding: 6px 0 6px 28px; }
.sale-price__ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--blue, #1b6ca8); font-weight: 700; }
