/* /how-it-works (round 10, 2026-10-22). Loaded only by page-how-it-works.php via myiptv_p10_assets(). */

/* ---------- Hero ---------- */
.hw10-hero .p10-hero-media img { object-position: 60% 50%; }
.hw10-eyebrow { margin-top: 1.25rem; }
.hw10-terms { padding: clamp(1.25rem, 2.2vw, 1.75rem); border: 1px solid rgba(248, 113, 113, 0.28); border-radius: calc(var(--b-radius) * 1.2); background: radial-gradient(120% 80% at 100% 0%, rgba(220, 38, 38, 0.2), transparent 60%), rgba(14, 14, 20, 0.86); backdrop-filter: blur(10px); box-shadow: var(--b-shadow); }
.hw10-terms-title { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 0.9rem; color: #fff; font-size: 1.05rem; font-weight: 700; }
.hw10-terms-title svg { width: 1.2rem; height: 1.2rem; color: var(--b-crimson-bright); }
.hw10-terms ul { margin: 0; padding: 0; list-style: none; display: grid; }
.hw10-terms li { display: grid; gap: 0.15rem; padding: 0.8rem 0 0.8rem 1.1rem; border-top: 1px solid var(--b-line); position: relative; }
.hw10-terms li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: 0.45rem; height: 0.45rem; border-radius: 999px; background: var(--b-crimson); box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.18); }
.hw10-terms li strong { color: #fff; font-size: 0.98rem; }
.hw10-terms li span { color: var(--b-muted); font-size: 0.88rem; line-height: 1.45; }

/* ---------- What is IPTV: signal flow ---------- */
.hw10-flow { margin: 0 0 clamp(1.25rem, 2.5vw, 2rem); padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1.5rem); position: relative; }
.hw10-flow::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 2.1rem; height: 2px; background: linear-gradient(90deg, rgba(220, 38, 38, 0.15), #dc2626 50%, rgba(220, 38, 38, 0.15)); box-shadow: 0 0 18px rgba(220, 38, 38, 0.6); }
.hw10-flow li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem; }
.hw10-flow-icon { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; margin-bottom: 0.5rem; border-radius: 1.2rem; border: 1px solid rgba(248, 113, 113, 0.4); background: radial-gradient(circle at 30% 20%, rgba(248, 113, 113, 0.25), rgba(20, 20, 24, 1) 70%); color: #fff; box-shadow: 0 16px 40px -18px rgba(220, 38, 38, 0.9); }
.hw10-flow-icon svg { width: 1.6rem; height: 1.6rem; }
.hw10-flow strong { color: #fff; font-size: 1rem; }
.hw10-flow small { color: var(--b-muted); font-size: 0.86rem; line-height: 1.4; max-width: 14rem; }
@media (max-width: 639px) {
  .hw10-flow { grid-template-columns: 1fr; gap: 0.75rem; }
  .hw10-flow::before { left: 2.1rem; right: auto; top: 2rem; bottom: 2rem; width: 2px; height: auto; background: linear-gradient(180deg, rgba(220, 38, 38, 0.2), #dc2626, rgba(220, 38, 38, 0.2)); }
  .hw10-flow li { display: grid; grid-template-columns: 4.2rem 1fr; grid-template-rows: auto auto; column-gap: 1rem; text-align: left; align-items: center; }
  .hw10-flow-icon { grid-row: span 2; margin: 0; }
  .hw10-flow strong { align-self: end; }
  .hw10-flow small { align-self: start; max-width: none; }
}
.hw10-plain, .hw10-features { margin: 0; padding: 0; list-style: none; }
.hw10-plain .p10-card-icon svg { width: 1.3rem; height: 1.3rem; }

/* ---------- Steps ---------- */
.hw10-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.8rem; counter-reset: none; position: relative; }
.hw10-step { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: clamp(0.9rem, 2vw, 1.5rem); padding: clamp(1rem, 2vw, 1.35rem) clamp(1.1rem, 2.2vw, 1.75rem); border: 1px solid var(--b-line); border-radius: var(--b-radius); background: var(--b-grad-panel); transition: border-color 0.2s ease; }
.hw10-step:hover { border-color: rgba(248, 113, 113, 0.4); }
.hw10-step-num { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; background: linear-gradient(180deg, #f87171, #7f1d1d); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 2.6ch; }
.hw10-step-icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 0.85rem; background: rgba(220, 38, 38, 0.12); color: var(--b-crimson-bright); }
.hw10-step-icon svg { width: 1.3rem; height: 1.3rem; }
.hw10-step-body h3 { margin: 0; color: #fff; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.015em; }
.hw10-step-body p { margin: 0.35rem 0 0; color: var(--b-muted); line-height: 1.6; max-width: 46rem; }
.hw10-step-body a, .hw10-needs a, .hw10-safety p a, .hw10-tip a, .hw10 .p10-sub a, .hw10-faq p a:not(.email-link) { color: #fca5a5; text-decoration: underline; text-underline-offset: 3px; }
.hw10-step-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 0.45rem; min-width: 12rem; }
.hw10-who { padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--b-line-strong); color: #e4e4e7; }
.hw10-who.is-us { background: rgba(220, 38, 38, 0.18); border-color: rgba(248, 113, 113, 0.45); color: #fecaca; }
.hw10-who.is-together { background: rgba(255, 255, 255, 0.06); }
.hw10-time { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--b-soft); font-size: 0.85rem; text-align: right; }
.hw10-time svg { width: 0.95rem; height: 0.95rem; color: var(--b-crimson-bright); flex: none; }
@media (max-width: 767px) {
  .hw10-step { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .hw10-step-num { grid-row: span 1; }
  .hw10-step-icon { justify-self: end; }
  .hw10-step-body, .hw10-step-meta { grid-column: 1 / -1; }
  .hw10-step-meta { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; min-width: 0; }
}
.hw10-steps-actions { margin-top: 1.75rem; }

/* ---------- What you need ---------- */
.hw10-needs .p10-card { display: flex; flex-direction: column; }
.hw10-mini { margin: 0.9rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.hw10-mini li { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.75rem; border: 1px solid var(--b-line); border-radius: 0.7rem; background: rgba(255, 255, 255, 0.025); color: #e4e4e7; font-size: 0.92rem; font-weight: 600; }
.hw10-mini svg { width: 1.15rem; height: 1.15rem; color: var(--b-crimson-bright); flex: none; }
.hw10-speed { margin: 1rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.hw10-speed div { padding: 0.9rem; border: 1px solid rgba(248, 113, 113, 0.3); border-radius: 0.9rem; background: rgba(220, 38, 38, 0.08); }
.hw10-speed dt { color: var(--b-muted); font-size: 0.82rem; }
.hw10-speed dd { margin: 0.25rem 0 0; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.hw10-needs .p10-card p.hw10-small { margin-top: auto; padding-top: 1rem; font-size: 0.88rem; }

/* ---------- Features ---------- */
.hw10-features li { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.25rem 1.3rem; border: 1px solid var(--b-line); border-radius: var(--b-radius); background: var(--b-grad-panel); }
.hw10-features li > span { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 0.55rem; border-radius: 0.8rem; background: var(--b-grad-crimson); color: #fff; }
.hw10-features li > span svg { width: 1.2rem; height: 1.2rem; }
.hw10-features strong { color: #fff; font-size: 1.05rem; }
.hw10-features small { color: var(--b-muted); font-size: 0.9rem; line-height: 1.5; }

/* ---------- Plans ---------- */
.hw10-bonus p { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0; padding: 1rem 1.25rem; border: 1px solid rgba(248, 113, 113, 0.3); border-radius: var(--b-radius); background: rgba(220, 38, 38, 0.07); color: var(--b-soft); line-height: 1.6; }
.hw10-bonus svg { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; color: var(--b-crimson-bright); flex: none; }

/* ---------- Try, decide, renew ---------- */
.hw10-safety .p10-card { display: flex; flex-direction: column; }
.hw10-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; padding-top: 1.1rem; color: #fca5a5; font-weight: 700; text-decoration: none; }
.hw10-link:hover { color: #fff; }
.hw10-link svg { width: 1rem; height: 1rem; }

/* ---------- Why ---------- */
.hw10-why { display: grid; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
@media (min-width: 1024px) { .hw10-why { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.hw10-tip { display: flex; gap: 0.7rem; align-items: flex-start; margin: 1.25rem 0 0; padding: 1rem 1.15rem; border-left: 3px solid var(--b-crimson); border-radius: 0 0.9rem 0.9rem 0; background: rgba(255, 255, 255, 0.03); color: var(--b-soft); line-height: 1.6; }
.hw10-tip svg { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; color: var(--b-crimson-bright); flex: none; }
.hw10-why-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.8rem; }
.hw10-why-list li { display: flex; gap: 1rem; padding: 1.15rem 1.25rem; border: 1px solid var(--b-line); border-radius: var(--b-radius); background: var(--b-grad-panel); }
.hw10-why-list li > span { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none; border-radius: 0.8rem; background: rgba(220, 38, 38, 0.12); color: var(--b-crimson-bright); }
.hw10-why-list li > span svg { width: 1.2rem; height: 1.2rem; }
.hw10-why-list strong { color: #fff; font-size: 1.05rem; }
.hw10-why-list p { margin: 0.25rem 0 0; color: var(--b-muted); line-height: 1.55; }

/* ---------- FAQ ---------- */
.hw10-faq { max-width: 54rem; margin-inline: auto; display: grid; gap: 0.7rem; }
.hw10-faq details { border: 1px solid var(--b-line); border-radius: var(--b-radius); background: var(--b-grad-panel); transition: border-color 0.2s ease; }
.hw10-faq details[open] { border-color: rgba(248, 113, 113, 0.35); }
.hw10-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; cursor: pointer; list-style: none; }
.hw10-faq summary::-webkit-details-marker { display: none; }
.hw10-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 999px; border: 1px solid var(--b-line-strong); color: var(--b-crimson-bright); font-size: 1.2rem; line-height: 1; }
.hw10-faq details[open] summary::after { content: "\2212"; }
.hw10-faq h3 { margin: 0; color: #fff; font-size: 1.05rem; font-weight: 650; line-height: 1.4; }
.hw10-faq details p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--b-soft); line-height: 1.65; }
.hw10-inline { color: #fca5a5; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Related + final ---------- */
.hw10-related { padding-top: clamp(1rem, 3vw, 2rem); }
.hw10-related-title { margin: 0 0 1rem; color: #fff; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
.hw10-related .p10-chips a svg { color: var(--b-crimson-bright); }
.hw10 .p10-cta .eyebrow { margin-bottom: 0.6rem; }
.hw10 .p10-cta h2 { font-weight: 760; }

/* Related links: 8 chips on an even grid (4 + 4, or 2 x 4 on phones) so no row trails off. */
.hw10-related .p10-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .hw10-related .p10-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hw10-needs .hw10-speed + .hw10-mini { margin-top: 0.6rem; }
@media (max-width: 639px) { .hw10-related .p10-chips a { font-size: 0.84rem; padding: 0.5rem 0.6rem; } }
