:root {
  --bg: #0b0f16;
  --bg-2: #121826;
  --bg-3: #17202f;
  --ink: #eef2f8;
  --ink-soft: #94a3b8;
  --line: #232e42;
  --accent: #4d7cff;
  --accent-2: #22d3a8;
  --danger: #fb7185;
  --radius: 10px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 230px;
  flex-shrink: 0;
  background: var(--bg-2);
  border-inline-end: 1px solid var(--line);
  padding: 20px 14px;
}
.sidebar .brand { font-weight: 700; font-size: 18px; margin-bottom: 24px; display: block; }
.sidebar nav a {
  display: block;
  color: var(--ink-soft);
  padding: 9px 12px;
  border-radius: var(--radius);
  margin-bottom: 2px;
}
.sidebar nav a:hover, .sidebar nav a.active { background: var(--bg-3); color: var(--ink); text-decoration: none; }
.main { flex: 1; padding: 28px 32px; max-width: 980px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 12px; flex-wrap: wrap; }
.topbar h1 { font-size: 22px; margin: 0; }
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 18px;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.stat { background: var(--bg-3); border-radius: 12px; padding: 16px; }
.stat .num { font-size: 26px; font-weight: 700; }
.stat .label { color: var(--ink-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
table.itbl { width: 100%; border-collapse: collapse; font-size: 14px; }
table.itbl th, table.itbl td { text-align: start; padding: 9px 10px; border-bottom: 1px solid var(--line); }
table.itbl th { color: var(--ink-soft); font-weight: 600; font-size: 12px; text-transform: uppercase; }
.table-wrap { overflow-x: auto; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 14px;
  cursor: pointer;
}
.btn:hover { opacity: .92; text-decoration: none; }
.btn.secondary { background: var(--bg-3); color: var(--ink); border: 1px solid var(--line); }
.btn.danger { background: var(--danger); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
label { display: block; margin-bottom: 4px; font-size: 13px; color: var(--ink-soft); }
input, select, textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 14px;
  margin-bottom: 14px;
}
.field-hint { font-size: 12px; color: var(--ink-soft); margin: -8px 0 14px; }
.field-group { margin-bottom: 22px; }
.field-group h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin: 0 0 10px; }
.alert { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; font-size: 14px; }
.alert.error { background: rgba(251,113,133,.12); color: var(--danger); border: 1px solid rgba(251,113,133,.3); }
.alert.success { background: rgba(34,211,168,.1); color: var(--accent-2); border: 1px solid rgba(34,211,168,.3); }
.alert.info { background: rgba(148,163,184,.12); color: var(--ink-soft); border: 1px solid rgba(148,163,184,.3); }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; background: var(--bg-3); border: 1px solid var(--line); }
.badge.status-draft { color: var(--ink-soft); }
.badge.status-filled { color: var(--accent); }
.badge.status-signed, .badge.status-delivered { color: var(--accent-2); }
.empty { color: var(--ink-soft); padding: 30px 0; text-align: center; }
.lang-switch { width: auto; margin-bottom: 0; display: inline-block; }
[dir="rtl"] .sidebar { border-inline-end: none; border-inline-start: 1px solid var(--line); }

/* Mobile sidebar toggle — hidden above 760px, off-canvas panel below it */
.sidebar-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--ink);
  cursor: pointer; flex-shrink: 0;
}
.sidebar-toggle svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  .sidebar-toggle {
    display: inline-flex; position: fixed; top: 12px; inset-inline-start: 12px; z-index: 40;
  }
  .sidebar {
    position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 35;
    width: 240px; overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .2s ease;
  }
  [dir="rtl"] .sidebar { transform: translateX(100%); }
  .layout.sidebar-open .sidebar { transform: translateX(0); }
  .main { padding: 64px 16px 24px; max-width: 100%; }
}

/* ── Marketing site (public landing / features / about) ──────────────────
   Deliberately its own light visual identity — namespaced "mkt-" with its
   own --mkt-* tokens so none of it collides with, or is affected by, the
   dashboard's dark :root tokens above. "Document" theme (trust-navy +
   signature-green on a paper-white ground) rather than reusing the dark
   dashboard palette, so the marketing site reads as its own product, not a
   reskinned admin panel. Self-hosted fonts only (Lexend / Source Sans 3) —
   CSP here is font-src 'self', see public/assets/fonts/fonts.css. */
.marketing {
  --mkt-bg: #ffffff;
  --mkt-bg-soft: #f6f8fb;
  --mkt-bg-tint: #eef4ff;
  --mkt-ink: #0f172a;
  --mkt-ink-soft: #475569;
  --mkt-ink-faint: #64748b;
  --mkt-primary: #1e3a5f;
  --mkt-primary-hover: #16304f;
  --mkt-accent: #16a34a;
  --mkt-accent-deep: #15803d;
  --mkt-accent-tint: rgba(22, 163, 74, .1);
  --mkt-border: #e2e8f0;
  --mkt-border-soft: #edf1f6;
  --mkt-shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --mkt-shadow-md: 0 8px 24px -8px rgba(15, 23, 42, .14);
  --mkt-radius: 14px;
  --mkt-radius-lg: 20px;
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--mkt-bg);
  color: var(--mkt-ink);
  min-height: 100vh; display: flex; flex-direction: column;
}
.marketing h1, .marketing h2, .marketing h3 {
  font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--mkt-ink); font-weight: 600; letter-spacing: -0.01em;
}
.marketing a { color: var(--mkt-primary); }
.marketing a:hover { color: var(--mkt-primary-hover); }
.marketing :focus-visible { outline: 2px solid var(--mkt-primary); outline-offset: 2px; }

.mkt-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header / nav */
.mkt-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 24px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mkt-border-soft);
}
.mkt-header .brand {
  font-family: 'Lexend', sans-serif; font-weight: 700; font-size: 19px; color: var(--mkt-ink);
  display: inline-flex; align-items: center; gap: 9px;
}
.mkt-header .brand::before {
  content: ''; width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--mkt-primary), var(--mkt-accent-deep));
}
.mkt-header .brand:hover { text-decoration: none; }
.mkt-nav { display: flex; align-items: center; gap: 28px; }
.mkt-nav a { color: var(--mkt-ink-soft); font-size: 15px; font-weight: 500; }
.mkt-nav a:hover { color: var(--mkt-ink); text-decoration: none; }
.mkt-header-actions { display: flex; align-items: center; gap: 14px; }
.mkt-header-actions form { margin: 0; }
.mkt-header .lang-switch {
  font-size: 13px; padding: 7px 10px; border-radius: 8px;
  border: 1px solid var(--mkt-border); background: var(--mkt-bg); color: var(--mkt-ink-soft);
}
.mkt-header-actions > a { font-size: 14px; font-weight: 600; color: var(--mkt-ink-soft); white-space: nowrap; }
.mkt-header-actions > a:hover { color: var(--mkt-ink); text-decoration: none; }
.mkt-header-actions .btn {
  font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 9px;
  background: var(--mkt-primary); color: #fff; border: none; white-space: nowrap;
}
.mkt-header-actions .btn:hover { background: var(--mkt-primary-hover); text-decoration: none; }

/* Mobile nav toggle — hidden above 860px, real disclosure panel below it */
.mkt-nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 9px;
  border: 1px solid var(--mkt-border); background: var(--mkt-bg); color: var(--mkt-ink);
  cursor: pointer; flex-shrink: 0;
}
.mkt-nav-toggle svg { width: 20px; height: 20px; }
.mkt-nav-toggle .icon-close { display: none; }
.mkt-header.is-open .mkt-nav-toggle .icon-open { display: none; }
.mkt-header.is-open .mkt-nav-toggle .icon-close { display: block; }

/* Hero */
.mkt-hero {
  padding: 76px 24px 64px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  align-items: center; gap: 48px; max-width: 1120px; margin: 0 auto;
}
.mkt-hero-copy { text-align: start; }
.mkt-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  color: var(--mkt-accent-deep); background: var(--mkt-accent-tint);
  border: 1px solid rgba(22, 163, 74, .22); border-radius: 999px;
  padding: 7px 14px; margin-bottom: 22px;
}
.mkt-hero h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.12; margin: 0 0 18px; }
.mkt-hero .lead { color: var(--mkt-ink-soft); font-size: 18px; max-width: 520px; margin: 0 0 30px; line-height: 1.6; }
.mkt-help-jump { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.mkt-help-jump a {
  border: 1px solid var(--mkt-border); border-radius: 999px; padding: 8px 18px;
  font-size: 14px; font-weight: 600; color: var(--mkt-ink-soft); background: var(--mkt-bg);
}
.mkt-help-jump a:hover { border-color: var(--mkt-primary); color: var(--mkt-primary); text-decoration: none; }
.mkt-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.mkt-hero-actions .btn {
  font-size: 15px; font-weight: 600; padding: 13px 24px; border-radius: 10px;
  background: var(--mkt-primary); color: #fff; border: none; box-shadow: var(--mkt-shadow-sm);
}
.mkt-hero-actions .btn:hover { background: var(--mkt-primary-hover); text-decoration: none; }
.mkt-hero-actions .btn-ghost {
  background: var(--mkt-bg); color: var(--mkt-ink); border: 1px solid var(--mkt-border);
}
.mkt-hero-actions .btn-ghost:hover { border-color: var(--mkt-primary); text-decoration: none; }
.mkt-trust { display: flex; gap: 24px; flex-wrap: wrap; color: var(--mkt-ink-faint); font-size: 13px; }
.mkt-trust span { display: inline-flex; align-items: center; gap: 7px; }
.mkt-trust svg { flex-shrink: 0; color: var(--mkt-accent-deep); }

/* Text-only hero variant (features/about) — no split visual column. */
.mkt-hero.simple { grid-template-columns: 1fr; text-align: center; padding-bottom: 28px; }
.mkt-hero.simple .mkt-hero-copy { text-align: center; max-width: 680px; margin: 0 auto; }
.mkt-hero.simple .mkt-hero-actions { justify-content: center; }
.mkt-hero.simple .mkt-trust { justify-content: center; }

/* Hero visual — a small stack of "documents" evoking the actual product
   (form fields resolving into a structured, checkmarked PDF), not a
   generic abstract shape. Pure CSS, no image asset needed. */
.mkt-hero-visual { position: relative; height: 360px; display: flex; align-items: center; justify-content: center; }
.mkt-doc-stack { position: relative; width: 300px; height: 340px; }
.mkt-doc {
  position: absolute; inset: 0; background: var(--mkt-bg);
  border: 1px solid var(--mkt-border); border-radius: var(--mkt-radius);
  box-shadow: var(--mkt-shadow-md); padding: 22px;
}
.mkt-doc.back { transform: rotate(-6deg) translate(-14px, 10px); background: var(--mkt-bg-soft); z-index: 1; }
.mkt-doc.mid { transform: rotate(4deg) translate(10px, -6px); z-index: 2; }
.mkt-doc.front { z-index: 3; display: flex; flex-direction: column; gap: 10px; }
.mkt-doc.front .ln { height: 8px; border-radius: 4px; background: var(--mkt-border-soft); }
.mkt-doc.front .ln.w60 { width: 60%; }
.mkt-doc.front .ln.w80 { width: 80%; }
.mkt-doc.front .ln.w40 { width: 40%; }
.mkt-doc.front .field {
  height: 30px; border-radius: 7px; border: 1.5px solid var(--mkt-border);
  background: var(--mkt-bg-soft); margin-top: 4px;
}
.mkt-doc.front .field.filled { border-color: var(--mkt-accent); background: var(--mkt-accent-tint); }
.mkt-doc-badge {
  position: absolute; bottom: 18px; right: -14px; z-index: 4;
  display: flex; align-items: center; gap: 8px;
  background: var(--mkt-primary); color: #fff; border-radius: 999px;
  padding: 10px 16px; font-size: 13px; font-weight: 600; box-shadow: var(--mkt-shadow-md);
}
.mkt-doc-badge svg { width: 16px; height: 16px; color: var(--mkt-accent); flex-shrink: 0; }
[dir="rtl"] .mkt-doc-badge { right: auto; left: -14px; }

/* Sections */
.mkt-section { padding: 68px 24px; border-top: 1px solid var(--mkt-border-soft); scroll-margin-top: 84px; }
.mkt-section.no-border { border-top: none; }
.mkt-section.tint { background: var(--mkt-bg-soft); }
.mkt-section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.mkt-section-head .mkt-eyebrow { margin-bottom: 16px; }
.mkt-section-head h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 12px; }
.mkt-section-head p { color: var(--mkt-ink-soft); font-size: 16px; line-height: 1.6; margin: 0; }

.mkt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.mkt-card {
  background: var(--mkt-bg); border: 1px solid var(--mkt-border); border-radius: var(--mkt-radius);
  padding: 26px; text-align: start; box-shadow: var(--mkt-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mkt-card:hover { transform: translateY(-3px); box-shadow: var(--mkt-shadow-md); border-color: var(--mkt-border); }
.mkt-card .ic {
  width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: var(--mkt-bg-tint); color: var(--mkt-primary); margin-bottom: 16px; flex-shrink: 0;
}
.mkt-card .ic svg { width: 22px; height: 22px; }
.mkt-card h3 { font-size: 16.5px; margin: 0 0 8px; }
.mkt-card p { color: var(--mkt-ink-soft); font-size: 14.5px; line-height: 1.6; margin: 0; }

.mkt-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.mkt-price-card {
  background: var(--mkt-bg); border: 1px solid var(--mkt-border); border-radius: var(--mkt-radius);
  padding: 28px; text-align: start; box-shadow: var(--mkt-shadow-sm); display: flex; flex-direction: column;
}
.mkt-price-card.featured { border-color: var(--mkt-primary); box-shadow: var(--mkt-shadow-md); position: relative; }
.mkt-price-card.featured::before {
  content: attr(data-badge); position: absolute; top: -12px; inset-inline-end: 22px;
  background: var(--mkt-primary); color: #fff; font-size: 11.5px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px;
}
.mkt-price-card .pname { font-weight: 600; color: var(--mkt-ink-soft); font-size: 14px; }
.mkt-price-card .pprice { font-size: 32px; font-weight: 700; margin: 10px 0 4px; }
.mkt-price-card .pprice small { font-size: 14px; font-weight: 500; color: var(--mkt-ink-faint); }
.mkt-price-card .pdesc { color: var(--mkt-ink-soft); font-size: 14px; margin: 0 0 18px; }
.mkt-price-card ul { list-style: none; margin: 0 0 22px; padding: 0; flex-grow: 1; }
.mkt-price-card li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; margin-bottom: 10px; color: var(--mkt-ink); }
.mkt-price-card li svg { flex-shrink: 0; margin-top: 2px; color: var(--mkt-accent-deep); }
.mkt-price-card .btn { text-align: center; }

.mkt-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: mkt-step; }
.mkt-step { text-align: start; padding: 4px; position: relative; }
.mkt-step .num {
  width: 36px; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: var(--mkt-primary); color: #fff; font-family: 'Lexend', sans-serif; font-weight: 600; font-size: 14px;
  margin-bottom: 16px;
}
.mkt-step h3 { font-size: 16.5px; margin: 0 0 8px; }
.mkt-step p { color: var(--mkt-ink-soft); font-size: 14.5px; line-height: 1.6; margin: 0; }

.mkt-diff {
  background: linear-gradient(135deg, var(--mkt-bg-tint), var(--mkt-accent-tint));
  border: 1px solid var(--mkt-border); border-radius: var(--mkt-radius-lg);
  padding: 34px; text-align: center; max-width: 780px; margin: 0 auto;
}
.mkt-diff h3 { font-size: 20px; margin: 0 0 10px; }
.mkt-diff p { color: var(--mkt-ink-soft); font-size: 15px; line-height: 1.65; margin: 0; }

.mkt-cta {
  text-align: center; background: var(--mkt-primary); border-radius: var(--mkt-radius-lg);
  padding: 56px 32px; max-width: 1120px; margin: 0 24px 0; margin-inline: auto;
}
.mkt-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin: 0 0 12px; }
.mkt-cta p { color: rgba(255, 255, 255, .78); font-size: 16px; margin: 0 0 26px; }
.mkt-cta .btn {
  /* --mkt-accent-deep, not --mkt-accent — the brighter green only reaches
     ~3.4:1 contrast against white text (fails WCAG AA's 4.5:1 for normal-
     size text); the deep shade clears ~5:1. --mkt-accent itself is reserved
     for decorative/icon use where 3:1 is sufficient, never body text. */
  font-size: 15px; font-weight: 600; padding: 13px 26px; border-radius: 10px;
  background: var(--mkt-accent-deep); color: #fff; border: none;
}
.mkt-cta .btn:hover { background: #0f6b32; text-decoration: none; }

.mkt-about-block { max-width: 720px; margin: 0 auto 40px; text-align: start; }
.mkt-about-block h2 { font-size: 22px; margin: 0 0 12px; }
.mkt-about-block p { color: var(--mkt-ink-soft); font-size: 15.5px; line-height: 1.7; margin: 0; }

/* FAQ accordion — native <details>/<summary>, no JS required (this page's
   CSP has no 'unsafe-inline' script-src, so anything beyond native browser
   behavior would need its own external script file for no real benefit). */
.mkt-faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; text-align: start; }
.mkt-faq-item {
  background: var(--mkt-bg); border: 1px solid var(--mkt-border); border-radius: var(--mkt-radius);
  padding: 0 22px; box-shadow: var(--mkt-shadow-sm);
}
.mkt-faq-item summary {
  cursor: pointer; list-style: none; padding: 17px 0; font-weight: 600; font-size: 15.5px;
  color: var(--mkt-ink); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.mkt-faq-item summary::-webkit-details-marker { display: none; }
.mkt-faq-item summary::after {
  content: '+'; font-size: 21px; font-weight: 400; line-height: 1; color: var(--mkt-ink-faint);
  flex-shrink: 0; transition: transform .15s ease;
}
.mkt-faq-item[open] summary::after { transform: rotate(45deg); }
.mkt-faq-item[open] summary { border-bottom: 1px solid var(--mkt-border-soft); }
.mkt-faq-item p { color: var(--mkt-ink-soft); font-size: 14.5px; line-height: 1.65; margin: 0; padding: 14px 0 18px; }

/* Footer */
.mkt-footer { border-top: 1px solid var(--mkt-border-soft); padding: 40px 24px; margin-top: auto; background: var(--mkt-bg-soft); }
.mkt-footer .mkt-wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.mkt-footer .brand { font-family: 'Lexend', sans-serif; font-weight: 700; color: var(--mkt-ink); }
.mkt-footer .tagline { color: var(--mkt-ink-soft); font-size: 13px; margin: 6px 0 0; max-width: 260px; }
.mkt-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.mkt-footer nav a { color: var(--mkt-ink-soft); font-size: 13.5px; }
.mkt-footer nav a:hover { color: var(--mkt-ink); text-decoration: none; }
.mkt-footer .rights { color: var(--mkt-ink-faint); font-size: 12px; width: 100%; margin-top: 24px; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .marketing * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* ≤860px: collapse the inline nav into a toggleable mobile menu instead of
   just hiding it with no replacement. */
@media (max-width: 860px) {
  .mkt-nav-toggle { display: inline-flex; }
  /* Closed: both panels hidden. Open: header wraps and both panels render
     in normal flow, stacked one under the other — no absolute positioning,
     no hardcoded offset, so it can't drift out of sync when translated nav
     text wraps to a different number of lines in another locale. */
  .mkt-nav, .mkt-header-actions { display: none; }
  .mkt-header.is-open {
    flex-wrap: wrap; align-items: center;
    box-shadow: var(--mkt-shadow-md);
  }
  .mkt-header.is-open .mkt-nav,
  .mkt-header.is-open .mkt-header-actions {
    display: flex; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 2px;
    border-top: 1px solid var(--mkt-border-soft); margin-top: 14px; padding-top: 12px;
  }
  .mkt-header.is-open .mkt-nav a { padding: 12px 4px; border-bottom: 1px solid var(--mkt-border-soft); font-size: 16px; }
  .mkt-header.is-open .mkt-nav a:last-child { border-bottom: none; }
  .mkt-header.is-open .mkt-header-actions { gap: 10px; border-top: none; margin-top: 10px; padding-top: 0; }
  .mkt-header.is-open .mkt-header-actions .btn,
  .mkt-header.is-open .mkt-header-actions > a { width: 100%; text-align: center; padding: 12px; }
  .mkt-header.is-open .mkt-header-actions form { align-self: stretch; }
  .mkt-header.is-open .mkt-header-actions .lang-switch { width: 100%; }
}

@media (max-width: 760px) {
  .mkt-hero { grid-template-columns: 1fr; text-align: center; padding: 44px 20px 48px; gap: 36px; }
  .mkt-hero-copy { text-align: center; }
  .mkt-hero .lead { margin-inline: auto; }
  .mkt-hero-actions { justify-content: center; }
  .mkt-trust { justify-content: center; }
  .mkt-hero-visual { height: 300px; order: -1; }
  .mkt-doc-stack { width: 240px; height: 270px; }
}

@media (max-width: 640px) {
  .mkt-header { padding: 12px 16px; }
  .mkt-section { padding: 48px 16px; }
  .mkt-cta { margin: 0 16px; padding: 40px 22px; }
  .mkt-price-grid { grid-template-columns: 1fr; }
}
