/* Use case pages (/use-cases/*.html). One shared layout; each page sets its accent on <main class="uc a-<colour>">.
   Sections, top to bottom: hero, what you can make (picker), how it works, pillars, built for (benefits or enterprise controls),
   testimonial + stats, FAQ, more use cases, CTA band. */

/* ---------- Accent per use case ---------- */
.uc { --a: var(--purple); }
.uc.a-coral { --a: var(--coral); }
.uc.a-purple { --a: var(--purple); }
.uc.a-cobalt { --a: var(--cobalt); }
.uc.a-teal { --a: var(--teal); }
.uc { --a-tint: color-mix(in srgb, var(--a) 12%, white); --a-tint-2: color-mix(in srgb, var(--a) 22%, white); }
.uc .wrap { width: min(1180px, 100% - 32px); }

/* Balanced headings and no orphaned last words in body copy */
.uc :is(h1, h2, h3, .h2) { text-wrap: balance; }
.uc :is(p, .lead, blockquote, .faq-a, .uc-opt-desc span) { text-wrap: pretty; }

/* Tone-on-tone pill pattern used behind the hero photo and the picker preview */
.uc-pat { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--a-tint-2); }

/* ---------- Hero ---------- */
.uc-hero { padding: 64px 0 112px; background: linear-gradient(180deg, var(--white) 0%, #FAFAFA 140px, var(--grey) 380px, var(--grey) 70%, var(--white) 100%); }
.uc-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.uc-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.uc-hero h1 { font-size: 56px; line-height: 60px; font-weight: 800; letter-spacing: -0.04em; }
.uc-hero .lead { margin-top: 20px; max-width: 520px; }
.uc-hero .hero-actions { margin-top: 32px; display: flex; }

.uc-visual { position: relative; aspect-ratio: 1 / .88; border-radius: 32px; background: var(--a-tint); overflow: visible; isolation: isolate; }
.uc-visual .uc-pat { border-radius: 32px; z-index: -1; }
.uc-photo { position: absolute; inset: 40px; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px rgba(27, 27, 27, .16); }
.uc-photo img { width: 100%; height: 100%; object-fit: cover; }
.uc-float { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow-ui); animation: ucFloat 7s ease-in-out infinite alternate; }
.uc-float strong { display: block; font-size: 14px; line-height: 18px; font-weight: 700; }
.uc-float small { display: block; font-size: 12px; line-height: 16px; color: var(--label); }
.uc-float.f1 { left: 16px; bottom: 16px; }
.uc-float.f2 { right: 16px; top: 16px; padding: 10px 12px; animation-delay: -3.5s; }
@keyframes ucFloat { from { transform: translateY(0); } to { transform: translateY(-8px); } }

.uc-logos { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-top: 72px; }
.uc-logos .logo-marquee { max-width: 1180px; }
/* The edge fades take the hero's grey here (the strip sits in its fade to white: #F8F8F8 to #FCFCFC) */
.uc-logos { --fade: #F9F9F9; }
.uc-logos .marquee-track.back { margin-left: -60px; }
.uc-logos .micro { font-weight: 600; color: var(--black); margin-bottom: 8px; }

/* ---------- Picker (deliverables + enterprise controls) ---------- */
.uc-make { padding: 0; }
.uc-picker { display: grid; grid-template-columns: 400px 1fr; gap: 32px; align-items: stretch; }
.uc-opts { display: flex; flex-direction: column; gap: 4px; }
.uc-opt { position: relative; display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 16px; transition: background-color .3s var(--ease); }
.uc-opt:hover { background: var(--grey); }
.uc-opt.on { background: var(--grey); }
.uc-opt:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
/* Text-only options: an accent rule on the left marks the active one */
.uc-opt { padding: 16px 20px 18px; }
.uc-opt::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: transparent; transition: background-color .3s; }
.uc-opt.on::before { background: var(--a); }
.uc-opt-txt { display: flex; flex-direction: column; min-width: 0; }
.uc-opt-txt strong { text-wrap: balance; font-size: 17px; line-height: 22px; font-weight: 700; letter-spacing: -0.01em; }
/* Description expands on the active option (grid rows 0fr -> 1fr gives a smooth height animation) */
.uc-opt-desc { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease), opacity .35s ease; }
.uc-opt-desc > span { overflow: hidden; font-size: 15px; line-height: 22px; color: var(--body); }
.uc-opt.on .uc-opt-desc { grid-template-rows: 1fr; opacity: 1; }
.uc-opt.on .uc-opt-desc > span { padding-top: 4px; }
/* Autoplay progress line on the active option */
.uc-opt-bar { position: absolute; left: 20px; right: 16px; bottom: 8px; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
.uc-opt-bar b { display: block; height: 100%; width: 0; background: var(--a); border-radius: 2px; }
.uc-opt.on.playing .uc-opt-bar { background: var(--border); }
.uc-opt.on.playing .uc-opt-bar b { animation: ucBar var(--dur, 6500ms) linear forwards; }
.uc-picker.paused .uc-opt-bar b { animation-play-state: paused; }
@keyframes ucBar { to { width: 100%; } }

.uc-stage { position: relative; min-height: 520px; border-radius: var(--r-card); background: var(--a-tint); overflow: hidden; isolation: isolate; }
.uc-stage .uc-pat { z-index: -1; }
.uc-frame { position: absolute; inset: 36px; margin: 0; border-radius: 20px; overflow: hidden; opacity: 0; transform: scale(.97); transition: opacity .55s var(--ease), transform .7s var(--ease); pointer-events: none; box-shadow: 0 24px 60px rgba(27, 27, 27, .14); }
.uc-frame.on { opacity: 1; transform: none; pointer-events: auto; }
.uc-frame > img { width: 100%; height: 100%; object-fit: cover; }
.uc-cap { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 16px; padding: 14px 16px; transform: translateY(8px); opacity: 0; transition: transform .6s var(--ease) .15s, opacity .5s ease .15s; }
.uc-frame.on .uc-cap { transform: none; opacity: 1; }
.uc-cap strong { font-size: 16px; font-weight: 700; }
.uc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.uc-chips span { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--a-tint); color: var(--black); }

.uc-mdesc { display: none; }

/* ---------- How it works ---------- */
.uc-how.panel { margin: 0; border-radius: 0; padding: 128px 0; background: linear-gradient(180deg, var(--white) 0%, var(--grey) 104px, var(--grey) calc(100% - 104px), var(--white) 100%); }
.uc-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.uc-step { background: var(--white); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.uc-step .ico { margin-bottom: 8px; }
.uc-step h3, .uc-benefit h3 { font-size: 19px; line-height: 24px; font-weight: 700; letter-spacing: -0.01em; }
.uc-step p, .uc-benefit p { font-size: 15px; line-height: 22px; color: var(--body); }

/* ---------- Pillars on the brand gradient ---------- */
.uc-pillars-wrap { padding: 0 16px; }
.uc-pillars { max-width: 1180px; margin: 0 auto; padding: 96px 0 24px; }
.uc-pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.uc-pillar { display: flex; flex-direction: column; color: inherit; }
/* Soft gradient stage (light enough for the black line illustrations), one tone per pillar */
.uc-pillar-illus { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; isolation: isolate;
  background: linear-gradient(155deg, #E9E3FB 0%, #D3C8F6 55%, #C9D6F8 100%); }
.uc-pillar-illus[data-tone="coral"] { background: linear-gradient(155deg, #F6E4F1 0%, #DCCDF6 55%, #D4DDF8 100%); }
.uc-pillar-illus[data-tone="purple"] { background: linear-gradient(155deg, #DDE6FB 0%, #D2CAF5 55%, #E4DAF8 100%); }
/* All pillar panels: flat light grey (James 2026-10-14), white mock-up card on top */
.uc-pillar-illus, .uc-pillar-illus[data-tone] { background: var(--grey); }
.uc-pillar-illus::before, .uc-pillar-illus::after { display: none; }
.uc-pillar-illus .sreel-frame { background: transparent; border: 0; padding: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.uc-pillar-illus .sreel-ui { box-shadow: 0 12px 32px -16px rgba(27, 27, 27, .16); }
.uc-pillar-illus::before, .uc-pillar-illus::after { content: ""; position: absolute; top: 22%; bottom: 22%; width: 44px; z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 2px, transparent 2px 11px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.uc-pillar-illus::before { left: 14px; } .uc-pillar-illus::after { right: 14px; }
/* Platform mock-up card sits in the stage (sreel-frame / sreel-ui from steps.css), a little smaller than in the reels */
.uc-pillar-illus { padding: 0 11%; }
.uc-pillar-illus .sreel-frame { display: block; width: 100%; transition: transform .5s var(--ease); }
.uc-pillar-illus .sreel-ui { display: block; padding: 16px 18px; font-size: 14px; line-height: 19px; }
.uc-pillar-illus .sreel-ui-h strong { font-size: 16px; line-height: 21px; }
.uc-pillar-illus .sreel-ui-h, .uc-pillar-illus .sreel-row { display: flex; }
.uc-pillar-illus .sreel-row { padding: 8px 0; }
.uc-pillar-illus .sreel-av { width: 30px; height: 30px; font-size: 11px; }
.uc-pillar-illus .sreel-row em { min-width: 48px; }
.uc-pillar-illus .sreel-ui-h strong { white-space: nowrap; }
.uc-pillar:hover .uc-pillar-illus .sreel-frame { transform: translateY(-4px); }
.uc-pillar h3 { margin-top: 22px; font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -0.01em; color: var(--black); }
.uc-pillar p { margin-top: 6px; font-size: 16px; line-height: 24px; color: var(--body); flex: 1; }
.uc-pillar .link { margin-top: 12px; font-size: 15px; }
.uc-pillar .link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.uc-pillar:hover .link svg { transform: translateX(3px); }

/* ---------- Built for (benefits) ---------- */
/* Benefits: no tiles, a hand-drawn icon above each title */
.uc-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.uc-benefit { display: flex; flex-direction: column; gap: 8px; }
.uc-doodle { display: block; width: 84px; height: 79px; margin: 0 0 14px -10px; }

/* Enterprise controls: picker with product UI mock-ups instead of photos (text column on the right) */
.uc-picker.flip { grid-template-columns: 1fr 400px; }
.uc-picker.flip .uc-opts { order: 2; }
.uc-picker.flip .uc-stage { order: 1; }
.uc-frame.ui { display: grid; place-items: center; background: transparent; box-shadow: none; overflow: visible; }
.ui-card { width: min(420px, 100%); background: var(--white); border-radius: 20px; padding: 24px; box-shadow: 0 24px 60px rgba(27, 27, 27, .14); display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.ui-card small { color: var(--label); font-size: 12px; }
.ui-sso { align-items: center; text-align: center; padding: 32px 28px; }
.ui-sso .ui-logo { width: 120px; margin-bottom: 8px; }
.ui-sso strong { font-size: 18px; margin-bottom: 8px; }
.ui-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 44px; border: 1px solid var(--border); border-radius: 10px; font-weight: 600; }
.ui-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; }
.ui-row > span:not(.av):not(.status):not(.pill) { flex: 1; font-weight: 600; }
.ui-row.head { justify-content: space-between; padding: 0 4px 6px; }
.ui-row.head strong { font-size: 16px; }
.ui-row.on { background: var(--grey); }
.ui-card .av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lavender); color: var(--purple); font-size: 12px; font-weight: 700; flex: none; }
.ui-card .av.b { background: #FBE3EF; color: #B83E7E; }
.ui-card .av.c { background: #E3EAFC; color: #3554B8; }
.ui-card .av.d { background: #DDF3EF; color: #1E7C6E; }
.ui-card .status { font-size: 12px; padding: 4px 10px 4px 20px; }
.ui-card .status::before { left: 9px; }
.ui-note { display: flex; gap: 10px; align-items: flex-start; background: var(--grey); border-radius: 12px; padding: 12px; margin-top: 4px; }
.ui-note p { font-size: 13px; line-height: 19px; }
.ui-spaces .sw { width: 28px; height: 28px; border-radius: 8px; background: var(--c); flex: none; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--grey); color: var(--body); }
.ui-global { position: relative; min-height: 260px; justify-content: flex-end; overflow: hidden; }
.ui-dots { position: absolute; inset: 0; background-image: radial-gradient(var(--a-tint-2) 2.2px, transparent 2.6px); background-size: 16px 16px; mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 75%); }
.ui-stat { position: relative; }
.ui-stat strong { font-size: 48px; line-height: 52px; font-weight: 800; letter-spacing: -0.04em; display: block; }
.ui-tz { position: relative; display: flex; flex-wrap: wrap; gap: 6px; }
.ui-tz span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--a-tint); }

/* ---------- Testimonial + stats ---------- */
.uc-proof { padding-top: 0; }
.uc-proof-grid { display: grid; grid-template-columns: 1fr 300px; gap: 16px; }
.uc-quote { position: relative; margin: 0; background: var(--a-tint); border-radius: var(--r-card); padding: 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; overflow: hidden; }
.uc-qmark { width: 64px; height: auto; color: var(--a); }
.uc-quote blockquote { font-size: 30px; line-height: 38px; font-weight: 700; letter-spacing: -0.03em; max-width: 720px; }
.uc-quote figcaption { display: flex; align-items: center; gap: 14px; }
.uc-quote figcaption strong { display: block; font-size: 16px; font-weight: 700; }
.uc-quote figcaption small { display: block; font-size: 14px; color: var(--body); }
.uc-av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.uc-av.ini { display: grid; place-items: center; background: var(--a); color: var(--white); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; box-shadow: 0 0 0 3px var(--white), 0 6px 16px -6px rgba(27, 27, 27, .25); }
.uc-av:not(.ini) { box-shadow: 0 0 0 3px var(--white); }
.uc-qlogo { margin-left: auto; width: auto; max-width: 160px; filter: brightness(0); opacity: .85; } /* customer logos ship white; render them black on the tint */
.uc-stats { display: grid; grid-template-rows: repeat(3, 1fr); gap: 16px; }
.uc-stat { background: var(--grey); border-radius: var(--r-card); padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.uc-stat .num { font-size: 40px; line-height: 44px; font-weight: 800; letter-spacing: -0.04em; }
.uc-stat .lbl { font-size: 15px; color: var(--body); }

/* ---------- FAQ ---------- */
.uc-faq { padding-top: 0; }

/* ---------- More use cases ---------- */
.uc-more { padding: 0; }
.uc-more-h { font-size: 28px; line-height: 34px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 24px; }
.uc-more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.uc-more-card { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px; background: var(--grey); transition: background-color .25s; min-height: 76px; }
.uc-more-card:hover { background: #EEEEF0; }
.uc-more-card > span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.uc-more-card strong { font-size: 16px; font-weight: 700; }
.uc-more-card small { font-size: 13px; color: var(--label); text-wrap: pretty; }
.uc-more-card .uc-go { width: 18px; height: 18px; color: var(--label); transition: transform .3s var(--ease), color .2s; }
.uc-more-card:hover .uc-go { transform: translateX(3px); color: var(--black); }

/* ---------- CTA ---------- */
.uc-cta { padding-top: 112px; display: flex; flex-direction: column; align-items: center; }
.uc-cta-illus { width: 220px; height: auto; margin-bottom: 24px; }

/* ---------- No scroll reveal: text and cards show straight away (.uc-rv kept as a hook only) ---------- */

/* Desktop rows: titles and copy line up across each row even when one title wraps (subgrid) */
@media (min-width: 961px) {
  .uc-steps, .uc-benefits { grid-auto-rows: auto; }
  .uc-step { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 12px; align-content: start; }
  .uc-benefit { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 8px; align-content: start; }
  .uc-step .ico { margin-bottom: 8px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) and (min-width: 961px) {
  .uc-picker { grid-template-columns: 340px 1fr; }
  .uc-picker.flip { grid-template-columns: 1fr 340px; }
  .uc-steps, .uc-benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .uc-hero { padding: 40px 0 80px; background: linear-gradient(180deg, var(--white) 0%, #FAFAFA 100px, var(--grey) 260px, var(--grey) 80%, var(--white) 100%); }
  .uc-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .uc-hero h1 { font-size: 40px; line-height: 46px; }
  .uc-kicker { margin-bottom: 16px; }
  /* Same auto-width button as every other hero on phones */
  .uc-visual { aspect-ratio: 1 / .92; border-radius: 24px; }
  .uc-visual .uc-pat { border-radius: 24px; }
  .uc-photo { inset: 24px 24px 24px 24px; border-radius: 18px; }
  .uc-float.f1 { left: 8px; bottom: 8px; }
  .uc-float.f2 { right: 8px; top: 8px; }
  .uc-logos { margin-top: 48px; }
      
  .uc-make { padding-bottom: 0; }
  /* Picker on phones: preview first, then a thumb-friendly row of pills, then the active description */
  .uc-picker, .uc-picker.flip { grid-template-columns: 1fr; gap: 12px; }
  .uc-picker .uc-stage, .uc-picker.flip .uc-stage { order: 1; min-height: 340px; }
  .uc-picker .uc-opts, .uc-picker.flip .uc-opts { order: 2; flex-direction: row; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 0 6px; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .uc-opt:last-child { margin-right: 40px; }
  .uc-opts::-webkit-scrollbar { display: none; }
  .uc-opt { flex: none; width: auto; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--grey); scroll-snap-align: start; }
  .uc-opt.on { background: var(--a-tint-2); }
  .uc-opt::before { display: none; }
  .uc-opt-txt { padding-top: 0; }
  .uc-opt-txt strong { font-size: 15px; line-height: 20px; white-space: nowrap; }
  .uc-opt-desc, .uc-opt-bar { display: none; }
  .uc-mdesc { display: block; order: 3; min-height: 44px; padding: 0 4px; font-size: 15px; line-height: 22px; color: var(--body); }
  .uc-frame { inset: 16px; border-radius: 16px; }
  .uc-cap { left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; gap: 6px 10px; }
  .uc-cap strong { font-size: 15px; }
  .uc-chips span { font-size: 12px; padding: 3px 8px; }
  .uc-controls .uc-stage { min-height: 400px; }
  .ui-card { padding: 18px; }

  .uc-how.panel { padding: 72px 0; background: linear-gradient(180deg, var(--white) 0%, var(--grey) 96px, var(--grey) calc(100% - 96px), var(--white) 100%); }
  .uc-steps { grid-template-columns: 1fr; gap: 8px; }
  .uc-benefits { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  /* Compact rows on phones: icon left, copy right */
  .uc-step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 4px; padding: 20px; }
  .uc-step .ico { grid-row: span 2; margin: 0; }
  .uc-step h3 { align-self: end; }
  .uc-benefit { gap: 4px; }
  .uc-doodle { width: 68px; height: 64px; margin-bottom: 8px; }
  .uc-step h3, .uc-benefit h3 { font-size: 17px; line-height: 22px; }

  .uc-pillars-wrap { padding: 0 16px; }
  .uc-pillars { padding: 64px 0 16px; }
  .uc-pillar-grid { grid-template-columns: 1fr; gap: 32px; }
  .uc-pillar h3 { margin-top: 16px; }
  .uc-pillar p { font-size: 15px; line-height: 22px; }
  .uc-pillar-illus { aspect-ratio: 4 / 2.9; }

  .uc-proof-grid { grid-template-columns: 1fr; }
  .uc-quote { padding: 32px 24px; gap: 28px; }
  .uc-qmark { width: 44px; }
  .uc-quote blockquote { font-size: 22px; line-height: 30px; }
  .uc-quote figcaption { flex-wrap: wrap; }
  .uc-qlogo { margin-left: 0; flex-basis: 100%; max-width: 140px; }
  .uc-stats { grid-template-rows: none; gap: 8px; }
  .uc-stat { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 12px; padding: 18px 20px; }
  .uc-stat .num { font-size: 28px; line-height: 32px; min-width: 64px; }
  .uc-stat .lbl { font-size: 14px; line-height: 20px; }

  .uc-more-grid { grid-template-columns: 1fr; gap: 8px; }
  .uc-more-h { font-size: 24px; }
  .uc-cta { padding: 72px 16px 88px; }
  .uc-more { padding: 0; }
  .uc-cta-illus { width: 180px; }
}
@media (min-width: 600px) and (max-width: 960px) {
  .uc-steps, .uc-benefits, .uc-more-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .uc-float { animation: none; }
  .uc-frame, .uc-cap, .uc-opt-desc, .uc-pillar, .uc-pillar-illus .sreel-frame { transition: none; }
  .uc-opt-bar { display: none; }
  .uc-js .uc-rv { opacity: 1; transform: none; transition: none; }
}

/* Product mock-ups: keep pills on one line in narrow cards */
.ui-card .status, .ui-card .pill, .ui-row small { white-space: nowrap; }
.ui-row > span:not(.av):not(.status):not(.pill) { min-width: 0; }
.nw { white-space: nowrap; }

/* Picker list = the creators perk timer (css/creators.css .cr-perk-list): plain rows on white with a divider under each,
   grey titles that turn black when active, the description opening under the active one, and a purple progress line
   running along its bottom divider. No grey box, side bar or outline. Phones keep the pill row above. */
@media (min-width: 961px) {
  .uc-opts { gap: 0; }
  .uc-opt, .uc-opt.on, .uc-opt:hover { padding: 22px 0; border-radius: 0; background: none; border-bottom: 1px solid var(--border); }
  .uc-opt:first-child { padding-top: 0; }
  .uc-opt::before { display: none; }
  .uc-opt-txt strong { font-size: 22px; line-height: 28px; letter-spacing: -0.02em; color: var(--label); transition: color .25s; }
  .uc-opt:hover .uc-opt-txt strong, .uc-opt.on .uc-opt-txt strong { color: var(--black); }
  .uc-opt-desc > span { font-size: 16px; line-height: 24px; max-width: 460px; }
  .uc-opt.on .uc-opt-desc > span { padding-top: 8px; }
  .uc-opt-bar, .uc-opt.on.playing .uc-opt-bar { left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 0; background: transparent; }
  .uc-opt-bar b { background: var(--purple); border-radius: 0; }
  .uc-opt:focus { outline: none; }
  .uc-opt:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; border-radius: 4px; }
}
/* Team pillar: real headshots in the avatar circles */
img.sreel-av { object-fit: cover; background: var(--grey); }
/* Customer stories: even breathing room above and below, matching the section rhythm (112px desktop, 72px phones) */
.uc .dstories { margin: 0; padding: 88px 0 112px; } /* top is 88 because the pillars above already end with 24px */
.uc .dstories + .modal + .uc-faq, .uc .dstories + .uc-faq { padding-top: 0; }
@media (max-width: 960px) { .uc .dstories { padding: 56px 0 72px; } }
/* Mouse clicks never leave a focus box on the list; keyboard focus still shows a ring */
.uc-opt:focus:not(:focus-visible) { outline: none; }

/* Picker layout polish (matches the creators perks section): the list is centred against the image panel with a wider
   gutter, and the caption is a compact chip row sized to its content instead of a full-width bar */
@media (min-width: 961px) {
  .uc-picker { grid-template-columns: 420px 1fr; gap: 64px; align-items: center; }
  .uc-picker.flip { grid-template-columns: 1fr 420px; }
  /* No caption over the image on desktop: the open row already names it, and captions collided with text in the art */
  .uc-picker .uc-cap { display: none; }
}
/* Focus ring on the list only while navigating it with the keyboard (js/use-cases.js adds .kb), never after a click */
.uc-picker .uc-opt:focus, .uc-picker .uc-opt:focus-visible { outline: none; }
.uc-picker.kb .uc-opt:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; border-radius: 6px; }
/* Pillar cards: one brand accent for every tag, timecode and tick (no mixed purple/green), so the set reads calm but not grey */
.uc-pillar-illus .sreel-pill, .uc-pillar-illus .sreel-pill.ok { background: var(--lavender); color: var(--purple); }
.uc-pillar-illus .sreel-row em { color: var(--purple); }
.uc-pillar-illus .sreel-tick { background: var(--lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237852D4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.uc-photo img[src*="enterprise-leaders"] { object-position: 72% center; }

/* Use cases on phones: centred hero copy, and clear space between the picker description and the next section */
@media (max-width: 960px) {
  .uc-hero-copy, .uc-hero .uc-hero-grid > div:first-child { text-align: center; }
  .uc-hero .uc-kicker { justify-content: center; }
  .uc-hero .hero-actions { justify-content: center; }
  .uc-hero .lead { margin-left: auto; margin-right: auto; }
  .uc-mdesc { margin-bottom: 8px; }
  .uc .uc-make { padding-bottom: 56px; }
}
