/* Crescendo Lab — UI kit shared styles */
@import url("colors_and_type.css");

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--cl-font-sans); color: var(--cl-fg-1); background: var(--cl-bg); }

/* ============== BUTTONS ============== */
.cl-btn {
  position: relative;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--cl-radius-pill);
  font-family: var(--cl-font-sans);
  font-weight: var(--cl-w-medium);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease-out, filter .2s ease-out, background-color .2s ease-out, box-shadow .2s ease-out;
  white-space: nowrap;
  user-select: none;
}
.cl-btn--lg { padding: 10px 12px 10px 24px; height: 52px; }
.cl-btn--md { padding: 8px 10px 8px 20px; height: 44px; font-size: 15px; }
.cl-btn--sm { padding: 6px 8px 6px 16px; height: 36px; font-size: 14px; }
.cl-btn--md.cl-btn--no-icon, .cl-btn--lg.cl-btn--no-icon { padding-right: 24px; }
/* Auto-balance horizontal padding when there's no icon child */
.cl-btn--lg:not(:has(.cl-btn-icon)) { padding-left: 28px; padding-right: 28px; }
.cl-btn--md:not(:has(.cl-btn-icon)) { padding-left: 22px; padding-right: 22px; }
.cl-btn--sm:not(:has(.cl-btn-icon)) { padding-left: 18px; padding-right: 18px; }

.cl-btn--primary {
  background: var(--cl-gradient-blue);
  color: #fff;
  border-color: rgba(255,255,255,0.9);
  box-shadow: var(--cl-inset-highlight);
}
/* Hover: text scrolls up, arrow slides right (cresclab.com style).
   Each .cl-btn-label and .cl-btn-icon::before has a duplicate via ::after
   that comes in from below / left as the original leaves. */
.cl-btn--primary:hover, .cl-btn--primary.cl-btn--hover { transform: none; filter: none; }
.cl-btn--primary:active { transform: scale(.98); }
/* Disabled: gray gradient, no hover motion */
.cl-btn--primary:disabled,
.cl-btn--primary[disabled] {
  background: linear-gradient(90deg, #C7CDDA 0%, #B8C0CE 50%, #D5DAE3 100%);
  color: #fff;
  cursor: not-allowed;
  border-color: rgba(255,255,255,0.6);
  box-shadow: none;
  pointer-events: none;
}
.cl-btn--primary:disabled .cl-btn-icon,
.cl-btn--primary[disabled] .cl-btn-icon { background: #fff; color: #9AA1B0; }

/* Label scroll-up — wrap label text in .cl-btn-label with TWO inner spans
   (the second one is aria-hidden duplicate). The wrapper clips,
   the two spans are stacked vertically, both translate up on hover. */
.cl-btn-label {
  display: inline-flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  line-height: 1.15;
  height: 1.15em;
}
.cl-btn-label > span {
  display: block;
  transition: transform .35s cubic-bezier(.65,.05,.36,1);
  will-change: transform;
}
.cl-btn:hover .cl-btn-label > span,
.cl-btn.cl-btn--hover .cl-btn-label > span { transform: translateY(-100%); }

/* Arrow slide-right — wrap two arrow svgs in .cl-btn-icon, both translate */
.cl-btn-icon { overflow: hidden; }
.cl-btn-icon > svg,
.cl-btn-icon > .cl-arrow {
  transition: transform .35s cubic-bezier(.65,.05,.36,1);
  will-change: transform;
}
.cl-btn-icon > .cl-arrow:nth-child(2) { position: absolute; inset: 0; margin: auto; transform: translateX(-130%); }
.cl-btn:hover .cl-btn-icon > .cl-arrow:nth-child(1),
.cl-btn.cl-btn--hover .cl-btn-icon > .cl-arrow:nth-child(1) { transform: translateX(130%); }
.cl-btn:hover .cl-btn-icon > .cl-arrow:nth-child(2),
.cl-btn.cl-btn--hover .cl-btn-icon > .cl-arrow:nth-child(2) { transform: translateX(0); }

/* Fallback: if .cl-btn-icon contains NO .cl-arrow children, draw the arrow via ::before
   so legacy buttons still get their icon. (No hover animation in this fallback.) */
.cl-btn-icon:not(:has(.cl-arrow))::before {
  content: "";
  display: block;
  width: 77%; height: 77%;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 12 H20 M14 6 L20 12 L14 18' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 12 H20 M14 6 L20 12 L14 18' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  mask-size: contain; -webkit-mask-size: contain;
  mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
  mask-position: center; -webkit-mask-position: center;
}

/* The .cl-arrow element itself draws the arrow glyph (used by both copies) */
.cl-arrow {
  display: block;
  width: 77%; height: 77%;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 12 H20 M14 6 L20 12 L14 18' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 12 H20 M14 6 L20 12 L14 18' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  mask-size: contain; -webkit-mask-size: contain;
  mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
  mask-position: center; -webkit-mask-position: center;
}

.cl-btn--secondary {
  background: #fff;
  color: var(--cl-fg-1);
  border-color: var(--cl-border-soft);
}
.cl-btn--secondary:hover { background: #fff; border-color: var(--cl-border-soft); }

.cl-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #fff;
  color: var(--cl-blue);
  flex-shrink: 0;
  font-size: 0; /* hide the unicode glyph; arrow drawn by ::before */
  position: relative;
  overflow: hidden;
}
/* Arrow drawn via .cl-arrow elements (see Hover section above). Fallback rule
   `.cl-btn-icon:not(:has(.cl-arrow))::before` keeps legacy buttons working. */
.cl-btn--md .cl-btn-icon { width: 25px; height: 25px; }
.cl-btn--sm .cl-btn-icon { width: 22px; height: 22px; }
.cl-btn-icon--filled {
  background: var(--cl-gradient-blue);
  color: #fff;
}

.cl-btn-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--cl-font-sans);
  font-weight: var(--cl-w-medium);
  font-size: 16px;
  color: var(--cl-fg-1);
  cursor: pointer;
  transition: color .2s;
}
.cl-btn-text:hover { color: var(--cl-blue); }
.cl-btn-text span { font-size: 18px; line-height: 1; transform: translateY(-1px); transition: transform .2s; }
.cl-btn-text:hover span { transform: translate(2px, -1px); }

/* ============== CARDS ============== */
.cl-card {
  border-radius: var(--cl-radius-l);
  background: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s ease-out, box-shadow .25s ease-out;
}
.cl-card--shadow { box-shadow: var(--cl-shadow-card); }
.cl-card--bordered { border: 1px solid var(--cl-border); box-shadow: var(--cl-shadow-card); }
.cl-card--icon { border: 1px solid var(--cl-border); padding: 48px 40px; }
.cl-card--bento { background: #fff; border: 1px solid var(--cl-border); padding: 40px; }
/* Bento: image well sits 10px in from card edges with rounded corners */
.cl-card--bento > .cl-img-well:first-child {
  margin: -10px -10px 0;
  border-radius: var(--cl-radius-m);
  width: auto;
}
/* Variant: bento with white background + drop shadow instead of gray fill */
.cl-card--bento.cl-card--bordered-alt { background: #fff; border: none; box-shadow: var(--cl-shadow-card); }
/* Variant: icon card with white background (no border) */
.cl-card--icon.cl-card--plain { border: none; background: #fff; box-shadow: var(--cl-shadow-card); }
/* Tighten the title→content gap inside cards (was ~browser default of 16-18px) */
.cl-card .cl-h4 + .cl-p-s,
.cl-card .cl-h3 + .cl-p-s,
.cl-card .cl-h4 + p,
.cl-card .cl-h3 + p { margin-top: 4px; }
.cl-card .cl-h4, .cl-card .cl-h3 { margin-bottom: 0; }
.cl-card p { margin-top: 0; }
/* Hover effect intentionally removed — cards are static. */

/* ============== CAROUSEL CARD ============== */
/* Centered feature card with a tinted "stage" holding a product screenshot,
   a small icon dot next to the title, and a description below. */
.cl-card--carousel {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  text-align: left;
}
.cl-card--carousel .cl-carousel-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/11;
  background:
    radial-gradient(120% 100% at 30% 0%, #FFFFFF 0%, #F4F7FE 55%, #EAF1FE 100%);
  border-radius: var(--cl-radius-l);
  overflow: hidden;
  box-sizing: border-box;
}
.cl-card--carousel .cl-carousel-stage > img,
.cl-card--carousel .cl-carousel-stage > .cl-carousel-art {
  width: 100%;
  height: 100%;
  display: block;
}
.cl-card--carousel .cl-carousel-title {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  column-gap: 10px;
  margin-top: 8px; /* original position — dark title stays put */
  font-family: var(--cl-font-sans);
  font-weight: var(--cl-w-bold);
  font-size: 22px;
  line-height: 1;
  color: var(--cl-fg-1);
}
.cl-card--carousel .cl-carousel-title .cl-carousel-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--cl-gradient-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.cl-card--carousel .cl-carousel-title .cl-carousel-dot svg {
  width: 14px;
  height: 14px;
}
.cl-card--carousel .cl-carousel-desc {
  margin: -16px 0 0 38px; /* small gray text pulled up tight under title */
  font-family: var(--cl-font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--cl-fg-3);
}

/* Carousel controls (arrows + dots) ------------------------------------ */
.cl-carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.cl-carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--cl-bg-tint);
  border: none;
  color: var(--cl-fg-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
  padding: 0;
}
.cl-carousel-arrow:hover {
  /* Background stays the same — only the arrow glyph darkens. */
  background: var(--cl-bg-tint);
  color: var(--cl-fg-1);
}
/* Reuse the primary button arrow glyph (.cl-arrow) — sized for 48px button */
.cl-carousel-arrow .cl-arrow {
  width: 22px;
  height: 22px;
}
.cl-carousel-arrow--prev .cl-arrow {
  transform: scaleX(-1);
}
.cl-carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--cl-bg-tint);
  border-radius: 14px;
  padding: 0 22px;
  height: 48px;
}
.cl-carousel-dots > span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #C8CCD3;
  transition: background .2s ease;
}
.cl-carousel-dots > span.is-active {
  background: #6E7480;
}

/* ============== METRIC CARD ============== */
.cl-card--metric {
  background: var(--cl-bg-tint);
  border-radius: var(--cl-radius-l);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px; /* tight gap: number → label */
}
.cl-metric-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}
.cl-metric-row .cl-metric-num {
  font-family: var(--cl-font-display);
  font-weight: var(--cl-w-semibold);
  font-size: 80px;
  line-height: 1;
  background: var(--cl-gradient-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.cl-metric-row .cl-metric-unit {
  font-family: var(--cl-font-sans);
  font-weight: var(--cl-w-bold);
  font-size: 28px;
  color: var(--cl-fg-1);
  line-height: 1;
}
.cl-card--metric .cl-metric-label {
  font-family: var(--cl-font-sans);
  font-weight: var(--cl-w-bold);
  font-size: 20px;
  color: var(--cl-fg-1);
  line-height: 1.2;
  margin: 0;
}
.cl-card--metric .cl-metric-desc {
  font-family: var(--cl-font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--cl-fg-3);
  margin: 20px 0 0; /* loose gap: label → description */
}

/* --- Metric · Lite variant: number + caption only, soft gradient surface --- */
.cl-card--metric-lite {
  background: #F8F9FC;
  border-radius: var(--cl-radius-l);
  padding: 56px 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cl-card--metric-lite .cl-metric-row { gap: 6px; align-items: baseline; }
.cl-card--metric-lite .cl-metric-num {
  font-family: var(--cl-font-display);
  font-weight: var(--cl-w-semibold);
  font-size: 88px;
  line-height: 1;
  background: var(--cl-gradient-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.cl-card--metric-lite .cl-metric-unit {
  font-family: var(--cl-font-sans);
  font-weight: var(--cl-w-bold);
  font-size: 26px;
  color: var(--cl-fg-1);
  line-height: 1;
}
.cl-card--metric-lite .cl-metric-caption {
  font-family: var(--cl-font-sans);
  font-size: 20px;
  font-weight: var(--cl-w-bold);
  color: var(--cl-fg-1);
  line-height: 1.2;
  margin: 0;
}

/* --- Metric · Impact variant: card-tile with big blue num + dark suffix + caption ---
   Use inside <section class="section cls-metrics cls-metrics--impact"> wrapping
   .cls-metrics__grid > .cl-card.cl-card--metric-impact items.
   Markup per card:
     <div class="cl-card cl-card--metric-impact">
       <div class="cl-metric-row">
         <span class="cl-metric-num">800</span>
         <span class="cl-metric-unit">+</span>
       </div>
       <p class="cl-metric-caption">品牌驗證</p>
     </div>
*/
.cl-card--metric-impact {
  background: #F8F9FC;
  border-radius: 28px;
  padding: 64px 64px 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-height: 240px;
  justify-content: center;
}
.cl-card--metric-impact .cl-metric-row { gap: 6px; align-items: baseline; }
.cl-card--metric-impact .cl-metric-num {
  font-family: var(--cl-font-display);
  font-weight: var(--cl-w-semibold);
  font-size: 104px;
  line-height: 1;
  background: var(--cl-gradient-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.cl-card--metric-impact .cl-metric-unit {
  font-family: var(--cl-font-sans);
  font-weight: var(--cl-w-bold);
  font-size: 32px;
  color: var(--cl-fg-1);
  line-height: 1;
}
.cl-card--metric-impact .cl-metric-caption {
  font-family: var(--cl-font-sans);
  font-size: 20px;
  font-weight: var(--cl-w-bold);
  color: var(--cl-fg-1);
  line-height: 1.2;
  margin: 0;
}

.cl-icon-tile {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--cl-blue-10);
  color: var(--cl-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cl-icon-tile svg { width: 28px; height: 28px; }

.cl-img-well {
  border-radius: var(--cl-radius-m);
  background: var(--cl-bg-card-alt) center/cover no-repeat;
  width: 100%;
  aspect-ratio: 16/12;
}

/* ============== TAGS / EYEBROW ============== */
.cl-tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 100em;
  background: var(--cl-blue-10);
  color: var(--cl-blue);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}
.cl-tag--ai {
  background: rgba(128,32,248,.10);
  color: var(--cl-ai-purple);
}

/* ============== NAV ============== */
.cl-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--cl-global-padding);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cl-border-soft);
}
.cl-nav__logo img { height: 32px; display: block; }
.cl-nav__links { display: flex; gap: 32px; align-items: center; }
.cl-nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--cl-fg-1);
  text-decoration: none;
  cursor: pointer;
  transition: color .2s;
}
.cl-nav__link:hover { color: var(--cl-blue); }
.cl-nav__cta { display: flex; gap: 12px; align-items: center; }

/* ============== HERO ============== */
.cl-hero {
  position: relative;
  padding: 120px var(--cl-global-padding) 80px;
  text-align: center;
  overflow: hidden;
}
.cl-hero__blob {
  position: absolute;
  pointer-events: none;
  filter: blur(60px);
  opacity: .55;
  border-radius: 50%;
}
.cl-hero__title {
  font-family: var(--cl-font-sans);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.2;
  color: var(--cl-fg-1);
  margin: 0 auto 24px;
  max-width: 880px;
  position: relative;
}
.cl-hero__sub {
  font-size: 20px;
  line-height: 1.7;
  color: var(--cl-fg-2);
  margin: 0 auto 40px;
  max-width: 640px;
  position: relative;
}
.cl-hero__ctas {
  display: inline-flex;
  gap: 16px;
  position: relative;
}

/* ============== SECTION ============== */
.cl-section {
  padding: var(--cl-section-spacing) var(--cl-global-padding);
}
.cl-section--tint { background: var(--cl-bg-tint); }
.cl-section--wash { background: var(--cl-blue-bg); }
.cl-section__head {
  text-align: center;
  margin: 0 auto 64px;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.cl-section__eyebrow {
  font-weight: 500;
  font-size: 14px;
  color: var(--cl-blue);
  letter-spacing: .04em;
}
.cl-section__title { margin: 0; font-size: 40px; font-weight: 700; line-height: 1.3; color: var(--cl-fg-1); }
.cl-section__desc { margin: 0; font-size: 17px; line-height: 1.7; color: var(--cl-fg-2); }

/* ============== METRIC ============== */
.cl-metric-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px;
  background: #fff;
  border-radius: var(--cl-radius-l);
  border: 1px solid var(--cl-border);
}
.cl-metric-card__num {
  font-family: var(--cl-font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  color: var(--cl-blue);
}
.cl-metric-card__num em { font-style: normal; font-size: .55em; }
.cl-metric-card__label { font-size: 16px; color: var(--cl-fg-2); }

/* ============== FOOTER ============== */
.cl-footer {
  background: var(--cl-bg-tint);
  padding: 80px var(--cl-global-padding) 40px;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 48px;
  border-top: 1px solid var(--cl-border-soft);
}
.cl-footer__col h5 { margin: 0 0 16px; font-size: 14px; font-weight: 600; color: var(--cl-fg-1); }
.cl-footer__col a { display: block; margin-bottom: 8px; color: var(--cl-fg-3); font-size: 14px; text-decoration: none; }
.cl-footer__col a:hover { color: var(--cl-blue); }
.cl-footer__brand img { height: 36px; margin-bottom: 16px; }
.cl-footer__brand p { font-size: 13px; color: var(--cl-fg-3); line-height: 1.6; max-width: 280px; }

/* ============== UTIL ============== */
.cl-container { max-width: var(--cl-content-w); margin: 0 auto; }
.cl-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cl-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cl-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

/* ============== ACCORDION ============== */
/* A stack of collapsible items. Closed = white card with subtle border + chevron-down
   in a soft outlined circle. Open = soft tinted card with body copy + chevron-up
   in a filled gradient circle. */
.cl-accordion{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cl-accordion-item{
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--cl-border);
  transition: background-color .25s ease, border-color .25s ease;
  overflow: hidden;
}
.cl-accordion-item[open],
.cl-accordion-item.is-open{
  background: var(--cl-bg-tint);
  border-color: transparent;
}
.cl-accordion-summary{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 28px;
  font-family: var(--cl-font-sans);
  font-weight: var(--cl-w-semibold);
  font-size: 18px;
  line-height: 1.4;
  color: var(--cl-fg-1);
  letter-spacing: -0.2px;
}
/* Hide native marker */
.cl-accordion-summary::-webkit-details-marker{ display: none; }
.cl-accordion-summary::marker{ content: ""; }

.cl-accordion-icon{
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--cl-border);
  color: var(--cl-fg-3);
  transition: background .3s ease, border-color .3s ease, color .3s ease, transform .35s cubic-bezier(.65,.05,.36,1);
}
.cl-accordion-icon::before{
  content: "";
  display: block;
  width: 50%;
  height: 50%;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}
.cl-accordion-item[open] .cl-accordion-icon,
.cl-accordion-item.is-open .cl-accordion-icon{
  background: var(--cl-blue);
  border-color: transparent;
  color: #fff;
  transform: rotate(180deg);
}

.cl-accordion-body{
  padding: 0 28px 28px;
  font-family: var(--cl-font-sans);
  font-weight: var(--cl-w-regular);
  font-size: 15px;
  line-height: 1.7;
  color: var(--cl-fg-3);
  max-width: 720px;
}

/* ---- Split variant: stack on left, sticky preview image on right ---- */
.cl-accordion-split{
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(420px, 1.15fr);
  gap: 32px;
  align-items: start;
}
.cl-accordion-split .cl-accordion{
  min-width: 0;
}
.cl-accordion-preview{
  position: sticky;
  top: 32px;
  min-width: 0;
  border-radius: 22px;
  background: var(--cl-bg-tint);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cl-accordion-preview > img,
.cl-accordion-preview > .cl-accordion-preview-pane{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.cl-accordion-preview > .is-active{
  opacity: 1;
  pointer-events: auto;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
