/* ==========================================================================
   Sadhyarshi — a quiet, grid-based system.
   One typeface (Geist), neutral surfaces, hairline borders, one accent.
   Spacing scale: 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 96
   ========================================================================== */
:root {
	--bg: #fbfbfa;
	--surface: #ffffff;
	--sunk: #f3f3f0;
	--ink: #111110;
	--ink-2: #3d3d39;
	--muted: #75756f;
	--line: #e5e4df;
	--line-2: #d3d2cb;
	--accent: #1f4fff;
	--accent-soft: #eaeeff;
	--ok: #17803d;
	--warn: #b45309;
	--bad: #c2331b;
	--focus: 0 0 0 3px rgba(31, 79, 255, .28);

	--sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--r: 8px;
	--wrap: 1160px;
	--label: 240px;
}
[data-theme="dark"] {
	--bg: #0c0c0b;
	--surface: #141413;
	--sunk: #1a1a18;
	--ink: #f2f1ec;
	--ink-2: #cfcec7;
	--muted: #8e8d86;
	--line: #262622;
	--line-2: #36362f;
	--accent: #7c9bff;
	--accent-soft: #1a2140;
	--ok: #4cc27a;
	--warn: #e0a050;
	--bad: #ff7a64;
	--focus: 0 0 0 3px rgba(124, 155, 255, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; color-scheme: light; }
[data-theme="dark"] { color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; font-feature-settings: "ss01", "cv11"; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); letter-spacing: -.035em; line-height: 1.06; font-weight: 600; }
h2 { font-size: 1rem; letter-spacing: -.01em; }
h3 { font-size: 1.0625rem; letter-spacing: -.01em; }
em { font-style: normal; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 0; box-shadow: var(--focus); border-radius: 4px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrap--narrow { width: min(720px, 100% - 48px); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 100; border-radius: var(--r); }
.skip:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r); border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font: 500 .9375rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--quiet:hover { background: var(--sunk); border-color: var(--line-2); color: var(--ink); }
.btn--sm { height: 36px; padding: 0 14px; font-size: .875rem; }
.link { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color .15s, color .15s; }
.link:hover { color: var(--accent); text-decoration-color: currentColor; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; transition: background .15s; }
.icon-btn:hover { background: var(--sunk); }
.i-moon { display: none; } [data-theme="dark"] .i-sun { display: none; } [data-theme="dark"] .i-moon { display: block; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; height: 60px; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -.02em; font-size: 1.0625rem; margin-right: auto; }
.nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 6px 12px; border-radius: 6px; font-size: .9375rem; color: var(--ink-2); text-decoration: none; transition: color .15s, background .15s; }
.nav__list a:hover, .nav__list .current-menu-item a { color: var(--ink); background: var(--sunk); }
.site-header__tools { display: flex; align-items: center; gap: 8px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.nav-toggle { display: none; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .2s; }
.nav-toggle span:first-child { top: 14px; } .nav-toggle span:last-child { top: 20px; }
.nav-open .nav-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.hero__title { max-width: 18em; text-wrap: balance; }
.hero__sub { max-width: 40em; margin: 24px 0 32px; font-size: 1.125rem; color: var(--ink-2); line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* status pill */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--ink-2); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.status[data-s="live"]::before, .status[data-s="play-store"]::before { background: var(--ok); }
.status[data-s="in-build"]::before, .status[data-s="pre-launch"]::before { background: var(--warn); }

/* ---------- Blocks: label column + content column ---------- */
.block { padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); }
.block--flush { border-bottom: 0; padding-top: 0; }
.block__grid { display: grid; grid-template-columns: var(--label) 1fr; gap: 32px 48px; align-items: start; }
.block__label { position: sticky; top: 92px; }
.block__label h2 { font-size: 1rem; margin: 0 0 8px; }
.block__label > h2:only-child { margin: 0; }
.block__label p { color: var(--muted); font-size: .9375rem; line-height: 1.55; margin: 0 0 12px; }
.more { margin: 24px 0 0; font-size: .9375rem; }

/* work index */
.work { border-top: 1px solid var(--line); }
.work-row { display: grid; grid-template-columns: minmax(0, 1fr) 180px 110px; gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .15s; position: relative; }
a.work-row:hover { background: var(--sunk); box-shadow: -16px 0 0 var(--sunk), 16px 0 0 var(--sunk); }
.work-row__title { display: block; font-weight: 600; letter-spacing: -.01em; }
.work-row__arrow { margin-left: 6px; color: var(--muted); transition: transform .15s, color .15s; display: inline-block; }
a.work-row:hover .work-row__arrow { transform: translate(2px, -2px); color: var(--accent); }
.work-row__text { display: block; margin-top: 4px; color: var(--muted); font-size: .9375rem; line-height: 1.5; max-width: 46em; }
.work-row__type { font-size: .875rem; color: var(--ink-2); line-height: 1.45; }
.work-row__meta { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; font-size: .875rem; color: var(--muted); }

/* tool cards */
.tool-grid-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tool-grid-cards--wide { grid-template-columns: repeat(3, 1fr); }
.tool-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .15s, transform .15s; min-height: 176px; }
.tool-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.tool-card__cat { font: 500 .75rem/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.tool-card__title { font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; margin-top: 4px; }
.tool-card__text { color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.tool-card__go { margin-top: auto; padding-top: 12px; font-size: .875rem; font-weight: 500; }
.tool-card:hover .tool-card__go { color: var(--accent); }

/* services / steps / experience */
.cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
.col h3 { margin-bottom: 8px; } .col p { color: var(--ink-2); margin-bottom: 8px; }
.col .col__meta { font-size: .8125rem; color: var(--muted); font-family: var(--mono); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps__n { display: block; font: 500 .8125rem/1 var(--mono); color: var(--muted); margin-bottom: 12px; }
.steps h3 { margin-bottom: 6px; } .steps p { color: var(--muted); font-size: .9375rem; margin: 0; }
.xp { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.xp li { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.xp__when { color: var(--muted); font-size: .875rem; font-family: var(--mono); padding-top: 2px; }
.xp__what { color: var(--ink-2); } .xp__what strong { color: var(--ink); font-weight: 600; } .xp .muted { font-size: .9375rem; }

/* contact + forms */
.socials { display: flex; flex-wrap: wrap; gap: 16px; font-size: .9375rem; }
.socials a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; } .socials a:hover { color: var(--accent); }
.form { display: grid; gap: 20px; max-width: 640px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: .875rem; font-weight: 500; color: var(--ink); padding: 0; }
.field input[type=text], .field input[type=email], .field textarea, .search-form input[type=search] { width: 100%; height: 44px; padding: 0 12px; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); transition: border-color .15s, box-shadow .15s; }
.field textarea { height: auto; min-height: 140px; padding: 12px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: var(--focus); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: .875rem; cursor: pointer; background: var(--surface); transition: border-color .15s, background .15s; }
.pill:hover span { border-color: var(--muted); }
.pill input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill input:focus-visible + span { box-shadow: var(--focus); }
.form__note { padding: 12px 14px; border-radius: var(--r); font-size: .9375rem; margin: 0; border: 1px solid; }
.form__note--ok { color: var(--ok); border-color: var(--ok); background: color-mix(in srgb, var(--ok) 8%, transparent); }
.form__note--bad { color: var(--bad); border-color: var(--bad); background: color-mix(in srgb, var(--bad) 8%, transparent); }

/* ---------- Inner pages ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px); }
.page-head h1 { max-width: 20em; text-wrap: balance; }
.page-head .lead, .lead { margin: 16px 0 0; font-size: 1.125rem; color: var(--ink-2); max-width: 40em; }
.page-head--center { text-align: center; } .page-head--center .lead { margin-inline: auto; }
.eyebrow { font-size: .8125rem; color: var(--muted); margin-bottom: 12px; font-family: var(--mono); }
.eyebrow a { text-decoration: none; } .eyebrow a:hover { color: var(--accent); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .875rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--accent); }
.facts { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 32px 0; padding: 16px 0; border-block: 1px solid var(--line); }
.facts dt { font-size: .75rem; color: var(--muted); } .facts dd { margin: 2px 0 0; font-size: .9375rem; }
.entry__hero { margin: 0 0 48px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.prose { font-size: 1.0625rem; line-height: 1.75; padding-bottom: 80px; color: var(--ink-2); }
.prose h2, .prose h3 { color: var(--ink); margin: 2em 0 .5em; } .prose h2 { font-size: 1.5rem; } .prose h3 { font-size: 1.1875rem; }
.prose a { color: var(--accent); }
.prose blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 2px solid var(--ink); color: var(--ink); }
.prose pre { background: var(--sunk); border: 1px solid var(--line); padding: 16px; border-radius: var(--r); overflow-x: auto; font: .875rem/1.6 var(--mono); }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--sunk); padding: .1em .35em; border-radius: 4px; } .prose pre code { background: none; padding: 0; }
.prose img { border-radius: var(--r); }
.prose--tool { padding-top: 48px; }
.nextproj { display: grid; gap: 4px; padding: 20px; margin-bottom: 80px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .15s; }
.nextproj:hover { border-color: var(--ink); } .nextproj span { color: var(--muted); font-size: .8125rem; } .nextproj strong { font-weight: 600; font-size: 1.125rem; }
.posts { border-top: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-row time { color: var(--muted); font-size: .875rem; font-family: var(--mono); padding-top: 4px; }
.post-row h2 { font-size: 1.375rem; margin-bottom: 8px; letter-spacing: -.02em; } .post-row h2 a { text-decoration: none; } .post-row h2 a:hover { color: var(--accent); }
.post-row p { color: var(--muted); margin-bottom: 6px; } .post-row__meta { color: var(--muted); font-size: .8125rem; }
.pagination { margin: 40px 0 80px; } .pagination .nav-links { display: flex; gap: 6px; justify-content: center; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; font-size: .9375rem; } .pagination .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.comments { padding-bottom: 80px; } .comments__list { list-style: none; padding: 0; } .comments__list li { padding: 16px 0; border-top: 1px solid var(--line); }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); border-radius: var(--r); }
.comment-form .submit { height: 44px; padding: 0 18px; border: 0; border-radius: var(--r); background: var(--ink); color: var(--bg); font: 500 .9375rem var(--sans); cursor: pointer; }
.search-form { display: flex; gap: 8px; align-items: end; } .search-form label { flex: 1; }
.search-submit { height: 44px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font: inherit; cursor: pointer; }
.alignleft { float: left; margin: 0 1.5em 1em 0; } .alignright { float: right; margin: 0 0 1em 1.5em; } .aligncenter { margin-inline: auto; }
.empty { color: var(--muted); padding: 32px 0; }

/* tools index toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 32px; }
.toolbar__search { flex: 0 1 320px; }
.toolbar__search input { width: 100%; height: 40px; padding: 0 12px; font: inherit; font-size: .9375rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); }
.toolbar__search input:focus { outline: 0; border-color: var(--accent); box-shadow: var(--focus); }
.toolbar__cats { display: flex; flex-wrap: wrap; gap: 6px; }
.toolbar__cats a { padding: 7px 12px; border: 1px solid var(--line); border-radius: var(--r); font-size: .875rem; text-decoration: none; color: var(--ink-2); }
.toolbar__cats a:hover { background: var(--sunk); }
.toolbar__cats a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.more-tools { padding: 64px 0 96px; } .more-tools h2 { margin-bottom: 16px; }
.page-head--tool { padding-bottom: 24px; }

/* ==========================================================================
   Tool UI kit — use these classes in every tool so they look like one family
   ========================================================================== */
.tool { margin-bottom: 8px; }
.t-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px; align-items: start; }
.t-stack { display: grid; gap: 16px; }
.t-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.t-form { display: grid; gap: 16px; }
.t-h { font-size: .9375rem; font-weight: 600; margin: 0 0 4px; }
.t-field { display: grid; gap: 6px; min-width: 0; }
.t-field label, .t-labelrow label { font-size: .875rem; font-weight: 500; }
.t-labelrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.t-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.t-input { width: 100%; min-height: 40px; padding: 9px 12px; font: inherit; font-size: .9375rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r); transition: border-color .15s, box-shadow .15s; }
textarea.t-input { resize: vertical; line-height: 1.5; }
.t-input:hover { border-color: var(--muted); }
.t-input:focus { outline: 0; border-color: var(--accent); box-shadow: var(--focus); }
.t-hint { font-size: .8125rem; color: var(--muted); margin: 0; }
.t-count { font: 400 .75rem/1 var(--mono); color: var(--muted); }
.t-count.is-over { color: var(--bad); }
.t-field--inline { grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; }
.t-color { width: 40px; height: 32px; padding: 2px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg); cursor: pointer; }
.t-check { display: inline-flex; align-items: center; gap: 6px; font-weight: 400 !important; }
.t-btn { height: 32px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font: 500 .8125rem var(--sans); cursor: pointer; transition: background .15s, border-color .15s; }
.t-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.t-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); justify-self: start; }
.t-btn--ghost:hover { background: var(--sunk); border-color: var(--line-2); color: var(--ink); }
.t-out { margin: 12px 0; padding: 16px; max-height: 420px; overflow: auto; background: var(--sunk); border: 1px solid var(--line); border-radius: var(--r); font: .8125rem/1.65 var(--mono); white-space: pre; color: var(--ink); }

/* metadata tool previews */
.serp { padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: #202124; margin: 12px 0; font-family: Arial, Roboto, sans-serif; }
.serp__site { display: flex; gap: 10px; align-items: center; font-size: 14px; line-height: 1.3; margin-bottom: 4px; }
.serp__fav { width: 26px; height: 26px; border-radius: 50%; background: #eceff1; flex: none; }
.serp__url { display: block; color: #4d5156; font-size: 12px; }
.serp__title { font-size: 20px; line-height: 1.3; color: #1a0dab; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.serp__desc { font-size: 14px; line-height: 1.58; color: #4d5156; margin-top: 3px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.social { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--bg); }
.social__img { aspect-ratio: 1200 / 630; background: var(--sunk); display: grid; place-items: center; color: var(--muted); font-size: .8125rem; overflow: hidden; }
.social__img img { width: 100%; height: 100%; object-fit: cover; }
.social__body { padding: 12px 14px; border-top: 1px solid var(--line-2); }
.social__host { font-size: .75rem; color: var(--muted); text-transform: lowercase; }
.social__title { font-weight: 600; font-size: .9375rem; line-height: 1.3; margin: 2px 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.social__desc { font-size: .8125rem; color: var(--muted); line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }


/* image compressor */
.ic { display: grid; gap: 16px; }
.ic-drop { border: 1.5px dashed var(--line-2); border-radius: 12px; padding: 40px 16px; text-align: center; cursor: pointer; background: var(--surface); transition: border-color .15s, background .15s; }
.ic-drop:hover, .ic-drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.ic-drop__main { margin: 0 0 4px; } .ic-drop strong { color: var(--accent); font-weight: 600; }
.ic-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.ic-bar { margin-bottom: 8px; flex-wrap: wrap; } .ic-total { margin: 0; font-weight: 500; font-size: .9375rem; }
.ic-actions { display: flex; gap: 8px; }
.ic-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.ic-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: var(--sunk); flex: none; border: 1px solid var(--line); }
.ic-item__meta { flex: 1; min-width: 0; }
.ic-item__name { font-weight: 500; font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ic-item__sizes { font-size: .8125rem; color: var(--muted); margin-top: 2px; }
.ic-item__sizes strong { color: var(--ink); font-weight: 600; }
.ic-save { font-weight: 600; color: var(--ok); } .ic-save.is-neg { color: var(--bad); }
.ic-x { border: 0; background: none; color: var(--muted); font-size: 1.25rem; line-height: 1; padding: 4px 8px; cursor: pointer; border-radius: 6px; }
.ic-x:hover { background: var(--sunk); color: var(--ink); }
.ic .t-btn { display: inline-flex; align-items: center; text-decoration: none; }
.t-range { width: 100%; accent-color: var(--accent); }
.t-note { margin: 0; padding: 10px 14px; border-radius: var(--r); font-size: .875rem; border: 1px solid; }
.t-note--bad { color: var(--bad); border-color: var(--bad); background: color-mix(in srgb, var(--bad) 8%, transparent); }
@media (max-width: 1000px) { .ic-opts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ic-opts { grid-template-columns: 1fr; } .ic-item { flex-wrap: wrap; } .ic-item__meta { flex-basis: calc(100% - 80px); } }


/* image metadata remover (shares .ic-drop / .ic-item with the compressor) */
.ms { display: grid; gap: 16px; }
.ms-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ms-chip { display: grid; align-content: start; gap: 4px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.ms-chip strong { font: 600 .8125rem/1.2 var(--mono); color: var(--accent); }
.ms-chip span { font-size: .875rem; color: var(--muted); line-height: 1.45; }
.ic-item__act { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ms-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ms-tag { font: 400 .75rem/1 var(--mono); padding: 5px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--ink-2); }
.ms-tag.is-found { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 9%, transparent); }
.ms-tag.is-stripped { color: var(--muted); text-decoration: line-through; border-color: var(--line); }
.ms-tag.is-clean { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); background: color-mix(in srgb, var(--ok) 9%, transparent); }
.ms-tag.is-bad { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, transparent); background: color-mix(in srgb, var(--bad) 9%, transparent); }
.ms-status { font: 500 .75rem/1 var(--mono); padding: 6px 9px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.ms-status.is-ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.ms-status.is-bad { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, transparent); }
.ms .t-btn:disabled { opacity: .4; cursor: default; }
.ms .t-btn:disabled:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ms-disc { font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.ms-disc summary { cursor: pointer; font-weight: 500; color: var(--ink-2); }
.ms-disc p { margin: 10px 0 0; max-width: 60em; line-height: 1.6; }
@media (max-width: 1000px) { .ms-chips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ic-item__act { flex-basis: 100%; justify-content: flex-start; } }


/* ---------- Store ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-grid--home { grid-template-columns: repeat(2, 1fr); }
.product-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; transition: border-color .15s, transform .15s; }
.product-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.product-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--sunk); border-bottom: 1px solid var(--line); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__ph { position: absolute; inset: 0; display: grid; place-items: center; font: 600 4rem/1 var(--sans); color: var(--line-2); }
.product-card__plat { position: absolute; top: 12px; left: 12px; font: 500 .75rem/1 var(--mono); background: var(--surface); border: 1px solid var(--line); padding: 6px 9px; border-radius: 6px; }
.product-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.product-card__title { font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; }
.product-card__text { color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.product-card__foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 14px; }
.price strong { font-weight: 600; font-size: 1.0625rem; } .price s { color: var(--muted); margin-right: 8px; font-size: .9375rem; } .price__soon { color: var(--muted); font-size: .9375rem; }
.product-card__go { font-size: .875rem; font-weight: 500; } .product-card:hover .product-card__go { color: var(--accent); }
.product__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding-bottom: 32px; }
.product__hero { margin: 0 0 32px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--sunk); }
.prose--product { padding-bottom: 16px; }
.product__section { margin-top: 40px; } .product__section h2 { font-size: 1.125rem; margin-bottom: 16px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 28px; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in srgb, var(--ok) 14%, transparent); border: 1px solid var(--ok); }
.checklist li::after { content: ""; position: absolute; left: 5px; top: calc(.35em + 4px); width: 5px; height: 3px; border-left: 1.5px solid var(--ok); border-bottom: 1.5px solid var(--ok); transform: rotate(-45deg); }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.shots img { border: 1px solid var(--line); border-radius: 8px; width: 100%; }
.product__side { position: sticky; top: 92px; }
.buybox { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 12px; }
.buybox__price { margin: 0; font: 600 2rem/1.1 var(--sans); letter-spacing: -.02em; } .buybox__price s { font-size: 1.125rem; color: var(--muted); font-weight: 400; margin-right: 10px; }
.btn--block { width: 100%; }
.buybox__facts { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.buybox__facts div { display: flex; justify-content: space-between; gap: 16px; font-size: .875rem; } .buybox__facts dt { color: var(--muted); } .buybox__facts dd { margin: 0; text-align: right; }
.buybox__note { margin: 0; font-size: .8125rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(2, 1fr); } .product__layout { grid-template-columns: 1fr; gap: 32px; } .product__side { position: static; order: -1; } }
@media (max-width: 640px) { .product-grid, .product-grid--home, .shots { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 28px; border-top: 1px solid var(--line); background: var(--surface); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px 48px; padding-bottom: 48px; }
.site-footer__about .brand { display: inline-block; margin-bottom: 12px; }
.site-footer__about p { color: var(--muted); font-size: .9375rem; max-width: 26em; margin-bottom: 12px; }
.site-footer__col h2 { font-size: .8125rem; font-weight: 500; color: var(--muted); margin: 0 0 14px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__col a { text-decoration: none; font-size: .9375rem; color: var(--ink-2); }
.site-footer__col a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__social { display: flex; flex-direction: column; gap: 10px; }
.site-footer__social h2 { margin-bottom: 4px; }
.site-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.site-footer__bar p { margin: 0; } .site-footer__bar a { text-decoration: none; } .site-footer__bar a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.block__grid { grid-template-columns: 1fr; gap: 20px; }
	.block__label { position: static; }
	.t-grid { grid-template-columns: 1fr; }
	.tool-grid-cards--wide { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
	.nav-toggle { display: block; }
	.site-header__tools .btn { display: none; }
	.nav { position: fixed; inset: 60px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; display: none; }
	.nav-open .nav { display: block; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.0625rem; background: none !important; }
	.work-row { grid-template-columns: 1fr auto; }
	.work-row__type { display: none; }
}
@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.tool-grid-cards, .tool-grid-cards--wide, .cols-2, .steps, .form__row, .t-row, .site-footer__grid { grid-template-columns: 1fr; }
	.xp li, .post-row { grid-template-columns: 1fr; gap: 4px; }
	.t-panel { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .toolbar, .more-tools { display: none; } }

/* Brands band */
.brands { border-bottom: 1px solid var(--line); background: var(--surface); }
.brands__inner { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px 40px; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.brands__label { margin: 0; font: 500 .75rem/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.brands__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 44px; }
.brands__item { display: flex; align-items: center; min-height: 36px; }
.brands__item span { font-size: calc(var(--brand-h, 44px) * .42); }
.brands__item a { display: flex; align-items: center; text-decoration: none; }
.brands__item span { font-weight: 600; letter-spacing: -.01em; color: var(--muted); }
.brands__item img { display: block; height: var(--brand-h, 44px); width: auto; max-width: calc(var(--brand-h, 44px) * 4.5); object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .15s, opacity .15s; }
.brands__item a:hover img, .brands__item img:hover { filter: none; opacity: 1; }
[data-theme="dark"] .brands__item img { filter: grayscale(1) brightness(1.4); }
[data-theme="dark"] .brands__item a:hover img { filter: none; }
@media (max-width: 760px) { .brands__inner { grid-template-columns: 1fr; } .brands__list { gap: 14px 28px; } .brands__item img { height: calc(var(--brand-h, 44px) * .75); } }

/* Tech stack */
.stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.stack__group h3 { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font: 500 .75rem/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.stack__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.stack__group li { display: grid; gap: 2px; }
.stack__group li strong { font-weight: 600; letter-spacing: -.01em; }
.stack__group li span { color: var(--muted); font-size: .9375rem; line-height: 1.5; }
@media (max-width: 820px) { .stack { grid-template-columns: 1fr; } }

.brand__firm { font-weight: 400; font-size: .8125rem; letter-spacing: 0; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line-2); }
@media (max-width: 900px) { .site-header .brand__firm { display: none; } }
