/**
 * Checkout Saver — /chrome-extension landing (scoped).
 * Does not alter global header/footer styles.
 */
.cs-cx {
  --cs-cx-teal: #0fb8c9;
  --cs-cx-teal-deep: #0a9eac;
  --cs-cx-teal-soft: rgba(15, 184, 201, 0.12);
  --cs-cx-orange: #fa8c34;
  --cs-cx-orange-hot: #ffc950;
  --cs-cx-ink: #1a2b2e;
  --cs-cx-muted: #5b6b6e;
  --cs-cx-line: rgba(26, 43, 46, 0.12);
  --cs-cx-surface: #f7fbfc;
  --cs-cx-white: #ffffff;
  --cs-cx-radius: 16px;
  --cs-cx-radius-sm: 12px;
  --cs-cx-max: 1120px;
  --cs-cx-font: Montserrat, "Segoe UI", sans-serif;
  --cs-cx-header-offset: 128px;
  color: var(--cs-cx-ink);
  font-family: var(--cs-cx-font);
  overflow-x: hidden;
}

@media (max-width: 991px) {
  .cs-cx {
    --cs-cx-header-offset: 96px;
  }
}

@media (max-width: 575px) {
  .cs-cx {
    --cs-cx-header-offset: 88px;
  }
}

.cs-cx *,
.cs-cx *::before,
.cs-cx *::after {
  box-sizing: border-box;
}

.cs-cx__wrap {
  width: 100%;
  max-width: var(--cs-cx-max);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* —— Hero —— */
.cs-cx-hero {
  position: relative;
  padding: calc(var(--cs-cx-header-offset) + 28px) 0 56px;
  background:
    radial-gradient(900px 420px at 88% 12%, rgba(255, 201, 80, 0.22), transparent 55%),
    radial-gradient(700px 360px at 8% 80%, rgba(255, 255, 255, 0.14), transparent 50%),
    linear-gradient(165deg, #12c4d6 0%, #0fb8c9 38%, #0a9eac 100%);
  color: var(--cs-cx-white);
  overflow: hidden;
}

.cs-cx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
}

.cs-cx-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px 48px;
  align-items: center;
}

.cs-cx-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cs-cx-hero__eyebrow img {
  width: 18px;
  height: 18px;
}

.cs-cx-hero__title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 20, 40, 0.25);
}

.cs-cx-hero__lead {
  margin: 0 0 22px;
  max-width: 34em;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
}

.cs-cx-hero__trust {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.cs-cx-hero__compat {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.cs-cx-hero__media {
  position: relative;
  min-width: 0;
}

.cs-cx-hero__frame {
  display: block;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 40px rgba(0, 30, 50, 0.28);
  overflow: hidden;
  backdrop-filter: blur(2px);
}

.cs-cx-hero__frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.cs-cx-hero__preview {
  position: relative;
  margin: 0;
  max-width: 420px;
  margin-left: auto;
  padding: 24px 22px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 18px 40px rgba(0, 30, 50, 0.28);
}

.cs-cx-hero__fox {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.cs-cx-hero__panel {
  padding: 16px 16px 12px;
  border-radius: 12px;
  background: #fff;
  color: var(--cs-cx-ink);
}

.cs-cx-hero__panel-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.cs-cx-hero__panel-list {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--cs-cx-muted);
}

.cs-cx-hero__panel-list li {
  margin: 0 0 6px;
}

.cs-cx-hero__panel-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--cs-cx-teal-deep);
}

.cs-cx-hero__caption {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

/* —— Shared CTA —— */
.cs-cx-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 33px;
  border: 0;
  background: linear-gradient(90deg, var(--cs-cx-orange) 0%, var(--cs-cx-orange-hot) 100%);
  color: #1a1a1a !important;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cs-cx-cta:hover,
.cs-cx-cta:focus {
  filter: brightness(1.05);
  transform: translateY(-1px);
  color: #1a1a1a !important;
  outline: none;
}

.cs-cx-cta:focus-visible {
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--cs-cx-teal-deep);
}

.cs-cx-cta--ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #fff !important;
}

.cs-cx-cta--ghost:hover,
.cs-cx-cta--ghost:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  filter: none;
}

.cs-cx-cta--secondary {
  background: #fff;
  border: 2px solid var(--cs-cx-teal);
  color: var(--cs-cx-teal-deep) !important;
}

.cs-cx-cta--secondary:hover,
.cs-cx-cta--secondary:focus {
  background: var(--cs-cx-teal-soft);
  color: var(--cs-cx-teal-deep) !important;
  filter: none;
}

.cs-cx-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.cs-cx-cta__note {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.cs-cx-cta.is-hidden,
.cs-cx [hidden] {
  display: none !important;
}

/* Mobile / unsupported messaging */
.cs-cx-alt {
  display: none;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: var(--cs-cx-radius-sm);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.cs-cx-alt a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cs-cx.is-mobile .cs-cx-alt--mobile,
.cs-cx.is-unsupported .cs-cx-alt--unsupported,
.cs-cx.is-installed .cs-cx-alt--installed {
  display: block;
}

.cs-cx.is-mobile .cs-cx-cta--install,
.cs-cx.is-unsupported .cs-cx-cta--install,
.cs-cx.is-installed .cs-cx-cta--install {
  display: none !important;
}

.cs-cx.is-installed .cs-cx-cta--installed-action {
  display: inline-flex !important;
}

.cs-cx-cta--installed-action {
  display: none !important;
}

/* —— Sections —— */
.cs-cx-section {
  padding: 56px 0;
}

.cs-cx-section--soft {
  background: var(--cs-cx-surface);
}

.cs-cx-section--ink {
  background: linear-gradient(160deg, #123338 0%, #1a2b2e 100%);
  color: #fff;
}

.cs-cx-section--ink .cs-cx-kicker,
.cs-cx-section--ink .cs-cx-title,
.cs-cx-section--ink .cs-cx-sub {
  color: #fff;
}

.cs-cx-section--ink .cs-cx-sub {
  color: rgba(255, 255, 255, 0.84);
}

.cs-cx-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cs-cx-teal-deep);
}

.cs-cx-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--cs-cx-ink);
  letter-spacing: -0.015em;
}

.cs-cx-sub {
  margin: 0 0 28px;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--cs-cx-muted);
}

.cs-cx-section__head {
  max-width: 720px;
  margin-bottom: 8px;
}

.cs-cx-section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.cs-cx-section__head--center .cs-cx-sub {
  margin-left: auto;
  margin-right: auto;
}

/* —— Demo flow —— */
.cs-cx-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-cx-flow__item {
  position: relative;
  padding: 20px 18px;
  border-radius: var(--cs-cx-radius-sm);
  background: #fff;
  border: 1px solid var(--cs-cx-line);
  min-height: 100%;
}

.cs-cx-flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--cs-cx-teal);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.cs-cx-flow__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: var(--cs-cx-ink);
}

.cs-cx-flow__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--cs-cx-muted);
}

/* —— Savings types —— */
.cs-cx-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cs-cx-type {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: var(--cs-cx-radius-sm);
  background: #fff;
  border: 1px solid var(--cs-cx-line);
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a.cs-cx-type:hover,
a.cs-cx-type:focus {
  border-color: var(--cs-cx-teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 184, 201, 0.12);
  outline: none;
  color: inherit;
  text-decoration: none !important;
}

.cs-cx-soon {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a5bd6;
  background: rgba(22, 119, 255, 0.12);
  vertical-align: middle;
}

/* —— Differentiators story —— */
.cs-cx-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cs-cx-story__item {
  padding: 20px 22px;
  border-radius: var(--cs-cx-radius-sm);
  background: #fff;
  border: 1px solid var(--cs-cx-line);
}

.cs-cx-story__item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--cs-cx-ink);
}

.cs-cx-story__item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--cs-cx-muted);
}

.cs-cx-story__item a {
  color: var(--cs-cx-teal-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cs-cx-story__cta {
  margin-top: 24px;
  text-align: center;
}

.cs-cx-type__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cs-cx-teal-soft);
  color: var(--cs-cx-teal-deep);
  font-size: 18px;
}

.cs-cx-type img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.cs-cx-kicker--on-ink {
  color: #ffc950;
}

.cs-cx-type h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
}

.cs-cx-type p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--cs-cx-muted);
}

/* —— Differentiation —— */
.cs-cx-diff {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cs-cx-diff__item {
  padding: 22px 20px;
  border-radius: var(--cs-cx-radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cs-cx-diff__item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.cs-cx-diff__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.cs-cx-diff__tagline {
  margin: 28px 0 0;
  text-align: center;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 800;
  color: var(--cs-cx-orange-hot);
}

.cs-cx-diff__note {
  margin: 10px auto 0;
  max-width: 36em;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.84);
}

/* —— Trust —— */
.cs-cx-trust {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px 40px;
  align-items: center;
}

.cs-cx-trust__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cs-cx-trust__list li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--cs-cx-muted);
}

.cs-cx-trust__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cs-cx-teal);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--cs-cx-teal);
}

.cs-cx-trust__panel {
  padding: 22px;
  border-radius: var(--cs-cx-radius);
  background: #fff;
  border: 1px solid var(--cs-cx-line);
}

.cs-cx-trust__panel h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
}

.cs-cx-trust__panel p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--cs-cx-muted);
  font-weight: 500;
}

.cs-cx-trust__panel a {
  color: var(--cs-cx-teal-deep);
  font-weight: 700;
}

/* —— Stores —— */
.cs-cx-stores {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.cs-cx-store {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: 12px;
  border-radius: var(--cs-cx-radius-sm);
  background: #fff;
  border: 1px solid var(--cs-cx-line);
  text-decoration: none !important;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.cs-cx-store:hover,
.cs-cx-store:focus {
  border-color: var(--cs-cx-teal);
  transform: translateY(-1px);
  outline: none;
}

.cs-cx-store img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cs-cx-stores__actions {
  margin-top: 24px;
  text-align: center;
}

/* —— FAQ —— */
.cs-cx-faq {
  max-width: 760px;
  margin: 0 auto;
}

.cs-cx-faq__item {
  border-bottom: 1px solid var(--cs-cx-line);
}

.cs-cx-faq__item:first-child {
  border-top: 1px solid var(--cs-cx-line);
}

.cs-cx-faq details.cs-cx-faq__item {
  display: block;
}

.cs-cx-faq__q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 14px 4px;
  border: 0;
  background: transparent;
  color: var(--cs-cx-ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  list-style: none;
}

.cs-cx-faq__q::-webkit-details-marker {
  display: none;
}

.cs-cx-faq__q:focus-visible {
  outline: 3px solid var(--cs-cx-teal);
  outline-offset: 2px;
}

.cs-cx-faq__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  position: relative;
}

.cs-cx-faq__icon::before,
.cs-cx-faq__icon::after {
  content: "";
  position: absolute;
  background: var(--cs-cx-teal-deep);
  border-radius: 2px;
}

.cs-cx-faq__icon::before {
  left: 3px;
  right: 3px;
  top: 10px;
  height: 2px;
}

.cs-cx-faq__icon::after {
  top: 3px;
  bottom: 3px;
  left: 10px;
  width: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cs-cx-faq__item[open] .cs-cx-faq__icon::after,
.cs-cx-faq__item.is-open .cs-cx-faq__icon::after {
  opacity: 0;
  transform: scaleY(0);
}

.cs-cx-faq__a {
  display: block;
  padding: 0 4px 16px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--cs-cx-muted);
}

.cs-cx-faq__a p {
  margin: 0 0 10px;
}

.cs-cx-faq__a p:last-child {
  margin-bottom: 0;
}

.cs-cx-faq__a a {
  color: var(--cs-cx-teal-deep);
  font-weight: 700;
}

/* —— Final CTA —— */
.cs-cx-final {
  text-align: center;
  padding: 64px 0;
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(250, 140, 52, 0.2), transparent 65%),
    linear-gradient(165deg, #0fb8c9 0%, #0a9eac 100%);
  color: #fff;
}

.cs-cx-final .cs-cx-title {
  color: #fff;
}

.cs-cx-final .cs-cx-sub {
  color: rgba(255, 255, 255, 0.92);
  margin-left: auto;
  margin-right: auto;
}

.cs-cx-final .cs-cx-cta-row {
  justify-content: center;
  margin-top: 8px;
}

.cs-cx-final .cs-cx-alt {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* —— Motion —— */
@media (prefers-reduced-motion: reduce) {
  .cs-cx-cta,
  .cs-cx-store,
  .cs-cx-faq__icon::after {
    transition: none !important;
  }
}

/* —— Responsive —— */
@media (max-width: 991px) {
  .cs-cx-hero__grid,
  .cs-cx-trust {
    grid-template-columns: 1fr;
  }

  .cs-cx-hero__frame,
  .cs-cx-hero__preview {
    margin: 0 auto;
    max-width: 420px;
  }

  .cs-cx-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-cx-diff {
    grid-template-columns: 1fr;
  }

  .cs-cx-story {
    grid-template-columns: 1fr;
  }

  .cs-cx-stores {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .cs-cx-hero {
    padding: calc(var(--cs-cx-header-offset) + 16px) 0 36px;
  }

  .cs-cx-section,
  .cs-cx-final {
    padding: 40px 0;
  }

  .cs-cx-hero__title {
    font-size: 26px;
  }

  .cs-cx-cta {
    width: 100%;
    max-width: 360px;
  }

  .cs-cx-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cs-cx-cta-row .cs-cx-cta {
    width: 100%;
  }

  .cs-cx-types {
    grid-template-columns: 1fr;
  }

  .cs-cx-flow {
    grid-template-columns: 1fr;
  }

  .cs-cx-stores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-cx-type {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .cs-cx-type__icon {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .cs-cx-type img {
    width: 44px;
    height: 44px;
  }

  .cs-cx-hero__preview {
    margin: 0 auto;
    max-width: 420px;
  }
}

@media (max-width: 359px) {
  .cs-cx__wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .cs-cx-hero__title {
    font-size: 22px;
  }

  .cs-cx-stores {
    grid-template-columns: 1fr 1fr;
  }
}
