/* Viden shares the site's fonts, surface colours, glass and responsive container. */
saldi-viden { display: block; --v-header-offset: calc(var(--wide-header-h, 76px) + var(--nav-stuck-top, 0px) + 28px); }
#viden-prerender { padding-top: 100px; }
.v-page { position: relative; z-index: 1; padding: var(--space-section-tight) var(--gutter) var(--space-section); }
.v-page h1, .v-page h2, .v-page h3 { font-family: var(--font-display); color: var(--color-text-strong); font-weight: 600; letter-spacing: -.025em; }
.v-crumb { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; color: var(--color-text-muted); font-family: var(--font-mono); font-size: 13px; }
.v-crumb a { color: inherit; }
.v-crumb a:hover { color: var(--color-link); text-decoration: underline; }
.v-article__header { max-width: 850px; margin-bottom: 40px; }
[data-layout] .v-article > .container { max-width: 984px; }
.v-article__header { max-width: 700px; }
.v-article h1 { font-size: clamp(32px, 3.6vw, 56px); line-height: 1.1; margin: 22px 0; text-wrap: balance; }
.v-category-link { display: inline-flex; }
.v-category { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--color-amber-on-light); }
.v-category-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid var(--border-default); border-radius: 12px 12px 12px 3px; color: var(--color-link); background: color-mix(in srgb, var(--surface-default) 70%, transparent); }
.v-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-size: 12px; font-family: var(--font-mono); color: var(--color-text-muted); line-height: 1.7; }
.v-meta time { white-space: nowrap; }
.v-article-layout { display: grid; grid-template-columns: minmax(0, 700px) 220px; gap: 64px; align-items: start; }
.v-reading { min-width: 0; }
.v-answer { padding: clamp(22px, 3vw, 36px); border: 1px solid color-mix(in srgb, var(--color-link) 15%, transparent); border-radius: var(--radius-card); background: color-mix(in srgb, var(--color-purple) 5%, var(--surface-default)); margin-bottom: 48px; }
.v-answer h2, .v-eyebrow, .v-block__label { font-family: var(--font-mono); color: var(--color-amber-on-light); font-size: 12px; letter-spacing: var(--tracking-label); text-transform: uppercase; margin: 0 0 14px; }
.v-answer p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; color: var(--color-text-strong); margin: 0; }
.v-body { font-size: 17px; line-height: 1.75; }
.v-article .v-body p, .v-article .v-body li { font-size: 17px; color: var(--color-text-strong); line-height: 1.75; }
.v-body h2 { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.2; margin: 48px 0 18px; }
.v-body h3 { font-size: 22px; margin: 32px 0 14px; }
.v-body > :first-child { margin-top: 0; }
.v-body p { margin: 0 0 22px; }
.v-body h2, .v-body h3 { scroll-margin-top: var(--v-header-offset); }
.v-body ul, .v-body ol { padding-left: 24px; margin: 0 0 26px; }
.v-body li + li { margin-top: 12px; }
.v-body a, .v-sources a, .v-saldi-box a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.v-body .v-checklist { list-style: none; padding-left: 0; }
.v-checklist li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--border-divider); }
.v-checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--color-link); }
.v-body .v-checklist li + li { margin-top: 0; }
.v-table { max-width: 100%; overflow-x: auto; margin: 28px 0; border: 1px solid var(--border-default); border-radius: var(--radius-card); padding: 20px; }
.v-body .v-table table { width: 100%; min-width: 460px; border-collapse: collapse; font-size: 15px; }
.v-table th, .v-table td { text-align: left; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--border-divider); vertical-align: top; }
.v-table th { color: var(--color-text-strong); font-weight: 600; }
.v-block { padding: 24px; background: var(--surface-subtle); border-left: 3px solid var(--border-control); border-radius: 0 var(--radius-card) var(--radius-card) 0; margin: 28px 0; }
.v-block--attention { border-left-color: var(--color-amber-on-light); }
.v-block--example { border-left-color: var(--color-link); }
.v-block > :last-child { margin-bottom: 0; }
.v-body .v-block__label { font: 600 17px/1.5 var(--font-body); text-transform: none; letter-spacing: 0; color: var(--color-text-strong); margin-bottom: 12px; }
.v-toc { position: sticky; top: var(--v-header-offset); max-height: calc(100dvh - var(--v-header-offset) - 24px); overflow-y: auto; padding-left: 24px; border-left: 1px solid var(--border-divider); }
.v-toc summary { font-size: 14px; font-weight: 600; color: var(--color-text-strong); margin-bottom: 18px; }
.v-toc ol { list-style: none; padding: 0; margin: 0; }
.v-toc li + li { margin-top: 4px; }
.v-toc a { display: block; padding: 8px 0 8px 12px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.5; color: var(--color-text-muted); }
.v-toc a[aria-current] { border-color: var(--color-link); color: var(--color-link); background: color-mix(in srgb, var(--color-link) 5%, transparent); }
.v-sources { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border-divider); }
.v-sources h2 { font-size: 22px; }
.v-sources ul { padding-left: 20px; line-height: 1.8; }
.v-sources li + li { margin-top: 10px; }
.v-related { margin-top: var(--space-section-tight); padding-top: 36px; border-top: 1px solid var(--border-divider); }
.v-related h2 { font-size: 30px; margin: 0 0 24px; }
.v-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.v-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.v-related .v-card { height: 100%; }
.v-related .v-card { padding: 24px; }
.v-related .v-card h3 { font-size: 24px; text-wrap: wrap; }
.v-card { min-width: 0; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--border-default); border-radius: var(--radius-card); background: color-mix(in srgb, var(--surface-default) 80%, transparent); color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.v-card:hover { color: inherit; border-color: var(--color-link); box-shadow: 0 6px 30px color-mix(in srgb, var(--color-link) 6%, transparent); }
.v-card h3 { font-size: clamp(23px, 2vw, 30px); line-height: 1.2; margin: 24px 0 14px; max-width: 32ch; text-wrap: balance; }
.v-card p { font-size: 16px; line-height: 1.65; color: var(--color-text-body); margin: 0 0 28px; max-width: 60ch; }
.v-card__bottom { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border-divider); }
.v-card__arrow { font-size: 23px; color: var(--color-link); }
.v-saldi-box { padding: 32px; margin-top: 40px; border: 1px solid var(--border-default); border-radius: var(--radius-card); background: var(--surface-subtle); }
.v-saldi-box p { font-size: 17px; line-height: 1.7; max-width: 75ch; }
.v-saldi-box h2 { font: 600 22px/1.3 var(--font-display); margin: 0 0 16px; }
.v-trial-button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; min-height: 48px; margin-top: 16px; border-radius: var(--radius-control); background: var(--grad-dark); color: var(--color-text-on-dark); text-decoration: none !important; font-weight: 500; }
.v-trial-button:hover { color: var(--color-text-on-dark); }
.v-saldi-box .v-eyebrow { display: block; }
.v-review { display: none; }
.v-reviewer { font-size: 14px; color: var(--color-text-muted); }
.v-overview__header { margin-bottom: 36px; }
.v-overview h1 { font-size: clamp(36px, 4.2vw, 64px); line-height: 1.08; margin: 0 0 24px; }
.v-overview__header > p { max-width: 65ch; color: var(--color-text-body); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.65; margin: 0; }
.v-section-label { font-size: 15px; font-weight: 500; margin: 0 0 16px; }
.v-featured { margin-bottom: 52px; }
.v-featured__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
.v-featured__grid > :only-child { grid-column: 1 / -1; }
.v-card--featured { background: var(--grad-dark, linear-gradient(125deg, #13294c, #292044)); color: var(--color-text-on-dark); border-color: transparent; min-height: 340px; position: relative; overflow: hidden; }
.v-card--featured::after { content: ''; position: absolute; width: 200px; height: 200px; right: -70px; top: -60px; border: 1px solid rgba(255,255,255,.12); border-radius: 70px 70px 70px 12px; transform: rotate(-12deg); pointer-events: none; }
.v-card--featured h3 { font-size: clamp(28px, 2.5vw, 40px); color: var(--color-text-on-dark); max-width: 25ch; }
.v-card--featured p, .v-card--featured .v-meta { color: var(--color-text-on-dark-muted); }
.v-card--featured:hover { color: var(--color-text-on-dark); border-color: var(--color-link); }
.v-card--featured .v-category { color: var(--color-amber-on-dark); }
.v-card--featured .v-category-mark { border-color: rgba(255,255,255,.18); color: white; background: rgba(255,255,255,.06); }
.v-card--featured .v-card__bottom { border-color: rgba(255,255,255,.18); }
.v-card--featured .v-card__arrow { color: white; }
.v-list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.v-list-heading h2 { font-size: 28px; margin: 0; }
.v-list-heading > span { color: var(--color-text-muted); font-size: 12px; font-family: var(--font-mono); }
.v-dictionary { margin-top: var(--space-section-tight); padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); background: color-mix(in srgb, var(--surface-subtle) 80%, transparent); border: 1px solid var(--border-default); border-radius: var(--radius-card); }
.v-dictionary h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; margin: 0 0 16px; max-width: 18ch; }
.v-dictionary p { font-size: 17px; line-height: 1.7; margin: 0 0 24px; }
.v-text-link { font-weight: 500; font-size: 15px; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; }
.v-dictionary dl { margin: 0; }
.v-dictionary dl > div { padding: 18px 0; border-bottom: 1px solid var(--border-divider); }
.v-dictionary dl > div:first-child { padding-top: 0; }
.v-dictionary dl > div:last-child { border-bottom: none; padding-bottom: 0; }
.v-dictionary dt { font-weight: 600; margin-bottom: 6px; }
.v-dictionary dt a { display: flex; justify-content: space-between; }
.v-dictionary dd { font-size: 14px; line-height: 1.7; margin: 0; color: var(--color-text-body); }
.v-switch-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border-divider); }
.v-switch-cta h2 { font-size: 24px; margin: 0 0 12px; }
.v-switch-cta p { font-size: 16px; margin: 0; line-height: 1.6; }
.v-switch-cta > a { flex-shrink: 0; }
.v-related__dictionary { margin-top: 24px; max-width: 70ch; font-size: 14px; line-height: 1.7; }
.v-related__dictionary a { display: flex; gap: 8px; flex-wrap: wrap; color: var(--color-link); }
[data-theme="dark"] .v-category, [data-theme="dark"] .v-eyebrow, [data-theme="dark"] .v-answer h2, [data-theme="dark"] .v-block__label { color: var(--color-amber-on-dark); }
@media (min-width: 1024px) { .v-toc summary { list-style: none; pointer-events: none; } .v-toc summary::-webkit-details-marker { display: none; } }
@media (max-width: 1023px) {
  .v-article-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .v-reading { max-width: 700px; width: 100%; margin-inline: auto; }
  .v-grid--three { grid-template-columns: minmax(0, 1fr); }
  .v-toc { grid-row: 1; position: static; border: 1px solid var(--border-default); border-radius: var(--radius-card); padding: 16px 20px; max-height: none; }
  .v-toc summary { cursor: pointer; margin-bottom: 0; padding-block: 4px; }
  .v-toc details[open] summary { margin-bottom: 14px; }
}
@media (max-width: 639px) {
  .v-featured__grid, .v-dictionary { grid-template-columns: minmax(0, 1fr); }
  .v-list-heading, .v-switch-cta { align-items: flex-start; flex-direction: column; gap: 12px; }
  .v-switch-cta > a { flex-shrink: 1; }
  .v-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .v-crumb { margin-bottom: 24px; }
  .v-article__header { margin-bottom: 28px; }
  .v-card { padding: 24px; }
  .v-meta { font-size: 11px; gap: 4px 8px; }
  .v-answer { margin-bottom: 36px; }
  .v-saldi-box { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .v-page *, .v-page *::before { scroll-behavior: auto; transition: none; } }

/* Two stable entry points distinguish the hub from the article index. */
.v-entry-grid { margin-bottom: var(--space-section-tight); }
.v-entry h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 20px 0 14px; }
.v-entry__count { font-family: var(--font-mono); font-size: 13px; color: var(--color-text-muted); }
@media (max-width: 639px) { .v-entry-grid { grid-template-columns: minmax(0, 1fr); } .v-list-heading { flex-wrap: wrap; } }
