/* ==========================================================================
   Konvertor — design tokens & styles
   Palette: warm paper + graphite ink + marigold accent (transformation motif)
   Type: Bricolage Grotesque (display) / IBM Plex Sans (body) / IBM Plex Mono (data)
   ========================================================================== */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  /* -- light theme (default) -- */
  --bg: #f4f5f1;
  --surface: #ffffff;
  --surface-2: #ebeae2;
  --ink: #1e2321;
  --ink-muted: #5b655f;
  --ink-faint: #8b938c;
  --accent: #d97812;
  --accent-strong: #b8630c;
  --accent-ink: #1e2321;
  --line: #dcdace;
  --line-strong: #c7c4b4;
  --success: #2f8f5b;

  /* Format identity colors for the tile badges — fixed across both
     themes on purpose (like a language badge on GitHub): the color is
     part of what makes each format instantly recognizable, so it
     shouldn't shift when the site's own theme does. */
  --fmt-jpg: #b8602e;
  --fmt-png: #2a6ca0;
  --fmt-webp: #7548b8;
  --fmt-heic: #b0466f;
  --fmt-pdf: #a6551e;
  --fmt-multi: #3f7d7a;
  --fmt-qr: #2e8558;
  --fmt-text: #4a5a68;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 1px 2px rgba(30, 35, 33, 0.05), 0 12px 28px -16px rgba(30, 35, 33, 0.16);

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --container: 1180px;
}

/* Dari (fa) uses Perso-Arabic script — Latin faces have no glyphs for it,
   so every role swaps to Vazirmatn via the same token names. */
:root[lang="fa"] {
  --font-display: "Vazirmatn", "Segoe UI", sans-serif;
  --font-body: "Vazirmatn", "Segoe UI", sans-serif;
  --font-mono: "Vazirmatn", "Segoe UI", sans-serif;
}

/* Arabic script is cursive/joining — letter-spacing and uppercase both
   break letterforms, so both are neutralised for any RTL page. */
[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .badge { letter-spacing: 0; }
[dir="rtl"] .hero h1,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 { letter-spacing: normal; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14171a;
    --surface: #1b1f1c;
    --surface-2: #21251f;
    --ink: #ece9e1;
    --ink-muted: #9aa39a;
    --ink-faint: #6a736a;
    --accent: #f2a03d;
    --accent-strong: #f6b45f;
    --accent-ink: #14171a;
    --line: #2b2f2a;
    --line-strong: #3a3f38;
    --success: #4caf7d;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.35), 0 12px 28px -16px rgba(0, 0, 0, 0.6);
  }
}

:root[data-theme="dark"] {
  --bg: #14171a;
  --surface: #1b1f1c;
  --surface-2: #21251f;
  --ink: #ece9e1;
  --ink-muted: #9aa39a;
  --ink-faint: #6a736a;
  --accent: #f2a03d;
  --accent-strong: #f6b45f;
  --accent-ink: #14171a;
  --line: #2b2f2a;
  --line-strong: #3a3f38;
  --success: #4caf7d;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.35), 0 12px 28px -16px rgba(0, 0, 0, 0.6);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 500;
}

.lede {
  color: var(--ink-muted);
  font-size: 1.0625rem;
  max-width: 46ch;
}

/* ---------------- header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.logo .logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
}
.logo .logo-mark svg { width: 18px; height: 18px; }

.main-nav {
  display: flex;
  gap: 1.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.15s ease;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.icon-btn:hover, .icon-btn:focus-visible { color: var(--ink); border-color: var(--line-strong); }
.icon-btn svg { width: 18px; height: 18px; }

.lang-select {
  height: 38px;
  padding-inline: 0.6rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
}
.lang-select:hover { border-color: var(--line-strong); }
.icon-btn .icon-moon { display: none; }
:root[data-theme="dark"] .icon-btn .icon-sun,
:root:not([data-theme="light"]) .icon-btn .icon-sun { display: none; }
:root[data-theme="dark"] .icon-btn .icon-moon,
:root:not([data-theme="light"]) .icon-btn .icon-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .icon-btn .icon-sun { display: block; }
  :root:not([data-theme="dark"]) .icon-btn .icon-moon { display: none; }
}
:root[data-theme="light"] .icon-btn .icon-sun { display: block !important; }
:root[data-theme="light"] .icon-btn .icon-moon { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------------- hero ---------------- */

.hero {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.hero-copy { display: flex; flex-direction: column; gap: 1.1rem; max-width: 62ch; }

.hero h1 {
  font-size: clamp(2.15rem, 4vw + 0.6rem, 3.4rem);
  letter-spacing: -0.015em;
}
.hero h1 .accent-word { color: var(--accent-strong); }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 0.9rem;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 190px;
}
.trust-item svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 0.1rem;
  color: var(--accent-strong);
}
.trust-item .trust-title { font-weight: 600; font-size: 0.875rem; }
.trust-item .trust-desc { font-size: 0.8125rem; color: var(--ink-muted); }

/* ---- tiles: every conversion is its own big, plainly-labelled button ---- */

.tiles-section {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.tiles-group { display: flex; flex-direction: column; gap: 0.85rem; }

.tiles-group-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  margin: 0;
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.25rem 0.75rem;
  min-height: 108px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.1s ease;
}
.tile:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.tile:active { transform: scale(0.98); }
.tile-label {
  font-weight: 600;
  font-size: 0.8125rem;
  text-align: center;
  line-height: 1.25;
  color: var(--ink-muted);
}

/* Format badges — color encodes format identity (JPG is always the same
   hue everywhere on the site), not decoration, so every tile reads at a
   glance instead of looking like fourteen identical grey buttons. */
.tile-badges {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
}
.fmt-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  padding: 0.32rem 0.6rem;
  border-radius: var(--radius-sm);
  color: #fff;
  white-space: nowrap;
}
.fmt-jpg   { background: var(--fmt-jpg); }
.fmt-png   { background: var(--fmt-png); }
.fmt-webp  { background: var(--fmt-webp); }
.fmt-heic  { background: var(--fmt-heic); }
.fmt-pdf   { background: var(--fmt-pdf); }
.fmt-multi { background: var(--fmt-multi); font-size: 0.6875rem; }
.fmt-text  { background: var(--fmt-text); }

.tile-arrow { color: var(--ink-faint); font-size: 1.1rem; line-height: 1; }

.tile-icon-chip {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tile-icon-chip svg { width: 24px; height: 24px; color: #fff; }
.fmt-chip-qr { background: var(--fmt-qr); }

/* QR tiles have no badges — their label is the main (not caption) text,
   so it keeps the original, more readable size. */
#tile-qr-generate .tile-label,
#tile-qr-read .tile-label {
  font-size: 0.9375rem;
  color: var(--ink);
}

/* ---- modal: opens for one tile at a time ---- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 23, 21, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 4vw, 2rem);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 1rem;
  padding-inline-end: 2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.modal-close:hover { color: var(--ink); border-color: var(--line-strong); }
.modal-close svg { width: 16px; height: 16px; }

.dropzone {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  cursor: pointer;
  text-align: start;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.dropzone.is-dragover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
}
.dropzone-title { font-weight: 600; font-size: 1.0625rem; }
.dropzone-hint { font-size: 0.875rem; color: var(--ink-muted); font-family: var(--font-mono); }

.dropzone .btn-browse {
  align-self: flex-start;
  margin-top: 0.2rem;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-muted);
}

/* result / preview state inside dropzone */
.file-result {
  display: none;
  gap: 1rem;
  align-items: center;
}
.file-result.is-active { display: flex; }
.file-result .thumb {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.file-result .thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-result .thumb svg { width: 24px; height: 24px; color: var(--ink-faint); }
.file-meta { min-width: 0; }
.file-name {
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-size { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-muted); }

.convert-row {
  display: none;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}
.convert-row.is-active { display: flex; }

.format-select {
  font-family: var(--font-mono);
  font-size: 1rem;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.status-note {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  width: 100%;
  margin-top: 0.35rem;
  display: none;
}
.status-note.is-active { display: block; }

/* indeterminate progress — we don't get real byte-level progress from
   fetch(), so this just signals "still working" rather than a percentage */
.progress-bar {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
  margin-top: 0.5rem;
}
.progress-bar[hidden] { display: none; }
.progress-bar-fill {
  height: 100%;
  width: 40%;
  background: var(--accent);
  border-radius: 999px;
  animation: progress-indeterminate 1.1s ease-in-out infinite;
}
@keyframes progress-indeterminate {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}
@media (prefers-reduced-motion: reduce) {
  .progress-bar-fill { animation: none; width: 100%; }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.4rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary:active:not(:disabled) { transform: scale(0.98); }
.btn-ghost {
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--line-strong); }
.btn-sm { padding: 0.45rem 0.8rem; font-size: 0.8125rem; }

/* ---- QR panel ---- */

.qr-panel-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.qr-row { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.qr-input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}
.qr-output { display: flex; align-items: center; gap: 0.75rem; }
.qr-output img {
  width: 120px; height: 120px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.qr-read-result {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  word-break: break-all;
  margin: 0;
}

.ocr-result-row {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.ocr-result-row[hidden] { display: none; }
.ocr-textarea {
  width: 100%;
  min-height: 160px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  resize: vertical;
}
.ocr-result-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.qr-format-row { gap: 0.4rem; }
.qr-format-btn {
  cursor: pointer;
  font-family: var(--font-mono);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-muted);
}
.qr-format-btn.is-active {
  border-color: var(--accent);
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 14%, var(--surface-2));
}

.qr-type-row { gap: 0.4rem; }
.qr-type-btn {
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-muted);
}
.qr-type-btn.is-active {
  border-color: var(--accent);
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 14%, var(--surface-2));
}
.qr-form { display: flex; flex-direction: column; gap: 0.6rem; }
.qr-form[hidden] { display: none; }
.qr-form .format-select { flex: 0 0 auto; }

.qr-style-row[hidden] { display: none; }
.qr-color-field {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  cursor: pointer;
}
.qr-color-field input[type="color"] {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: none;
  cursor: pointer;
}
.qr-logo-name {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#qr-logo-clear-btn { width: 32px; height: 32px; }
#qr-logo-clear-btn svg { width: 14px; height: 14px; }

/* ---------------- sections shared ---------------- */

section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 60ch;
}
.section-head h2 { font-size: clamp(1.5rem, 2.2vw + 0.9rem, 2.15rem); }

/* ---------------- tool categories ---------------- */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: var(--shadow-card);
}

.tool-card .tool-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--accent-strong);
  display: grid; place-items: center;
}
.tool-card .tool-icon svg { width: 22px; height: 22px; }

.tool-card h3 { font-size: 1.0625rem; }
.tool-card p { margin: 0; font-size: 0.875rem; color: var(--ink-muted); }

.tool-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.1rem;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  margin-top: auto;
}
.badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge-live { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.badge-soon { background: var(--surface-2); color: var(--ink-faint); }

/* ---------------- how it works ---------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.step { display: flex; flex-direction: column; gap: 0.6rem; }
.step-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.step-num::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.step:last-child .step-num::after { display: none; }
.step h3 { font-size: 1.0625rem; }
.step p { margin: 0; font-size: 0.875rem; color: var(--ink-muted); }

@media (max-width: 780px) {
  .steps { grid-template-columns: 1fr; }
  .step-num::after { display: none; }
}

/* ---------------- footer ---------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.25rem;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-tagline { font-size: 0.8125rem; color: var(--ink-faint); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { font-size: 0.8125rem; color: var(--ink-muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

/* ---------------- responsive ---------------- */

@media (max-width: 900px) {
  .main-nav { display: none; }
}

/* Keep the tiles reachable without much scrolling on phones — the hero
   copy above them was taking up the whole first screen. */
@media (max-width: 640px) {
  .hero { padding-block: 1.5rem 2rem; }
  .hero-copy { gap: 0.65rem; }
  .lede { font-size: 0.9375rem; }
  .trust-strip { gap: 0.75rem 1.25rem; margin-top: 0.4rem; }
  .trust-item { max-width: none; }
  .trust-item .trust-desc { display: none; }
  .tiles-section { gap: 1.5rem; }
  .tiles-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .tile { min-height: 92px; padding: 1rem 0.5rem; gap: 0.4rem; }
  .tile-icon-chip { width: 36px; height: 36px; }
  .tile-icon-chip svg { width: 20px; height: 20px; }
  .fmt-badge { font-size: 0.6875rem; padding: 0.26rem 0.5rem; }
  .fmt-multi { font-size: 0.5625rem; }
  .tile-badges { gap: 0.3rem; }
}
