/* An offer has one focal point: the price. Same treatment in the site and console. */
.offer-strip { --offer-gold: #f1bc04; display: flex; align-items: center; justify-content: center; gap: 28px; min-height: 58px; padding: 6px 24px; background: var(--c-dark); color: var(--c-on-dark); font-size: 14px; flex: 0 0 auto; }
.offer-strip[hidden], .offer-card[hidden] { display: none; }
.offer-strip-content { display: flex; align-items: center; gap: 22px; min-width: 0; }
.offer-strip-badge { color: var(--offer-gold); font-size: 12px; font-weight: 600; white-space: nowrap; }
.offer-strip-copy { line-height: 1.5; }
.offer-strip-copy strong { font-weight: 650; }
.offer-strip-copy > span { color: var(--c-on-dark-2); }
.offer-strip button { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--c-on-dark); font: inherit; font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
/* The offer opens in the shared modal (app.css, THE MODAL); the card inside is the same one the site and admin preview draw. */
.offer-dialog { --modal-w: 480px; }
.offer-panel { background: var(--c-paper); overflow-y: auto; overscroll-behavior: contain; }
.offer-panel .offer-close { position: absolute; top: 18px; right: 18px; z-index: 1; }
.offer-card { --offer-gold: #f1bc04; color: var(--c-ink); background: var(--c-paper); padding: 32px; border-radius: 20px; overflow-wrap: anywhere; }
.offer-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-right: 24px; margin-bottom: 24px; }
.offer-chip { display: inline-block; padding: 6px 10px; border-radius: 6px; background: var(--offer-gold); color: #1b1a18; font-size: 11px; font-weight: 650; }
.offer-tier { font-size: 12px; color: var(--c-ink-3); font-weight: 600; }
.offer-card .offer-title { font-size: clamp(26px, 3vw, 34px); line-height: 1.13; letter-spacing: -.045em; font-weight: 600; margin: 0 0 12px; text-wrap: balance; }
.offer-card .offer-message { font-size: 14px; line-height: 1.6; color: var(--c-ink-2); margin: 0; }
.offer-rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 24px; }
.offer-rate strong { font-size: 72px; font-weight: 550; letter-spacing: -.075em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.offer-rate[data-long="true"] { flex-direction: column; align-items: flex-start; gap: 4px; }
.offer-rate[data-long="true"] strong { font-size: 48px; letter-spacing: -.055em; }
.offer-rate[data-long="true"] br { display: none; }
.offer-rate > span { line-height: 1.3; color: var(--c-ink-3); font-size: 15px; white-space: nowrap; }
.offer-card .offer-addons { font-size: 12px; line-height: 1.6; color: var(--c-ink-3); margin: 8px 0 22px; max-width: 34ch; }
.offer-minimum { border-top: 1px solid var(--c-line); padding-top: 18px; }
.offer-minimum p { font-size: 16px; margin: 0 0 5px; line-height: 1.5; }
.offer-minimum strong { font-weight: 650; }
.offer-standard { display: block; font-size: 12px; line-height: 1.5; color: var(--c-ink-3); }
.offer-standard:empty { display: none; }
.offer-card .offer-tax { font-size: 11px; color: var(--c-ink-3); margin: 8px 0 18px; }
.offer-details { border-top: 1px solid var(--c-line); margin-bottom: 20px; }
.offer-details summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; list-style: none; font-size: 12px; font-weight: 550; cursor: pointer; }
.offer-details summary::-webkit-details-marker { display: none; }
.offer-details[open] summary > span { transform: rotate(45deg); }
.offer-details > div { padding-bottom: 8px; }
.offer-details p { font-size: 12px; line-height: 1.6; color: var(--c-ink-2); margin: 0 0 10px; }
.offer-card .offer-claim { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 16px; border-radius: 12px; background: var(--c-ink); color: var(--c-paper); font-size: 14px; font-weight: 600; text-decoration: none; transition: transform 140ms cubic-bezier(.23,1,.32,1), background-color 140ms ease; }
.offer-claim[aria-disabled] { cursor: default; }
.offer-claim:active { transform: scale(.98); }
.offer-card .offer-deadline { font-size: 11px; color: var(--c-ink-3); text-align: center; line-height: 1.5; margin: 12px 0 0; }
.offer-strip button:focus-visible { outline: 2px solid var(--offer-gold); outline-offset: 4px; }
.offer-card a:focus-visible, .offer-details summary:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .offer-card a.offer-claim:hover { background: var(--c-ink-2); }
}
@media (max-width: 600px) {
  .offer-strip { justify-content: space-between; gap: 12px; padding: 8px 16px; font-size: 12px; }
  .offer-strip-content { display: block; }
  .offer-strip-badge { display: block; font-size: 10px; margin-bottom: 2px; }
  .offer-strip-copy { display: block; }
  .offer-strip-copy > span { display: block; }
  .offer-card { padding: 28px 24px; }
  .offer-rate strong { font-size: 64px; }
  .offer-rate[data-long="true"] strong { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .offer-card .offer-claim { transition: none; } .offer-claim:active { transform: none; } }


/* A private offer for one company (workspace-offer.js): the same words in the
   pop-up, on Billing and in the admin's preview. The rate is the focal point;
   the terms are a short label/value list, the deadline sits under them. */
/* The private offer's top line stands in for the site campaign's. */
.has-wso-strip #site-promotion-banner { display: none; }
@media (max-width: 600px) { .wso-strip-lead { display: none; } }
.wso-dialog { --modal-w: 520px; }
.wso { color: var(--c-ink); overflow-wrap: anywhere; }
.wso-note { margin: 0 0 18px; padding: 12px 14px; border-left: 2px solid var(--bill-gold, #f1bc04); background: var(--c-sunk); border-radius: 0 var(--ui-r-control) var(--ui-r-control) 0; }
.wso-note p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--c-ink-2); white-space: pre-line; }
.wso-note cite { display: block; margin-top: 6px; font-size: 12px; font-style: normal; color: var(--c-ink-3); }
.wso-price { margin: 0 0 14px; }
.wso-rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 0; font-variant-numeric: tabular-nums; }
.wso-rate strong { font-size: 44px; line-height: 1.08; font-weight: 600; letter-spacing: -.05em; }
.wso-rate span { font-size: 13px; color: var(--c-ink-3); }
.wso-addons { margin: 4px 0 0; font-size: 12px; line-height: 1.6; color: var(--c-ink-3); }
.wso-terms { margin: 0; }
.wso-terms > div { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--c-line); font-size: 13px; line-height: 1.5; }
.wso-terms dt { color: var(--c-ink-3); font-size: 12px; line-height: 1.6; }
.wso-terms dd { margin: 0; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.wso-deadline { margin: 0 0 12px; font-size: 12px; font-weight: 600; color: var(--c-ink-2); }
.bill-offer { margin: 0 0 16px; padding: 24px; border: 1px solid var(--bill-gold, #f1bc04); }
.bill-offer[hidden] { display: none; }
.bill-offer h2 { margin: 0 0 14px; font-size: 22px; line-height: 1.2; letter-spacing: -.03em; font-weight: 600; }
.bill-offer-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.bill-offer-act button { min-height: 40px; padding: 10px 16px; font-size: 13px; font-weight: 600; }
.bill-offer-act button[hidden] { display: none; }
.bill-offer-act .bill-meta { margin: 0; flex: 1 1 220px; }
.bill-offer:focus { outline: none; }
/* Pointed to from the rail or the plan card: a brief ring, then still. */
.bill-offer.is-pointed { animation: bill-offer-point 1.6s var(--ease-out, ease-out) 1; }
@keyframes bill-offer-point { 0%, 40% { box-shadow: 0 0 0 4px rgba(241, 188, 4, .45); } 100% { box-shadow: 0 0 0 0 rgba(241, 188, 4, 0); } }
.bill-wallet-bottom button[hidden] { display: none; }
.bill-nowrap { white-space: nowrap; }
@media (max-width: 600px) {
  .wso-terms > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .wso-rate strong { font-size: 38px; }
  .bill-offer { padding: 18px; }
  .bill-offer-act button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .bill-offer.is-pointed { animation: none; box-shadow: 0 0 0 2px rgba(241, 188, 4, .6); } }

/* A note our team set for one company (banner.js · Admin → Banners): the
   offer strip's dress, with a link and a way to hide it. */
.ws-banner .offer-strip-copy > span { margin-left: 6px; }
.ws-banner-acts { display: flex; align-items: center; gap: 14px; flex: none; }
.ws-banner-link { color: var(--c-on-dark); font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 5px; }
.ws-banner-link:focus-visible { outline: 2px solid var(--offer-gold); outline-offset: 4px; }
.ws-banner .ws-banner-x { width: 36px; min-height: 36px; padding: 0; text-decoration: none; font-size: 20px; line-height: 1; color: var(--c-on-dark-2); }
.ws-banner .ws-banner-x:hover { color: var(--c-on-dark); }
@media (max-width: 760px) {
  .ws-banner .offer-strip-copy > span { display: block; margin-left: 0; }
  .ws-banner-acts { gap: 8px; }
}
