:root {
  --color-background: #faf8f4;
  --color-background-alt: #f0ece4;
  --color-foreground: #1a1a1a;
  --color-foreground-muted: #6b6560;
  --color-border: rgba(26,26,26,0.1);

  --color-coral: #F97316;   --color-coral-light: #fff7ed;
  --color-blue: #3B82F6;    --color-blue-light: #eff6ff;
  --color-emerald: #10B981; --color-emerald-light: #ecfdf5;
  --color-violet: #8B5CF6;  --color-violet-light: #f5f3ff;

  --color-pane: #ffffff;
  --color-pane-titlebar: #fbfaf7;
  --color-pane-border: rgba(26,26,26,0.08);
  --color-pane-divider: rgba(26,26,26,0.06);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);

  --radius-sm: 14px;
  --radius-pill: 999px;
  --maxw: 1152px;
  --maxw-narrow: 640px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: light; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable both-edges; }

body {
  font-family: var(--font-sans);
  color: var(--color-foreground-muted);
  background: var(--color-background);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 76px;
}

::selection { background: rgba(26,26,26,.15); color: #1a1a1a; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: var(--maxw-narrow); }

h1, h2, h3 { font-family: var(--font-display); color: var(--color-foreground); }
h1 { font-size: clamp(2rem, 5.2vw, 3.1rem); line-height: 1.1; letter-spacing: -0.01em; font-weight: 700; }
h2 { font-size: clamp(1.55rem, 4vw, 2.2rem); line-height: 1.15; font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0; }
strong { font-weight: 700; color: var(--color-foreground); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-foreground-muted);
}

.section { padding: clamp(44px, 7vw, 72px) 0; }
.section--alt { background: var(--color-background-alt); }
.section-head { max-width: var(--maxw-narrow); margin-bottom: 30px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head p { color: var(--color-foreground-muted); margin-top: 12px; font-size: 1.02rem; }

/* bulb logo */
.logo-bulb { width: 30px; height: 30px; flex: none; color: var(--color-foreground); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand .name { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; color: var(--color-foreground); letter-spacing: 0.1px; }
.brand .name .o { color: var(--color-emerald); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 30px; border-radius: var(--radius-pill); border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background .15s ease, box-shadow .15s ease, border-color .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--color-foreground); color: var(--color-background); }
.btn-primary:hover { background: rgba(26,26,26,.82); box-shadow: 0 8px 20px rgba(26,26,26,.18); }
.btn-primary:disabled { background: rgba(26,26,26,.25); color: rgba(250,248,244,.7); cursor: not-allowed; box-shadow: none; }
.btn-secondary { background: transparent; color: var(--color-foreground); border-color: rgba(26,26,26,.2); }
.btn-secondary:hover { background: rgba(26,26,26,.05); }
.btn-block { width: 100%; }
.btn-compact { padding: 10px 20px; font-size: 0.92rem; }
.btn-sm { padding: 11px 18px; font-size: 0.9rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-sub { font-size: 0.92rem; color: var(--color-foreground-muted); margin-top: 14px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250,248,244,.85); backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

/* hero */
.hero { padding: clamp(40px, 6vw, 64px) 0 clamp(32px, 5vw, 48px); }
.hero-copy { max-width: 680px; }
.hero h1 { margin: 6px 0 16px; }
.hero .sub { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--color-foreground-muted); max-width: 600px; }
.hero .meta { display: inline-flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 24px; color: var(--color-foreground-muted); font-size: 0.95rem; font-weight: 500; }
.hero .meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero .meta svg { width: 16px; height: 16px; color: var(--color-emerald); }

/* homepage hero — compact rhythm so the CTA lands in the first fold */
.hero--home { padding: clamp(18px, 3vw, 30px) 0 clamp(20px, 3vw, 32px); }
/* mobile: the CTA becomes a pinned sticky bar (display swaps live at the END of this file so they beat the base rules) */
@media (max-width: 719px) {
  .hero--home .hero-fold { min-height: 0; }
}
.hero--home h1 { font-size: clamp(1.5rem, 4vw, 2.3rem); margin: 0 0 12px; }
.hero--home .sub { font-size: clamp(0.92rem, 1.7vw, 1.05rem); margin: 12px 0 0; }
.hero-sub { margin: 12px 0 0; font-size: 0.92rem; line-height: 1.5; color: var(--color-foreground-muted); }
.hero-chips { margin-top: 12px; margin-bottom: 0; gap: 5px; }
.hero-chips .chip { padding: 5px 9px; font-size: 0.72rem; white-space: nowrap; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-emerald);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-emerald) 22%, transparent); }

/* hero-fold: plain wrapper — carousel sizes itself to content (tallest slide), not forced to viewport height */

.growth-head { margin: 22px 0 12px; }
.growth-head .eyebrow { margin-bottom: 6px; }
.growth-head h2 { font-size: clamp(1.15rem, 2.6vw, 1.5rem); }
.growth-head p { margin-top: 4px; font-size: 0.92rem; font-weight: 600; color: var(--color-foreground); }

.trust-strip { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--color-border); }
.trust-strip .label { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-foreground-muted); font-weight: 600; margin-bottom: 12px; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.logo-chip { display: flex; align-items: center; justify-content: center; height: 52px; padding: 0 14px; border-radius: 10px; background: #fff; border: 1px solid var(--color-pane-border); }
.brand-logo { height: 36px; width: auto; max-width: 100px; object-fit: contain; }

/* pane / app-window card system */
.pane {
  background: var(--color-pane);
  border: 1px solid var(--color-pane-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 1px 2px rgba(26,26,26,.04), 0 8px 24px -12px rgba(26,26,26,.12);
  overflow: hidden;
}
.pane-titlebar {
  background: var(--color-pane-titlebar); border-bottom: 1px solid var(--color-pane-divider);
  display: flex; align-items: center; gap: 10px; padding: 12px 18px;
}
.pane-titlebar .pt-name { font-family: var(--font-display); font-size: 0.86rem; font-weight: 700; color: var(--color-foreground); }
.pane-titlebar .pt-status { margin-left: auto; display: flex; align-items: center; gap: 7px; font-size: 0.78rem; color: var(--color-foreground-muted); font-weight: 600; }

@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.45;transform:scale(.78);} }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-emerald); display: inline-block; animation: pulse-dot 2.4s ease-in-out infinite; }

.pane-body { padding: 20px 20px 22px; }

/* visual flow diagram (Acquisition -> Conversion -> Retention) */
.flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 6px 0 34px; }
.flow-step { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; background: var(--color-pane); border: 1px solid var(--color-pane-border); border-radius: var(--radius-pill); }
.flow-step .ic-sm { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.flow-step .ic-sm svg { width: 17px; height: 17px; }
.flow-step span { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--color-foreground); }
.flow-arrow { color: var(--color-foreground-muted); flex: none; }
.flow-arrow svg { width: 18px; height: 18px; }
.flow-step.is-current { border-color: currentColor; box-shadow: 0 0 0 3px var(--color-emerald-light); }
.flow-step.is-link { text-decoration: none; opacity: .7; transition: opacity .15s ease; }
.flow-step.is-link:hover { opacity: 1; }
@media (max-width: 560px) {
  .flow { flex-direction: column; }
  .flow-arrow svg { transform: rotate(90deg); }
}

/* hero "complete path" card (single hero visual, replaces the carousel) */
.path-card {
  margin-top: 22px; background: var(--color-pane); border: 1px solid var(--color-pane-border);
  border-radius: 18px; box-shadow: 0 10px 34px rgba(26,26,26,0.08);
  padding: 20px 18px; display: flex; flex-direction: column; gap: 12px;
}
.path-eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; color: var(--color-emerald);
  background: var(--color-emerald-light); border-radius: var(--radius-pill); padding: 5px 12px; }
.path-h { font-family: var(--font-display); font-size: clamp(1.35rem, 6vw, 1.85rem);
  line-height: 1.18; font-weight: 700; margin: 4px 0 0; }
.path-card-sub { margin: -6px 0 2px; font-size: 0.82rem; color: var(--color-foreground-muted); }
.path-arw { color: var(--color-emerald); }
.path-sub { font-size: 0.9rem; color: var(--color-foreground-muted); line-height: 1.45; margin: 0; }
.path-grid { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.path-wk { display: flex; align-items: flex-start; gap: 13px;
  background: color-mix(in srgb, var(--c) 6%, var(--color-pane));
  border: 1px solid color-mix(in srgb, var(--c) 20%, transparent);
  border-radius: 13px; padding: 13px 14px; }
.path-ic { width: 40px; height: 40px; border-radius: 11px; background: #fff; color: var(--c);
  display: flex; align-items: center; justify-content: center; flex: none;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1;
  border: 1px solid color-mix(in srgb, var(--c) 22%, transparent); }
.path-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; align-self: center; }
.path-num { font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--color-foreground-muted); }
.path-name { font-family: var(--font-display); font-weight: 700; color: var(--c); font-size: 1rem; }
.path-desc { font-size: 0.85rem; color: var(--color-foreground-muted); line-height: 1.4; margin: 1px 0 0; }
.path-feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 12px;
  margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--color-pane-divider); }
.path-feat span { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--color-foreground); }
.path-feat svg { width: 17px; height: 17px; color: var(--color-foreground-muted); flex: none; }

/* growth-path carousel (hero, above "The workshops") — replaces the 3 stacked boxes */
.carousel-outer { margin-bottom: 20px; }
.carousel-wrap {
  padding: 2px 0;
}
.carousel-track {
  display: flex; align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  gap: 0; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  /* no fixed height: track sizes to the tallest slide, so nothing clips and short slides don't leave a huge gap */
}
.carousel-track::-webkit-scrollbar { display: none; }

/* ---- rich slide shell (shared by all 6) ---- */
.carousel-slide.cs {
  flex: 0 0 100%; scroll-snap-align: center;
  display: flex; flex-direction: column; gap: 8px; text-align: left;
  padding: 22px 18px;
  background: var(--color-pane);
  border: 1px solid var(--color-pane-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 16px rgba(26,26,26,0.05);
}
.cs-eyebrow {
  align-self: flex-start; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--c); background: var(--cb); border-radius: var(--radius-pill); padding: 5px 12px;
}
.cs-h { font-family: var(--font-display); font-size: clamp(1.12rem, 3.2vw, 1.35rem); font-weight: 700; line-height: 1.2; margin: 0; }
.cs-h .cs-arw { color: var(--color-emerald); }
.cs-sub { color: var(--color-foreground-muted); font-size: 0.84rem; line-height: 1.45; margin: 0; }
.cs-visual { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; margin-top: 14px; min-height: 0; }
.cs-foot { text-align: center; font-size: 0.76rem; color: var(--color-foreground-muted); margin: 0; }

/* shared icon chip */
.cn-ic { display: flex; align-items: center; justify-content: center; background: #fff; color: var(--c); flex: none; }
.cn-ic svg { width: 17px; height: 17px; }

/* chain of nodes (slide 1) */
.chain { flex: 1; display: flex; align-items: stretch; gap: 6px; max-height: 260px; }
.chain-node {
  flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  background: var(--cb); border: 1px solid color-mix(in srgb, var(--c) 26%, transparent);
  border-radius: var(--radius-sm); padding: 26px 6px; font-size: 0.82rem; font-weight: 700; color: var(--c);
}
.chain-node .cn-ic { width: 46px; height: 46px; border-radius: 12px; }
.chain-node .cn-ic svg { width: 22px; height: 22px; }
.chain-node b { font-weight: 700; }
.chain-node small { font-size: 0.66rem; font-weight: 500; line-height: 1.25; color: var(--color-foreground-muted); }
.chain-arw { align-self: center; flex: none; display: flex; color: var(--color-foreground-muted); }
.chain-arw svg { width: 15px; height: 15px; }

/* data sources -> spreadsheet preview (slide 2) */
.src-row { display: flex; justify-content: center; gap: 8px; }
.src-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--color-background-alt); border-radius: var(--radius-pill);
  padding: 8px 14px; font-size: 0.78rem; font-weight: 600; color: var(--color-foreground);
}
.src-pill svg { width: 15px; height: 15px; color: var(--color-foreground-muted); }
.src-down { align-self: center; display: flex; color: var(--color-foreground-muted); transform: rotate(90deg); }
.src-down svg { width: 18px; height: 18px; }
.xls {
  flex: 1; max-height: 230px; display: flex; flex-direction: column;
  border: 1px solid var(--color-pane-border); border-radius: 8px; overflow: hidden; background: var(--color-pane);
}
.xls-row { display: grid; grid-template-columns: 28px 1fr 1fr 1fr; flex: 1; }
.xls-row > span { display: flex; align-items: center; padding: 0 11px; font-size: 0.78rem;
  border-right: 1px solid var(--color-pane-border); border-bottom: 1px solid var(--color-pane-border); }
.xls-row > span:last-child { border-right: none; }
.xls-row:last-child > span { border-bottom: none; }
.xls-cols { flex: none; }
.xls-cols > span { justify-content: center; background: var(--color-background-alt);
  font-size: 0.68rem; font-weight: 700; color: var(--color-foreground-muted); padding: 5px 0; }
.xls-rn { justify-content: center; background: var(--color-background-alt);
  font-size: 0.68rem; font-weight: 700; color: var(--color-foreground-muted); }
.xls-c { color: var(--color-foreground); }
.xls-c.hd { font-weight: 700; }
.xls-sel { font-weight: 700; color: var(--color-emerald); box-shadow: inset 0 0 0 2px var(--color-emerald); }

/* ad verdict table (slide 3) */
.adtable { flex: 1; max-height: 300px; display: flex; flex-direction: column;
  border: 1px solid var(--color-pane-border); border-radius: 12px; overflow: hidden; }
.at-head, .at-row { display: grid; grid-template-columns: 1fr 50px 70px; align-items: center; gap: 10px; padding: 0 14px; }
.at-head { flex: none; height: 38px; background: var(--color-background-alt); font-size: 0.66rem;
  text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; color: var(--color-foreground-muted); }
.at-head span:nth-child(2), .at-head span:nth-child(3) { text-align: center; }
.at-row { flex: 1; border-top: 1px solid var(--color-pane-border); font-size: 0.82rem; }
.at-ad { font-weight: 600; color: var(--color-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at-roas { font-weight: 700; color: var(--color-foreground); text-align: center; }
.at-tag { font-size: 0.7rem; font-weight: 700; text-align: center; border-radius: var(--radius-pill); padding: 5px 0; }
.t-scale { color: var(--color-emerald); background: var(--color-emerald-light); }
.t-pause { color: #b45309; background: #fef3c7; }
.t-fix { color: #dc2626; background: #fee2e2; }

/* repeat-purchase curve (slide 5) */
.rcurve { flex: 1; max-height: 300px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.rc-plot { position: relative; }
.rc-window { position: absolute; top: 0; bottom: 18px; left: 25%; width: 37.5%; background: var(--color-violet-light);
  border-radius: 8px; z-index: 0; }
.rc-bars { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 6px; height: 180px; }
.rc-bar { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
.rc-bar i { display: block; width: 100%; height: var(--h); border-radius: 5px 5px 0 0;
  background: color-mix(in srgb, var(--color-violet) 22%, transparent); }
.rc-bar.is-peak i { background: linear-gradient(180deg, #a78bfa, var(--color-violet)); }
.rc-bar span { font-size: 0.66rem; font-weight: 600; color: var(--color-foreground-muted); }
.rc-note { font-size: 0.8rem; line-height: 1.45; color: var(--color-foreground-muted); text-align: center; margin: 0; }
.rc-note b { color: var(--color-violet); }

/* topic grid + verdicts (legacy, unused) */
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 8px; flex: 1; max-height: 240px; }
.topic { display: flex; align-items: center; gap: 10px; background: var(--color-background-alt); border-radius: 10px; padding: 10px 11px; font-size: 0.8rem; font-weight: 600; color: var(--color-foreground); }
.topic .cn-ic { width: 28px; height: 28px; border-radius: 8px; }
.topic .cn-ic svg { width: 15px; height: 15px; }
.verdict-row { display: flex; gap: 8px; }
.verdict { flex: 1; text-align: center; font-size: 0.8rem; font-weight: 700; border-radius: var(--radius-pill); padding: 8px; }
.v-scale { color: var(--color-emerald); background: var(--color-emerald-light); }
.v-pause { color: #b45309; background: #fef3c7; }
.v-fix { color: #dc2626; background: #fee2e2; }

/* funnel (slide 4) — horizontal bar-funnel with drop-off insight */
.funnelx { display: flex; flex-direction: column; justify-content: center; gap: 9px; flex: 1; max-height: 300px; }
.fx-row { display: grid; grid-template-columns: 1fr 46px; align-items: center; gap: 12px; }
.fx-track { width: 100%; }
.fx-bar {
  width: var(--w); min-width: 96px; box-sizing: border-box;
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
  color: #fff; border-radius: 9px; padding: 12px 14px;
  font-size: 0.82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 1px 4px rgba(59,130,246,0.28);
}
.fx-bar em { font-style: normal; font-weight: 600; opacity: 0.9; font-size: 0.72rem; }
.fx-row.is-leak .fx-bar { background: linear-gradient(90deg, #f87171, #ef4444); box-shadow: 0 1px 4px rgba(239,68,68,0.3); }
.fx-meta { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.fx-pct { font-size: 0.85rem; font-weight: 700; color: var(--color-foreground); }
.fx-drop { font-size: 0.66rem; font-weight: 700; color: #dc2626; white-space: nowrap; }

/* legacy funnel (unused after redesign) */
.funnel { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.fn-step {
  background: var(--color-blue-light); border: 1px solid color-mix(in srgb, var(--color-blue) 22%, transparent);
  color: var(--color-foreground); border-radius: 8px; padding: 7px 12px; font-size: 0.8rem; font-weight: 600; text-align: center;
}
.fn-step.is-leak { background: #fee2e2; border-color: color-mix(in srgb, #dc2626 32%, transparent); color: #dc2626; font-weight: 700; }
.leak-tag { display: block; font-size: 0.64rem; font-weight: 700; margin-top: 2px; }

/* retention loop (slide 5) */
.loop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.loop-grid .chain-node { flex-direction: row; justify-content: flex-start; text-align: left; gap: 9px; padding: 11px; font-size: 0.76rem; }
.loop-grid .chain-node .cn-ic { width: 30px; height: 30px; border-radius: 9px; }
.mini-labels { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.mini-labels span { font-size: 0.71rem; font-weight: 600; color: var(--color-foreground-muted); background: var(--color-background-alt); border-radius: var(--radius-pill); padding: 5px 11px; }

/* deliverables (slide 6) */
.deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; max-height: 220px; }
.deliver { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; background: var(--color-background-alt); border-radius: var(--radius-sm); padding: 14px 7px; font-size: 0.76rem; font-weight: 700; color: var(--color-foreground); line-height: 1.25; }
.deliver .cn-ic { width: 36px; height: 36px; border-radius: 10px; }

.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.cnav-arrow {
  width: 38px; height: 38px; border-radius: 50%; flex: none; padding: 0; cursor: pointer;
  border: 1px solid var(--color-pane-border); background: var(--color-pane);
  display: flex; align-items: center; justify-content: center; color: var(--color-foreground);
  transition: background .15s ease, border-color .15s ease;
}
.cnav-arrow:hover { background: var(--color-background-alt); border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); }
.cnav-arrow svg { width: 17px; height: 17px; }
.cnav-arrow.is-prev svg { transform: rotate(180deg); }
.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 7px; }
.dot {
  width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0; cursor: pointer;
  background: var(--color-pane-border); transition: background .2s ease, width .2s ease;
}
.dot.is-active { background: var(--color-foreground); width: 22px; }

/* instructor credibility strip (between card and CTA); margin-top:auto anchors it + CTA to the bottom of the first screen */
.instructor { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 12px; }
.instructor-photo { width: 46px; height: 46px; border-radius: 50%; flex: none; object-fit: cover;
  background: var(--color-background-alt); border: 1px solid var(--color-pane-border); }
.instructor-bio { margin: 0; font-size: 0.8rem; line-height: 1.38; color: var(--color-foreground-muted); }
.instructor-bio b { color: var(--color-foreground); font-weight: 700; }
.instructor-brands { font-size: 0.75rem; }
.hero-cta { margin-top: 8px; margin-bottom: 20px; display: flex; flex-direction: column; align-items: stretch; gap: 9px; }
.hero-cta .btn { max-width: none; width: 100%; }
.hero-cta .cta-text-link { text-align: center; }
.cta-text-link {
  color: var(--color-foreground-muted); font-size: 0.86rem; text-decoration: underline;
  text-underline-offset: 2px;
}
.cta-text-link:hover { color: var(--color-foreground); }
.hero-cta .cta-row { gap: 10px; }
.hero-cta .btn { padding: 12px 22px; font-size: 0.92rem; white-space: normal; text-align: center; }
.hero-cta .cta-sub { margin-top: 10px; font-size: 0.82rem; }
@media (max-width: 559px) {
  .hero-cta .cta-row { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}

/* lean workshop cards (homepage) — 1-up mobile, 2-up tablet, 4-up desktop (one row) */
.workshop-grid { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: stretch; }
.workshop-card {
  display: flex; flex-direction: column;
  border-color: rgba(26,26,26,.16); border-width: 1.5px;
  box-shadow: 0 2px 5px rgba(26,26,26,.07), 0 16px 36px -16px rgba(26,26,26,.3);
}
.workshop-card .pane-body { display: flex; flex-direction: column; flex: 1; }
.workshop-card .pane-titlebar { border-bottom-width: 1.5px; border-bottom-color: rgba(26,26,26,.14); }
.workshop-card .pane-titlebar .pt-name { font-size: 0.95rem; }
.workshop-card .outcome { color: var(--color-foreground-muted); font-size: 0.95rem; }
.workshop-card .card-footer { margin-top: auto; padding-top: 16px; }
.workshop-card .price-line { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.workshop-card .price-line .amt { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--color-foreground); }
.workshop-card .save-line { font-size: 0.8rem; font-weight: 700; color: var(--color-emerald); margin-bottom: 14px; }
.workshop-card .btn-row { display: flex; flex-direction: column; gap: 8px; }
.workshop-card--bundle {
  border-color: rgba(16,185,129,.45); position: relative;
  box-shadow: 0 2px 5px rgba(16,185,129,.1), 0 18px 40px -16px rgba(16,185,129,.4);
}
.workshop-card--bundle .pane-titlebar { background: var(--color-emerald-light); border-bottom-color: rgba(16,185,129,.3); }

.pane-titlebar .pt-duration {
  margin-left: auto; font-size: 0.72rem; font-weight: 700; color: var(--color-foreground-muted);
  background: var(--color-background-alt); padding: 3px 10px; border-radius: var(--radius-pill);
}

.ribbon {
  position: absolute; top: 15px; right: -33px; z-index: 3; transform: rotate(45deg);
  background: var(--color-emerald); color: #fff; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase; padding: 4px 38px; box-shadow: 0 2px 6px rgba(16,185,129,.35);
}

.wc-content { display: flex; flex-direction: column; }
.wc-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-foreground-muted); margin-bottom: 8px; }

.spec-list { font-size: 0.85rem; margin: 2px 0 14px; }
.spec-list > div { display: flex; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--color-pane-border); }
.spec-list > div:last-child { border-bottom: none; }
.spec-list dt { flex: none; width: 118px; display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--color-foreground); }
.spec-list dt .spec-ic { width: 15px; height: 15px; flex: none; color: currentColor; }
.spec-list dd { margin: 0; color: var(--color-foreground-muted); }
.dd-list { list-style: none; margin: 0; padding: 0; }
.dd-list li { line-height: 1.4; }

.spec-list + .wc-label { margin-bottom: 2px; }
.course-details { margin-bottom: 0; }
.course-details summary { list-style: none; cursor: pointer; font-size: 0.95rem; color: var(--color-foreground); font-weight: 500; }
.course-details summary::-webkit-details-marker { display: none; }
.course-details summary .more-ind { color: var(--color-blue); font-weight: 700; margin-left: 6px; white-space: nowrap; }
.course-details summary:hover .more-ind { text-decoration: underline; }
.course-details[open] summary .more-ind { display: none; }
.course-details-body { margin-top: 0; font-size: 0.87rem; color: var(--color-foreground-muted); }
.course-details-body ul { margin: 0 0 10px; padding-left: 18px; }
.course-details-body li { margin-bottom: 6px; }
.course-details-body .hands-on-note { font-size: 0.85rem; }
.course-details-body .hands-on-note b { color: var(--color-foreground); }

.price-line .was { font-size: 0.9rem; color: var(--color-foreground-muted); text-decoration: line-through; }
.price-line .save { font-size: 0.82rem; font-weight: 700; color: var(--color-emerald); }

.btn .btn-was { text-decoration: line-through; opacity: .6; font-weight: 600; margin-right: 6px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600;
  color: var(--color-foreground); background: var(--color-background-alt); border-radius: var(--radius-pill);
  padding: 6px 12px;
}
.chip svg { width: 13px; height: 13px; }

/* mini-cards used on detail pages instead of bullet lists */
.mini-cards { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 20px; }
.mini-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; }
.mini-card .ic-sm { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.mini-card .ic-sm svg { width: 17px; height: 17px; }
.mini-card p { color: var(--color-foreground); font-size: 0.95rem; font-weight: 500; }

.hands-on {
  font-size: 0.92rem; color: var(--color-foreground); background: var(--tint, var(--color-emerald-light));
  border-radius: 10px; padding: 14px 16px; margin-bottom: 20px;
}
.hands-on b { font-family: var(--font-display); font-weight: 700; }

/* detail page hero */
.detail-hero .outcome { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--color-foreground-muted); max-width: 600px; margin: 10px 0 20px; }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
.about-photo {
  width: 128px; height: 128px; border-radius: 50%; overflow: hidden; flex: none;
  border: 1px solid var(--color-pane-border); box-shadow: 0 1px 2px rgba(26,26,26,.04), 0 8px 24px -12px rgba(26,26,26,.12);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-body p { margin-bottom: 10px; color: var(--color-foreground-muted); }
.about-body .lede { font-size: 1.1rem; color: var(--color-foreground); font-weight: 600; margin-bottom: 12px; }
.about-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.stat { background: var(--color-pane); border: 1px solid var(--color-pane-border); border-radius: 12px; padding: 12px 16px; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--color-emerald); font-weight: 700; line-height: 1; }
.stat span { font-size: 0.8rem; color: var(--color-foreground-muted); }
.linkedin-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; color: var(--color-foreground); font-weight: 600; text-decoration: none; }
.linkedin-link:hover { text-decoration: underline; }

/* faq */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 780px; }
.faq-item { border: 1px solid var(--color-pane-border); border-radius: var(--radius-sm); background: var(--color-pane); overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 1px 2px rgba(26,26,26,.04), 0 8px 24px -12px rgba(26,26,26,.12); }
.faq-item summary { cursor: pointer; list-style: none; padding: 17px 18px; font-weight: 700; color: var(--color-foreground); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--color-emerald); font-weight: 400; line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-a { padding: 0 18px 17px; color: var(--color-foreground-muted); }

/* final */
.final { text-align: center; }
.final h2 { margin-bottom: 8px; }
.final p { color: var(--color-foreground-muted); margin-bottom: 24px; }
.final .cta-row { justify-content: center; }

footer { padding: 32px 0; border-top: 1px solid var(--color-border); color: var(--color-foreground-muted); font-size: 0.86rem; text-align: center; }

/* sticky mobile bar (shown on mobile only, via the media query above) */
.sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; text-align: center;
  padding: 9px 16px calc(9px + env(safe-area-inset-bottom));
  background: rgba(250,248,244,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--color-border);
}
.sticky-cta .btn { width: 100%; max-width: 520px; margin: 0 auto; }
.sticky-cta .sticky-alt { display: inline-block; margin-top: 7px; font-size: 0.78rem; }

/* modal */
.modal-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(26,26,26,.45); backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .2s ease; }
.modal-overlay[hidden] { display: none; }
.modal-overlay.open { opacity: 1; }
.modal { background: var(--color-pane); border: 1px solid var(--color-pane-border); width: 100%; max-width: 480px; border-radius: 22px 22px 0 0; padding: 24px 22px calc(24px + env(safe-area-inset-bottom)); box-shadow: 0 24px 55px rgba(26,26,26,.25); transform: translateY(20px); transition: transform .22s ease; }
.modal-overlay.open .modal { transform: translateY(0); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 4px; }
.modal-head h3 { font-size: 1.3rem; }
.modal-sub { color: var(--color-foreground-muted); font-size: 0.94rem; margin-bottom: 18px; }
.modal-close { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--color-pane-border); background: var(--color-background-alt); cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--color-foreground-muted); }
.modal-close:hover { background: var(--color-border); }
.date-grid { display: grid; gap: 10px; margin-bottom: 20px; }
.date-opt { display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left; cursor: pointer; padding: 13px 14px; border: 1.5px solid var(--color-pane-border); border-radius: var(--radius-sm); background: var(--color-background-alt); transition: border-color .12s ease, background .12s ease; }
.date-opt:hover { border-color: rgba(26,26,26,.25); }
.date-opt.selected { border-color: var(--color-emerald); background: var(--color-emerald-light); }
.date-opt .radio { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 2px solid rgba(26,26,26,.25); position: relative; }
.date-opt.selected .radio { border-color: var(--color-emerald); }
.date-opt.selected .radio::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--color-emerald); }
.date-opt .d-day { font-weight: 700; color: var(--color-foreground); font-size: 0.95rem; }
.date-opt .d-sub { font-size: 0.82rem; color: var(--color-foreground-muted); margin-top: 2px; }
.modal-note { margin-top: 14px; font-size: 0.8rem; color: var(--color-foreground-muted); text-align: center; }

@media (min-width: 720px) {
  body { font-size: 18px; padding-bottom: 0; }
  .about-grid { grid-template-columns: 148px 1fr; gap: 36px; }
  .sticky-cta { display: none; }
  .modal-overlay { align-items: center; padding: 24px; }
  .modal { border-radius: 22px; }
}

/* horizontal workshop-card layout: one full-width row per workshop, stacked vertically */
@media (min-width: 860px) {
  .workshop-card .pane-body { flex-direction: row; align-items: stretch; gap: 28px; }
  .workshop-card .wc-content { flex: 1 1 auto; min-width: 0; }
  .workshop-card .card-footer {
    flex: 0 0 200px; margin-top: 0; padding-top: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
  }
}

/* mobile CTA switch — LAST in file so it wins over the base .hero-cta / .sticky-cta declarations */
@media (max-width: 719px) {
  .hero-cta { display: none; }
  .sticky-cta { display: block; }
  .instructor { margin-top: 22px; }
}
