/* /workflows marketing page — additive to site.css, which already supplies
   .hero, .page-hero, .section, .card, .step-grid, .feature-grid, .cta,
   .button. Only the shapes site.css has no equivalent for live here.
   Everything scoped under .wf-page (the <main> wrapper) so none of this
   leaks onto any other page that happens to reuse a class name. */

.breadcrumb-nav{max-width:1240px;margin:0 auto;padding:18px 24px 0;font-size:13px;color:var(--muted)}
.breadcrumb-nav a{color:var(--muted);text-decoration:underline}
.breadcrumb-nav a:hover{color:var(--ink)}

/* ---------------------------------------------------------------------
   Section rhythm: tightened from site.css's sitewide 100px, scoped to
   this page only. .wf-tight goes further on the shorter connective
   sections so the page reads faster without the denser sections (FAQ,
   product photo, record/build) feeling cramped. */
.wf-page .section{padding:68px 24px}
.wf-page .wf-tight{padding-top:38px;padding-bottom:38px}
@media(max-width:850px){
  .wf-page .section{padding:48px 24px}
  .wf-page .wf-tight{padding-top:30px;padding-bottom:30px}
}

/* ---------------------------------------------------------------------
   Hero: reuses site.css's .hero two-column grid — this only styles the
   right-hand visual, a recreation of the real Edit Workflow step list. */
.wf-hero .lead{font-size:18px;max-width:520px}

/* ---------------------------------------------------------------------
   .wf-mock — the shared "floating product UI" card used by the hero
   visual, the recorder/builder cards, and the before/workflow/after
   flow's middle column. Deliberately drawn in the same visual language
   as the real editor dialogs (workflows-ui.css: numbered rows, a drag
   handle, a toggle switch) rather than a generic illustration — but
   built from plain HTML/CSS, not a screenshot, so it's crisp at any
   size, needs no image pipeline, and can never show an out-of-date UI. */
.wf-mock{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:20px;width:100%}
.wf-hero-visual{max-width:360px;justify-self:center}
.wf-mock-head{font:700 14px Manrope,Inter,sans-serif;color:var(--ink);display:flex;align-items:center;gap:8px;margin-bottom:14px}
.wf-mock-steps{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.wf-mock-steps li{display:flex;align-items:center;gap:10px;background:#f7f8fb;border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:13px;color:var(--ink);font-weight:600}
.wf-step-num{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--red);color:#fff;font-size:11px;font-weight:800}
.wf-mock-foot{margin-top:14px;text-align:center}
.wf-mock-foot .button{pointer-events:none;font-size:13px;padding:9px 14px}

/* Recorder card: a pulsing dot signals "live capture," respecting
   prefers-reduced-motion by simply not animating for those users. */
.wf-rec-dot{width:9px;height:9px;border-radius:50%;background:var(--red);display:inline-block;animation:wf-pulse 1.6s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.wf-rec-dot{animation:none}}
@keyframes wf-pulse{0%,100%{opacity:1}50%{opacity:.35}}

/* Builder card: the same list, now shaped like the real Edit Workflow
   rows — a drag handle, the step name, and an enable/disable switch. */
.wf-mock-steps-builder li{gap:10px}
.wf-drag{color:#b6bccb;font-size:18px}
.wf-mock-steps-builder li>span:not(.wf-switch){flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wf-switch{flex:none;width:32px;height:18px;border-radius:99px;background:#d8deea;position:relative}
.wf-switch:before{content:'';position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #14203330}
.wf-switch.active{background:var(--purple)}
.wf-switch.active:before{left:16px}

.wf-visual-card{display:flex;flex-direction:column}
.wf-visual-card .wf-mock{margin-top:20px}

/* ---------------------------------------------------------------------
   Before → Workflow → After. Photos are drawn, not photographed — a
   colored backdrop with an irregular "product" shape for the before
   state, a clean white square with a centered shape for the after
   state — so the page never depends on sourcing/licensing real
   photography just to illustrate the concept. */
.wf-flow{display:grid;grid-template-columns:1fr auto 1.15fr auto 1fr;gap:18px;align-items:center}
.wf-flow-item{text-align:center}
.wf-flow-item-workflow{text-align:left}
.wf-flow-label{display:block;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.wf-flow-item-workflow .wf-flow-label{color:var(--purple)}
.wf-flow-arrow{color:#c7cede;display:flex}
.wf-flow-arrow i{font-size:26px}
.wf-photo-mock{aspect-ratio:1;border-radius:16px;position:relative;overflow:hidden;box-shadow:var(--shadow)}
.wf-photo-before{background:linear-gradient(145deg,#ffd9a8,#f2946b)}
.wf-photo-blob{position:absolute;inset:18% 22%;background:#fff8;border-radius:38% 62% 55% 45%/48% 42% 58% 52%;box-shadow:0 10px 22px #14203325}
.wf-photo-after{background:#fff;border:1px solid var(--line)}
.wf-photo-clean{position:absolute;inset:22%;background:linear-gradient(145deg,#efedff,#d8d3ff);border-radius:18px;box-shadow:0 8px 18px #6657e830}
.wf-flow-item p{margin:10px 0 0;font-size:14px}
.wf-flow-product .wf-flow-item-workflow{padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}

/* ---------------------------------------------------------------------
   Run on another image — two photo chips either side of the same
   Workflow, proving portability without naming internal concepts like
   target resolution. */
.wf-portability{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:8px}
.wf-photo-chip,.wf-workflow-chip{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;padding:12px 16px;background:#fff}
.wf-photo-chip i,.wf-workflow-chip i{color:var(--purple)}
.wf-photo-chip b{display:block;font-size:14px}
.wf-photo-chip small{color:var(--muted)}
.wf-workflow-chip{background:#efedff;border-color:#d8d3ff;font-weight:700;font-size:14px}
.wf-portability-arrow{color:#c7cede;display:flex}
.wf-portability-result{display:flex;align-items:center;justify-content:center;gap:8px;margin:18px 0 0;font-weight:700;color:var(--ink)}
.wf-portability-result i{color:#1a7f4b}

/* ---------------------------------------------------------------------
   FAQ accordion. */
.faq-accordion{max-width:840px;margin:0 auto;display:grid;gap:10px}
.faq-question{margin:0}
.faq-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;font:700 16px Manrope,Inter,sans-serif;color:var(--ink);cursor:pointer}
.faq-trigger:hover{border-color:var(--purple)}
.faq-icon{flex:none;transition:transform .15s}
.faq-trigger[aria-expanded="true"] .faq-icon{transform:rotate(180deg)}
.faq-panel{padding:2px 20px 18px}
.faq-panel p{margin:0}
@media(prefers-reduced-motion:reduce){.faq-icon{transition:none}}

/* ---------------------------------------------------------------------
   Related resources — navigational link cards, not informational ones. */
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.related-card{display:flex;align-items:center;gap:14px;padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:#fff;transition:.15s}
.related-card:hover{border-color:var(--purple);background:#fafaff;transform:translateY(-2px);box-shadow:var(--shadow)}
.related-card>i:first-child{flex:none;color:var(--purple);font-size:22px}
.related-card span{display:grid;gap:2px}
.related-card b{font-size:15px;color:var(--ink)}
.related-card small{color:var(--muted);font-size:13px}
.related-arrow{margin-left:auto;flex:none;color:#c7cede;transition:transform .15s,color .15s}
.related-card:hover .related-arrow{color:var(--purple);transform:translateX(3px)}
@media(prefers-reduced-motion:reduce){.related-card,.related-arrow{transition:none}}

/* Record a Workflow / Build a Workflow — two equal paths to the same saved
   result, side by side. site.css's .feature-grid is a fixed 3-up grid, and
   forcing 2 cards into it leaves an awkward gap, so this is its own
   2-column track that still shares .card for the actual box styling. */
.workflow-pair-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}

/* Workflows vs. Smart Batch Edit — two named things being compared need a
   visible header identifying which column is which; .card alone doesn't
   carry that. */
.compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.compare-grid .card h3{display:flex;align-items:center;gap:8px;font-size:17px}
.compare-grid .card .tag{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--purple);background:#efedff;padding:3px 9px;border-radius:99px}
.compare-grid .card p{margin-top:10px}
.compare-grid .card a{display:inline-block;margin-top:14px;font-weight:700;color:var(--ink);text-decoration:underline}

/* A named starter Workflow referenced inline in running prose (Product photo
   workflows) — a small labelled chip so it reads as a specific, real thing
   in the product rather than an invented example. */
.workflow-example{display:inline-flex;align-items:center;gap:8px;margin-top:22px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:#fafbfe}
.workflow-example b{color:var(--ink)}

@media(max-width:850px){
  .workflow-pair-grid,.compare-grid,.related-grid{grid-template-columns:1fr}
  .wf-flow{grid-template-columns:1fr;justify-items:center}
  .wf-flow-arrow{transform:rotate(90deg)}
  .wf-flow-item,.wf-flow-item-workflow{text-align:center;max-width:320px}
  .wf-flow-item-workflow .wf-flow-label{text-align:center}
  .wf-portability{flex-direction:column}
  .wf-portability-arrow{transform:rotate(90deg)}
  .wf-hero-visual{max-width:100%}
}
