/* ============================================================
   MAI-Background — App UI (mobile-first, Dark OLED)
   ============================================================ */
:root {
  --color-primary: #EC4899;
  --color-secondary: #DB2777;
  --color-accent: #2563EB;
  --color-bg: #0F172A;
  --color-bg-2: #0B1120;
  --color-fg: #FFFFFF;
  --color-surface: #151226;
  --color-surface-2: #1C1733;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.16);
  --color-text-2: #B6BBCB;
  --color-text-3: #8A90A6;
  --color-success: #10B981;
  --color-ring: #EC4899;

  --grad-brand: linear-gradient(135deg, #EC4899 0%, #2563EB 100%);
  --grad-text: linear-gradient(135deg, #F472B6 0%, #60A5FA 100%);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-full: 999px;

  --sh-2: 0 8px 24px rgba(0,0,0,.45);
  --sh-3: 0 20px 60px rgba(0,0,0,.55);
  --sh-glow: 0 0 30px rgba(236,72,153,.28);

  --t-fast: 150ms; --t-mid: 240ms;
  --ease: cubic-bezier(.2,.7,.2,1);

  --appbar-h: 56px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: #07090f;
  color: var(--color-fg);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  overflow: hidden;            /* la app gestiona su propio scroll */
}
img, svg, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
select, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--color-ring); outline-offset: 2px; border-radius: 6px; }

/* ---------------- App shell ---------------- */
.app {
  position: relative;
  width: 100%;
  height: 100dvh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  background-image:
    radial-gradient(70% 40% at 15% 0%, rgba(236,72,153,.16), transparent 70%),
    radial-gradient(70% 45% at 100% 100%, rgba(37,99,235,.16), transparent 70%);
  overflow: hidden;
}

/* Desktop layout lives at the END of this file (source order beats the
   base rules for same-specificity overrides — see "Desktop / web layout"). */

/* ---------------- App bar ---------------- */
.appbar {
  flex: none;
  height: calc(var(--appbar-h) + var(--safe-t));
  padding: var(--safe-t) var(--s-4) 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  background: rgba(15,23,42,.7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  z-index: 10;
}
.appbar__brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.appbar__mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--grad-brand); color: #fff; box-shadow: var(--sh-glow); }
.appbar__accent { color: var(--color-primary); }
.appbar__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-full); color: var(--color-text-2); transition: background var(--t-fast), color var(--t-fast); }
.appbar__btn:hover { background: rgba(255,255,255,.07); color: var(--color-fg); }

/* ---------------- Main scroll area ---------------- */
.app-main { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.screen { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-4); min-height: 100%; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 12px 18px; border-radius: var(--r-md);
  font-weight: 600; font-size: 0.98rem; line-height: 1; border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast), opacity var(--t-fast);
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-glow); }
.btn--ghost { background: rgba(255,255,255,.05); border-color: var(--color-border-strong); color: var(--color-fg); }
.btn--ghost:hover { background: rgba(255,255,255,.09); }
.btn--lg { min-height: 56px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
  border-radius: var(--r-full); background: rgba(255,255,255,.05);
  border: 1px solid var(--color-border); color: var(--color-fg);
  transition: background var(--t-fast), transform var(--t-fast);
}
.icon-btn:hover { background: rgba(255,255,255,.12); }
.icon-btn:active { transform: scale(.94); }

/* ---------------- Home ---------------- */
.home { justify-content: center; gap: var(--s-5); padding-block: var(--s-6); }
.home__intro { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s-3); }
.home__logo { display: grid; place-items: center; width: 72px; height: 72px; border-radius: var(--r-lg); background: rgba(236,72,153,.12); color: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-border); }
.home__title { font-size: clamp(1.5rem, 6vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.home__sub { color: var(--color-text-2); font-size: 0.98rem; max-width: 30ch; }

.dropzone {
  border: 1.5px dashed var(--color-border-strong); border-radius: var(--r-lg);
  background: radial-gradient(120% 120% at 50% 0%, rgba(236,72,153,.06), transparent 60%);
  padding: var(--s-5) var(--s-4);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: border-color var(--t-mid), background var(--t-mid);
}
.dropzone.is-dragover { border-color: var(--color-primary); background: rgba(236,72,153,.1); }
.dropzone__hint { text-align: center; color: var(--color-text-3); font-size: 0.85rem; margin-top: var(--s-1); }
@media (hover: none) { .dropzone__hint { display: none; } } /* móvil: arrastrar no aplica */

.home__note { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--color-text-3); font-size: 0.85rem; }
.home__note svg { color: var(--color-success); }

/* ---------------- Workspace / editor ---------------- */
.workspace { gap: var(--s-3); padding-bottom: var(--s-5); }
.stage {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--color-border); box-shadow: var(--sh-2);
  aspect-ratio: 16 / 9; background-color: #000;
  max-height: 52vh; margin-inline: auto; width: 100%;
}
.stage[data-bg="transparent"] {
  background-image: conic-gradient(#2a2a3a 90deg, #1a1a28 90deg 180deg, #2a2a3a 180deg 270deg, #1a1a28 270deg);
  background-size: 26px 26px;
}
.stage__canvas { width: 100%; height: 100%; object-fit: contain; }
.stage__source { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; left: -9999px; }
.stage__status {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: var(--s-3);
  background: rgba(11,17,32,.82); backdrop-filter: blur(4px); color: var(--color-text-2); font-size: 0.92rem;
}
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,255,255,.18); border-top-color: var(--color-primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.transport { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-1) var(--s-1) var(--s-2); }
.seek { flex: 1; }
.time { color: var(--color-text-3); font-size: 0.82rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

input[type="range"] { -webkit-appearance: none; appearance: none; height: 6px; border-radius: var(--r-full); background: rgba(255,255,255,.12); cursor: pointer; width: 100%; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 0 5px rgba(236,72,153,.2); border: none; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--color-primary); border: none; }

/* ---------------- Tools (panels) ---------------- */
.tool { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); display: flex; flex-direction: column; gap: var(--s-3); }
.tool__label { font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-3); }
.tool__note { font-size: 0.8rem; color: var(--color-text-3); }
.tool__note.center { text-align: center; }

/* Tira de fondos: scroll horizontal en móvil */
.bg-strip { display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; scroll-snap-type: x proximity; }
.bg-strip::-webkit-scrollbar { display: none; }
.bg-opt {
  flex: 0 0 auto; width: 74px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: var(--s-2); border-radius: var(--r-sm); scroll-snap-align: start;
  background: rgba(255,255,255,.03); border: 1px solid var(--color-border);
  font-size: 0.72rem; color: var(--color-text-2);
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.bg-opt:active { transform: scale(.96); }
.bg-opt.is-active { border-color: var(--color-primary); background: rgba(236,72,153,.1); color: var(--color-fg); }
.bg-opt__swatch { width: 100%; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--color-border); }
.bg-opt__txt { white-space: nowrap; }
.swatch--blur { background: linear-gradient(135deg,#3b3b55,#6d6d99); filter: blur(1px); }
.swatch--alpha { background-image: conic-gradient(#3a3a4a 90deg,#22222e 90deg 180deg,#3a3a4a 180deg 270deg,#22222e 270deg); background-size: 12px 12px; }
.swatch--color { background: var(--color-success); }
.swatch--image { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.swatch--video { background: linear-gradient(135deg,#8b5cf6,#2563eb); }

.color-row { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
input[type="color"] { width: 52px; height: 44px; border: 1px solid var(--color-border); border-radius: var(--r-sm); background: none; cursor: pointer; padding: 2px; }
.preset-row { display: flex; gap: var(--s-2); }
.preset { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--color-border-strong); background: var(--c); transition: transform var(--t-fast); }
.preset:hover { transform: scale(1.12); }

.file-input { width: 100%; font-size: 0.85rem; color: var(--color-text-2); background: rgba(255,255,255,.03); border: 1px solid var(--color-border); border-radius: var(--r-sm); padding: 8px; }
.file-input::file-selector-button { font: inherit; border: none; border-radius: 8px; padding: 8px 12px; background: var(--grad-brand); color: #fff; cursor: pointer; margin-right: 10px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.field-cell { display: flex; flex-direction: column; gap: 6px; }
.field-cap { font-size: 0.78rem; color: var(--color-text-2); }
.select {
  width: 100%; font-size: 0.9rem; color: var(--color-fg);
  background: rgba(255,255,255,.04); border: 1px solid var(--color-border);
  border-radius: var(--r-sm); padding: 11px 32px 11px 12px; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A90A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.select option { background: var(--color-surface); color: var(--color-fg); }

.export-progress { height: 6px; border-radius: var(--r-full); background: rgba(255,255,255,.1); overflow: hidden; }
.export-progress__bar span { display: block; height: 100%; width: 0%; background: var(--grad-brand); transition: width var(--t-fast) linear; }

/* ---------------- Action bar (editor, fija abajo) ---------------- */
.actionbar {
  flex: none; display: flex; gap: var(--s-3); align-items: center;
  padding: var(--s-3) var(--s-4) calc(var(--s-3) + var(--safe-b));
  background: rgba(11,17,32,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--color-border);
}

/* ---------------- Info sheet ---------------- */
.sheet { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(2px); }
.sheet__panel {
  position: relative; width: 100%; max-width: 460px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--r-lg) var(--r-lg) 0 0; padding: var(--s-3) var(--s-5) calc(var(--s-5) + var(--safe-b));
  box-shadow: var(--sh-3); animation: sheet-up var(--t-mid) var(--ease);
}
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
.sheet__grip { width: 40px; height: 4px; border-radius: var(--r-full); background: var(--color-border-strong); margin: 4px auto var(--s-3); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-4); }
.sheet__head h2 { font-size: 1.2rem; font-weight: 700; }
.steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.steps li { display: flex; gap: var(--s-3); align-items: flex-start; }
.steps__n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r-full); background: var(--grad-brand); color: #fff; font-weight: 700; font-size: 0.9rem; }
.steps strong { font-size: 0.96rem; }
.steps p { color: var(--color-text-2); font-size: 0.86rem; margin-top: 2px; }
.sheet__note { color: var(--color-text-2); font-size: 0.86rem; margin-top: var(--s-4); line-height: 1.5; }
.sheet__foot { color: var(--color-text-3); font-size: 0.8rem; margin-top: var(--s-3); }

/* ---------------- Landing sections (home) ---------------- */
.home { justify-content: flex-start; padding-block: var(--s-5); }

a.btn, .appbar__btn { text-decoration: none; }

/* Privacy / safety banner */
.privacy {
  display: flex; gap: var(--s-3); align-items: flex-start;
  padding: var(--s-4); border-radius: var(--r-md);
  background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.25);
}
.privacy__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); background: rgba(16,185,129,.15); color: var(--color-success); }
.privacy__title { display: block; font-size: 0.95rem; font-weight: 600; }
.privacy__text { color: var(--color-text-2); font-size: 0.85rem; margin-top: 4px; line-height: 1.5; }

/* Generic section */
.section { display: flex; flex-direction: column; gap: var(--s-3); }
.section__title { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; color: var(--color-fg); }
.section__text { color: var(--color-text-2); font-size: 0.9rem; line-height: 1.6; }
.section__text strong { color: var(--color-fg); font-weight: 600; }

/* Link row (repo) */
.link-row {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4); border-radius: var(--r-md);
  background: var(--color-surface); border: 1px solid var(--color-border);
  text-decoration: none; color: var(--color-fg);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.link-row:hover { border-color: var(--color-border-strong); background: var(--color-surface-2); }
.link-row__icon { flex: none; color: var(--color-fg); }
.link-row__body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.link-row__body strong { font-size: 0.92rem; font-weight: 600; }
.link-row__sub { font-size: 0.8rem; color: var(--color-text-3); }
.link-row__chev { flex: none; color: var(--color-text-3); }

/* Download (Android) card */
.download { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-md); background: var(--color-surface); border: 1px solid var(--color-border); }
.download__head { display: flex; gap: var(--s-3); align-items: flex-start; }
.download__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); background: rgba(37,99,235,.15); color: #60A5FA; }
.download__text { color: var(--color-text-2); font-size: 0.88rem; line-height: 1.5; }
.download__text strong { color: var(--color-fg); }
.download__note { color: var(--color-text-3); font-size: 0.78rem; line-height: 1.5; }

/* FAQ accordion (native <details>) */
.faq { display: flex; flex-direction: column; gap: var(--s-2); }
.faq__item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--r-sm); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; min-height: 48px;
  padding: 13px var(--s-4); font-size: 0.9rem; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item[open] summary { color: var(--color-primary); }
.faq__mark { flex: none; position: relative; width: 16px; height: 16px; }
.faq__mark::before, .faq__mark::after { content: ''; position: absolute; background: currentColor; border-radius: 2px; transition: transform var(--t-fast); }
.faq__mark::before { top: 7px; left: 2px; right: 2px; height: 2px; }
.faq__mark::after { left: 7px; top: 2px; bottom: 2px; width: 2px; }
.faq__item[open] .faq__mark::after { transform: scaleY(0); }
.faq__item p { padding: 0 var(--s-4) 14px; color: var(--color-text-2); font-size: 0.86rem; line-height: 1.55; }

/* Footer */
.site-footer { margin-top: var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; gap: var(--s-2); text-align: center; }
.site-footer__brand { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--color-fg); text-decoration: none; font-size: 0.9rem; transition: opacity var(--t-fast); }
.site-footer__brand:hover { opacity: 0.8; }
.site-footer__brand strong { font-weight: 700; }
.site-footer__mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--grad-brand); color: #fff; }
.site-footer__note { color: var(--color-text-3); font-size: 0.78rem; }

/* ---------------- Hero polish ---------------- */
.home__logo { box-shadow: inset 0 0 0 1px var(--color-border), 0 0 40px rgba(236,72,153,.18); }
.home__title { text-shadow: 0 0 28px rgba(236,72,153,.22); }
.home__title .accent { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Trust chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-full); background: rgba(255,255,255,.04); border: 1px solid var(--color-border); font-size: 0.8rem; color: var(--color-text-2); }
.chip svg { width: 14px; height: 14px; color: var(--color-success); flex: none; }

/* ---------------- Features grid ---------------- */
.features__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
.feature {
  display: flex; flex-direction: column; gap: var(--s-2);
  padding: var(--s-4); border-radius: var(--r-md);
  background: var(--color-surface); border: 1px solid var(--color-border);
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), background var(--t-fast);
}
.feature:hover { border-color: var(--color-border-strong); background: var(--color-surface-2); transform: translateY(-2px); }
.feature__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-sm); background: rgba(236,72,153,.12); color: var(--color-primary); }
.feature:nth-child(2) .feature__icon { background: rgba(37,99,235,.14); color: #60A5FA; }
.feature:nth-child(3) .feature__icon { background: rgba(16,185,129,.14); color: var(--color-success); }
.feature:nth-child(4) .feature__icon { background: rgba(139,92,246,.14); color: #A78BFA; }
.feature__title { font-size: 0.98rem; font-weight: 600; }
.feature__text { font-size: 0.86rem; color: var(--color-text-2); line-height: 1.5; }

/* ---------------- Interaction polish ---------------- */
.link-row, .faq__item summary, .bg-opt, .btn, .icon-btn, .preset,
.appbar__btn, .site-footer__brand, .chip, .select,
input[type="color"], input[type="range"] { cursor: pointer; }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(236,72,153,.35); }
.btn--ghost:hover { transform: translateY(-1px); }
.link-row:hover .link-row__chev { transform: translateX(3px); transition: transform var(--t-fast); }
.steps li { transition: transform var(--t-fast) var(--ease); }
.faq__item { transition: border-color var(--t-fast); }
.faq__item[open] { border-color: var(--color-border-strong); }

/* ============================================================
   Desktop / web layout (>=640px). Placed LAST on purpose so it
   overrides same-specificity base rules by source order. The
   mobile app-shell (<640px) is untouched.
   ============================================================ */
@media (min-width: 640px) {
  html, body { overflow: visible; height: auto; }
  body { background: var(--color-bg); min-height: 100dvh; }
  .app { width: 100%; height: auto; min-height: 100dvh; overflow: visible; }
  .app-main { overflow: visible; }
  .appbar { position: sticky; top: 0; padding-inline: max(var(--s-5), calc((100% - 1120px) / 2)); }
  .actionbar { position: sticky; bottom: 0; }

  .screen { max-width: 880px; margin-inline: auto; width: 100%; padding: var(--s-6) var(--s-5) calc(var(--s-6) * 2); gap: var(--s-6); }
  .home { justify-content: flex-start; }

  .home__intro { gap: var(--s-4); padding-top: var(--s-5); }
  .home__title { font-size: clamp(2.2rem, 4vw, 3rem); }
  .home__sub { font-size: 1.08rem; max-width: 50ch; }

  /* action-first blocks keep a comfortable reading width */
  .home__intro, .dropzone, .privacy,
  .home > [aria-labelledby="h-apk"] { max-width: 560px; margin-inline: auto; width: 100%; }
}

@media (min-width: 768px) {
  .steps { flex-direction: row; gap: var(--s-3); }
  .steps li { flex: 1; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .faq, .section__text, .section .link-row { max-width: 680px; margin-inline: auto; width: 100%; }
  .workspace { max-width: 780px; }
}

@media (min-width: 1024px) {
  .features__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
