/* n8n Cloud KerBzh - site public. Memes jetons que la console d'administration (/admin). */
:root {
  --bg: #f5f6f8; --surface: #ffffff; --surface-2: #f0f2f5; --border: #e2e5ea;
  --text: #1c2230; --muted: #5f6879; --accent: #ea4b2a; --accent-2: #c93a1c; --accent-soft: #fdebe6;
  --ok: #138a52; --ok-bg: #e3f6ec; --ai: #7a5af8; --ai-soft: #efeaff; --logic: #0e7fb8; --logic-soft: #e2f2fb;
  --radius: 14px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --shadow-lg: 0 20px 50px -12px rgba(16,24,40,.22);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --header-h: 68px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1218; --surface: #171b23; --surface-2: #1e232d; --border: #2a303c;
    --text: #e6e8ee; --muted: #9aa2b2; --accent: #ff6a4d; --accent-2: #ff8a73; --accent-soft: #3a1f19;
    --ok: #4cd593; --ok-bg: #12301f; --ai: #a48bff; --ai-soft: #251e40; --logic: #4fb8ef; --logic-soft: #12293a;
    --shadow: 0 1px 2px rgba(0,0,0,.4); --shadow-lg: 0 24px 60px -12px rgba(0,0,0,.6); color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a.subtle { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a.subtle:hover { color: var(--accent); text-decoration-color: currentColor; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; border-radius: 6px; }

/* ---------- boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-size: .95rem; padding: .62rem 1.05rem;
  border-radius: 10px; cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s, box-shadow .15s; text-decoration: none; }
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-light { background: #fff; color: #1c2230; border-color: #fff; }
.btn-light:hover { background: #f3f3f3; }
.btn-lg { padding: .85rem 1.35rem; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: .4rem .75rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }
.btn[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; }
.linklike:hover { color: var(--accent); }

/* ---------- en-tete */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none !important; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-size: 1.05rem; }
.brand small { color: var(--muted); font-size: .75rem; }
.nav { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 550; font-size: .95rem; padding: .45rem .7rem; border-radius: 8px; }
.nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 11px; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, top .2s, opacity .2s; content: ""; }
.burger span { top: 19px; } .burger span::before { top: -6px; left: 0; } .burger span::after { top: 6px; left: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 2rem; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); padding: .3rem .8rem; border-radius: 99px; margin-bottom: 1.4rem; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.hl { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 40em; }
.lead strong { color: var(--text); }
.signup-inline { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 1rem; max-width: 560px; }
.signup-inline input { flex: 1 1 240px; }
.signup-inline .form-feedback { flex-basis: 100%; }
input[type=email], input[type=text] { font: inherit; font-size: 1rem; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px; padding: .85rem 1rem; min-width: 0; transition: border-color .15s, box-shadow .15s; }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.form-feedback { margin: 0; min-height: 1.4em; font-size: .92rem; font-weight: 550; }
.form-feedback .ok { color: var(--ok); } .form-feedback .err { color: var(--accent-2); }
.reassure { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--muted); font-size: .92rem; }
.reassure li { display: flex; align-items: center; gap: .4rem; }
.reassure svg { width: 18px; height: 18px; fill: none; stroke: var(--ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- canevas facon n8n */
.canvas-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.canvas-bar { display: flex; align-items: center; gap: .45rem; padding: .7rem 1rem; border-bottom: 1px solid var(--border); font-size: .85rem; }
.canvas-bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.canvas-bar em { font-style: normal; font-weight: 600; margin-left: .5rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.canvas-bar .live { margin-left: auto; font-size: .75rem; color: var(--ok); background: var(--ok-bg); padding: .15rem .55rem; border-radius: 99px; }
.flow { width: 100%; height: auto; }
.grid-dot { fill: color-mix(in srgb, var(--muted) 30%, transparent); }
.edge { fill: none; stroke: color-mix(in srgb, var(--muted) 55%, transparent); stroke-width: 2.4; }
.branch { font: 600 11px var(--font); fill: var(--muted); }
.node rect { fill: var(--surface); stroke: color-mix(in srgb, var(--muted) 45%, transparent); stroke-width: 2; transition: stroke .3s, fill .3s, filter .3s; }
.node .ico { fill: none; stroke: var(--text); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.node .handle { fill: var(--surface); stroke: color-mix(in srgb, var(--muted) 60%, transparent); stroke-width: 2; }
.node text { font: 600 12px var(--font); fill: var(--text); text-anchor: middle; }
.node .bolt { fill: var(--accent); }
.node.trigger rect { rx: 26; }
.node.ai .ico { stroke: var(--ai); } .node.logic .ico { stroke: var(--logic); } .node.action .ico { stroke: var(--accent); }
.hero .node rect { stroke: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.packets circle { fill: var(--accent); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--accent) 70%, transparent)); }
.toast-run { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600;
  background: var(--ok-bg); color: var(--ok); padding: .35rem .7rem; border-radius: 99px; animation: pop 3.2s ease-in-out infinite; }
.toast-run svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { 0%, 78% { opacity: 0; transform: translateY(6px); } 86%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- bandeau d'applications */
.marquee { margin-top: clamp(2.5rem, 5vw, 4rem); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: .7rem; width: max-content; animation: marquee 45s linear infinite; }
.marquee-track span { font-weight: 600; font-size: .92rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); padding: .45rem .95rem; border-radius: 99px; white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-caption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 1rem; }

/* ---------- sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.kicker { display: inline-block; color: var(--accent) !important; font-weight: 700; font-size: .82rem !important; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .7rem; }

/* ---------- histoire au defilement */
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.story-visual { position: sticky; top: calc(var(--header-h) + 24px); }
.story .edge { stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset .6s ease, stroke .3s; }
.story .node { opacity: .35; transition: opacity .4s; }
.story .node rect { transition: stroke .3s, filter .3s; }
.story .packets { opacity: 0; transition: opacity .3s; }
.story[data-step="1"] .n1, .story[data-step="2"] :is(.n1,.n2), .story[data-step="3"] :is(.n1,.n2,.n3), .story[data-step="4"] .node { opacity: 1; }
.story[data-step="2"] .e1, .story[data-step="3"] :is(.e1,.e2), .story[data-step="4"] .edge { stroke-dashoffset: 0; stroke: var(--accent); }
.story[data-step="2"] .sp2, .story[data-step="3"] :is(.sp2,.sp3), .story[data-step="4"] .packets { opacity: 1; }
.story[data-step="1"] .n1 rect, .story[data-step="2"] .n2 rect, .story[data-step="3"] .n3 rect, .story[data-step="4"] .n4 rect
  { stroke: var(--accent); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent) 45%, transparent)); }
.data-panel { position: relative; margin: 0 1rem 1rem; min-height: 96px; }
.dp { position: absolute; inset: 0; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: .75rem .9rem;
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.dp b { display: block; font-size: .82rem; margin-bottom: .3rem; } .ok-t { color: var(--ok); }
.dp code { font: .82rem/1.55 var(--mono); color: var(--muted); }
.story[data-step="1"] .dp[data-for="1"], .story[data-step="2"] .dp[data-for="2"], .story[data-step="3"] .dp[data-for="3"], .story[data-step="4"] .dp[data-for="4"] { opacity: 1; transform: none; }
.story-steps { list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 1.6rem 1.6rem 1.6rem 4.4rem; margin-bottom: 30vh; border-radius: var(--radius); border: 1px solid transparent; transition: background .3s, border-color .3s, opacity .3s; opacity: .45; }
.step:last-child { margin-bottom: 8vh; }
.step.active { opacity: 1; background: var(--surface); border-color: var(--border); box-shadow: var(--shadow); }
.step-n { position: absolute; left: 1.4rem; top: 1.55rem; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: .95rem; background: var(--surface-2); color: var(--muted); transition: background .3s, color .3s; }
.step.active .step-n { background: var(--accent); color: #fff; }
.step h3 { font-size: 1.25rem; } .step p { color: var(--muted); margin: 0; }

/* ---------- cartes */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.card h3 { font-size: 1.12rem; } .card p { color: var(--muted); margin: 0; font-size: .97rem; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-bottom: 1rem; }
.chips span { font-size: .78rem; font-weight: 650; background: var(--accent-soft); color: var(--accent-2); padding: .2rem .55rem; border-radius: 7px; }
.chips i { font-style: normal; color: var(--muted); font-size: .8rem; }
.link-arrow { display: inline-block; margin-top: 2rem; font-weight: 650; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem 2rem; }
.feature h3 { font-size: 1.1rem; margin-top: .9rem; } .feature p { color: var(--muted); margin: 0; }
.f-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); }
.f-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps3 { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: s; }
.steps3 li { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.steps3 span { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 1rem; }
.steps3 h3 { font-size: 1.12rem; } .steps3 p { color: var(--muted); margin: 0; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--accent), #ff7a59); color: #fff; border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.cta-band h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: .3rem; } .cta-band p { margin: 0; opacity: .92; }

/* ---------- FAQ */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: .7rem; transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.2rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 1.2rem; color: var(--muted); }
.faq details p:last-child { padding-bottom: .4rem; }

/* ---------- pied de page */
.site-footer { border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-grid ul a { color: var(--muted); } .footer-grid ul a:hover { color: var(--accent); }
.footer-grid .brand { margin-bottom: 1rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; border-top: 1px solid var(--border); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- modale */
.modal { border: 0; padding: 0; border-radius: 20px; background: var(--surface); color: var(--text); width: min(460px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); }
.modal::backdrop { background: rgba(10,12,18,.55); backdrop-filter: blur(3px); }
.modal[open] { animation: rise .25s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-body { padding: 2rem; position: relative; margin: 0; }
.modal-close { position: absolute; right: .9rem; top: .7rem; border: 0; background: none; font-size: 1.7rem; line-height: 1; color: var(--muted); cursor: pointer; padding: .2rem .5rem; border-radius: 8px; }
.modal-close:hover { background: var(--surface-2); color: var(--text); }
.modal-icon { margin-bottom: 1rem; }
.modal h2 { font-size: 1.5rem; }
.modal label { display: block; font-weight: 600; font-size: .92rem; margin: 1.2rem 0 .4rem; }
.modal input { width: 100%; margin-bottom: 1rem; }
.modal .form-feedback { margin-top: .8rem; }
.fine { font-size: .78rem; color: var(--muted); margin: .6rem 0 0; }
.form-done { text-align: center; }
.done-check { width: 64px; height: 64px; margin: .5rem auto 1rem; border-radius: 50%; background: var(--ok-bg); display: grid; place-items: center; animation: rise .35s ease-out; }
.done-check svg { width: 32px; height: 32px; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done-msg { color: var(--muted); }
.done-tips { text-align: left; background: var(--surface-2); border-radius: 12px; padding: .9rem 1rem .9rem 2.2rem; font-size: .9rem; color: var(--muted); margin: 0 0 1.2rem; }
.done-tips li { margin: .2rem 0; }

/* ---------- apparition au defilement */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; }
  .cards, .features { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-visual { top: calc(var(--header-h) + 8px); z-index: 2; background: var(--bg); padding: 0 0 .8rem; }
  .story-visual .canvas-card { box-shadow: var(--shadow); }
  .step { margin-bottom: 45vh; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .header-actions { margin-left: auto; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: .2rem; padding: .8rem 16px 1.2rem;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s linear .2s; margin: 0; }
  .nav.open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav a, .nav .btn { padding: .8rem .9rem; font-size: 1rem; justify-content: flex-start; }
  .header-actions .btn-primary { padding: .55rem .85rem; font-size: .9rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  body { font-size: 15.5px; }
  .brand small { display: none; }
  .cards, .features, .steps3 { grid-template-columns: 1fr; }
  .signup-inline { flex-direction: column; } .signup-inline input, .signup-inline .btn { width: 100%; flex: none; }
  .step { padding: 1.2rem 1.1rem 1.2rem 3.6rem; margin-bottom: 55vh; }
  .step-n { left: 1rem; top: 1.2rem; }
  .data-panel { min-height: 88px; margin: 0 .6rem .6rem; }
  .canvas-bar em { font-size: .8rem; }
  .toast-run { display: none; }
  .modal-body { padding: 1.6rem 1.3rem; }
  .cta-band .btn { width: 100%; }
}
@media (max-width: 380px) { .header-actions .btn-primary { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .packets { display: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track span[aria-hidden] { display: none; }
}
