:root {
  --ejp-ce-ink: #10213f;
  --ejp-ce-muted: #62718a;
  --ejp-ce-line: rgba(16, 33, 63, 0.12);
  --ejp-ce-ice: #e9fbff;
  --ejp-ce-mint: #9ee4df;
  --ejp-ce-blue: #338ab7;
  --ejp-ce-bg: #f7fbfd;
}

.ejp-ce-section,
.ejp-ce-section * {
  box-sizing: border-box;
}

.ejp-ce-section {
  position: relative;
  width: 100%;
  color: var(--ejp-ce-ink);
  font-family: inherit;
}

.ejp-ce-wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.ejp-ce-section-head {
  max-width: 760px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.ejp-ce-section-head h2,
.ejp-ce-auth h2 {
  margin: 0 0 14px;
  color: var(--ejp-ce-ink);
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.ejp-ce-section-head > p:last-child,
.ejp-ce-auth-grid > div > p {
  margin: 0;
  color: var(--ejp-ce-muted);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.85;
}

.ejp-ce-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #168aa3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.ejp-ce-eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.ejp-ce-h1-replacement {
  margin: 0 0 12px;
  color: var(--ejp-ce-ink);
  font-size: clamp(32px, 4.5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

/* Core 0.9.75 product navigation enhancement. */
.ejp-ce-product-image-link,
.ejp-ce-select-flavor {
  display: grid;
  width: 100%;
  margin: 0;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.ejp-ce-product-image-link:focus-visible,
.ejp-ce-select-flavor:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(0, 153, 240, 0.42);
  outline-offset: 4px;
}

.ejp-ce-product-image-link img,
.ejp-ce-select-flavor img {
  transition: transform 180ms ease;
}

.ejp-ce-product-image-link:hover img,
.ejp-ce-select-flavor:hover img {
  transform: translateY(-2px);
}

.ejp-shop-hero .ejp-multi-row > .ejp-ce-product-image-link,
.ejp-shop-hero .ejp-multi-row > .ejp-ce-select-flavor {
  grid-area: image;
}

.ejp-ce-select-flavor[aria-pressed="true"] {
  border-radius: 8px;
  box-shadow: 0 0 0 2px rgba(0, 143, 199, 0.28);
}

.ejp-ce-flavor-status {
  margin: 0;
  border: 1px solid #a8e4f4;
  border-radius: 8px;
  padding: 9px 12px;
  background: #f2fbff;
  color: #0b426a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.ejp-ce-flavor-status[hidden] {
  display: none !important;
}

.ejp-flavor-detail-card[id] {
  scroll-margin-top: 104px;
}

.ejp-flavor-detail-card[data-ejp-deep-link-target="true"],
.ejp-multi-row[data-ejp-deep-link-target="true"] {
  border-color: #57bddf;
  box-shadow: 0 0 0 3px rgba(87, 189, 223, 0.2), 0 14px 34px rgba(8, 40, 71, 0.1);
}

.ejp-flavor-detail-media {
  aspect-ratio: 3 / 4;
  align-self: start;
  overflow: hidden;
  padding: 8px;
}

.ejp-flavor-detail-media .ejp-ce-exact-flavor-trigger,
.ejp-flavor-detail-media .ejp-ce-exact-flavor-image {
  width: 100%;
  height: 100%;
}

.ejp-flavor-detail-media .ejp-ce-exact-flavor-image {
  object-fit: contain;
}

.ejp-ce-story {
  overflow: hidden;
  padding: clamp(72px, 9vw, 120px) 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(158, 228, 223, 0.32), transparent 30%),
    radial-gradient(circle at 95% 20%, rgba(168, 203, 255, 0.28), transparent 30%),
    #f9fcfd;
}

.ejp-ce-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.ejp-ce-story-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(28, 72, 100, 0.12);
}

.ejp-ce-story-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.ejp-ce-story-card figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 14px 18px;
  color: var(--ejp-ce-muted);
  font-size: 13px;
  line-height: 1.5;
}

.ejp-ce-story-card figcaption span {
  color: #1794a6;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ejp-ce-facts {
  padding: clamp(72px, 9vw, 112px) 0;
  background: #fff;
}

.ejp-ce-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ejp-ce-fact-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--ejp-ce-line);
  border-radius: 22px;
  background: #fff;
}

.ejp-ce-fact-card--accent {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(145deg, #10213f, #1f6780);
}

.ejp-ce-fact-card h3 {
  margin: 14px 0 14px;
  color: inherit;
  font-size: 22px;
  line-height: 1.35;
}

.ejp-ce-fact-card p:not(.ejp-ce-fact-number) {
  color: var(--ejp-ce-muted);
  font-size: 15px;
  line-height: 1.75;
}

.ejp-ce-fact-card--accent p:not(.ejp-ce-fact-number) {
  color: rgba(255, 255, 255, 0.78);
}

.ejp-ce-fact-number {
  margin: 0;
  color: #1695a9;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.ejp-ce-fact-card--accent .ejp-ce-fact-number {
  color: #9ef2e8;
}

.ejp-ce-fact-card a {
  margin-top: auto;
  color: #168aa3;
  font-weight: 750;
  text-decoration: none;
}

.ejp-ce-fact-card--accent a {
  color: #bdf8f0;
}

.ejp-ce-auth {
  padding: clamp(72px, 9vw, 112px) 0;
  background: linear-gradient(135deg, #eafcff 0%, #f6fbff 55%, #eef4ff 100%);
}

.ejp-ce-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}

.ejp-ce-button,
.ejp-ce-channel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 24px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--ejp-ce-ink);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ejp-ce-button:hover,
.ejp-ce-channel-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 33, 63, 0.2);
}

.ejp-ce-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ejp-ce-steps li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(16, 33, 63, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(36, 89, 113, 0.07);
}

.ejp-ce-steps li > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--ejp-ce-ink);
  color: #fff;
  font-weight: 850;
}

.ejp-ce-steps strong {
  color: var(--ejp-ce-ink);
  font-size: 17px;
}

.ejp-ce-steps p {
  margin: 4px 0 0;
  color: var(--ejp-ce-muted);
  font-size: 14px;
  line-height: 1.65;
}

.ejp-ce-x {
  overflow: hidden;
  padding: clamp(72px, 9vw, 112px) 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(177, 92, 255, 0.1), transparent 30%),
    radial-gradient(circle at 100% 12%, rgba(59, 212, 223, 0.12), transparent 32%),
    #f7f8fb;
}

.ejp-ce-x-head {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.ejp-ce-x-head > div:first-child {
  max-width: 760px;
}

.ejp-ce-x .ejp-ce-eyebrow {
  color: #0b6f83;
}

.ejp-ce-x-age-note {
  margin-top: 10px !important;
  color: #0b6f83 !important;
  font-size: 13px !important;
  font-weight: 750;
}

.ejp-ce-x-disclosure {
  margin-top: 12px !important;
  border-left: 3px solid #168aa3;
  padding: 9px 12px;
  background: rgba(22, 138, 163, 0.08);
  color: #315164 !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

.ejp-ce-x-disclosure strong {
  color: #0b6f83;
}

.ejp-ce-x-actions {
  display: grid;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.ejp-ce-x-actions a {
  color: var(--ejp-ce-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.ejp-ce-x-actions .ejp-ce-x-primary {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  background: #05070b;
  color: #fff;
}

.ejp-ce-x-primary span {
  margin-left: 8px;
}

.ejp-ce-x-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ejp-ce-x-card {
  overflow: hidden;
  border: 1px solid rgba(16, 33, 63, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(20, 38, 67, 0.08);
}

.ejp-ce-x-image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #05070b;
}

.ejp-ce-x-image img {
  display: block;
  width: 145%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.ejp-ce-x-card-copy {
  padding: 20px 22px 24px;
}

.ejp-ce-x-meta {
  margin: 0;
  color: #0b6f83;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ejp-ce-x-card h3 {
  margin: 8px 0 8px;
  color: var(--ejp-ce-ink);
  font-size: 19px;
  line-height: 1.4;
}

.ejp-ce-x-card h3 a {
  color: inherit;
  text-decoration: none;
}

.ejp-ce-x-card-copy > p:last-child {
  margin: 0;
  color: var(--ejp-ce-muted);
  font-size: 14px;
  line-height: 1.72;
}

.ejp-ce-x-empty {
  padding: 28px;
  border: 1px solid rgba(16, 33, 63, 0.1);
  border-radius: 20px;
  background: #fff;
  color: var(--ejp-ce-muted);
  text-align: center;
}

.ejp-ce-x-footer {
  margin-top: 30px;
  text-align: center;
}

.ejp-ce-x-footer a {
  color: var(--ejp-ce-ink);
  font-weight: 850;
  text-decoration: none;
}

.ejp-ce-x-footer span {
  margin-left: 8px;
  color: #0b6f83;
}

.ejp-ce-youtube {
  padding: clamp(72px, 9vw, 112px) 0;
  background: #0e1830;
  color: #fff;
}

.ejp-ce-youtube .ejp-ce-section-head h2,
.ejp-ce-youtube .ejp-ce-section-head > p:last-child {
  color: #fff;
}

.ejp-ce-youtube .ejp-ce-section-head > p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.ejp-ce-youtube .ejp-ce-age-note {
  margin-top: 10px;
  color: #9ef2e8;
  font-size: 13px;
  font-weight: 750;
}

.ejp-ce-youtube-head {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.ejp-ce-channel-link {
  flex: 0 0 auto;
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.ejp-ce-channel-link span {
  margin-left: 8px;
}

.ejp-ce-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ejp-ce-youtube--iceking .ejp-ce-video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ejp-ce-video-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.ejp-ce-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #040914;
}

.ejp-ce-video-frame img,
.ejp-ce-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.ejp-ce-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 64px;
  height: 64px;
  padding: 0 0 0 4px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #e60012;
  cursor: pointer;
  font-size: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.ejp-ce-play:focus-visible {
  outline: 3px solid #9ef2e8;
  outline-offset: 4px;
}

.ejp-ce-video-copy {
  padding: 18px 20px 22px;
}

.ejp-ce-video-copy time {
  color: #9ef2e8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ejp-ce-video-copy h3 {
  margin: 8px 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.45;
}

.ejp-ce-video-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.ejp-ce-video-copy p,
.ejp-ce-youtube-fallback p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.6;
}

.ejp-ce-youtube-fallback {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
}

.ejp-ce-playlist-frame {
  width: 100%;
  border-radius: 14px;
}

.ejp-ce-playlist-poster {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background:
    radial-gradient(circle at 70% 20%, rgba(158, 242, 232, 0.25), transparent 28%),
    linear-gradient(135deg, #14284b, #15879a);
}

.ejp-ce-playlist-poster span {
  color: #9ef2e8;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 800;
  letter-spacing: 0.22em;
}

.ejp-ce-playlist-poster strong {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(30px, 5vw, 64px);
  letter-spacing: -0.045em;
}

.ejp-ce-youtube-fallback-copy .ejp-ce-button {
  margin-top: 18px;
}

.ejp-ce-youtube-fallback--link {
  display: block;
  text-align: center;
}

.ejp-ce-all-videos {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: clamp(32px, 5vw, 56px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 0%, rgba(158, 242, 232, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.06);
}

.ejp-ce-all-videos-copy h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.ejp-ce-all-videos-copy > p:not(.ejp-ce-eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.8;
}

.ejp-ce-all-videos .ejp-ce-button {
  background: #9ef2e8;
  color: #10213f !important;
}

.ejp-ce-faq {
  padding: clamp(72px, 9vw, 112px) 0;
  background: #fff;
}

.ejp-ce-faq-wrap {
  max-width: 900px;
}

.ejp-ce-faq-list {
  border-top: 1px solid var(--ejp-ce-line);
}

.ejp-ce-faq details {
  border-bottom: 1px solid var(--ejp-ce-line);
}

.ejp-ce-faq summary {
  position: relative;
  padding: 24px 52px 24px 0;
  color: var(--ejp-ce-ink);
  cursor: pointer;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 750;
  list-style: none;
}

.ejp-ce-faq summary::-webkit-details-marker {
  display: none;
}

.ejp-ce-faq summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  color: #168aa3;
  content: "+";
  font-size: 28px;
  font-weight: 400;
  transform: translateY(-50%);
}

.ejp-ce-faq details[open] summary::after {
  content: "−";
}

.ejp-ce-faq details > div {
  padding: 0 48px 24px 0;
}

.ejp-ce-faq details p {
  margin: 0;
  color: var(--ejp-ce-muted);
  font-size: 15px;
  line-height: 1.8;
}

.ejp-ce-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.ejp-ce-help-links a {
  padding: 10px 16px;
  border: 1px solid var(--ejp-ce-line);
  border-radius: 999px;
  color: var(--ejp-ce-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .ejp-ce-fact-grid,
  .ejp-ce-video-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ejp-ce-auth-grid {
    grid-template-columns: 1fr;
  }

  .ejp-ce-youtube-fallback {
    grid-template-columns: 1fr;
  }

  .ejp-ce-all-videos {
    grid-template-columns: 1fr;
  }

  .ejp-ce-youtube-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ejp-ce-x-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .ejp-ce-wrap {
    width: min(100% - 22px, 1180px);
  }

  .ejp-ce-story-grid,
  .ejp-ce-fact-grid,
  .ejp-ce-x-grid,
  .ejp-ce-video-grid,
  .ejp-ce-youtube--iceking .ejp-ce-video-grid {
    grid-template-columns: 1fr;
  }

  .ejp-ce-story-card {
    border-radius: 16px;
  }

  .ejp-ce-fact-card {
    min-height: 0;
  }

  .ejp-ce-youtube-head {
    gap: 20px;
  }

  .ejp-ce-channel-link {
    width: 100%;
  }

  .ejp-ce-x-actions,
  .ejp-ce-x-primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ejp-ce-button,
  .ejp-ce-channel-link,
  .ejp-ce-product-image-link img,
  .ejp-ce-select-flavor img {
    transition: none;
  }
}
