/* Autonome PDF: the Autonome website's design language (packages/site/public/style.css): warm neutrals, the amber brand
   colour, near-black buttons that turn amber on hover, 8px buttons, 12px cards with soft shadows, system type. */
:root {
  color-scheme: light dark;
  --bg: #f6f6f4; --fg: #181816; --muted: #52524a; --line: #d0d0c8; --line-strong: #6e6e65;
  --accent: #1c1c19; --accent-fg: #ffffff; --link: #854d00; --card: #ffffff; --code: #eaeae5;
  --brand: #f5a524; --brand-strong: #854d00; --brand-soft: #fdf3e2; --brand-fg: #1a1206; --danger: #b42318;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 18px 50px rgba(24, 24, 22, 0.14), 0 4px 12px rgba(24, 24, 22, 0.06);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wide: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121316; --fg: #f4f4f0; --muted: #c4c6cc; --line: #383c45; --line-strong: #7c818d; --accent: #f4f4f0; --accent-fg: #121316; --link: #f7b955; --card: #1b1d22; --code: #252830; --brand-strong: #f7b955; --brand-soft: #2c2212; --danger: #f97066; --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.45); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
a:hover { color: var(--fg); text-decoration-color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.ico { flex: none; vertical-align: -0.2em; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1.25rem; width: 100%; }
.wrap-wide { max-width: 1480px; margin: 0 auto; padding: 0 1rem; width: 100%; }
.narrow { max-width: 46rem; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--brand); color: var(--brand-fg); font-weight: 700; padding: 0.65rem 1.1rem; z-index: 300; }
.skip:focus { left: 0; }
.small { font-size: 0.92rem; color: var(--muted); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); line-height: 1.08; letter-spacing: -0.03em; margin: 0.4rem 0 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 1rem; }
h3 { font-size: 1.12rem; line-height: 1.35; margin: 0.75rem 0 0.4rem; }
.lede { font-size: 1.2rem; line-height: 1.6; color: var(--muted); margin: 0 0 1.5rem; max-width: 36rem; }
.kicker, .eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-strong); margin: 0 0 0.5rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.45rem; text-transform: none; letter-spacing: 0; font-size: 0.9rem; background: var(--brand-soft); color: var(--fg); padding: 0.35rem 0.75rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent); }

/* The sponsor line: present on every page, quiet. */
.sponsor { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.15rem 0.9rem; padding: 0.45rem 1rem; background: var(--accent); color: var(--accent-fg); font-size: 0.88rem; text-align: center; }
.sponsor a { color: var(--brand); font-weight: 700; min-height: 2rem; display: inline-flex; align-items: center; }
.sponsor a:hover { color: var(--accent-fg); }

/* Header */
.top { background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); position: sticky; top: 0; z-index: 60; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--fg); text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand b { color: var(--brand-strong); }
.brand:hover { color: var(--fg); }
.mark { border-radius: 7px; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a { color: var(--fg); text-decoration: none; font-weight: 600; font-size: 0.97rem; padding: 0.55rem 0.75rem; border-radius: 8px; min-height: 2.75rem; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--code); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }

/* Buttons, as the site's */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 2.75rem; padding: 0.65rem 1.25rem; border-radius: 8px; font-family: inherit; font-weight: 700; font-size: 0.97rem; line-height: 1.25; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; white-space: nowrap; border: 1.5px solid var(--line-strong); background: var(--card); color: var(--fg); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.btn:hover { transform: translateY(-2px); border-color: var(--brand-strong); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12); color: var(--fg); }
.btn:active { transform: translateY(0); }
.btn.primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14), 0 1px 2px rgba(0, 0, 0, 0.08); }
.btn.primary:hover { background: var(--brand); color: var(--brand-fg); border-color: var(--brand-strong); box-shadow: 0 6px 18px rgba(245, 165, 36, 0.36); }
.btn.secondary { border-color: var(--fg); }
.btn.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 60%, transparent); }
.btn[disabled] { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.25rem; }
.text-button, .link-button { font: inherit; font-weight: 600; background: none; border: 0; padding: 0.5rem 0; min-height: 2.75rem; color: var(--link); cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
.text-button:hover, .link-button:hover { color: var(--fg); text-decoration-color: var(--brand); }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); background: radial-gradient(60rem 30rem at 85% -10%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: 2; } }
.drop { border: 2px dashed var(--line-strong); border-radius: 16px; background: var(--card); padding: 1.6rem 1.25rem; text-align: center; box-shadow: var(--shadow); transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s var(--ease); }
.drop-icon { width: 3.25rem; height: 3.25rem; margin: 0 auto 0.5rem; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); }
.drop-title { font-weight: 800; font-size: 1.2rem; margin: 0; letter-spacing: -0.01em; }
.drop-sub { color: var(--muted); margin: 0.1rem 0 1rem; font-size: 0.95rem; }
.drop-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
@media (max-width: 520px) { .drop-actions .btn { width: 100%; } }
.hero-note { color: var(--muted); font-size: 0.93rem; margin: 0.9rem 0 0; }
body.dragging .drop { border-color: var(--brand); background: var(--brand-soft); transform: scale(1.01); }
body.dragging::after { content: "Drop PDFs to open them"; position: fixed; inset: 0.75rem; z-index: 250; display: grid; place-items: center; font: 800 1.6rem/1.2 system-ui, sans-serif; color: var(--brand-fg); background: color-mix(in srgb, var(--brand) 82%, transparent); border: 3px dashed var(--brand-fg); border-radius: 20px; pointer-events: none; }

/* The product picture: the editor, drawn in HTML */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); }
@media (max-width: 960px) { .mock { transform: none; } }
.mock-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.mock-name { font-weight: 700; font-size: 0.82rem; margin-right: auto; }
.mock-pill { font-size: 0.72rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.55rem; color: var(--muted); }
.mock-pill.on { background: var(--brand-soft); border-color: var(--brand); color: var(--fg); font-weight: 700; }
.mock-save { font-size: 0.72rem; font-weight: 700; background: var(--accent); color: var(--accent-fg); border-radius: 6px; padding: 0.2rem 0.6rem; }
.mock-body { display: grid; grid-template-columns: 3.5rem 1fr 7rem; gap: 0.75rem; padding: 0.9rem; background: var(--code); min-height: 19rem; }
.mock-thumbs { display: flex; flex-direction: column; gap: 0.5rem; }
.mock-thumbs i { display: block; aspect-ratio: 0.72; background: var(--card); border: 1px solid var(--line); border-radius: 4px; }
.mock-thumbs i.on { outline: 2px solid var(--brand); }
.mock-page { background: #fff; border-radius: 4px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); padding: 1.2rem 1.1rem; position: relative; display: flex; flex-direction: column; gap: 0.55rem; }
.mock-head { display: block; height: 0.9rem; width: 55%; background: #181816; border-radius: 3px; margin-bottom: 0.4rem; }
.mock-line { display: block; height: 0.45rem; background: #d9d9d2; border-radius: 3px; width: 100%; }
.mock-line.w40 { width: 40%; } .mock-line.w60 { width: 60%; } .mock-line.w70 { width: 70%; } .mock-line.w80 { width: 80%; }
.mock-line.redacted { background: #111; height: 0.8rem; }
.mock-stamp { position: absolute; right: 1rem; top: 1.1rem; font: 800 0.7rem/1 system-ui; color: #15803d; border: 2px solid #15803d; border-radius: 4px; padding: 0.25rem 0.4rem; transform: rotate(-8deg); }
.mock-sig { position: absolute; left: 1rem; bottom: 0.6rem; color: #1d3a8a; }
.mock-panel { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 0.6rem; display: flex; flex-direction: column; gap: 0.45rem; }
.mock-k { font-size: 0.72rem; font-weight: 700; }
.mock-btn { display: block; height: 1.3rem; border-radius: 5px; background: var(--brand); margin-top: auto; }
@media (max-width: 520px) { .mock-body { grid-template-columns: 2.5rem 1fr; min-height: 14rem; } .mock-panel { display: none; } }

/* Sections */
.band { padding: clamp(3rem, 7vw, 5rem) 0; }
.band.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin: 1.5rem 0 1.25rem; }
.tool-card, .card { background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 1.2rem 1.3rem; box-shadow: var(--shadow); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s ease; }
.tool-card:hover, .grid3 .card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08); border-color: var(--line-strong); }
.tool-card .ti { width: 2.5rem; height: 2.5rem; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); margin-bottom: 0.4rem; }
.tool-card h3 { margin: 0.35rem 0 0.25rem; font-size: 1.02rem; }
.tool-card p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.band.alt .card, .band.alt .tool-card { background: var(--bg); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.grid3 .card .ico { color: var(--brand-strong); }
.grid3 .card p { color: var(--muted); margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 1rem; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.ticks li { display: flex; gap: 0.6rem; align-items: flex-start; }
.ticks .ico { color: var(--brand-strong); margin-top: 0.2rem; }
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 22rem)); gap: 1.25rem; margin-top: 1.5rem; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }
.price-card { background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 1.6rem; display: flex; flex-direction: column; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); }
.price-card.featured { border: 2px solid var(--brand); box-shadow: 0 6px 26px rgba(245, 165, 36, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06); }
.price-card h3 { margin: 0; }
.price-tag { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; margin: 0.35rem 0 0; line-height: 1.1; }
.price-sub { color: var(--muted); font-size: 0.92rem; margin: 0.2rem 0 1.1rem; font-weight: 500; }
.price-card .btn-row { margin-top: auto; padding-top: 1.25rem; }
details { border-bottom: 1px solid var(--line); padding: 0.35rem 0; }
summary { cursor: pointer; font-weight: 700; padding: 0.7rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 2.75rem; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--brand-strong); line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); margin: 0 0 0.9rem; }
.built { background: var(--accent); color: var(--accent-fg); padding: clamp(2.5rem, 6vw, 3.75rem) 0; }
.built .kicker { color: var(--brand); }
.built p { color: color-mix(in srgb, var(--accent-fg) 78%, transparent); max-width: 38rem; margin: 0; }
.built h2 { color: var(--accent-fg); }
.built-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.built .btn.secondary { background: transparent; color: var(--accent-fg); border-color: var(--accent-fg); }
.built .btn.secondary:hover { background: var(--brand); color: var(--brand-fg); border-color: var(--brand); }

/* The editor */
.tool { padding: 1rem 0 2rem; }
.tool-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.tool-head .keys-open { margin-left: auto; }
.skeleton { display: none; }
.tool.loading .skeleton { display: block; }
.tool.loading #studio { visibility: hidden; height: 0; overflow: hidden; }
.sk-bar, .sk-thumbs, .sk-page { background: linear-gradient(90deg, var(--code) 25%, color-mix(in srgb, var(--code) 55%, var(--card)) 50%, var(--code) 75%); background-size: 200% 100%; animation: shimmer 1.3s ease-in-out infinite; border-radius: 10px; }
.sk-bar { height: 3rem; margin-bottom: 0.75rem; }
.sk-body { display: grid; grid-template-columns: 9rem 1fr; gap: 0.75rem; height: 70vh; }
.sk-page { max-width: 48rem; width: 100%; justify-self: center; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 640px) { .sk-body { grid-template-columns: 1fr; } .sk-thumbs { display: none; } }

/* PDF Studio in Autonome's colours, and a properties panel on the right on wide screens */
.tool .pdfs { --o: #f5a524; --o6: #854d00; --o1: var(--brand-soft); --t: var(--fg); --m: var(--muted); --b: var(--line); --bg: var(--card); --soft: var(--bg); font-family: inherit; }
.tool .pdfs-bar { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0.55rem 0.75rem; box-shadow: var(--shadow); }
.tool .pdfs-name { font-size: 1rem; }
.tool .pdfs-btn, .tool .pdfs-tool { border-radius: 8px; font-weight: 600; }
.tool .pdfs-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.tool .pdfs-primary:hover:not(:disabled) { background: var(--brand); border-color: var(--brand-strong); color: var(--brand-fg); }
.tool .pdfs-tool[aria-pressed="true"] { background: var(--brand-soft); border-color: var(--brand); }
.tool .pdfs-viewer-box { border-radius: 12px; box-shadow: var(--shadow); }
.tool .pdfs-panel { background: var(--card); border-radius: 12px; }
@media (min-width: 1180px) {
  .tool .pdfs { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; grid-template-areas: "banner banner" "bar bar" "status status" "viewer panel" "empty empty"; align-items: start; column-gap: 0.75rem; }
  .tool .pdfs-banner { grid-area: banner; } .tool .pdfs-bar { grid-area: bar; } .tool .pdfs-status { grid-area: status; }
  .tool .pdfs-viewer-box { grid-area: viewer; } .tool .pdfs-empty { grid-area: empty; }
  .tool .pdfs-panel { grid-area: panel; position: sticky; top: 5rem; }
  .tool .pdfs:has(.pdfs-panel[hidden]) { grid-template-columns: minmax(0, 1fr) 0; column-gap: 0; }
}

/* Team page, dialogs, toasts */
.team { padding-top: 2rem; padding-bottom: 3rem; max-width: 52rem; }
.team .card { margin: 0 0 1rem; }
.card h2 { font-size: 1.25rem; margin: 0 0 0.75rem; }
.row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; margin: 0.5rem 0; }
.row > input { flex: 1 1 14rem; min-width: 0; }
input[type=email], input[type=text], input[type=number] { font: inherit; padding: 0.6rem 0.8rem; min-height: 2.75rem; border: 1.5px solid var(--line); border-radius: 8px; background: var(--card); color: var(--fg); }
input:focus { border-color: var(--brand); }
.list { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.list li { display: flex; gap: 0.6rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.list li .what { min-width: 0; overflow-wrap: anywhere; }
.notice { padding: 0.75rem 1rem; border-radius: 10px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); margin: 0 0 1rem; }
.notice.error { background: transparent; border-color: var(--danger); color: var(--danger); }
.meter { height: 0.55rem; background: var(--code); border-radius: 99px; overflow: hidden; margin: 0.5rem 0; }
.meter > span { display: block; height: 100%; background: var(--brand); }
.share-url { width: 100%; }
.modal { border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; width: min(32rem, calc(100vw - 2rem)); background: var(--card); color: var(--fg); box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(18, 19, 22, 0.5); backdrop-filter: blur(2px); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.modal-head h2 { margin: 0; font-size: 1.3rem; }
.keys { width: 100%; border-collapse: collapse; }
.keys td { padding: 0.45rem 0; border-top: 1px solid var(--line); }
kbd { font: 600 0.85rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--code); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 0.1rem 0.4rem; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); background: var(--accent); color: var(--accent-fg); padding: 0.75rem 1.1rem; border-radius: 10px; z-index: 280; max-width: calc(100vw - 2rem); box-shadow: var(--shadow-lg); display: flex; gap: 0.5rem; align-items: center; animation: rise 0.25s var(--ease); }
.toast .ico { color: var(--brand); }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 0.5rem); } }

/* Footer, as the site's */
.foot { border-top: 1px solid var(--line); background: var(--card); padding: 2.5rem 0; color: var(--muted); font-size: 0.95rem; margin-top: auto; }
.foot-grid { display: grid; gap: 1.5rem; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
.foot h2 { font-size: 0.95rem; margin: 0 0 0.5rem; color: var(--fg); letter-spacing: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.1rem; }
.foot ul a, .foot .text-button { min-height: 2.25rem; display: inline-flex; align-items: center; padding: 0; }

.preview-ribbon { position: fixed; top: 14px; right: -34px; z-index: 400; transform: rotate(45deg); background: #7c3aed; color: #fff; font: 700 12px/1 system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 40px; pointer-events: none; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hide-sm { display: none !important; }
  .sponsor { font-size: 0.82rem; padding: 0.35rem 1rem; }
  .top-row { min-height: 3.5rem; }
  .nav a { padding: 0.5rem 0.6rem; }
  .brand span { font-size: 1.05rem; }
  .tool-head .keys-open { display: none; }
  .tools { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .tool-card { padding: 0.85rem; }
  .tool-card h3 { font-size: 0.95rem; }
  .tool-card p { font-size: 0.82rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .band { padding: 2.5rem 0; }
}
.badge { display: inline-block; font-size: 0.8rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); border: 1px solid var(--brand); }
