/* ==========================================================================
   PROPHET product pages (computerAstroDes.html, androidAstroDes.html)
   Builds on home.css (tokens, buttons, cards, hero, stats, reveal), so the
   page's <main> carries both classes: <main class="home prophet">.
   downloads.html and products.html also load this file for its shared
   pieces (download tiles, notes, numbered lists) before catalog.css, and
   aboutUs.html uses its section menu and lightbox before about.css.
   ========================================================================== */

/* the fixed header (72px) + the sticky section menu (~58px) */
html:root {
  scroll-padding-top: 140px;
}

@media (max-width: 991.98px) {
  html:root {
    scroll-padding-top: 124px;
  }
}

/* ---------- hero ---------- */
.p-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  animation: h-rise 1s var(--ease) 0.15s both;
}

.p-visual-glow {
  position: absolute;
  inset: 4% 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.32) 0%, rgba(118, 75, 162, 0.12) 45%, transparent 70%);
}

.p-visual-main {
  position: relative;
  display: block;
  margin-inline: auto;
  line-height: 0;
  filter: drop-shadow(0 30px 40px rgba(15, 23, 42, 0.22));
}

.p-visual-main img {
  width: 100%;
  height: auto;
}

.p-visual--windows .p-visual-main {
  width: 92%;
  padding: 8% 0 10%;
}

.p-visual--phone .p-visual-main {
  width: 58%;
  padding: 4% 0;
}

.p-visual .h-float--ai {
  top: 2%;
  left: 0;
}

.p-visual .h-float--dl {
  right: 0;
  bottom: 6%;
}

.p-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.6rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.p-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.p-meta .bi {
  color: var(--accent);
}

.p-hero-note {
  max-width: 34rem;
  margin: -0.5rem 0 1.8rem;
}

/* five stats instead of four */
.h-stats--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* ---------- sticky section menu ---------- */
.p-subnav {
  position: sticky;
  top: 72px;
  z-index: 1020;
  margin-top: 2.5rem;
  background: rgba(255, 255, 255, 0.86);
  border-block: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}

.p-subnav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 58px;
}

.p-subnav-title {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.p-subnav-links {
  display: flex;
  flex: 1;
  gap: 0.25rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.p-subnav-links::-webkit-scrollbar {
  display: none;
}

.p-subnav-links a,
.p-subnav-links a:visited {
  flex-shrink: 0;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.p-subnav-links a:hover {
  color: var(--accent);
  background: rgba(79, 70, 229, 0.06);
}

.p-subnav-links a.is-current {
  color: var(--accent);
  background: rgba(79, 70, 229, 0.1);
}

.p-subnav .h-btn {
  flex-shrink: 0;
}

/* ---------- features ---------- */
.p-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.p-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}

.p-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 70, 229, 0.18);
  box-shadow: var(--shadow-md);
}

.p-feature--wide {
  grid-column: span 2;
}

.p-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  font-size: 1.4rem;
  color: var(--tone, var(--accent));
  background: var(--tone-soft, #eef0ff);
  border-radius: 16px;
}

.p-ico img {
  width: 30px;
  height: 30px;
}

.home .p-feature h3 {
  font-size: 1.18rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

.p-feature p,
.p-feature li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
}

.p-list {
  display: grid;
  gap: 0.55rem;
}

.p-list li {
  position: relative;
  padding-left: 1.4rem;
}

.p-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0.2rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tone, var(--accent));
  opacity: 0.7;
}

.p-feature--wide .p-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1.75rem;
}

.p-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.p-langs li {
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4338ca;
  background: #eef0ff;
  border-radius: 999px;
}

/* tone per feature card */
.p-t1 { --tone: #4f46e5; --tone-soft: #eef0ff; }
.p-t2 { --tone: #e11d48; --tone-soft: #ffe4e8; }
.p-t3 { --tone: #d97706; --tone-soft: #fef3c7; }
.p-t4 { --tone: #0891b2; --tone-soft: #e0f6fb; }
.p-t5 { --tone: #9333ea; --tone-soft: #f3e8ff; }
.p-t6 { --tone: #059669; --tone-soft: #e7f8f0; }
.p-t7 { --tone: #2563eb; --tone-soft: #e8f0fe; }
.p-t8 { --tone: #c2410c; --tone-soft: #fff1e6; }

/* ---------- numbered steps ---------- */
.p-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}

.p-step {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.p-step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  border-radius: 12px;
  box-shadow: 0 10px 20px -10px rgba(102, 126, 234, 0.9);
}

/* dashed connector between steps */
.p-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.85rem;
  left: calc(1.5rem + 48px);
  right: -1.25rem;
  border-top: 2px dashed rgba(102, 126, 234, 0.3);
}

.p-step strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.p-step p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

/* .home p resets margins, so this needs the .home prefix to win */
.home .p-note {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--text);
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 16px;
}

.p-note > .bi {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 1.15rem;
  color: #d97706;
}

.p-note ul {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.35rem;
}

.p-note li {
  position: relative;
  padding-left: 1rem;
}

.p-note li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #d97706;
}

.home .p-note--info {
  background: #f3f4ff;
  border-color: rgba(102, 126, 234, 0.25);
}

.p-note--info > .bi {
  color: var(--accent);
}

/* ---------- videos ---------- */
.p-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.p-video {
  overflow: hidden;
  background: #0b1020;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.p-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
}

.p-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.p-video figcaption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.2rem;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  color: #e2e8f0;
}

.p-video figcaption .bi {
  color: #a5b4fc;
}

/* ---------- screenshot gallery ---------- */
.p-gallery-langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.p-gallery-langs button {
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.p-gallery-langs button:hover {
  color: var(--accent);
  border-color: rgba(79, 70, 229, 0.3);
}

.p-gallery-langs button[aria-selected="true"] {
  color: #fff;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 10px 22px -10px rgba(102, 126, 234, 0.85);
}

.p-gallery-langs button:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 3px;
}

/* --shot-w is in vw: a % width would resolve against the padded track, not the page */
.p-track {
  display: flex;
  gap: 1.25rem;
  padding: 0.5rem calc((100% - var(--shot-w)) / 2) 1.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.p-track::-webkit-scrollbar {
  display: none;
}

.p-shot {
  flex: 0 0 var(--shot-w);
  margin: 0;
  scroll-snap-align: center;
}

.p-shot button {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  cursor: zoom-in;
}

.p-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Windows screenshots: shown in an app window frame, one at a time */
.p-gallery--windows {
  --shot-w: min(860px, 82vw);
}

.p-gallery--windows .p-shot button {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.p-gallery--windows .p-shot button::before {
  content: "";
  display: block;
  height: 30px;
  background:
    radial-gradient(circle at 18px 15px, #ff5f57 5px, transparent 5.5px),
    radial-gradient(circle at 36px 15px, #febc2e 5px, transparent 5.5px),
    radial-gradient(circle at 54px 15px, #28c840 5px, transparent 5.5px),
    #f1f3f8;
  border-bottom: 1px solid var(--line);
}

/* Android screenshots: phone frames, several at a time */
.p-gallery--phone {
  --shot-w: 230px;
}

/* full-bleed strip whose first screen lines up with the page content */
.p-gallery--phone .p-track {
  --edge: max(1rem, calc((100% - 1140px) / 2 + 0.75rem));
  padding-inline: var(--edge);
  scroll-padding-inline: var(--edge);
  scroll-snap-type: x proximity;
}

.p-gallery--phone .p-shot {
  scroll-snap-align: start;
}

/* the Android screenshots already include a phone frame */
.p-gallery--phone .p-shot button {
  transition: transform 0.3s var(--ease);
}

.p-gallery--phone .p-shot img {
  filter: drop-shadow(0 18px 22px rgba(15, 23, 42, 0.22));
}

.p-shot button:hover {
  transform: translateY(-4px);
}

.p-gallery-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.p-gallery-bar button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.p-gallery-bar button:hover {
  color: var(--accent);
  border-color: rgba(79, 70, 229, 0.35);
  transform: translateY(-2px);
}

.p-gallery-count {
  min-width: 5.5rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.p-gallery-hint {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* lightbox */
.p-lightbox {
  width: min(1100px, 94vw);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  overflow: visible;
  color: #fff;
  background: transparent;
  border: 0;
}

.p-lightbox::backdrop {
  background: rgba(8, 11, 24, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.p-lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.p-lightbox img {
  display: block;
  max-width: calc(100% - 7rem);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.p-lightbox button {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  font-size: 1.2rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.p-lightbox button:hover {
  background: rgba(255, 255, 255, 0.24);
}

.p-lightbox-close {
  position: absolute;
  top: -3.25rem;
  right: 0;
}

.p-lightbox-caption {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

/* ---------- reviews ---------- */
.p-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.p-review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.p-stars {
  display: flex;
  gap: 0.15rem;
  font-size: 0.95rem;
  color: #f59e0b;
}

.p-stars .bi-star {
  color: #e2e8f0;
}

.p-review blockquote {
  flex: 1;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text);
}

.p-review figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.p-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  border-radius: 50%;
}

/* ---------- pricing ---------- */
.p-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1000px;
  margin-inline: auto;
}

.p-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 2rem 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.p-plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.p-plan--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad) border-box;
  box-shadow: 0 28px 56px -28px rgba(102, 126, 234, 0.7);
}

.p-plan-badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  padding: 0.3rem 0.85rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  background: var(--grad);
  border-radius: 999px;
  transform: translateX(-50%);
}

.p-plan-name {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.p-plan-price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.p-plan-price small {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.p-plan-save {
  display: inline-block;
  align-self: flex-start;
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #15803d;
  background: #e7f6ec;
  border-radius: 999px;
}

.p-checks {
  display: grid;
  gap: 0.6rem;
}

.p-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.93rem;
  line-height: 1.45;
  color: var(--text);
}

.p-checks .bi {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #16a34a;
}

.p-checks .bi-x-circle-fill {
  color: #dc2626;
}

.p-checks .bi-globe2 {
  color: var(--accent);
}

.p-plan .h-btn {
  margin-top: auto;
}

/* Windows: two ways to buy */
.p-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.p-option {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-md);
}

.p-option-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.home .p-option h3 {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.home .p-option-head .h-tag + h3 {
  margin-top: 0.75rem !important;
}

.p-option-sub {
  margin-top: 0.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.p-option-logo {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  color: #fff;
  border-radius: 16px;
}

.p-option-logo--supersoft {
  background: var(--grad);
}

.p-option-logo--ms {
  background: linear-gradient(135deg, #0078d4 0%, #2b88d8 100%);
}

.p-option-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
}

.p-option-price strong {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.p-option-price span {
  font-size: 0.9rem;
  color: var(--muted);
}

.p-option .h-buy {
  margin-top: 0;
}

.p-option .h-buy-grid {
  margin-top: 0;
}

.p-option-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.86rem;
}

.p-option-links a,
.p-option-links a:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  text-decoration: none;
}

.p-option-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Microsoft Store plan rows */
.p-rows {
  display: grid;
  gap: 0.6rem;
}

.p-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1rem 0.95rem 1.15rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.p-row:hover {
  background: #fff;
  border-color: rgba(0, 120, 212, 0.35);
}

.p-row--featured {
  background: #fff;
  border: 2px solid #0078d4;
}

.p-row-name {
  flex: 1;
  min-width: 0;
}

.p-row-name strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.p-row-name > span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.p-row-tag {
  padding: 0.1rem 0.5rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: #0078d4;
  border-radius: 999px;
}

.p-row-price {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.p-row-price small {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.h-btn--ms-outline,
.h-btn--ms-outline:visited {
  color: #0067b8;
  background: #fff;
  border-color: rgba(0, 120, 212, 0.4);
}

.h-btn--ms-outline:hover {
  color: #fff;
  background: #0078d4;
  border-color: #0078d4;
}

/* ---------- direct payment (India) ---------- */
.p-pay {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
}

.home .p-pay h3,
.home .p-terms h3 {
  margin-bottom: 0.35rem !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.p-pay-intro {
  margin-bottom: 1.1rem !important;
  font-size: 0.93rem;
  color: var(--muted);
}

.p-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.p-method {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.p-method strong {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.p-method span {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted);
}

.p-method--bank {
  grid-column: 1 / -1;
}

.p-bank {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem 1rem;
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
}

.p-bank dt {
  font-weight: 400;
  color: var(--muted);
}

.p-bank dd {
  margin: 0;
  font-weight: 500;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.p-pay-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f3f4ff 0%, #f6efff 100%);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 20px;
}

.p-pay-side p {
  font-size: 0.93rem;
  line-height: 1.6;
}

.p-pay-side .h-btn {
  justify-content: flex-start;
  white-space: normal;
}

.h-btn--wa,
.h-btn--wa:visited {
  color: #fff;
  background: #25d366;
}

.h-btn--wa:hover {
  color: #fff;
  background: #1ebe5b;
  box-shadow: 0 12px 22px -12px rgba(37, 211, 102, 0.9);
}

/* licence terms */
.p-terms {
  margin-top: 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.p-terms p {
  font-size: 0.93rem;
  line-height: 1.65;
}

.p-terms p + p {
  margin-top: 0.75rem;
}

/* ---------- FAQ ---------- */
.p-faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 3rem;
  align-items: start;
}

.home .p-faq-wrap .h-head {
  margin: 0;
  text-align: left;
}

.p-faq {
  display: grid;
  gap: 0.75rem;
}

.p-faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.p-faq details[open] {
  border-color: rgba(79, 70, 229, 0.25);
  box-shadow: var(--shadow-md);
}

.p-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}

.p-faq summary::-webkit-details-marker {
  display: none;
}

.p-faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 12px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 12px no-repeat,
    #eef0ff;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.p-faq details[open] summary::after {
  transform: rotate(45deg);
}

.p-faq summary:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: -2px;
  border-radius: 18px;
}

.p-faq-body {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.p-faq-body strong {
  color: var(--ink);
}

/* ---------- downloads (Android older versions) ---------- */
.p-get {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-md);
}

.home .p-get h2,
.home .p-older h3 {
  margin-bottom: 0.4rem !important;
  font-size: 1.45rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.p-get p {
  color: var(--muted);
}

.p-older {
  margin-top: 1.5rem;
  padding: 2rem 2.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
}

.p-older > p {
  font-size: 0.93rem;
  color: var(--muted);
}

.p-zips {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1.25rem 0 1.75rem;
}

.p-zips a,
.p-zips a:visited {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0.5rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.p-zips a:hover {
  color: var(--ink);
  background: #fff;
  border-color: rgba(242, 198, 19, 0.7);
  transform: translateY(-3px);
}

.p-zips .bi {
  font-size: 1.6rem;
  color: #e8b500;
}

.p-zips small {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--muted);
}

.p-instructions {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.home .p-instructions .p-note {
  margin-top: 0;
}

.p-ol {
  display: grid;
  gap: 0.6rem;
  counter-reset: li;
}

.p-ol > li {
  position: relative;
  padding-left: 2.2rem;
  font-size: 0.94rem;
  line-height: 1.55;
}

.p-ol > li::before {
  counter-increment: li;
  content: counter(li);
  position: absolute;
  top: -0.05rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: #eef0ff;
  border-radius: 50%;
}

.p-editions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.p-editions li {
  padding: 0.15rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.h-cta .h-stores {
  justify-content: center;
}

/* ---------- requirements (Windows) ---------- */
.p-specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: -0.5rem 0 2rem;
}

.p-specs span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
  .p-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p-step:nth-child(2n)::after {
    display: none;
  }

  .p-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .p-hero-note {
    margin-inline: auto;
  }

  .p-meta {
    justify-content: center;
  }

  .p-visual {
    max-width: 460px;
  }

  .p-subnav {
    top: 64px;
  }

  .p-subnav-title {
    display: none;
  }

  .p-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p-videos,
  .p-options,
  .p-pay {
    grid-template-columns: 1fr;
  }

  .p-reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p-plans {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .p-faq-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home .p-faq-wrap .h-head {
    text-align: center;
  }

  .p-get {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .p-get .h-stores {
    justify-content: center;
  }

  .p-zips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .p-instructions {
    grid-template-columns: 1fr;
  }

  .p-gallery--windows {
    --shot-w: 88vw;
  }
}

@media (max-width: 767.98px) {
  .h-stats--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .h-stats--5 .h-stat:last-child {
    grid-column: 1 / -1;
  }

  .h-stats--5 .h-stat:last-child::before {
    display: none;
  }

  .p-features {
    grid-template-columns: 1fr;
  }

  .p-feature--wide {
    grid-column: auto;
  }

  .p-feature--wide .p-list {
    grid-template-columns: 1fr;
  }

  .p-steps {
    grid-template-columns: 1fr;
  }

  .p-step::after {
    display: none;
  }

  .p-reviews {
    grid-template-columns: 1fr;
  }

  .p-lightbox img {
    max-width: 100%;
  }

  .p-lightbox-stage > button {
    position: absolute;
    bottom: -3.75rem;
  }

  .p-lightbox-stage > button:first-child {
    left: calc(50% - 56px);
  }

  .p-lightbox-stage > button:last-child {
    right: calc(50% - 56px);
  }

  .p-lightbox-caption {
    margin-top: 4.75rem;
  }
}

@media (max-width: 575.98px) {
  .p-subnav .h-btn {
    display: none;
  }

  .p-feature,
  .p-option,
  .p-pay,
  .p-older,
  .p-get {
    padding: 1.4rem;
  }

  .p-terms {
    padding: 1.4rem;
  }

  .p-methods {
    grid-template-columns: 1fr;
  }

  .p-row {
    flex-wrap: wrap;
  }

  .p-row-name {
    flex-basis: 100%;
  }

  .p-row .h-btn {
    margin-left: auto;
  }

  .p-zips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p-gallery--windows {
    --shot-w: 90vw;
  }

  .p-gallery--phone {
    --shot-w: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-track {
    scroll-behavior: auto;
  }
}
