/* ═══════════════════════════════════════════════════════════════════
   "Swarm Build" — one name in, a whole business online (index.html #swarm-build)
   A swarm of named agent cursors flies over a design canvas and builds six
   artboards at once: brand kit, domain, business email, website, Facebook
   page and Google Business Profile. Visitors type their business name and
   the swarm rebuilds everything with it (swarm.js).
   Light canvas in light mode, night canvas in dark (glass) mode — every
   colour comes from the --sw-* tokens; brand palette only.
   ═══════════════════════════════════════════════════════════════════ */
.swarm-section {
    --sw-bg:
        radial-gradient(900px 480px at 0% 0%, rgba(138,50,138,0.10), transparent 60%),
        radial-gradient(800px 480px at 100% 100%, rgba(0,201,198,0.10), transparent 60%),
        linear-gradient(180deg, #fbf9fd 0%, #f6f2fa 100%);
    --sw-ink: #1a0e2e;
    --sw-soft: rgba(26,14,46,0.74);
    --sw-mute: rgba(26,14,46,0.52);
    --sw-line: rgba(52,71,103,0.14);
    --sw-chip: rgba(255,255,255,0.85);
    --sw-canvas: #f1ecf7;
    --sw-dots: rgba(52,71,103,0.18);
    --sw-board: #ffffff;
    --sw-board-edge: 0 0 0 1px rgba(52,71,103,0.10), 0 18px 36px -24px rgba(26,14,46,0.35);
    --sw-skel: rgba(52,71,103,0.13);
    --sw-skel-2: rgba(52,71,103,0.08);
    --sw-accent: #8A328A;
    --sw-ok: #006E91;
    --sw-ok-bg: rgba(0,110,145,0.10);
    --sw-title-grad: linear-gradient(110deg, #344767 0%, #8A328A 55%, #C77DBA 100%);
    --sw-img: linear-gradient(160deg, #344767 0%, #8A328A 60%, #FFB1FF 100%);
    --sw-cover: linear-gradient(120deg, #8A328A 0%, #C77DBA 55%, #FFB1FF 100%);
    --sw-map: #eef1f6;
    --sw-road: #ffffff;
    --sw-water: rgba(0,201,198,0.22);
    --sw-btn: #344767;
    --sw-btn-ink: #ffffff;
    --sw-star: #8A328A;
    /* agent colours */
    --sw-c-mag: #8A328A;
    --sw-c-navy: #344767;
    --sw-c-teal: #006E91;
    --sw-c-cyan: #00C9C6;
    --sw-c-lilac: #C77DBA;
    --sw-c-pink: #FFB1FF;
    --sw-c-dark-ink: #1a0e2e;
    position: relative; overflow: hidden; isolation: isolate; color: var(--sw-ink);
    padding: 96px 0 84px;
    background: var(--sw-bg);
}
[data-theme="glass"] .swarm-section {
    --sw-bg:
        radial-gradient(900px 480px at 0% 0%, rgba(138,50,138,0.34), transparent 60%),
        radial-gradient(800px 480px at 100% 100%, rgba(52,71,103,0.45), transparent 60%),
        linear-gradient(180deg, #120a22 0%, #170e2c 100%);
    --sw-ink: #f6f1fc;
    --sw-soft: rgba(246,241,252,0.80);
    --sw-mute: rgba(246,241,252,0.58);
    --sw-line: rgba(255,255,255,0.14);
    --sw-chip: rgba(255,255,255,0.07);
    --sw-canvas: rgba(255,255,255,0.025);
    --sw-dots: rgba(255,255,255,0.10);
    --sw-board: rgba(32,22,58,0.92);
    --sw-board-edge: 0 0 0 1px rgba(255,255,255,0.10), 0 22px 40px -26px rgba(0,0,0,0.7);
    --sw-skel: rgba(255,255,255,0.14);
    --sw-skel-2: rgba(255,255,255,0.07);
    --sw-accent: #FFB1FF;
    --sw-ok: #00C9C6;
    --sw-ok-bg: rgba(0,201,198,0.14);
    --sw-title-grad: linear-gradient(110deg, #FFB1FF 0%, #C77DBA 50%, #00C9C6 100%);
    --sw-img: linear-gradient(160deg, #344767 0%, #8A328A 65%, #C77DBA 100%);
    --sw-map: #251a42;
    --sw-road: rgba(255,255,255,0.16);
    --sw-water: rgba(0,201,198,0.18);
    --sw-btn: #8A328A;
    --sw-star: #FFB1FF;
    --sw-c-navy: #A4ABBD;
    --sw-c-teal: #FFF7D6;
}
.swarm-section::after {    /* brand hairline along the top edge */
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 1;
    background: linear-gradient(90deg, #344767, #8A328A, #FFB1FF, #00C9C6);
}

/* ── head ───────────────────────────────────────────────────────── */
.sw-head { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.sw-over { display: inline-flex; align-items: center; gap: 10px; padding: 6px 15px; border-radius: 999px; margin: 0 0 18px;
    background: var(--sw-chip); border: 1px solid var(--sw-line);
    font-family: var(--font-heading); font-size: .82rem; font-weight: 800; letter-spacing: 2.4px; color: var(--sw-accent); }
.sw-over-dots { display: inline-flex; gap: 3px; }
.sw-over-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--sw-c-mag); animation: swDot 1.4s ease-in-out infinite; }
.sw-over-dots i:nth-child(2) { background: var(--sw-c-cyan); animation-delay: .2s; }
.sw-over-dots i:nth-child(3) { background: var(--sw-c-lilac); animation-delay: .4s; }
@keyframes swDot { 0%, 100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(-4px); opacity: 1; } }
.sw-title { font-family: var(--font-heading); font-size: clamp(2.6rem, 5.6vw, 4.8rem); font-weight: 900; line-height: .98; letter-spacing: -2px; margin: 0; color: var(--sw-ink); }
.sw-title span { background: var(--sw-title-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sw-lead { font-size: 1.12rem; line-height: 1.6; color: var(--sw-soft); margin: 0 0 20px; max-width: 600px; }

.sw-form { display: flex; align-items: center; gap: 10px; max-width: 600px; padding: 7px; padding-inline-start: 18px; border-radius: 999px;
    background: var(--sw-board); box-shadow: var(--sw-board-edge); }
.sw-form > .material-icons-round { color: var(--sw-accent); font-size: 22px; }
.sw-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--sw-ink);
    font: 600 1.02rem var(--font-body); padding: 10px 0; }
.sw-form input::placeholder { color: var(--sw-mute); font-weight: 500; }
.sw-form:focus-within { box-shadow: var(--sw-board-edge), 0 0 0 3px rgba(138,50,138,0.25); }
.sw-form .btn { white-space: nowrap; }

/* ── stage: a design canvas in three chapters; the camera pans between them ── */
.sw-stage {
    position: relative; border-radius: 28px; overflow: hidden;
    background-color: var(--sw-canvas);
    background-image: radial-gradient(var(--sw-dots) 1.2px, transparent 1.3px);
    background-size: 22px 22px;
    border: 1px solid var(--sw-line);
}
.sw-phases { position: relative; z-index: 6; display: flex; gap: 10px; padding: 18px 30px 0; }
.sw-phase { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 8px; row-gap: 8px; padding: 10px 12px; border-radius: 14px; cursor: pointer;
    border: 1px solid var(--sw-line); background: var(--sw-chip); color: var(--sw-mute); font: 800 .82rem/1.2 var(--font-heading); text-align: start; transition: color .3s, border-color .3s, background .3s; }
.sw-phase-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: .78rem; background: var(--sw-skel-2); color: var(--sw-mute); transition: background .3s, color .3s; }
.sw-phase-bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--sw-skel-2); overflow: hidden; }
.sw-phase-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #8A328A, #FFB1FF); transition: width .35s ease; }
.sw-phase::after { grid-row: 1; grid-column: 3; content: 'check_circle'; font-family: 'Material Icons Round'; font-size: 18px; color: var(--sw-ok); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .45s cubic-bezier(.2,1.6,.4,1); }
.sw-phase.is-on { color: var(--sw-ink); border-color: var(--sw-accent); background: var(--sw-board); box-shadow: var(--sw-board-edge); }
.sw-phase.is-on .sw-phase-n { background: var(--sw-c-mag); color: #fff; }
.sw-phase.is-done::after { opacity: 1; transform: none; }
.sw-phase.is-on { flex: 1.7 1 0; }
.sw-phase-l, .sw-phase-s { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-phase-l { display: none; }
.sw-phase.is-on .sw-phase-l { display: block; }
.sw-phase.is-on .sw-phase-s { display: none; }
.sw-phase:hover { border-color: var(--sw-accent); color: var(--sw-ink); }
.sw-phase:focus-visible { outline: 2px solid var(--sw-accent); outline-offset: 2px; }

.sw-view { position: relative; overflow: hidden; transition: height .7s cubic-bezier(.65,0,.35,1); }
.sw-track { display: flex; align-items: flex-start; transition: transform .8s cubic-bezier(.65,0,.35,1); will-change: transform; }
.sw-panel { flex: 0 0 100%; min-width: 0; display: grid; gap: 22px; padding: 22px 30px 30px; }
.sw-panel--research { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "market market persona" "cmap bench bench"; }
.sw-panel--brand { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "logo guide guide" "domain guide guide" "mail stationery catalog"; }
.sw-panel--web { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, .85fr); grid-template-areas: "web store mobile" "web store dev"; }
.sw-panel--social { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "fb ig wa" "gbp leads wa"; }
.sw-panel--ai { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "chat know chan" "chat act act"; }
.sw-panel--systems { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "dash dash crm" "dash dash cms" "inv inv invoice"; padding-bottom: 96px; }
.sw-board { position: relative; min-width: 0; padding: 14px 16px 16px; border-radius: 16px; background: var(--sw-board); box-shadow: var(--sw-board-edge); }
.sw-board--market { grid-area: market; } .sw-board--persona { grid-area: persona; } .sw-board--cmap { grid-area: cmap; } .sw-board--bench { grid-area: bench; }
.sw-board--logo { grid-area: logo; } .sw-board--guide { grid-area: guide; display: flex; flex-direction: column; } .sw-board--domain { grid-area: domain; }
.sw-board--mail { grid-area: mail; } .sw-board--stationery { grid-area: stationery; } .sw-board--catalog { grid-area: catalog; display: flex; flex-direction: column; }
.sw-board--web { grid-area: web; display: flex; flex-direction: column; } .sw-board--store { grid-area: store; display: flex; flex-direction: column; }
.sw-board--mobile { grid-area: mobile; } .sw-board--dev { grid-area: dev; }
.sw-board--fb { grid-area: fb; } .sw-board--ig { grid-area: ig; } .sw-board--wa { grid-area: wa; } .sw-board--gbp { grid-area: gbp; } .sw-board--leads { grid-area: leads; }
.sw-board--chat { grid-area: chat; display: flex; flex-direction: column; } .sw-board--know { grid-area: know; } .sw-board--chan { grid-area: chan; } .sw-board--act { grid-area: act; }
.sw-board--dash { grid-area: dash; } .sw-board--crm { grid-area: crm; } .sw-board--cms { grid-area: cms; } .sw-board--inv { grid-area: inv; } .sw-board--invoice { grid-area: invoice; }

.sw-tab { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; font: 800 .7rem/1 var(--font-heading); letter-spacing: 1.4px; text-transform: uppercase; color: var(--sw-mute); }
.sw-tab .material-icons-round { font-size: 15px; }
.sw-tab .fa-brands { font-size: 12px; width: 15px; text-align: center; }
.sw-tab::after { content: 'check_circle'; font-family: 'Material Icons Round'; font-size: 16px; letter-spacing: 0; text-transform: none; margin-inline-start: auto;
    color: var(--sw-ok); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .45s cubic-bezier(.2,1.6,.4,1); }
.sw-board.is-done .sw-tab { color: var(--sw-ink); }
.sw-board.is-done .sw-tab::after { opacity: 1; transform: none; }

/* buildable pieces: invisible until an agent places them */
.sw-b, .sw-ty { outline: 1.5px solid transparent; outline-offset: 3px; border-radius: 6px; transition: outline-color .5s ease; }
.sw-b { opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .3s ease, transform .5s cubic-bezier(.2,1.5,.4,1), outline-color .5s ease; }
.sw-b.on { opacity: 1; transform: none; }
.sw-sel { outline-color: var(--ac, #8A328A); transition: outline-color 0s; }
.sw-ty { display: inline-block; max-width: 100%; min-height: 1.15em; vertical-align: bottom; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.sw-typing::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-inline-start: 1px; vertical-align: -0.12em; background: var(--ac, #8A328A); animation: swBlink .7s steps(1) infinite; }
@keyframes swBlink { 50% { opacity: 0; } }

/* brand kit */
.sw-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sw-mark { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px;
    background: linear-gradient(140deg, #344767, #8A328A 60%, #FFB1FF); color: #fff; font: 900 1.5rem/1 var(--font-heading);
    box-shadow: 0 10px 20px -10px rgba(138,50,138,0.7); }
.sw-word { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sw-word b { font: 900 1.18rem/1.15 var(--font-heading); letter-spacing: -.3px; }
.sw-word i { display: block; width: 70%; height: 6px; border-radius: 4px; background: var(--sw-skel); }

/* domain */
.sw-search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--sw-line); background: var(--sw-skel-2); margin-bottom: 12px; }
.sw-search .material-icons-round { font-size: 18px; color: var(--sw-mute); }
.sw-search .sw-ty { font: 700 1rem/1.2 var(--font-body); color: var(--sw-ink); }
.sw-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sw-pill, .sw-mini { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; font: 700 .78rem/1.2 var(--font-body); }
.sw-pill .material-icons-round, .sw-mini .material-icons-round { font-size: 15px; }
.sw-pill { background: var(--sw-ok-bg); color: var(--sw-ok); }
.sw-pill--ok { background: var(--sw-c-mag); color: #fff; }
.sw-mini { background: var(--sw-skel-2); color: var(--sw-soft); border: 1px solid var(--sw-line); }

/* email */
.sw-inbox { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 7px; }
.sw-inbox li { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 10px; background: var(--sw-skel-2); min-width: 0; }
.sw-av { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: 800 .75rem/1 var(--font-heading); color: #fff; background: var(--sw-c-cyan); }
.sw-inbox li:nth-child(2) .sw-av { background: var(--sw-c-mag); }
.sw-inbox li:nth-child(3) .sw-av { background: var(--sw-c-lilac); }
.sw-inbox .sw-ty { font: 600 .86rem/1.2 var(--font-body); color: var(--sw-ink); }
.sw-note { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 12px; background: var(--sw-ok-bg); border: 1px solid var(--sw-line); }
.sw-note > .material-icons-round { color: var(--sw-accent); font-size: 22px; }
.sw-note b { display: block; font: 800 .82rem/1.2 var(--font-heading); }
.sw-note small { display: block; font-size: .78rem; color: var(--sw-soft); }
.sw-note.on { animation: swNudge .6s .35s ease; }
@keyframes swNudge { 30% { transform: translateX(-4px); } 60% { transform: translateX(4px); } }

/* website */
.sw-browser { flex: 1; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; border: 1px solid var(--sw-line); }
.sw-bbar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--sw-skel-2); border-bottom: 1px solid var(--sw-line); }
.sw-bbar > i { width: 9px; height: 9px; border-radius: 50%; background: var(--sw-skel); }
.sw-bbar > i:nth-child(1) { background: #FFB1FF; }
.sw-bbar > i:nth-child(2) { background: #C77DBA; }
.sw-bbar > i:nth-child(3) { background: #00C9C6; }
.sw-url { flex: 1; display: flex; align-items: center; gap: 4px; margin-inline-start: 8px; min-height: 26px; padding: 4px 10px; border-radius: 8px; background: var(--sw-board); font: 600 .82rem/1.2 var(--font-body); color: var(--sw-soft); min-width: 0; }
.sw-url .material-icons-round { font-size: 14px; color: var(--sw-ok); }
.sw-site { position: relative; flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 16px 18px 18px; }
.sw-nav { display: flex; align-items: center; gap: 9px; }
.sw-dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(140deg, #344767, #8A328A); color: #fff; font: 900 .8rem/1 var(--font-heading); }
.sw-nav-name { font: 800 .92rem/1 var(--font-heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40%; }
.sw-links { display: flex; gap: 8px; margin-inline-start: auto; }
.sw-links i { width: 32px; height: 6px; border-radius: 4px; background: var(--sw-skel); }
.sw-nav em, .sw-btns em, .sw-fb-btns em, .sw-g-acts em { font-style: normal; display: inline-flex; align-items: center; gap: 5px; padding: 6px 13px; border-radius: 999px; font: 700 .76rem/1.2 var(--font-body); background: var(--sw-btn); color: var(--sw-btn-ink); white-space: nowrap; }
.sw-hero { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: center; }
.sw-kick { margin: 0 0 4px; font: 700 .78rem/1.2 var(--font-body); letter-spacing: 1.5px; text-transform: uppercase; color: var(--sw-accent); }
.sw-h { margin: 0 0 12px; font: 900 clamp(1.4rem, 2.3vw, 2.15rem)/1.08 var(--font-heading); letter-spacing: -.8px; color: var(--sw-ink); }
.sw-h .sw-ty { white-space: normal; overflow: visible; }
.sw-lines { display: grid; gap: 7px; margin-bottom: 14px; }
.sw-lines i { display: block; height: 7px; border-radius: 4px; background: var(--sw-skel); }
.sw-lines i:last-child { width: 72%; }
.sw-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-ghost { background: transparent !important; color: var(--sw-ink) !important; box-shadow: inset 0 0 0 1.5px var(--sw-line); }
.sw-img { position: relative; min-height: 150px; height: 100%; border-radius: 14px; overflow: hidden; background: var(--sw-img); }
.sw-sun { position: absolute; width: 44px; height: 44px; border-radius: 50%; right: 18%; top: 18%; background: #FFF7D6; box-shadow: 0 0 30px rgba(255,247,214,0.7); }
.sw-hill { position: absolute; left: -10%; right: 30%; bottom: -30%; height: 70%; border-radius: 50%; background: rgba(26,14,46,0.35); }
.sw-hill--2 { left: 35%; right: -20%; bottom: -38%; background: rgba(255,177,255,0.35); }
.sw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sw-cards > span { display: grid; gap: 6px; padding: 10px; border-radius: 12px; background: var(--sw-skel-2); border: 1px solid var(--sw-line); }
.sw-cards i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #00C9C6, #8A328A); }
.sw-cards > span:nth-child(2) i { background: linear-gradient(135deg, #8A328A, #FFB1FF); }
.sw-cards > span:nth-child(3) i { background: linear-gradient(135deg, #344767, #C77DBA); }
.sw-cards b { display: block; height: 6px; border-radius: 4px; background: var(--sw-skel); }
.sw-cards b:last-child { width: 60%; }
.sw-foot { display: flex; gap: 10px; padding-top: 12px; border-top: 1px solid var(--sw-line); }
.sw-foot i { height: 6px; width: 50px; border-radius: 4px; background: var(--sw-skel); }
.sw-pub { position: absolute; top: 12px; inset-inline-end: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px;
    background: linear-gradient(135deg, #8A328A, #C77DBA); color: #fff; font: 800 .74rem/1.2 var(--font-heading); letter-spacing: .5px; box-shadow: 0 10px 22px -10px rgba(138,50,138,0.8); }
.sw-pub .material-icons-round { font-size: 15px; }

/* facebook page */
.sw-cover { height: 86px; border-radius: 12px; background: var(--sw-cover); position: relative; overflow: hidden; }
.sw-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120px 60px at 80% 30%, rgba(255,247,214,0.55), transparent 70%); }
.sw-fb-id { display: flex; align-items: flex-end; gap: 10px; margin: 0 0 12px; margin-inline-start: 12px; position: relative; }
.sw-fb-av { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(140deg, #344767, #8A328A 60%, #FFB1FF); color: #fff; font: 900 1.4rem/1 var(--font-heading); box-shadow: 0 0 0 4px var(--sw-board); margin-top: -28px; }
.sw-fb-meta { display: grid; gap: 3px; min-width: 0; padding-bottom: 2px; }
.sw-fb-meta b { font: 900 1.02rem/1.15 var(--font-heading); }
.sw-fb-meta small { font-size: .76rem; color: var(--sw-mute); }
.sw-fb-btns { display: flex; gap: 8px; margin-bottom: 12px; }
.sw-fb-btns em { flex: 1; justify-content: center; }
.sw-fb-btns .material-icons-round { font-size: 15px; }
.sw-post { display: flex; gap: 10px; padding: 10px; border-radius: 12px; background: var(--sw-skel-2); border: 1px solid var(--sw-line); }
.sw-post > i { flex: none; width: 54px; height: 54px; border-radius: 10px; background: var(--sw-img); }
.sw-post > span { flex: 1; display: grid; gap: 7px; align-content: center; }
.sw-post b { display: block; height: 6px; border-radius: 4px; background: var(--sw-skel); }
.sw-post b:last-child { width: 55%; }

/* google business profile */
.sw-map { position: relative; height: 92px; border-radius: 12px; overflow: visible; margin-bottom: 10px;
    background:
        linear-gradient(0deg, transparent 46%, var(--sw-road) 46% 54%, transparent 54%),
        linear-gradient(90deg, transparent 30%, var(--sw-road) 30% 36%, transparent 36%),
        linear-gradient(64deg, transparent 62%, var(--sw-road) 62% 66%, transparent 66%),
        radial-gradient(60px 36px at 88% 86%, var(--sw-water), transparent 70%),
        var(--sw-map); }
.sw-pin { position: absolute; left: 50%; top: 50%; margin: -34px 0 0 -16px; color: #8A328A; }
.sw-pin .material-icons-round { font-size: 34px; filter: drop-shadow(0 4px 4px rgba(26,14,46,0.35)); }
[data-theme="glass"] .sw-pin { color: #FFB1FF; }
.sw-pin.on { animation: swDrop .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes swDrop { from { transform: translateY(-34px); } }
.sw-g-name { margin: 0 0 6px; font: 900 1.02rem/1.2 var(--font-heading); }
.sw-g-cat { display: block; margin-top: 3px; font: 600 .74rem/1.2 var(--font-body); color: var(--sw-mute); }
.sw-g-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sw-stars { display: inline-flex; gap: 2px; }
.sw-stars i { width: 14px; height: 14px; background: var(--sw-star); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); opacity: .25; }
.sw-stars.on i { animation: swStar .35s ease forwards; }
.sw-stars.on i:nth-child(2) { animation-delay: .08s; }
.sw-stars.on i:nth-child(3) { animation-delay: .16s; }
.sw-stars.on i:nth-child(4) { animation-delay: .24s; }
.sw-stars.on i:nth-child(5) { animation-delay: .32s; }
@keyframes swStar { 60% { transform: scale(1.4); } to { opacity: 1; transform: none; } }
.sw-open { font: 800 .78rem/1.2 var(--font-body); color: var(--sw-ok); }
.sw-g-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-g-acts em { background: var(--sw-skel-2); color: var(--sw-ink); box-shadow: inset 0 0 0 1px var(--sw-line); padding: 5px 10px; }
.sw-g-acts .material-icons-round { font-size: 14px; color: var(--sw-accent); }


/* ── chapter 2: e-store ── */
.sw-cart { position: relative; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sw-skel-2); color: var(--sw-ink); margin-inline-start: 6px; }
.sw-cart .material-icons-round { font-size: 17px; }
.sw-cart b { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--sw-c-mag); color: #fff; font: 800 .66rem/17px var(--font-heading); text-align: center; }
.sw-cart.on b { animation: swBump .5s .2s ease; }
@keyframes swBump { 40% { transform: scale(1.5); } }
.sw-prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sw-prod { display: grid; gap: 7px; padding: 8px; border-radius: 12px; background: var(--sw-skel-2); border: 1px solid var(--sw-line); }
.sw-prod i { display: block; aspect-ratio: 1; border-radius: 9px; background: var(--sw-img); }
.sw-prod:nth-child(2) i { background: linear-gradient(150deg, #8A328A, #FFB1FF); }
.sw-prod:nth-child(3) i { background: linear-gradient(150deg, #006E91, #00C9C6); }
.sw-prod:nth-child(4) i { background: linear-gradient(150deg, #344767, #C77DBA); }
.sw-prod b { display: block; height: 6px; width: 80%; border-radius: 4px; background: var(--sw-skel); }
.sw-prod em { font-style: normal; font: 800 .78rem/1.1 var(--font-heading); color: var(--sw-ink); }
.sw-order { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--sw-ok-bg); border: 1px solid var(--sw-line); margin-top: auto; }
.sw-order > .material-icons-round { color: var(--sw-accent); font-size: 22px; }
.sw-order b { display: block; font: 800 .84rem/1.2 var(--font-heading); }
.sw-order small { display: block; font-size: .76rem; color: var(--sw-soft); }

/* crm */
.sw-kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sw-col { display: grid; gap: 6px; align-content: start; min-height: 104px; padding: 8px; border-radius: 12px; background: var(--sw-skel-2); border: 1px solid var(--sw-line); }
.sw-col small { font: 800 .62rem/1.2 var(--font-heading); letter-spacing: 1px; text-transform: uppercase; color: var(--sw-mute); }
.sw-deal { position: relative; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 7px; border-radius: 8px; background: var(--sw-board); box-shadow: 0 0 0 1px var(--sw-line); }
.sw-deal i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, #00C9C6, #8A328A); }
.sw-deal b { flex: 1; height: 5px; border-radius: 3px; background: var(--sw-skel); }
.sw-deal .material-icons-round { font-size: 15px; color: var(--sw-accent); }
.sw-deal--won { box-shadow: 0 0 0 1.5px var(--sw-c-mag), 0 6px 14px -8px rgba(138,50,138,0.7); }
.sw-dragging { position: relative; z-index: 7; transition: none !important; box-shadow: 0 0 0 1.5px var(--ac), 0 14px 26px -10px rgba(26,14,46,0.5); }
.sw-gone { display: none !important; }

/* lead generation */
.sw-leadtop { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.sw-leadtop b { font: 900 1.7rem/1 var(--font-heading); letter-spacing: -.5px; color: var(--sw-accent); }
.sw-leadtop small { font-size: .8rem; color: var(--sw-mute); font-weight: 700; }
.sw-chart { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-bottom: 10px; padding-bottom: 2px; border-bottom: 1px solid var(--sw-line); }
.sw-chart i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #8A328A, rgba(138,50,138,0.25)); transform-origin: bottom; transform: scaleY(0); }
.sw-chart i:nth-child(odd) { background: linear-gradient(180deg, #00C9C6, rgba(0,201,198,0.25)); }
.sw-chart.on i { animation: swGrow .7s cubic-bezier(.2,1.3,.4,1) forwards; }
.sw-chart.on i:nth-child(2) { animation-delay: .06s; } .sw-chart.on i:nth-child(3) { animation-delay: .12s; } .sw-chart.on i:nth-child(4) { animation-delay: .18s; }
.sw-chart.on i:nth-child(5) { animation-delay: .24s; } .sw-chart.on i:nth-child(6) { animation-delay: .3s; } .sw-chart.on i:nth-child(7) { animation-delay: .36s; }
@keyframes swGrow { to { transform: scaleY(1); } }
.sw-leadlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sw-leadlist li { display: flex; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 10px; background: var(--sw-skel-2); }
.sw-leadlist .fa-brands { width: 14px; text-align: center; color: var(--sw-accent); }
.sw-leadlist b { flex: 1; height: 6px; border-radius: 4px; background: var(--sw-skel); }
.sw-leadlist em { font-style: normal; font-size: .72rem; font-weight: 700; color: var(--sw-mute); white-space: nowrap; }

/* cms */
.sw-cms { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.sw-cms-h .sw-ty { white-space: normal; }
.sw-cms-side { display: grid; gap: 4px; align-content: start; padding: 6px; border-radius: 10px; background: var(--sw-skel-2); }
.sw-cms-side em { font-style: normal; padding: 5px 9px; border-radius: 7px; font: 700 .72rem/1.2 var(--font-body); color: var(--sw-soft); }
.sw-cms-side em.is-on { background: var(--sw-board); color: var(--sw-ink); box-shadow: 0 0 0 1px var(--sw-line); }
.sw-cms-doc { min-width: 0; display: grid; gap: 8px; align-content: start; padding: 8px 10px 10px; border-radius: 10px; border: 1px solid var(--sw-line); }
.sw-cms-bar { display: flex; align-items: center; gap: 4px; color: var(--sw-mute); }
.sw-cms-bar > .material-icons-round { font-size: 16px; }
.sw-save { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: linear-gradient(135deg, #8A328A, #C77DBA); color: #fff; font: 800 .66rem/1.3 var(--font-heading); }
.sw-save .material-icons-round { font-size: 13px; }
.sw-cms-h { margin: 0; font: 900 .98rem/1.2 var(--font-heading); color: var(--sw-ink); }
.sw-cms-img { display: block; height: 44px; border-radius: 8px; background: var(--sw-cover); }
.sw-cms .sw-lines { margin: 0; }

/* inventory */
.sw-stock { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 6px; }
.sw-stock li { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 10px; background: var(--sw-skel-2); }
.sw-thumb { width: 20px; height: 20px; border-radius: 6px; background: var(--sw-img); }
.sw-stock li:nth-child(2) .sw-thumb { background: linear-gradient(150deg, #8A328A, #FFB1FF); }
.sw-stock li:nth-child(3) .sw-thumb { background: linear-gradient(150deg, #006E91, #00C9C6); }
.sw-stock li:nth-child(4) .sw-thumb { background: linear-gradient(150deg, #344767, #C77DBA); }
.sw-sku { font: 700 .7rem/1 var(--font-body); color: var(--sw-mute); }
.sw-lvl { height: 6px; border-radius: 4px; background: var(--sw-skel); overflow: hidden; }
.sw-lvl i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--sw-c-cyan); transition: width .8s .15s ease; }
.sw-stock li.on .sw-lvl i { width: var(--v); }
.sw-stock li b { font: 800 .8rem/1 var(--font-heading); min-width: 20px; text-align: end; }
.sw-stock li.is-low .sw-lvl i { background: var(--sw-c-mag); }
.sw-stock li.is-low b { color: var(--sw-accent); }
.sw-pill--warn { background: rgba(138,50,138,0.12); color: var(--sw-accent); }

/* invoicing */
.sw-invoice { position: relative; padding: 12px 12px 10px; border-radius: 12px; border: 1px solid var(--sw-line); background: var(--sw-skel-2); }
.sw-inv-head { display: flex; align-items: center; gap: 8px; }
.sw-inv-name { font: 800 .84rem/1.2 var(--font-heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-inv-head em { margin-inline-start: auto; font-style: normal; font: 900 .7rem/1 var(--font-heading); letter-spacing: 1.6px; color: var(--sw-accent); }
.sw-inv-no { margin: 6px 0 8px; font: 700 .74rem/1.2 var(--font-body); color: var(--sw-mute); }
.sw-inv-lines { display: grid; gap: 6px; padding: 8px 0; border-top: 1px dashed var(--sw-line); border-bottom: 1px dashed var(--sw-line); }
.sw-inv-lines span { display: flex; justify-content: space-between; gap: 12px; }
.sw-inv-lines b { height: 6px; width: 55%; border-radius: 4px; background: var(--sw-skel); }
.sw-inv-lines em { height: 6px; width: 18%; border-radius: 4px; background: var(--sw-skel); }
.sw-inv-total { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 8px; }
.sw-inv-total small { font-size: .72rem; font-weight: 700; color: var(--sw-mute); }
.sw-inv-total b { font: 900 1.1rem/1.1 var(--font-heading); color: var(--sw-ink); }
.sw-stamp { position: absolute; top: 34px; inset-inline-end: 14px; padding: 3px 10px; border: 2.5px solid var(--sw-ok); border-radius: 8px; color: var(--sw-ok);
    font: 900 .9rem/1.1 var(--font-heading); letter-spacing: 2px; transform: rotate(-12deg) scale(1.6); }
.sw-stamp.on { transform: rotate(-12deg); }

/* ── chapter 3: business cards ── */
.sw-bcs { position: relative; height: 178px; margin-bottom: 10px; }
.sw-bc { position: absolute; width: 66%; max-width: 240px; aspect-ratio: 1.75; border-radius: 10px; box-shadow: 0 16px 28px -14px rgba(26,14,46,0.6); }
.sw-bc--back { inset-inline-end: 0; top: 0; display: grid; align-content: center; gap: 3px; padding: 10px 14px; background: #fff; color: #1a0e2e; transform: rotate(5deg); }
.sw-bc--back.on { transform: rotate(5deg); }
.sw-bc--back b { font: 900 .82rem/1.2 var(--font-heading); }
.sw-bc--back span { font: 600 .62rem/1.3 var(--font-body); color: #344767; }
.sw-qr { position: absolute; inset-inline-end: 10px; bottom: 10px; width: 24px; height: 24px; border-radius: 3px;
    background: conic-gradient(#1a0e2e 25%, transparent 0 50%, #1a0e2e 0 75%, transparent 0) 0 0 / 8px 8px; opacity: .85; }
.sw-bc--front { inset-inline-start: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(140deg, #344767, #8A328A 65%, #C77DBA); color: #fff; transform: rotate(-4deg); }
.sw-bc--front.on { transform: rotate(-4deg); }
.sw-bc--front .sw-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 1rem; background: rgba(255,255,255,0.16); box-shadow: none; }
.sw-bc--front b { font: 900 .92rem/1.15 var(--font-heading); }

/* letterhead */
.sw-paper { display: grid; gap: 10px; padding: 12px 14px; border-radius: 4px; background: #fff; color: #1a0e2e; box-shadow: 0 12px 24px -16px rgba(26,14,46,0.5); border-top: 4px solid #8A328A; }
.sw-paper-head { display: flex; align-items: center; gap: 8px; }
.sw-paper-head b { font: 800 .8rem/1.2 var(--font-heading); }
.sw-paper .sw-lines { margin: 0; }
.sw-paper .sw-lines i { background: rgba(52,71,103,0.14); }
.sw-paper-foot { display: flex; justify-content: space-between; gap: 8px; padding-top: 6px; border-top: 1px solid rgba(52,71,103,0.15); font: 600 .6rem/1.2 var(--font-body); color: #344767; }

/* company catalog */
.sw-book { flex: 1; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 10px; border-radius: 6px; box-shadow: 0 18px 34px -18px rgba(26,14,46,0.6); }
.sw-page { position: relative; min-height: 230px; padding: 16px; background: #fff; color: #1a0e2e; }
.sw-page--cover { display: flex; flex-direction: column; gap: 6px; overflow: hidden; border-radius: 6px 0 0 6px; background: linear-gradient(160deg, #344767 0%, #8A328A 70%, #C77DBA 100%); color: #fff; }
[dir="rtl"] .sw-page--cover { border-radius: 0 6px 6px 0; }
.sw-page--cover .sw-mark { width: 38px; height: 38px; border-radius: 11px; font-size: 1.1rem; background: rgba(255,255,255,0.16); box-shadow: none; }
.sw-page--cover small { margin-top: auto; font: 800 .62rem/1.2 var(--font-heading); letter-spacing: 1.6px; text-transform: uppercase; opacity: .8; }
.sw-page--cover .sw-ty { font: 900 1.3rem/1.1 var(--font-heading); white-space: normal; }
.sw-cover-art { position: absolute; width: 140px; height: 140px; border-radius: 50%; inset-inline-end: -40px; top: -30px; background: radial-gradient(circle, rgba(255,177,255,0.55), transparent 70%); }
.sw-page--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; border-radius: 0 6px 6px 0; background-image: linear-gradient(90deg, rgba(26,14,46,0.10), transparent 14px); }
[dir="rtl"] .sw-page--grid { border-radius: 6px 0 0 6px; background-image: linear-gradient(270deg, rgba(26,14,46,0.10), transparent 14px); }
.sw-page--grid > span { display: grid; gap: 6px; }
.sw-page--grid i { display: block; aspect-ratio: 1.1; border-radius: 6px; background: linear-gradient(150deg, #8A328A, #FFB1FF); }
.sw-page--grid > span:nth-child(2) i { background: linear-gradient(150deg, #006E91, #00C9C6); }
.sw-page--grid > span:nth-child(3) i { background: linear-gradient(150deg, #344767, #C77DBA); }
.sw-page--grid > span:nth-child(4) i { background: linear-gradient(150deg, #C77DBA, #FFF7D6); }
.sw-page--grid b { display: block; height: 5px; width: 70%; border-radius: 3px; background: rgba(52,71,103,0.16); }

/* whatsapp catalog */
.sw-phone { max-width: 260px; margin: 0 auto; padding: 10px; border-radius: 26px; background: #1a0e2e; box-shadow: 0 18px 34px -18px rgba(26,14,46,0.7); }
.sw-phone > * { background: #f6f2fa; }
.sw-wa-head { display: flex; align-items: center; gap: 8px; padding: 10px 10px 8px; border-radius: 18px 18px 0 0; color: #fff; background: linear-gradient(135deg, #344767, #8A328A); }
.sw-wa-head .sw-dot { background: rgba(255,255,255,0.18); }
.sw-wa-head b { display: block; font: 800 .8rem/1.2 var(--font-heading); }
.sw-wa-head small { display: inline-flex; align-items: center; gap: 3px; font-size: .64rem; opacity: .85; }
.sw-wa-head small .material-icons-round { font-size: 12px; color: #00C9C6; }
.sw-wa-cat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 10px 6px; }
.sw-wa-cat > span { display: grid; gap: 4px; padding: 5px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px rgba(52,71,103,0.10); }
.sw-wa-cat i { display: block; aspect-ratio: 1; border-radius: 6px; background: linear-gradient(150deg, #344767, #8A328A 60%, #FFB1FF); }
.sw-wa-cat > span:nth-child(2) i { background: linear-gradient(150deg, #8A328A, #FFB1FF); }
.sw-wa-cat > span:nth-child(3) i { background: linear-gradient(150deg, #006E91, #00C9C6); }
.sw-wa-cat b { display: block; height: 4px; border-radius: 3px; background: rgba(52,71,103,0.16); }
.sw-wa-cat em { font-style: normal; font: 800 .62rem/1.1 var(--font-heading); color: #1a0e2e; }
.sw-chat { display: grid; gap: 6px; padding: 6px 10px 14px; border-radius: 0 0 18px 18px; min-height: 96px; align-content: start; }
.sw-bub { margin: 0; max-width: 86%; padding: 7px 10px; border-radius: 12px; font: 600 .72rem/1.35 var(--font-body); }
.sw-bub--in { justify-self: start; background: #fff; color: #1a0e2e; border-start-start-radius: 3px; box-shadow: 0 0 0 1px rgba(52,71,103,0.10); }
.sw-bub--out { justify-self: end; background: #FFB1FF; color: #1a0e2e; border-start-end-radius: 3px; }
.sw-bub--out .sw-ty { white-space: normal; }
.sw-board--catalog .sw-mini { align-self: flex-start; }
.sw-panel--web .sw-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sw-board--stationery .sw-bcs { height: 160px; margin-bottom: 14px; }


/* ── stage 1: research ── */
.sw-mk { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-bottom: 12px; }
.sw-mk-chart, .sw-dchart { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px; background: var(--sw-skel-2); border: 1px solid var(--sw-line); }
.sw-mk-chart svg { display: block; width: 100%; height: 112px; }
.sw-dchart svg { display: block; width: 100%; height: 150px; }
.sw-mk-chart small, .sw-dchart small { font-size: .72rem; font-weight: 600; color: var(--sw-mute); }
.sw-area { fill: rgba(138,50,138,0.12); opacity: 0; transition: opacity .8s ease .6s; }
.sw-line { fill: none; stroke: var(--sw-c-mag); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sw-line--ghost { stroke: var(--sw-mute); stroke-width: 2; opacity: .5; }
.on > svg .sw-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s ease .15s; }
.on > svg .sw-area { opacity: 1; }
.sw-mk-stats { display: grid; gap: 8px; align-content: center; }
.sw-mk-stats > span { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 11px; background: var(--sw-skel-2); border: 1px solid var(--sw-line); font: 700 .8rem/1.25 var(--font-body); }
.sw-mk-stats .material-icons-round, .sw-mk-stats .fa-brands { color: var(--sw-accent); font-size: 18px; width: 18px; text-align: center; }

.sw-persona { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sw-pav { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(140deg, #FFB1FF, #8A328A); color: #fff; }
.sw-pav .material-icons-round { font-size: 30px; }
.sw-persona b { display: block; font: 900 1.05rem/1.2 var(--font-heading); }
.sw-persona small { display: block; font-size: .76rem; color: var(--sw-mute); }
.sw-ptags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.sw-ptags span { padding: 5px 10px; border-radius: 999px; background: var(--sw-ok-bg); color: var(--sw-ok); font: 700 .74rem/1.2 var(--font-body); }
.sw-ptags span:nth-child(2) { background: rgba(138,50,138,0.10); color: var(--sw-accent); }
.sw-pquote { margin: 0; padding: 10px 12px; border-radius: 12px; border-inline-start: 3px solid var(--sw-c-mag); background: var(--sw-skel-2); font: italic 600 .84rem/1.4 var(--font-body); color: var(--sw-soft); }

.sw-cmap { position: relative; height: 190px; margin: 0 0 28px 20px; border-left: 1.5px solid var(--sw-line); border-bottom: 1.5px solid var(--sw-line);
    background: linear-gradient(var(--sw-line), var(--sw-line)) 50% 0 / 1px 100% no-repeat, linear-gradient(90deg, var(--sw-line), var(--sw-line)) 0 50% / 100% 1px no-repeat; }
.sw-ax { position: absolute; font: 800 .62rem/1 var(--font-heading); letter-spacing: 1px; text-transform: uppercase; color: var(--sw-mute); }
.sw-ax--y { left: -18px; top: 0; writing-mode: vertical-rl; transform: rotate(180deg); }
.sw-ax--x { right: 0; bottom: -18px; }
.sw-rival { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; display: grid; place-items: center; border-radius: 50%; font: 800 .7rem/1 var(--font-heading); font-style: normal;
    background: var(--sw-board); color: var(--sw-soft); box-shadow: 0 0 0 1.5px var(--sw-line), 0 4px 10px -4px rgba(26,14,46,0.3); }
.sw-you { position: absolute; margin: -14px 0 0 -24px; padding: 6px 12px; border-radius: 999px; background: linear-gradient(135deg, #8A328A, #C77DBA); color: #fff; font: 900 .74rem/1.2 var(--font-heading); }
.sw-you.on { animation: swPulse 1.8s ease-out .5s infinite; }
@keyframes swPulse { from { box-shadow: 0 0 0 0 rgba(138,50,138,0.45); } to { box-shadow: 0 0 0 16px rgba(138,50,138,0); } }

.sw-bench { display: grid; gap: 5px; margin-bottom: 12px; }
.sw-bench-row { display: grid; grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, .7fr)); align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; background: var(--sw-skel-2); }
.sw-bench-head { background: transparent; padding-block: 2px; }
.sw-bench-row > span { font: 700 .82rem/1.2 var(--font-body); }
.sw-bench-head em { font-style: normal; text-align: center; font: 800 .66rem/1.2 var(--font-heading); letter-spacing: 1px; text-transform: uppercase; color: var(--sw-mute); }
.sw-bench-head em.is-you { color: var(--sw-accent); }
.sw-bench-row i { justify-self: center; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; color: var(--sw-mute); }
.sw-bench-row i::before { font-family: 'Material Icons Round'; font-size: 15px; }
.sw-bench-row i.y::before { content: 'check'; }
.sw-bench-row i.n::before { content: 'remove'; }
.sw-bench-row i.y { background: var(--sw-ok-bg); color: var(--sw-ok); }
.sw-bench-row i.is-you { background: var(--sw-c-mag); color: #fff; }

/* ── stage 2: brand & identity ── */
.sw-concepts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.sw-concept { position: relative; display: grid; place-items: center; aspect-ratio: 1.25; border-radius: 12px; background: var(--sw-skel-2); border: 1px solid var(--sw-line); }
.sw-concept > b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #344767; color: #fff; font: 900 1.1rem/1 var(--font-heading); }
.sw-concept--2 > b { border-radius: 12px; background: linear-gradient(140deg, #344767, #8A328A 60%, #FFB1FF); }
.sw-concept--3 > b { border-radius: 4px 18px; background: #00C9C6; color: #1a0e2e; }
.sw-concept--2:has(.sw-pick.on) { border-color: var(--sw-c-mag); box-shadow: 0 0 0 2px rgba(138,50,138,0.25); }
.sw-pick { position: absolute; top: -7px; inset-inline-end: -7px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sw-c-mag); color: #fff; box-shadow: 0 0 0 3px var(--sw-board); }
.sw-pick .material-icons-round { font-size: 14px; }
.sw-word small { font: italic 600 .84rem/1.3 var(--font-body); color: var(--sw-soft); }

.sw-guide { flex: 1; display: grid; grid-template-columns: 1fr 1.3fr; border-radius: 8px; overflow: hidden; box-shadow: 0 18px 34px -18px rgba(26,14,46,0.55); }
.sw-gpage { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; background: #fff; color: #1a0e2e; min-height: 300px; }
.sw-gpage--cover { background: linear-gradient(160deg, #344767 0%, #8A328A 75%, #C77DBA 100%); color: #fff; }
.sw-gpage--cover small { font: 800 .62rem/1.2 var(--font-heading); letter-spacing: 1.6px; text-transform: uppercase; opacity: .8; }
.sw-gpage--cover > b { font: 900 1.3rem/1.15 var(--font-heading); }
.sw-clear { margin: auto; padding: 16px; border: 1.5px dashed rgba(255,255,255,0.5); border-radius: 6px; }
.sw-clear .sw-mark { width: 60px; height: 60px; font-size: 1.6rem; background: rgba(255,255,255,0.16); box-shadow: none; }
.sw-gpage--cover em { font-style: normal; font-size: .66rem; text-align: center; opacity: .75; }
.sw-gh { margin: 4px 0 0; font: 800 .62rem/1.2 var(--font-heading); letter-spacing: 1.4px; text-transform: uppercase; color: #8A328A; }
.sw-gcols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.sw-gcols span { display: grid; gap: 4px; }
.sw-gcols i { height: 34px; border-radius: 7px; background: #344767; }
.sw-gcols span:nth-child(2) i { background: #8A328A; }
.sw-gcols span:nth-child(3) i { background: #FFB1FF; }
.sw-gcols span:nth-child(4) i { background: #00C9C6; }
.sw-gcols code { font: 700 .58rem/1 ui-monospace, monospace; color: #344767; }
.sw-gtype { display: flex; align-items: center; gap: 12px; }
.sw-gtype > b { font: 900 2rem/1 var(--font-heading); }
.sw-gtype strong { display: block; font: 800 .82rem/1.2 var(--font-heading); }
.sw-gtype small { font-size: .72rem; color: #344767; }
.sw-gdo { display: flex; gap: 12px; }
.sw-gdo > span { position: relative; display: grid; place-items: center; width: 66px; height: 48px; border-radius: 8px; background: #f3eef8; }
.sw-gdo .sw-mark { width: 28px; height: 28px; border-radius: 8px; font-size: .8rem; box-shadow: none; }
.sw-dont .sw-mark { transform: scaleX(1.7) skewX(-12deg); }
.sw-gdo em { position: absolute; top: -6px; inset-inline-end: -6px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; font-style: normal; }
.sw-gdo em .material-icons-round { font-size: 12px; }
.sw-gdo em.is-ok { background: #006E91; }
.sw-gdo em.is-no { background: #8A328A; }

.sw-domains { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.sw-domains li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 11px; border-radius: 10px; background: var(--sw-skel-2); border: 1px solid var(--sw-line); font: 700 .84rem/1.2 var(--font-body); }
.sw-domains li em { font-style: normal; display: inline-flex; align-items: center; gap: 4px; font: 700 .72rem/1 var(--font-body); color: var(--sw-mute); }
.sw-domains li em .material-icons-round { font-size: 14px; }
.sw-domains li em.is-ok { color: var(--sw-ok); }
.sw-domains li.is-taken > span { text-decoration: line-through; color: var(--sw-mute); }
.sw-domains .sw-pick { top: -8px; inset-inline-end: -8px; }
.sw-board--domain .sw-search { margin-bottom: 10px; }

/* ── stage 3: website & e-store ── */
.sw-mphone { width: 172px; margin: 0 auto; padding: 8px; border-radius: 26px; background: #1a0e2e; box-shadow: 0 18px 34px -18px rgba(26,14,46,0.7); }
.sw-mscreen { display: grid; gap: 9px; align-content: start; min-height: 250px; padding: 10px; border-radius: 19px; background: #fff; color: #1a0e2e; overflow: hidden; }
.sw-mnav { display: flex; align-items: center; gap: 6px; }
.sw-mnav > b { flex: 1; min-width: 0; font: 800 .72rem/1.2 var(--font-heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-mnav .material-icons-round { font-size: 18px; color: #344767; }
.sw-mnav .sw-dot { width: 22px; height: 22px; font-size: .68rem; }
.sw-mhero { position: relative; height: 92px; border-radius: 10px; overflow: hidden; background: var(--sw-img); }
.sw-mhero .sw-sun { width: 24px; height: 24px; }
.sw-mscreen .sw-lines { margin: 0; }
.sw-mscreen .sw-lines i { background: rgba(52,71,103,0.14); }
.sw-mbtn { justify-self: start; font-style: normal; padding: 6px 12px; border-radius: 999px; background: #344767; color: #fff; font: 700 .7rem/1.2 var(--font-body); }
.sw-code { display: grid; gap: 7px; align-content: start; min-height: 96px; margin-bottom: 14px; padding: 12px; border-radius: 12px; background: #1a0e2e; }
.sw-code > span { display: flex; gap: 6px; height: 8px; }
.sw-code .sw-in { padding-left: 16px; }
.sw-code .sw-in2 { padding-left: 32px; }
.sw-code i { height: 100%; border-radius: 4px; }
.sw-code .c1 { background: #FFB1FF; } .sw-code .c2 { background: #00C9C6; } .sw-code .c3 { background: #C77DBA; } .sw-code .c4 { background: rgba(255,255,255,0.35); }
.sw-scores { display: flex; justify-content: space-around; gap: 8px; margin-bottom: 30px; }
.sw-score { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: conic-gradient(var(--sw-ok) calc(var(--p) * 1%), var(--sw-skel) 0); }
.sw-score::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--sw-board); }
.sw-score b { position: relative; font: 900 .95rem/1 var(--font-heading); }
.sw-score small { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 700 .68rem/1 var(--font-body); color: var(--sw-mute); }

/* ── stage 4: social media ── */
.sw-ig-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sw-ig-av { flex: none; width: 58px; height: 58px; padding: 3px; border-radius: 50%; background: conic-gradient(#FFB1FF, #8A328A, #00C9C6, #FFB1FF); }
.sw-ig-av b { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(140deg, #344767, #8A328A); color: #fff; font: 900 1.3rem/1 var(--font-heading); box-shadow: 0 0 0 3px var(--sw-board); }
.sw-ig-meta { display: grid; gap: 3px; min-width: 0; }
.sw-ig-meta b { font: 800 .95rem/1.2 var(--font-heading); }
.sw-ig-meta small { font-size: .74rem; color: var(--sw-mute); }
.sw-ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.sw-ig-grid i { aspect-ratio: 1; border-radius: 6px; background: var(--sw-img); }
.sw-ig-grid i:nth-child(2), .sw-ig-grid i:nth-child(6) { background: linear-gradient(150deg, #8A328A, #FFB1FF); }
.sw-ig-grid i:nth-child(3), .sw-ig-grid i:nth-child(4) { background: linear-gradient(150deg, #006E91, #00C9C6); }
.sw-ig-grid i:nth-child(5) { background: linear-gradient(150deg, #C77DBA, #FFF7D6); }

/* ── stage 5: AI agent ── */
.sw-aichat { flex: 1; display: flex; flex-direction: column; min-height: 320px; border-radius: 14px; overflow: hidden; border: 1px solid var(--sw-line); background: var(--sw-skel-2); }
.sw-ai-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(135deg, #344767, #8A328A); color: #fff; }
.sw-ai-av { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.sw-ai-av .material-icons-round { font-size: 18px; color: #FFB1FF; }
.sw-ai-head b { display: block; font: 800 .86rem/1.2 var(--font-heading); }
.sw-ai-head small { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; opacity: .85; }
.sw-ai-head small i { width: 7px; height: 7px; border-radius: 50%; background: #00C9C6; }
.sw-ai-body { flex: 1; display: grid; gap: 8px; align-content: start; padding: 14px; }
.sw-aichat .sw-bub--in { justify-self: end; background: #FFB1FF; color: #1a0e2e; box-shadow: none; border-radius: 12px; border-start-end-radius: 3px; }
.sw-bub--ai { justify-self: start; max-width: 90%; background: var(--sw-board); color: var(--sw-ink); border-start-start-radius: 3px; box-shadow: 0 0 0 1px var(--sw-line); }
.sw-bub--ai .sw-ty { white-space: normal; }
.sw-ai-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-ai-chips em { font-style: normal; padding: 5px 11px; border-radius: 999px; border: 1.5px solid var(--sw-c-mag); color: var(--sw-accent); font: 700 .74rem/1.2 var(--font-body); }
.sw-ai-input { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 12px; padding: 9px 12px; border-radius: 999px; background: var(--sw-board); box-shadow: 0 0 0 1px var(--sw-line); color: var(--sw-mute); font-size: .8rem; }
.sw-ai-input .material-icons-round { font-size: 18px; color: var(--sw-accent); }
.sw-files { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 7px; }
.sw-files li { display: grid; grid-template-columns: auto minmax(0, 1fr) 64px; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; background: var(--sw-skel-2); }
.sw-files li > .material-icons-round { font-size: 18px; color: var(--sw-accent); }
.sw-fname { font: 700 .8rem/1.2 var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-files .sw-lvl i { background: linear-gradient(90deg, #8A328A, #00C9C6); }
.sw-files li.on .sw-lvl i { width: 100%; transition: width 1s ease .1s; }
.sw-toggles { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 7px; }
.sw-toggles li { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 10px; background: var(--sw-skel-2); font: 700 .82rem/1.2 var(--font-body); }
.sw-toggles li > .material-icons-round, .sw-toggles li > .fa-brands { width: 18px; text-align: center; font-size: 17px; color: var(--sw-accent); }
.sw-switch { position: relative; flex: none; margin-inline-start: auto; width: 36px; height: 20px; border-radius: 999px; background: var(--sw-skel); outline: 1.5px solid transparent; outline-offset: 3px; transition: background .3s, outline-color .5s; }
.sw-switch::after { content: ''; position: absolute; top: 2px; inset-inline-start: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.3); transition: inset-inline-start .3s cubic-bezier(.3,1.4,.5,1); }
.sw-switch.on { background: var(--sw-c-mag); }
.sw-switch.on::after { inset-inline-start: 18px; }
.sw-247 { position: absolute; top: 11px; inset-inline-end: 42px; padding: 3px 10px; border-radius: 999px; background: linear-gradient(135deg, #8A328A, #C77DBA); color: #fff; font: 900 .72rem/1.2 var(--font-heading); }
.sw-acts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sw-acts li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--sw-skel-2); border: 1px solid var(--sw-line); }
.sw-acts li > .material-icons-round { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--sw-ok-bg); color: var(--sw-ok); font-size: 19px; }
.sw-acts b { display: block; font: 800 .82rem/1.25 var(--font-heading); }
.sw-acts small { display: block; font-size: .72rem; color: var(--sw-soft); }

/* ── stage 6: systems & dashboards ── */
.sw-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.sw-kpi { display: grid; gap: 3px; padding: 11px 12px; border-radius: 12px; background: var(--sw-skel-2); border: 1px solid var(--sw-line); }
.sw-kpi small { font: 700 .66rem/1.2 var(--font-body); letter-spacing: .8px; text-transform: uppercase; color: var(--sw-mute); }
.sw-kpi b { font: 900 1.25rem/1.1 var(--font-heading); }
.sw-kpi em { font-style: normal; font: 800 .72rem/1.2 var(--font-body); color: var(--sw-ok); }
.sw-dash-main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.sw-donut { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; background: var(--sw-skel-2); border: 1px solid var(--sw-line); }
.sw-ring { flex: none; width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(#8A328A 0 52%, #00C9C6 0 80%, #FFB1FF 0);
    -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%); mask: radial-gradient(circle, transparent 54%, #000 55%); }
.sw-donut.on .sw-ring { animation: swSpin 1s cubic-bezier(.2,1,.3,1); }
@keyframes swSpin { from { transform: rotate(-120deg) scale(.6); opacity: 0; } }
.sw-donut ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font: 700 .76rem/1.2 var(--font-body); }
.sw-donut li { display: flex; align-items: center; gap: 6px; }
.sw-donut li i { width: 10px; height: 10px; border-radius: 3px; background: #8A328A; }
.sw-donut li:nth-child(2) i { background: #00C9C6; }
.sw-donut li:nth-child(3) i { background: #FFB1FF; }

/* ── the swarm: agent cursors ───────────────────────────────────── */
.sw-layer { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.sw-cur { position: absolute; left: 0; top: 0; will-change: transform; --ac: #8A328A; --at: #fff; }
.sw-cur svg { display: block; width: 20px; height: 22px; fill: var(--ac); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round;
    filter: drop-shadow(0 3px 4px rgba(26,14,46,0.28)); transform-origin: 2px 2px; transition: transform .12s ease; }
.sw-cur.is-click svg { transform: scale(.78); }
.sw-cur .sw-tag { position: absolute; left: 15px; top: 19px; padding: 3px 9px 4px; border-radius: 3px 999px 999px 999px; background: var(--ac); color: var(--at);
    font: 800 .7rem/1.2 var(--font-heading); letter-spacing: .3px; white-space: nowrap; box-shadow: 0 6px 14px -6px rgba(26,14,46,0.5); }
.sw-cur[data-c="mag"] { --ac: var(--sw-c-mag); }
.sw-cur[data-c="navy"] { --ac: var(--sw-c-navy); }
.sw-cur[data-c="teal"] { --ac: var(--sw-c-teal); }
.sw-cur[data-c="cyan"] { --ac: var(--sw-c-cyan); --at: var(--sw-c-dark-ink); }
.sw-cur[data-c="lilac"] { --ac: var(--sw-c-lilac); }
.sw-cur[data-c="pink"] { --ac: var(--sw-c-pink); --at: var(--sw-c-dark-ink); }
[data-theme="glass"] .sw-cur[data-c="navy"],
[data-theme="glass"] .sw-cur[data-c="teal"] { --at: var(--sw-c-dark-ink); }
[data-theme="glass"] .sw-cur svg { stroke: #120a22; }
.sw-cur--you .sw-tag { background: var(--sw-ink); color: var(--sw-board); }
.sw-cur--you { opacity: 0; transition: opacity .2s; }
.sw-cur--you.is-on { opacity: 1; }
.sw-cur--you svg { visibility: hidden; }
.sw-ping { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; border: 2px solid var(--ac); pointer-events: none; animation: swPing .55s ease-out forwards; }
@keyframes swPing { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }

/* finale toast */
.sw-finale { position: absolute; left: 50%; bottom: 22px; z-index: 4; display: inline-flex; align-items: center; gap: 9px; max-width: calc(100% - 40px);
    padding: 12px 22px; border-radius: 999px; background: var(--sw-board); color: var(--sw-ink);
    box-shadow: var(--sw-board-edge), 0 0 0 2px rgba(138,50,138,0.35), 0 20px 50px -14px rgba(138,50,138,0.55);
    font: 800 1rem/1.2 var(--font-heading); white-space: nowrap;
    opacity: 0; transform: translate(-50%, 20px) scale(.9); transition: opacity .35s ease, transform .55s cubic-bezier(.2,1.5,.4,1); pointer-events: none; }
.sw-finale .material-icons-round { color: var(--sw-accent); }
.sw-finale b { background: var(--sw-title-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; overflow: hidden; text-overflow: ellipsis; }
.swarm-section.is-done.is-last .sw-finale { opacity: 1; transform: translate(-50%, 0); }

/* ── status + CTAs ──────────────────────────────────────────────── */
.sw-status { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin-top: 22px; }
.sw-meter { display: inline-flex; align-items: center; gap: 6px; margin: 0; font: 600 .95rem/1.2 var(--font-body); color: var(--sw-soft); white-space: nowrap; }
.sw-meter b { color: var(--sw-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.sw-live { width: 9px; height: 9px; margin-inline-end: 4px; border-radius: 50%; background: var(--sw-c-cyan); box-shadow: 0 0 0 0 rgba(0,201,198,0.6); animation: swLive 1.4s ease-out infinite; }
.swarm-section.is-done .sw-live { animation: none; background: var(--sw-c-mag); }
@keyframes swLive { to { box-shadow: 0 0 0 9px rgba(0,201,198,0); } }
.sw-sep { width: 4px; height: 4px; margin: 0 6px; border-radius: 50%; background: var(--sw-mute); }
.sw-bar { height: 6px; border-radius: 999px; background: var(--sw-skel-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--sw-line); }
.sw-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #344767, #8A328A, #FFB1FF); transition: width .4s ease; }
.sw-ctas { display: flex; align-items: center; gap: 16px; }
.sw-replay { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--sw-line); background: var(--sw-chip); color: var(--sw-ink);
    font: 700 .88rem/1 var(--font-body); cursor: pointer; }
.sw-replay .material-icons-round { font-size: 18px; }
.sw-replay:hover { border-color: var(--sw-accent); }
.sw-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--sw-accent); text-decoration: none; white-space: nowrap; }
.sw-link .material-icons-round { font-size: 18px; transition: transform .2s; }
.sw-link:hover .material-icons-round { transform: translateX(3px); }
[dir="rtl"] .sw-link:hover .material-icons-round { transform: translateX(-3px); }

/* ── responsive ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .sw-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
    .sw-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
    .sw-panel--research { grid-template-areas: "market market" "persona cmap" "bench bench"; }
    .sw-panel--brand { grid-template-areas: "logo domain" "guide guide" "mail stationery" "catalog catalog"; }
    .sw-panel--web { grid-template-areas: "web store" "mobile dev"; }
    .sw-panel--social { grid-template-areas: "fb ig" "gbp leads" "wa wa"; }
    .sw-panel--ai { grid-template-areas: "chat know" "chat chan" "act act"; }
    .sw-panel--systems { grid-template-areas: "dash dash" "crm cms" "inv invoice"; }
    .sw-phase { flex: 0 0 auto; }
    .sw-phase.is-on { flex: 1 1 0; }
    .sw-phase:not(.is-on) .sw-phase-s { display: none; }
    .sw-status { grid-template-columns: 1fr; gap: 14px; }
    .sw-ctas { flex-wrap: wrap; }
}
@media (max-width: 640px) {
    .swarm-section { padding: 72px 0 64px; }
    .sw-stage { border-radius: 22px; }
    .sw-phases { padding: 12px 12px 0; gap: 6px; }
    /* phones: an even row of numbered steps, the active stage named underneath */
    .sw-phases { gap: 5px; padding-bottom: 30px; }
    .sw-phase, .sw-phase.is-on { flex: 1 1 0; grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 7px 4px; row-gap: 6px; }
    .sw-phase .sw-phase-s, .sw-phase.is-on .sw-phase-s { display: none; }
    .sw-phase.is-on .sw-phase-l { position: absolute; left: 14px; right: 14px; bottom: 6px; display: block; text-align: start; font-size: .84rem; color: var(--sw-ink); }
    .sw-phase::after { display: none; }
    .sw-phase-n { width: 20px; height: 20px; }
    .sw-panel { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: none !important; padding: 14px 12px 16px; gap: 14px; }
    .sw-board { grid-area: auto !important; }
    .sw-panel--systems { padding-bottom: 90px; }
    .sw-mk, .sw-dash-main, .sw-guide { grid-template-columns: minmax(0, 1fr); }
    .sw-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sw-acts { grid-template-columns: minmax(0, 1fr); }
    .sw-gpage { min-height: 0; }
    .sw-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sw-page { min-height: 180px; padding: 12px; }
    .sw-hero { grid-template-columns: 1fr; }
    .sw-img { min-height: 110px; }
    .sw-links { display: none; }
    .sw-form { flex-wrap: wrap; border-radius: 22px; padding: 8px; padding-inline-start: 16px; }
    .sw-form .btn { width: 100%; justify-content: center; }
    .sw-cur .sw-tag { font-size: .62rem; padding: 2px 7px 3px; }
    .sw-finale { font-size: .88rem; padding: 10px 16px; }
    .sw-meter { white-space: normal; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    .sw-b, .sw-ty, .sw-finale { transition: none !important; }
    .sw-over-dots i, .sw-live, .sw-note.on, .sw-pin.on, .sw-stars.on i, .sw-cart.on b { animation: none !important; }
    .sw-chart i { transform: none; }
    .sw-line { stroke-dashoffset: 0 !important; transition: none !important; }
    .sw-area { opacity: 1; transition: none; }
    .sw-you.on, .sw-donut.on .sw-ring { animation: none !important; }
    .sw-view, .sw-track { transition: none !important; }
    .sw-stars i { opacity: 1; }
    .sw-layer { display: none; }
}
