/* Luther Tools — design language adapted from the MarQet template:
   spaced wordmark, grey nav bar, mosaic tiles, triangle section badges,
   bordered cards, teal + lime accents. Hand-written, no framework. */

@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --teal: #1da796;        /* brand accent: triangles, borders, large icons */
  --teal-ink: #137a6d;    /* buttons and links (5.2:1 on white) */
  --teal-deep: #0e5f55;
  --teal-wash: #e6f4f2;
  --lime: #8bb040;
  --lime-ink: #5d7a22;
  --lime-wash: #eef5e1;
  --orange: #fa8411;
  --coral: #c8452f;       /* PDF category */
  --coral-wash: #fbebe7;
  --ink: #1d2120;
  --ink-2: #323232;
  --muted: #5e6361;
  --soft: #8a908c;
  --line: #e3e8e4;
  --line-2: #d5dbd7;
  --panel: #f0f0f1;
  --milky: #f6f7f6;
  --white: #fff;
  --night: #141716;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(20, 23, 22, .06);
  --shadow: 0 10px 30px -12px rgba(20, 23, 22, .25);
  --shadow-lg: 0 24px 60px -20px rgba(20, 23, 22, .35);
  --font-body: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: clip; background: var(--white); color: var(--ink-2);
  font: 500 15px/1.65 var(--font-body); font-feature-settings: "lnum" 1;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--teal-ink); text-decoration: none; }
a:hover { color: var(--teal-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--night); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ------------------------------------------------------------------ top bar */
.topbar { background: var(--night); color: #c9cfcb; font: 500 12px/1 var(--font-body); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 16px; }
.topbar ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar .ico { color: var(--teal); font-size: 14px; }
.topbar a { color: #c9cfcb; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(139, 176, 64, .2); }

/* ------------------------------------------------------------------ masthead */
.masthead .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.meta-links { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0;
  font: 600 11px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.meta-links.right { justify-content: flex-end; }
.meta-links li + li::before { content: ""; display: inline-block; width: 1px; height: 11px; background: var(--line-2); margin-right: 10px; vertical-align: -1px; }
.meta-links a { color: var(--muted); }
.meta-links a:hover { color: var(--teal-ink); }
.meta-links .count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px;
  border-radius: 9px; background: var(--teal-ink); color: #fff; font-size: 10px; letter-spacing: 0; }
.meta-links .count[data-n="0"] { background: var(--line-2); color: var(--muted); }

.logo { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 46px; height: 52px; }
.logo-word { font: 300 27px/1 var(--font-body); letter-spacing: .38em; text-transform: uppercase; color: #6f7572; margin-right: -.38em; }
.logo-word b { font-weight: 700; color: var(--ink); }
.menu-toggle { display: none; }

/* ------------------------------------------------------------------ nav bar */
.navbar { position: sticky; top: 0; z-index: 40; background: var(--white); padding-bottom: 0; }
.navbar.is-stuck { box-shadow: 0 8px 20px -14px rgba(0,0,0,.35); }
.navbar .wrap { display: flex; }
.navbar-inner { flex: 1; display: flex; align-items: stretch; background: var(--panel); border-bottom: 2px solid var(--line-2); min-height: 52px; }
.nav { display: flex; list-style: none; margin: 0; padding: 0 0 0 10px; flex: 1; }
.nav > li { position: static; display: flex; }
.nav > li > a, .nav > li > button {
  display: flex; align-items: center; gap: 6px; padding: 0 16px; border: 0; background: none; cursor: pointer;
  font: 600 12.5px/1 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2);
  border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .2s, border-color .2s;
}
.nav > li > a:hover, .nav > li > button:hover, .nav > li.is-open > button, .nav > li > a[aria-current="page"] { color: var(--teal-ink); border-bottom-color: var(--teal); }
.nav .chev { font-size: 12px; transition: transform .2s var(--ease); }
.nav > li.is-open .chev { transform: rotate(180deg); }

.nav-tools { display: flex; align-items: stretch; }
.search-btn { display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer; padding: 0 16px; min-width: 220px;
  background: #e2e5e3; color: var(--muted); font: 500 13px/1 var(--font-body); transition: background .2s; }
.search-btn:hover { background: #d8dcd9; color: var(--ink); }
.search-btn .ico { font-size: 18px; color: var(--ink-2); }
.search-btn kbd { margin-left: auto; font: 600 10px/1 var(--font-head); padding: 4px 6px; border: 1px solid #c4cac6; border-radius: 3px; color: var(--soft); background: var(--white); }
.drop-btn { display: flex; align-items: center; gap: 10px; padding: 0 18px 0 16px; border: 0; cursor: pointer; background: none; color: var(--ink); }
.drop-btn .bubble { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-ink); color: #fff; font-size: 17px;
  box-shadow: 0 0 0 4px var(--teal-wash); transition: transform .25s var(--ease); }
.drop-btn:hover .bubble { transform: translateY(-2px); }
.drop-btn strong { font: 700 15px/1.05 var(--font-head); text-align: left; }
.drop-btn small { display: block; font: 600 10px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* mega menu (based on the template's "yamm" panel) */
.mega { position: absolute; left: var(--gutter); right: var(--gutter); top: 100%; z-index: 50; max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto;
  background: var(--white); border-top: 3px solid var(--teal); box-shadow: var(--shadow-lg); padding: 28px 30px 30px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s; }
.nav > li.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease); }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 30px; }
.mega-grid.cols-2 { grid-template-columns: repeat(2, 1fr) 2fr; }
.mega ul { list-style: none; margin: 12px 0 0; padding: 0; }
.mega li a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: var(--radius); color: var(--ink-2); font-weight: 600; font-size: 13.5px; }
.mega li a:hover { background: var(--milky); color: var(--teal-ink); }
.mega li a .ticon { --s: 28px; }
.mega li a.is-soon { color: var(--soft); }
.mega-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mega-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.mega-promo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--night); color: #fff; padding: 26px; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
.mega-promo > svg.mosaic { position: absolute; inset: 0; width: 100%; height: 100%; }
.mega-promo > * { position: relative; }
.mega-promo h3 { color: #fff; font: 600 20px/1.2 var(--font-head); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }

/* "iconic head": triangle badge + label (template signature) */
.iconic-head { display: flex; align-items: center; gap: 10px; font: 700 11.5px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.tri { --tc: var(--teal); position: relative; width: 32px; height: 28px; flex: none; display: grid; place-items: end center; color: #fff; }
.tri > .tri-bg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--tc); }
.tri > .ico { position: relative; font-size: 12px; margin-bottom: 5px; stroke-width: 2.4; }
.tri.lime { --tc: var(--lime); }
.tri.coral { --tc: var(--coral); }
.tri.lg { width: 56px; height: 49px; }
.tri.lg > .ico { font-size: 20px; margin-bottom: 9px; }
.tri.xl { width: 106px; height: 93px; }
.tri.xl > .ico { font-size: 34px; margin-bottom: 17px; }

/* ------------------------------------------------------------------ tool icon tiles */
.ticon { --s: 44px; --c: var(--teal-ink); --w: var(--teal-wash); position: relative; flex: none; width: var(--s); height: var(--s);
  display: grid; place-items: center; border-radius: calc(var(--s) * .26); background: var(--w); color: var(--c); }
.ticon .ico { width: 52%; height: 52%; stroke-width: 1.7; }
.ticon b { position: absolute; right: -4px; bottom: -3px; font: 800 calc(var(--s) * .2)/1 var(--font-head); letter-spacing: .02em;
  padding: 2px 3px; border-radius: 3px; background: var(--c); color: #fff; box-shadow: 0 0 0 2px var(--white); }
.ticon[data-cat="pdf"] { --c: var(--coral); --w: var(--coral-wash); }
.ticon[data-cat="qr"] { --c: var(--lime-ink); --w: var(--lime-wash); }
.ticon.is-soon { --c: #9aa09c; --w: #eef0ee; }
.ticon canvas { width: 100%; height: 100%; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: 2px; cursor: pointer;
  font: 600 12px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  background: var(--teal-ink); color: #fff; box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); transition: background .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { background: var(--teal-deep); color: #fff; }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn .ico { font-size: 16px; }
.btn.lg { height: 50px; padding: 0 28px; font-size: 13px; }
.btn.sm { height: 30px; padding: 0 12px; font-size: 10.5px; }
.btn.ghost { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { color: var(--teal-ink); box-shadow: inset 0 0 0 1px var(--teal); }
.btn.light { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn.light:hover { background: rgba(255,255,255,.22); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-pair { display: inline-flex; }
.btn-pair .btn + .btn { box-shadow: inset 1px 0 0 rgba(255,255,255,.25), inset 0 -2px 0 rgba(0,0,0,.18); }
.btn-save[aria-pressed="true"] .ico { fill: currentColor; }
.link-btn { border: 0; background: none; padding: 0; cursor: pointer; color: var(--teal-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-btn:hover { color: var(--teal-deep); text-decoration: underline; }

/* ------------------------------------------------------------------ hero mosaic */
.hero { padding: 28px 0 8px; }
.mosaic-grid { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 250px 250px; gap: 22px; }
.tile { position: relative; min-width: 0; overflow: hidden; border-radius: 3px; background: var(--night); color: #fff; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-start; padding: 26px 24px; box-shadow: inset 0 -4px 0 rgba(0,0,0,.25); }
.tile > svg.mosaic { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; transition: transform 1.2s var(--ease); }
.tile:hover > svg.mosaic { transform: scale(1.04); }
.tile .tile-art { position: absolute; right: -14px; bottom: -14px; z-index: -1; width: 46%; height: auto; aspect-ratio: 1; color: rgba(255,255,255,.12); stroke-width: 1.1; transition: transform .6s var(--ease), color .6s; }
.tile:hover .tile-art { transform: rotate(-6deg) scale(1.05); color: rgba(255,255,255,.2); }
.tile h2, .tile h3 { color: #fff; font: 500 18px/1.25 var(--font-head); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.tile h2 b, .tile h3 b { font-weight: 700; display: block; }
.tile .btn { align-self: flex-start; }
.tile .stretched::after { content: ""; position: absolute; inset: 0; }
.tile-main { grid-row: span 2; padding: 56px 52px; justify-content: center; }
.tile-main h1 { color: #fff; font: 500 clamp(28px, 3.3vw, 42px)/1.12 var(--font-head); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.tile-main h1 b { display: block; font-weight: 700; }
.tile-main p { max-width: 430px; color: rgba(255,255,255,.78); font-size: 16px; margin-bottom: 28px; }
.tile-main .cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tile-main .hint { font-size: 13px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 8px; }
.hero-stats { display: flex; gap: 34px; margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats div { font: 700 22px/1 var(--font-head); color: #fff; }
.hero-stats span { display: block; margin-top: 6px; font: 600 10.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* ------------------------------------------------------------------ sections */
.section { padding: 46px 0 18px; }
.sec-head { display: flex; align-items: center; margin-bottom: 30px; }
.sec-head .tri { margin-right: -8px; z-index: 1; }
.sec-head .bar { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--panel); min-height: 34px; padding: 0 0 0 26px; }
.sec-head h2 { font: 400 15px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.sec-head h2 b { font-weight: 700; font-family: var(--font-head); color: var(--ink); }
.sec-head .more { align-self: stretch; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: #e2e5e3; color: var(--ink-2);
  font: 600 11px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.sec-head .more:hover { background: var(--teal-ink); color: #fff; }

/* tool cards (template product cards) */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; list-style: none; margin: 0; padding: 0; }
.card { position: relative; display: flex; flex-direction: column; border: 4px solid var(--line); background: var(--white); border-radius: 3px;
  transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.card:hover { border-color: #cfe9e5; transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; height: 150px; display: grid; place-items: center; background: var(--milky); overflow: hidden; }
.card-media svg.mosaic { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.card-media .ticon { --s: 76px; box-shadow: 0 12px 24px -14px rgba(0,0,0,.4); background: var(--white); transition: transform .4s var(--ease); }
.card:hover .card-media .ticon { transform: scale(1.06) rotate(-3deg); }
.card-media .ticon b { font-size: 13px; padding: 3px 5px; }
.tag { position: absolute; left: 12px; top: 12px; z-index: 1; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.tag span { font: 700 10px/1 var(--font-head); letter-spacing: .06em; padding: 4px 6px; border-radius: 2px; background: var(--lime); color: #1b2508; }
.tag span.out { background: #dfe3e0; color: var(--muted); }
.badge-round { position: absolute; right: 12px; top: 12px; z-index: 1; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  font: 800 9px/1.05 var(--font-head); letter-spacing: .04em; text-transform: uppercase; background: var(--orange); color: #2b1600; box-shadow: 0 6px 14px -6px rgba(250,132,17,.8); }
.badge-round.new { background: var(--lime); color: #1b2508; box-shadow: 0 6px 14px -6px rgba(139,176,64,.9); }
.ribbon { position: absolute; right: 0; top: 0; z-index: 1; width: 86px; height: 86px; overflow: hidden; }
.ribbon span { position: absolute; right: -30px; top: 17px; width: 124px; transform: rotate(45deg); text-align: center; padding: 5px 0;
  font: 800 9px/1 var(--font-head); letter-spacing: .12em; background: var(--teal-ink); color: #fff; box-shadow: 0 3px 8px -3px rgba(0,0,0,.4); }
.card-body { flex: 1; padding: 18px 20px 6px; }
.card-body h3 { font: 700 15.5px/1.3 var(--font-head); margin-bottom: 6px; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.card-body p { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0; }
.card-foot { position: relative; z-index: 2; padding: 14px 20px 20px; display: flex; justify-content: center; }
.card-foot .btn { height: 32px; padding: 0 12px; font-size: 10.5px; }
.card.is-soon .card-media .ticon { box-shadow: none; }
.card.is-soon { border-color: #eef0ee; }
.card.is-soon .card-body h3 a { color: var(--soft); }

.compact-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.compact-list a { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.compact-list a:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.compact-list strong { display: block; font: 700 14px/1.3 var(--font-head); }
.compact-list small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.compact-list .is-soon { color: var(--soft); background: var(--milky); }
.pill-soon { display: inline-block; margin-left: 6px; font: 700 9px/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; padding: 3px 5px; border-radius: 2px; background: var(--panel); color: var(--soft); vertical-align: 2px; }

/* ------------------------------------------------------------------ strips & banners */
.strip { margin-top: 56px; background: var(--panel); }
.strip .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; min-height: 92px; }
.strip .tri.xl { margin: -26px 0 -10px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.12)); }
.strip h2 { font: 700 13.5px/1.6 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.strip h2 span { display: block; font: 500 13px/1.5 var(--font-body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.strip-facts { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.strip-facts li { display: flex; align-items: center; gap: 10px; font: 600 12px/1.3 var(--font-body); color: var(--ink-2); }
.strip-facts .ico { font-size: 22px; color: var(--teal-ink); }

.banner { position: relative; overflow: hidden; margin-top: 50px; border-radius: 3px; background: var(--night); color: #fff; text-align: center; padding: 56px 30px; isolation: isolate; }
.banner > svg.mosaic { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.banner h2 { color: #fff; font: 700 clamp(24px, 3vw, 34px)/1.1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.banner .lead { font: 500 clamp(13px, 1.4vw, 16px)/1.6 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.82); margin-bottom: 34px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto 34px; text-align: left; }
.step { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(4px); }
.step i { font: 700 13px/1 var(--font-head); font-style: normal; width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--teal-ink); }
.step strong { display: block; font: 700 14px/1.3 var(--font-head); margin-bottom: 4px; color: #fff; }
.step span { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.5; }

.brands { margin-top: 50px; background: var(--milky); }
.brands .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 104px; flex-wrap: wrap; }
.brands small { font: 700 10.5px/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.brands ul { display: flex; flex-wrap: wrap; gap: 10px 38px; list-style: none; margin: 0; padding: 0; }
.brands li { font: 300 26px/1 var(--font-body); letter-spacing: -.02em; color: #8d938f; }
.brands li b { font-weight: 600; }

/* ------------------------------------------------------------------ footer */
.footer { background: var(--panel); padding: 50px 0 34px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer .iconic-head { margin-bottom: 18px; }
.footer .iconic-head span:last-child { background: var(--white); padding: 6px 10px; }
.footer ul { list-style: none; margin: 0; padding: 0 0 0 12px; }
.footer li { margin: 0 0 7px; font-size: 13px; }
.footer li a { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.footer li a::before { content: "›"; font-weight: 700; color: var(--ink-2); }
.footer li a:hover { color: var(--teal-ink); }
.footer address { font-style: normal; font-size: 13px; color: var(--muted); padding-left: 12px; }
.footer address strong { color: var(--ink); display: block; margin-bottom: 4px; }
.footer-social { display: flex; gap: 10px; margin: 18px 0 0 12px; }
.footer-social a { display: grid; place-items: end center; }
.copyright { background: #e4e7e5; font-size: 12px; color: var(--muted); }
.copyright .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 50px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.copyright b { color: var(--ink-2); }
.copyright ul { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.copyright li + li::before { content: "|"; margin-right: 10px; color: var(--line-2); }
.copyright a { color: var(--teal-ink); }

/* ------------------------------------------------------------------ breadcrumb + page head */
.crumbs { display: flex; align-items: center; margin: 22px 0 26px; }
.crumbs .tri { margin-right: -6px; z-index: 1; }
.crumbs ol { display: flex; list-style: none; margin: 0; padding: 0; }
.crumbs li { position: relative; display: flex; align-items: center; height: 28px; padding: 0 14px 0 22px; background: var(--milky); font: 600 11px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crumbs li::after { content: ""; position: absolute; right: -10px; top: 0; z-index: 1; border-style: solid; border-width: 14px 0 14px 10px; border-color: transparent transparent transparent var(--milky); }
.crumbs li:last-child { color: var(--ink); font-weight: 700; background: var(--panel); }
.crumbs li:last-child::after { border-left-color: var(--panel); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--teal-ink); }

.page-hero { position: relative; overflow: hidden; border-radius: 3px; background: var(--night); color: #fff; padding: 44px 46px; isolation: isolate; margin-bottom: 10px; }
.page-hero > svg.mosaic { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.page-hero h1 { color: #fff; font: 500 clamp(26px, 3vw, 36px)/1.15 var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.page-hero h1 b { font-weight: 700; }
.page-hero p { color: rgba(255,255,255,.75); margin: 12px 0 0; max-width: 560px; }

/* ------------------------------------------------------------------ tool page */
.tool-box { background: var(--panel); border: 4px solid var(--line); border-radius: 3px; padding: 24px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 30px; }
.stage { position: relative; background: var(--white); border-radius: 2px; min-height: 380px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.stage .tri.corner { position: absolute; left: 14px; top: 14px; }
.dropzone { flex: 1; margin: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 34px 20px;
  border: 2px dashed var(--line-2); border-radius: var(--radius-lg); cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--teal); background: var(--teal-wash); }
.dropzone .ticon { --s: 84px; margin-bottom: 8px; }
.dropzone strong { font: 700 17px/1.3 var(--font-head); color: var(--ink); }
.dropzone small { color: var(--muted); font-size: 13px; }
.dropzone .btn { margin-top: 8px; }
.stage.has-files .dropzone { flex: 0 0 auto; flex-direction: row; padding: 12px 16px; gap: 14px; justify-content: flex-start; text-align: left; }
.stage.has-files .dropzone .ticon, .stage.has-files .dropzone .btn, .stage.has-files .dropzone .dz-or { display: none; }
.stage.has-files .dropzone strong { font-size: 13.5px; }
.stage.has-files .dropzone .dz-plus { display: grid; }
.dz-plus { display: none; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-ink); color: #fff; font-size: 18px; flex: none; }

.files { list-style: none; margin: 0 18px 18px; padding: 0; display: grid; gap: 8px; max-height: 420px; overflow: auto; }
.file { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 12px; padding: 10px 10px 10px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: box-shadow .2s, border-color .2s, opacity .2s; animation: pop .25s var(--ease); }
.file.is-drag { opacity: .4; }
.file.is-target { border-color: var(--teal); box-shadow: 0 -3px 0 var(--teal); }
.file .grip { cursor: grab; color: var(--soft); font-size: 18px; border: 0; background: none; padding: 4px; touch-action: none; }
.file .thumb { width: 40px; height: 40px; border-radius: 3px; object-fit: cover; background: var(--milky); display: grid; place-items: center; font: 800 9px/1 var(--font-head); color: var(--muted); }
.file .meta { min-width: 0; }
.file .name { font-weight: 700; font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file .size { font-size: 12px; color: var(--muted); }
.file .acts { display: flex; gap: 2px; }
.icon-btn { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: var(--radius); background: none; cursor: pointer; color: var(--muted); font-size: 16px; }
.icon-btn:hover { background: var(--milky); color: var(--ink); }
.icon-btn.danger:hover { color: var(--coral); background: var(--coral-wash); }
@keyframes pop { from { opacity: 0; transform: translateY(4px); } }

.tool-info { padding: 8px 6px 6px 0; display: flex; flex-direction: column; }
.tool-info .head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.tool-info .head .ticon { --s: 52px; }
.tool-info h1 { font: 700 22px/1.2 var(--font-head); letter-spacing: .02em; text-transform: uppercase; margin-top: 2px; }
.tool-info .sub { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tool-info .about { color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.mode-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 20px; font: 700 10px/1 var(--font-head); letter-spacing: .08em; background: var(--white); color: var(--teal-ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.mode-chip .ico { font-size: 12px; }

.opts { display: grid; gap: 14px; margin: 6px 0 22px; }
.field { display: grid; gap: 6px; }
.field > label, .field > .label { font: 700 11px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--muted); line-height: 1.45; }
.input, select.input, textarea.input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
textarea.input { height: auto; padding: 10px 12px; resize: vertical; min-height: 84px; line-height: 1.5; }
select.input { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23323232' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-wash); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal-ink); }
.range { display: flex; align-items: center; gap: 12px; }
.range input { flex: 1; accent-color: var(--teal-ink); }
.range output { min-width: 42px; text-align: right; font: 700 13px/1 var(--font-head); color: var(--ink); }
.segmented { display: inline-flex; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line-2); border-radius: 2px; padding: 3px; gap: 3px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span { display: block; padding: 7px 12px; border-radius: 2px; font: 700 11px/1 var(--font-head); letter-spacing: .06em; color: var(--muted); transition: background .2s, color .2s; }
.segmented input:checked + span { background: var(--teal-ink); color: #fff; }
.segmented input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 1px; }

.actions { display: flex; gap: 0; align-items: center; flex-wrap: wrap; }
.actions .btn.lg { min-width: 220px; }
.actions .btn.lg.btn-save { min-width: 0; width: 52px; padding: 0; }
.fine { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 12px; color: var(--muted); }
.fine span { display: inline-flex; align-items: center; gap: 6px; }
.fine .ico { color: var(--teal-ink); font-size: 14px; }

/* progress + results */
.progress { margin: 0 18px 18px; padding: 18px; border-radius: var(--radius); background: var(--milky); display: none; }
.progress.is-on { display: block; }
.progress .row { display: flex; justify-content: space-between; font-weight: 700; font-size: 13.5px; color: var(--ink); margin-bottom: 10px; }
.progress .row span:last-child { color: var(--muted); font-weight: 600; }
.bar-track { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--teal-ink), var(--teal)); transition: width .3s var(--ease); }
.bar-fill.is-indeterminate { width: 35%; animation: slide 1.2s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

.result { display: none; margin: 18px; padding: 26px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--teal-wash), var(--white)); border: 1px solid #cfe9e5; text-align: center; animation: pop .35s var(--ease); }
.result.is-on { display: block; }
.result .done-mark { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-ink); color: #fff; font-size: 26px; box-shadow: 0 0 0 8px rgba(29,167,150,.15); }
.result h2 { font: 700 19px/1.3 var(--font-head); margin-bottom: 4px; }
.result .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.result .downloads { display: grid; gap: 8px; text-align: left; margin-bottom: 16px; list-style: none; padding: 0; }
.result .downloads a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 13.5px; }
.result .downloads a:hover { border-color: var(--teal); }
.result .downloads a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result .downloads small { color: var(--muted); font-weight: 600; }
.result .downloads .ico { color: var(--teal-ink); font-size: 18px; }
.result .again { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.notes { text-align: left; margin: 0 0 16px; padding: 12px 14px; border-radius: var(--radius); background: #fff7ec; border: 1px solid #fde2c2; font-size: 13px; color: #7a4a12; list-style: none; }
.notes li + li { margin-top: 4px; }
.notes.err { background: var(--coral-wash); border-color: #f3c9c0; color: #8a2c1c; }
.expire { font-size: 12px; color: var(--muted); margin-top: 12px; }

/* tabs below tool box (template "editor review" tabs) */
.details { display: grid; grid-template-columns: 300px 1fr; margin-top: 26px; }
.tabs { display: flex; flex-direction: column; gap: 10px; }
.tabs button { text-align: left; border: 0; cursor: pointer; padding: 16px 18px; background: var(--panel); font: 600 12.5px/1 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--teal-ink); color: #fff; }
.tabs button:hover:not([aria-selected="true"]) { background: #e5e8e6; }
.tab-panels { background: var(--panel); padding: 26px 30px; min-height: 220px; }
.tab-panels h2 { font: 700 15px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .04em; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.tab-panels p, .tab-panels li { font-size: 14px; color: var(--muted); line-height: 1.75; }
.tab-panels ol { padding-left: 18px; }
.tab-panels [hidden] { display: none; }
.faq details { border-bottom: 1px solid var(--line-2); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { margin: 8px 0 0; }

/* ------------------------------------------------------------------ QR tool */
.qr-stage { padding: 52px 26px 26px; align-items: center; justify-content: flex-start; gap: 18px; }
.qr-frame { width: 100%; max-width: 360px; aspect-ratio: 1; padding: 18px; border-radius: var(--radius-lg); background: repeating-conic-gradient(#f4f5f4 0 25%, #fff 0 50%) 0 0 / 18px 18px; border: 1px solid var(--line); display: grid; place-items: center; }
.qr-frame canvas { width: 100%; height: 100%; image-rendering: pixelated; border-radius: 2px; box-shadow: 0 14px 30px -18px rgba(0,0,0,.45); }
.qr-stage .size-row { display: flex; gap: 10px; width: 100%; max-width: 360px; }
.qr-stage .size-row select { flex: 1; }
.qr-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 360px; }
.qr-meta { font-size: 12.5px; color: var(--muted); text-align: center; min-height: 1.4em; }
.qr-types { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.qr-types button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-2); background: var(--white); border-radius: 2px; cursor: pointer; padding: 8px 11px; font: 700 11px/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: all .2s; }
.qr-types button .ico { font-size: 15px; }
.qr-types button:hover { color: var(--ink); border-color: var(--soft); }
.qr-types button[aria-selected="true"] { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.qr-panel { display: none; gap: 12px; }
.qr-panel.is-on { display: grid; }
.qr-custom { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qr-custom .full { grid-column: 1 / -1; }
.swatches { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.swatches button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--teal); }
.swatches input[type="color"] { width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
.logo-pick { display: flex; gap: 10px; align-items: center; }
.logo-pick img { width: 42px; height: 42px; object-fit: contain; border-radius: 4px; border: 1px solid var(--line); background: var(--white); }

/* ------------------------------------------------------------------ search palette + smart drop */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(15, 18, 17, .55); backdrop-filter: blur(3px); display: none; align-items: flex-start; justify-content: center; padding: 10vh 16px 16px; }
.overlay.is-on { display: flex; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.palette { width: 100%; max-width: 620px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border-top: 3px solid var(--teal); animation: pop .2s var(--ease); }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.palette-input .ico { font-size: 20px; color: var(--muted); }
.palette-input input { flex: 1; height: 60px; border: 0; outline: none; font-size: 17px; font-weight: 600; background: none; }
.palette-input kbd { font: 600 10px/1 var(--font-head); padding: 4px 6px; border: 1px solid var(--line-2); border-radius: 3px; color: var(--soft); }
.palette-list { list-style: none; margin: 0; padding: 8px; max-height: min(60vh, 460px); overflow: auto; }
.palette-list .group { padding: 10px 10px 6px; font: 700 10px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.palette-list a { display: flex; align-items: center; gap: 14px; padding: 9px 10px; border-radius: var(--radius); color: var(--ink); }
.palette-list a .ticon { --s: 34px; }
.palette-list a strong { display: block; font: 700 14px/1.3 var(--font-head); }
.palette-list a small { display: block; font-size: 12.5px; color: var(--muted); }
.palette-list a.is-active, .palette-list a:hover { background: var(--teal-wash); }
.palette-list a .go { margin-left: auto; color: var(--teal-ink); opacity: 0; font-size: 16px; }
.palette-list a.is-active .go { opacity: 1; }
.palette-empty { padding: 30px; text-align: center; color: var(--muted); }
.palette-file { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--milky); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.palette-file strong { color: var(--ink); }

.drop-veil { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; background: rgba(14, 95, 85, .88); color: #fff; text-align: center; pointer-events: none; }
.drop-veil.is-on { display: grid; animation: fade .15s; }
.drop-veil .ring { width: min(520px, 80vw); aspect-ratio: 1.6; border: 3px dashed rgba(255,255,255,.6); border-radius: 18px; display: grid; place-items: center; align-content: center; gap: 12px; padding: 20px; }
.drop-veil .ico { font-size: 48px; }
.drop-veil strong { font: 700 24px/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 95; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--night); color: #fff; padding: 12px 18px; border-radius: var(--radius); font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow); transition: opacity .25s, transform .25s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ prose pages */
.prose { max-width: 760px; }
.prose h2 { font: 700 18px/1.3 var(--font-head); margin: 30px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: 15px; line-height: 1.8; }
.prose code { font-size: 13px; background: var(--milky); padding: 2px 5px; border-radius: 3px; }
.not-found { text-align: center; padding: 60px 0 20px; }
.not-found .tri { margin: 0 auto 20px; }
.not-found h1 { font: 700 30px/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .search-btn { min-width: 0; }
  .search-btn span, .search-btn kbd { display: none; }
  .nav > li > a, .nav > li > button { padding: 0 12px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .mosaic-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: auto; }
  .tile-main { grid-row: span 2; }
  .mosaic-grid .tile:not(.tile-main) { min-height: 220px; }
  .mosaic-grid .tile:nth-child(n+4) { display: none; }
}
@media (max-width: 900px) {
  :root { --gutter: 16px; }
  .topbar li.hide-sm { display: none; }
  .masthead .wrap { grid-template-columns: auto 1fr auto; padding-top: 14px; padding-bottom: 14px; }
  .masthead .meta-links { display: none; }
  .logo-mark { width: 36px; height: 40px; }
  .logo-word { font-size: 19px; letter-spacing: .3em; }
  .menu-toggle { display: grid; place-items: center; grid-column: 3; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); cursor: pointer; font-size: 20px; }
  .navbar .wrap { padding: 0; }
  .navbar-inner { flex-wrap: wrap; border-bottom-width: 1px; }
  .nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; padding: 6px 0 12px; background: var(--white); border-top: 1px solid var(--line); max-height: calc(100vh - 120px); overflow: auto; }
  .navbar.menu-open .nav { display: flex; }
  .nav > li { flex-direction: column; }
  .nav > li > a, .nav > li > button { padding: 14px var(--gutter); min-height: 48px; justify-content: space-between; border-bottom: 1px solid var(--line); margin: 0; }
  .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; padding: 10px var(--gutter) 16px; max-width: none; background: var(--milky); }
  .nav > li.is-open > .mega { display: block; }
  .mega-grid, .mega-grid.cols-2 { grid-template-columns: 1fr 1fr; gap: 18px; }
  .mega-promo, .mega-foot { display: none; }
  .nav-tools { flex: 1; }
  .search-btn { flex: 1; justify-content: flex-start; padding: 0 var(--gutter); }
  .search-btn span { display: inline; }
  .drop-btn small { display: none; }
  .mosaic-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tile-main { grid-column: 1 / -1; grid-row: auto; padding: 40px 28px; }
  .mosaic-grid .tile:nth-child(n+4) { display: flex; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .strip .wrap { grid-template-columns: auto 1fr; padding-top: 18px; padding-bottom: 18px; }
  .strip .tri.xl { width: 70px; height: 62px; margin: 0; }
  .strip .tri.xl .ico { font-size: 24px; margin-bottom: 10px; }
  .strip-facts { grid-column: 1 / -1; flex-wrap: wrap; gap: 14px 22px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tool-box { grid-template-columns: 1fr; padding: 14px; gap: 18px; border-width: 3px; }
  .tool-info { order: -1; padding: 6px; }
  .details { grid-template-columns: 1fr; }
  .tabs { flex-direction: row; overflow-x: auto; gap: 6px; }
  .tabs button { white-space: nowrap; padding: 13px 14px; }
  .tab-panels { padding: 20px; }
  .page-hero { padding: 32px 24px; }
}
@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .topbar ul:last-child { display: none; }
  .drop-btn strong { display: none; }
  .drop-btn { padding: 0 14px; }
  .mosaic-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tile-main { padding: 34px 22px; }
  .tile-main .cta-row .btn { flex: 1 1 auto; }
  .hero-stats { flex-wrap: wrap; }
  .mosaic-grid .tile:not(.tile-main) { min-height: 170px; }
  .hero-stats { gap: 20px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .sec-head h2 { font-size: 13px; }
  .sec-head .bar { padding-left: 20px; }
  .mega-grid, .mega-grid.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .qr-custom { grid-template-columns: 1fr; }
  .actions .btn-pair { display: flex; width: 100%; }
  .actions .btn.lg { flex: 1; min-width: 0; }
  .actions .btn.lg.btn-save { flex: 0 0 52px; }
  .file { grid-template-columns: auto 1fr auto; }
  .file .thumb { display: none; }
  .brands li { font-size: 20px; }
}
