/* ==========================================================================
   Cost-saving workflows — use-case grid (use-cases.html) + dedicated pages
   (workflow-*.html). Builds on home.css tokens. Pages are generated by
   tools/build_workflow_pages.py — edit the data there, not the HTML.
   ========================================================================== */

/* ---------- grid on use-cases.html ---------- */
.wf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1080px) { .wf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .wf-grid { grid-template-columns: 1fr; } }

.wf-card { position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 360px; padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid rgba(4, 4, 4, 0.08); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s var(--ease-out); }
.wf-card:hover, .wf-card:focus-visible { transform: translateY(-6px); box-shadow: 0 28px 60px -30px rgba(14, 12, 34, 0.45); border-color: rgba(86, 72, 228, 0.4); }
.wf-card:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.wf-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.wf-card-no { font-family: var(--font-head); font-weight: 700; font-size: 56px; line-height: .85; letter-spacing: -0.04em; color: var(--violet); }
.wf-card-kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); background: rgba(86, 72, 228, 0.08); border-radius: var(--pill); padding: 6px 12px; white-space: nowrap; }
.wf-card h3 { font-family: var(--font-head); font-size: clamp(22px, 1.8vw, 27px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.wf-card p { font-size: var(--body-small); line-height: 1.6; color: var(--ink-soft); margin: 0; }
.wf-card-stat { margin-top: auto; padding: 16px 18px; border-radius: 14px; background: var(--blush); }
.wf-card-stat b { display: block; font-family: var(--font-head); font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; color: var(--violet); }
.wf-card-stat span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.wf-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-soft); }
.wf-card-foot .wf-effort b { color: var(--black); font-weight: 700; }
.wf-card-go { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--white); flex: none; transition: background .35s var(--ease-out), color .35s var(--ease-out), transform .35s var(--ease-out); }
.wf-card-go svg { width: 20px; height: 20px; }
.wf-card:hover .wf-card-go { background: var(--lime); color: var(--black); transform: rotate(45deg); }

.wf-card--report { background: var(--violet); color: var(--white); border-color: transparent; }
.wf-card--report h3 { color: var(--white); }
.wf-card--report p { color: rgba(255, 255, 255, 0.82); }
.wf-card--report .wf-card-kicker { background: rgba(255, 255, 255, 0.14); color: var(--lime); }
.wf-card--report .wf-card-stat { background: rgba(4, 4, 4, 0.22); }
.wf-card--report .wf-card-stat b { color: var(--lime); }
.wf-card--report .wf-card-stat span, .wf-card--report .wf-card-foot { color: rgba(255, 255, 255, 0.8); }
.wf-card--report .wf-card-go { background: var(--lime); color: var(--black); }
.wf-card--report:hover .wf-card-go { background: var(--white); transform: translateY(3px); }
.wf-note { max-width: 820px; margin: clamp(32px, 4vw, 48px) auto 0; text-align: center; font-size: var(--body-small); line-height: 1.6; color: var(--ink-soft); }

/* ---------- dedicated page ---------- */
.wf-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.wf-hero-no { font-family: var(--font-head); font-weight: 700; font-size: clamp(120px, 16vw, 230px); line-height: .8; letter-spacing: -0.06em; color: var(--lime); }
.wf-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; font-size: var(--body-small); font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.wf-back:hover { color: var(--lime); }
.wf-back svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .wf-hero-grid { grid-template-columns: 1fr; } .wf-hero-no { display: none; } }

.wf-kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.wf-h2 { font-family: var(--font-head); font-size: clamp(30px, 3.4vw, 48px); line-height: 1.02; font-weight: 700; letter-spacing: -0.03em; max-width: 20ch; }
.wf-section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.wf-section-head p { max-width: 720px; margin-top: 16px; font-size: var(--body-large); line-height: 1.6; color: var(--ink-soft); }
.wf-cite { font-size: .62em; font-weight: 700; color: var(--violet); vertical-align: super; line-height: 0; margin-left: 1px; }
.wf-cite a:hover { text-decoration: underline; }
.bg-violet .wf-cite, .wf-stat--dark .wf-cite { color: var(--lime); }

.wf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .wf-stats { grid-template-columns: 1fr; } }
.wf-stat { padding: 30px; border-radius: var(--radius); background: #f5f3ff; }
.wf-stat b { display: block; font-family: var(--font-head); font-size: clamp(44px, 5vw, 68px); line-height: .95; font-weight: 700; letter-spacing: -0.04em; color: var(--violet); }
.wf-stat span { display: block; margin-top: 14px; font-size: var(--body-small); line-height: 1.55; color: var(--ink-soft); }
.wf-stat--dark { background: var(--black); }
.wf-stat--dark b { color: var(--lime); }
.wf-stat--dark span { color: rgba(255, 255, 255, 0.78); }

.wf-brief { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 900px) { .wf-brief { grid-template-columns: 1fr; } }
.wf-brief h3 { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-bottom: 12px; }
.wf-brief p { font-size: var(--body-large); line-height: 1.65; color: var(--ink-soft); }
.wf-brief-block + .wf-brief-block { margin-top: 36px; }
.wf-footprint { padding: 30px; border-radius: var(--radius); border: 1px solid rgba(4, 4, 4, 0.1); align-self: start; }
.wf-footprint li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid rgba(4, 4, 4, 0.08); font-size: var(--body-small); line-height: 1.55; color: var(--ink-soft); }
.wf-footprint li:last-child { border-bottom: 0; }
.wf-footprint li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 12px; border-radius: 3px; background: var(--lime); box-shadow: inset 0 0 0 1.5px rgba(4, 4, 4, 0.18); }
.wf-footprint li b { color: var(--black); }

/* workflow steps */
.wf-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
@media (max-width: 1000px) { .wf-steps { grid-template-columns: 1fr; } }
.wf-step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--white); min-height: 220px; }
.wf-step-n { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--violet); }
.wf-step h3 { font-family: var(--font-head); font-size: 20px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 14px 0 10px; }
.wf-step p { font-size: var(--body-small); line-height: 1.55; color: var(--ink-soft); margin: 0; }
.wf-step--human { background: var(--lime); }
.wf-step--human .wf-step-n { color: var(--black); }
.wf-step:not(:last-child)::after { content: ""; position: absolute; top: 34px; right: -12px; width: 12px; height: 2px; background: rgba(86, 72, 228, 0.4); }
@media (max-width: 1000px) { .wf-step { min-height: 0; } .wf-step:not(:last-child)::after { display: none; } }
.wf-kpis { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.wf-kpis > span:first-child { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-right: 6px; }
.wf-kpi { padding: 8px 14px; border-radius: var(--pill); background: var(--white); font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(86, 72, 228, 0.25); }

/* scenario */
.wf-scenario { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 4vw, 56px); border-radius: calc(var(--radius) + 6px); background: var(--black); color: var(--white); }
@media (max-width: 900px) { .wf-scenario { grid-template-columns: 1fr; } }
.wf-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.1); color: var(--lime); }
.wf-scenario h3 { font-family: var(--font-head); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; font-weight: 600; color: var(--white); margin: 20px 0 14px; }
.wf-scenario p { color: rgba(255, 255, 255, 0.78); line-height: 1.65; }
.wf-calc { width: 100%; border-collapse: collapse; }
.wf-calc td { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: var(--body-small); color: rgba(255, 255, 255, 0.78); }
.wf-calc td:last-child { text-align: right; font-family: var(--font-head); font-weight: 600; color: var(--white); white-space: nowrap; padding-left: 16px; }
.wf-calc small { display: block; opacity: .7; font-size: 12px; }
.wf-result { margin-top: 22px; font-family: var(--font-head); font-size: clamp(40px, 4.4vw, 60px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--lime); }
.wf-result small { font-size: .38em; color: var(--white); letter-spacing: 0; font-weight: 500; }

.wf-callout { margin-top: 28px; padding: 22px 26px; border-radius: var(--radius); background: var(--blush); box-shadow: inset 0 0 0 1px rgba(86, 72, 228, 0.14); font-size: var(--body-small); line-height: 1.6; color: var(--ink-soft); }
.wf-callout b { color: var(--black); }
.wf-sources { margin-top: 36px; }
.wf-sources h3 { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.wf-sources li { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 10px 0; border-top: 1px solid rgba(4, 4, 4, 0.08); font-size: 13px; line-height: 1.55; color: var(--ink-soft); scroll-margin-top: calc(var(--header-h) + 24px); }
.wf-sources li > span { font-family: var(--font-head); font-weight: 700; color: var(--violet); }
.wf-sources a { color: var(--violet); word-break: break-word; }
.wf-sources a:hover { text-decoration: underline; }
.wf-sources li:target { background: #f5f3ff; }

/* prev / next */
.wf-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .wf-pager { grid-template-columns: 1fr; } }
.wf-pager a { display: block; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--stroke-light); color: var(--white); transition: background .35s var(--ease-out); }
.wf-pager a:hover { background: rgba(255, 255, 255, 0.16); }
.wf-pager span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 10px; }
.wf-pager b { font-family: var(--font-head); font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.02em; }
.wf-pager a:last-child { text-align: right; }

/* ==========================================================================
   Product screen mockups — "app window" shell + per-workflow content.
   Content is illustrative sample data and labelled as such on the page.
   ========================================================================== */
.ux-wrap { position: relative; }
.ux-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.ux-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.ux { --ux-line: #ebe8f7; --ux-soft: #f7f6fd; --ux-ink: #14122a; --ux-mute: #6d6a85; border-radius: 22px; background: var(--white); color: var(--ux-ink); box-shadow: 0 50px 100px -40px rgba(20, 18, 42, 0.45), 0 0 0 1px rgba(20, 18, 42, 0.06); overflow: hidden; font-size: 13px; }
.ux-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: #14122a; color: #fff; }
.ux-dots { display: flex; gap: 6px; }
.ux-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.ux-dots i:first-child { background: var(--lime); }
.ux-title { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .01em; }
.ux-title em { font-style: normal; opacity: .55; font-weight: 500; }
.ux-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.ux-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: ux-pulse 1.8s var(--ease-in-out) infinite; }
@keyframes ux-pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(190, 251, 124, .6); } 50% { opacity: .6; box-shadow: 0 0 0 6px rgba(190, 251, 124, 0); } }
.ux-body { display: grid; grid-template-columns: 188px minmax(0, 1fr); min-height: 460px; }
.ux-side { padding: 18px 14px; background: var(--ux-soft); border-right: 1px solid var(--ux-line); display: flex; flex-direction: column; gap: 4px; }
.ux-side span { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; color: var(--ux-mute); font-weight: 600; }
.ux-side span.on { background: var(--white); color: var(--ux-ink); box-shadow: 0 1px 0 var(--ux-line), 0 4px 14px -8px rgba(20, 18, 42, .3); }
.ux-side span i { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 99px; background: rgba(86, 72, 228, .1); color: var(--violet); }
.ux-side span.on i { background: var(--violet); color: #fff; }
.ux-side .ux-side-foot { margin-top: auto; padding: 12px; border-radius: 12px; background: var(--violet); color: #fff; font-weight: 500; font-size: 12px; line-height: 1.45; }
.ux-side .ux-side-foot b { display: block; font-family: var(--font-head); font-size: 22px; color: var(--lime); line-height: 1.1; }
.ux-main { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ux-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ux-h { font-family: var(--font-head); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.ux-sub { color: var(--ux-mute); font-size: 12px; }
.ux-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ux-kpi { padding: 12px 14px; border-radius: 12px; background: var(--ux-soft); border: 1px solid var(--ux-line); }
.ux-kpi small { display: block; color: var(--ux-mute); font-size: 11px; font-weight: 600; }
.ux-kpi b { display: block; margin-top: 4px; font-family: var(--font-head); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.ux-kpi b em { font-style: normal; font-size: 11px; font-weight: 700; color: #1f8a3b; margin-left: 4px; }
.ux-table { width: 100%; border-collapse: collapse; }
.ux-table th { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ux-mute); padding: 0 10px 8px; border-bottom: 1px solid var(--ux-line); }
.ux-table td { padding: 11px 10px; border-bottom: 1px solid var(--ux-line); white-space: nowrap; }
.ux-table tr:last-child td { border-bottom: 0; }
.ux-table td.r, .ux-table th.r { text-align: right; }
.ux-table tr.sel td { background: #f5f3ff; }
.ux-strong { font-weight: 700; }
.ux-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.ux-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ux-chip--ok { background: #e8fbd4; color: #25701a; }
.ux-chip--warn { background: #fff1d6; color: #9a5b00; }
.ux-chip--bad { background: #ffe1e1; color: #b3261e; }
.ux-chip--ai { background: rgba(86, 72, 228, .1); color: var(--violet); }
.ux-chip--mute { background: #efeef4; color: var(--ux-mute); }
.ux-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--violet); color: #fff; white-space: nowrap; }
.ux-btn--ghost { background: transparent; color: var(--ux-ink); box-shadow: inset 0 0 0 1px var(--ux-line); }
.ux-btn--lime { background: var(--lime); color: var(--black); }
.ux-panel { border: 1px solid var(--ux-line); border-radius: 14px; padding: 14px 16px; background: var(--white); }
.ux-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.ux-meter { height: 6px; border-radius: 99px; background: #eceaf6; overflow: hidden; }
.ux-meter i { display: block; height: 100%; border-radius: inherit; background: var(--violet); transform-origin: left; animation: ux-grow 1.4s var(--ease-out) both; }
.ux-meter i.lo { background: #f0a53a; }
.ux-meter i.ok { background: #57c26b; }
@keyframes ux-grow { from { transform: scaleX(0); } }
.ux-field { display: grid; grid-template-columns: 110px minmax(0, 1fr) 54px; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--ux-line); }
.ux-field:last-child { border-bottom: 0; }
.ux-field small { color: var(--ux-mute); font-weight: 600; font-size: 11px; }
.ux-field b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ux-field span { text-align: right; font-size: 11px; font-weight: 700; color: #25701a; }
.ux-field span.lo { color: #9a5b00; }
.ux-field.flag { background: #fff8ea; margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 8px; }
.ux-doc { position: relative; border-radius: 12px; background: repeating-linear-gradient(#fff 0 22px, #f4f3f9 22px 23px); border: 1px solid var(--ux-line); padding: 18px; min-height: 250px; overflow: hidden; }
.ux-doc-h { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.ux-doc-l { height: 8px; border-radius: 4px; background: #dcd9ea; margin: 10px 0; }
.ux-doc-hl { position: absolute; border: 2px solid var(--violet); background: rgba(86, 72, 228, .08); border-radius: 6px; animation: ux-fade 2.4s var(--ease-in-out) infinite alternate; }
.ux-doc-hl.lo { border-color: #f0a53a; background: rgba(240, 165, 58, .1); }
@keyframes ux-fade { from { opacity: .45; } to { opacity: 1; } }
.ux-scan { position: absolute; left: 0; right: 0; height: 40px; background: linear-gradient(to bottom, transparent, rgba(190, 251, 124, .35), transparent); animation: ux-scan 3.2s linear infinite; }
@keyframes ux-scan { from { top: -40px; } to { top: 100%; } }
.ux-msg { padding: 12px 14px; border-radius: 14px; background: var(--ux-soft); border: 1px solid var(--ux-line); line-height: 1.5; }
.ux-msg--ai { background: #f5f3ff; border-color: rgba(86, 72, 228, .25); }
.ux-msg small { display: flex; justify-content: space-between; gap: 8px; color: var(--ux-mute); font-weight: 700; font-size: 11px; margin-bottom: 6px; }
.ux-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding-top: 8px; }
.ux-bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.ux-bars i { width: 100%; border-radius: 8px 8px 3px 3px; background: var(--violet); transform-origin: bottom; animation: ux-rise 1.3s var(--ease-out) both; }
.ux-bars i.warn { background: #f0a53a; } .ux-bars i.bad { background: #e0574f; } .ux-bars i.ok { background: #57c26b; }
.ux-bars small { color: var(--ux-mute); font-size: 11px; font-weight: 600; }
@keyframes ux-rise { from { transform: scaleY(0); } }
.ux-avatar { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e9e6ff; color: var(--violet); font-weight: 700; font-size: 11px; margin-right: 8px; vertical-align: middle; }
.ux-app { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #fff; font-weight: 700; font-size: 11px; margin-right: 8px; vertical-align: middle; }

@media (max-width: 900px) {
  .ux-body { grid-template-columns: 1fr; }
  .ux-side { display: none; }
  .ux-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ux-split { grid-template-columns: 1fr; }
  .ux-scroll { overflow-x: auto; }
  .ux-field { grid-template-columns: 78px minmax(0, 1fr) 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .ux *, .ux *::before, .ux-live::before { animation: none !important; }
  .wf-card, .wf-card-go { transition: none; }
}

/* ==========================================================================
   Homepage — "Savings workflows" section (index.html #savings).
   Left: 5 scroll panels. Right: sticky product screen that follows the active
   panel. Markup generated by tools/build_workflow_pages.py.
   ========================================================================== */
.sv { position: relative; z-index: 1; color: var(--white); padding: var(--section) 0; overflow: clip; isolation: isolate;
  background:
    radial-gradient(70% 55% at 88% 0%, rgba(86, 72, 228, 0.55) 0%, transparent 62%),
    radial-gradient(55% 45% at 0% 42%, rgba(58, 47, 184, 0.38) 0%, transparent 65%),
    radial-gradient(45% 35% at 96% 96%, rgba(190, 251, 124, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, #100d2b 0%, #0c0a20 42%, #08071a 100%); }
.sv-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sv-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7; will-change: transform; }
.sv-orb--a { width: 46vw; height: 46vw; top: -12vw; right: -8vw; background: radial-gradient(circle at 35% 35%, #7b6ff5 0%, #5648e4 45%, transparent 70%); }
.sv-orb--b { width: 34vw; height: 34vw; top: 38%; left: -12vw; background: radial-gradient(circle, rgba(86, 72, 228, 0.9) 0%, transparent 68%); opacity: .45; }
.sv-orb--c { width: 26vw; height: 26vw; bottom: -8vw; right: 12%; background: radial-gradient(circle, rgba(190, 251, 124, 0.35) 0%, transparent 70%); opacity: .35; }
.sv-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 1px) top / 100% 1px no-repeat; }
.sv .container { position: relative; }
.sv-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
@media (max-width: 900px) { .sv-head { grid-template-columns: 1fr; } }
.sv-title { font-family: var(--font-head); font-size: clamp(40px, 5.6vw, 84px); line-height: .95; font-weight: 700; letter-spacing: -0.04em; color: var(--white); text-transform: uppercase; }
.sv-title em { font-style: normal; color: var(--lime); }
.sv-lead { font-size: var(--body-large); line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.sv-lead + .pill-btn { margin-top: 26px; }

.sv-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(44px, 5vw, 72px) 0; border-top: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
@media (max-width: 1000px) { .sv-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sv-metric { padding: 28px 24px 26px 0; }
.sv-metric + .sv-metric { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
@media (max-width: 1000px) { .sv-metric:nth-child(3) { padding-left: 0; border-left: 0; } .sv-metric:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.14); } }
.sv-metric b { display: block; font-family: var(--font-head); font-size: clamp(34px, 3.5vw, 54px); padding-right: 4px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; color: var(--lime); white-space: nowrap; }
.sv-metric span { display: block; margin-top: 12px; font-size: var(--body-small); line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.sv-metric small { display: block; margin-top: 8px; font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.sv-metric small a { text-decoration: underline; text-underline-offset: 2px; }
.sv-metric small a:hover { color: var(--lime); }

.sv-body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.sv-panels { display: flex; flex-direction: column; }
.sv-panel { padding: clamp(28px, 3vw, 40px) 0; border-top: 1px solid rgba(255, 255, 255, 0.14); min-height: min(64vh, 600px); display: flex; flex-direction: column; justify-content: flex-start; opacity: .38; transition: opacity .5s var(--ease-out); }
.sv-panel:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.sv-panel.is-active { opacity: 1; }
.sv-panel-top { display: flex; align-items: baseline; gap: 16px; }
.sv-panel-no { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--lime); }
.sv-panel-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.sv-panel h3 { margin: 14px 0 12px; font-family: var(--font-head); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.05; font-weight: 600; letter-spacing: -0.025em; color: var(--white); }
.sv-panel p { color: rgba(255, 255, 255, 0.72); line-height: 1.6; max-width: 46ch; }
.sv-kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 24px; }
.sv-kv div { padding: 14px 14px 12px; border-radius: 14px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.sv-kv b { display: block; font-family: var(--font-head); font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; letter-spacing: -0.02em; color: var(--white); line-height: 1.05; }
.sv-kv div:first-child b { color: var(--lime); }
.sv-kv span { display: block; margin-top: 6px; font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, 0.6); }
.sv-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--lime); }
.sv-link svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.sv-link:hover svg { transform: translateX(4px); }

.sv-media { position: sticky; top: calc(var(--header-h) + 24px); }
.sv-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sv-tab { padding: 9px 14px; border-radius: var(--pill); font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); transition: background .3s var(--ease-out), color .3s var(--ease-out); }
.sv-tab:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.sv-tab.is-active { background: var(--lime); color: var(--black); box-shadow: none; }
.sv-tab:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.sv-progress { height: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); overflow: hidden; margin-bottom: 18px; }
.sv-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--lime)); transform-origin: left; transform: scaleX(0.2); }
.sv-stage { position: relative; }
.sv-screen { display: none; }
.sv-screen.is-active { display: block; }
.sv-stage .ux { font-size: 12px; }
.sv-stage .ux-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.sv-stage .ux-side { display: none; }
.sv-stage .ux-field { grid-template-columns: 96px minmax(0, 1fr) 50px; }
.sv-stage .ux-main { padding: 16px; gap: 12px; }
.sv-stage .ux-kpi b { font-size: 17px; }
.sv-stage .ux-table td { padding: 8px 8px; }
.sv-caption { margin-top: 14px; font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.sv-note { margin-top: clamp(36px, 4vw, 56px); font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); max-width: 900px; }
.sv-note a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1100px) {
  .sv-body { grid-template-columns: 1fr; }
  .sv-media { position: relative; top: 0; order: -1; }
  .sv-panel { min-height: 0; opacity: 1; }
}
@media (max-width: 900px) {
  .sv-stage .ux-body { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sv-kv { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .sv-panel { transition: none; } }
