:root {
  --navy: #071527;
  --navy-2: #0d223a;
  --cyan: #08b9e8;
  --cyan-2: #49d2ff;
  --green: #14c784;
  --ink: #101827;
  --muted: #617085;
  --line: #dbe5ef;
  --soft: #f4f8fb;
  --white: #fff;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(7, 21, 39, .16);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.sr-only, .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  width: auto;
  height: auto;
  margin: 12px;
  padding: 10px 14px;
  clip: auto;
  z-index: 1000;
  background: var(--white);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(7, 21, 39, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.brand-lockup img { width: 220px; }
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}
.primary-nav a, .nav-link-button {
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: inherit;
}
.primary-nav a:hover, .nav-link-button:hover { color: var(--cyan-2); }
.header-cta, .primary-button, .secondary-button, .footer-cta {
  border: 0;
  border-radius: var(--radius);
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.header-cta, .primary-button, .footer-cta {
  background: linear-gradient(135deg, var(--cyan), #087fc5);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(8,185,232,.26);
}
.secondary-button {
  border: 1px solid rgba(255,255,255,.8);
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.secondary-button:not(.light) { backdrop-filter: blur(10px); }
.secondary-button.light { color: var(--white); border-color: rgba(255,255,255,.28); }
.full-button { width: 100%; }
.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.nav-toggle span:not(.sr-only) { display: block; width: 28px; height: 2px; margin: 6px 0; background: var(--white); }

.hero {
  position: relative;
  min-height: 860px;
  color: var(--white);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 140px 0 150px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/images/hero/xtreme-hd-iptv-canada-hero.png") center/cover no-repeat;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,21,39,.96), rgba(7,21,39,.62) 42%, rgba(7,21,39,.34)),
    linear-gradient(0deg, rgba(7,21,39,.98), transparent 48%, rgba(7,21,39,.58));
}
.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 26px;
}
.eyebrow, .kicker, .plan-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan-2);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}
.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(56px, 9vw, 118px);
  line-height: .92;
  letter-spacing: 0;
}
.hero-lede {
  max-width: 900px;
  margin: 0;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.22;
  font-weight: 800;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
  max-width: 820px;
  font-size: 18px;
  color: rgba(255,255,255,.86);
}
.rating-stars {
  display: inline-flex;
  background: #00b67a;
  color: white;
  letter-spacing: 6px;
  padding: 7px 6px 7px 12px;
  border-radius: 4px;
  font-size: 22px;
  line-height: 1;
}
.hero-metrics {
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hero-metrics article {
  min-height: 138px;
  padding: 28px;
  background: rgba(244,248,251,.92);
  color: var(--ink);
  border-radius: 8px 8px 0 0;
  box-shadow: var(--shadow);
  text-align: center;
}
.hero-metrics strong { display: block; font-size: clamp(38px, 6vw, 66px); line-height: 1; }
.hero-metrics span { color: #145cff; font-size: 22px; font-weight: 900; }

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}
.split-section, .device-section, .canada-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  align-items: center;
}
.section h2 {
  margin: 12px 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
}
.section p { color: var(--muted); font-size: 18px; }
.feature-stack { display: grid; gap: 16px; }
.feature-stack article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 35px rgba(7,21,39,.06);
  align-items: start;
}
.feature-stack span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-weight: 900;
}
.feature-stack h3, .benefit-grid h3 { margin: 0 0 6px; }
.feature-stack p, .benefit-grid p { margin: 0; font-size: 16px; }
.feature-card-copy {
  min-width: 0;
  width: 100%;
}
.feature-card-copy p {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.benefits-band {
  width: 100%;
  background: var(--soft);
  padding-left: max(16px, calc((100% - 1120px)/2));
  padding-right: max(16px, calc((100% - 1120px)/2));
}
.band-head { max-width: 760px; }
.benefit-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.benefit-grid article {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border-top: 4px solid var(--cyan);
}
.section-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 38px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
  height: 100%;
  box-shadow: 0 18px 36px rgba(7,21,39,.07);
  overflow: hidden;
}
.featured-plan {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.featured-plan p, .featured-plan li { color: rgba(255,255,255,.78); }
.value-ribbon {
  position: absolute;
  top: 18px;
  right: -38px;
  width: 150px;
  padding: 7px 0;
  transform: rotate(38deg);
  text-align: center;
  background: var(--green);
  color: var(--navy);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: 0 10px 24px rgba(20,199,132,.26);
}
.price-line { font-size: 48px; font-weight: 950; line-height: 1; }
.price-line sup { font-size: 22px; }
.price-line span { font-size: 14px; color: var(--muted); }
.featured-plan .price-line span { color: rgba(255,255,255,.7); }
.plan-card ul,
.pricing-card .features-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 9px;
  flex: 1 1 auto;
  align-content: start;
}
.plan-card li {
  position: relative;
  min-height: 20px;
  padding-left: 27px;
  font-size: 14px;
  line-height: 1.35;
}
.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 5px 12px rgba(8,185,232,.18);
}
.plan-card li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 5px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.plan-card .primary-button,
.pricing-card .choose-plan-button {
  margin-top: auto;
  width: 100%;
  min-height: 60px;
  font-size: 16px;
  flex: 0 0 auto;
}

.setup-section { width: 100%; background: var(--navy); color: var(--white); padding-left: max(16px, calc((100% - 1120px)/2)); padding-right: max(16px, calc((100% - 1120px)/2)); }
.setup-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; }
.setup-panel p, .setup-panel span { color: rgba(255,255,255,.72); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: steps; }
.timeline li { position: relative; padding: 22px 22px 22px 72px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.timeline li:before { counter-increment: steps; content: counter(steps); position: absolute; left: 20px; top: 22px; width: 34px; height: 34px; display: grid; place-items: center; background: var(--cyan); border-radius: 50%; font-weight: 900; }
.timeline strong { display: block; font-size: 20px; }
.timeline span { display: block; margin-top: 4px; }

.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.device-grid article, .province-list span {
  min-height: 84px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eef8ff, #f7fbff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
  color: var(--navy-2);
}
.reseller-section {
  width: 100%;
  background: linear-gradient(135deg, #071527, #073653);
  color: var(--white);
  padding-left: max(16px, calc((100% - 1120px)/2));
  padding-right: max(16px, calc((100% - 1120px)/2));
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 36px;
}
.reseller-section p { color: rgba(255,255,255,.76); }
.reseller-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.reseller-packages article {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}
.reseller-packages strong {
  display: block;
  margin: 0;
  font-size: 26px;
}
.reseller-card-button {
  margin-top: auto;
  min-height: 56px;
  font-size: 15px;
}
.reseller-main-button {
  margin-top: 12px;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--cyan-2);
  font-weight: 900;
  padding: 0;
}
.province-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; background: var(--white); }
summary { cursor: pointer; font-weight: 900; font-size: 19px; }
details p { margin-bottom: 0; }

.site-footer {
  background: #06111f;
  color: rgba(255,255,255,.78);
  padding: 70px max(16px, calc((100% - 1120px)/2)) 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .8fr 1fr; gap: 38px; }
.footer-grid h2 { color: var(--white); font-size: 17px; margin: 0 0 12px; }
.footer-grid a { display: block; margin: 9px 0; color: rgba(255,255,255,.75); }
.footer-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 14px; }

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(2, 8, 18, .72);
  backdrop-filter: blur(12px);
}
.modal {
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
}
.modal h2 { margin: 0 34px 8px 0; font-size: 30px; line-height: 1.08; }
.modal-note { color: var(--muted); margin-top: 0; }
.modal-close { position: absolute; right: 18px; top: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; font-size: 30px; background: var(--soft); }
.modal form { display: grid; gap: 14px; }
.modal label { display: grid; gap: 6px; font-weight: 800; color: var(--navy); }
.modal input, .modal select, .modal textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
}
.form-success { margin: 0; padding: 12px; color: #076c49; background: #e8fff6; border-radius: var(--radius); }

@media (max-width: 980px) {
  .nav-shell { grid-template-columns: auto auto; justify-content: space-between; }
  .nav-toggle { display: block; }
  .primary-nav, .header-cta {
    display: none;
  }
  .primary-nav.is-open {
    display: grid;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 88px;
    padding: 20px;
    background: rgba(7,21,39,.97);
    border-radius: var(--radius);
    text-align: left;
    justify-content: stretch;
  }
  .primary-nav.is-open .nav-link-button { text-align: left; }
  .hero { min-height: 820px; padding-top: 120px; }
  .hero-metrics, .split-section, .setup-panel, .device-section, .reseller-section, .canada-section { grid-template-columns: 1fr; }
  .plan-grid, .benefit-grid, .reseller-packages, .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .brand-lockup img { width: 186px; }
  .hero { padding-bottom: 36px; min-height: auto; }
  .hero-content { padding-top: 84px; }
  .hero-lede { font-size: 22px; }
  .hero-metrics { position: relative; left: auto; bottom: auto; transform: none; width: min(100% - 32px, 1120px); margin: 32px auto 0; grid-template-columns: 1fr; }
  .hero-metrics article { border-radius: var(--radius); min-height: 108px; }
  .section { padding: 72px 0; }
  .plan-grid, .benefit-grid, .reseller-packages, .footer-grid, .device-grid, .province-list { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
}

/* Final alignment locks for pricing and reseller cards. */
.pricing-grid,
.reseller-grid {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 760px;
}

.pricing-card .features-list {
  flex: 1 1 auto;
}

.pricing-card .choose-plan-button {
  margin-top: auto;
  width: 100%;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

.reseller-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 370px;
}

.reseller-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.reseller-card .reseller-button,
.reseller-card .btn {
  margin-top: auto;
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  border-radius: var(--radius);
}
