/* Homepage, pricing, data and docs additions. Colors come from the shared tokens so light and dark both work. */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.sd-sec{padding-block:3rem}
.sd-sec+.sd-sec{border-top:1px solid var(--vd-border)}
.sd-hero{padding-block:4rem 2.5rem}
.sd-hero h1{max-width:20ch;margin:.5rem 0 1.25rem;font-size:clamp(2.4rem,6vw,4.8rem);line-height:1.04;letter-spacing:-.03em}
.sd-lead{max-width:46rem;font-size:clamp(1.05rem,1.6vw,1.3rem);line-height:1.55;color:var(--vd-muted-foreground);margin:0}
.sd-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.75rem}
.sd-actions .button{margin-top:0}
body[data-ui-page] .sd-actions .sd-ghost{background:transparent!important;color:var(--vd-foreground)!important;border-color:var(--vd-border-strong)}
body[data-ui-page] .sd-actions .sd-ghost:hover{background:var(--vd-muted)!important;color:var(--vd-foreground)!important}
.sd-h2{margin:.25rem 0 .75rem;font-size:clamp(1.6rem,3vw,2.4rem);line-height:1.12;letter-spacing:-.02em}
.sd-p{max-width:46rem;margin:0 0 1rem;color:var(--vd-muted-foreground);font-size:1.05rem;line-height:1.6}
.sd-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.5rem}
.sd-card{display:flex;flex-direction:column;gap:.6rem;padding:1.4rem;border:1px solid var(--vd-border);border-radius:20px;background:var(--vd-surface)}
.sd-card h3{margin:0;font-size:1.25rem;line-height:1.2}
.sd-card p{margin:0;color:var(--vd-muted-foreground);line-height:1.55}
.sd-card a{margin-top:auto;padding-top:.5rem;color:var(--vd-foreground);font-weight:600}
.sd-badge{align-self:flex-start;padding:.2rem .65rem;border-radius:999px;border:1px solid var(--vd-ledger-line);background:var(--vd-ledger-soft);color:var(--vd-ledger);font-family:var(--vd-mono);font-size:.75rem;font-weight:600;letter-spacing:.06em}
.sd-badge.warn{border-color:var(--vd-amber);background:var(--vd-amber-soft);color:var(--vd-foreground)}
.sd-badge.fail{border-color:var(--vd-fail);background:var(--vd-fail-soft);color:var(--vd-fail)}
.sd-bda{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:1.5rem;border:1px solid var(--vd-border);border-radius:20px;overflow:hidden}
.sd-bda>div{padding:1.4rem;background:var(--vd-surface)}
.sd-bda>div+div{border-left:1px solid var(--vd-border)}
.sd-bda h3{margin:0 0 .5rem;font-size:1.1rem}
.sd-bda p{margin:0;color:var(--vd-muted-foreground);line-height:1.55}
.sd-line{max-width:46rem;margin:1.25rem 0 0;font-size:1.1rem;line-height:1.55;color:var(--vd-foreground)}
.sd-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1.5rem 0 1rem}
.sd-stat{padding:1.25rem;border:1px solid var(--vd-border);border-radius:16px;background:var(--vd-surface)}
.sd-stat b{display:block;font-size:clamp(1.6rem,3vw,2.3rem);line-height:1.1;letter-spacing:-.02em}
.sd-stat span{display:block;margin-top:.4rem;color:var(--vd-muted-foreground);font-size:.92rem;line-height:1.45}
.sd-small{max-width:52rem;color:var(--vd-muted-foreground);font-size:.9rem;line-height:1.55}
.sd-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem 3rem}
.sd-two h2{font-size:1.4rem;margin:0 0 .5rem;line-height:1.2}
.sd-two p{margin:0;color:var(--vd-muted-foreground);line-height:1.6}
.sd-code{margin:1.25rem 0 0;padding:1.1rem 1.25rem;border:1px solid var(--vd-border);border-radius:14px;background:var(--vd-muted);color:var(--vd-foreground);font-family:var(--vd-mono);font-size:.95rem;line-height:1.8;overflow-x:auto;max-width:100%}
.sd-code code{font-family:inherit;white-space:pre}
.price-table{width:100%;border-collapse:collapse;margin-block:1.5rem;font-size:1rem}
.price-table th,.price-table td{padding:.9rem 1rem;text-align:left;border-bottom:1px solid var(--vd-border);vertical-align:top}
.price-table thead th{font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:var(--vd-muted-foreground)}
.price-table tbody th{font-weight:600}
.price-note{display:block;margin-top:.15rem;font-weight:400;font-size:.88rem;color:var(--vd-muted-foreground)}
.sd-list{max-width:46rem;padding-left:1.2rem;color:var(--vd-muted-foreground);line-height:1.7}
.sd-doc h2{margin-top:2rem;font-size:1.35rem}
.sd-doc p,.sd-doc li{line-height:1.65}
.sd-doc pre{max-width:100%;overflow-x:auto;padding:1rem;border:1px solid var(--vd-border);border-radius:12px;background:var(--vd-muted)}
.site-links{flex-wrap:wrap}
@media(max-width:860px){
  .sd-grid3,.sd-bda,.sd-stats,.sd-two{grid-template-columns:1fr}
  .sd-bda>div+div{border-left:0;border-top:1px solid var(--vd-border)}
  .sd-hero{padding-block:2.5rem 1.5rem}
  .price-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .price-table,.price-table tbody,.price-table tr,.price-table th,.price-table td{display:block;width:100%}
  .price-table tr{padding:.75rem 0;border-bottom:1px solid var(--vd-border)}
  .price-table th,.price-table td{border:0;padding:.2rem 0}
  .price-table td::before{content:attr(data-label) ": ";color:var(--vd-muted-foreground)}
}
@media(min-width:861px) and (max-width:1100px){.sd-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sd-compare{width:100%;border-collapse:collapse;margin:1.5rem 0 1rem;font-size:.98rem}
.sd-compare th,.sd-compare td{padding:.85rem 1rem;text-align:left;vertical-align:top;border-bottom:1px solid var(--vd-border);line-height:1.5}
.sd-compare thead th{font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:var(--vd-muted-foreground)}
.sd-compare tbody th{font-weight:600;width:24%}
.sd-compare td:last-child{color:var(--vd-foreground)}
.sd-compare td:nth-child(2){color:var(--vd-muted-foreground)}
@media(max-width:860px){.sd-compare thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.sd-compare,.sd-compare tbody,.sd-compare tr,.sd-compare th,.sd-compare td{display:block;width:100%!important}.sd-compare tr{padding:.75rem 0;border-bottom:1px solid var(--vd-border)}.sd-compare th,.sd-compare td{border:0;padding:.2rem 0}}
