/* Beepzip — landing. Sistema visual del canvas de disseny (veure mobile/CLAUDE.md § Sistema visual). */

@font-face { font-family: 'Space Grotesk'; src: url('fonts/SpaceGrotesk-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('fonts/SpaceGrotesk-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('fonts/SpaceGrotesk-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('fonts/IBMPlexSans-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

:root {
  --bg: #f3f5fa;
  --surface: #ffffff;
  --border: #dce1ee;
  --border-strong: #c9d0e3;
  --ink: #0e1430;
  --ink-2: #1a2147;
  --ink-muted: #4a5170;
  --ink-faint: #6b7290;
  --primary: #2340e8;
  --primary-soft: #dce4ff;
  --yellow: #ffd23f;
  --success: #0b5e3b;
  --success-bg: #e3f5ec;
  --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --radius: 20px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 30px 80px -20px rgba(14, 20, 48, 0.35), 0 10px 30px -10px rgba(14, 20, 48, 0.2);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 40px); }

/* ---------- Botons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 16px; border: 0;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background 180ms;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 42px; padding: 0 16px; border-radius: 12px; font-size: 15px; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(255, 210, 63, 0.8); }
.btn-ghost-dark { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); }
@media (hover: hover) {
  .btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(255, 210, 63, 0.9); }
  .btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.14); }
}
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

/* ---------- Navegació ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background 250ms, box-shadow 250ms, backdrop-filter 250ms;
}
.nav.is-scrolled { background: rgba(14, 20, 48, 0.86); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 22px/1 var(--display); letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, 0.78); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 150ms; }
.nav-links a:hover { color: #fff; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); }
.lang a { padding: 6px 8px; border-radius: 7px; color: rgba(255, 255, 255, 0.7); text-decoration: none; font: 600 12px/1 var(--body); letter-spacing: 0.04em; }
.lang a:hover { color: #fff; }
.lang a[aria-current='page'] { background: rgba(255, 255, 255, 0.16); color: #fff; }
@media (max-width: 900px) { .nav-links { display: none; } .lang { margin-left: auto; } }
@media (max-width: 420px) { .nav .btn-sm { padding: 0 12px; font-size: 14px; } .brand span { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: 140px 0 110px;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 78% 40%, rgba(35, 64, 232, 0.45), transparent 70%),
    radial-gradient(500px 300px at 90% 90%, rgba(255, 210, 63, 0.18), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 48px 48px;
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.eyebrow { font: 600 13px/1.4 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.eyebrow-dark { color: var(--yellow); }
.hero h1 { font-size: clamp(38px, 4.4vw, 60px); }
.hl { color: var(--yellow); }
.lead { margin-top: 24px; font-size: 19px; color: rgba(255, 255, 255, 0.78); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: rgba(255, 255, 255, 0.65); }
.hero-proof b { color: #fff; font-weight: 600; }
.hero-proof li::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); margin-right: 8px; vertical-align: middle; }

.hero-visual { position: relative; display: flex; justify-content: center; min-height: 640px; }

/* ---------- Mòbil ---------- */
.phone {
  position: relative; width: 300px;
  padding: 10px; border-radius: 48px;
  background: linear-gradient(145deg, #2a3157, #070b20);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
/* La pantalla manté la relació d'aspecte amb el truc del padding-top percentual, que es
   basa en l'amplada REAL renderitzada de l'element (no en cap variable ni atribut d'imatge):
   funciona a qualsevol navegador i a qualsevol amplada de .phone (300, 260, 320, 340...),
   sense dependre d'`aspect-ratio`. Les imatges van absolutes a sobre i omplen amb `cover`. */
.phone-screen { position: relative; width: 100%; height: 0; padding-top: 216.41%; border-radius: 38px; overflow: hidden; background: var(--bg); }
.phone-screen > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; transform: scale(1.02);
  transition: opacity 600ms var(--ease-out), transform 900ms var(--ease-out);
}
.phone-screen > img.is-active { opacity: 1; transform: none; }
.phone-hero { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* Notificació flotant */
.notif {
  position: absolute; top: 64px; right: -10px; z-index: 5; width: 320px;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 22px;
  background: rgba(255, 255, 255, 0.94); color: var(--ink);
  backdrop-filter: blur(16px); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(-16px) scale(0.96);
  transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out);
}
.notif.is-visible { opacity: 1; transform: none; }
.notif img { border-radius: 10px; flex: none; }
.notif-app { font-size: 12px; color: var(--ink-faint); }
.notif-title { font: 600 15px/1.3 var(--body); }
.notif-body { font-size: 13px; line-height: 1.4; color: var(--ink-muted); }

.float-chip {
  position: absolute; left: -24px; bottom: 90px; z-index: 5;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px;
  background: var(--surface); color: var(--ink); font: 600 14px/1 var(--body);
  box-shadow: var(--shadow-lg); animation: float 6s ease-in-out -2s infinite;
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-live { background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* ---------- Franja de xifres ---------- */
.strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; }
.stat b { display: block; font: 700 40px/1 var(--display); letter-spacing: -0.03em; }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-muted); line-height: 1.45; }

/* ---------- Seccions ---------- */
.section { padding: 120px 0; }
.section-tint { background: #eaedf6; }
.section-dark { background: var(--ink); color: #fff; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section h2 { font-size: clamp(32px, 4.2vw, 52px); }
.sub { margin-top: 18px; font-size: 19px; color: var(--ink-muted); }
.sub-dark { color: rgba(255, 255, 255, 0.72); }

/* ---------- Scrollytelling ---------- */
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.story-sticky { position: sticky; top: 110px; display: flex; justify-content: center; }
.phone-story { width: 320px; }
.story-steps { list-style: none; padding: 0; margin: 0; }
.story-step {
  min-height: 62vh; display: flex; flex-direction: column; justify-content: center;
  opacity: 0.32; transition: opacity 400ms var(--ease-out);
}
.story-step.is-active { opacity: 1; }
.step-shot { display: none; }
.step-num { font: 700 15px/1 var(--display); color: var(--primary); margin-bottom: 14px; }
.story-step h3 { font-size: clamp(28px, 3.2vw, 40px); }
.story-step p { margin-top: 14px; font-size: 19px; color: var(--ink-muted); max-width: 520px; }

/* ---------- Cicle animat ---------- */
.flow { padding: 36px; border-radius: 28px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.08); }
.flow-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: 28px; }
.flow-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; font: 600 15px/1.2 var(--body); color: rgba(255, 255, 255, 0.45); transition: color 300ms; }
.flow-node span { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255, 255, 255, 0.25); transition: background 300ms, border-color 300ms, transform 300ms var(--ease-out); }
.flow-node.is-done { color: rgba(255, 255, 255, 0.8); }
.flow-node.is-done span { background: var(--primary); border-color: var(--primary); }
.flow-node.is-current { color: #fff; }
.flow-node.is-current span { background: var(--yellow); border-color: var(--yellow); transform: scale(1.25); }
.flow-bar { position: absolute; top: 10px; left: 12.5%; right: 12.5%; height: 2px; background: rgba(255, 255, 255, 0.15); }
.flow-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--yellow)); transition: width 700ms var(--ease-out); }

.flow-stage { display: grid; grid-template-columns: 220px 1fr 280px; gap: 28px; align-items: center; }
.mini-phone { border-radius: 26px; background: var(--bg); color: var(--ink); overflow: hidden; border: 6px solid #070b20; min-height: 300px; display: flex; flex-direction: column; }
.mini-phone-head { background: var(--ink); color: #fff; padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; }
.mini-label { font-size: 11px; color: var(--border-strong); }
.mini-code { font: 700 28px/1 var(--display); letter-spacing: 0.12em; color: var(--yellow); }
.mini-status { padding: 16px; font: 700 17px/1.25 var(--display); }
.mini-notif { margin: auto 10px 10px; padding: 10px; border-radius: 14px; background: var(--surface); box-shadow: 0 8px 20px -10px rgba(14, 20, 48, 0.4); display: flex; gap: 8px; align-items: center; font-size: 12px; line-height: 1.3; transition: opacity 300ms, transform 400ms var(--ease-out); }
.mini-notif.is-bump { animation: bump 500ms var(--ease-out); }
.mini-notif img { border-radius: 6px; flex: none; }
@keyframes bump { 0% { transform: translateY(-14px); opacity: 0; } 100% { transform: none; opacity: 1; } }

.kanban { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; height: 300px; }
.kb-col { border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); padding: 12px; }
.kb-col p { font: 600 13px/1 var(--body); color: rgba(255, 255, 255, 0.7); }
.kb-card {
  position: absolute; top: 46px; left: 0; width: calc((100% - 24px) / 3);
  padding: 12px; border-radius: 14px; background: var(--surface); color: var(--ink);
  display: flex; flex-direction: column; gap: 2px; font-size: 13px;
  border: 2px solid var(--primary);
  transition: transform 800ms var(--ease-out), border-color 300ms, background 300ms, opacity 400ms;
}
.kb-card b { font: 700 18px/1.2 var(--display); letter-spacing: 0.08em; }
.kb-card[data-col='1'] { transform: translateX(calc(100% + 12px)); border-color: var(--border); }
.kb-card[data-col='2'] { transform: translateX(calc(200% + 24px)); border-color: var(--success); background: #f4fbf7; }
.kb-card[data-col='3'] { transform: translateX(calc(200% + 24px)) translateY(-20px) scale(0.92); opacity: 0; }

.effects { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.effects li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); opacity: 0.35; transition: opacity 300ms, background 300ms, border-color 300ms; }
.effects li.is-on { opacity: 1; background: rgba(255, 210, 63, 0.1); border-color: rgba(255, 210, 63, 0.35); }
.effects b { display: block; font-size: 14px; }
.effects span { font-size: 13px; color: rgba(255, 255, 255, 0.65); line-height: 1.35; }
.fx-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); }
.fx-ic svg { width: 18px; height: 18px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Botiga ---------- */
.monitor { margin: 0; }
.monitor-frame { padding: 12px; border-radius: 24px; background: linear-gradient(145deg, #2a3157, #070b20); box-shadow: var(--shadow-lg); }
.monitor-frame > img { border-radius: 14px; width: 100%; height: auto; }
figcaption { margin-top: 18px; font-size: 16px; color: var(--ink-muted); max-width: 720px; }
figcaption b { color: var(--ink); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
.tablet { margin: 0; }
.tablet-frame { padding: 10px; border-radius: 22px; background: linear-gradient(145deg, #2a3157, #070b20); box-shadow: var(--shadow-lg); }
.tablet-frame img { border-radius: 13px; width: 100%; height: auto; }

/* ---------- Funcionalitats ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out); }
@media (hover: hover) { .feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(14, 20, 48, 0.35); } }
.feature svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--primary-soft); fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-top: 18px; font-size: 20px; }
.feature p { margin-top: 8px; font-size: 15px; color: var(--ink-muted); line-height: 1.55; }

/* ---------- Demo ---------- */
.demo-steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.demo-steps li { padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); font-size: 15px; color: var(--ink-muted); line-height: 1.45; }
.demo-steps b { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; border-radius: 50%; background: var(--ink); color: var(--yellow); font: 700 14px/1 var(--display); }
.demo-steps em { font-style: normal; font-weight: 600; color: var(--ink); }
.demo-grid { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; }
.demo-pane { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.demo-pane-wide { align-items: stretch; }
.phone-demo { width: 340px; }
.monitor-demo { aspect-ratio: 16 / 10; position: relative; }
.monitor-demo iframe, .phone-demo iframe { width: 100%; height: 100%; border: 0; background: var(--bg); }
.monitor-demo iframe { border-radius: 14px; }
.demo-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: var(--bg); color: var(--ink); font-weight: 600; }
.demo-cover img { border-radius: 16px; }
.demo-cover-dark { background: var(--ink); color: #fff; border-radius: 14px; inset: 12px; }
.demo-alt { font-size: 14px; color: var(--ink-muted); text-align: center; }
.qr { width: 120px; height: 120px; padding: 8px; background: #fff; border-radius: 12px; border: 1px solid var(--border); }

/* ---------- Implantació ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.timeline li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.timeline span { font: 700 34px/1 var(--display); color: var(--primary-soft); -webkit-text-stroke: 1.5px var(--primary); }
.timeline h3 { margin-top: 16px; font-size: 20px; }
.timeline p { margin-top: 8px; font-size: 15px; color: var(--ink-muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--border); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 600 18px/1.35 var(--display); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--primary); transition: transform 250ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-muted); }

/* ---------- Contacte ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.lead-form { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 24px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.08); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.opt { color: rgba(255, 255, 255, 0.45); font-weight: 400; }
.lead-form input, .lead-form textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06); color: #fff;
  font: 400 16px/1.4 var(--body); transition: border-color 150ms, background 150ms;
}
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--yellow); background: rgba(255, 255, 255, 0.1); }
.lead-form .btn { margin-top: 6px; }
.lead-form .btn[disabled] { opacity: 0.6; cursor: default; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-weight: 600; }
.form-status.ok { color: #7ee2a8; }
.form-status.err { color: #ffb38a; }
.privacy { font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* ---------- Peu ---------- */
.footer { background: #070b20; color: rgba(255, 255, 255, 0.6); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 0; flex-wrap: wrap; }
.brand-footer { font-size: 18px; }

/* ---------- Aparició en fer scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .flow-stage { grid-template-columns: 1fr; }
  .mini-phone { max-width: 260px; margin-inline: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .timeline, .demo-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding: 120px 0 72px; }
  .hero-grid, .story, .contact-grid, .demo-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 24px; }
  .notif { right: 0; left: auto; width: min(320px, 90%); }
  .float-chip { left: 0; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .story-sticky { display: none; }
  .story-step { min-height: 0; padding: 32px 0; opacity: 1; }
  /* Alçada EXPLÍCITA en píxels (220 × 844/390 ≈ 476) perquè cap navegador la calculi a partir
     de l'atribut height="844" de la imatge: era el que deixava el mockup molt allargat a Android.
     object-fit:cover manté la captura ben enquadrada dins aquesta caixa. */
  .step-shot {
    display: block; width: 220px; height: 476px; object-fit: cover; object-position: top;
    margin: 0 0 20px; border-radius: 28px; border: 8px solid #0e1430; box-shadow: var(--shadow-lg);
  }
  .duo { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .features, .timeline, .demo-steps, .field-row, .strip-grid { grid-template-columns: 1fr; }
  .phone { width: 260px; }
  .phone-demo { width: 290px; }
  .flow { padding: 20px; }
  .flow-node { font-size: 12px; }
  .kanban { height: 240px; }
  .monitor-demo { aspect-ratio: 3 / 4; }
}

/* Moviment reduït: res es mou sol; els estats es veuen sense transicions. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
