/* PDFTools — Cyrillic-correct precision tooling.
   Visual identity quadruple:
     primary  = #0F766E (deep teal)
     heading  = Manrope
     layout   = dropzone-hero
     icon     = Heroicons (inline SVG)
*/
:root {
  --primary: #0F766E;
  --primary-600: #0E6A63;
  --primary-700: #0D5A55;
  --accent: #14B8A6;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-alt: #F1F5F9;
  --text: #0F172A;
  --text-muted: #475569;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --danger: #DC2626;
  --warning: #F59E0B;
  --success: #059669;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 1px rgba(15,23,42,.04);
  --shadow: 0 6px 20px rgba(15,118,110,.10), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg: 0 24px 48px -12px rgba(15,118,110,.18);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-width: 0;
}

h1, h2, h3, h4 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 .6em;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(1.4rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.25rem, 3.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--text); overflow-wrap: break-word; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-700); text-decoration: underline; }
img, svg { display: block; max-width: 100%; height: auto; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; top: 0; left: 0;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  background: var(--primary); color: #fff; padding: 8px 16px; z-index: 999;
}
.skip-link:focus { width: auto; height: auto; clip: auto; clip-path: none; left: 16px; top: 16px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 18px;
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
  text-decoration: none; line-height: 1.2; white-space: normal;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-700); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-alt); color: var(--text); }
.btn-large { min-height: 52px; padding: 14px 22px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex; align-items: center; gap: 24px; min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.18rem;
  color: var(--text); letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; }
.primary-nav { flex: 1; }
.primary-nav .nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 6px; align-items: center;
}
.nav-link {
  color: var(--text); padding: 10px 14px; border-radius: 999px;
  font-weight: 500; font-size: 0.95rem;
}
.nav-link:hover { background: var(--surface-alt); text-decoration: none; }

.has-mega { position: relative; }
.mega {
  display: none; position: absolute; top: 100%; left: 0; min-width: 540px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 16px; margin-top: 6px;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { display: block; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text);
}
.mega-item:hover { background: var(--surface-alt); text-decoration: none; }
.mega-icon { color: var(--primary); font-size: 1.4rem; line-height: 1; }
.mega-label { font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switcher { position: relative; }
.lang-switcher summary {
  list-style: none; cursor: pointer; padding: 8px 12px;
  border-radius: 999px; font-weight: 600; font-size: 0.85rem;
  color: var(--text-muted);
}
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-switcher summary:hover { background: var(--surface-alt); }
.lang-list {
  position: absolute; right: 0; top: 100%; margin-top: 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); list-style: none; padding: 8px; min-width: 160px; z-index: 10;
}
.lang-list li a {
  display: block; padding: 8px 12px; color: var(--text); border-radius: 6px;
}
.lang-list li a:hover { background: var(--surface-alt); text-decoration: none; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0;
}

/* ---- Hero (dropzone signature) ---- */
.hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(1200px 480px at 80% -20%, rgba(20,184,166,.12), transparent 60%),
    radial-gradient(800px 360px at -10% 120%, rgba(15,118,110,.10), transparent 60%),
    var(--bg);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  min-width: 0;
}
.hero-inner > * { min-width: 0; }
.hero-pre {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15,118,110,.08); color: var(--primary-700);
  padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 0.85rem;
  margin-bottom: 18px;
  max-width: 100%;
}
.hero-pre > span { overflow-wrap: break-word; min-width: 0; }
.hero h1 { margin-bottom: 18px; max-width: 100%; }
.hero p.lead {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: var(--text-muted); max-width: 540px; margin-bottom: 26px;
  overflow-wrap: break-word;
}
.hero-bullets {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; gap: 10px;
}
.hero-bullets li {
  display: flex; align-items: flex-start; gap: 10px; color: var(--text);
  font-size: 0.97rem;
  min-width: 0;
}
.hero-bullets li > span { min-width: 0; overflow-wrap: break-word; }
.hero-bullets svg { flex-shrink: 0; color: var(--primary); margin-top: 3px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 28px; display: flex; align-items: center; gap: 16px;
  font-size: 0.85rem; color: var(--text-muted);
}
.hero-trust img { height: 28px; opacity: .8; }

/* Dropzone */
.dropzone-card {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 28px;
  position: relative;
  overflow: hidden;
  min-width: 0;
  isolation: isolate;
}
.dropzone-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 100% 0, rgba(20,184,166,.20), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
/* Tab pills: wrap to multiple rows on every viewport so users can see
 * all 10 operations without horizontal scrolling. Sits above the
 * dashed dropzone so there is no z-index overlap on tablet. */
.dropzone-tabs {
  display: flex; gap: 6px; margin-bottom: 16px;
  flex-wrap: wrap;
  position: relative; z-index: 2;
  padding-bottom: 2px;
}
.dropzone-tab {
  padding: 8px 12px; border-radius: 999px; background: var(--surface-alt);
  color: var(--text-muted); font-size: 0.85rem; font-weight: 600;
  border: 1px solid var(--border);
  white-space: nowrap;
  flex: 0 0 auto;
  max-width: 100%;
}
.dropzone-tab[aria-current="page"] {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.dropzone-tab:hover { text-decoration: none; }

.dropzone {
  border: 2px dashed var(--border-strong); border-radius: var(--radius);
  padding: 44px 24px; text-align: center; cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative; z-index: 1;
  background: var(--surface);
  min-width: 0;
  display: block;
}
.dropzone.is-active { border-color: var(--primary); background: rgba(20,184,166,.05); }
.dropzone-illu {
  width: 96px; height: 96px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,118,110,.10); border-radius: 24px; color: var(--primary);
}
.dropzone h3 { font-size: 1.05rem; margin-bottom: 6px; }
.dropzone p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.dropzone-meta {
  margin-top: 14px; font-size: 0.8rem; color: var(--text-muted);
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.dropzone-meta span::before { content: "·"; margin-right: 12px; color: var(--border-strong); }
.dropzone-meta span:first-child::before { content: ""; margin-right: 0; }

/* Per-op options block (compress level, password, pages spec, etc.) */
.op-options {
  margin-top: 14px; position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 6px;
}
.op-options-row {
  flex-direction: row; flex-wrap: wrap; gap: 12px;
}
.op-options label {
  font-weight: 600; font-size: 0.9rem; color: var(--text);
  display: flex; flex-direction: column; gap: 6px; min-width: 140px;
}
.op-options-row > label { flex: 1 1 140px; }
.op-options input[type="text"],
.op-options input[type="password"],
.op-options input[type="number"],
.op-options select {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; color: var(--text); background: var(--surface);
  min-height: 44px;
}
.op-options input:focus,
.op-options select:focus {
  outline: 2px solid var(--primary); outline-offset: 1px;
  border-color: var(--primary);
}
.op-hint { font-weight: 400; color: var(--text-muted); font-size: 0.85rem; }

/* Status row inside dropzone after upload */
.job-status {
  display: none; margin-top: 18px; padding: 14px 16px;
  background: var(--surface-alt); border-radius: var(--radius-sm);
  font-size: 0.92rem; color: var(--text);
}
.job-status[data-state="processing"] { display: block; }
.job-status[data-state="done"] { display: block; background: rgba(5,150,105,.08); }
.job-status[data-state="failed"] { display: block; background: rgba(220,38,38,.08); color: var(--danger); }
.progress-bar {
  height: 6px; background: var(--border); border-radius: 999px; overflow: hidden;
  margin-top: 8px;
}
.progress-bar > span {
  display: block; height: 100%; background: var(--primary);
  width: 0%; transition: width .3s;
}

/* ---- Sections ---- */
.section {
  padding: 80px 0;
}
.section-alt { background: var(--surface); }
.section-head {
  text-align: center; max-width: 720px; margin: 0 auto 48px;
}
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  height: 100%;
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(15,118,110,.10); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-illu {
  width: 100%; height: auto; max-height: 140px; object-fit: cover;
  border-radius: var(--radius-sm); margin-bottom: 16px;
  background: var(--surface-alt);
}
.op-illu {
  display: block; width: 100%; max-width: 340px; height: auto;
  border-radius: var(--radius); margin: 18px 0 8px;
  background: var(--surface-alt);
}
.pricing-illu {
  display: block; width: 100%; max-width: 320px; margin: 16px auto 0;
  border-radius: var(--radius-sm);
}
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* ---- Use cases / how it works ---- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; position: relative; box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 0.9rem;
  margin-bottom: 12px;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* ---- Cyrillic comparison strip ---- */
.compare {
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  box-shadow: var(--shadow-sm);
}
.compare h3 { font-size: 0.92rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.compare-bad h3 { color: var(--danger); }
.compare-good h3 { color: var(--success); }
.compare pre {
  margin: 0; padding: 18px; background: var(--surface-alt);
  border-radius: var(--radius-sm); font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 0.92rem; line-height: 1.5; white-space: pre-wrap; color: var(--text);
  overflow-wrap: anywhere;
}

/* ---- Pricing ---- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.plan {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column;
  position: relative; box-shadow: var(--shadow-sm); height: 100%;
}
.plan.is-highlight {
  border: 2px solid var(--primary); transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 0.78rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.plan-name { font-size: 1.15rem; }
.plan-price { font-size: 2.2rem; font-weight: 800; font-family: 'Manrope', sans-serif; margin: 8px 0 4px; color: var(--text); }
.plan-price-kzt { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan ul li {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 6px 0; font-size: 0.95rem; color: var(--text);
}
.plan ul li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px;
  background: rgba(15,118,110,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230F766E'%3E%3Cpath d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 0 1 1.4-1.4L8.5 12 15.3 5.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E") center/14px no-repeat;
  border-radius: 999px;
}
.plan .btn { margin-top: auto; }

/* ---- Testimonials ---- */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
  height: 100%; display: flex; flex-direction: column;
}
.t-quote { font-size: 1rem; color: var(--text); margin-bottom: 18px; flex: 1; }
.t-meta { display: flex; gap: 12px; align-items: center; }
.t-avatar {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--surface-alt); overflow: hidden;
}
.t-name { font-weight: 600; }
.t-role { color: var(--text-muted); font-size: 0.85rem; }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 12px;
}
.faq summary {
  font-weight: 600; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--primary); font-size: 1.4rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq p { margin: 12px 0 0; color: var(--text-muted); }

/* ---- CTA strip ---- */
.cta-strip {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #fff; padding: 56px 0; border-radius: var(--radius-xl);
  margin: 0 auto 80px; max-width: calc(var(--maxw) - 32px);
  text-align: center;
}
.cta-strip h2 { color: #fff; margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,.92); max-width: 540px; margin: 0 auto 26px; }
.cta-strip .btn-primary { background: #fff; color: var(--primary-700); }
.cta-strip .btn-primary:hover { background: var(--surface-alt); color: var(--primary-700); }
.cta-strip .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }

/* ---- Footer ---- */
.site-footer {
  background: #0B1F1D; color: #CBD5E1; padding: 56px 0 24px; margin-top: 64px;
}
.site-footer h3 {
  color: #fff; font-size: 0.92rem; text-transform: uppercase; letter-spacing: .06em;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(203,213,225,.12);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 6px 0; }
.footer-col a { color: #CBD5E1; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-tag { color: #CBD5E1; max-width: 280px; font-size: 0.92rem; }
.footer-credit { color: #94A3B8; font-size: 0.85rem; }
.brand-footer { color: #fff; }
.brand-footer .brand-name { color: #fff; }
.lang-grid { columns: 2; column-gap: 16px; }
.lang-grid li { break-inside: avoid; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; padding-top: 18px;
  font-size: 0.85rem; color: #94A3B8;
}

/* ---- Generic content (legal, about, help) ---- */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.4em; color: var(--text); }
.prose li { margin: 6px 0; }
.prose-meta {
  background: var(--surface-alt); border-radius: var(--radius-sm);
  padding: 16px 20px; margin: 24px 0; font-size: 0.92rem;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .t-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; flex-direction: column; }
  .primary-nav .nav-list {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 12px; gap: 4px;
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open .nav-list { display: flex; }
  .nav-link { display: block; padding: 12px 14px; }
  .has-mega .mega { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .header-actions .btn-ghost { display: none; }
  .compare { grid-template-columns: 1fr; }
  .feature-grid, .steps, .pricing-grid, .t-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 36px 0; }
  .section { padding: 56px 0; }
  .footer-bottom { flex-direction: column; }
  .dropzone-card { padding: 20px; }
  .dropzone { padding: 28px 16px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 28px 0 32px; }
  .dropzone-card { padding: 16px; }
  .dropzone { padding: 28px 12px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .pricing-grid, .feature-grid, .steps, .t-grid { gap: 16px; }
  .hero-bullets li { font-size: 0.92rem; }
  .hero p.lead { font-size: 0.97rem; }
  .dropzone h3 { font-size: 1rem; }
  .dropzone p { font-size: 0.85rem; }
  .dropzone-meta { font-size: 0.76rem; gap: 8px; }
  .dropzone-tab { padding: 7px 10px; font-size: 0.8rem; }
  .compare pre { font-size: 0.82rem; padding: 14px; }
  .feature, .plan, .step, .t-card { padding: 20px; }
  .cta-strip { margin-left: 12px; margin-right: 12px; max-width: none; padding: 40px 18px; }
}
@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .header-actions { gap: 6px; }
  .header-row { gap: 8px; min-width: 0; }
  .header-row > * { min-width: 0; }
  .lang-switcher summary { padding: 4px 6px; font-size: 0.78rem; }
  .brand-name { font-size: 0.95rem; }
  .header-actions .btn { padding: 8px 10px; font-size: 0.82rem; min-height: 38px; }
  .dropzone-illu { width: 72px; height: 72px; border-radius: 18px; }
  .hero-bullets li { font-size: 0.88rem; gap: 8px; }
  .hero-bullets svg { width: 18px; height: 18px; }
  h1 { font-size: 1.45rem; line-height: 1.2; }
  .hero p.lead { font-size: 0.92rem; }
  .dropzone-tab { padding: 6px 9px; font-size: 0.76rem; }
  .compare pre { font-size: 0.78rem; padding: 12px; }
}
@media (max-width: 340px) {
  .container { padding: 0 10px; }
  .header-actions .btn { padding: 6px 8px; font-size: 0.78rem; min-height: 36px; }
  .brand-name { display: none; }
  .header-row { gap: 4px; }
  h1 { font-size: 1.35rem; }
  .hero { padding: 20px 0 24px; }
  .hero-bullets li { font-size: 0.84rem; }
  .dropzone-card { padding: 12px; }
  .dropzone { padding: 22px 10px; }
}

/* Country-grouped integrations (R5 worldwide retrofit) */
.integrations-section { padding: 56px 0; background: #f8fafc; }
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.integration-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  transition: border-color 0.15s, transform 0.15s;
}
.integration-card:hover { border-color: #14B8A6; transform: translateY(-2px); }
.integration-name {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: #0F766E;
}
.integration-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #334155;
}
[dir="rtl"] .integration-card { text-align: right; }
[dir="rtl"] .integrations-grid { direction: rtl; }
