/* Hosted AccessPoint's information pages (Pages/Hosted: the add-ons, bundles, promotion codes, data region and partner offers,
   English and French). Tokens from site.css; the hero and the call to action reuse .page-hero and .cta-section. */

/* ---------- Hero ---------- */
.page-hero.hi-hero { padding: var(--space-2xl) 0 var(--space-xl); }
.page-hero .hi-kicker {
    margin: 0 auto 0.6rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.92;
    max-width: none;
}
.page-hero.hi-hero h1 { margin-bottom: 0.75rem; }
.page-hero .hi-lead { max-width: 760px; font-size: 1.2rem; line-height: 1.55; }
.page-hero .hi-status {
    display: inline-block; max-width: 760px; margin: 1.25rem auto 0; padding: 0.55rem 1.1rem; border-radius: var(--radius-lg);
    background: rgba(0, 0, 0, 0.18); border: 1px solid rgba(255, 255, 255, 0.55); font-size: 0.97rem; font-weight: 600; line-height: 1.45;
}
.page-hero .hi-lang { margin: 1rem auto 0; font-size: 0.92rem; }
.page-hero .hi-lang a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.page-hero .hi-lang a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 2px; }

/* ---------- Facts strip ---------- */
.hi-facts-wrap { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: var(--space-lg) 0; }
.hi-facts {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-sm);
    max-width: 1080px; margin: 0 auto; padding: 0;
}
.hi-fact { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 0.9rem 1.1rem; }
.hi-fact dt {
    margin: 0 0 0.3rem; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gray-600);
}
.hi-fact dd { margin: 0; color: var(--gray-900); font-size: 0.97rem; line-height: 1.45; }
.hi-fact dd small { display: block; margin-top: 0.25rem; color: var(--gray-600); font-size: 0.84rem; }

/* ---------- Main column ---------- */
.hi-main { max-width: 820px; margin: 0 auto; padding: var(--space-2xl) var(--space-md) var(--space-xl); }
.hi-section { scroll-margin-top: 90px; }
.hi-section + .hi-section { margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--gray-200); }
.hi-section h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; margin: 0 0 var(--space-sm); font-size: 1.6rem; }
.hi-section p, .hi-section li { color: var(--gray-700); line-height: 1.7; }
.hi-section p { margin: 0 0 var(--space-sm); }
.hi-section ul, .hi-section ol { margin: 0 0 var(--space-sm); padding-left: 1.4rem; }
.hi-section li + li { margin-top: 0.45rem; }
.hi-section strong { color: var(--gray-900); }
.hi-section code {
    font-size: 0.9em; background: var(--gray-100); color: var(--gray-900); padding: 0.1em 0.35em; border-radius: 4px; overflow-wrap: anywhere;
}
.hi-section .hi-note { font-size: 0.9rem; color: var(--gray-600); line-height: 1.6; }
.hi-badge {
    display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase; background: #FFF4D6; color: #7A5200; border: 1px solid #E9CF8A;
}

/* ---------- On this page ---------- */
.hi-toc { margin: 0 0 var(--space-xl); padding: 1rem 1.25rem; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-md); }
.hi-toc h2 { margin: 0 0 0.5rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-600); }
.hi-toc ul { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.hi-toc a { font-weight: 600; font-size: 0.95rem; }

/* ---------- Price and bundle tables ---------- */
.hi-table-wrap { overflow-x: auto; margin: var(--space-sm) 0; }
.hi-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--gray-200); font-size: 0.95rem; }
.hi-table caption { caption-side: top; text-align: left; padding: 0 0 0.5rem; font-weight: 600; color: var(--gray-800); }
.hi-table th, .hi-table td { text-align: left; vertical-align: top; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--gray-200); }
.hi-table thead th { background: var(--gray-50); font-size: 0.8rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--gray-600); }
.hi-table tbody th { font-weight: 600; color: var(--gray-900); }
.hi-table td { color: var(--gray-900); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- The other pages ---------- */
.hi-related { margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 2px solid var(--gray-200); }
.hi-related > h2 { margin: 0 0 var(--space-sm); font-size: 1.3rem; }
.hi-related-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-md) var(--space-lg); }
.hi-related h3 { margin: 0 0 0.5rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gray-600); }
.hi-related ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.4rem; }
.hi-related a { font-weight: 600; }
.hi-related [aria-current="page"] { font-weight: 600; color: var(--gray-700); }

/* ---------- Call to action ---------- */
.cta-section.hi-cta h2 { font-size: 2.25rem; }
.cta-section.hi-cta p { font-size: 1.15rem; }
.hi-cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }

@media (max-width: 640px) {
    .page-hero.hi-hero h1 { font-size: 2rem; }
    .page-hero .hi-lead { font-size: 1.05rem; }
    .hi-section h2 { font-size: 1.35rem; }
    .cta-section.hi-cta h2 { font-size: 1.7rem; }
    .hi-table th, .hi-table td { padding: 0.55rem 0.6rem; }
}
