/* Product-site additions on top of the XO Digital Systems styles (index.css). */

/* Skip link: hidden until focused. */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 4px; background: var(--action-primary); color: var(--action-primary-text); text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Plain WordPress pages (WooCommerce cart, account, anything without a page file). */
.xowp-wp-content-inner { max-width: 880px; margin: 0 auto; padding: 120px 24px 96px; }
.xowp-wp-content-inner h1 { margin: 0 0 24px; }

/* Product lockup: "XO | for WordPress" on one line. Its own class, so it does not inherit
   the agency logo's fixed-width box and stacked sub-label (.brand / .brand-name). */
.site-header .xowp-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--deep-ink); text-decoration: none; white-space: nowrap; }
.xowp-brand img { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; filter: brightness(.22); }
.xowp-brand-word { display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.xowp-brand-word b { font-family: var(--font-heading); font-size: 25px; font-weight: 800; letter-spacing: -0.02em; color: var(--deep-ink); }
.xowp-brand-rule { width: 1px; height: 18px; background: var(--hairline); }
.xowp-brand-for { font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: 0.01em; color: var(--body); }
.xowp-brand:hover .xowp-brand-for, .xowp-brand:focus-visible .xowp-brand-for { color: var(--action-primary); }
@media (max-width: 380px) {
  .xowp-brand { gap: 8px; }
  .xowp-brand img { width: 32px; height: 32px; }
  .xowp-brand-word { gap: 8px; }
  .xowp-brand-word b { font-size: 21px; }
  .xowp-brand-for { font-size: 13px; }
}

/* Founding price shown as a sale on the pricing cards. */
.xowp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.xowp-founding-flag { display: inline-flex; align-self: flex-start; width: fit-content; align-items: center; gap: 8px; margin: 4px 0 12px; padding: 4px 10px 4px 4px; border-radius: 999px; background: color-mix(in srgb, var(--action-primary) 10%, transparent); color: var(--action-primary); font-size: 13px; font-weight: 600; }
.xowp-founding-flag span { padding: 3px 9px; border-radius: 999px; background: var(--action-primary); color: var(--action-primary-text, #fff); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.plan-card h2.xowp-sale-price { align-items: baseline; }
.xowp-was { color: #7a8590; font-size: 0.62em; font-weight: 500; text-decoration-thickness: 1.5px; text-decoration-color: color-mix(in srgb, #8c2234 70%, transparent); }
.xowp-was-small { margin-left: 6px; color: #7a8590; font-weight: 400; text-decoration-color: color-mix(in srgb, #8c2234 70%, transparent); }
.plan-price-details .xowp-founding-note { color: var(--body); font-size: 13px; }

/* In-page links land below the fixed header. */
html { scroll-padding-top: 96px; }

/* "How an order moves": four steps read as one row on desktop, two by two on tablets. */
@media (min-width: 700px) and (max-width: 1099px) { .xowp-steps .xowp-hints-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .xowp-steps .xowp-hints-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Login / My account page (2026-11-19). Sits inside the waiting-list card styles. */
.xowp-account-welcome { margin: 0 0 20px; padding: 14px 16px; border-radius: 10px; background: color-mix(in srgb, var(--action-primary, #2363ed) 10%, #fff); color: #24324f; font-size: 15px; }
.xowp-account-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.xowp-account-head h2 { margin: 0; }
.xowp-account-email { margin: 0; color: #5a6680; font-size: 14px; overflow-wrap: anywhere; }
.xowp-licence { padding: 20px; margin-bottom: 14px; border: 1px solid #c8d6ec; border-radius: 12px; background: #fff; }
.xowp-licence.is-ended { opacity: .72; }
.xowp-licence-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.xowp-licence-top h3 { margin: 0; font-size: 19px; color: #101827; }
.xowp-licence-status { padding: 3px 10px; border-radius: 999px; background: #eef3fb; color: #24324f; font-size: 12px; font-weight: 600; }
.xowp-licence-date { margin: 8px 0 0; color: #5a6680; font-size: 14px; }
.xowp-licence-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 16px 0; padding: 10px 12px; border-radius: 8px; background: #f4f7fc; }
.xowp-licence-key span { color: #5a6680; font-size: 13px; }
.xowp-licence-key code { font-family: var(--font-mono, ui-monospace, Consolas, monospace); font-size: 15px; letter-spacing: .04em; color: #101827; overflow-wrap: anywhere; }
.xowp-licence-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.xowp-licence-actions .button { min-height: 46px; }
.xowp-licence-empty { color: #5a6680; }
.xowp-text-button { padding: 0; border: 0; background: none; color: var(--action-primary, #2363ed); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.xowp-account-foot { margin: 18px 0 0; }

/* Pricing: Monthly / Yearly switch (2026-11-22). Each founding card carries both prices;
   .xowp-yearly on the plan grid shows the yearly one. */
.xowp-m, .xowp-y { font-style: normal; }
.xowp-m { display: contents; }
.xowp-y { display: none; }
.xowp-yearly .xowp-m { display: none; }
.xowp-yearly .xowp-y { display: contents; }
.xowp-yearly p.xowp-y { display: block; }
.plan-price-details p.xowp-m { display: block; }
.xowp-yearly .plan-price-details p.xowp-m { display: none; }
.xowp-period { display: flex; width: fit-content; margin: 0 auto 28px; padding: 4px; gap: 4px; border: 1px solid #c8d6ec; border-radius: 999px; background: #fff; }
.xowp-period[hidden] { display: none; }
.xowp-period button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 18px; border: 0; border-radius: 999px; background: none; color: #24324f; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.xowp-period button span { padding: 2px 8px; border-radius: 999px; background: #eef3fb; color: #1d4fbf; font-size: 12px; font-weight: 600; }
.xowp-period button[aria-pressed="true"] { background: var(--action-primary, #2363ed); color: var(--action-primary-text, #fff); }
.xowp-period button[aria-pressed="true"] span { background: rgba(255, 255, 255, .2); color: inherit; }
.xowp-period button:focus-visible { outline: 2px solid var(--action-primary, #2363ed); outline-offset: 2px; }
