/* ════════════════════════════════════════════════════════════════
   Try 2 weeks for €1 (js/plans.js ORIVEN_INTRO_OFFER, first Flex purchase), the 14-day money-back
   line (regular plans), the end-of-Flex prompt and the demo links. Public pages (index.html, home.html, generated
   pages) and the app (paywall + onboarding plan cards). Reuses the existing
   tokens: --green (Electric Lime, app + pricing cards), --volt / --text-*
   (landing). No new colours.
   ════════════════════════════════════════════════════════════════ */

/* Screen-reader-only text ("Regular price" before a struck-through price). */
.ov-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Public pricing cards ─────────────────────────────────────────── */
.ov-pc-price--intro { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 2px; }
.ov-pc-price--intro .ov-pc-period { flex-basis: 100%; }
.ov-pc-was { font-size: .46em; font-weight: 500; color: rgba(255, 255, 255, .5); text-decoration-thickness: 1.5px; text-decoration-color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.ov-pc--period .ov-pc-cta { align-self: end; display: grid; gap: 10px; }
.ov-pc-refund { margin: 0; font-size: 12px; line-height: 1.45; color: rgba(255, 255, 255, .6); text-align: center; text-wrap: balance; }
.ov-pc-refund a { color: rgba(255, 255, 255, .78); text-underline-offset: 2px; }
.ov-pc-refund a:hover { color: #fff; }

/* Refund block under the five cards: its own band directly below the pricing
   section (so the section's dot field keeps ending just below the cards). */
.ov-refund-wrap { position: relative; z-index: 1; padding: 0 24px 8px; }
.ov-refund-wrap .ov-sp-section-inner { max-width: 1360px; margin: 0 auto; }
.ov-refund-wrap .ov-refund { margin-top: 0; }
@media (max-width: 760px) { .ov-refund-wrap { padding: 0 20px 8px; } }
.ov-refund { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px 18px; margin: 18px 0 0; padding: 18px 22px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: rgba(255, 255, 255, .03); }
.ov-refund__icon { width: 26px; height: 26px; color: var(--green, #B6FF3B); }
.ov-refund__t { margin: 0 0 3px; font-size: 15px; font-weight: 600; color: #F2F2F0; }
.ov-refund__d { margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .68); max-width: 70ch; }
.ov-refund__d a { color: rgba(255, 255, 255, .86); text-underline-offset: 2px; }
.ov-refund__demo { justify-self: end; white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--green, #B6FF3B); text-decoration: none; }
.ov-refund__demo:hover { text-decoration: underline; text-underline-offset: 3px; }
.ov-refund a:focus-visible, .ov-pc-refund a:focus-visible { outline: 2px solid var(--green, #B6FF3B); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 760px) {
  .ov-refund { grid-template-columns: auto 1fr; padding: 16px; }
  .ov-refund__demo { grid-column: 1 / -1; justify-self: start; white-space: normal; }
}

/* ── Landing (Ink & Signal tokens from css/landing.css) ───────────── */
.ik-hero__fine { margin: -10px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-3, #7A7F73); }
.ik-hero__fine a, .ik-demo-note a { color: var(--text-2, #A6AA9F); text-underline-offset: 3px; }
.ik-hero__fine a:hover, .ik-demo-note a:hover { color: var(--text, #ECEEE6); }
.ik-demo-note { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: var(--text-3, #7A7F73); }
.ik-head--center .ik-demo-note { text-align: center; }

/* ── App: paywall (pw-card), plan cards (pl-card), onboarding (onx-plan) ── */
.orv-was { margin-left: 8px; font-size: .5em; font-weight: 500; color: rgba(255, 255, 255, .5); vertical-align: middle; }
.orv-intro-then { color: rgba(255, 255, 255, .7); }

/* ── Paywall: money-back line; longer plans highlighted after Flex ── */
.orv-guarantee { color: rgba(255, 255, 255, .62); font-size: 12px; }
.orv-pw-long .pw-card.orv-pw-value { border-color: color-mix(in srgb, var(--green, #B6FF3B) 45%, transparent); }
.orv-pw-save { display: inline-block; margin-bottom: 8px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #0B0C0A; background: var(--green, #B6FF3B); }

/* ── End of Flex: the prompt to choose a regular plan (js/flexReminder.js) ── */
.orv-flex-prompt { position: fixed; z-index: 9000; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(440px, calc(100vw - 32px)); padding: 18px 18px 16px; border-radius: 16px; background: #121311; color: #ECEEE6; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .85); font: 14px/1.5 Geist, Inter, system-ui, sans-serif; }
.orv-flex-prompt__t { margin: 0 0 4px; font-size: 15.5px; font-weight: 600; text-wrap: balance; }
.orv-flex-prompt__d { margin: 0 0 14px; color: rgba(236, 238, 230, .72); }
.orv-flex-prompt__row { display: flex; gap: 8px; }
.orv-flex-prompt__go { min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--green, #B6FF3B); color: #0B0C0A; font: 600 13.5px Geist, Inter, system-ui, sans-serif; cursor: pointer; }
.orv-flex-prompt__later { min-height: 38px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: transparent; color: rgba(236, 238, 230, .8); font: 500 13.5px Geist, Inter, system-ui, sans-serif; cursor: pointer; }
.orv-flex-prompt button:focus-visible { outline: 2px solid var(--green, #B6FF3B); outline-offset: 2px; }
@media (max-width: 640px) { .orv-flex-prompt { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; transform: none; } }
.ov-pc-refund--none { visibility: hidden; }
/* Flex card with the €1 trial: the first-purchase note stays small */
.ov-pc.ov-pc-intro .ov-pc-duration { font-size: 13px; font-weight: 500; line-height: 1.45; color: rgba(255, 255, 255, .7); }

/* ── /demo: a normal public page; the interactive demo in a contained workspace frame (index.html #view-demo) ──
   Margins on every side, a gap under the navbar, a bordered rounded frame with a slim
   window strip, the CTA bar below the frame. The app inside keeps its own responsive
   layout (it is never scaled down): wide frame = desktop app, narrow frame = mobile app. */
.ov-demo-hero { --demo-gap: 24px; --demo-side: clamp(16px, 3.2vw, 48px); display: flex; flex-direction: column; gap: 16px; padding: var(--demo-gap) var(--demo-side) 32px; background: #0B0C0A; }
.ov-demo-hero__frame { display: flex; flex-direction: column; width: 100%; max-width: 1360px; margin: 0 auto; height: calc(100vh - var(--lp-nav-h, 64px) - 140px); height: calc(100dvh - var(--lp-nav-h, 64px) - 140px); min-height: 480px; max-height: 920px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; overflow: hidden; background: #0B0C0A; }
.ov-demo-hero__chrome { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: #121411; font-size: 12px; color: rgba(242, 242, 240, .55); }
.ov-demo-hero__dots { display: inline-flex; gap: 6px; } .ov-demo-hero__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.ov-demo-hero__label { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: center; font-weight: 500; }
.ov-demo-hero__ro { flex: 0 0 auto; padding: 2px 8px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.ov-demo-hero__view { position: relative; flex: 1 1 auto; min-height: 0; }
.ov-demo-hero__view iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #0B0C0A; }
.ov-demo-hero__loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-size: 14px; color: rgba(242, 242, 240, .55); }
.ov-demo-hero__bar { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 1360px; margin: 0 auto; padding: 10px 10px 10px 20px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; background: #101210; }
.ov-demo-hero__t { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 14px; color: #F2F2F0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-demo-hero__t b { font-weight: 600; } .ov-demo-hero__t span { color: rgba(242, 242, 240, .55); }
.ov-demo-hero__cta { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--green, #B6FF3B); color: #0B0C0A; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ov-demo-hero__cta:hover { background: #C9FF6B; }
.ov-demo-hero__cta:focus-visible, .ov-demo-hero__view iframe:focus-visible { outline: 2px solid var(--green, #B6FF3B); outline-offset: 2px; }
.ov-demo { padding: 64px 24px 72px; }
.ov-demo__in { max-width: 980px; margin: 0 auto; }
.ov-demo__h2 { margin: 10px 0 24px; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; color: #F2F2F0; text-wrap: balance; }
.ov-demo__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.ov-demo__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ov-demo__list li { padding: 16px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; background: rgba(255, 255, 255, .025); font-size: 14px; line-height: 1.45; color: rgba(242, 242, 240, .66); }
.ov-demo__list b { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; color: #F2F2F0; }
.ov-demo__note { margin: 16px 0 0; font-size: 13.5px; line-height: 1.5; color: rgba(242, 242, 240, .5); }
.ov-demo__g { margin: 12px 0 0; font-size: 13px; color: rgba(242, 242, 240, .7); }
@media (max-width: 1100px) { .ov-demo__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .ov-demo-hero { --demo-gap: 16px; gap: 12px; padding-bottom: 24px; }
  .ov-demo-hero__frame { height: calc(100vh - var(--lp-nav-h, 64px) - 172px); height: calc(100dvh - var(--lp-nav-h, 64px) - 172px); min-height: 460px; border-radius: 14px; }
  .ov-demo-hero__chrome { height: 32px; padding: 0 12px; }
  .ov-demo-hero__dots { display: none; }
  .ov-demo-hero__label { text-align: left; }
  .ov-demo-hero__bar { flex-wrap: wrap; gap: 10px; padding: 12px; }
  .ov-demo-hero__t span { display: none; }
  .ov-demo-hero__t { flex-basis: 100%; font-size: 13.5px; white-space: normal; }
  .ov-demo-hero__cta { flex: 1 1 100%; min-height: 44px; }
  .ov-demo { padding: 48px 16px 56px; }
  .ov-demo__list { grid-template-columns: minmax(0, 1fr); }
}
/* The money-back sentence (plans.js ORIVEN_GUARANTEE_TEXT) under plans and calls to action */
.pw-guarantee { margin: 14px 0 0; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .66); }
.orv-flex-prompt__g { margin: -6px 0 14px; font-size: 12.5px; color: rgba(236, 238, 230, .6); }
.ik-final__fine { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--text-3, #7A7F73); }
