/* ===== Site vitrine (accueil, catalogue, fiches formation, témoignages, contact) =====
   Couleurs de la charte ISN : violet #5700c3, cyan #00fdff, rose #ff3b68 */
:root {
  --star: #f5a524;
  --hero-a: #2b0066;
  --hero-b: #5700c3;
  --hero-ink: #ffffff;
  --band-alt: #f6f1fd;
  --brand-stripe: linear-gradient(90deg, var(--brand-violet) 0 60%, var(--brand-cyan) 60% 82%, var(--brand-pink) 82% 100%);
}
@media (prefers-color-scheme: dark) {
  :root { --band-alt: #150d24; --hero-a: #16003a; --hero-b: #3f0092; }
}

/* ---- Logo dans l'en-tête ---- */
.brand { gap: 10px; }
.brand-logo { width: 42px; height: 42px; flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.08rem; color: var(--brand-violet); letter-spacing: -.01em; }
.brand-text small { font-size: .72rem; font-weight: 600; color: var(--muted); margin: 2px 0 0; letter-spacing: .01em; }
@media (prefers-color-scheme: dark) { .brand-text strong { color: #fff; } }
.topbar { background-image: var(--brand-stripe); background-size: 100% 3px; background-repeat: no-repeat; }
.topbar-inner { min-height: 64px; }

/* ---- Barre de navigation ---- */
.nav { align-items: center; }
.nav a.is-active { color: var(--text); background: var(--surface-2); }
.nav .nav-strong { color: var(--primary); font-weight: 600; }
.nav .nav-quiet { opacity: .75; }
.nav .nav-cta { color: var(--primary-ink); margin-left: 4px; padding: 7px 14px; }
.nav .nav-cta:hover { background: var(--primary); color: var(--primary-ink); filter: brightness(1.07); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 6px 8px; cursor: pointer; }

/* ---- Structure des pages du site ---- */
.site-main { padding: 0 0 8px; }
.site-flashes:empty { display: none; }
.site-flashes { padding-top: 16px; }
.band { padding: 48px 0; }
.band-alt { background: var(--band-alt); }
.band-head { max-width: 720px; margin-bottom: 24px; }
.band-head h2 { font-size: 1.7rem; margin: 0 0 6px; letter-spacing: -.01em; }
.band-head h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; margin-top: 10px; background: linear-gradient(90deg, var(--brand-violet) 0 55%, var(--brand-pink) 55%); }
.band-page { position: relative; overflow: hidden; }
.band-page::after { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -90px; border-radius: 36px; transform: rotate(45deg); border: 2px solid color-mix(in srgb, var(--brand-violet) 25%, transparent); pointer-events: none; }
.band-page .wrap { position: relative; z-index: 1; }
.band-head p { margin: 0; }
.band-page { padding: 36px 0 28px; background: var(--band-alt); border-bottom: 1px solid var(--border); }
.band-page h1 { font-size: 2.1rem; margin: 6px 0 8px; }
.band-page .lead { max-width: 760px; margin: 0; }
.band-page + .band { padding-top: 32px; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-bottom: 10px; }

/* ---- Accueil ---- */
.band-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--hero-a) 0%, var(--hero-b) 100%); color: var(--hero-ink); padding: 64px 0; }
.band-hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -330px; top: -300px; border-radius: 72px; transform: rotate(45deg); background: rgba(255,255,255,.05); border: 2px solid rgba(0,253,255,.28); pointer-events: none; }
.band-hero::after { content: ""; position: absolute; width: 58px; height: 58px; right: 9%; top: 34px; border-radius: 50%; background: var(--brand-pink); opacity: .95; pointer-events: none; }
.band-hero .wrap { position: relative; z-index: 1; }
.band-hero .eyebrow { color: var(--brand-cyan); opacity: 1; }
.hero-site { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-site h1 { font-size: 2.6rem; line-height: 1.12; margin: 0 0 14px; letter-spacing: -.02em; }
.hero-site .lead { font-size: 1.12rem; opacity: .92; margin: 0 0 8px; max-width: 620px; }
.band-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.band-hero .btn-ghost:hover { background: rgba(255,255,255,.1); }
.band-hero .btn:not(.btn-ghost) { background: var(--brand-cyan); color: var(--brand-deep); }
.band-hero .muted { color: rgba(255,255,255,.8); }
.hero-rating { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; color: inherit; }
.hero-rating:hover { text-decoration: none; }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hs { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.hs strong { font-size: 1.9rem; line-height: 1.1; letter-spacing: -.02em; }
.hs:nth-child(1) strong { color: var(--brand-cyan); }
.hs:nth-child(4) strong { color: #ffd1dc; }
.hs span { font-size: .88rem; opacity: .85; }

/* ---- Étoiles ---- */
.stars { display: inline-flex; gap: 1px; color: var(--border); letter-spacing: 0; line-height: 1; }
.stars .on { color: var(--star); }
.band-hero .stars { color: rgba(255,255,255,.35); }
.band-hero .stars .on { color: var(--star); }

/* ---- Cartes formation ---- */
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.sc-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; color: var(--text); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.sc-card:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--primary); }
.sc-cover { position: relative; height: 150px; background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.sc-cover { overflow: hidden; }
.sc-cover:not(.has-img)::before { content: ""; position: absolute; width: 150px; height: 150px; right: -40px; bottom: -70px; border-radius: 24px; transform: rotate(45deg); border: 2px solid rgba(0,253,255,.55); }
.sc-cover:not(.has-img)::after { content: ""; position: absolute; width: 18px; height: 18px; right: 22px; top: 20px; border-radius: 50%; background: var(--brand-pink); }
.sc-card:nth-child(3n+2) .sc-cover:not(.has-img) { background: linear-gradient(135deg, #3a0088, #7a2cff); }
.sc-card:nth-child(3n+3) .sc-cover:not(.has-img) { background: linear-gradient(135deg, #5700c3, #c21d64); }
.sc-code { position: relative; z-index: 1; font-size: 2.6rem; font-weight: 800; color: #fff; letter-spacing: .04em; }
.sc-badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: #1c2230; font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.sc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sc-body h3 { font-size: 1.2rem; margin: 0; }
.sc-body p { margin: 0; color: var(--muted); font-size: .94rem; }
.sc-rating { display: flex; align-items: center; gap: 6px; font-size: .9rem; }
.sc-facts { list-style: none; margin: 4px 0 0; padding: 0; font-size: .88rem; color: var(--muted); display: grid; gap: 3px; }
.sc-facts li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.sc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.sc-more { color: var(--primary); font-weight: 700; font-size: .94rem; }
.sc-card:hover .sc-more { color: var(--brand-pink-ink); }

/* ---- Atouts et étapes ---- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.feature p { margin: 0; }
.feature-ico { font-size: 1.4rem; line-height: 1; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: var(--brand-violet); color: #fff; font-weight: 800; margin-bottom: 8px; }
.steps li:nth-child(even)::before { background: var(--brand-pink); }
.steps span { color: var(--muted); font-size: .92rem; }

/* ---- Témoignages ---- */
.tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.tm-grid-2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tm-card { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.tm-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tm-title { font-weight: 700; }
.tm-card blockquote { margin: 0; color: var(--text); font-size: .96rem; flex: 1; }
.tm-card blockquote::before { content: "« "; color: var(--muted); }
.tm-card blockquote::after { content: " »"; color: var(--muted); }
.tm-card figcaption { display: flex; align-items: center; gap: 10px; font-size: .92rem; border-top: 1px solid var(--border); padding-top: 12px; }
.tm-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: .9rem; }
.eval-prompt { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---- Bandeau d'appel ---- */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.cta-band h2 { margin: 0 0 4px; }
.cta-band p { margin: 0; }
.cta-band .actions { margin: 0; }

/* ---- Fiche formation ---- */
.offer-band { padding-bottom: 32px; }
.offer-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.offer-top > div:only-child { grid-column: 1 / -1; }
.offer-kicker { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.offer-top h1 { font-size: 2.2rem; margin: 8px 0; }
.offer-top .lead { font-size: 1.08rem; margin: 0 0 6px; max-width: 760px; }
.offer-top .hero-rating { margin-top: 8px; }
.offer-cover { aspect-ratio: 16 / 10; border-radius: 16px; background-size: cover; background-position: center; border: 1px solid var(--border); }
.fact-chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fact-chips li { background: var(--surface); border: 1px solid var(--border); border-radius: 99px; padding: 6px 12px; font-size: .88rem; }
.section-nav { position: sticky; top: 60px; z-index: 5; background: var(--surface); border-bottom: 1px solid var(--border); }
.section-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.section-nav a { padding: 12px 12px; color: var(--muted); font-weight: 600; font-size: .92rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.section-nav a:hover { color: var(--text); text-decoration: none; border-bottom-color: var(--primary); }
.offer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start; }
.offer-aside .buy-card { position: sticky; top: 120px; }
.offer-sec { padding: 4px 0 26px; margin-bottom: 26px; border-bottom: 1px solid var(--border); scroll-margin-top: 120px; }
.offer-sec:last-child { border-bottom: 0; }
.offer-sec h2 { font-size: 1.4rem; margin: 0 0 12px; }
.offer-sec p { margin: 0 0 10px; }
.rt-list { margin: 0 0 10px; padding-left: 1.2em; display: grid; gap: 6px; }
.rt-h { font-size: 1.05rem; margin: 16px 0 8px; }
.rt-check .rt-list { list-style: none; padding: 0; }
.rt-check .rt-list li { position: relative; padding-left: 30px; }
.rt-check .rt-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); font-weight: 800; font-size: .78rem; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.module-list { list-style: none; counter-reset: mod; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.module-list li { counter-increment: mod; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--border); }
.module-list li:first-child { border-top: 0; }
.module-list li::before { content: counter(mod); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: .86rem; }
.module-list li > div { flex: 1; min-width: 0; }
.program-text { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; }
.program-text .rt-h:first-child { margin-top: 0; }
.quiz-details { margin-top: 14px; }
.quiz-details summary { cursor: pointer; color: var(--primary); font-weight: 600; }
.price-panel { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.price-panel .offer-facts { margin: 0; }
.rating-summary { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.rs-score { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rs-score strong { font-size: 2.6rem; line-height: 1; }
.rs-bars { flex: 1; min-width: 220px; display: grid; gap: 4px; }
.rs-row { display: grid; grid-template-columns: 36px 1fr 28px; gap: 8px; align-items: center; font-size: .86rem; }
.rs-bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.rs-bar span { display: block; height: 100%; background: var(--star); border-radius: 99px; }

/* ---- Contact ---- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-form .span-all { grid-column: 1 / -1; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Formulaire d'évaluation ---- */
.eval-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.eval-row:first-of-type { border-top: 0; }
.eval-main { font-size: 1.05rem; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 1.9rem; line-height: 1; color: var(--border); cursor: pointer; padding: 0 2px; margin: 0; }
.eval-main .star-input label { font-size: 2.3rem; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--star); }
.star-input input:focus-visible + label { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eval-publish { border: 0; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px solid var(--border); }
.cover-preview { width: 100%; max-width: 280px; aspect-ratio: 16 / 10; border-radius: 10px; background-size: cover; background-position: center; border: 1px solid var(--border); margin: 6px 0; }

/* ---- Pied de page ---- */
.site-footer { background: #1a0838; color: #d6cce8; margin-top: 24px; padding: 44px 0 0; font-size: .92rem; background-image: var(--brand-stripe); background-size: 100% 5px; background-repeat: no-repeat; }
.footer-logo { display: block; width: 200px; height: auto; margin: 0 0 12px -4px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand { font-weight: 800; font-size: 1.1rem; color: #fff; margin-bottom: 6px; }
.footer-title { font-weight: 700; color: var(--brand-cyan); margin-bottom: 10px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-footer a { color: #d6cce8; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: #a497bd; }
.site-footer .pay-chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #e3e7ef; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding: 16px; font-size: .82rem; color: #a497bd; }

/* ---- Écrans moyens et petits ---- */
@media (max-width: 900px) {
  .hero-site, .offer-top, .offer-layout, .contact-layout { grid-template-columns: 1fr; }
  .offer-aside { order: -1; }
  .offer-aside .buy-card { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .offer-cover { max-height: 220px; aspect-ratio: auto; height: 200px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .topbar-inner { flex-wrap: nowrap; }
  .topbar-inner .course-chip { display: none; }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 16px 14px; flex-direction: column; align-items: stretch; gap: 2px; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 12px; font-size: 1rem; }
  .nav .nav-cta { margin: 6px 0 0; justify-content: center; }
  .topbar { position: sticky; }
  .band { padding: 36px 0; }
  .band-hero { padding: 40px 0; }
  .band-hero::before { width: 300px; height: 300px; right: -150px; top: -120px; }
  .band-hero::after { width: 34px; height: 34px; right: 18px; top: 18px; }
  .brand-text small { display: none; }
  .hero-site h1 { font-size: 1.9rem; }
  .band-page h1, .offer-top h1 { font-size: 1.65rem; }
  .band-head h2 { font-size: 1.4rem; }
  .hs strong { font-size: 1.5rem; }
  .two-col, .contact-form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section-nav { top: 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .sc-grid, .tm-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 20px; }
}
.band-hero .lead { color: rgba(255,255,255,.9); }
.feature-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.more-modules { margin-top: 10px; }
.more-modules > summary { cursor: pointer; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
label input, label textarea, label select { font-weight: 400; }
.eval-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; align-items: start; margin-top: 14px; }
.eval-grid .eval-wide { grid-column: 1 / -1; }
.eval-grid .small-title { margin-top: 4px; }
.eval-publish .small-title { margin-top: 0; }
@media (max-width: 760px) { .eval-grid { grid-template-columns: 1fr; } }
input::placeholder, textarea::placeholder { font-weight: 400; }
/* Pages de l'espace apprenant : en-tête compact (nom court, sans sous-titre) */
.is-app .brand-text small { display: none; }
.topbar-inner { padding-top: 6px; padding-bottom: 6px; }

/* ---- Liaison avec le site principal de l'institut ---- */
.inst-bar { background: var(--brand-deep); color: #e7dcff; font-size: .82rem; }
.inst-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; flex-wrap: wrap; }
.inst-bar a { color: #fff; }
.inst-bar a:hover { color: var(--brand-cyan); text-decoration: none; }
.inst-home { font-weight: 600; }
.inst-host { font-weight: 400; opacity: .7; }
.inst-links { display: flex; gap: 18px; align-items: center; }
.inst-current { color: var(--brand-cyan); font-weight: 600; }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.path { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.path h3 { font-size: 1.3rem; margin: 2px 0 0; }
.path p { margin: 0; color: var(--muted); }
.path .actions { margin-top: auto; padding-top: 12px; align-items: center; }
.path-kicker { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--primary-soft); color: var(--primary); }
.path-cert { background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); color: #fff; border-color: transparent; }
.path-cert p { color: rgba(255,255,255,.88); }
.path-cert .path-kicker { background: var(--brand-cyan); color: var(--brand-deep); }
.path-cert .btn { background: var(--brand-cyan); color: var(--brand-deep); }
.path-cert::after { content: ""; position: absolute; width: 160px; height: 160px; right: -60px; bottom: -70px; border-radius: 26px; transform: rotate(45deg); border: 2px solid rgba(0,253,255,.45); }
.path-cert::before { content: ""; position: absolute; width: 20px; height: 20px; right: 26px; top: 24px; border-radius: 50%; background: var(--brand-pink); }
.path-list { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.path-list li { padding-left: 22px; position: relative; }
.path-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 9px; transform: rotate(45deg); border-radius: 2px; background: var(--brand-pink); }
.path-cert .path-list li::before { background: var(--brand-cyan); }
.path-link { font-weight: 600; font-size: .92rem; }
.compare { margin: 18px 0 0; padding: 0; overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.compare-table th, .compare-table td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--border); vertical-align: top; }
.compare-table thead th { border-top: 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.compare-table thead th:last-child { color: var(--primary); }
.compare-table tbody th { width: 18%; color: var(--muted); font-weight: 600; }
.footer-grid { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); }
.footer-bottom a { color: #d6cce8; text-decoration: underline; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .paths { grid-template-columns: 1fr; }
  .inst-host, .inst-phone { display: none; }
  .inst-links { gap: 12px; }
  .inst-current { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .compare-table tbody th { width: auto; }
}
@media (max-width: 760px) {
  .inst-bar-inner { flex-wrap: nowrap; gap: 10px; }
  .inst-home { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .inst-links { flex: none; }
  .inst-links a { white-space: nowrap; }
}
