/* ==========================================================================
   MegaIPTV — megaiptv.ca
   Design DNA cloned from reference: light/white shadcn-style SaaS surface,
   violet primary rgb(115,103,240) = #7367F0, Inter typeface, radius .5rem,
   sticky blurred header, gray-50 alternating bands, gray-100 footer.
   ALL styling lives in this file. Zero inline styles anywhere on the site.
   ========================================================================== */

/* ----- 1. Tokens ---------------------------------------------------------- */
:root {
  --primary: #7367F0;
  --primary-rgb: 115, 103, 240;
  --primary-soft: #8F86F3;
  --primary-hover: #5E52D9;
  --primary-dark: #4B3FC4;
  --primary-tint: #EFEDFE;
  --primary-foreground: #FFFFFF;

  --background: #FFFFFF;
  --foreground: #000000;
  --surface-alt: #F9FAFB;
  --surface-card: #FFFFFF;
  --footer-bg: #F3F4F6;

  --muted: #F0F0F0;
  --muted-foreground: #737373;
  --text-body: #4B5563;
  --text-soft: #6B7280;

  --border: #E6E6E6;
  --border-strong: #D9D9D9;
  --input: #E6E6E6;
  --ring: #7367F0;

  --star: #FACC15;
  --success: #16A34A;
  --danger: #DC2626;

  --radius: 0.5rem;
  --radius-sm: 0.375rem;
  --radius-lg: 0.75rem;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  --shadow-primary: 0 12px 28px -10px rgba(var(--primary-rgb), .55);

  --gradient: linear-gradient(to right, var(--primary), var(--primary-soft));
  --container: 1200px;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji";
}

/* ----- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.25rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p { color: var(--text-body); }

/* ----- 3. Layout helpers -------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
main { flex: 1 0 auto; }
.section { padding: 4rem 0; background: var(--background); }
.section--alt { background: var(--surface-alt); }
.section--tight { padding: 2.75rem 0; }
.section--grad { background: var(--gradient); color: #fff; }
.section--solid { background: var(--primary); color: #fff; }
.section--grad p, .section--solid p { color: rgba(255, 255, 255, .88); }
.section--grad a:not(.btn), .section--solid a:not(.btn) { color: #fff; text-decoration: underline; }

.section-head { max-width: 780px; margin: 0 auto 2.75rem; text-align: center; }
.section-head p { margin-top: .85rem; font-size: 1.05rem; }
.section--grad .section-head p, .section--solid .section-head p { color: rgba(255, 255, 255, .9); }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mt-lg { margin-top: 2.25rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ----- 4. Header / nav ---------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 1rem;
}
.logo {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em;
  color: var(--foreground); text-decoration: none; white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo span { color: var(--primary); }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .5rem .7rem; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; color: var(--text-body); text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.nav a:hover { background: var(--muted); color: var(--foreground); text-decoration: none; }
.nav a.is-active { color: var(--primary); background: var(--primary-tint); }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: #fff; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--foreground);
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--foreground);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ----- 5. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .65rem 1.4rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 600; line-height: 1.2; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--primary-hover); color: #fff; }
.btn--outline {
  background: var(--background); color: var(--foreground);
  border-color: var(--border-strong); box-shadow: var(--shadow-sm);
}
.btn--outline:hover { background: var(--muted); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: #F1EFFE; color: var(--primary-dark); }
.btn--sm { min-height: 38px; padding: .45rem 1rem; font-size: .85rem; }
.btn--lg { min-height: 50px; padding: .8rem 1.9rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row--center { justify-content: center; }

/* ----- 6. Hero ------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; background: var(--gradient); color: #fff; padding: 5rem 0; }
.hero::after {
  content: ""; position: absolute; top: -140px; right: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 820px; }
.hero h1 { color: #fff; }
.hero-lead { margin-top: 1.15rem; font-size: 1.15rem; color: rgba(255, 255, 255, .92); max-width: 640px; }
.hero .btn-row { margin-top: 2rem; }
.hero-eyebrow {
  display: inline-block; margin-bottom: 1rem; padding: .35rem .85rem;
  border-radius: var(--radius-pill); background: rgba(255, 255, 255, .18);
  font-size: .8rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.25rem;
  padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .25);
}
.hero-meta div { min-width: 120px; }
.hero-meta strong { display: block; font-size: 1.55rem; font-weight: 800; }
.hero-meta span { font-size: .85rem; color: rgba(255, 255, 255, .8); }

.page-hero { background: var(--gradient); color: #fff; padding: 3.5rem 0; text-align: center; }
.page-hero h1 { color: #fff; }
.page-hero p { margin: 1rem auto 0; max-width: 720px; color: rgba(255, 255, 255, .92); }

/* ----- 7. Breadcrumbs ----------------------------------------------------- */
.breadcrumbs { padding: .9rem 0; border-bottom: 1px solid var(--border); background: var(--surface-alt); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .83rem; color: var(--muted-foreground); }
.breadcrumbs li::after { content: "/"; margin-left: .4rem; color: var(--border-strong); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--muted-foreground); }
.breadcrumbs a:hover { color: var(--primary); }

/* ----- 8. Cards ----------------------------------------------------------- */
.card {
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .95rem; }
.card--plain:hover { transform: none; box-shadow: var(--shadow-sm); }

.icon-badge {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius); background: var(--primary-tint); color: var(--primary);
  font-size: 1.5rem; margin-bottom: 1rem;
}

.stat-card { text-align: center; padding: 2rem 1.5rem; }
.stat-card .stat-value {
  display: block; font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800;
  color: var(--primary); letter-spacing: -.03em;
}
.stat-card h3 { margin-top: .4rem; font-size: 1.05rem; }
.stat-card p { margin-top: .4rem; font-size: .9rem; color: var(--text-soft); }

/* ----- 9. Intro deal banner (spec block) ---------------------------------- */
.intro-deal-banner { padding: 3rem 0; background: var(--surface-alt); }
.idb-inner {
  max-width: 900px; margin: 0 auto; text-align: center;
  background: var(--surface-card); border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-lg); padding: 2.4rem 1.75rem; box-shadow: var(--shadow-lg);
}
.idb-badge {
  display: inline-block; padding: .35rem .9rem; border-radius: var(--radius-pill);
  background: var(--primary-tint); color: var(--primary-dark);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.idb-title { margin-top: 1rem; font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.idb-lead { margin-top: .85rem; font-size: 1.03rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.idb-feats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem;
  margin: 1.5rem auto 0; max-width: 720px;
}
.idb-feats li {
  display: flex; align-items: center; gap: .45rem;
  font-size: .92rem; font-weight: 500; color: var(--text-body);
}
.idb-feats li::before { content: "✔"; color: var(--primary); font-weight: 700; }
.idb-cta {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  margin-top: 1.75rem; padding: .8rem 2rem; border-radius: var(--radius-sm);
  background: var(--primary); color: #fff; font-size: 1.02rem; font-weight: 700;
  text-decoration: none; box-shadow: var(--shadow-primary);
  transition: background-color .15s ease, transform .15s ease;
}
.idb-cta:hover { background: var(--primary-hover); color: #fff; text-decoration: none; transform: translateY(-1px); }
.idb-note { margin-top: .9rem; font-size: .85rem; color: var(--text-soft); }

/* ----- 10. Pricing -------------------------------------------------------- */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.pricing-grid--five { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 1.1rem; }
.price-card { position: relative; overflow: hidden; padding: 1.9rem 1.5rem; }
.price-card--featured { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.price-card--intro { border-color: var(--primary); background: var(--primary-tint); }
.price-ribbon {
  position: absolute; top: 0; right: 0; padding: .28rem .8rem;
  background: var(--primary); color: #fff; font-size: .75rem; font-weight: 600;
  border-bottom-left-radius: var(--radius);
}
.price-card h3 { font-size: 1.15rem; }
.price-card .price-device { font-size: .85rem; color: var(--text-soft); }
.price-amount { margin: 1rem 0 .3rem; font-size: 2.35rem; font-weight: 800; letter-spacing: -.035em; color: var(--foreground); }
.price-amount small { font-size: 1rem; font-weight: 600; color: var(--text-soft); }
.price-save {
  display: inline-block; margin-bottom: 1rem; padding: .2rem .6rem;
  border-radius: var(--radius-pill); background: #DCFCE7; color: #15803D;
  font-size: .78rem; font-weight: 700;
}
.price-perms { font-size: .82rem; color: var(--text-soft); margin-bottom: 1rem; }
.price-feats { margin-bottom: 1.5rem; }
.price-feats li {
  display: flex; gap: .55rem; align-items: flex-start;
  font-size: .9rem; color: var(--text-body); padding: .3rem 0;
}
.price-feats li::before { content: "✔"; color: var(--primary); font-weight: 700; flex: none; }
.price-card .btn {
  margin-top: auto; white-space: normal; text-align: center;
  padding-left: .75rem; padding-right: .75rem; font-size: .88rem;
}
.pricing-note { margin-top: 2rem; text-align: center; font-size: .95rem; }

/* ----- 11. Feature / value lists ------------------------------------------ */
.feature-list li {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .45rem 0; font-size: .97rem; color: var(--text-body);
}
.feature-list li::before { content: "✔"; color: var(--primary); font-weight: 700; flex: none; }
.feature-list li > span { flex: 1 1 auto; }
.section--grad .feature-list li, .section--solid .feature-list li { color: rgba(255, 255, 255, .92); }
.section--grad .feature-list li::before, .section--solid .feature-list li::before { color: #fff; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: #fff; }
.split h2 { margin-bottom: 1rem; }

.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.step { text-align: center; padding: 1.75rem 1.25rem; }
.step-num {
  width: 52px; height: 52px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--primary); color: #fff; display: flex; align-items: center;
  justify-content: center; font-size: 1.25rem; font-weight: 800;
}

/* ----- 12. Testimonials --------------------------------------------------- */
.testimonial {
  max-width: 820px; margin: 0 auto; background: var(--surface-card);
  padding: 2.25rem; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); text-align: center;
}
.testimonial .stars { color: var(--star); font-size: 1.05rem; letter-spacing: .12em; margin-bottom: 1rem; }
.testimonial blockquote { font-style: italic; color: var(--text-body); font-size: 1.03rem; }
.testimonial .cite { margin-top: 1.25rem; }
.testimonial .cite strong { display: block; font-weight: 600; color: var(--foreground); font-style: normal; }
.testimonial .cite span { font-size: .85rem; color: var(--text-soft); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.testimonial-grid .testimonial { max-width: none; padding: 1.75rem; text-align: left; }
.testimonial-grid .testimonial .cite { text-align: left; }

/* ----- 13. FAQ / accordion ------------------------------------------------ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem .25rem; font-size: 1rem; font-weight: 600; cursor: pointer;
  list-style: none; color: var(--foreground);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "▾"; color: var(--muted-foreground); transition: transform .2s ease; flex: none; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--primary); }
.faq-answer { padding: 0 .25rem 1.25rem; font-size: .95rem; color: var(--text-body); }
.faq-answer p + p { margin-top: .75rem; }

/* ----- 14. Tables --------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
thead th {
  background: var(--surface-alt); text-align: left; padding: .85rem 1rem;
  font-weight: 600; color: var(--foreground); border-bottom: 1px solid var(--border);
}
tbody td { padding: .8rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-body); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #FCFCFD; }

/* ----- 15. Channels ------------------------------------------------------- */
.chan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.chan-card { padding: 1.35rem; }
.chan-card .chan-icon { font-size: 1.7rem; margin-bottom: .6rem; }
.chan-card h3 { font-size: 1.02rem; }
.chan-card .chan-count { font-size: .82rem; font-weight: 700; color: var(--primary); }
.chan-card ul { margin-top: .7rem; font-size: .86rem; color: var(--text-soft); }
.chan-card li { padding: .12rem 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.pill {
  padding: .4rem .9rem; border-radius: var(--radius-pill); background: var(--primary-tint);
  color: var(--primary-dark); font-size: .84rem; font-weight: 600;
}

/* ----- 16. Forms ---------------------------------------------------------- */
.form-card {
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-lg);
  max-width: 560px;
}
.form-card--center { margin: 0 auto; }
.form-card h2, .form-card h3 { color: var(--foreground); }
.form-card > p { color: var(--text-body); }
.form-intro { margin-bottom: 1.5rem; font-size: .95rem; }
.field { display: block; margin-bottom: 1.1rem; }
.field > label { display: block; margin-bottom: .4rem; font-size: .88rem; font-weight: 600; color: var(--foreground); }
.field .hint { display: block; margin-top: .3rem; font-size: .78rem; color: var(--text-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: .65rem .85rem;
  border: 1px solid var(--input); border-radius: var(--radius-sm);
  background: #fff; color: var(--foreground); font-size: .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .18);
}
.form-trust {
  display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .9rem;
  font-size: .82rem; color: var(--text-soft);
}
.form-trust span { display: inline-flex; align-items: center; gap: .35rem; }
.form-message {
  margin-top: 1rem; padding: .75rem 1rem; border-radius: var(--radius-sm); font-size: .9rem;
}
.form-message--success { background: #DCFCE7; color: #15803D; border: 1px solid #BBF7D0; }
.form-message--error { background: #FEE2E2; color: #B91C1C; border: 1px solid #FECACA; }
.honeypot { position: absolute !important; left: -9999px !important; }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: start; }
.contact-methods li { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.contact-methods li:last-child { border-bottom: 0; }
.contact-methods strong { display: block; font-size: .88rem; color: var(--foreground); }
.contact-methods a, .contact-methods span { font-size: .95rem; color: var(--text-body); }
.contact-methods a { color: var(--primary); }

/* ----- 17. Prose (legal + guide) ------------------------------------------ */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 {
  margin-top: 2.5rem; margin-bottom: .9rem; font-size: 1.45rem;
  padding-bottom: .5rem; border-bottom: 1px solid var(--border);
}
.prose h3 { margin-top: 1.75rem; margin-bottom: .6rem; font-size: 1.1rem; }
.prose p { margin-bottom: 1rem; font-size: .98rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem 0; }
.prose ul li { position: relative; padding: .28rem 0 .28rem 1.3rem; font-size: .96rem; color: var(--text-body); }
.prose ul li::before { content: "•"; position: absolute; left: .3rem; color: var(--primary); font-weight: 700; }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; counter-increment: n; padding: .28rem 0 .28rem 1.7rem; font-size: .96rem; color: var(--text-body); }
.prose ol li::before {
  content: counter(n) "."; position: absolute; left: 0; color: var(--primary); font-weight: 700;
}
.prose .table-wrap { margin-bottom: 1.5rem; }
.prose strong { color: var(--foreground); }
.legal-meta {
  margin-bottom: 1.75rem; padding: .85rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--surface-alt); border: 1px solid var(--border);
  font-size: .87rem; color: var(--text-soft);
}
.callout {
  margin: 1.5rem 0; padding: 1.1rem 1.25rem; border-radius: var(--radius-sm);
  background: var(--primary-tint); border-left: 4px solid var(--primary);
  font-size: .95rem; color: var(--text-body);
}
.callout strong { color: var(--primary-dark); }
.toc { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.35rem 1.5rem; margin-bottom: 2.5rem; }
.toc h2 { margin: 0 0 .75rem; font-size: 1.05rem; border: 0; padding: 0; }
.toc ol { margin: 0; }
.toc ol li { padding: .22rem 0 .22rem 1.7rem; font-size: .92rem; }

/* ----- 18. Footer --------------------------------------------------------- */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--border); margin-top: auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2rem;
  padding: 3rem 0 2rem;
}
.footer-brand .logo { font-size: 1.25rem; }
.footer-brand p { margin-top: .8rem; font-size: .9rem; color: var(--text-soft); max-width: 320px; }
.footer-col h3 { margin-bottom: .9rem; font-size: .95rem; color: var(--foreground); }
.footer-col li { padding: .22rem 0; }
.footer-col a, .footer-col span { font-size: .88rem; color: var(--text-soft); }
.footer-col a:hover { color: var(--primary); }
.footer-col address { font-style: normal; font-size: .88rem; color: var(--text-soft); line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 1.25rem 0;
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center;
  font-size: .84rem; color: var(--text-soft);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { color: var(--text-soft); }
.footer-bottom a:hover { color: var(--primary); }
.lang-switch { display: inline-flex; align-items: center; gap: .4rem; font-size: .84rem; }
.lang-switch a { font-weight: 600; }

/* ----- 19. Responsive ----------------------------------------------------- */
@media (max-width: 1024px) {
  .pricing-grid--five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4, .chan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1rem 1rem;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
  }
  .site-header { position: sticky; }
  .site-header .container { position: relative; flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .nav.open, .nav:focus-within { display: flex; }
  .nav a { padding: .7rem .5rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .header-actions .btn { display: none; }
  .split, .contact-grid, .grid--2 { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-grid, .pricing-grid--five, .grid--3, .step-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0; }
  .section { padding: 3rem 0; }
}
@media (max-width: 560px) {
  .grid--4, .chan-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .idb-inner { padding: 1.75rem 1.1rem; }
  .form-card { padding: 1.5rem; }
  .btn-row .btn { width: 100%; }
}

/* ----- 20. Print ---------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .btn, .intro-deal-banner { display: none !important; }
  body { color: #000; }
}
