/* Site identity - colours come from the "InstaBlocks" scheme on developry.com */
:root { --brand: #00b093; --brand-deep: #005748; --accent-mix: 42%; }
.mark .g1 { stop-color: color-mix(in oklab, var(--brand) 75%, var(--brand-deep)); }
.mark .g2 { stop-color: color-mix(in oklab, var(--brand) 30%, var(--brand-deep)); }
.mark .glyph { fill: none; stroke: #09090b; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
kbd { padding: .1rem .4rem; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--surface-2); }

/* ---------- tools ---------- */
.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; } }
.io-grid textarea { min-height: 18rem; }
.opts { display: grid; gap: .75rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.field-msg { font-size: .8rem; margin: .3rem 0 0; color: var(--bad); }
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: .75rem; margin-top: .75rem; }
.summary div { padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-2); }
.summary b { display: block; font-size: 1.7rem; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.summary span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.cell-url { font-family: var(--mono); font-size: .8rem; overflow-wrap: anywhere; }
mark { background: var(--accent-soft); color: inherit; border-radius: 3px; box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 55%, transparent); }
.stage { padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); min-height: 22rem; }
.frame { width: 100%; max-width: 540px; background: var(--surface); overflow: hidden; border: 2px solid var(--brand); }
.f-head { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; }
.f-head i { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); }
.f-head span { height: 10px; width: 7rem; border-radius: 5px; background: var(--line); }
.f-img { aspect-ratio: 1; background: linear-gradient(135deg, color-mix(in oklab, var(--brand) 55%, var(--surface-2)), color-mix(in oklab, var(--brand-deep) 70%, var(--surface-2))); }
.f-lines { display: grid; gap: .45rem; padding: .8rem; }
.f-lines span { height: 9px; border-radius: 5px; background: var(--line); }
.f-lines span + span { width: 60%; }

/* ---------- browser extension promo ---------- */
.store-btns { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; 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; } }
