/* Holiday offer pages (tools/make-offers.mjs), on top of page.css: a two-column hero with the deal card. */
.offer-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.offer-hero h1 { font-size: clamp(42px, 5.6vw, 72px); }
.offer-when { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 15px; color: var(--ink-2); background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 11px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.offer-when .ico { width: 16px; height: 16px; color: var(--ink); }
.offer-hero .cta-row { margin-top: 22px; }
.offer-jump { display: none; }

.deal { position: relative; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 28px; padding: 26px 26px 22px; box-shadow: var(--shadow); }
.deal-time { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); background: var(--soft); border-radius: 999px; padding: 6px 12px; }
.deal-time b { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 700; }
.deal-time .dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18); }
.deal-time.ended .dot { background: var(--mute); box-shadow: none; }
.deal-time.soon .dot { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2); }
.deal-plan { margin-top: 18px; font-size: 15px; font-weight: 700; }
.deal-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin-top: 4px; }
.deal-price .now { font-size: 60px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.deal-price s { font-size: 22px; color: var(--mute); }
.deal-price .per { font-size: 14px; color: var(--mute); }
.deal-span { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.deal-more { list-style: none; margin-top: 14px; display: grid; gap: 6px; font-size: 14px; }
.deal-more li { display: flex; align-items: baseline; gap: 6px; padding: 8px 12px; border-radius: 12px; background: var(--soft); }
.deal-more li span { flex: 1; color: var(--ink-2); }
.deal-more s { color: var(--mute); font-size: 13px; }
.deal-more em { font-style: normal; color: var(--mute); font-size: 12px; }
.deal-gets { list-style: none; margin: 18px 0 20px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14.5px; }
.deal-gets li { display: flex; align-items: center; gap: 10px; }
.deal-gets .ico { width: 16px; height: 16px; color: var(--ink); }
.deal-btn { width: 100%; justify-content: center; }
.deal-note { margin-top: 10px; font-size: 13px; color: var(--mute); text-align: center; }
.deal-over { font-size: 15px; font-weight: 600; margin-bottom: 10px; text-align: center; }
.deal-code { margin-top: 14px; font-size: 13px; color: var(--ink-2); text-align: center; }
.deal-code b { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; letter-spacing: 0.02em; background: var(--soft); border-radius: 6px; padding: 2px 6px; }
.deal-fine { margin-top: 6px; font-size: 12px; color: var(--mute); text-align: center; }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .offer-grid { grid-template-columns: 1fr; gap: 32px; }
  .deal { max-width: 520px; scroll-margin-top: 80px; }
  .offer-jump { display: inline-flex; }
}
@media (max-width: 480px) {
  .deal { padding: 22px 18px 18px; border-radius: 24px; }
  .deal-price .now { font-size: 50px; }
}
