/* Website content and reading routes. Homepage opening styles live in style.css. */
.product-workflow,.site-faq{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(32px,7vw,100px)}
.product-workflow{align-items:center}
.workflow-stage{
  --cue-boundary:76%;
  --demo-bar:2.069s;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:24px;
  background:var(--surface);
}
.workflow-scenes{display:grid;isolation:isolate;background:#24231f}
.workflow-scene{
  position:relative;
  display:flex;
  align-items:flex-end;
  min-width:0;
  aspect-ratio:1;
  min-height:300px;
  padding:clamp(12px,2.6vw,28px);
}
.workflow-stage [hidden]{display:none}
.workflow-picture{
  position:absolute;
  inset:0;
  z-index:0;
}
.workflow-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.workflow-picture::after{
  content:"";
  position:absolute;
  inset:32% 0 0;
  background:linear-gradient(transparent,#14120fa6);
  pointer-events:none;
}
.workflow-overlay{
  position:relative;
  z-index:2;
  width:min(100%,380px);
  margin-inline:auto;
  padding:clamp(12px,2vw,22px);
  border:1px solid #ffffffa6;
  border-radius:17px;
  color:#1d1d1f;
  background:linear-gradient(135deg,#fffffff2,#e4e5e9e8);
  backdrop-filter:blur(16px);
  box-shadow:0 10px 28px #11100d63;
}
.workflow-scene{grid-area:1 / 1}
.workflow-scene--incoming .workflow-picture{z-index:1}
.workflow-scene--incoming .workflow-overlay{z-index:3}
.scene-click .scene-spec strong{font-size:clamp(46px,5.5vw,85px)}
.scene-click .scene-spec{margin-bottom:10px}
.scene-spec{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:20px;font-family:var(--mono);line-height:1}
.scene-spec strong{font-family:var(--font);font-size:clamp(64px,9vw,126px);font-weight:500;letter-spacing:-.075em;font-variant-numeric:tabular-nums}
.scene-spec div span,.scene-meter{font-size:clamp(13px,2vw,18px);color:var(--muted)}
.scene-meter{color:var(--lime)}
.scene-grid,.scene-cue{position:relative}
.scene-beats,.scene-count{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));font-family:var(--mono);font-size:.8125rem;color:var(--muted)}
.scene-beats>*{display:grid;place-items:center;height:58px;border:1px solid var(--line);border-right:0}
.scene-beats>:last-child{border-right:1px solid var(--line)}
.scene-beats b{color:var(--lime)}
.scene-playhead{position:absolute;inset-block:0;left:0;width:1px;background:var(--lime);pointer-events:none}
.scene-playhead::before{content:"";position:absolute;top:0;left:-3px;width:7px;height:5px;background:inherit}
.scene-grid .scene-playhead{animation:workflow-beats var(--demo-bar) linear 2 both}
.scene-caption{display:flex;justify-content:space-between;margin-top:12px;color:var(--muted);font-size:.75rem}
.scene-sections{display:grid;grid-template-columns:var(--cue-boundary) 1fr;font-size:.8125rem}
.scene-sections>*{padding:8px}
.scene-sections span{background:#2d414e}
.scene-sections strong{background:#2d3821;color:var(--lime);border-left:1px solid var(--lime)}
.scene-cue{padding:16px 0;background:#231e2a;border-bottom:1px solid var(--line)}
.scene-cue::after{content:"";position:absolute;inset-block:0;left:var(--cue-boundary);border-left:1px solid var(--lime)}
.scene-count{width:var(--cue-boundary);grid-template-columns:repeat(4,minmax(0,1fr));color:var(--purple)}
.scene-count span{text-align:center}
.scene-count span{display:grid;align-items:center;min-height:56px;border-right:1px solid #51435e;font-size:clamp(10px,1.2vw,14px)}
.scene-cue .scene-playhead{background:var(--purple);animation:workflow-cue var(--demo-bar) 700ms linear 1 both}
.scene-channels{display:grid;gap:14px}
.scene-channel{display:grid;grid-template-columns:48px minmax(0,1fr) 38px;align-items:center;gap:10px;padding-block:9px;border-bottom:1px solid var(--line);font-size:.875rem}
.scene-channel .mono{text-align:right;color:var(--muted)}
.scene-level{height:16px;background:repeating-linear-gradient(90deg,#414a41 0 3px,transparent 3px 6px)}
.scene-level i{display:block;height:100%;width:100%;clip-path:inset(0 calc(100% - var(--level)) 0 0);background:repeating-linear-gradient(90deg,currentColor 0 3px,transparent 3px 6px);animation:workflow-level 650ms cubic-bezier(.22,.7,.26,1) both}
.scene-channel:nth-child(1){--level:42%}
.scene-channel:nth-child(2){--level:60%;color:var(--lime)}
.scene-channel:nth-child(3){--level:78%;color:var(--purple)}
.scene-channel:nth-child(2) i{animation-delay:120ms}
.scene-channel:nth-child(3) i{animation-delay:240ms}
.workflow-stage[data-playing="false"] .scene-cue .scene-playhead{visibility:hidden}
@keyframes workflow-beats{to{left:100%}}
@keyframes workflow-cue{to{left:var(--cue-boundary)}}
@keyframes workflow-level{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 calc(100% - var(--level)) 0 0)}}
/* Precision: isolated controls on a matte silver surface. */
[data-style="precision"] :is(.scene-meter,.scene-spec div span,.scene-caption){color:#54545c}
[data-style="precision"] .scene-beats{gap:5px}
[data-style="precision"] .scene-beats>*{
  height:44px;border:0;border-radius:9px;background:#fff8;color:#242429;
  box-shadow:0 2px 8px #27283912,inset 0 1px #fff;
}
[data-style="precision"] .scene-beats b{background:#222228;color:white}
[data-style="precision"] .scene-playhead{background:#686874}
[data-style="precision"] .scene-sections span{background:#dedfe5}
[data-style="precision"] .scene-sections strong{background:#292930;color:white;border:0}
[data-style="precision"] .scene-cue{background:#fff8;border-color:#d8d8e0}
[data-style="precision"] .scene-cue::after{border-color:#656572}
[data-style="precision"] .scene-count{color:#454050}
[data-style="precision"] .scene-count span{border-color:#ddd9e6}
[data-style="precision"] .scene-channel{color:#25252c;border-color:#d1d2db}
[data-style="precision"] .scene-channel .mono{color:#54545c}
[data-style="precision"] .scene-level{height:4px;border-radius:9px;background:#c9cad3}
[data-style="precision"] .scene-level i{background:#555562;clip-path:none;width:var(--level);transform-origin:left;animation-name:studio-scale}
[data-style="precision"] .scene-level i::after{
  content:"";position:absolute;right:0;top:50%;width:16px;height:16px;
  transform:translate(50%,-50%);border-radius:50%;background:#fff;box-shadow:0 1px 5px #0004;
}
[data-style="precision"] .scene-level i{position:relative}

@keyframes studio-scale{from{transform:scaleX(.08)}to{transform:scaleX(1)}}
.workflow-copy h2,.site-faq h2{font-size:clamp(34px,4.5vw,64px);letter-spacing:-.035em}
.workflow-steps{margin:28px 0 0}
.workflow-steps>div{position:relative;border-top:1px solid var(--line);padding:12px 0 14px 16px}
.workflow-steps>div::before{content:"";position:absolute;inset:12px auto 14px 0;width:2px;background:var(--lime);opacity:0;transition:opacity 180ms ease}
.workflow-steps>div[data-active]::before{opacity:1}
.workflow-steps dt{font-weight:700;font-size:1.125rem}
.workflow-steps button{display:block;width:100%;min-height:44px;text-align:left;font:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer}
.workflow-steps button:is([aria-pressed="true"],:hover){color:var(--lime)}
.workflow-steps dd,.site-faq p{margin:0;color:var(--muted);max-width:62ch}
.workflow-stage[data-playing="false"] :is(.scene-playhead,.scene-level i){animation:none}
@media(prefers-reduced-motion:reduce){
  .workflow-stage[data-style] :is(.scene-playhead,.scene-level i){animation:none}
  .workflow-steps>div::before{transition:none}
}
.site-faq details{border-top:1px solid var(--line);padding:0 0 14px}
.site-faq summary{cursor:pointer;font-weight:650;padding:13px 0 0;min-height:44px}
.site-faq details:last-child{border-bottom:1px solid var(--line)}
.site-faq a:not(.guide-link),.reading article a{color:var(--lime);text-decoration:underline;text-underline-offset:.18em}
.reading > .footer{width:min(1120px,calc(100% - 40px));margin-inline:auto}
.reading-main a[aria-current=page],.reading-main a:hover{color:var(--chalk)}
.reading-main{width:min(1120px,calc(100% - 40px));margin-inline:auto;padding:clamp(42px,8vw,110px) 0 84px}
.reading-intro{padding-bottom:34px;border-bottom:1px solid var(--line)}
.reading-intro h1{font-size:clamp(40px,6vw,76px);letter-spacing:-.04em;max-width:18ch}
.reading-intro p{margin-top:16px;max-width:62ch;color:var(--muted);font-size:clamp(17px,2vw,21px)}
.reading-layout{display:grid;grid-template-columns:minmax(160px,220px) minmax(0,68ch);gap:clamp(32px,6vw,90px);margin-top:38px}
.reading-toc{align-self:start;position:sticky;top:24px}
.reading-toc strong{display:block;margin-bottom:8px}
.reading-toc ul{list-style:none;padding:0;margin:0}
.reading-toc a{display:block;padding:8px 0;color:var(--muted);text-decoration:none}
.reading article section{margin-bottom:36px;scroll-margin-top:24px}
.reading article h2{font-size:clamp(24px,3vw,34px);letter-spacing:-.025em;margin-bottom:10px}
.reading article p,.reading article ol,.reading article ul{color:var(--muted);margin:10px 0 0}
.reading article li+li{margin-top:5px}
.reading article strong{color:var(--chalk)}
.reading figure{margin:24px 0}
.reading figure img{display:block;width:min(230px,100%);height:auto;border-radius:18px}
.reading figcaption{margin-top:8px;color:var(--muted);font-size:.875rem}
.reading :focus-visible,.site-faq :focus-visible,.product-workflow :focus-visible{outline:2px solid var(--lime);outline-offset:4px}
@media(max-width:700px){
  .product-workflow,.site-faq,.reading-layout{grid-template-columns:1fr;gap:24px}
  .workflow-copy{display:contents}
  .workflow-copy h2{grid-row:1}
  .workflow-stage{grid-row:2}
  .workflow-steps{margin:0}
  .reading-toc{position:static;padding-bottom:18px;border-bottom:1px solid var(--line)}
}

@media (701px <= width <= 1024px) {
  .product-workflow { gap: clamp(24px, 4vw, 44px); }
  .workflow-copy h2 { font-size: clamp(34px, 4.2vw, 44px); }
  .workflow-steps { margin-top: 18px; }
}

@media (max-width: 700px) {
  .workflow-scene { aspect-ratio: 5 / 4; min-height: 280px; }
  .workflow-overlay { max-width: 360px; }
  .workflow-steps > div { padding-block: 6px 12px; }
  .workflow-steps > div::before { inset-block: 8px 12px; }
}

.support-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-block: 24px 48px;
}
.support-topics a {
  display: grid;
  gap: 4px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.support-topics a:hover { border-color: var(--muted); }
.support-topics span,
.support-breadcrumb { color: var(--muted); font-size: .875rem; }
.support-breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.support-breadcrumb a { text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 520px) {
  .support-topics { grid-template-columns: 1fr; }
}
