/* FC-commercial.css: Flow Slides additions for the commercial pages (11-19, commercial group): pricing, capabilities,
   how-it-works, examples, the six example pages, looks, create. Kit tokens only, prefix fc-.
   Linked from the page body on pages that keep their old bundle; it is the bundle on the four new pages. */

/* ---------- 1. Flow clip (controller: js/FC-commercial.js) ---------- */
.fc-clip{margin:0}
.fc-frame{position:relative;aspect-ratio:16/9;border-radius:var(--r-slide,6px);overflow:hidden;background:#EFEAE0;border:1px solid rgba(20,17,13,.1)}
.fc-frame.dark{background:#14110D;border-color:rgba(20,17,13,.5)}
[data-tone="ink"] .fc-frame{border-color:rgba(247,244,237,.16)}
.fc-frame video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;background:transparent}
.fc-frame .clip-btn svg{width:10px;height:10px;flex:none}
.fc-frame .clip-btn .i-pause{display:none}
.fc-frame .clip-btn[data-s="playing"] .i-play{display:none}
.fc-frame .clip-btn[data-s="playing"] .i-pause{display:block}
.fc-frame .clip-btn:focus-visible{outline:2px solid #14110D;outline-offset:2px;box-shadow:0 0 0 4px #F7F4ED}
.card.fc-clip{padding:14px 14px 16px}
.fc-cap{margin:12px 2px 0}
.fc-desc{font-size:14.5px;line-height:1.55;color:var(--fg2)}
.fc-cred{margin-top:8px;font-size:13px;line-height:1.5;color:var(--fg3)}
.fc-cred+.fc-cred{margin-top:2px}
.fc-plays{font-size:14px;line-height:1.5;color:var(--fg3)}
.fc-proof{font-size:18px;line-height:1.45;color:var(--fg)}
.fc-label{font-size:14px;color:var(--fg3);margin-bottom:14px}

/* ---------- 2. sections and layouts ---------- */
.fc-sec{padding:104px 0}
.fc-sec-tight{padding:72px 0}
.fc-h2{font-size:44px;line-height:1.1;max-width:760px}
.fc-sub{margin-top:18px;max-width:620px}
.fc-head{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:20px 64px;align-items:end;margin-bottom:44px}
.fc-head .lead{margin:0}
.fc-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.fc-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.fc-75{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:20px;align-items:start}
.fc-57{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:center}
.fc-list{border-top:1px solid var(--rule)}
.fc-list li{padding:12px 0;border-bottom:1px solid var(--rule);font-size:16px;line-height:1.5;color:var(--fg)}
.fc-best{margin-top:22px;font-size:16px;line-height:1.5;color:var(--fg)}
.fc-links{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:24px}
.fc-more{margin-top:28px}

/* still cards (Flow stills are not lightbox slides: plain images) */
.fc-still{margin:0}
.fc-still img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--r-slide,6px);border:1px solid rgba(20,17,13,.1);background:#fff}
.fc-still figcaption{margin:10px 2px 0;font-size:13.5px;line-height:1.5;color:var(--fg2)}

/* ---------- 2b. closer without the free line (Flow pages) and plain stills ---------- */
.fc-close{padding:112px 0 120px}
.fc-close-grid{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:72px;align-items:center}
.fc-close .h2{font-size:52px;line-height:1.06;max-width:620px}
.fc-close .lead{margin:0;color:var(--fg2)}
.fc-close .acts{margin-top:28px;gap:16px 24px}
.fc-close .free-line{margin-top:16px;color:var(--fg2)}
.fc-close .tl{color:var(--fg)}
.fc-still-img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px;border:1px solid rgba(20,17,13,.1);background:#fff}

/* ---------- 3. watch pages (example-world-bank-report, example-physics-paper, example-economics-paper) ---------- */
.fc-watch{padding:64px 0 72px}
.fc-watch .ihero-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:start}
.fc-watch h1{font-size:52px;line-height:1.06}
.fc-cite{margin-top:22px;font-size:15px;line-height:1.55;color:var(--fg2);max-width:520px}
.fc-notice{margin-top:12px;font-size:14px;line-height:1.55;color:var(--fg);max-width:520px;padding:12px 14px;border-radius:var(--r-card);background:var(--sand)}
.fc-watch .acts{margin-top:28px}
.fc-watch .fc-plays{margin-top:16px}
.fc-watch .card.fc-clip{padding:12px}
.fc-watch .fc-frame{border-radius:4px}
.fc-moves{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;align-items:start}
.fc-moves>*{grid-column:span 6}
.fc-moves>.w7{grid-column:span 7}.fc-moves>.w5{grid-column:span 5}.fc-moves>.w4{grid-column:span 4}.fc-moves>.w8{grid-column:span 8}.fc-moves>.w12{grid-column:1/-1}
.fc-moves>.dn{margin-top:72px}
.fc-move-t{font-size:22px;line-height:1.3;margin:4px 2px 12px}
.fc-did{counter-reset:none}
.fc-did li{padding:14px 0;border-bottom:1px solid var(--rule);font-size:17px;line-height:1.5}
.fc-did li:first-child{border-top:1px solid var(--rule)}
.fc-for{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:20px}

/* ---------- 4. pricing ---------- */
.fc-rowh{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin:0 0 16px}
.fc-rowh h2{font-size:22px;line-height:1.3}
.fc-row2{margin-top:56px}
.tiers.fc-tiers4{grid-template-columns:repeat(4,minmax(0,1fr))}
.tiers.fc-tiers2{grid-template-columns:repeat(2,minmax(0,1fr))}
.fc-tiers2 .tier{padding:28px 28px 26px}
.fc-tiers2 .tier .amt{font-size:44px}
/* FIX 11-19 (QA_VISUAL M11, L5): the Flow deck card carries the most visual weight in its row; cards keep their own height */
.tiers.fc-tiers4{align-items:start}
.tier.fc-tier-flow{border-color:rgba(20,17,13,.55)}
.tier .fc-thumb{display:block;margin:-8px -8px 16px}
.tier .fc-thumb img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px;border:1px solid rgba(20,17,13,.1)}
.tier .fc-thumb figcaption{margin:6px 2px 0;font-size:11.5px;line-height:1.35;color:var(--fg3)}
.fc-rowl{font-size:22px;line-height:1.3;color:var(--fg)}
.price-foot .fc-guar{margin-top:8px}
.tier .fc-band-l{display:inline-block;margin:6px 0 0;font-size:12.5px;line-height:1.4;padding:3px 10px;border-radius:var(--r-pill);border:1px solid var(--rule);color:var(--fg)}
.fc-y{display:none}
.fc-yearly .fc-y{display:inline}
.fc-yearly .fc-m{display:none}
.fc-guar{font-size:14px;line-height:1.5;color:var(--fg)}
.fc-flowband .fc-57{align-items:center}
.fc-flowband .fc-h2{font-size:40px}
.fc-flowband .lead{margin-top:18px}
.fc-flowband .fc-proof{margin-top:14px}
.fc-flowband .fc-plays{margin-top:16px}
.b3-ptbl.fc-ptbl{min-width:900px}
.b3-ptbl.fc-ptbl thead th:first-child{width:24%}

/* ---------- 5. tabs card (capabilities, how-it-works) ---------- */
.fc-tabcard{padding:20px 24px 26px}
.fc-tabcard [role="tabpanel"]{padding-top:22px}
.fc-tabp{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:28px;align-items:start}
.fc-tabp .fc-tabt{font-size:24px;line-height:1.3}
.fc-tabp p+p{margin-top:10px}
.fc-tabp .receipt{margin-top:10px}

/* ---------- 6. capabilities bands ---------- */
.fc-build{padding:96px 0;border-top:1px solid var(--rule)}
.fc-build:first-of-type{border-top:0}
.fc-build-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:56px;align-items:start}
.fc-build .fc-h2{font-size:40px}
.fc-build .lead{margin-top:18px}
.fc-build .fc-list{margin-top:24px}
.fc-build-ex{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.fc-build-ex>.wide{grid-column:1/-1}
.fc-build--flow{padding:120px 0}
.fc-page{background:var(--well);border-radius:var(--r-card);padding:24px;display:grid;place-items:center}
.fc-page img{max-height:460px;width:auto;border:1px solid rgba(20,17,13,.1);background:#fff}
.fc-looks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.fc-looks figure{margin:0}
.fc-looks img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px;border:1px solid rgba(20,17,13,.1);background:#fff}
.fc-looks figcaption{margin-top:8px;font-size:13px;line-height:1.45;color:var(--fg2)}
.fc-tbl th[scope="row"]{width:18%}

/* ---------- 6b. visible questions, hero actions ---------- */
.fc-qa{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 40px}
.fc-qa>div{border-top:1px solid var(--rule);padding-top:16px}
.fc-qa h3{font-size:18px;line-height:1.35;margin-bottom:8px}
.fc-qa p{font-size:15.5px;line-height:1.6;color:var(--fg2)}
.fc-qa a{text-decoration:underline;text-underline-offset:3px;color:var(--fg)}
.ihero--doc .fc-75{align-items:end}
.fc-hero-act .free-line{margin-top:16px}

/* ---------- 7. examples wall ---------- */
.fc-wall{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px}
.fc-tile{display:flex;flex-direction:column;padding:12px 12px 16px}
.fc-tile .fc-frame{border-radius:4px}
.fc-tile h3{margin:14px 4px 0;font-size:17px;line-height:1.35}
.fc-tile h3 a{color:inherit}
.fc-tile h3 a::after{content:"";position:absolute;inset:0;z-index:1}
.fc-tile{position:relative}
.fc-tile .fc-frame .clip-btn{z-index:3}
.fc-tile .fc-cred{margin:8px 4px 0}
.fc-tile .fc-desc{margin:8px 4px 0;font-size:13.5px}
.fc-tile:focus-within{outline:2px solid var(--ink);outline-offset:3px}
.fc-tile h3 a:focus-visible{outline:none}
.fc-card-flow{margin-top:14px}
.fc-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 56px}
.fc-groups h3{font-size:20px;line-height:1.3;margin-bottom:12px}
.fc-doors li{border-bottom:1px solid var(--rule)}
.fc-doors li:first-child{border-top:1px solid var(--rule)}
.fc-doors a{display:block;padding:12px 0}
.fc-doors b{display:block;font-weight:400;font-size:16px;color:var(--fg)}
.fc-doors span{display:block;margin-top:2px;font-size:14px;color:var(--fg2)}
.fc-doors a:hover b{text-decoration:underline;text-underline-offset:3px}

/* ---------- 8. create: how will you use this deck? ---------- */
.fc-use{display:grid;gap:8px}
.fc-use-opt{position:relative;display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:4px 12px;align-items:center;padding:12px 14px;border:1px solid rgba(20,17,13,.14);border-radius:var(--r-card);background:#fff;cursor:pointer}
.fc-use-opt input{margin:0;width:16px;height:16px;accent-color:#14110D}
.fc-use-opt .t{font-size:15px;color:var(--ink)}
.fc-use-opt .chip{height:26px;font-size:12.5px;padding:0 10px}
.fc-use-opt:has(input:checked){border-color:#14110D;box-shadow:inset 0 0 0 1px #14110D}
.fc-use-opt:has(input:focus-visible){outline:2px solid #14110D;outline-offset:2px}
.fc-use-help p{display:none;font-size:13.5px;line-height:1.5;color:var(--fg3);margin-top:8px}
.fc-use:has(#use-speed:checked) ~ .fc-use-help .h-speed,
.fc-use:has(#use-design:checked) ~ .fc-use-help .h-design,
.fc-use:has(#use-flow:checked) ~ .fc-use-help .h-flow{display:block}
.fc-use-help .h-plan{display:block}

/* ---------- 9. responsive ---------- */
@media (max-width:1180px){
  .tiers.fc-tiers4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fc-build-grid{grid-template-columns:minmax(0,1fr);gap:36px}
}
@media (max-width:1023px){
  .fc-head,.fc-57,.fc-75,.fc-watch .ihero-grid,.fc-tabp,.fc-close-grid{grid-template-columns:minmax(0,1fr);gap:32px}
  .fc-close .h2{font-size:44px}
  .fc-watch .ihero-grid{gap:36px}
  .fc-three,.fc-wall{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fc-moves>*,.fc-moves>[class*="w"]{grid-column:span 6}
  .fc-moves>.dn{margin-top:0}
  .fc-looks{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tiers.fc-tiers4,.tiers.fc-tiers2{grid-template-columns:minmax(0,1fr)}
  .tier .fc-thumb{display:block;max-width:420px}
  .fc-tiers2 .tier{padding:18px 22px}
  .fc-tiers2 .tier .amt{font-size:30px}
}
@media (max-width:860px){
  .fc-groups{grid-template-columns:minmax(0,1fr);gap:32px}
}
@media (max-width:640px){
  .fc-sec,.fc-build{padding:72px 0}
  .fc-build--flow{padding:80px 0}
  .fc-sec-tight{padding:56px 0}
  .fc-h2,.fc-build .fc-h2,.fc-flowband .fc-h2{font-size:30px}
  .fc-watch{padding:40px 0 56px}
  .fc-close{padding:72px 0 80px}
  .fc-close .h2{font-size:34px}
  .fc-close .acts .btn{width:100%}
  .fc-watch h1{font-size:36px}
  .fc-two,.fc-three,.fc-wall,.fc-build-ex,.tiers.fc-tiers4,.tiers.fc-tiers2,.fc-qa{grid-template-columns:minmax(0,1fr)}
  .fc-moves{grid-template-columns:minmax(0,1fr)}
  .fc-moves>*,.fc-moves>[class*="w"]{grid-column:1/-1}
  .fc-move-t{font-size:20px}
  .tier .fc-thumb{display:block;max-width:420px}
  .fc-tiers2 .tier{padding:18px 22px}
  .fc-tiers2 .tier .amt{font-size:30px}
  .fc-tabcard{padding:12px 14px 18px}
  .fc-page img{max-height:340px}
  .fc-use-opt{grid-template-columns:20px minmax(0,1fr)}
  .fc-use-opt .chip{grid-column:2;justify-self:start}
}

/* ---------- 10. how-it-works: step 4 carries the one loop; three builds ---------- */
@media (min-width:1024px){.p-rail.fc-rail4{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.9fr) minmax(0,1fr)}}
.fc-stepclip{margin:4px 0 14px}
.fc-stepclip .fc-frame{border-radius:4px}
.fc-stepclip .fc-desc{font-size:13px}
.fc-step4 h3{margin-bottom:14px}
@media (min-width:1024px){.p-builds.fc-builds3{grid-template-columns:repeat(3,minmax(0,1fr))}}
.p-build .fc-frame{border-radius:4px}
.card-ink.p-build .fc-frame{border-color:rgba(247,244,237,.14)}
.fc-capline{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px 24px;margin-top:16px}
.fc-capline .p-cap1{margin:0}

/* ---------- 11. examples: hero clip, Flow cards ---------- */
.fc-exhero .ihero-grid{align-items:center}
.fc-flowcards{margin-top:16px}
.p-ex>.fc-frame{border-radius:4px}
.fc-flowcards .p-ex h2{font-size:22px}
.p-ex .fc-notice-s{font-size:12.5px;line-height:1.5}
@media (max-width:1023px){.fc-flowcards{grid-template-columns:minmax(0,1fr)}}

/* ---------- 12. example pages: the Flow section ---------- */
.fc-stillcol{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
[data-tone="ink"] .fc-still img{border-color:rgba(247,244,237,.16)}
#flow .fc-75 > div > .fc-clip + .fc-plays{margin-top:20px}
.fc-lkflow .fc-still figcaption{font-size:13px;color:var(--fg3)}
.fc-lkflow .fc-links{margin-top:28px}

/* FIX 11-19 (QA_VISUAL H5, QA_RULES M1): capabilities opens on the three-builds card beside the H1, Flow Slides first */
.fc-caphero{padding:56px 0 72px}
.fc-caphero .fc-caphero-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px;align-items:center}
.fc-caphero :is(h1,.h1){font-size:48px;line-height:1.08}
.fc-caphero .lead{margin-top:20px}
.fc-caphero .acts{margin-top:28px}
.fc-caphero-media{margin:0}
.fc-caphero-h2{margin:0 4px 12px;font-size:17px;line-height:1.3;color:var(--fg2)}
.fc-caphero .fc-tabcard{padding:12px 14px 18px}
.fc-caphero .fc-tabcard [role="tabpanel"]{padding-top:14px}
.fc-caphero .fc-tabp{grid-template-columns:minmax(0,1fr);gap:12px}
.fc-caphero .fc-tabp .fc-tabt{font-size:20px}
.fc-caphero figcaption .cap{margin:10px 4px 0}
@media (max-width:1023px){ .fc-caphero .fc-caphero-grid{grid-template-columns:minmax(0,1fr);gap:32px} .fc-caphero{padding:40px 0 56px} }
@media (max-width:600px){ .fc-caphero :is(h1,.h1){font-size:36px} .fc-caphero-h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap} }

/* FIX 11-19 (QA_VISUAL M5): watch pages put the player first and largest: a one-line title row (crumbs, H1, buttons on the
   right), then the player across the container, sized to fit the first screen */
@media (min-width:1024px){
  .fc-watch{padding:40px 0 64px}
  .fc-watch .ihero-grid{grid-template-columns:minmax(0,1fr);gap:22px}
  .fc-watch .ihero-grid > div:first-child{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:40px;align-items:end}
  .fc-watch .ihero-grid > div:first-child > *{grid-column:1}
  .fc-watch .ihero-grid > div:first-child > .acts{grid-column:2;grid-row:1 / span 6;align-self:end;margin-top:0}
  .fc-watch .ihero-grid > div:first-child > .fc-plays{margin-top:8px}
  .fc-watch :is(h1,.h1){font-size:40px;line-height:1.1;max-width:900px}
  .fc-watch .lab{margin-bottom:8px}
  .fc-watch .fc-cite{margin-top:10px;max-width:880px}
  .fc-watch .card.fc-clip{width:min(100%,calc((100vh - 450px) * 16 / 9 + 24px));min-width:min(100%,720px)}
  .fc-watch .fc-cite{font-size:14px;line-height:1.5}
}

/* RELAUNCH 11-24 (owner decisions 12 and 19): photo choice, Flow button, the "we'll email you" line for paying accounts */
.cr-photos .fc-use{margin-top:8px}
.go-flow-btn{display:none}
body:has(#use-flow:checked) .go-flow-btn{display:inline-flex}
body:has(#use-flow:checked) .go-outline-btn{display:none}
.fc-use-help .h-mail{margin-top:2px}
/* RELAUNCH 11-24: the marketing study watch page's sub and proof line */
.fc-watch .fc-sub{margin-top:12px;max-width:560px}
.fc-watch .fc-proof{margin-top:10px;font-size:15px;line-height:1.5;color:var(--fg)}

/* RELAUNCH 11-24: the 24 Nov fresh runs beside the 19 Nov clips on the clinical-trial and research-paper examples */
.fc-fresh{margin-top:48px}
.fc-fresh .fc-move-t{margin-bottom:14px}
.fc-fresh-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.fc-fresh-two.one{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
@media (max-width:760px){.fc-fresh-two,.fc-fresh-two.one{grid-template-columns:minmax(0,1fr)}}

/* DAYLIGHT FULL 11-25 (CRITIQUE 17): on phones the plan table stacks as "plan: value" rows; the 900 px desktop minimum must not apply there */
@media (max-width:640px){
  .b3-ptbl.fc-ptbl{min-width:0}
  .b3-ptbl.fc-ptbl.tbl-stack th,.b3-ptbl.fc-ptbl.tbl-stack td{grid-template-columns:48% minmax(0,1fr);overflow-wrap:anywhere}
}

/* QA FIX 11-25 (QA_CONTENT m17): Flow decks use a Dekked look, so the template and brand-color looks hide while Flow is picked */
.h-flowlook{display:none}
body:has(#use-flow:checked) .h-flowlook{display:block}
body:has(#use-flow:checked) .looks .opt:has(input[value="template"]),
body:has(#use-flow:checked) .looks .opt:has(input[value="brand-kit"]){display:none}

/* QA FIX 11-25 (QA_VISUAL 5): every step of "Five steps" shows a picture (document, talk note, outline, the deck, a finished slide),
   five equal columns, two or three lines of text each */
@media (min-width:1024px){.p-rail.fc-rail4.st-rail{grid-template-columns:repeat(5,minmax(0,1fr))}}
.st-rail>li{display:flex;flex-direction:column}
.st-rail .k{margin-bottom:16px}
.st-rail h3{min-height:2.5em;margin-bottom:12px}
.st-rail .st-pic,.st-rail .fc-stepclip{margin:0 0 14px}
.st-pic{aspect-ratio:16/10;border-radius:4px;overflow:hidden;background:#fff;border:1px solid rgba(20,17,13,.1)}
.st-pic img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.st-rail .fc-step4 h3{margin-bottom:12px}
.st-rail .fc-stepclip .fc-cap{display:none}
/* QA FIX 11-25 (QA_VISUAL 19): "Tables become charts" copy sits at the top of its column; "Your look" shows the two looks */
.page-how-it-works .p-row{align-items:start}
.p-lookpics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:26px;max-width:560px}
.p-lookpics img{display:block;width:100%;height:auto;border-radius:4px;border:1px solid rgba(20,17,13,.1)}
/* QA FIX 11-25 (QA_VISUAL 12): the Flow plan card's picture spans the card on phones */
@media (max-width:640px){ .tier .fc-thumb{max-width:none;margin:-4px -4px 14px} }
