/* Use cases v2 (preview): chapter plates, bands, Next pills, folds, icon rows, proof tiles, dated timeline, reply flow.
   Motion: one shot, opacity + transform only, 280ms. prefers-reduced-motion shows final state. */
.uc-ic{width:24px;height:24px;flex:0 0 auto;color:var(--accent)}
.uc-ic--sm{width:16px;height:16px}

/* chapters */
.uc-ch{position:relative}
.uc-ch--band{background:linear-gradient(180deg,rgba(255,255,255,.028),rgba(255,255,255,.018));border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06)}
@media(min-width:768px){.uc-ch::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,rgba(201,162,75,.55),rgba(176,122,42,.25) 70%,transparent)}}
.uc-plate{position:relative;display:flex;align-items:center;gap:18px;margin-bottom:28px;min-height:72px}
.uc-plate__ghost{position:absolute;right:0;top:50%;transform:translateY(-50%);font-family:'Anybody','Bricolage Grotesque',sans-serif;font-weight:900;font-size:clamp(96px,14vw,168px);line-height:1;letter-spacing:-.04em;color:#fff;opacity:.06;pointer-events:none;user-select:none}
.uc-plate__ic{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;border:1px solid rgba(201,162,75,.35);background:radial-gradient(circle at 30% 25%,rgba(201,162,75,.16),rgba(201,162,75,.03) 70%);color:#D9BE7A;flex:0 0 auto}
.uc-plate__svg{width:34px;height:34px}
.uc-plate__meta{display:flex;flex-direction:column;gap:6px;position:relative}
.uc-plate__meta .section-tag{margin:0}
.uc-plate__link{font-size:13.5px;color:var(--accent);text-decoration:none;border-bottom:1px solid rgba(232,213,163,.3);align-self:flex-start}
.uc-plate__link:hover{border-color:var(--accent)}
.uc-sub--lead{font-size:18px;line-height:1.55;color:rgba(245,245,242,.86)}

/* Next pill between chapters */
.uc-break{display:flex;justify-content:center;align-items:center;height:72px;position:relative}
.uc-break::before{content:'';position:absolute;left:5%;right:5%;top:50%;height:1px;background:rgba(255,255,255,.12)}
.uc-break__pill{position:relative;display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;border:1px solid rgba(232,213,163,.28);background:var(--bg);color:rgba(245,245,242,.86);font-size:13.5px;text-decoration:none;transition:border-color .18s,color .18s,transform .18s}
.uc-break__pill span{font-family:'Space Mono',monospace;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}
.uc-break__pill:hover{border-color:var(--accent);color:#fff;transform:translateY(-1px)}

/* sticky subnav chapter progress */
.uc-progress{position:absolute;left:0;right:0;bottom:-1px;height:2px;pointer-events:none}
.uc-progress span{display:block;height:100%;width:100%;transform-origin:0 50%;transform:scaleX(0);background:linear-gradient(90deg,var(--primary),var(--accent))}

/* pains as icon rows */
.uc-label--pains{margin-top:28px}
.uc-painrows{display:grid;gap:10px;margin-top:12px}
.uc-painrows li{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;border:1px solid var(--glass-border);background:var(--glass-bg);font-size:15px;color:rgba(245,245,242,.82)}
.uc-ic--pain{color:var(--violet);width:22px;height:22px}

/* reply flow (illustrative) */
.uc-flowviz{padding:26px}
.uc-flowviz .feature-status{position:static;display:inline-flex;margin:0}
.uc-steps{position:relative;display:grid;gap:4px;margin:8px 0 12px;counter-reset:s}
.uc-steps::before{content:'';position:absolute;left:21px;top:22px;bottom:22px;width:2px;background:rgba(255,255,255,.08)}
.uc-steps::after{content:'';position:absolute;left:21px;top:22px;bottom:22px;width:2px;background:linear-gradient(180deg,var(--primary),var(--accent));transform-origin:50% 0;transform:scaleY(1)}
.uc-step{position:relative;display:grid;grid-template-columns:44px 1fr;column-gap:14px;align-items:center;padding:8px 0}
.uc-step__ic{grid-row:span 2;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--bg-2,#1A1A1C);border:1px solid rgba(232,213,163,.25);position:relative;z-index:1}
.uc-step__t{font-weight:600;font-size:15px;color:#F5F5F2}
.uc-step__b{font-size:13.5px;color:rgba(245,245,242,.62);line-height:1.45}
.uc-step:nth-child(4) .uc-step__ic{border-color:rgba(201,162,75,.45);box-shadow:0 0 0 4px rgba(201,162,75,.08)}
.uc-step:nth-child(4) .uc-ic{color:#D9BE7A}
.uc-step:last-child .uc-step__ic{background:rgba(201,162,75,.16);border-color:rgba(201,162,75,.55)}

/* folds */
.uc-fold{margin-top:20px;border:1px solid var(--glass-border);border-radius:14px;background:rgba(255,255,255,.015)}
.uc-fold>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;font-size:14.5px;font-weight:600;color:rgba(245,245,242,.86)}
.uc-fold>summary::-webkit-details-marker{display:none}
.uc-fold>summary::after{content:'+';font-family:'Space Mono',monospace;font-size:18px;color:var(--accent);transition:transform .18s}
.uc-fold[open]>summary::after{transform:rotate(45deg)}
.uc-fold>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:14px}
.uc-fold__body{padding:0 18px 18px;font-size:14.5px;line-height:1.6;color:rgba(245,245,242,.72)}
.uc-fold--inset{margin-top:14px}
.uc-how{display:grid;gap:10px}
.uc-how strong{color:#F5F5F2}

/* proof: early client results */
.uc-proof{margin-top:64px;padding:32px;border-radius:var(--r-lg,20px);border:1px solid rgba(201,162,75,.3);background:linear-gradient(150deg,rgba(201,162,75,.09),rgba(26,26,28,.6) 50%,rgba(176,122,42,.05))}
.uc-proof__head{max-width:760px}
.uc-proof__k{margin-top:10px;font-size:14px;line-height:1.55;color:rgba(245,245,242,.66)}
.uc-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:24px}
.uc-tile{position:relative;padding:22px;border-radius:16px;border:1px solid var(--glass-border);background:rgba(11,11,12,.55)}
.uc-tile__ic{position:absolute;top:20px;right:20px;opacity:.9}
.uc-tile__n{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:56px;line-height:1;letter-spacing:-.03em;color:#F5F5F2;font-variant-numeric:tabular-nums}
.uc-tile__pre{display:block;font-family:'Space Mono',monospace;font-size:12px;font-weight:400;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);margin-bottom:6px}
.uc-tile:not(:first-child) .uc-tile__n{padding-top:24px}
.uc-tile__l{margin-top:8px;font-weight:600;font-size:15.5px;color:#F5F5F2}
.uc-tile__s{margin-top:8px;font-size:12.5px;line-height:1.5;color:rgba(245,245,242,.58)}

/* dated timeline: positions are calendar days, no magnitude axis */
.uc-tl{position:relative;margin-top:30px;padding:8px 0 0}
.uc-tl__axis{display:flex;justify-content:space-between;font-family:'Space Mono',monospace;font-size:11px;color:rgba(245,245,242,.45);margin-bottom:8px}
.uc-tl__track{position:relative;height:3px;border-radius:3px;background:rgba(255,255,255,.08)}
.uc-tl__fill{position:absolute;inset:0;border-radius:3px;background:linear-gradient(90deg,var(--primary),var(--accent));transform-origin:0 50%;transform:scaleX(1)}
.uc-tl__evs{position:relative;height:118px}
.uc-tl__ev{position:absolute;left:var(--x);top:-9px;width:132px;margin-left:-66px;display:flex;flex-direction:column;align-items:center;text-align:center}
.uc-tl__ev:first-child{margin-left:-14px;align-items:flex-start;text-align:left}
.uc-tl__ev:last-child{margin-left:-118px;align-items:flex-end;text-align:right}
.uc-tl__dot{width:15px;height:15px;border-radius:50%;background:var(--bg);border:3px solid var(--accent);box-shadow:0 0 0 4px rgba(232,213,163,.12)}
.uc-tl__d{margin-top:8px;font-family:'Space Mono',monospace;font-size:11px;color:var(--accent)}
.uc-tl__v{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:20px;color:#F5F5F2;line-height:1.2}
.uc-tl__l{font-size:12px;line-height:1.35;color:rgba(245,245,242,.62)}
.uc-trust{display:flex;align-items:flex-start;gap:12px;margin-top:22px;padding:14px 16px;border-radius:12px;border:1px solid rgba(201,162,75,.28);background:rgba(201,162,75,.05);font-size:14.5px;line-height:1.5;color:rgba(245,245,242,.86)}
.uc-ic--trust{color:#D9BE7A}
.uc-proof__src{margin-top:12px;font-size:12px;color:rgba(245,245,242,.48)}

/* workflow cards with icons */
.uc-flow--ic .uc-flow__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.uc-flow--ic .uc-flow__n{margin:0}
.uc-ic--flow{width:28px;height:28px}
.uc-flow--ic .uc-flow__b{font-size:14.5px}

/* sample day rows */
.uc-days__note--top{margin:10px 0 0}
.uc-day__h{display:flex;align-items:center;gap:8px}
.uc-ic--h{width:20px;height:20px}
.uc-day--before .uc-ic--h,.uc-day--before .uc-ic--row{color:rgba(245,245,242,.4)}
.uc-days--v2 .uc-day__list li.uc-dayrow{display:grid;grid-template-columns:48px 20px 1fr;gap:10px;align-items:start}
.uc-ic--row{width:18px;height:18px;margin-top:2px}
.uc-day--before .uc-dayrow--late .uc-time{color:#E7A0A0}
.uc-day--before .uc-dayrow--late{position:relative}
.uc-label--ic{display:flex;align-items:center;gap:8px}
.uc-cta__more{margin-top:14px;font-size:13px;color:rgba(245,245,242,.55)}
.uc-cta__more a{color:var(--accent);text-decoration:none}
.uc-cta__more a:hover{text-decoration:underline}

/* one shot motion, only when JS is on and motion is allowed */
@media(prefers-reduced-motion:no-preference){
  html.js .uc-proof:not(.visible) .uc-tl__fill{transform:scaleX(0)}
  html.js .uc-tl__fill{transition:transform 1.1s cubic-bezier(.22,1,.36,1) .15s}
  html.js .uc-proof:not(.visible) .uc-tl__ev{opacity:0;transform:translateY(10px)}
  html.js .uc-tl__ev{transition:opacity .28s cubic-bezier(.22,1,.36,1),transform .28s cubic-bezier(.22,1,.36,1);transition-delay:calc(.3s + var(--x) * .011)}
  html.js .uc-flowviz:not(.visible) .uc-steps::after{transform:scaleY(0)}
  html.js .uc-steps::after{transition:transform .9s cubic-bezier(.22,1,.36,1) .2s}
  html.js .uc-flowviz:not(.visible) .uc-step{opacity:.35}
  html.js .uc-step{transition:opacity .28s cubic-bezier(.22,1,.36,1);transition-delay:calc(.2s + var(--i) * .18s)}
  html.js .uc-plate.reveal{transform:translateY(10px);transition:opacity .28s cubic-bezier(.22,1,.36,1),transform .28s cubic-bezier(.22,1,.36,1)}
  html.js .uc-plate.reveal.visible{transform:none}
  .uc-tile,.uc-painrows li{transition:border-color .18s,transform .18s}
  .uc-tile:hover{border-color:rgba(232,213,163,.35);transform:translateY(-2px)}
}
@media(prefers-reduced-motion:reduce){
  .uc-tl__fill,.uc-tl__ev,.uc-steps::after,.uc-step,.uc-plate,.uc-break__pill,.uc-fold>summary::after{transition:none!important;opacity:1!important}
}

@media(max-width:900px){
  .uc-tiles{grid-template-columns:1fr}
  .uc-tile:not(:first-child) .uc-tile__n{padding-top:0}
  .uc-tile__n{font-size:48px}
}
@media(max-width:700px){
  .uc-proof{padding:22px 18px;margin-top:48px}
  .uc-plate{gap:14px;margin-bottom:20px}
  .uc-plate__ic{width:52px;height:52px;border-radius:14px}
  .uc-plate__svg{width:28px;height:28px}
  .uc-plate__ghost{font-size:96px}
  .uc-sub--lead{font-size:16.5px}
  /* timeline goes vertical on phones */
  .uc-tl__axis{display:none}
  .uc-tl{padding-left:4px}
  .uc-tl__track{position:absolute;left:10px;top:12px;bottom:12px;width:3px;height:auto}
  .uc-tl__fill{transform-origin:50% 0}
  .uc-tl__evs{height:auto;display:grid;gap:14px}
  .uc-tl__ev,.uc-tl__ev:first-child,.uc-tl__ev:last-child{position:relative;left:auto;top:auto;width:auto;margin:0;display:grid;grid-template-columns:15px 52px auto 1fr;column-gap:12px;align-items:baseline;text-align:left}
  .uc-tl__ev .uc-tl__dot{align-self:center}
  .uc-tl__d{margin:0}
  .uc-tl__v{font-size:17px}
  html.js .uc-proof:not(.visible) .uc-tl__fill{transform:scaleY(0)}
  .uc-break{height:64px}
}
@media(max-width:700px) and (prefers-reduced-motion:no-preference){
  html.js .uc-tl__ev{transition-delay:calc(.3s + var(--i) * .08s)}
}

/* light theme (preview only) */
html[data-theme="light"] .uc-ch--band{background:rgba(11,11,12,.025);border-color:rgba(11,11,12,.06)}
html[data-theme="light"] .uc-plate__ghost{color:#0B0B0C}
html[data-theme="light"] .uc-break__pill{background:#F5F5F2;color:#0B0B0C}
html[data-theme="light"] .uc-break::before{background:rgba(11,11,12,.12)}
html[data-theme="light"] .uc-painrows li,html[data-theme="light"] .uc-step__b,html[data-theme="light"] .uc-tile__s,html[data-theme="light"] .uc-tl__l,html[data-theme="light"] .uc-proof__k,html[data-theme="light"] .uc-fold__body{color:rgba(11,11,12,.72)}
html[data-theme="light"] .uc-step__t,html[data-theme="light"] .uc-tile__n,html[data-theme="light"] .uc-tile__l,html[data-theme="light"] .uc-tl__v,html[data-theme="light"] .uc-fold>summary,html[data-theme="light"] .uc-trust,html[data-theme="light"] .uc-how strong{color:#0B0B0C}
html[data-theme="light"] .uc-tile,html[data-theme="light"] .uc-step__ic{background:rgba(255,255,255,.85)}
html[data-theme="light"] .uc-proof{background:linear-gradient(150deg,rgba(201,162,75,.1),rgba(255,255,255,.85) 55%)}

/* fixes after first screenshots */
.uc-step:last-child .uc-step__ic{background:linear-gradient(rgba(201,162,75,.22),rgba(201,162,75,.22)),#1A1A1C}
.uc-flowviz .uc-vis__top{flex-wrap:wrap}
@media(max-width:700px){
  .uc-tile{display:grid;grid-template-columns:auto 1fr;column-gap:16px;align-items:center;padding:18px}
  .uc-tile__n{grid-row:span 3;font-size:44px;min-width:84px}
  .uc-tile__pre{font-size:10.5px}
  .uc-tile__l{margin:0;font-size:15px;padding-right:28px}
  .uc-tile__s{margin-top:4px}
  .uc-tile__ic{top:16px;right:16px}
  .uc-tile__ic .uc-ic{width:20px;height:20px}
}
html[data-theme="light"] .uc-step:last-child .uc-step__ic{background:rgba(201,162,75,.14)}
