/* Public site pages (IG-web, 2026-11-19): /coaching-centres, /compare, /security, /insights/articles/<slug>,
   and the new homepage sections. Linked from {% block extra_head %}; colours from base.html's tokens. */
.sp-wrap { max-width: 1100px; margin: 0 auto; padding: 32px 16px 56px; }
.sp-hero { background: linear-gradient(135deg, #0B1F4B 0%, #13306f 100%); color: #fff; border-radius: 18px; padding: 28px 24px; }
.sp-hero h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.15; margin: 0 0 10px; letter-spacing: -.5px; }
.sp-hero p { margin: 0; max-width: 720px; line-height: 1.6; opacity: .92; font-size: 16px; }
.sp-hero .sp-cta-row { margin-top: 18px; }
.sp-sec { margin-top: 36px; }
.sp-sec > h2 { color: var(--navy); font-size: clamp(21px, 2.6vw, 28px); margin: 0 0 6px; letter-spacing: -.3px; }
.sp-sec > .sp-lede { color: var(--muted); margin: 0 0 18px; max-width: 760px; line-height: 1.6; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.sp-card { background: #fff; border: 1px solid rgba(15,23,42,.08); border-radius: 14px; padding: 18px; }
.sp-card h3 { color: var(--navy); font-size: 16px; margin: 0 0 6px; }
.sp-card p { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.55; }
.sp-card a { color: var(--teal); font-weight: 700; }
.sp-steps { list-style: none; padding: 0; margin: 0; counter-reset: sp; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 12px; }
.sp-steps li { counter-increment: sp; background: #fff; border: 1px solid rgba(15,23,42,.08); border-radius: 14px; padding: 16px; }
.sp-steps li::before { content: counter(sp); display: inline-block; width: 28px; height: 28px; line-height: 28px; text-align: center; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 13px; margin-bottom: 8px; }
.sp-steps h3 { color: var(--navy); font-size: 15px; margin: 0 0 4px; }
.sp-steps p { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 0; }
.sp-cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sp-btn { display: inline-block; padding: 11px 20px; border-radius: 999px; font-weight: 800; font-size: 14.5px; text-decoration: none; background: var(--teal); color: #fff; border: 1px solid var(--teal); }
.sp-btn:hover { background: #0d9488; }
.sp-btn.sp-alt { background: #fff; color: var(--navy); border-color: rgba(15,23,42,.18); }
.sp-note { color: var(--muted); font-size: 13px; line-height: 1.55; }
.sp-free { font-weight: 700; color: #fff; opacity: .95; font-size: 14px; }
.sp-band { background: #F8FAFC; border: 1px solid rgba(15,23,42,.06); border-radius: 16px; padding: 22px 18px; }
.sp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid rgba(15,23,42,.08); border-radius: 14px; background: #fff; }
.sp-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14px; }
.sp-table th, .sp-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid rgba(15,23,42,.07); vertical-align: top; line-height: 1.5; }
.sp-table thead th { background: #F8FAFC; color: var(--navy); font-size: 13px; }
.sp-table tbody th { color: var(--navy); font-weight: 700; width: 26%; }
.sp-table td.sp-us { background: rgba(20,184,166,.06); }
.sp-yes::before { content: "\2713  "; color: var(--green); font-weight: 800; }
.sp-no::before { content: "\2715  "; color: var(--red); font-weight: 800; }
.sp-part::before { content: "~  "; color: var(--yellow); font-weight: 800; }
.sp-list { margin: 0; padding-left: 20px; line-height: 1.7; color: var(--slate); }
.sp-list li { margin-bottom: 4px; }
.sp-status { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; margin-right: 6px; vertical-align: 1px; }
.sp-status.on { background: #DCFCE7; color: #166534; }
.sp-status.off { background: #FEE2E2; color: #991B1B; }
.sp-status.plan { background: #FEF3C7; color: #92400E; }
.sp-article { max-width: 760px; margin: 0 auto; padding: 32px 16px 56px; color: var(--slate); line-height: 1.7; font-size: 16px; }
.sp-article h1 { color: var(--navy); font-size: clamp(26px, 4vw, 36px); line-height: 1.2; margin: 0 0 8px; }
.sp-article .sp-byline { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.sp-article h2 { color: var(--navy); font-size: 22px; margin: 28px 0 8px; }
.sp-article h3 { color: var(--navy); font-size: 18px; margin: 22px 0 6px; }
.sp-article table { border-collapse: collapse; display: block; overflow-x: auto; }
.sp-article th, .sp-article td { border: 1px solid #cbd5e1; padding: 6px 10px; }
.sp-article img { max-width: 100%; height: auto; }
.sp-article pre { overflow-x: auto; background: #F8FAFC; padding: 12px; border-radius: 8px; }
.sp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .sp-form { grid-template-columns: 1fr; } }
.sp-form label { display: block; font-weight: 700; font-size: 13px; color: var(--navy); }
.sp-form input, .sp-form select, .sp-form textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; box-sizing: border-box; background: #fff; }
.sp-form .sp-full { grid-column: 1 / -1; }
.sp-msg { font-size: 14px; margin-top: 8px; min-height: 1.4em; }
.sp-msg.ok { color: var(--green); } .sp-msg.err { color: var(--red); }

/* /how-to-use (2026-11-21): the eight walkthrough videos, two per role */
.ht-role { margin-top: 30px; }
.ht-role > h2 { color: var(--navy); font-size: clamp(20px, 2.4vw, 26px); margin: 0 0 4px; }
.ht-role > p { margin: 0 0 14px; color: #475569; line-height: 1.55; }
.ht-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.ht-vid { background: #fff; border: 1px solid #e3e8ef; border-radius: 14px; padding: 12px; }
.ht-vid h3 { font-size: 16px; margin: 4px 2px 10px; color: var(--navy); }
.ht-vid video { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 10px; background: #0E1726; }
.ht-vid .ht-len { font-size: 12.5px; color: #64748b; margin: 8px 2px 0; }
.ht-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ht-jump a { background: rgba(255,255,255,.14); color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; }
