/* ─── Canela Light Italic (per-file only) ────────────────── */
@font-face {
  font-family: 'Canela Text Trial';
  src: url('assets/fonts/CanelaText-LightItalic-Trial.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* ─── Hero ───────────────────────────────────────────────── */
.cs-hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: var(--max);
  margin-bottom: 32px;
}

.cs-hero-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cs-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-meta-line {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--muted);
  flex-shrink: 0;
}

.cs-meta-text {
  font-family: var(--ui);
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  color: var(--muted);
}

.cs-hero-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.cs-title {
  font-family: var(--serif-deck);
  font-size: clamp(32px, 4.57vw, 64px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-new {
  flex-shrink: 0;
  line-height: 0;
  height: 0.6875em;
}
.badge-new svg {
  height: 100%;
  width: auto;
  display: block;
}

/* ─── Product visual ─────────────────────────────────────── */
.cs-product-visual {
  width: 100%;
  max-width: var(--max);
  height: 700px;
  overflow: hidden;
  margin-bottom: 16px;
}

.cs-product-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

/* ─── Image pair (2 × 688px side by side) ───────────────── */
.cs-image-pair {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: var(--max);
}

.cs-image-pair--hero-gap {
  margin-bottom: 16px;
}

.cs-pair-img {
  flex: 1 1 0;
  min-width: 0;
  display: block;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}

/* picture wrapper becomes the flex child — apply the same constraints */
.cs-image-pair picture {
  flex: 1 1 0;
  min-width: 0;
  display: block;
}

.cs-image-pair picture img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Project details ────────────────────────────────────── */
.cs-project-details {
  max-width: var(--max);
  margin-bottom: 64px;
}

.cs-project-text {
  font-family: var(--ui);
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  color: var(--body);
}

/* ─── Section label ──────────────────────────────────────── */
.cs-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ui);
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  color: var(--muted);
}

.cs-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--muted);
  flex-shrink: 0;
}

/* ─── Section wrapper ────────────────────────────────────── */
.cs-section {
  max-width: var(--max);
}

.cs-sep {
  padding-top: 64px;
}

/* Sub-sections within Workflow 1 (gap: 48px) and Workflow 2 (gap: 48px) groups */
.cs-section[aria-labelledby="saved-heading"],
.cs-section[aria-labelledby="system-heading"] {
  padding-top: 48px;
}

.cs-section[aria-labelledby="ai-heading"] {
  padding-top: 43px;
}

/* Shipped: cs-shipped-row handles 120px internal padding (Figma layout_6J7ORI) */
.cs-section[aria-labelledby="shipped-heading"] {
  padding-top: 0;
}

/* Retro: 48px parent gap + 96px internal padding (layout_F0FDSA) */
.cs-section[aria-labelledby="retro-heading"] {
  padding-top: 105px;
}

.cs-section[aria-labelledby="retro-heading"] .cs-section-inner {
  max-width: 800px;
}

.cs-section-inner--mb {
  margin-bottom: 48px;
}

.cs-section[aria-labelledby="wf1-heading"] .cs-section-inner--mb,
.cs-section[aria-labelledby="saved-heading"] .cs-section-inner--mb {
  margin-bottom: 24px;
}

.cs-section-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 940px;
}

/* ─── Typography ─────────────────────────────────────────── */
.cs-h3 {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 30px;
  font-weight: 600;
  color: var(--body);
}

.cs-h3-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cs-h3-group--flush {
  gap: 0;
}

.cs-section[aria-labelledby="bet-heading"] .cs-section-inner--mb {
  margin-bottom: 16px;
}

.cs-section[aria-labelledby="bet-heading"] .cs-full-img--mb {
  margin-bottom: 16px;
}

.cs-section[aria-labelledby="bet-heading"] .cs-section-inner:not(.cs-section-inner--mb) {
  gap: 32px;
}

.cs-body p + p { margin-top: 10px; }

.cs-caption {
  font-family: var(--ui);
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  color: var(--body);
  max-width: 620px;
}

.cs-annotation {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 30px;
  font-weight: 700;
  color: var(--body);
}

.cs-outcome {
  display: flex;
  flex-direction: column;
  gap: 96px;
  padding-bottom: 96px;
}

.cs-quote-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.cs-blockquote {
  font-family: var(--serif-text);
  font-size: 32px;
  line-height: 48px;
  font-weight: 300;
  font-style: italic;
  color: var(--black);
  width: 940px;
  max-width: 100%;
  border: none;
  padding: 0;
}

.cs-attribution {
  font-family: var(--ui);
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  color: var(--body);
  width: 940px;
  max-width: 100%;
}

.cs-attribution strong {
  display: block;
  font-weight: 600;
  line-height: 22px;
  color: var(--body);
  margin-bottom: 2px;
}

/* ─── Metrics ────────────────────────────────────────────── */
.cs-metrics {
  display: flex;
  align-items: center;
  max-width: var(--max);
  padding: 40px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.cs-metric {
  flex: 1 1 0;
  padding-left: 40px;
}

.cs-metric-group {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1 1 0;
}

.cs-metric-group > .cs-metric {
  padding-left: 0;
}

.cs-metric-divider {
  width: 1px;
  height: 191px;
  background: var(--rule);
  flex-shrink: 0;
}

.cs-metric-num {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}

.cs-metric-val {
  font-family: var(--serif-deck);
  font-size: 128px;
  line-height: 120px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
}

.cs-metric-unit {
  font-family: var(--ui);
  font-size: 24px;
  line-height: 120px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-left: 0.25em;
}

.cs-metric-label {
  font-family: var(--ui);
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  color: #4F4F4F;
  max-width: 220px;
  margin-top: -24px;
}

/* ─── WF2 testimonial block ──────────────────────────────── */
.cs-wf2-testimonial {
  margin-bottom: 64px;
}

/* ─── Full-width image block ─────────────────────────────── */
.cs-full-img {
  width: 100%;
  max-width: var(--max);
  overflow: hidden;
}

.cs-full-img img,
.cs-full-img video {
  width: 100%;
  height: auto;
  display: block;
}

.cs-full-img--mb {
  margin-bottom: 32px;
}

.cs-full-video {
  background: #223149;
  padding: clamp(24px, 5vw, 64px);
}

.cs-full-video video {
  border-radius: 12px;
}

/* ─── What shipped ───────────────────────────────────────── */
.cs-shipped-row {
  display: flex;
  align-items: flex-start;
  gap: 96px;
  max-width: var(--max);
  padding-top: 145px;
}

.cs-shipped-row .cs-section-inner {
  flex: 1 1 0;
  min-width: 0;
  max-width: 800px;
}

.cs-shipped-row .cs-thumb {
  margin-left: -22px;
}

.cs-shipped-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 0;
}

.cs-shipped-list li {
  font-family: var(--ui);
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  color: var(--body);
}

.cs-shipped-list li::before {
  content: '- ';
}

/* ─── Decorative thumbnails ──────────────────────────────── */
.cs-thumb {
  display: block;
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.cs-thumb--lg {
  width: 284px;
  height: 284px;
}

/* ─── AI row ─────────────────────────────────────────────── */
.cs-ai-row {
  display: flex;
  align-items: center;
  gap: 96px;
  max-width: var(--max);
}

.cs-ai-row .cs-section-inner {
  flex: 1 1 0;
  min-width: 0;
  max-width: 800px;
  padding-top: 86px;
}

/* ─── Accent body text ───────────────────────────────────── */
.cs-body-accent {
  font-family: var(--sans);
  font-size: 24px;
  line-height: 36px;
  font-weight: 400;
  color: var(--body);
}

/* ─── AI / Retrospective bullets ────────────────────────── */
.cs-ai-list {
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 20px;
}

.cs-ai-list li {
  font-family: var(--ui);
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  color: var(--body);
}

.cs-ai-list li strong {
  display: block;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0;
}

/* ─── Footer ─────────────────────────────────────────────── */
.cs-footer {
  max-width: var(--max);
  padding: 0 0 48px;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cs-footer-line a {
  transition: color 0.15s ease;
}

.cs-footer-line a:hover,
.cs-footer-line a:focus-visible {
  color: #444444;
}



.cs-rule {
  width: 100%;
  max-width: var(--max);
  height: 2px;
  background: var(--rule);
  border: none;
  margin-top: 24px;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cs-metrics { flex-wrap: wrap; gap: 32px; }
  .cs-metric,
  .cs-metric-group { flex: 1 1 calc(50% - 16px); }
  .cs-metric { padding-left: 0; }
  .cs-metric-divider { display: none; }
  .cs-shipped-row { gap: 48px; }
  .cs-ai-row { gap: 48px; }
}

@media (max-width: 720px) {
  .cs-title { font-size: 34px; line-height: 48px; }
  .cs-blockquote { font-size: 28px; line-height: 1.35; }
  .cs-full-img--mb { margin-bottom: 16px; }
  .cs-product-visual { height: 300px; }
  .cs-metrics { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cs-metric,
  .cs-metric-group { flex: unset; width: 100%; }
  .cs-metric-val { font-size: 80px; line-height: 80px; }
  .cs-image-pair { flex-direction: column; gap: 10px; }
  .cs-product-visual { margin-bottom: 10px; }
  .cs-image-pair--hero-gap { margin-bottom: 16px; }
  .cs-shipped-row { flex-direction: column; gap: 32px; }
  .cs-ai-row { flex-direction: column; gap: 32px; }
  .cs-thumb { width: 160px; height: 160px; }
  .cs-thumb--lg { width: 180px; height: 180px; }
}

@media (max-width: 600px) {
  .cs-title { display: block; }
  .badge-new {
    display: inline-flex;
    align-items: center;
    width: auto;
    height: auto;
    background: #FFE747;
    border-radius: 0 0 8px 0;
    font-family: 'Canela Text Trial', Georgia, serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    padding: 0 8px;
    color: #000;
    vertical-align: middle;
    margin-left: 4px;
  }
  .badge-new::before { content: 'new'; }
  .badge-new svg { display: none; }
  .cs-body-accent { font-size: 16px; line-height: 22px; }
  .cs-h3 { font-size: 16px; line-height: 24px; }
  .cs-annotation { font-size: 16px; line-height: 22px; }
  .cs-shipped-list li { font-size: 16px; line-height: 22px; }
  .cs-ai-list li { font-size: 16px; line-height: 22px; }
  .cs-sep { padding-top: 45px; }
  .cs-section-inner--mb { margin-bottom: 34px; }
  .cs-section[aria-labelledby="wf1-heading"] .cs-section-inner--mb,
  .cs-section[aria-labelledby="saved-heading"] .cs-section-inner--mb { margin-bottom: 17px; }
  .cs-section[aria-labelledby="saved-heading"],
  .cs-section[aria-labelledby="system-heading"] { padding-top: 34px; }
  .cs-section[aria-labelledby="ai-heading"] { padding-top: 30px; }
  .cs-section[aria-labelledby="retro-heading"] { padding-top: 74px; }
  .cs-section[aria-labelledby="problem-heading"] { padding-top: 0; }
}

@media (max-width: 480px) {
  .cs-product-visual { height: 220px; }
  .cs-hero { gap: 24px; }
  .cs-thumb { display: none; }
  .cs-ai-row .cs-thumb { display: block; margin: 0 auto -24px; }
  .cs-ai-row { gap: 0px; }
}

/* ─── Sticky scroll bar ──────────────────────────────────── */
.sticky-bar-inner {
  max-width: calc(1400px + clamp(20px, 3.33vw, 48px) * 2);
  margin: 0 auto;
  padding: 0 clamp(20px, 3.33vw, 48px);
  height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sticky-bar-name {
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: #8D8D8D;
  text-decoration: none;
}
.sticky-bar-link {
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  color: #000;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

/* ─── Let's Talk popup ───────────────────────────────────── */
.popup-label {
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  color: #1A1A1A;
}
