/* =========================================================
   OPTV HD — SEO landing pages (subscription / trial / reseller)  v1.1
   File: templates/lagom2/optv/optv-pages.css
   Scoped under .pg — same design language as the homepage.
   ========================================================= */

.pg {
  --pg-accent: #0369A1;
  --pg-accent-dark: #075985;
  --pg-ink: #0B2239;
  --pg-text: #1E3247;
  --pg-muted: #41566E;
  --pg-sky: #E0F2FE;
  --pg-sky-2: #BAE6FD;
  --pg-light: #7DD3FC;
  --pg-line: #DCEAF5;
  --pg-bg: #F7FBFF;

  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--pg-ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; gap: 8px;
  padding-bottom: 24px;
}

/* ---------- Reset (beats Lagom) ---------- */
.pg *, .pg *::before, .pg *::after { box-sizing: border-box; }
body .pg h1, body .pg h2, body .pg h3 { margin: 0; color: inherit; font-family: inherit; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; text-transform: none; }
body .pg p { margin: 0; color: inherit; font-family: inherit; }
body .pg ul, body .pg ol { margin: 0; padding: 0; list-style: none; }
body .pg a { color: var(--pg-accent); text-decoration: none; }
body .pg a:hover { color: var(--pg-accent-dark); }
.pg svg { flex-shrink: 0; }
.pg :focus-visible { outline: 3px solid var(--pg-light); outline-offset: 2px; }

/* ---------- Common ---------- */
.pg-sec { padding: 56px 0 8px; }
.pg-sec--tight { padding-top: 40px; }
.pg-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pg-accent); }
.pg-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 28px; }
.pg-head--left { align-items: flex-start; text-align: left; }
body .pg .pg-head h2 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -.02em; color: var(--pg-ink); }
body .pg .pg-head p { font-size: 16.5px; color: var(--pg-muted); max-width: 640px; }
body .pg .pg-small { margin-top: 18px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--pg-muted); }
.pg-muted { color: var(--pg-muted); font-weight: 600; font-size: .9em; }

/* buttons */
body .pg .pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; font-size: 15.5px; line-height: 1.2; text-align: center; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
body .pg a.pg-btn:hover { transform: translateY(-1px); }
body .pg a.pg-btn--primary { background: var(--pg-accent); color: #fff; box-shadow: 0 14px 26px -14px rgba(3,105,161,.75); }
body .pg a.pg-btn--primary:hover { background: var(--pg-accent-dark); color: #fff; }
body .pg a.pg-btn--white { background: #fff; color: var(--pg-ink); }
body .pg a.pg-btn--white:hover { color: var(--pg-ink); box-shadow: 0 12px 24px -12px rgba(11,34,57,.35); }
body .pg a.pg-btn--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); color: #fff; }
body .pg a.pg-btn--ghost:hover { background: rgba(255,255,255,.16); color: #fff; }
body .pg .pg-btn--block { width: 100%; margin-top: auto; }
body .pg a.pg-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
body .pg a.pg-link--light { color: var(--pg-light); }
body .pg a.pg-link--light:hover { color: #fff; }

.pg-badge { flex: 0 0 auto; padding: 5px 10px; border-radius: 999px; background: #FDE68A; color: #713F12; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pg-badge--green { background: #DCFCE7; color: #166534; }
.pg-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--pg-sky); color: var(--pg-accent-dark); font-size: 12px; font-weight: 800; }

.pg-check { display: flex; flex-direction: column; gap: 10px; }
.pg-check li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; font-weight: 600; color: var(--pg-text); line-height: 1.45; }
.pg-check svg { color: var(--pg-accent); margin-top: 2px; }
.pg-check--plain li { font-weight: 500; font-size: 16px; line-height: 1.6; }
.pg-check--plain b { font-weight: 800; color: var(--pg-ink); }

/* =========================================================
   HERO
   ========================================================= */
.pg-hero {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 32px; padding: 44px 44px;
  background:
    radial-gradient(circle at 92% 0%, rgba(125,211,252,.6), transparent 42%),
    linear-gradient(160deg, #E8F6FF 0%, #D3EEFE 100%);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: center;
}
.pg-hero::after { content: ""; position: absolute; right: -140px; bottom: -180px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(3,105,161,.12); z-index: -1; }
.pg-hero__copy { display: flex; flex-direction: column; gap: 18px; }
.pg-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; color: var(--pg-muted); }
body .pg .pg-hero__title { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -.03em; color: var(--pg-ink); }
.pg-hero__title em { font-style: normal; color: var(--pg-accent); }
body .pg .pg-hero__lead { font-size: 17px; line-height: 1.65; color: var(--pg-muted); max-width: 580px; }
.pg-hero__lead b { color: var(--pg-ink); }
.pg-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pg-ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; font-weight: 700; color: #0B3A57; }
.pg-ticks span { display: inline-flex; align-items: center; gap: 6px; }
.pg-ticks svg { color: var(--pg-accent); }

/* hero stats */
.pg-hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pg-stat { padding: 20px; border-radius: 22px; background: rgba(255,255,255,.75); border: 1px solid #fff; backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 2px; box-shadow: 0 16px 30px -24px rgba(11,34,57,.45); }
.pg-stat b { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em; color: var(--pg-ink); }
.pg-stat span { font-size: 13.5px; font-weight: 700; color: var(--pg-muted); }
.pg-stat--wide { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; background: var(--pg-ink); border-color: var(--pg-ink); }
.pg-stat--wide span { color: #E0F2FE; }
.pg-stat__live { display: inline-flex; align-items: center; gap: 8px; }
.pg-stat__live i { width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }

/* hero ticket (trial page) */
.pg-hero__ticket { display: flex; justify-content: center; }
.pg-ticket { width: 100%; max-width: 340px; padding: 26px; border-radius: 26px; color: #fff; transform: rotate(-2deg);
  background: radial-gradient(circle at 90% 10%, rgba(125,211,252,.5), transparent 45%), linear-gradient(140deg, #0B2239 0%, #075985 60%, #0284C7 100%);
  box-shadow: 0 30px 50px -24px rgba(3,105,161,.7); display: flex; flex-direction: column; gap: 14px; }
.pg-ticket__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: #E0F2FE; }
.pg-ticket__price { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.pg-ticket__price small { font-size: 15px; font-weight: 700; color: var(--pg-sky-2); letter-spacing: 0; }
.pg-ticket__cut { border-top: 2px dashed rgba(255,255,255,.3); margin: 2px -26px; }
.pg-ticket__timer { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pg-ticket__timer div { flex: 1; text-align: center; padding: 10px 4px; border-radius: 14px; background: rgba(255,255,255,.12); }
.pg-ticket__timer b { display: block; font-size: 26px; font-weight: 800; line-height: 1; }
.pg-ticket__timer span { font-size: 11px; font-weight: 700; color: var(--pg-sky-2); text-transform: uppercase; letter-spacing: .06em; }
.pg-ticket__timer i { font-style: normal; font-weight: 800; color: var(--pg-light); }
.pg-ticket__rows { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: #E0F2FE; }
.pg-ticket__rows span { display: flex; justify-content: space-between; }
.pg-ticket__rows b { color: #fff; }

/* =========================================================
   PLAN CARDS
   ========================================================= */
.pg-plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.pg-plan { flex: 0 1 calc((100% - 54px) / 4); min-width: 230px; display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: 28px; background: #fff; border: 1px solid var(--pg-line); color: var(--pg-ink); box-shadow: 0 18px 40px -34px rgba(11,34,57,.45); transition: transform .2s ease, box-shadow .2s ease; }
.pg-plan:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -30px rgba(11,34,57,.4); }
.pg-plan--featured { background: linear-gradient(160deg, #0284C7 0%, #0369A1 50%, #0B3A5E 100%); border-color: #0369A1; color: #fff; box-shadow: 0 30px 50px -26px rgba(3,105,161,.75); }
.pg-plan__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
body .pg .pg-plan__name { font-size: 18px; color: var(--pg-ink); }
body .pg .pg-plan--featured .pg-plan__name { color: #fff; }
.pg-plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.pg-plan__amount { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.pg-plan__code { font-size: 13px; font-weight: 800; color: var(--pg-muted); margin-right: 4px; }
.pg-plan--featured .pg-plan__code { color: #CFE9FA; }
.pg-plan--featured .pg-pill { background: rgba(255,255,255,.16); color: #fff; }
body .pg .pg-plan__pm { font-size: 13.5px; font-weight: 600; color: var(--pg-muted); margin-top: -8px; }
.pg-plan__pm b { color: var(--pg-accent-dark); }
body .pg .pg-plan--featured .pg-plan__pm { color: #D6EEFC; }
.pg-plan--featured .pg-plan__pm b { color: #fff; }
.pg-plan .pg-check { padding-top: 14px; border-top: 1px solid var(--pg-line); }
.pg-plan--featured .pg-check { border-top-color: rgba(255,255,255,.2); }
.pg-plan--featured .pg-check li { color: #F0F9FF; }
.pg-plan--featured .pg-check svg { color: var(--pg-light); }
.pg-empty { padding: 40px 20px; border-radius: 24px; border: 1px dashed var(--pg-line); background: var(--pg-bg); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; color: var(--pg-muted); font-weight: 600; }

/* =========================================================
   TABLE
   ========================================================= */
.pg-tablewrap { overflow-x: auto; border-radius: 22px; border: 1px solid var(--pg-line); background: #fff; }
.pg-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.pg-table th, .pg-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--pg-line); vertical-align: middle; }
.pg-table thead th { background: var(--pg-bg); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pg-muted); }
.pg-table tbody th { font-weight: 800; color: var(--pg-ink); }
.pg-table tbody td { color: var(--pg-text); font-weight: 600; }
.pg-table tbody tr:last-child th, .pg-table tbody tr:last-child td { border-bottom: none; }
.pg-table tr.is-featured th, .pg-table tr.is-featured td { background: #F0F9FF; }
.pg-table tr.is-featured th::after { content: "Featured"; margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: #FDE68A; color: #713F12; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }

/* =========================================================
   TILES / STEPS / DEVICES
   ========================================================= */
.pg-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg-tile { padding: 26px; border-radius: 26px; background: #fff; border: 1px solid var(--pg-line); display: flex; flex-direction: column; gap: 10px; }
body .pg .pg-tile h3 { font-size: 18px; color: var(--pg-ink); }
body .pg .pg-tile p { font-size: 15px; color: var(--pg-muted); }
.pg-ico { width: 48px; height: 48px; border-radius: 15px; background: var(--pg-sky); color: var(--pg-accent); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.pg-ico--light { background: rgba(255,255,255,.1); color: var(--pg-light); }

.pg-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pg-steps, .pg-devices, .pg-checkcard { padding: 30px; border-radius: 28px; background: #fff; border: 1px solid var(--pg-line); display: flex; flex-direction: column; gap: 18px; }
body .pg .pg-steps h2, body .pg .pg-devices h2, body .pg .pg-checkcard h2 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.02em; color: var(--pg-ink); }
body .pg .pg-checkcard > p { color: var(--pg-muted); }
.pg-steps ol { display: flex; flex-direction: column; gap: 12px; }
.pg-steps li { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: var(--pg-bg); }
.pg-steps li b { display: block; color: var(--pg-ink); }
.pg-steps li span:not(.pg-num) { font-size: 14px; color: var(--pg-muted); }
.pg-num { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px; background: var(--pg-sky); color: var(--pg-accent); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pg-devices { background: var(--pg-ink); border-color: var(--pg-ink); color: #fff; }
body .pg .pg-devices h2 { color: #fff; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-chips span { padding: 10px 15px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 14px; font-weight: 700; color: #E0F2FE; }
.pg-devices .pg-link { color: var(--pg-light); margin-top: auto; }

.pg-steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.pg-steps4 li { padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--pg-line); display: flex; flex-direction: column; gap: 8px; }
.pg-steps4 li b { font-size: 17px; color: var(--pg-ink); }
.pg-steps4 li span:not(.pg-num) { font-size: 14.5px; color: var(--pg-muted); }

.pg-tipcard { padding: 30px; border-radius: 28px; color: #fff; display: flex; flex-direction: column; gap: 14px;
  background: radial-gradient(circle at 100% 0%, rgba(125,211,252,.3), transparent 50%), var(--pg-ink); }
body .pg .pg-tipcard h3 { font-size: 22px; color: #fff; }
.pg-tipcard ul { display: flex; flex-direction: column; gap: 10px; }
.pg-tipcard li { position: relative; padding-left: 18px; color: #D6EEFC; font-weight: 600; font-size: 15px; }
.pg-tipcard li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--pg-light); }
.pg-tipcard .pg-link { margin-top: auto; }

/* =========================================================
   ARTICLE (SEO copy)
   ========================================================= */
.pg-article { max-width: 860px; width: 100%; margin: 0 auto; }
body .pg .pg-article h3 { font-size: clamp(20px, 2.4vw, 24px); color: var(--pg-ink); margin: 30px 0 12px; letter-spacing: -.015em; }
body .pg .pg-article p { font-size: 16.5px; line-height: 1.75; color: var(--pg-text); margin-bottom: 14px; }
.pg-article p b { color: var(--pg-ink); }
body .pg .pg-article a:not(.pg-btn) { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--pg-sky-2); }
.pg-article .pg-check { margin: 4px 0 16px; }

/* =========================================================
   FAQ
   ========================================================= */
.pg-faq { max-width: 860px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.pg-faq details { background: #fff; border: 1px solid var(--pg-line); border-radius: 20px; padding: 18px 22px; }
.pg-faq details[open] { border-color: #B9D9EF; box-shadow: 0 16px 30px -26px rgba(11,34,57,.4); }
.pg-faq summary { display: flex; justify-content: space-between; gap: 12px; font-weight: 800; font-size: 16px; color: var(--pg-ink); cursor: pointer; list-style: none; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; flex: 0 0 auto; color: var(--pg-accent); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.pg-faq details[open] summary::after { transform: rotate(45deg); }
body .pg .pg-faq details p { margin-top: 10px; color: var(--pg-muted); line-height: 1.65; font-size: 15.5px; }

/* =========================================================
   CTA
   ========================================================= */
.pg-cta { margin-top: 56px; position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: 48px 44px; color: #fff;
  background:
    radial-gradient(circle at 88% 15%, rgba(125,211,252,.55), transparent 38%),
    linear-gradient(125deg, #0B2239 0%, #075985 50%, #0284C7 100%);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; box-shadow: 0 40px 70px -44px rgba(3,105,161,.85); }
.pg-cta::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); z-index: -1; }
.pg-cta__text { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.pg-cta__eyebrow { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); color: #E0F2FE; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
body .pg .pg-cta h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; color: #fff; }
body .pg .pg-cta p { color: #D6EEFC; font-size: 16.5px; }
.pg-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .pg-plan { flex-basis: calc((100% - 18px) / 2); }
  .pg-steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .pg-hero { grid-template-columns: 1fr; padding: 34px 28px; }
  .pg-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-split { grid-template-columns: 1fr; }
  .pg-ticket { transform: none; }
}

@media (max-width: 700px) {
  .pg-sec { padding-top: 44px; }
  .pg-hero { padding: 26px 18px; border-radius: 24px; gap: 24px; }
  body .pg .pg-hero__lead { font-size: 15.5px; }
  .pg-hero__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  body .pg .pg-hero__btns .pg-btn, body .pg .pg-cta__btns .pg-btn { padding: 13px 8px; font-size: 14.5px; }
  .pg-ticks { font-size: 12.5px; gap: 6px 14px; }
  .pg-stat { padding: 14px; border-radius: 18px; }
  .pg-ticket { max-width: none; padding: 20px 18px; }
  .pg-ticket__cut { margin: 2px -18px; }
  .pg-ticket__price { font-size: 38px; }

  .pg-plan { flex-basis: 100%; min-width: 0; padding: 22px; border-radius: 24px; }
  .pg-plan:hover { transform: none; }

  .pg-tiles, .pg-steps4 { grid-template-columns: 1fr; gap: 10px; }
  .pg-tile { padding: 20px; }
  .pg-steps, .pg-devices, .pg-checkcard, .pg-tipcard { padding: 22px 18px; border-radius: 24px; }

  .pg-table { font-size: 14px; }
  .pg-table th, .pg-table td { padding: 12px 14px; }

  body .pg .pg-article p, .pg-check--plain li { font-size: 15.5px; }

  .pg-cta { margin-top: 40px; padding: 30px 18px; border-radius: 24px; }
  .pg-cta__btns { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 8px; }
}

@media (max-width: 360px) {
  .pg-hero__btns, .pg-cta__btns { grid-template-columns: 1fr; }
}

/* =========================================================
   RESELLER BITS (credits on cards, panel illustration, credit map)
   ========================================================= */
.pg-credits { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pg-credits__pill { display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 16px; border-radius: 16px; background: var(--pg-sky); color: var(--pg-accent-dark); font-weight: 700; font-size: 15px; }
.pg-credits__pill b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.pg-credits__cpc { font-size: 13.5px; font-weight: 600; color: var(--pg-muted); }
.pg-credits__cpc b { color: var(--pg-ink); }
.pg-plan--featured .pg-credits__pill { background: rgba(255,255,255,.14); color: #fff; }
.pg-plan--featured .pg-credits__cpc { color: #D6EEFC; }
.pg-plan--featured .pg-credits__cpc b { color: #fff; }
.pg-check li.is-no svg { color: #B45309; }
.pg-plan--featured .pg-check li.is-no svg { color: #FDE68A; }
body .pg .pg-plan__note { font-size: 13px; line-height: 1.5; color: var(--pg-muted); padding: 10px 12px; border-radius: 12px; background: var(--pg-bg); }
body .pg .pg-plan--featured .pg-plan__note { background: rgba(255,255,255,.08); color: #D6EEFC; }

.pg-yes, .pg-no { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; }
.pg-yes { background: #DCFCE7; color: #166534; }
.pg-no { background: #FEF3C7; color: #92400E; }

/* hero panel illustration */
.pg-hero__panel { display: flex; justify-content: center; }
.pg-panel { width: 100%; max-width: 360px; padding: 20px; border-radius: 26px; color: #fff; display: flex; flex-direction: column; gap: 14px; transform: rotate(-1.5deg);
  background: radial-gradient(circle at 90% 0%, rgba(125,211,252,.45), transparent 45%), linear-gradient(150deg, #0B2239 0%, #0B3A5E 100%);
  box-shadow: 0 30px 50px -24px rgba(3,105,161,.7); }
.pg-panel__top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pg-sky-2); }
.pg-panel__dots { display: inline-flex; gap: 5px; }
.pg-panel__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); }
.pg-panel__dots i:first-child { background: var(--pg-light); }
.pg-panel__balance { display: flex; justify-content: space-between; align-items: flex-end; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.08); }
.pg-panel__balance span { font-size: 13px; font-weight: 700; color: var(--pg-sky-2); }
.pg-panel__balance b { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.pg-panel__rows { display: flex; flex-direction: column; gap: 8px; }
.pg-panel__rows div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.06); font-size: 13px; font-weight: 600; color: #E0F2FE; }
.pg-panel__rows span:nth-child(2) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-panel__av { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 9px; background: var(--pg-accent); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; }
.pg-panel__rows em { font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(34,197,94,.18); color: #86EFAC; }
.pg-panel__rows em.is-trial { background: rgba(125,211,252,.18); color: var(--pg-light); }
.pg-panel__btn { text-align: center; padding: 11px; border-radius: 999px; background: var(--pg-light); color: var(--pg-ink); font-weight: 800; font-size: 14px; }

/* credit map */
.pg-creditmap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pg-creditmap__item { padding: 20px 14px; border-radius: 22px; background: #fff; border: 1px solid var(--pg-line); text-align: center; display: flex; flex-direction: column; gap: 4px; }
.pg-creditmap__item span { font-size: 13.5px; font-weight: 700; color: var(--pg-muted); text-transform: capitalize; }
.pg-creditmap__item b { font-size: 40px; font-weight: 800; line-height: 1.05; color: var(--pg-ink); letter-spacing: -.03em; }
.pg-creditmap__item small { font-size: 12px; font-weight: 700; color: var(--pg-muted); text-transform: uppercase; letter-spacing: .06em; }
.pg-creditmap__item.is-free { background: linear-gradient(160deg, #0284C7, #0369A1); border-color: #0369A1; }
.pg-creditmap__item.is-free span, .pg-creditmap__item.is-free small { color: #D6EEFC; }
.pg-creditmap__item.is-free b { color: #fff; }
.pg-example { margin-top: 16px; display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 24px; background: var(--pg-ink); color: #fff; }
body .pg .pg-example p { color: #D6EEFC; font-size: 15.5px; line-height: 1.65; }
.pg-example b { color: #fff; }
.pg-example .pg-ico { flex: 0 0 48px; margin: 0; }

@media (max-width: 900px) {
  .pg-creditmap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg-panel { transform: none; max-width: none; }
}
@media (max-width: 700px) {
  .pg-creditmap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pg-creditmap__item:first-child { grid-column: 1 / -1; }
  .pg-creditmap__item b { font-size: 32px; }
  .pg-example { flex-direction: column; padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .pg *, .pg *::before, .pg *::after { transition: none !important; animation: none !important; }
}


/* Shared OPTV content width */
@media (min-width: 701px) {
  .pg {
    width: calc(100vw - 100px);
    max-width: none;
    position: static;
    left: auto;
    transform: none;
    margin-left: calc(50% - 50vw + 50px);
    margin-right: 0;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }
}

@media (max-width: 700px) {
  .pg {
    width: 100%;
    left: auto;
    transform: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Phones (< 768px): centre the plan card content. The feature list
   stays a left-aligned block, centred as a whole. (2026-11-19) */
@media (max-width: 767.98px) {
  .pg-plan { text-align: center; }
  .pg-plan__head { justify-content: center; flex-wrap: wrap; }
  .pg-plan__price { justify-content: center; }
  .pg-plan .pg-credits { justify-content: center; }
  .pg-plan .pg-check {
    display: grid;
    grid-template-columns: minmax(0, max-content);
    justify-content: center;
  }
  .pg-plan .pg-check li { text-align: left; }
}

/* Embedded blocks (homepage plans, store SEO block): no full-width breakout. */
.pg.pg--embed { width: auto; max-width: none; margin: 0; padding: 0; gap: 0; }
.pg.pg--store { padding-bottom: 48px; }

/* =========================================================
   /guide/ pages (optv-guide.tpl) - 2026-11-20
   ========================================================= */
.gd-lang { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--pg-line); margin-bottom: 14px; font-size: 13px; font-weight: 800; }
.gd-lang span, body .pg .gd-lang a { padding: 6px 14px; border-radius: 999px; }
.gd-lang span.is-active { background: var(--pg-accent); color: #fff; }
body .pg .gd-lang a { color: var(--pg-accent-dark); }
body .pg .gd-lang a:hover { background: var(--pg-sky); }

.gd-answer { max-width: 860px; margin: 0 auto; padding: 22px 24px; border-radius: 22px; background: var(--pg-sky); border: 1px solid var(--pg-sky-2); }
.gd-answer__label { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pg-accent-dark); margin-bottom: 6px; }
body .pg .gd-answer p { font-size: 17px; line-height: 1.7; color: var(--pg-ink); font-weight: 600; }

body .pg .gd-body h2 { font-size: clamp(22px, 2.8vw, 28px); color: var(--pg-ink); margin: 34px 0 12px; letter-spacing: -.015em; scroll-margin-top: 90px; }
body .pg .gd-body h2:first-child { margin-top: 0; }
body .pg .gd-body h3 { margin-top: 22px; }
body .pg .gd-body ul.gd-list, body .pg .gd-body ol.gd-steps { margin: 4px 0 18px; display: flex; flex-direction: column; gap: 10px; }
.gd-body ul.gd-list li, .gd-body ol.gd-steps li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.65; color: var(--pg-text); }
.gd-body ul.gd-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--pg-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230369A1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.gd-body ol.gd-steps { counter-reset: gd; }
.gd-body ol.gd-steps li { counter-increment: gd; }
.gd-body ol.gd-steps li::before { content: counter(gd); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--pg-accent); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.gd-body li b, .gd-body td b { color: var(--pg-ink); }
.gd-body .pg-tablewrap { margin: 6px 0 20px; }
body .pg .gd-body .gd-updated { margin-top: 26px; font-size: 13.5px; color: var(--pg-muted); }

.gd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
body .pg a.gd-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 22px; background: #fff; border: 1px solid var(--pg-line); color: var(--pg-ink); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
body .pg a.gd-card:hover { border-color: var(--pg-sky-2); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(3, 105, 161, .45); color: var(--pg-ink); }
.gd-card b { font-size: 17px; font-weight: 800; line-height: 1.3; }
.gd-card span { font-size: 14.5px; line-height: 1.55; color: var(--pg-muted); flex: 1; }
.gd-card em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 14px; font-weight: 800; color: var(--pg-accent); }
.gd-all { text-align: center; margin-top: 16px; }

.gd-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gd-pick { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 26px; background: #fff; border: 1px solid var(--pg-line); }
.gd-pick--dark { background: linear-gradient(160deg, #0B4F7C, #0B2239); border-color: transparent; color: #fff; }
.gd-pick--dark .pg-eyebrow { color: var(--pg-light); }
.gd-pick__price { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
body .pg .gd-pick p { font-size: 15px; line-height: 1.6; color: var(--pg-muted); flex: 1; }
body .pg .gd-pick--dark p { color: #D6EEFC; }
.gd-pick__btns { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 6px; }
body .pg a.gd-pick__more { font-size: 14px; font-weight: 800; }
body .pg .gd-pick--dark a.gd-pick__more { color: #fff; }

@media (max-width: 900px) {
  .gd-cards, .gd-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .gd-cards, .gd-picks { grid-template-columns: 1fr; gap: 10px; }
  .gd-answer { padding: 18px; }
  body .pg .gd-answer p { font-size: 16px; }
}
