

@font-face { font-family: "Suisse Intl"; src: url("/assets/fonts/SuisseIntl-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Suisse Intl"; src: url("/assets/fonts/SuisseIntl-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }


.s-root, .s-root *, .s-root *::before, .s-root *::after { box-sizing: border-box; }
.s-root {
  margin: 0; background: var(--color-page); color: var(--color-text);
  font-family: var(--font); font-size: var(--text-md); font-weight: var(--weight-regular);
  line-height: var(--leading-body); letter-spacing: var(--tracking-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.s-root :where(h1, h2, h3, h4, p, ul, ol, figure, dl, dd) { margin: 0; }
.s-root :where(ul, ol) { padding: 0; list-style: none; }
.s-root :where(a) { color: inherit; text-decoration: none; }
.s-root :where(button) { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.s-root :where(img, svg) { display: block; max-width: 100%; }
.s-root :focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.s-num { font-variant-numeric: tabular-nums; }


.s-display, .s-h1, .s-h2, .s-h3 { font-weight: var(--weight-medium); color: var(--color-text); text-wrap: balance; }
.s-display { font-size: var(--text-display); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
.s-h1 { font-size: var(--text-h1); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
.s-h2 { font-size: var(--text-h2); line-height: var(--leading-snug); letter-spacing: var(--tracking-snug); }
.s-h3 { font-size: var(--text-h3); line-height: var(--leading-snug); letter-spacing: var(--tracking-snug); }
.s-lede { font-size: var(--text-lg); line-height: var(--leading-body); letter-spacing: var(--tracking-snug); color: var(--color-text-secondary); max-width: var(--measure); text-wrap: pretty; }
.s-body { font-size: var(--text-md); color: var(--color-text-secondary); max-width: var(--measure); text-wrap: pretty; }
.s-small { font-size: var(--text-sm); color: var(--color-text-secondary); }
.s-caption { font-size: var(--text-xs); color: var(--color-text-tertiary); }
.s-strong { font-weight: var(--weight-medium); color: var(--color-text); }


.s-section { padding: var(--gap-section) var(--gutter) 0; }
.s-section.alt { background: var(--color-section-alt); padding-bottom: var(--gap-section); margin-top: var(--gap-section); }
.s-container { width: var(--container); max-width: 100%; margin-inline: auto; }
.s-stack { display: flex; flex-direction: column; gap: var(--gap-stack); }
.s-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.s-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--gap-grid); }
.s-grid.two { --cols: 2; }
@media (max-width: 900px) { .s-grid { --cols: 1 !important; } }


.s-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--gap-inline);
  height: var(--control-height); padding-inline: var(--space-4); border-radius: var(--radius-pill);
  background: var(--color-inverse); color: var(--color-text-inverse);
  font-size: var(--text-sm); font-weight: var(--weight-medium); line-height: 1; white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-ui), box-shadow var(--dur-fast) var(--ease-ui), scale var(--dur-fast) var(--ease-ui);
}
.s-btn:hover { background: color-mix(in oklab, var(--color-inverse) 86%, var(--white)); }
.s-btn:active { scale: .97; }
.s-btn.secondary { background: var(--color-raised); color: var(--color-text); box-shadow: inset 0 0 0 1px var(--color-border); }
.s-btn.secondary:hover { background: var(--color-panel); }
.s-btn.on-ink { background: var(--white); color: var(--color-text); }
.s-btn.on-ink:hover { background: var(--gray-3); }
.s-btn.lg { height: var(--control-height-lg); padding-inline: var(--space-5); font-size: var(--text-md); }


.s-link { color: var(--color-text); font-weight: var(--weight-medium); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--color-border-strong); text-underline-offset: 4px; transition: text-decoration-color var(--dur-fast) var(--ease-ui); }
.s-link:hover { text-decoration-color: currentColor; }


.s-tag { display: inline-flex; align-items: center; height: var(--space-5); padding-inline: var(--space-3); border-radius: var(--radius-pill); background: var(--color-panel); color: var(--color-text-secondary); font-size: var(--text-xs); font-weight: var(--weight-medium); line-height: 1; white-space: nowrap; }


.s-nav { position: sticky; top: 0; z-index: 50; padding-inline: var(--gutter); background: color-mix(in srgb, var(--color-page) 80%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); }
.s-nav > .s-container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); height: var(--nav-height); }
.s-nav-logo { display: block; flex: none; width: 72px; height: 18px; background: var(--color-text); -webkit-mask: url("/assets/shared/logo.svg") center / contain no-repeat; mask: url("/assets/shared/logo.svg") center / contain no-repeat; }
.s-nav-links { display: flex; align-items: center; gap: var(--space-6); font-size: var(--text-md); font-weight: var(--weight-medium); color: var(--color-text); }
.s-nav-links a:hover { color: var(--color-text-secondary); }
@media (max-width: 900px) { .s-nav-links { display: none; } }


.s-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); align-items: end; margin-bottom: var(--gap-head); }
.s-head.center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--gap-stack); }
.s-head.stack { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap-stack); }
@media (max-width: 900px) { .s-head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap-stack); } }


.s-hero { padding: var(--space-8) var(--gutter) 0; }
.s-hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-5); margin-bottom: var(--gap-head); }
.s-hero-copy .s-lede { max-width: 44ch; }
.s-hero.split > .s-container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-7); align-items: center; }
.s-hero.split .s-hero-copy { align-items: flex-start; text-align: left; margin-bottom: 0; }
@media (max-width: 900px) {
  .s-hero { padding-top: var(--space-7); }
  .s-hero.split > .s-container { grid-template-columns: 1fr; gap: var(--gap-head); }
}


.s-hero.lit { background: var(--backdrop); }
.s-hero.lit .s-stage { background: rgb(255 255 255 / .5); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .8); }
.s-stage.energy, .s-panel.energy { background: var(--color-energy-panel); }
.s-dark { border-radius: var(--radius-box); background: var(--color-dark-block); color: var(--white); padding: var(--pad-panel); }
.s-dark p, .s-dark small { color: var(--blue-6); }
.s-dark .s-code { width: 100%; padding: 0; background: none; box-shadow: none; color: var(--blue-6); font-size: var(--text-sm); }
.s-dark .s-code em { color: var(--sky); } .s-dark .s-code em + em, .s-dark .s-code em.b { color: var(--apricot); }

.s-codewin { width: 100%; border-radius: var(--radius-inner); background: rgb(0 0 0 / .28); overflow: hidden; font-family: var(--font-mono); font-size: var(--text-sm); line-height: 1.6; letter-spacing: 0; color: var(--blue-5); }
.s-codewin-bar { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-bottom: 1px solid rgb(255 255 255 / .08); }
.s-codewin-bar > b { padding: 2px var(--space-2); border-radius: var(--space-1); background: rgb(255 255 255 / .12); color: var(--white); font-weight: 400; font-size: var(--text-xs); }
.s-codewin-bar > span { flex: 1; color: var(--blue-6); }
.s-codewin-bar > i { font-style: normal; font-family: var(--font); font-size: var(--text-xs); color: var(--blue-7); }
.s-codewin-bar > i.on { padding: 2px var(--space-2); border-radius: var(--space-1); background: rgb(255 255 255 / .12); color: var(--white); }
.s-codewin pre { margin: 0; padding: var(--space-4); font: inherit; white-space: pre; overflow: hidden; }
.s-codewin .k { color: var(--blue-6); } .s-codewin .s { color: var(--sky); } .s-codewin .n { color: var(--apricot); }
.s-fcard.s-dark { background: var(--color-dark-block); }
.s-fcard.s-dark .s-fcard-head h3 { color: var(--white); } .s-fcard.s-dark .s-fcard-head p { color: var(--blue-6); }


.s-panel { position: relative; overflow: hidden; border-radius: var(--radius-box); background: var(--color-panel); padding: var(--pad-panel); }
.s-panel.raised { background: var(--color-raised); box-shadow: var(--edge); }
.s-panel.wash { background: var(--wash), var(--blue-2); box-shadow: var(--wash-edge); }
.s-panel.ink { background: var(--color-inverse); color: var(--color-text-inverse); }
.s-panel.flush { padding: 0; }


.s-card { display: flex; flex-direction: column; border-radius: var(--radius-box); background: var(--color-panel); overflow: hidden; }
.s-card-text { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--pad-box) var(--pad-box) 0; }
.s-card-text p { font-size: var(--text-md); color: var(--color-text-secondary); }
.s-card-media { flex: 1; display: flex; align-items: center; justify-content: center; padding: var(--pad-box); min-height: 0; }
.s-card:not(:has(.s-card-media)) .s-card-text { padding-bottom: var(--pad-box); }

.s-grid.wash > .s-card { background: var(--wash), var(--blue-2); background-size: calc(300% + 2 * var(--gap-grid)) 100%; box-shadow: var(--wash-edge); }
.s-grid.wash > .s-card:nth-child(2) { background-position: 50% 0; }
.s-grid.wash > .s-card:nth-child(3) { background-position: 100% 0; }
@media (max-width: 900px) { .s-grid.wash > .s-card { background-size: 100% 100%; } }


.s-features { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--space-6) var(--gap-grid); }
.s-features > li { display: flex; flex-direction: column; gap: var(--space-2); padding-top: var(--space-4); border-top: 1px solid var(--color-divider); }
.s-features h3 { font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: var(--tracking-snug); line-height: var(--leading-snug); }
.s-features p { color: var(--color-text-secondary); }
@media (max-width: 900px) { .s-features { --cols: 1 !important; } }


.s-tabs { display: inline-flex; gap: var(--space-1); padding: var(--space-1); border-radius: var(--radius-pill); background: var(--color-panel); }
.s-tab { height: var(--control-height); padding-inline: var(--space-4); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-text-secondary); transition: background-color var(--dur-fast) var(--ease-ui), color var(--dur-fast) var(--ease-ui); }
.s-tab:hover { color: var(--color-text); }
.s-tab[aria-selected="true"] { background: var(--color-raised); color: var(--color-text); box-shadow: var(--edge); }


.s-faq { display: flex; flex-direction: column; gap: var(--space-2); max-width: 760px; }
.s-faq details { border-radius: var(--radius-box); background: var(--color-panel); }
.s-faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-5); font-weight: var(--weight-medium); cursor: pointer; list-style: none; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: ""; flex: none; width: var(--space-2); height: var(--space-2); border-right: 1.5px solid var(--color-text-secondary); border-bottom: 1.5px solid var(--color-text-secondary); rotate: 45deg; translate: 0 -2px; transition: rotate var(--dur-ui) var(--ease-ui), translate var(--dur-ui) var(--ease-ui); }
.s-faq details[open] summary::after { rotate: -135deg; translate: 0 2px; }
.s-faq details > p { padding: 0 var(--space-5) var(--space-5); color: var(--color-text-secondary); max-width: var(--measure); }


.s-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-4) var(--space-7); padding-block: var(--space-6); color: var(--color-text-tertiary); font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: var(--tracking-snug); }
.s-logos > * { opacity: .9; }


.s-field { display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-medium); }
.s-field input, .s-field textarea, .s-field select { height: var(--control-height-lg); padding-inline: var(--space-4); border: 0; border-radius: var(--radius-inner); background: var(--color-raised); box-shadow: inset 0 0 0 1px var(--color-border); font: inherit; font-weight: var(--weight-regular); font-size: var(--text-md); color: var(--color-text); }
.s-field input::placeholder { color: var(--color-text-tertiary); }
.s-field input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 0; }


.s-cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-5); padding: var(--space-9) var(--pad-panel); border-radius: var(--radius-box); background: var(--backdrop-full); }
.s-cta .s-display { font-size: var(--text-h1); }
.s-cta .s-lede { max-width: 44ch; color: var(--sky-dark); }


.s-footer { margin-top: var(--gap-section); padding: var(--space-7) var(--gutter); background: var(--color-inverse); color: var(--color-text-inverse); }
.s-footer > .s-container { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: var(--gap-grid); }
.s-footer h3 { margin-bottom: var(--space-3); font-size: var(--text-xs); font-weight: var(--weight-regular); color: var(--gray-8); }
.s-footer ul { display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-sm); }
.s-footer a:hover { color: var(--gray-7); }
.s-footer .s-nav-logo { background: var(--white); }
.s-footer-legal { grid-column: 1 / -1; margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid color-mix(in srgb, var(--white) 14%, transparent); font-size: var(--text-xs); color: var(--gray-8); max-width: none; }
@media (max-width: 900px) { .s-footer > .s-container { grid-template-columns: 1fr 1fr; } }




.s-stage { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 420px; padding: var(--space-7) var(--pad-panel); border-radius: var(--radius-box); background: var(--color-panel); }
.s-stage.wash { background: var(--wash), var(--blue-2); box-shadow: var(--wash-edge); }
.s-stage.bleed { align-items: flex-start; padding-bottom: 0; }
.s-stage.bleed > .s-mock { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.s-card-media > .s-mock { width: 100%; }


.s-mock { position: relative; display: flex; flex-direction: column; gap: var(--space-4); width: 380px; max-width: 100%; padding: var(--space-5); border-radius: var(--radius-box); background: var(--color-raised); box-shadow: var(--shadow-card); font-size: var(--text-sm); line-height: var(--leading-body); font-variant-numeric: tabular-nums; }
.s-mock.wide { width: 720px; }
.s-mock-label { font-size: var(--text-xs); color: var(--color-text-tertiary); }
.s-mock-value { font-size: var(--text-h2); font-weight: var(--weight-medium); line-height: var(--leading-tight); letter-spacing: var(--tracking-snug); }
.s-mock-rows { display: flex; flex-direction: column; }
.s-mock-rows > li { display: flex; align-items: center; gap: var(--space-3); padding-block: var(--space-3); border-top: 1px solid var(--gray-4); }
.s-mock-rows > li > span:has(> b) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.s-mock-rows b { font-weight: var(--weight-medium); }
.s-mock-rows small { font-size: var(--text-xs); color: var(--color-text-tertiary); }
.s-mock-ic svg { width: var(--space-4); height: var(--space-4); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.s-mock-ic { display: flex; align-items: center; justify-content: center; width: var(--space-6); height: var(--space-6); flex: none; border-radius: var(--radius-inner); background: var(--color-panel); color: var(--color-text); font-size: var(--text-xs); font-weight: var(--weight-medium); }
.s-mock-ic.ok { background: var(--color-ok-soft); color: var(--color-ok); }
.s-mock .ok { color: var(--color-ok); }
.s-mock .s-btn { width: 100%; height: var(--control-height-lg); }
.s-meter { display: flex; gap: var(--space-1); height: var(--space-6); }
.s-meter > i { flex: 1; border-radius: var(--radius-pill); background: var(--gray-5); }
.s-meter > i.on { background: var(--color-accent); }
.s-meter-ends { display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--color-text-tertiary); }


.s-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.s-table th { padding: var(--space-2) var(--space-3); text-align: left; font-size: var(--text-xs); font-weight: var(--weight-regular); color: var(--color-text-tertiary); }
.s-table td { padding: var(--space-3); border-top: 1px solid var(--gray-4); }
.s-table :is(th, td).n { text-align: right; }
.s-table td small { display: block; font-size: var(--text-xs); color: var(--color-text-tertiary); }
.s-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
.s-stats > div { display: flex; flex-direction: column; padding: var(--space-3); border-radius: var(--radius-inner); background: var(--color-panel); }
.s-stats small { font-size: var(--text-xs); color: var(--color-text-tertiary); }
.s-stats b { font-size: var(--text-md); font-weight: var(--weight-medium); }


.s-dash { flex-direction: row; gap: 0; padding: 0; overflow: hidden; }
.s-dash-rail { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); width: var(--space-7); flex: none; padding-block: var(--space-5); background: var(--color-section-alt); border-right: 1px solid var(--gray-4); }
.s-dash-rail i { width: var(--space-4); height: var(--space-4); border-radius: var(--space-1); background: var(--gray-5); }
.s-dash-rail i:first-child { margin-bottom: var(--space-3); background: var(--color-inverse); }
.s-dash-rail i.on { background: var(--color-accent); }
.s-dash-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5); }
.s-dash-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); }
.s-dash-head b { font-size: var(--text-h3); font-weight: var(--weight-medium); letter-spacing: var(--tracking-snug); line-height: var(--leading-snug); }
.s-dash-head span { font-size: var(--text-xs); color: var(--color-text-tertiary); }
.s-who { display: flex; align-items: center; gap: var(--space-3); }
.s-avatar { display: flex; align-items: center; justify-content: center; width: var(--space-6); height: var(--space-6); flex: none; border-radius: var(--radius-pill); background: var(--gray-4); font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--color-text-secondary); }
.s-use { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); }
.s-use i { position: relative; width: var(--space-8); height: var(--space-1); border-radius: var(--radius-pill); background: var(--gray-4); overflow: hidden; }
.s-use i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v, 0%); border-radius: inherit; background: var(--color-accent); }
.s-table tr.is-new td { background: var(--color-section-alt); }




.s-mock.sm { width: 300px; padding: var(--space-4); gap: var(--space-3); }
.s-mock.flat { box-shadow: var(--edge); }
.s-mock-title { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); font-weight: var(--weight-medium); }
.s-mock-title span { font-size: var(--text-xs); font-weight: var(--weight-regular); color: var(--color-text-tertiary); }
.s-mock-value.sm { font-size: var(--text-h3); }
.s-mock hr { width: 100%; height: 1px; margin: 0; border: 0; background: var(--gray-4); }


.s-kv { display: flex; flex-direction: column; }
.s-kv > li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-3); border-top: 1px solid var(--gray-4); }
.s-kv > li:first-child { border-top: 0; padding-top: 0; }
.s-kv > li:last-child { padding-bottom: 0; }
.s-kv span { color: var(--color-text-tertiary); }
.s-kv b { font-weight: var(--weight-medium); text-align: right; }
.s-kv b.ok { color: var(--color-ok); }


.s-status { display: inline-flex; align-items: center; gap: var(--space-1); height: var(--space-5); padding-inline: var(--space-2); border-radius: var(--radius-pill); background: var(--color-panel); font-size: var(--text-xs); font-weight: var(--weight-medium); color: var(--color-text-secondary); white-space: nowrap; }
.s-status.ok { background: var(--color-ok-soft); color: var(--color-ok); }


.s-cardart { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; width: 300px; max-width: 100%; aspect-ratio: 1.586; padding: var(--space-4); border-radius: var(--radius-box); overflow: hidden; color: var(--white); font-size: var(--text-sm); font-weight: var(--weight-medium); font-variant-numeric: tabular-nums;
  background: radial-gradient(120% 90% at 100% 0%, var(--gray-10) 0%, transparent 60%), var(--gray-12); box-shadow: 0 0 0 1px rgb(20 28 33 / .08), 0 24px 48px -28px rgb(20 40 70 / .45); }
.s-cardart::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgb(255 255 255 / .05) 0 1px, transparent 1px 7px); pointer-events: none; }
.s-cardart.blue { background: radial-gradient(120% 90% at 100% 0%, var(--blue-8) 0%, transparent 62%), var(--blue-10); }
.s-cardart.sand { color: var(--gray-12); background: radial-gradient(120% 90% at 100% 0%, var(--white) 0%, transparent 62%), var(--sand-2); }
.s-cardart > * { position: relative; z-index: 1; }
.s-cardart small { display: block; font-size: var(--text-xs); font-weight: var(--weight-regular); opacity: .7; }
.s-chip { width: var(--space-6); height: var(--space-5); border-radius: var(--space-1); background: linear-gradient(135deg, var(--sand-1), var(--sand-2)); box-shadow: inset 0 0 0 1px rgb(20 28 33 / .15); }
.s-cardart-foot { display: flex; align-items: flex-end; justify-content: space-between; }


.s-life { display: flex; flex-direction: column; }
.s-life > li { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding: 0 0 var(--space-3) var(--space-5); }
.s-life > li:last-child { padding-bottom: 0; }
.s-life > li::before { content: ""; position: absolute; left: 0; top: .35em; width: var(--space-2); height: var(--space-2); border-radius: var(--radius-pill); background: var(--color-raised); box-shadow: inset 0 0 0 1.5px var(--color-border-strong); }
.s-life > li::after { content: ""; position: absolute; left: calc(var(--space-1) - .5px); top: calc(.35em + var(--space-3)); bottom: calc(-.35em + var(--space-1)); width: 1px; background: var(--color-divider); }
.s-life > li:last-child::after { display: none; }
.s-life > li.done::before { background: var(--color-inverse); box-shadow: none; }
.s-life > li.now::before { background: var(--color-accent); box-shadow: 0 0 0 3px var(--blue-4); }
.s-life b { font-weight: var(--weight-medium); }
.s-life span { color: var(--color-text-tertiary); white-space: nowrap; }
.s-life li.done span { color: var(--color-text-secondary); }


.s-switches { display: flex; flex-direction: column; }
.s-switches > li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-3); border-top: 1px solid var(--gray-4); font-weight: var(--weight-medium); }
.s-switches > li:first-child { border-top: 0; padding-top: 0; }
.s-switches > li:last-child { padding-bottom: 0; }
.s-switches > li.off { color: var(--color-text-tertiary); font-weight: var(--weight-regular); }
.s-switch { position: relative; flex: none; width: var(--space-6); height: calc(var(--space-4) + var(--space-1)); border-radius: var(--radius-pill); background: var(--gray-6); }
.s-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: var(--space-4); height: var(--space-4); border-radius: var(--radius-pill); background: var(--white); box-shadow: 0 1px 2px rgb(20 28 33 / .25); }
li:not(.off) > .s-switch { background: var(--color-inverse); }
li:not(.off) > .s-switch::after { left: auto; right: 2px; }


.s-toast { display: flex; align-items: center; gap: var(--space-3); width: 300px; max-width: 100%; padding: var(--space-3) var(--space-4); border-radius: var(--radius-box); background: var(--color-raised); box-shadow: var(--shadow-card); font-size: var(--text-sm); }
.s-toast > :nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.s-toast b { font-weight: var(--weight-medium); }
.s-toast small { font-size: var(--text-xs); color: var(--color-text-tertiary); }
.s-toast > small { align-self: flex-start; }


.s-bars { display: flex; align-items: flex-end; gap: var(--space-2); height: var(--space-8); }
.s-bars > i { flex: 1; height: var(--h, 50%); border-radius: var(--space-1) var(--space-1) 0 0; background: var(--gray-5); }
.s-bars > i.on { background: var(--color-accent); }
.s-bars-ends { display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--color-text-tertiary); }


.s-code { display: flex; flex-direction: column; gap: var(--space-2); width: 340px; max-width: 100%; padding: var(--space-4); border-radius: var(--radius-box); background: var(--gray-12); color: var(--gray-8); font-family: var(--font-mono); font-size: var(--text-xs); line-height: var(--leading-body); letter-spacing: 0; box-shadow: 0 24px 48px -28px rgb(20 40 70 / .45); }
.s-code > b { font-family: var(--font); font-size: var(--text-sm); font-weight: var(--weight-medium); letter-spacing: var(--tracking-body); color: var(--white); margin-bottom: var(--space-1); }
.s-code > div.on { margin-inline: calc(-1 * var(--space-2)); padding: var(--space-2); border-radius: var(--radius-inner); background: rgb(255 255 255 / .08); color: var(--white); }
.s-code em { font-style: normal; color: var(--blue-6); }




.s-stack-g { display: flex; flex-direction: column; align-items: center; }
.s-stack-g > * + *::before { content: ""; position: absolute; left: 50%; top: calc(-1 * var(--space-4)); width: 1px; height: var(--space-4); background: var(--color-border-strong); }
.s-stack-g > * + * { position: relative; margin-top: var(--space-4); overflow: visible; }


.s-overlap { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; padding: 0 var(--space-7) var(--space-6) 0; }
.s-overlap > :last-child { position: absolute; z-index: 2; right: 0; bottom: 0; }


.s-card-media.bleed, .s-stage.bleed { align-items: flex-end; padding-bottom: 0; }
.s-card-media.bleed > :is(.s-mock, .s-code, .s-cardart), .s-stage.bleed > :is(.s-mock, .s-code) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.s-card-media.bleed > .s-cardart { margin-bottom: calc(-1 * var(--space-7)); }
.s-card-media.side { justify-content: flex-end; padding-right: 0; }
.s-card-media.side > .s-mock { border-top-right-radius: 0; border-bottom-right-radius: 0; }


.s-seq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-grid); align-items: end; width: 100%; }
.s-seq > li { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--space-4); padding-bottom: var(--space-8); }
.s-seq > li > .s-mock, .s-seq > li > .s-toast { width: 100%; }
.s-seq > li::before { content: ""; position: absolute; left: 50%; bottom: var(--space-6); width: 1px; height: var(--space-6); background: var(--color-border-strong); }
.s-seq > li::after { content: attr(data-when); position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: var(--text-xs); color: var(--color-text-secondary); }
.s-seq-rail { position: relative; grid-column: 1 / -1; order: 9; height: 1px; margin-top: calc(-1 * var(--space-6) - var(--gap-grid) - 1px); margin-bottom: var(--space-6); background: var(--color-border-strong); }
@media (max-width: 900px) { .s-seq { grid-template-columns: 1fr; } .s-seq-rail, .s-seq > li::before { display: none; } .s-seq > li { padding-bottom: var(--space-5); } }


.s-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap-grid); }
.s-bento > .w2 { grid-column: span 2; } .s-bento > .w3 { grid-column: span 3; } .s-bento > .w4 { grid-column: span 4; }
.s-bento .s-card { min-height: 420px; }
.s-card.raised { background: var(--color-raised); box-shadow: var(--edge); }
.s-card h3.s-h4, .s-h4 { font-size: var(--text-lg); font-weight: var(--weight-medium); letter-spacing: var(--tracking-snug); line-height: var(--leading-snug); }
.s-card-text p.sm { font-size: var(--text-sm); }
@media (max-width: 900px) { .s-bento { grid-template-columns: 1fr; } .s-bento > * { grid-column: auto !important; } }


.s-figure { display: flex; flex-direction: column; gap: var(--space-2); }
.s-figure b { font-size: var(--text-display); font-weight: var(--weight-medium); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; }
.s-figure span { font-size: var(--text-lg); letter-spacing: var(--tracking-snug); color: var(--color-text); max-width: 24ch; }
.s-figure small { font-size: var(--text-xs); color: var(--color-text-tertiary); }



.s-band { background: var(--color-section-alt); padding: var(--gap-section) var(--gutter); }
.s-fcard { display: flex; flex-direction: column; gap: var(--space-6); border-radius: var(--radius-box); background: var(--color-raised); padding: var(--space-6); overflow: hidden; }

.s-fgrid > .s-fcard:not(.short) { display: grid; grid-template-rows: subgrid; grid-row: span 2; }
.s-fcard.short { min-height: 0; flex-direction: row; align-items: center; gap: var(--space-6); }
.s-fcard-head { display: flex; flex-direction: column; gap: var(--space-2); max-width: 46ch; }
.s-fcard-head h3 { font-size: var(--text-md); font-weight: var(--weight-medium); line-height: var(--leading-snug); }
.s-fcard-head p { font-size: var(--text-sm); color: var(--color-text-secondary); }
.s-fcard-body { display: flex; align-items: flex-start; justify-content: center; min-width: 0; }
.s-fcard-body.end { align-items: flex-end; margin-bottom: calc(-1 * var(--space-6)); }
.s-fgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: auto; gap: 0 var(--space-4); }
.s-fgrid > .s-fcard { margin-bottom: var(--space-4); }
.s-fgrid > * { grid-column: span 2; } .s-fgrid > .half { grid-column: span 3; } .s-fgrid > .full { grid-column: 1 / -1; }
@media (max-width: 900px) { .s-fgrid { grid-template-columns: 1fr; } .s-fgrid > * { grid-column: auto !important; } .s-fcard.short { flex-direction: column; align-items: flex-start; } }

.s-fcard.gray { background: var(--color-panel); }
.s-fcard-head .s-link { margin-top: var(--space-2); font-size: var(--text-sm); align-self: flex-start; }
.s-section.pad { padding-bottom: var(--gap-section); }
.s-dark.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-7); align-items: center; padding: var(--space-7); }
.s-dark.split .s-h1 { color: var(--white); } .s-dark.split .s-lede { color: var(--blue-6); margin-top: var(--gap-stack); }
@media (max-width: 900px) { .s-dark.split { grid-template-columns: 1fr; padding: var(--pad-panel); } }


.s-gfx { display: flex; flex-direction: column; gap: var(--space-3); width: 100%; font-size: var(--text-g); line-height: 1.4; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--color-text); }
.s-gfx small, .s-grow small, .s-gbox small { font-size: var(--text-g-sm); color: var(--color-text-tertiary); }
.s-gfx b, .s-gfx small, .s-gfx span, .s-gwin b, .s-gwin small { white-space: nowrap; }
:is(.s-gfx, .s-gwin) .ok { color: var(--color-ok); }
:is(.s-gfx, .s-gwin) .wait { color: var(--color-wait); }
:is(.s-gfx, .s-gwin) .err { color: var(--color-err); }


.s-tile { display: flex; align-items: center; justify-content: center; flex: none; width: var(--size-tile); height: var(--size-tile); border-radius: var(--radius-tile); background: var(--color-raised); box-shadow: inset 0 0 0 1px var(--gray-5); overflow: hidden; }
.s-tile img { display: block; width: 58%; height: 58%; object-fit: contain; }
.s-tile.ink { background: var(--gray-12); box-shadow: none; }
.s-tile.flag { box-shadow: none; } .s-tile.flag img { width: 100%; height: 100%; object-fit: cover; }


.s-grow { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4) var(--space-3) var(--space-3); border: 1px solid var(--gray-5); border-radius: var(--radius-inner); background: var(--color-raised); }
.s-grow > span:has(> b) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.s-grow b { font-weight: var(--weight-medium); }
.s-grow > span:last-child:not(:has(> b)) { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.s-grow.plain { justify-content: center; padding: var(--space-4); text-align: center; }
.s-grow.plain > span { flex: none !important; align-items: center; }
.s-grow.ghost { border-style: dashed; background: none; min-height: calc(var(--size-tile) + 2 * var(--space-2)); }


.s-gbox { border: 1px solid var(--gray-5); border-radius: var(--radius-inner); background: var(--color-raised); overflow: hidden; }
.s-gbox > li, .s-gbox > div { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) calc(var(--space-4) + var(--space-1)); border-top: 1px solid var(--gray-4); }
.s-gbox > :first-child { border-top: 0; }
.s-gbox > li > span:first-child { color: var(--color-text-tertiary); }
.s-gbox > li > b, .s-gbox > div > b { font-weight: var(--weight-medium); }
.s-gbox > .head { flex-direction: column; align-items: stretch; gap: var(--space-2); }
.s-gbox > .head > div { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); }
.s-gbox .num { font-size: var(--text-g-num); font-weight: var(--weight-medium); letter-spacing: var(--tracking-body); line-height: 1.2; }
.s-gbox > li.sw { align-items: center; }
.s-gbox > li.sw > span:first-child { color: var(--color-text); font-weight: var(--weight-medium); }
.s-gbox > li.sw.off > span:first-child { color: var(--color-text-tertiary); font-weight: var(--weight-regular); }
.s-gbox .s-switch { width: calc(var(--space-5) + var(--space-1)); height: var(--space-4); }
.s-gbox .s-switch::after { width: var(--space-3); height: var(--space-3); }
.s-gbox li.sw:not(.off) > .s-switch { background: var(--color-accent); }
.s-gbox > li > b.ok { color: var(--color-ok); } .s-gbox > li > b.wait { color: var(--color-wait); } .s-gbox > li > b.err { color: var(--color-err); }


.s-gfill { border-radius: var(--radius-inner); background: var(--color-section-alt); padding: var(--space-3) calc(var(--space-4) + var(--space-1)); }
.s-gfill > li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-2); }
.s-gfill > li > span:first-child { color: var(--color-text-tertiary); }
.s-gfill > li > b { font-weight: var(--weight-medium); }
.s-gfill.fade { -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }


.s-gbar { position: relative; height: calc(var(--space-1) + 2px); border-radius: var(--radius-pill); background: var(--gray-4); overflow: hidden; }
.s-gbar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v, 0%); border-radius: inherit; background: var(--color-accent); }


.s-gcard { position: relative; display: grid; grid-template: "brand wave" auto "chip chip" 1fr "who net" auto / 1fr auto; align-items: end; aspect-ratio: 1.586; width: 100%; max-height: 240px; padding: 7% 7.5%; border: 1px solid var(--gray-5); border-radius: 4.5% / 7%; background: var(--color-section-alt); overflow: hidden; isolation: isolate; font-size: var(--text-g-sm); line-height: 1.3; }
.s-gcard::after { content: ""; position: absolute; z-index: -1; inset: 30% 0 0 30%; background-image: radial-gradient(circle, var(--gray-7) 0.8px, transparent 1.1px); background-size: 6px 6px; -webkit-mask-image: radial-gradient(70% 70% at 60% 55%, #000, transparent); mask-image: radial-gradient(70% 70% at 60% 55%, #000, transparent); }
.s-gcard::before { content: ""; position: absolute; z-index: 1; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgb(255 255 255 / .28), inset 0 0 0 1px rgb(255 255 255 / .08); pointer-events: none; }
.s-gcard > b { grid-area: brand; align-self: start; font-size: var(--text-g); font-weight: var(--weight-medium); letter-spacing: .01em; }
.s-gcard > .wave { grid-area: wave; align-self: start; width: 14px; height: 16px; opacity: .8; background: currentColor; -webkit-mask: radial-gradient(circle at 0 50%, transparent 3px, #000 3px 4.5px, transparent 4.5px 7px, #000 7px 8.5px, transparent 8.5px 11px, #000 11px 12.5px, transparent 12.5px); mask: radial-gradient(circle at 0 50%, transparent 3px, #000 3px 4.5px, transparent 4.5px 7px, #000 7px 8.5px, transparent 8.5px 11px, #000 11px 12.5px, transparent 12.5px); clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.s-gcard > .chip { grid-area: chip; align-self: center; position: relative; width: 13%; aspect-ratio: 1.28; border-radius: 18%; background: linear-gradient(135deg, #f1e3c4, #cdb588 55%, #e9d9b5); box-shadow: inset 0 0 0 1px rgb(60 45 15 / .35); }
.s-gcard > .chip::after { content: ""; position: absolute; inset: 22% 0; border-block: 1px solid rgb(60 45 15 / .35); background: linear-gradient(90deg, transparent 32%, rgb(60 45 15 / .35) 32% 35%, transparent 35% 65%, rgb(60 45 15 / .35) 65% 68%, transparent 68%); }
.s-gcard > .who { grid-area: who; display: flex; flex-direction: column; gap: 2px; }
.s-gcard > .who .pan { font-size: var(--text-g); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.s-gcard > .who small { font-size: var(--text-g-sm); color: inherit; opacity: .72; text-transform: none; }
.s-gcard > .net { grid-area: net; width: 44px; aspect-ratio: 32 / 10.36; background: currentColor; -webkit-mask: url("/system/assets/visa.svg") center / contain no-repeat; mask: url("/system/assets/visa.svg") center / contain no-repeat; }
.s-gcard.ink { border-color: transparent; background: var(--gray-12); color: var(--white); }
.s-gcard.blue { border-color: transparent; background: var(--blue-10); color: var(--white); }

.s-gcard:is(.brand, .steel, .night) { border-color: transparent; color: var(--white); }
.s-gcard:is(.brand, .steel) { background: linear-gradient(135deg, var(--card-a, var(--card-steel-1)), var(--card-b, var(--card-steel-2))); }
.s-gcard.night { background: var(--blue-12); }
.s-gcard.sky { color: var(--blue-12); background: linear-gradient(135deg, color-mix(in srgb, var(--sky) 30%, var(--blue-4)), color-mix(in srgb, var(--sky) 45%, var(--blue-6))); border-color: transparent; }
.s-gcard.dawn { color: var(--gray-12); background: linear-gradient(135deg, var(--sand-1), var(--sand-2)); border-color: transparent; }

.s-gcard:is(.brand, .steel, .night, .sky, .dawn)::after { inset: 0; -webkit-mask-image: linear-gradient(120deg, transparent 25%, #000); mask-image: linear-gradient(120deg, transparent 25%, #000); background-image: repeating-radial-gradient(circle at 115% 120%, transparent 0 9px, var(--ring, rgb(255 255 255 / .16)) 9px 10px); background-size: auto; }
.s-gcard.sky { --ring: rgb(255 255 255 / .45); } .s-gcard.dawn { --ring: rgb(255 255 255 / .55); }
.s-gcard:is(.sky, .dawn)::before { box-shadow: none; }

.s-gfan { position: relative; display: flex; justify-content: center; width: 100%; padding-top: var(--space-5); }
.s-gfan > .s-gcard { width: 62%; flex: none; box-shadow: 0 18px 36px -22px rgb(20 40 70 / .45); }
.s-gfan > .s-gcard + .s-gcard { margin-left: -44%; translate: 0 calc(-1 * var(--space-4)); }
.s-gfan > .s-gcard:nth-child(1) { rotate: -5deg; } .s-gfan > .s-gcard:nth-child(3) { rotate: 5deg; }
.s-gfan > .s-gcard:nth-child(2) { z-index: 1; translate: 0 calc(-1 * var(--space-5)); }


.s-glife { display: flex; flex-direction: column; padding: var(--space-4) calc(var(--space-4) + var(--space-1)); }
.s-glife > li { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding: calc(var(--space-1) + 2px) 0 calc(var(--space-1) + 2px) var(--space-5); }
.s-glife > li::before { content: ""; position: absolute; left: 0; top: .62em; width: var(--space-2); height: var(--space-2); border-radius: var(--radius-pill); background: var(--gray-12); }
.s-glife > li::after { content: ""; position: absolute; left: calc(var(--space-1) - .5px); top: 1.2em; bottom: -.62em; width: 1px; background: var(--gray-6); }
.s-glife > li:last-child::after { display: none; }
.s-glife > li.next::before { background: var(--color-raised); box-shadow: inset 0 0 0 1.5px var(--gray-8); }
.s-glife > li.err::before { background: var(--color-err); }
.s-glife b { font-weight: var(--weight-medium); }
.s-glife span { color: var(--color-text-tertiary); white-space: nowrap; }


.s-gjoin { align-self: center; width: 1px !important; height: var(--space-3); margin-block: calc(-1 * var(--space-1)); background: var(--gray-8); }


.s-gsplit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-3); }
.s-gsplit > :first-child { grid-column: 1 / -1; }
.s-gsplit > :not(:first-child) { position: relative; }
.s-gsplit > :not(:first-child)::before { content: ""; position: absolute; left: 50%; top: calc(-1 * var(--space-5)); height: var(--space-5); border-left: 1px solid var(--gray-8); }


.s-gtree { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr); align-items: center; column-gap: var(--space-6); width: 100%; }
.s-gtree-mid { position: relative; display: flex; flex-direction: column; gap: var(--space-4); }
.s-gtree-mid::before, .s-gtree-mid::after { content: ""; position: absolute; top: 25%; bottom: 25%; width: calc(var(--space-6) / 2); border: 1px solid var(--gray-8); }
.s-gtree-mid::before { right: 100%; border-right: 0; }
.s-gtree-mid::after { left: 100%; border-left: 0; }
.s-gtree > :first-child, .s-gtree > :last-child { position: relative; }
.s-gtree > :first-child::after, .s-gtree > :last-child::before { content: ""; position: absolute; top: 50%; width: calc(var(--space-6) / 2); height: 1px; background: var(--gray-8); }
.s-gtree > :first-child::after { left: 100%; }
.s-gtree > :last-child::before { right: 100%; }


.s-gchips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.s-gchips span { display: flex; align-items: center; height: var(--space-6); padding-inline: var(--space-3); border-radius: var(--radius-tile); background: var(--color-section-alt); color: var(--color-text-secondary); }
.s-gchips.tint span.on { background: var(--sky-light); box-shadow: inset 0 0 0 1px var(--sky); }
.s-gchips span.on { background: var(--color-raised); box-shadow: inset 0 0 0 1px var(--gray-8); color: var(--color-text); font-weight: var(--weight-medium); }


.s-gwin { width: 100%; border: 1px solid var(--gray-5); border-bottom: 0; border-radius: var(--radius-inner) var(--radius-inner) 0 0; background: var(--color-raised); overflow: hidden; font-size: var(--text-g); line-height: 1.4; letter-spacing: 0; font-variant-numeric: tabular-nums; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.s-gwin-bar { display: flex; gap: var(--space-1); padding: var(--space-3); border-bottom: 1px solid var(--gray-4); }
.s-gwin-bar i { width: var(--space-2); height: var(--space-2); border-radius: var(--radius-pill); background: var(--gray-5); }
.s-gwin-main { display: grid; grid-template-columns: 160px minmax(0, 1fr); }
.s-gwin-nav { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5); border-right: 1px solid var(--gray-4); font-size: var(--text-g-sm); color: var(--color-text-secondary); }
.s-gwin-nav li { display: flex; align-items: center; gap: var(--space-2); }
.s-gwin-nav li::before { content: ""; width: var(--space-3); height: var(--space-3); border-radius: 3px; background: var(--gray-5); }
.s-gwin-nav li.on { color: var(--color-text); font-weight: var(--weight-medium); }
.s-gwin-nav li.on::before { background: var(--color-accent); }
.s-gwin-body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); }
.s-gwin-body > b { font-size: var(--text-g-num); font-weight: var(--weight-medium); line-height: 1.2; }


.s-gstate { border: 1px solid var(--gray-5); border-radius: var(--radius-inner); background: var(--color-raised); overflow: hidden; }
.s-gstate > li { display: grid; grid-template-columns: var(--size-tile) minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); padding: var(--space-3) calc(var(--space-4) + var(--space-1)) var(--space-3) var(--space-3); border-top: 1px solid var(--gray-4); }
.s-gstate > li:first-child { border-top: 0; }

.s-gstate > li.mark { background: var(--sky-light); }
.s-stage.energy .s-gstate > li.mark, .s-panel.energy .s-gstate > li.mark { background: var(--color-highlight-soft); }
.s-stage:is(.wash, .energy) > .s-gfx { max-width: 520px; }
.s-stage:is(.wash, .energy) .s-gstate { border-color: transparent; }
.s-gstate > li > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.s-gstate > li > :last-child { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.s-gstate b { font-weight: var(--weight-medium); }
.s-gstate > li.total { grid-template-columns: minmax(0, 1fr) auto; padding-left: calc(var(--space-4) + var(--space-1)); }
.s-gstate > li.total > span:first-child { color: var(--color-text-tertiary); }


.s-explain { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-7); align-items: center; }
.s-explain > div:first-child { display: flex; flex-direction: column; gap: var(--space-5); max-width: 44ch; }
.s-explain h3 { font-size: var(--text-md); font-weight: var(--weight-medium); line-height: var(--leading-snug); }
.s-explain p { font-size: var(--text-sm); color: var(--color-text-secondary); margin-top: var(--space-1); }
@media (max-width: 900px) { .s-explain { grid-template-columns: 1fr; gap: var(--space-6); } .s-gtree { grid-template-columns: 1fr; row-gap: var(--space-4); } .s-gtree-mid::before, .s-gtree-mid::after, .s-gtree > ::before, .s-gtree > ::after { display: none; } .s-fgrid > .s-fcard:not(.short) { display: flex; } }


[data-s-reveal] { opacity: 0; translate: 0 var(--space-5); transition: opacity var(--dur-reveal) var(--ease-out), translate var(--dur-reveal) var(--ease-out); }
[data-s-reveal="in"] { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  [data-s-reveal] { opacity: 1; translate: none; transition: none; }
  .s-root *, .s-root *::before, .s-root *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
