/* কাজের টুল — সাইটের ডিজাইন */
:root {
  --green: #0B5D42;
  --green-d: #08442F;
  --green-tint: #E3F0E9;
  --ink: #14231C;
  --ink-2: #2A3832;
  --muted: #5A6660;
  --bg: #F5F7F4;
  --card: #FFFFFF;
  --line: #E6EAE6;
  --line-2: #D5DCD6;
  --soft: #F0F3F1;
  --gold: #F2B544;
  --gold-tint: #FBEFD9;
  --danger: #B4412F;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(20, 35, 28, .05), 0 6px 20px rgba(20, 35, 28, .06);
  --shadow-lg: 0 1px 2px rgba(20, 35, 28, .05), 0 10px 28px rgba(20, 35, 28, .08);
  --font: "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cpath d='M18 6l12 12-12 12L6 18z' fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1.2'/%3E%3Ccircle cx='18' cy='18' r='2.2' fill='%23F2B544' fill-opacity='.32'/%3E%3Ccircle cx='0' cy='0' r='1.4' fill='%23ffffff' fill-opacity='.12'/%3E%3Ccircle cx='36' cy='0' r='1.4' fill='%23ffffff' fill-opacity='.12'/%3E%3Ccircle cx='0' cy='36' r='1.4' fill='%23ffffff' fill-opacity='.12'/%3E%3Ccircle cx='36' cy='36' r='1.4' fill='%23ffffff' fill-opacity='.12'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--green); }
a:hover { color: var(--green-d); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.3; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.ic { flex-shrink: 0; display: block; }
.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.hidden, [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { width: 100%; max-width: 780px; margin: 0 auto; padding: 0 16px; }

/* ---------- হেডার ---------- */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header > .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; padding-right: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; }
.brand-name { font-weight: 800; font-size: 22px; letter-spacing: -.2px; }
.brand-name b { color: var(--green); font-weight: 800; }
.hdr-actions { display: flex; gap: 2px; align-items: center; }
.hdr-links { display: none; gap: 4px; margin-right: 8px; }
.hdr-links a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; }
.hdr-links a:hover { background: var(--soft); }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.nav-panel { border-top: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-lg); }
.nav-panel .wrap { padding-top: 10px; padding-bottom: 16px; }
.nav-panel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
.nav-panel a { display: flex; align-items: center; gap: 10px; min-height: 46px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; border-radius: 12px; padding: 0 8px; }
.nav-panel a:hover { background: var(--soft); }
.nav-panel .nav-all { grid-column: 1 / -1; color: var(--green); }

/* ---------- হিরো ---------- */
.hero { background: var(--green) var(--pattern); color: #fff; }
.hero .wrap { padding-top: 30px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 14px; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 700; }
.hero h1 { font-size: 32px; font-weight: 800; color: #fff; }
.hero p { font-size: 16px; color: #CFE5D9; max-width: 560px; }
.search-label { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; font-size: 14px; font-weight: 600; color: #fff; max-width: 620px; }
.search-field { display: flex; align-items: center; gap: 8px; height: 58px; padding: 0 6px 0 14px; border-radius: 16px; background: #fff; color: var(--muted); box-shadow: 0 8px 24px rgba(8, 40, 28, .25); }
.search-field input { border: 0; outline: none; flex: 1; min-width: 0; font-size: 16px; color: var(--ink); background: transparent; height: 100%; }
.search-field .btn-search { height: 46px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--green); color: #fff; font-size: 15px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip-light { display: inline-flex; align-items: center; height: 44px; padding: 0 15px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.chip-light:hover { background: rgba(255, 255, 255, .22); color: #fff; }

.page-band { background: var(--green) var(--pattern); color: #fff; }
.page-band .wrap { padding-top: 24px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 14px; }
.page-band h1 { font-size: 28px; font-weight: 800; color: #fff; }
.page-band p { color: #CFE5D9; font-size: 15px; }

/* ---------- সেকশন ও কার্ড ---------- */
.section { padding: 28px 0 6px; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; }
.h2 { font-size: 22px; font-weight: 800; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 15px; font-weight: 700; text-decoration: none; }

.grid-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tool-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; min-height: 152px; background: var(--card); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.tool-card:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tool-card .t-name { font-weight: 700; font-size: 16px; line-height: 1.35; }
.tool-card .t-short { font-size: 13px; line-height: 1.55; color: var(--muted); }
.tool-card--featured { grid-column: span 2; flex-direction: row; align-items: center; gap: 14px; padding: 18px; min-height: 0; }
.tool-card--featured .t-body { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tool-card--featured .t-name { font-size: 19px; font-weight: 800; }
.tool-card--featured .t-short { font-size: 14px; }
.tool-card--featured .t-cta { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--green); }
.ic-tile { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--tint, var(--green-tint)); color: var(--fg, var(--green)); }
.ic-tile--lg { width: 68px; height: 68px; border-radius: 18px; }
.ic-tile--md { width: 52px; height: 52px; border-radius: 16px; }
.pill { align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--tint, var(--green-tint)); color: var(--fg, var(--green)); }

.grid-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; gap: 10px; padding: 16px; min-height: 118px; border-radius: var(--radius); background: var(--tint); text-decoration: none; color: var(--ink); }
.cat-tile:hover { color: var(--ink); filter: brightness(.98); }
.cat-tile .ic-box { width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--fg); display: flex; align-items: center; justify-content: center; }
.cat-tile .c-name { font-weight: 700; font-size: 16px; }
.cat-tile .c-count { font-size: 13px; color: #4E5B55; }

.promo { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; border-radius: var(--radius); background: var(--ink); color: #fff; text-decoration: none; }
.promo:hover { color: #fff; }
.promo .pill { background: var(--gold); color: var(--ink); }
.promo .p-title { font-weight: 800; font-size: 21px; line-height: 1.35; }
.promo .p-text { font-size: 15px; color: #C9D3CD; }
.promo .p-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 46px; margin-top: 6px; padding: 0 18px; border-radius: 12px; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 15px; }

.trust { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.trust-row { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-bottom: 1px solid #EEF1EE; }
.trust-row:last-child { border-bottom: 0; }
.trust-row .ic-round { width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; background: var(--green-tint); color: var(--green); display: flex; align-items: center; justify-content: center; }
.trust-row b { display: block; font-size: 16px; }
.trust-row span { font-size: 14px; color: var(--muted); }

/* ---------- বিজ্ঞাপন ---------- */
.ad { margin: 24px 0 8px; display: flex; flex-direction: column; gap: 6px; }
.ad-label { font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; }
.ad-box { min-height: 250px; border: 1.5px dashed #C3CBC5; border-radius: 16px; background: #EDF0EC; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); }
.ad ins { display: block; min-height: 100px; }

/* ---------- টুলের তালিকা ---------- */
.list-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tool-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; min-height: 68px; text-decoration: none; color: var(--ink); border-bottom: 1px solid #EEF1EE; }
.tool-row:last-child { border-bottom: 0; }
.tool-row:hover { background: #FAFBFA; color: var(--ink); }
.tool-row .r-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.tool-row .r-name { font-weight: 700; font-size: 16px; line-height: 1.4; }
.tool-row .r-short { font-size: 13px; line-height: 1.5; color: var(--muted); }
.tool-row .ic-chev { color: var(--muted); }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0 4px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--card); color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; font-weight: 700; }
.count-line { font-size: 14px; font-weight: 600; color: var(--muted); margin: 14px 0 10px; }
.empty { padding: 30px 16px; background: var(--card); border-radius: var(--radius); text-align: center; }

/* ---------- টুল পেজ ---------- */
.tool-head { background: var(--card); }
.tool-head .wrap-narrow { padding-top: 16px; padding-bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs a { text-decoration: none; font-weight: 600; }
.tool-title { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.tool-title h1 { font-size: 27px; font-weight: 800; }
.tool-intro { font-size: 15px; line-height: 1.7; color: var(--muted); }

.panel { margin-top: 16px; padding: 20px 16px; background: var(--card); border-radius: 22px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-lg); }
.field { display: flex; flex-direction: column; gap: 8px; }
.label { font-size: 14px; font-weight: 700; color: var(--ink); }
.input-wrap { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; }
.input-wrap:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(11, 93, 66, .12); }
.input-wrap input, .input-wrap select { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font-size: 18px; font-weight: 600; }
.input-wrap--big { height: 62px; }
.input-wrap--big input { font-size: 24px; font-weight: 700; }
.input-wrap .suffix { font-size: 16px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.input, .select { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 16px; }
.input:focus, .select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(11, 93, 66, .12); }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg button { min-height: 46px; border-radius: 12px; border: 0; background: var(--soft); color: var(--ink); font-size: 15px; font-weight: 600; padding: 6px 8px; line-height: 1.35; }
.seg button[aria-pressed="true"] { background: var(--green); color: #fff; font-weight: 700; }

.result-hero { position: relative; overflow: hidden; border-radius: 18px; background: var(--green) var(--pattern); color: #fff; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.result-sub { font-size: 14px; font-weight: 500; color: #CFE5D9; }
.result-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.result-big { font-size: 38px; font-weight: 800; line-height: 1.25; color: #fff; }
.result-unit { font-size: 20px; font-weight: 700; color: var(--gold); white-space: nowrap; }
.result-text { font-size: 19px; font-weight: 700; line-height: 1.6; color: #fff; }
.result-hero--error { background: #FCE8E4; color: var(--danger); }

.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--bg); min-width: 0; }
.stat .s-label { font-size: 13px; font-weight: 500; color: var(--muted); }
.stat .s-value { font-size: 19px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.btn { min-height: 50px; padding: 0 16px; border-radius: 14px; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border: 0; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-d); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-outline:hover { background: var(--soft); color: var(--ink); }
.btn-ghost { background: var(--soft); color: var(--green); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.note { font-size: 13px; line-height: 1.65; color: var(--muted); }
.error-text { color: var(--danger); font-size: 14px; font-weight: 600; }

.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 150px; padding: 20px; border: 2px dashed var(--line-2); border-radius: 18px; background: var(--bg); text-align: center; cursor: pointer; color: var(--muted); font-size: 14px; }
.dropzone:hover, .dropzone.drag { border-color: var(--green); background: var(--green-tint); }
.dropzone b { color: var(--green); font-size: 16px; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.preview { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px; border-radius: 16px; background: repeating-conic-gradient(#EEF1EE 0% 25%, #fff 0% 50%) 50% / 16px 16px; }
.preview img { max-height: 320px; border-radius: 8px; box-shadow: var(--shadow); background: #fff; }

.rows { display: flex; flex-direction: column; gap: 8px; }
.data-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 44px; gap: 8px; align-items: center; }
.data-row .input, .data-row .select { height: 48px; }
.del-btn { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--soft); color: var(--muted); display: flex; align-items: center; justify-content: center; }
.del-btn:hover { color: var(--danger); }
.add-btn { align-self: flex-start; }

.bar { height: 14px; border-radius: 999px; overflow: hidden; display: flex; background: var(--soft); }
.bar span { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }

.bmi-scale { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #7FB3E0 0 14%, #4CAF7D 14% 40%, #F2B544 40% 60%, #E07A5F 60% 100%); }
.bmi-marker { position: absolute; top: -6px; width: 4px; height: 26px; border-radius: 4px; background: var(--ink); transform: translateX(-2px); transition: left .2s ease; }
.bmi-ticks { position: relative; height: 20px; font-size: 12px; color: var(--muted); margin-top: 4px; }
.bmi-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.bmi-ticks span:first-child { transform: none; }
.bmi-ticks span:last-child { transform: translateX(-100%); }

/* ---------- লেখা অংশ ---------- */
.block { padding: 24px 0 6px; }
.block > .h2 { font-size: 21px; margin-bottom: 14px; }
.steps { margin: 0; padding: 18px; list-style: none; display: flex; flex-direction: column; gap: 16px; background: var(--card); border-radius: var(--radius); counter-reset: s; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.65; }
.steps li::before { counter-increment: s; content: counter(s, bengali); width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.steps li span { padding-top: 3px; }
.prose { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.prose h2 { font-size: 21px; font-weight: 800; color: var(--ink); margin-top: 12px; }
.prose h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-top: 6px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.table-wrap { background: var(--card); border-radius: var(--radius); overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-wrap th { text-align: left; padding: 13px 16px; font-weight: 700; font-size: 14px; color: var(--muted); background: var(--soft); white-space: nowrap; }
.table-wrap td { padding: 12px 16px; border-top: 1px solid #EEF1EE; }
.table-wrap tr:nth-child(even) td { background: #FAFBFA; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--card); border-radius: 16px; padding: 0 16px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; list-style: none; font-weight: 700; font-size: 16px; cursor: pointer; padding: 8px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--green); transition: transform .2s ease; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding-bottom: 16px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.related { display: flex; flex-direction: column; gap: 10px; }
.related .tool-row { background: var(--card); border-radius: 18px; border-bottom: 0; }
.btn-block { width: 100%; }

.page-content { padding: 24px 0 40px; }
.page-content .prose { background: var(--card); border-radius: var(--radius); padding: 22px 18px; }

/* ---------- ফুটার ---------- */
.site-footer { background: var(--ink); color: #D5DCD7; margin-top: 32px; }
.site-footer .wrap { padding-top: 30px; padding-bottom: 34px; display: flex; flex-direction: column; gap: 18px; }
.site-footer .f-brand { display: flex; align-items: center; gap: 10px; }
.site-footer .f-mark { width: 32px; height: 32px; border-radius: 10px; background: #fff; color: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.site-footer .f-name { font-weight: 800; font-size: 20px; color: #fff; }
.site-footer .f-name b { color: var(--gold); }
.site-footer .f-tag { font-size: 14px; color: #A9B3AD; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; }
.site-footer ul a { display: flex; align-items: center; min-height: 44px; color: #D5DCD7; text-decoration: none; font-size: 15px; }
.site-footer ul a:hover { color: #fff; }
.site-footer .f-copy { font-size: 13px; color: #A9B3AD; }
.site-footer .f-copy a { color: #D5DCD7; }

/* ---------- বড় স্ক্রিন ---------- */
@media (min-width: 720px) {
  .hero .wrap { padding-top: 48px; padding-bottom: 52px; }
  .hero h1 { font-size: 42px; }
  .grid-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tool-card--featured { grid-column: span 3; }
  .panel { padding: 26px 24px; }
  .tool-title h1 { font-size: 32px; }
  .site-footer ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-panel ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .hdr-links { display: flex; }
  .grid-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tool-card--featured { grid-column: span 2; }
  .grid-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
