/* Site identity: colours come from the "Web Fonts Loader" scheme on developry.com */
:root { --brand: #5af28c; --brand-deep: #255f39; --accent-mix: 10%; --glyph: #09090b; }
.mark .g1 { stop-color: color-mix(in oklab, var(--brand) 90%, var(--brand-deep)); }
.mark .g2 { stop-color: color-mix(in oklab, var(--brand) 55%, var(--brand-deep)); }
.mark .gf { fill: var(--glyph); }
.mark .gs { fill: none; stroke: var(--glyph); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- fonts ---------- */
.sample-box { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: 1rem 1.2rem; margin-bottom: .6rem; }
.sample-box .meta { font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-bottom: .3rem; font-family: var(--font); }
.sample-box .txt { line-height: 1.25; overflow-wrap: anywhere; }
.cmp { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.cmp .col { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: .8rem 1rem; }
.cmp .col h4 { margin: 0 0 .5rem; font-size: .8rem; font-family: var(--font); color: var(--muted); letter-spacing: .03em; text-transform: uppercase; }
.cmp .col .box { font-size: 15px; line-height: normal; width: 100%; background: repeating-linear-gradient(180deg, transparent 0 calc(1em - 1px), color-mix(in oklab, var(--brand) 25%, transparent) calc(1em - 1px) 1em); }
.cmp .col .res { margin: .6rem 0 0; font-size: .85rem; font-weight: 650; }
.scale-row { display: grid; grid-template-columns: 6.5rem 6rem 1fr; gap: 1rem; align-items: baseline; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.scale-row:last-child { border-bottom: 0; }
.scale-row code { color: var(--muted); }
.scale-row .s { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.15; }
@media (max-width: 640px) { .scale-row { grid-template-columns: 1fr; gap: .1rem; } }
.stack-card { display: grid; gap: .5rem; }
.stack-card .head { display: flex; gap: .5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.stack-card .code { font-family: var(--mono); font-size: .78rem; color: var(--muted); overflow-wrap: anywhere; }
.stack-card .render { font-size: 1.35rem; line-height: 1.3; }
.stack-card .uses { font-size: .8rem; color: var(--muted); }
.stack-card .uses b { color: var(--accent); }

kbd { padding: .1rem .4rem; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--surface-2); }
.io-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (max-width: 860px) { .io-grid { grid-template-columns: 1fr; } }
.opts { display: grid; gap: .75rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.opts .group-title { grid-column: 1 / -1; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0; }
.drop { display: grid; justify-items: center; gap: .6rem; text-align: center; padding: clamp(1.6rem, 5vw, 3rem) 1rem; border: 2px dashed color-mix(in oklab, var(--accent) 45%, var(--line)); border-radius: calc(var(--radius) - 4px); background: linear-gradient(180deg, var(--accent-soft), transparent); transition: border-color .2s, background .2s, transform .2s; cursor: pointer; }
.drop svg { width: 3rem; height: 3rem; color: var(--accent); }
.drop strong { font-size: 1.25rem; letter-spacing: -.02em; }
.drop-actions { margin-top: .5rem; justify-content: center; }
.drop.over { border-style: solid; border-color: var(--accent); background: var(--accent-soft); transform: scale(1.01); }
.table-wrap input, .table-wrap select { padding: .4rem .55rem; font-size: .85rem; min-width: 5.5rem; }
.table-wrap td.act { text-align: right; white-space: nowrap; }
.note { font-size: .85rem; color: var(--muted); }
.stage { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: 1.1rem; overflow: hidden; }
.mono-out { font-family: var(--mono); font-size: .85rem; }
.help { font-size: .8rem; color: var(--muted); margin: .3rem 0 0; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .6rem; }
.metric-grid div { padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.metric-grid b { display: block; font-size: 1.35rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.metric-grid span { font-size: .75rem; color: var(--muted); font-weight: 600; }

/* ---------- browser extension promo ---------- */
.store-btns { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 0; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.shots img { width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ext-cta { margin-top: 2.5rem; }
.ext-cta .card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; }
.ext-cta h2 { margin: 0 0 .2rem; font-size: 1.25rem; }
.ext-cta p { margin: 0; color: var(--muted); }

/* header button for the browser extension */
.nav-ext { display: inline-flex; align-items: center; gap: .4rem; margin-left: .5rem; padding: .45rem .85rem; border-radius: 99px; background: var(--brand); color: var(--accent-ink); font-weight: 700; font-size: .85rem; text-decoration: none; white-space: nowrap; }
.nav-ext:hover { filter: brightness(1.08); }
.nav-ext svg { width: 16px; height: 16px; }
.nav-ext + .icon-btn { margin-left: .5rem; }
@media (max-width: 720px) { .nav-ext span { display: none; } .nav-ext { padding: .55rem; } }
