/* ------------------------------
   Root variables
------------------------------ */
:root { --sirius-black:#111314; --sirius-white:#ffffff; --sirius-blue:#0000EB; --sirius-light-blue:#31C8FF; --sirius-cta:#ffffff; --sirius-light-grey:#dedede; }


/* All styles live under .lcwa-flat to avoid bleed */
body {
  padding:0;
  margin:0;
}
.lcwa-flat {
  --bg-hero: #0e1a88;
  --bg-card: #ffffff;
  --bg-body: #ffffff;
  --ink: #0e1030;
  --ink-inverse: #ffffff;
  --accent: #1a46ff;
  --accent-ink: #ffffff;
  --muted: #6b7280;
  --maxw: 1120px;
  color: var(--ink-inverse);
  background: var(--bg-body);
  font: 16px/1.45 'Helvetica Now', Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Layout helpers */
.lcwa-flat .center { text-align: center; }
.lcwa-flat .wrapper {
  margin: 0 auto;
  max-width: var(--maxw);
  padding: 4px;
}


.lcwa-flat .hero .wrapper {
  padding-top: clamp(48px, 10vh, 120px);
  padding-bottom: clamp(32px, 10vh, 96px);
  display: grid;
  place-items: center;
  gap: 16px;
  text-align: center;
}
.lcwa-flat .eyebrow {
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: .3px;
  margin: 0;
}
.lcwa-flat .logo {
  display: block;
  width: clamp(220px, 45vw, 545px);
  height: auto;
  will-change: transform;
}
.lcwa-flat .footnote {
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 600;
  max-width: 26ch;
  margin: 0;
}

/* Plan section */
.lcwa-flat .plan {
  display: grid;
  place-items: center;
  padding: 24px 16px;
  position:relative;
  z-index:1;
  margin-top: clamp(-200px, -20vh, -120px);
}
.lcwa-flat .plan-card {
  width: 100%;
  max-width: 840px;
  background: var(--bg-card);
  color: var(--ink);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  padding: clamp(16px, 2.5vw, 28px);
}
.lcwa-flat .plan-header { text-align: left; }
.lcwa-flat .plan-title {
    font-weight: 800;
    line-height: 1.05;
    text-transform: none;
    font-size: clamp(14px, 2.2vw, 18px);
    margin: 0 0 6px;
}
.lcwa-flat .plan-price {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--sirius-blue);
    font-weight: 800;
    margin: 0 0 4px;
    min-height: 41px;
}

.lcwa-flat .plan-promo {
  font-size: clamp(16px, 2vw, 24px);
  color:var(--sirius-blue);
  font-weight: 800;
  margin: 0 0 2px;
}

.lcwa-flat .plan-sub {
  margin: 0 0 8px; color: #1f2937;
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 400;
}
.lcwa-flat .helper { color: var(--muted); margin: 8px 0 0; }

.lcwa-flat .plan-card .btn {
  display: inline-block;
  padding: 14px 32px;
  margin: 10px 0 0px;
  border-radius: 999px;
  background: var(--sirius-blue);
  color: #fff;
  font: 700 18px/1 'Helvetica Now', Arial, sans-serif;
  text-decoration: none;
  text-align: center;
  box-shadow: none;
  cursor: pointer;
  transition: filter .2s ease;
}

.lcwa-flat .plan-card .btn:focus-visible {
  outline: 2px solid var(--sirius-light-blue);
  outline-offset: 2px;
}

@media (hover:hover) and (pointer:fine) {
  .lcwa-flat .plan-card .btn:hover { filter: brightness(.9); }
}

/* Mobile override: full width, centered */
@media (max-width: 768px) {
  .lcwa-flat .plan-card .btn {
    display: block;
    width: 100%;
    margin: 20px auto 14px;
  }
}


.lcwa-flat .plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px; /* Vertical spacing */
}

.lcwa-flat .plan-list li {
  display: grid;
  grid-template-columns: 24px 1fr; /* Default icon and text alignment */
  align-items: center;
  gap: 12px; /* Space between checkmark and text */
  font-size: 16px;
  line-height: 1.5;
}





/* Channel guide link */
.lcwa-flat .link-cta {
  font-weight:600;
  display: inline-block;
  margin: 20px auto 20px;
  color: var(--sirius-blue);
  text-decoration: underline;

}

/* Details */
.lcwa-flat .details {
  max-width: var(--maxw);
  margin: 16px auto 0;
  padding: 0 16px 32px;
  color: #000;
  font-size: 14px;
}

/* Footer */
.lcwa-flat .site-footer {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 24px;
  padding: 16px;
  text-align: center;
  font-size:12px;
}
.lcwa-flat .site-footer a { color: #000; }
.lcwa-flat .site-footer .copyright { color: #000; }

.lcwa-flat .site-footer nav { display: inline-flex; flex-wrap: wrap; gap: 8px; }

/* Modal */
.lcwa-flat .modal {
  border: none;
  padding: 0;
  width: min(92vw, 1040px);
  max-height: 88vh;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}
.lcwa-flat .modal::backdrop {
  background: rgba(0,0,0,.6);
}
.lcwa-flat .modal img { width: 100%; height: auto; display: block; }
.lcwa-flat .modal-close {
  position: absolute;
  inset: 10px auto auto 10px;
  z-index: 1;
  font-size: 14px;
  background: rgba(255,255,255,.92);
  border: 0;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.lcwa-flat .site-footer a img {
    height: 10px;
    width: auto;
    margin-top: auto;
    transform: translateY(1px);
}


/* ------------------------------
   Namespace container
------------------------------ */
.lcwa-flat { color: var(--sirius-white); background: var(--sirius-white); min-height: 100dvh; }
.lcwa-flat * { box-sizing: border-box; }
.lcwa-flat a { color: inherit; }
.lcwa-flat .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,1px,1px); white-space: nowrap; border: 0; }

/* Container that limits line length for text sections */
.lcwa-flat .shell { margin: 0 auto; padding: 0 20px; max-width: 1120px; }

/* ------------------------------
   Hero header
   The header uses a flat tiled image for the background to avoid layout shift
------------------------------ */

.lcwa-flat .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.15) 70%, rgba(0,0,0,.45) 100%); }
.lcwa-flat .hero > .wrapper { position: relative; z-index: 1; display: grid; gap: 12px; justify-items: center; width: min(550px, 100%);}
.lcwa-flat .hero .eyebrow { font-weight:800; color: var(--sirius-white); }
.lcwa-flat .hero .footnote { font-weight:800; color: var(--sirius-white); max-width: 52ch; }
.lcwa-flat .hero .logo { width: clamp(240px, 34vw, 545px); height: auto; }

/* ------------------------------
   Offer card
------------------------------ */
.lcwa-flat .offer { background: var(--sirius-white); color: var(--sirius-black); border-radius: 20px; margin: 24px auto; padding: 20px; max-width: 960px; box-shadow: 0 8px 30px rgba(0,0,0,.25);
  position: relative;
  z-index: 1;
  margin-top: clamp(-220px, -22vh, -140px); /* overlap hero */
}
.lcwa-flat .price { font-weight: 900; }
.lcwa-flat .cta { appearance: none; border: 0; display: inline-grid; place-items: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: var(--sirius-blue); color: var(--sirius-white); cursor: pointer; transition: filter .25s ease; font-weight: 800; text-transform: none; }
.lcwa-flat .cta:focus-visible { outline: 2px solid var(--sirius-light-blue); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .lcwa-flat .cta:hover { filter: brightness(.9); } }

/* ------------------------------
   Feature list
------------------------------ */
.lcwa-flat .feature-list { display: grid; gap: 14px; padding-left: 0; list-style: none; }
.lcwa-flat .feature { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.lcwa-flat .feature::before { content: "✓"; display: inline-block; width: 20px; line-height: 1; color: var(--sirius-blue); font-weight: 900; }

/* ------------------------------
   Footer links block
------------------------------ */
.lcwa-flat .footer { color: var(--sirius-white); text-align: center; padding: 24px 16px 40px; }
.lcwa-flat .footer .links { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; font-size: 12px; }
.lcwa-flat .footer .links a { text-decoration: underline; }

/* ------------------------------
   Typography system
   Uses original scales with the 390px and 1920px clamps
------------------------------ */
.lcwa-flat .persona-h1 { font-size: 24px; font-weight: 900; line-height: 1.05; }
@media (min-width: 390px) { .lcwa-flat .persona-h1 { font-size: calc(4.7058823529vw + 5.6470588235px); } }
@media (min-width: 1920px) { .lcwa-flat .persona-h1 { font-size: 96px; } }

.lcwa-flat .persona-h2 { font-size: 24px; font-weight: 800; line-height: 1.05; }
@media (min-width: 390px) { .lcwa-flat .persona-h2 { font-size: calc(1.568627451vw + 17.8823529412px); } }
@media (min-width: 1920px) { .lcwa-flat .persona-h2 { font-size: 48px; } }

.lcwa-flat .persona-h3-large { font-size: 18px; font-weight: 800; line-height: 1.05; }
@media (min-width: 390px) { .lcwa-flat .persona-h3-large { font-size: calc(1.1764705882vw + 13.4117647059px); } }
@media (min-width: 1920px) { .lcwa-flat .persona-h3-large { font-size: 36px; } }

.lcwa-flat .persona-h3 { font-size: 14px; font-weight: 800; line-height: 1.05; }
@media (min-width: 390px) { .lcwa-flat .persona-h3 { font-size: calc(.9150326797vw + 10.431372549px); } }
@media (min-width: 1920px) { .lcwa-flat .persona-h3 { font-size: 28px; } }

.lcwa-flat .persona-p { font-size: 14px; font-weight: 400; line-height: 1.2; }
@media (min-width: 390px) { .lcwa-flat .persona-p { font-size: calc(.6535947712vw + 11.4509803922px); } }
@media (min-width: 1920px) { .lcwa-flat .persona-p { font-size: 24px; } }

.lcwa-flat .persona-cta { font-size: 18px; font-weight: 700; line-height: .94; }

/* Balance long headings on supporting browsers without changing layout */
.lcwa-flat .balance { text-wrap: balance; }

/* ------------------------------
   Breakpoints that mirror the legacy site
------------------------------ */
@media (max-width: 768px) {
  .lcwa-flat .hero { padding-top: 0px;  padding-bottom: 95px; }
  .lcwa-flat .offer { margin: 16px 12px; padding: 16px;  margin-top: -120px;}
  .lcwa-flat .feature { grid-template-columns: 18px 1fr; gap: 10px; }
}

/* Optional larger breakpoints for copy width tweaks */
@media (min-width: 1280px) {
  .lcwa-flat .hero .footnote { max-width: 60ch; }
}

/* ------------------------------
   Motion safety
------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .lcwa-flat *, .lcwa-flat *::before, .lcwa-flat *::after { animation: none !important; transition: none !important; }
}

/* Value props should span the full card */
.lcwa-flat .plan-card .plan-features,
.lcwa-flat .plan-card .features-list {
  width: 100%;
  max-width: none;
}

/* Layout each bullet as icon + text, full-width */
.lcwa-flat .features-list {
  display: flex;
  flex-direction: column;
  gap: 22px;                /* match the comp spacing */
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.lcwa-flat .features-list li {
  display: grid;
  grid-template-columns: 28px 1fr;  /* icon, text */
  align-items: start;
  column-gap: 16px;
  width: 100%;
  max-width: none;
}

/* Ensure paragraph text is not constrained */
.lcwa-flat .features-list li p,
.lcwa-flat .features-list li span,
.lcwa-flat .features-list li div {
  max-width: none;
}

/* Checkmark icon sizing */
.lcwa-flat .features-list .check {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

/* Card inner padding so bullets breathe edge to edge of the card */
.lcwa-flat .plan-card .plan-body {
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

/* Typography polish to match comp */
.lcwa-flat .features-list b,
.lcwa-flat .features-list strong {
  font-weight: 800;         /* bold labels at start of each line */
}
.lcwa-flat .plan-list li::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  
  /* This is your exact SVG checkmark, URL-encoded and embedded directly.
    The unnecessary mask from the original SVG was removed for cleaner code,
    but the visual result is identical.
  */
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 49 49' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M20.24 32.81L12.24 24.81L15.04 22.01L20.24 27.21L33.44 14.01L36.24 16.81L20.24 32.81Z' fill='%230000EB'/%3e%3c/svg%3e");
  
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- Channel Guide Modal Styles (Namespaced) --- */

/* Helper class to prevent the main page from scrolling when the modal is open */
.lcwa-flat.modal-open {
  overflow: hidden;
}

/* The dark, semi-transparent background overlay */
.lcwa-flat .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75); /* 75% black */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show the modal when aria-hidden is false */
.lcwa-flat .modal-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

/* The main modal container */
.lcwa-flat .modal-container {
  width: 90vw;   /* 90% of viewport width */
  height: 90vh;  /* 90% of viewport height */
  background-color: var(--sirius-white);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Ensures header stays put */
  color: var(--sirius-black); /* Text color for inside the modal */
}

/* Modal Header: Gray background, contains title and close button */
.lcwa-flat .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: #f0f0f0; /* Light gray background */
  border-bottom: 1px solid #ddd;
  flex-shrink: 0; /* Prevents header from shrinking */
}

.lcwa-flat .modal-title-text {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

/* Close button styling */
.lcwa-flat .modal-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  line-height: 0; /* Helps align the SVG */
  color: #555;
}

.lcwa-flat .modal-close-btn:hover {
  color: #000;
}

/* The scrollable content area */
.lcwa-flat .modal-content {
  flex-grow: 1;
  overflow-y: auto; /* Enables vertical scrolling */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
  padding-bottom: 15px; /* Adds space at the very bottom */
}

/* Ensures the image fits the width of the content area */
.lcwa-flat .modal-content img {
  width: 100%;
  height: auto;
  display: block; /* Removes any extra space below the image */
}

@media (min-width: 1024px) {
  .lcwa-flat .plan-list li {
    /* Make the text larger on desktop */
    font-size: 18px;
    
    /* Adjust the grid to give the larger checkmark more space */
    grid-template-columns: 32px 1fr;
    gap: 16px; /* A little more space for a larger font */
  }

  .lcwa-flat .plan-list li::before {
    /* Make the checkmark icon larger */
    width: 40px;
    height: 40px;
  }
  
}
