/* SW Pages - body only (v4 tokens, chrome from Theme Builder) */
.sw-page {
  --sw-ink: #07060f;
  --sw-panel: #12101c;
  --sw-mist: #9b97b0;
  --sw-paper: #f4f2ff;
  --sw-green: #2fea15;
  --sw-magenta: #ff40ff;
  --sw-accent: var(--sw-green);
  --sw-line: rgba(255, 255, 255, 0.08);
  --sw-glow: rgba(47, 234, 21, 0.1);
  --sw-glow-m: rgba(255, 64, 255, 0.09);
  --font-display: "Anybody", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-hud: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1180px;
  --r-card: 1.25rem;
  color: var(--sw-paper);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.sw-page *,
.sw-page *::before,
.sw-page *::after {
  box-sizing: border-box;
}

.sw-page a {
  color: inherit;
  text-decoration: none;
}

.sw-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sw-page__inner {
  width: min(100% - 2rem, var(--max));
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 0;
}

/*
 * Hello Elementor boxes classic pages:
 *   body:not([class*="elementor-page-"]) .site-main { max-width: 600/800/1140px }
 * Homepage is Elementor (has elementor-page-*), so it stays full-bleed + --max.
 * SW Pages shortcodes use Default template - unlock site-main so --max matches home/kit.
 */
body.sw-has-sw-page .site-main,
body:has(.sw-page) .site-main {
  max-width: none !important;
  width: 100% !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}

body.sw-has-sw-page .page-content,
body:has(.sw-page) .page-content {
  max-width: none;
  width: 100%;
}

.sw-page__hero {
  padding: 3.5rem 0 1.75rem;
  background:
    radial-gradient(900px 420px at 92% -10%, var(--sw-glow), transparent 55%),
    radial-gradient(700px 360px at -6% 30%, var(--sw-glow-m), transparent 50%);
}

.sw-page__hero--download,
.sw-page__hero--landing {
  padding-bottom: 2.5rem;
}

.sw-page__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.85rem, 3.2vw, 2.85rem);
  line-height: 1.1;
  color: var(--sw-paper);
}

.sw-page__lead {
  margin: 0;
  max-width: 42rem;
  color: var(--sw-mist);
  font-size: 1.05rem;
}

.sw-page__body {
  padding: 1rem 0 4rem;
}

.sw-page__body--legal {
  padding-top: 0.5rem;
}

.sw-page__prose {
  max-width: 48rem;
}

.sw-page__prose--legal {
  max-width: 52rem;
}

.sw-page__prose > :first-child {
  margin-top: 0;
}

.sw-page__prose h2,
.sw-page__prose h3 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--sw-paper);
}

.sw-page__prose h2 {
  font-size: 1.35rem;
}

.sw-page__prose h3 {
  font-size: 1.15rem;
}

.sw-page__prose p,
.sw-page__prose li {
  color: #d8d4ea;
}

.sw-page__prose p {
  margin: 0 0 1rem;
}

.sw-page__prose ul,
.sw-page__prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.sw-page__prose li {
  margin: 0.35rem 0;
}

.sw-page__prose a {
  color: var(--sw-accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.sw-page__prose a:hover {
  color: #9dff8a;
}

.sw-page__prose blockquote {
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--sw-accent);
  background: rgba(255, 255, 255, 0.03);
  color: var(--sw-mist);
}

.sw-page__prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.92rem;
}

.sw-page__prose th,
.sw-page__prose td {
  border: 1px solid var(--sw-line);
  padding: 0.55rem 0.7rem;
  text-align: left;
}

.sw-page__prose th {
  background: rgba(255, 255, 255, 0.04);
}

.sw-page__cta-label {
  display: inline-block;
  margin: 0.35rem 0 1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--sw-line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--sw-mist);
  font-family: var(--font-hud);
}

.sw-page__actions {
  margin: 1.5rem 0 0;
}

.sw-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: var(--sw-accent);
  color: #061006 !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 0 0 1px rgba(47, 234, 21, 0.35), 0 10px 30px rgba(47, 234, 21, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sw-page__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(47, 234, 21, 0.5), 0 14px 36px rgba(47, 234, 21, 0.28);
}

.sw-page__embed {
  margin: 1.75rem 0;
  padding: 1rem;
  border: 1px solid var(--sw-line);
  border-radius: var(--r-card);
  background: rgba(18, 16, 28, 0.65);
}

.sw-page--download .sw-page__hero .sw-page__actions {
  margin-top: 1.25rem;
}

@media (max-width: 767px) {
  .sw-page__hero {
    padding-top: 2.5rem;
  }
  .sw-page__inner {
    width: min(100% - 1.25rem, var(--max));
  }
}

.sw-page__btn--ghost {
  background: transparent;
  color: var(--sw-paper) !important;
  box-shadow: inset 0 0 0 1px var(--sw-line);
}

.sw-page__btn--ghost:hover {
  box-shadow: inset 0 0 0 1px rgba(47, 234, 21, 0.45);
  color: var(--sw-accent) !important;
}

/* ===== About (Discord / home v4 modules) ===== */
.sw-page--about {
  overflow: visible;
}

.sw-page--about .sw-page__inner,
.sw-about__how-inner,
.sw-about__why-inner,
.sw-about__reviews-inner,
.sw-about__demo-wrap,
.sw-about__founder-stage,
.sw-about__hero-visual {
  position: relative;
  overflow: visible;
}

.sw-about__kicker {
  margin: 0 0 0.45rem;
  font-family: var(--font-hud);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sw-accent);
}

.sw-about__section-lead {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  color: var(--sw-mist);
}

.sw-about__hero {
  position: relative;
  padding: 3.25rem 0 2.5rem;
  overflow: visible;
  background:
    radial-gradient(900px 420px at 88% -10%, var(--sw-glow), transparent 55%),
    radial-gradient(700px 360px at -8% 40%, var(--sw-glow-m), transparent 50%);
}

.sw-about__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem 2rem;
  align-items: center;
}

.sw-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.sw-about__hero-visual {
  min-height: 300px;
  display: grid;
  place-items: center;
}

.sw-about__hero-glow {
  position: absolute;
  inset: 18% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 234, 21, 0.22), transparent 70%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

/* Floating cast - only in dedicated visual slots, never over copy */
.sw-about__float {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  height: auto;
  max-width: none;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.45));
  animation: sw-about-float 5.8s ease-in-out infinite;
}

.sw-about__float--c { width: 220px; left: 12%; bottom: -4%; z-index: 2; }
.sw-about__float--d { width: 170px; right: 8%; bottom: -8%; animation-delay: -1.8s; }

.sw-about__float--found1 { width: 112px; right: -10%; bottom: -6%; z-index: 2; }

.sw-about__hero-copy,
.sw-about__prose,
.sw-about__how-inner > :not(.sw-about__float),
.sw-about__why-inner > :not(.sw-about__float),
.sw-about__reviews-inner > :not(.sw-about__float),
.sw-about__community-inner > :not(.sw-about__community-cast) {
  position: relative;
  z-index: 3;
}

@keyframes sw-about-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes sw-about-float-alt {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

.sw-about__mission,
.sw-about__how,
.sw-about__world,
.sw-about__why,
.sw-about__founder,
.sw-about__reviews,
.sw-about__security,
.sw-about__community {
  position: relative;
  padding: 3rem 0;
  overflow: visible;
}

.sw-about__split,
.sw-about__founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 1.75rem 2rem;
  align-items: center;
  overflow: visible;
}

.sw-about__demo-wrap {
  min-height: 0;
  padding: 0;
}

.sw-about__demo {
  position: relative;
  z-index: 2;
}

.sw-about__demo .sw-app-demo {
  width: min(100%, 520px);
}

.sw-about__rich {
  color: #d8d4ea;
}
.sw-about__rich p { margin: 0 0 0.85rem; }
.sw-about__rich a { color: var(--sw-accent); }

.sw-about__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem 1rem;
  overflow: visible;
  padding-top: 0.35rem;
}

.sw-about__card {
  position: relative;
  padding: 1.35rem 1.15rem 1.4rem;
  border-radius: var(--r-card);
  border: 1px solid var(--sw-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(18,16,28,0.85));
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sw-about__card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 234, 21, 0.35);
}

.sw-about__card--pro {
  box-shadow: inset 0 0 0 1px rgba(47, 234, 21, 0.18);
}

.sw-about__tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-family: var(--font-hud);
  letter-spacing: 0.04em;
  border: 1px solid var(--sw-line);
  color: var(--sw-mist);
}

.sw-about__tag--pro {
  color: #061006;
  background: var(--sw-accent);
  border-color: transparent;
  font-weight: 700;
}

.sw-about__card h3,
.sw-about__bento-item h3,
.sw-about__sec-card h3,
.sw-about__review h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.sw-about__card p,
.sw-about__bento-item p,
.sw-about__sec-card p {
  margin: 0;
  color: var(--sw-mist);
  font-size: 0.95rem;
}

.sw-about__flags {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--r-card);
  border: 1px solid var(--sw-line);
  background: rgba(18, 16, 28, 0.55);
}

.sw-flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.15rem;
}

.sw-flags__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 5.5rem;
  margin: 0.35rem;
  text-align: center;
}

.sw-flags__item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.sw-flags__item span {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--sw-mist);
  line-height: 1.25;
}

.sw-about__bento,
.sw-about__sec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.sw-about__bento-item,
.sw-about__sec-card {
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid var(--sw-line);
  background: rgba(255, 255, 255, 0.03);
}

/* Reviews - homepage energy */
.sw-about__reviews-score {
  margin: 0 0 1.35rem;
  color: var(--sw-mist);
  font-size: 1.02rem;
}
.sw-about__reviews-score b { color: var(--sw-paper); }
.sw-about__reviews-score a { color: var(--sw-accent); text-decoration: underline; text-underline-offset: 0.12em; }
.sw-about__tp-stars { color: #2fea15; letter-spacing: 0.08em; margin-right: 0.25rem; }

.sw-about__review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.sw-about__review {
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 1.1rem;
  border: 1px solid var(--sw-line);
  background: linear-gradient(165deg, rgba(255,255,255,0.045), rgba(18,16,28,0.8));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sw-about__review:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 234, 21, 0.32);
}

.sw-about__review-stars {
  margin: 0 0 0.45rem;
  color: #2fea15;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.sw-about__review p {
  margin: 0;
  color: #d8d4ea;
  font-size: 0.94rem;
  line-height: 1.5;
}

.sw-about__review footer {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--sw-mist);
  font-family: var(--font-hud);
}

.sw-about__reviews-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.sw-about__reviews-note {
  margin: 0.9rem 0 0;
  color: var(--sw-mist);
  font-size: 0.88rem;
  max-width: 40rem;
}

.sw-about__sec-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sw-about__sec-card {
  text-align: center;
}
.sw-about__sec-card img {
  width: 88px;
  height: 88px;
  margin: 0 auto 0.75rem;
  object-fit: contain;
}

.sw-about__founder-stage {
  min-height: 280px;
  padding: 1.25rem 1.5rem 2rem;
}

.sw-about__founder-media {
  margin: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--sw-line);
  background: var(--sw-panel);
  position: relative;
  z-index: 1;
}

.sw-about__founder-media img {
  width: 100%;
  height: auto;
  display: block;
}

.sw-about__founder-name {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--sw-accent);
}

.sw-about__community {
  padding-bottom: 4rem;
}

.sw-about__community-inner {
  text-align: center;
  padding: 2.5rem 1.25rem 2.25rem;
  border-radius: calc(var(--r-card) + 0.25rem);
  border: 1px solid var(--sw-line);
  background:
    radial-gradient(600px 240px at 50% 100%, rgba(47, 234, 21, 0.16), transparent 60%),
    rgba(18, 16, 28, 0.75);
  overflow: visible;
}

.sw-about__community-cast {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 0 auto 1rem;
  max-width: 14rem;
}

.sw-about__community-cast img {
  width: min(100%, 200px);
  height: auto;
  margin-inline: auto;
  animation: sw-about-float 5.5s ease-in-out infinite;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.4));
}

.sw-about__community-inner h2 {
  margin: 0.35rem 0 0.65rem;
  font-family: var(--font-display);
}

.sw-about__community-inner p {
  margin: 0 auto 1.15rem;
  max-width: 34rem;
  color: var(--sw-mist);
}

.sw-page--about [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.sw-page--about [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .sw-about__hero-grid,
  .sw-about__split,
  .sw-about__founder-grid,
  .sw-about__cards,
  .sw-about__sec-grid {
    grid-template-columns: 1fr;
  }
  .sw-about__review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sw-about__float--c,
  .sw-about__float--found1 { display: none; }
}

@media (max-width: 720px) {
  .sw-about__bento,
  .sw-about__review-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sw-about__float,
  .sw-about__community-cast img {
    animation: none !important;
  }
  .sw-page--about [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Changelogs - Discord / about card language + pager
   ========================================================================== */
.sw-page--changelogs {
  --max: 1180px;
}

.sw-changelog-hero {
  position: relative;
  overflow: hidden;
  padding: 3.75rem 0 2.25rem;
}

.sw-changelog-hero__grid {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 7.5rem;
}

.sw-changelog-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
}

.sw-changelog-hero__mark {
  position: absolute;
  right: -2%;
  top: 42%;
  transform: translateY(-50%) rotate(-8deg);
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(3.5rem, 12vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
  text-stroke: 1px rgba(255, 255, 255, 0.18);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.sw-changelog-body {
  padding-top: 0.5rem;
}

.sw-changelog-list {
  width: min(100% - 2rem, var(--max));
  max-width: var(--max);
}

.sw-page--changelogs .elementor-16517 {
  display: none !important;
}

.sw-changelog__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sw-changelog__card,
.sw-page--changelogs .changelog_single_all {
  position: relative;
  margin: 0;
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: var(--r-card);
  border: 1px solid var(--sw-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(18, 16, 28, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: var(--sw-paper);
  font-size: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sw-changelog__card:hover,
.sw-page--changelogs .changelog_single_all:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 234, 21, 0.32);
  background: linear-gradient(180deg, rgba(47, 234, 21, 0.06), rgba(18, 16, 28, 0.92));
}

.sw-changelog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding: 0;
}

.sw-changelog__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.sw-changelog__ver {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(47, 234, 21, 0.35);
  background: rgba(47, 234, 21, 0.12);
  color: var(--sw-green);
  font-family: var(--font-hud);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.sw-changelog__about {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sw-paper);
  line-height: 1.25;
}

.sw-changelog__body,
.sw-page--changelogs .changelog_single_content {
  padding: 0;
  color: var(--sw-mist);
  font-size: 0.98rem;
  line-height: 1.55;
  font-family: var(--font-body);
}

.sw-changelog__body a,
.sw-page--changelogs .changelog_main a {
  color: var(--sw-green);
  font-weight: 600;
}

.sw-changelog__body a:hover,
.sw-page--changelogs .changelog_main a:hover {
  color: #45f52c;
}

.sw-changelog__date,
.sw-page--changelogs .changelog_single_date {
  margin-top: 0.7rem;
  font-family: var(--font-hud);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.35);
  text-align: right;
}

.sw-changelog-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-card);
  border: 1px solid var(--sw-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(18, 16, 28, 0.85));
}

.sw-changelog-pager__nums {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex: 1 1 auto;
}

.sw-changelog-pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--sw-line);
  background: rgba(7, 6, 15, 0.45);
  color: var(--sw-paper) !important;
  font-family: var(--font-hud);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.sw-changelog-pager__btn:hover {
  border-color: rgba(47, 234, 21, 0.45);
  background: rgba(47, 234, 21, 0.1);
  color: var(--sw-green) !important;
}

.sw-changelog-pager__btn.is-on {
  color: #061006 !important;
  background: var(--sw-green);
  border-color: transparent;
}

.sw-changelog-pager__btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.sw-changelog-pager__btn--nav {
  min-width: auto;
  padding-inline: 0.95rem;
}

.sw-changelog-pager__gap {
  color: var(--sw-mist);
  padding: 0 0.15rem;
  font-family: var(--font-hud);
}

@media (max-width: 900px) {
  .sw-changelog-hero__mark {
    opacity: 0.55;
    right: -8%;
    font-size: clamp(2.8rem, 16vw, 5.5rem);
  }
}

@media (max-width: 720px) {
  .sw-changelog-pager {
    justify-content: center;
  }
  .sw-changelog-pager__btn--nav {
    order: 3;
    flex: 1 1 calc(50% - 0.4rem);
  }
}

@media (max-width: 600px) {
  .sw-changelog-hero__mark {
    display: none;
  }
  .sw-changelog__card,
  .sw-page--changelogs .changelog_single_all {
    padding: 1rem 0.95rem 1.05rem;
  }
}

/* ===== CS2 Server Cleaner landing ===== */
.sw-page--cs2 {
  overflow: visible;
}

.sw-cs2__hero {
  position: relative;
  padding: 3.25rem 0 2.25rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(255, 64, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 45% at 10% 80%, rgba(47, 234, 21, 0.1), transparent 50%),
    linear-gradient(180deg, #0c0a16 0%, var(--sw-ink) 100%);
}

.sw-cs2__hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.sw-cs2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.sw-cs2__actions--foot {
  margin-top: 1.75rem;
}

.sw-cs2__hero-visual {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: center;
}

.sw-cs2__hero-glow {
  position: absolute;
  inset: 15% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 234, 21, 0.22), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.sw-cs2__logo {
  position: relative;
  z-index: 1;
  width: min(280px, 70%);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

.sw-cs2__why,
.sw-cs2__cleans,
.sw-cs2__install {
  padding: 2.5rem 0 1.75rem;
}

.sw-cs2__h2 {
  margin: 0.35rem 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.sw-cs2__h3 {
  margin: 1.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.sw-cs2__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.sw-cs2__card {
  border: 1px solid var(--sw-line);
  border-radius: var(--r-card);
  background: rgba(18, 16, 28, 0.72);
  padding: 1.1rem 1.15rem;
}

.sw-cs2__card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--sw-green);
}

.sw-cs2__card p {
  margin: 0;
  color: var(--sw-mist);
  font-size: 0.94rem;
}

.sw-cs2__brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.sw-cs2__brand-row img {
  width: 88px;
  height: auto;
}

.sw-cs2__vector {
  width: 56px !important;
  opacity: 0.9;
}

.sw-cs2__demo-row,
.sw-cs2__compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.35rem;
}

.sw-cs2__shot {
  margin: 0;
  border: 1px solid var(--sw-line);
  border-radius: var(--r-card);
  overflow: hidden;
  background: rgba(7, 6, 15, 0.55);
}

.sw-cs2__shot img {
  width: 100%;
  height: auto;
  display: block;
}

.sw-cs2__shot figcaption {
  padding: 0.55rem 0.8rem;
  font-family: var(--font-hud);
  font-size: 0.78rem;
  color: var(--sw-mist);
  border-top: 1px solid var(--sw-line);
}

.sw-cs2__list {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.sw-cs2__list li {
  border: 1px solid var(--sw-line);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  background: rgba(18, 16, 28, 0.65);
  font-size: 0.92rem;
}

.sw-cs2__list--plain li {
  border-radius: 0.75rem;
}

.sw-cs2__note {
  margin: 0;
  color: var(--sw-mist);
  font-size: 0.9rem;
  text-align: center;
}

.sw-cs2__steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--sw-mist);
  display: grid;
  gap: 0.55rem;
}

.sw-cs2__steps li {
  padding-left: 0.2rem;
}

.sw-cs2__cmd {
  margin: 0.5rem 0 0;
}

.sw-cs2__cmd code {
  display: inline-block;
  padding: 0.65rem 0.95rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(47, 234, 21, 0.35);
  background: rgba(47, 234, 21, 0.08);
  color: var(--sw-green);
  font-family: var(--font-hud);
  font-size: 0.95rem;
}

.sw-cs2__install {
  padding-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .sw-cs2__hero-grid,
  .sw-cs2__cards,
  .sw-cs2__demo-row,
  .sw-cs2__compare {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sw-cs2__logo {
    width: 180px;
  }
}

/* Download - Discord-simple: hero CTA + stage + mobile */
.sw-dl__hero {
  padding: 4rem 0 1.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, var(--sw-glow), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 60%, var(--sw-glow-m), transparent 55%);
}

.sw-dl__hero-inner {
  max-width: 44rem;
}

.sw-dl__headline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.08;
}

.sw-dl__sub {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  color: var(--sw-mist);
  font-size: 1.08rem;
  line-height: 1.55;
}

.sw-dl__sub--sm {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  text-align: left;
}

.sw-dl__exe {
  display: inline-flex;
  min-width: 14rem;
  justify-content: center;
}

.sw-dl__zip {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
}

.sw-dl__zip a {
  color: var(--sw-green);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  font-weight: 600;
}

.sw-dl__meta {
  margin: 0.65rem 0 0;
  color: var(--sw-mist);
  font-size: 0.86rem;
  font-family: var(--font-hud);
}

.sw-dl__stage {
  padding: 2rem 0 1rem;
  overflow: hidden;
}

.sw-dl__stage-wrap {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 3rem;
}

.sw-dl__demo {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  border-radius: 1.35rem;
  background: linear-gradient(165deg, #1a1826, #0d0b14);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  padding: 1.15rem 1.1rem 1.25rem;
}

.sw-dl__demo-head {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: var(--sw-mist);
  font-weight: 600;
}

.sw-dl__covers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.sw-dl__cover {
  display: block;
  overflow: hidden;
  border-radius: 0.55rem;
  aspect-ratio: 16 / 10;
  background: #12101c;
}

.sw-dl__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.sw-dl__cover:hover img {
  transform: scale(1.08);
}

.sw-dl__rows {
  display: grid;
  gap: 0.4rem;
}

.sw-dl__row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.sw-dl__row img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.sw-dl__sw {
  margin-left: auto;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: rgba(47, 234, 21, 0.85);
  position: relative;
}

.sw-dl__sw::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0a0317;
}

.sw-dl__sw.is-off {
  background: rgba(255, 255, 255, 0.18);
}

.sw-dl__sw.is-off::after {
  right: auto;
  left: 2px;
}

.sw-dl__char {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
  animation: sw-about-float 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}

.sw-dl__char--wiz {
  width: clamp(160px, 28vw, 280px);
  left: -2%;
  bottom: 4%;
}

.sw-dl__char--mon {
  width: clamp(140px, 24vw, 240px);
  right: -1%;
  bottom: 8%;
  animation-delay: -1.8s;
}

.sw-dl__char--pad {
  width: clamp(110px, 18vw, 180px);
  left: 8%;
  top: 2%;
  animation-delay: -3.2s;
}

.sw-dl__char--chip {
  width: clamp(100px, 16vw, 160px);
  right: 10%;
  top: 0;
  animation-delay: -0.9s;
}

.sw-dl__mobile {
  padding: 3rem 0 4rem;
}

.sw-dl__mobile-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.sw-dl__h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}

.sw-dl__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.sw-dl__store img {
  width: 168px;
  height: auto;
}

.sw-dl__mobile-cast {
  position: relative;
  min-height: 260px;
}

.sw-dl__char--phone {
  width: clamp(150px, 26vw, 220px);
  left: 8%;
  bottom: 0;
  position: absolute;
}

.sw-dl__char--ghost {
  width: clamp(130px, 22vw, 200px);
  right: 4%;
  bottom: 10%;
  position: absolute;
  animation-delay: -2.4s;
}

@media (max-width: 900px) {
  .sw-dl__mobile-grid {
    grid-template-columns: 1fr;
  }

  .sw-dl__sub--sm {
    text-align: center;
  }

  .sw-dl__stores {
    justify-content: center;
  }

  .sw-dl__char--wiz,
  .sw-dl__char--mon {
    width: 120px;
  }

  .sw-dl__char--pad,
  .sw-dl__char--chip {
    display: none;
  }

  .sw-dl__stage-wrap {
    min-height: 340px;
    padding-top: 1.5rem;
  }

  .sw-dl__mobile-cast {
    min-height: 200px;
    max-width: 360px;
    margin-inline: auto;
  }
}

/* Sensitivity converter - Discord hub + characters */
.sw-page--sensitivity {
  overflow: clip;
}

.sw-sens__hero {
  padding: 3.5rem 0 1.25rem;
  background:
    radial-gradient(ellipse 70% 50% at 15% -10%, var(--sw-glow), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 40%, var(--sw-glow-m), transparent 55%);
}

.sw-sens__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem 2rem;
  align-items: center;
}

.sw-sens__headline {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.08;
}

.sw-sens__lead {
  margin: 0 0 0.85rem;
  max-width: 34rem;
  color: var(--sw-mist);
  font-size: 1.08rem;
  line-height: 1.55;
}

.sw-sens__intro {
  margin: 0;
  max-width: 36rem;
  color: rgba(232, 230, 245, 0.88);
  font-size: 1rem;
  line-height: 1.6;
}

.sw-sens__hero-cast {
  position: relative;
  min-height: 280px;
}

.sw-sens__char {
  position: absolute;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
  pointer-events: none;
  user-select: none;
}

.sw-sens__char--wiz {
  width: clamp(150px, 22vw, 240px);
  left: 4%;
  bottom: 0;
  z-index: 2;
}

.sw-sens__char--gamer {
  width: clamp(130px, 18vw, 200px);
  right: 8%;
  bottom: 4%;
  z-index: 3;
  animation: sw-sens-float 5.5s ease-in-out infinite;
}

.sw-sens__char--pad {
  width: clamp(90px, 12vw, 140px);
  right: 2%;
  top: 8%;
  z-index: 1;
  opacity: 0.92;
  animation: sw-sens-float 6.5s ease-in-out infinite reverse;
}

@keyframes sw-sens-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.sw-sens__tool {
  padding: 1rem 0 2rem;
  overflow: hidden;
}

.sw-sens__tool-stage {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.5rem 0.5rem 2rem;
}

.sw-sens__calc-wrap {
  position: relative;
  z-index: 2;
}

.sw-sens__float {
  position: absolute;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.4));
}

.sw-sens__float--chip {
  width: clamp(80px, 11vw, 130px);
  left: -0.5rem;
  top: 12%;
  animation: sw-sens-float 7s ease-in-out infinite;
}

.sw-sens__float--mon {
  width: clamp(90px, 12vw, 150px);
  right: -0.25rem;
  bottom: 8%;
  animation: sw-sens-float 6s ease-in-out infinite reverse;
}

.sw-page--sensitivity .sw-sens-calc {
  max-width: none;
}

.sw-page--sensitivity .sw-sens-calc__glass {
  border-radius: 1.35rem;
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(26, 24, 38, 0.96), rgba(10, 8, 18, 0.98));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.sw-sens__games {
  padding: 2.5rem 0 1.5rem;
}

.sw-sens__h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
}

.sw-sens__section-lead {
  margin: 0 0 1.25rem;
  max-width: 40rem;
  color: var(--sw-mist);
  line-height: 1.55;
}

.sw-sens__games-panel {
  padding: 1.1rem 1rem 1.25rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 6, 16, 0.55);
}

.sw-page--sensitivity .sw-sens-games {
  margin: 0;
}

.sw-sens__why {
  padding: 2.5rem 0 4rem;
  background:
    radial-gradient(ellipse 55% 45% at 85% 70%, var(--sw-glow-m), transparent 60%);
}

.sw-sens__why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.sw-sens__why-body {
  color: rgba(232, 230, 245, 0.9);
  line-height: 1.65;
}

.sw-sens__why-body p {
  margin: 0 0 0.9rem;
}

.sw-sens__actions {
  margin: 1.35rem 0 0;
}

.sw-sens__why-cast {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sw-sens__why-cast > img:first-child {
  width: clamp(160px, 24vw, 230px);
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.45));
}

.sw-sens__why-ghost {
  position: absolute;
  width: clamp(120px, 16vw, 170px);
  right: 6%;
  bottom: 12%;
  z-index: 1;
  opacity: 0.95;
  animation: sw-sens-float 5.8s ease-in-out infinite;
}

@media (max-width: 900px) {
  .sw-sens__hero-grid,
  .sw-sens__why-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sw-sens__lead,
  .sw-sens__intro,
  .sw-sens__section-lead {
    margin-inline: auto;
  }

  .sw-sens__hero-cast {
    min-height: 220px;
    max-width: 420px;
    margin-inline: auto;
  }

  .sw-sens__float--chip,
  .sw-sens__float--mon,
  .sw-sens__char--pad {
    display: none;
  }

  .sw-sens__why-cast {
    max-width: 360px;
    margin-inline: auto;
  }

  .sw-sens__actions {
    display: flex;
    justify-content: center;
  }
}

/* How to set - guide + live app demo sync */
.sw-page--howto {
  overflow: visible;
  overflow-anchor: none;
  --sw-ht-header-offset: calc(var(--wp-admin--admin-bar--height, 0px) + 64px);
  --sw-ht-stage-top: calc(var(--sw-ht-header-offset) + 15px);
}

/* home-v4.css sets [data-reveal]{opacity:0} and loads AFTER pages.css */
.sw-page--howto [data-reveal],
.sw-page--howto .sw-app-demo[data-reveal],
.sw-page--howto .sw-ht__demo .sw-app-demo {
  opacity: 1 !important;
  transform: none !important;
}

.sw-ht__hero {
  padding: 3.25rem 0 1.25rem;
  background:
    radial-gradient(ellipse 70% 50% at 12% -10%, var(--sw-glow), transparent 55%),
    radial-gradient(ellipse 50% 40% at 92% 35%, var(--sw-glow-m), transparent 55%);
}

.sw-ht__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.25rem 2rem;
  align-items: center;
}

.sw-ht__headline {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.08;
}

.sw-ht__lead {
  margin: 0 0 0.75rem;
  max-width: 34rem;
  color: var(--sw-mist);
  font-size: 1.08rem;
  line-height: 1.55;
}

.sw-ht__intro {
  margin: 0;
  max-width: 36rem;
  color: rgba(232, 230, 245, 0.9);
  line-height: 1.6;
}

.sw-ht__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.sw-ht__hero-cast {
  position: relative;
  min-height: 240px;
}

.sw-ht__char {
  position: absolute;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.sw-ht__char--wiz {
  width: clamp(140px, 20vw, 210px);
  left: 4%;
  bottom: 0;
  z-index: 2;
}

.sw-ht__char--gamer {
  width: clamp(120px, 16vw, 180px);
  right: 8%;
  bottom: 4%;
  z-index: 3;
  animation: sw-ht-float 5.6s ease-in-out infinite;
}

@keyframes sw-ht-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.sw-ht__toc {
  padding: 0.5rem 0 1rem;
  position: relative;
  z-index: 2;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sw-ht__toc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sw-ht__toc-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 242, 255, 0.9);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-hud, ui-monospace, monospace);
  letter-spacing: 0.02em;
}

.sw-ht__toc-link:hover,
.sw-ht__toc-link.is-active {
  border-color: rgba(108, 190, 69, 0.55);
  color: #fff;
}

.sw-ht__toc-link.is-active {
  background: rgba(108, 190, 69, 0.16);
}

.sw-ht__guides {
  margin: 0.35rem auto 1.75rem;
  padding-bottom: 0.35rem;
}

.sw-ht__guides .sw-ht__h2 {
  margin-bottom: 0.45rem;
}

.sw-ht__guides .sw-ht__text {
  margin-bottom: 1rem;
  max-width: 52rem;
}

.sw-ht__guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.sw-ht__guide-card {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 6, 16, 0.55);
  display: grid;
  gap: 0.45rem;
  align-content: start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sw-ht__guide-card:hover {
  border-color: rgba(108, 190, 69, 0.4);
  box-shadow: 0 0 0 1px rgba(108, 190, 69, 0.12);
}

.sw-ht__guide-title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.3;
  font-family: var(--font-display, inherit);
}

.sw-ht__guide-title a {
  color: rgba(244, 242, 255, 0.96);
  text-decoration: none;
}

.sw-ht__guide-title a:hover {
  color: #9be05a;
}

.sw-ht__guide-excerpt {
  margin: 0;
  color: var(--sw-mist, rgba(210, 206, 230, 0.78));
  font-size: 0.9rem;
  line-height: 1.45;
}

.sw-ht__guide-more {
  color: var(--sw-accent, #9be05a);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: underline;
}

.sw-ht__guides-empty {
  margin: 0;
  color: var(--sw-mist, rgba(210, 206, 230, 0.78));
}

.sw-ht__workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.5rem 1.75rem;
  align-items: start;
  padding: 1.25rem 0 3.5rem;
}

.sw-ht__guide {
  min-width: 0;
}

.sw-ht__block {
  padding: 1.5rem 0 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sw-ht__block--alt {
  background: transparent;
}

.sw-ht__h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
}

.sw-ht__h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.sw-ht__text {
  margin: 0 0 0.9rem;
  color: rgba(232, 230, 245, 0.9);
  line-height: 1.65;
}

.sw-ht__badge {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(108, 190, 69, 0.45);
  background: rgba(47, 234, 21, 0.08);
  color: #c8f7b0;
  font-size: 0.86rem;
  font-weight: 700;
}

.sw-ht__list {
  margin: 0 0 1rem;
  color: rgba(232, 230, 245, 0.92);
  line-height: 1.55;
}

.sw-ht__list ol {
  margin: 0;
  padding-left: 1.2rem;
}

.sw-ht__list li {
  margin: 0 0 0.45rem;
}

.sw-ht__list p {
  margin: 0.75rem 0 0;
}

.sw-ht__note {
  margin: 0;
  color: var(--sw-mist);
  font-size: 0.95rem;
  line-height: 1.55;
}

.sw-ht__pro-cta {
  margin-top: 1rem;
}

.sw-ht__pro-cta .sw-page__btn {
  display: inline-flex;
}

.sw-ht__tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.sw-ht__tier,
.sw-ht__card {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 6, 16, 0.55);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sw-ht__tier:hover,
.sw-ht__card:hover {
  border-color: rgba(108, 190, 69, 0.35);
  box-shadow: 0 0 0 1px rgba(108, 190, 69, 0.12);
}

.sw-ht__subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.1rem;
}

.sw-ht__card--wide {
  grid-column: 1 / -1;
}

.sw-ht__foot {
  padding: 2.25rem 0 1rem;
  text-align: left;
  border-bottom: 0;
}

.sw-ht__foot .sw-ht__text {
  margin: 0 0 1.1rem;
}

.sw-ht__stage {
  position: sticky;
  top: var(--sw-ht-stage-top, calc(4.5rem + 15px)) !important;
  align-self: start;
  min-width: 0;
  padding: 0.85rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(108, 190, 69, 0.12), transparent 55%),
    rgba(8, 6, 16, 0.88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.sw-ht__stage-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.sw-ht__stage-meta {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.sw-ht__stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  padding: 0.2rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}

.sw-ht__step-btn {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border-radius: 0.6rem;
  border: 1px solid rgba(108, 190, 69, 0.32);
  background: linear-gradient(165deg, rgba(32, 36, 28, 0.98), rgba(14, 16, 12, 0.98));
  color: #c8f7b0;
  line-height: 0;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.sw-ht__step-btn svg {
  display: block;
}

.sw-ht__step-btn:hover {
  border-color: rgba(108, 190, 69, 0.75);
  background: linear-gradient(165deg, rgba(48, 58, 36, 0.98), rgba(18, 22, 14, 0.98));
  color: #e2ffc8;
  box-shadow: 0 0 0 3px rgba(108, 190, 69, 0.14);
}

.sw-ht__step-btn:active {
  transform: translateY(1px);
}

.sw-ht__step-btn:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.sw-ht__step-count {
  min-width: 2.75rem;
  padding: 0 0.15rem;
  text-align: center;
  font-family: var(--font-hud, ui-monospace, monospace);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  color: rgba(220, 218, 235, 0.9);
}

.sw-ht__step-hint {
  margin: 0 0 0.65rem;
  color: rgba(200, 198, 220, 0.7);
  font-size: 0.78rem;
  line-height: 1.4;
}

.sw-ht__list ol > li.is-ht-on,
.sw-ht__step.is-ht-on {
  outline: 2px solid rgba(108, 190, 69, 0.85);
  outline-offset: 3px;
  border-radius: 0.55rem;
  background: rgba(108, 190, 69, 0.1);
  box-shadow: 0 0 0 4px rgba(108, 190, 69, 0.12);
}

.sw-ht__list ol > li,
.sw-ht__step.sw-ht__point {
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sw-ht__list ol > li {
  padding: 0.35rem 0.45rem;
  margin-left: -0.35rem;
}

.sw-ht__list ol > li.sw-ht__point,
.sw-ht__step.sw-ht__point {
  cursor: pointer;
}

.sw-ht__list ol > li.sw-ht__point:hover,
.sw-ht__step.sw-ht__point:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(108, 190, 69, 0.28);
}

.sw-ht__list ol > li.sw-ht__point:focus-visible,
.sw-ht__step.sw-ht__point:focus-visible {
  outline: 2px solid rgba(108, 190, 69, 0.7);
  outline-offset: 2px;
}

.sw-ht__stage-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(108, 190, 69, 0.95);
  font-family: var(--font-hud, ui-monospace, monospace);
}

.sw-ht__stage-label {
  font-size: 0.98rem;
  font-weight: 700;
  color: #f4f2ff;
}

.sw-ht__demo {
  border-radius: 0.85rem;
  overflow: hidden;
  max-width: 100%;
  background: #121018;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overscroll-behavior: contain;
  overflow-anchor: none;
}

/* Keep page scroll authority without collapsing live-app flex stacks.
   overflow:hidden !important on .sw-body/.sw-optstack made cards/overlays pile up. */
.sw-page--howto .sw-ht__demo .sw-app-demo {
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.sw-page--howto .sw-ht__demo #app .sw-body,
.sw-page--howto .sw-ht__demo #app .sw-main,
.sw-page--howto .sw-ht__demo #app .sw-side__list,
.sw-page--howto .sw-ht__demo #app .sw-procat,
.sw-page--howto .sw-ht__demo #app .sw-optstack {
  overscroll-behavior: contain;
}

.sw-ht__stage {
  overflow-anchor: none;
}

.sw-ht__demo .sw-app-demo {
  width: 100%;
  max-width: 100%;
  margin: 0;
  aspect-ratio: 992 / 720;
  border-radius: 0;
  min-height: 0;
  background: #121018;
  opacity: 1;
  box-shadow: none;
  overflow: hidden;
}

.sw-ht__demo #app.sw-app-mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.sw-ht__demo #app .sw-live-shell {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.sw-ht__stage-hint {
  margin: 0.7rem 0 0;
  color: rgba(200, 198, 220, 0.75);
  font-size: 0.82rem;
  line-height: 1.45;
}

.sw-ht__phone {
  margin-top: 0.5rem;
  padding: 1.5rem 1.1rem 1.35rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(108, 190, 69, 0.28);
  background:
    radial-gradient(ellipse 70% 55% at 10% 0%, rgba(108, 190, 69, 0.12), transparent 55%),
    rgba(8, 6, 16, 0.65);
}

.sw-ht__phone-lead {
  max-width: 40rem;
  margin-bottom: 0.85rem;
}

.sw-ht__steps {
  list-style: none;
  margin: 1.1rem 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.sw-ht__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 6, 16, 0.45);
}

.sw-ht__step .sw-ht__text {
  margin: 0;
}

.sw-ht__step-n {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(108, 190, 69, 0.18);
  border: 1px solid rgba(108, 190, 69, 0.45);
  color: #c8f7b0;
  font-weight: 800;
  font-family: var(--font-hud, ui-monospace, monospace);
  font-size: 0.85rem;
}

.sw-ht__toc-link--accent {
  border-color: rgba(108, 190, 69, 0.45);
  color: #c8f7b0;
}

/* Tablet: demo on top, compact sticky under TOC */
@media (max-width: 1100px) {
  .sw-page--howto {
    overflow-x: clip;
  }

  .sw-ht__guides-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sw-ht__workspace {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    min-width: 0;
    max-width: 100%;
  }

  .sw-ht__stage {
    position: sticky;
    top: calc(var(--sw-ht-header-offset, 64px) + 52px + 15px);
    z-index: 6;
    order: -1;
    padding: 0.5rem 0.55rem 0.55rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .sw-ht__stage-bar {
    min-width: 0;
    overflow: hidden;
  }

  .sw-ht__stage-meta {
    overflow: hidden;
  }

  .sw-ht__stage-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sw-ht__demo,
  .sw-ht__demo .sw-app-demo {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    max-height: min(24vh, 220px);
    height: auto;
    overflow: hidden !important;
  }

  .sw-ht__demo #app.sw-app-mount,
  .sw-ht__demo #app .sw-live-shell,
  .sw-ht__demo #app .sw-live-shell__scaler {
    max-width: 100%;
    overflow: hidden !important;
  }

  /* Scroll targets land below sticky TOC + floating preview */
  .sw-ht__block,
  .sw-ht__list ol > li,
  .sw-ht__step {
    scroll-margin-top: calc(
      var(--sw-ht-header-offset, 64px) + 52px + 15px + min(24vh, 220px) + 72px
    );
  }

  .sw-ht__toc-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 0.35rem;
    gap: 0.45rem;
    max-width: 100%;
  }

  .sw-ht__toc-link {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .sw-ht__hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sw-ht__lead,
  .sw-ht__intro,
  .sw-ht__note,
  .sw-ht__text,
  .sw-ht__phone-lead {
    margin-inline: auto;
  }

  .sw-ht__hero-actions {
    justify-content: center;
  }

  .sw-ht__hero-cast {
    display: none;
  }

  .sw-ht__tiers,
  .sw-ht__subgrid {
    grid-template-columns: 1fr;
  }

  .sw-ht__list,
  .sw-ht__steps {
    text-align: left;
  }

  .sw-ht__foot {
    text-align: center;
  }

  .sw-ht__phone {
    padding: 1.15rem 0.85rem;
  }
}

/* Phone: smaller sticky demo so guide stays readable */
@media (max-width: 640px) {
  .sw-ht__guides-grid {
    grid-template-columns: 1fr;
  }

  .sw-ht__headline {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .sw-ht__stage {
    top: calc(var(--sw-ht-header-offset, 64px) + 48px + 12px);
    border-radius: 0.75rem;
    padding: 0.35rem 0.4rem 0.45rem;
  }

  .sw-ht__stage-hint,
  .sw-ht__step-hint {
    display: none;
  }

  .sw-ht__stage-bar {
    margin-bottom: 0.35rem;
    gap: 0.4rem;
  }

  .sw-ht__stage-label {
    font-size: 0.82rem;
  }

  .sw-ht__step-btn {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.85rem;
  }

  .sw-ht__demo,
  .sw-ht__demo .sw-app-demo {
    max-height: min(18vh, 148px);
  }

  .sw-ht__block,
  .sw-ht__list ol > li,
  .sw-ht__step {
    scroll-margin-top: calc(
      var(--sw-ht-header-offset, 64px) + 48px + 12px + min(18vh, 148px) + 64px
    );
  }

  .sw-ht__block {
    padding: 1.15rem 0 1.05rem;
  }

  .sw-ht__step {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.75rem 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sw-ht__char--gamer {
    animation: none;
  }
}

/* PRO landing - homepage Discord look + characters
   Do NOT set overflow-x:clip on the page root - CSS forces overflow-y
   to non-visible too, which clips hero characters under the next section. */
.sw-page--pro {
  overflow: visible;
}

.sw-pro__kicker {
  margin: 0 0 0.55rem;
  color: var(--sw-green);
  font-family: var(--font-hud);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sw-pro__headline {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5vw, 3.45rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.06;
}

.sw-pro__h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.12;
}

.sw-pro__h3 {
  margin: 1.15rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
}

.sw-pro__lead,
.sw-pro__section-lead {
  margin: 0 0 1.1rem;
  max-width: 36rem;
  color: var(--sw-mist);
  font-size: 1.05rem;
  line-height: 1.55;
}

.sw-pro__section-lead--wide {
  max-width: 42rem;
}

.sw-pro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
}

.sw-pro__actions--center {
  justify-content: center;
}

.sw-pro__trial {
  margin: 0;
  color: rgba(200, 198, 220, 0.72);
  font-size: 0.88rem;
  line-height: 1.45;
}

.sw-pro__hero {
  position: relative;
  z-index: 5;
  isolation: isolate;
  padding: 3.5rem 0 2.75rem;
  overflow: visible;
  background:
    radial-gradient(ellipse 70% 55% at 12% -10%, var(--sw-glow), transparent 55%),
    radial-gradient(ellipse 50% 45% at 92% 30%, rgba(255, 64, 255, 0.12), transparent 55%);
}

.sw-pro__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 1.5rem 2rem;
  align-items: end;
}

.sw-pro__hero-copy {
  position: relative;
  z-index: 2;
}

.sw-pro__hero-cast {
  position: relative;
  z-index: 1;
  min-height: clamp(280px, 38vw, 420px);
  /* Keep mascots inside the cast box so they never sink under the next section */
  overflow: hidden;
  isolation: isolate;
  align-self: end;
}

.sw-pro__hero-glow {
  position: absolute;
  inset: 18% 12% 8% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 234, 21, 0.16), transparent 70%);
  pointer-events: none;
}

.sw-pro__char {
  position: absolute;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
  pointer-events: none;
  user-select: none;
}

.sw-pro__char--wiz {
  width: clamp(140px, 20vw, 220px);
  left: 6%;
  bottom: 0;
  z-index: 2;
}

.sw-pro__char--gamer {
  width: clamp(120px, 16vw, 180px);
  right: 2%;
  bottom: 0;
  z-index: 3;
  animation: sw-pro-float 5.8s ease-in-out infinite;
}

.sw-pro__char--pad {
  width: clamp(72px, 10vw, 110px);
  right: 8%;
  top: 4%;
  z-index: 1;
  opacity: 0.92;
  animation: sw-pro-float 6.8s ease-in-out infinite reverse;
}

.sw-pro__char--ghost {
  position: relative;
  width: clamp(160px, 22vw, 240px);
  margin: 0 auto;
  display: block;
  animation: sw-pro-float 6s ease-in-out infinite;
}

@keyframes sw-pro-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.sw-pro__stage,
.sw-pro__feat,
.sw-pro__lists,
.sw-pro__more {
  padding: 2.75rem 0;
}

.sw-pro__stage {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(47, 234, 21, 0.08), transparent 55%);
}

.sw-pro__feat,
.sw-pro__lists,
.sw-pro__more {
  position: relative;
  z-index: 1;
}

.sw-pro__stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
  gap: 1.75rem 2.25rem;
  align-items: center;
}

.sw-pro__feat-grid,
.sw-pro__more-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.75rem 2.25rem;
  align-items: center;
}

.sw-pro__stage-copy,
.sw-pro__feat-copy,
.sw-pro__more-grid > :first-child {
  position: relative;
  z-index: 3;
}

.sw-pro__feat--flip .sw-pro__feat-copy {
  order: 2;
}

.sw-pro__feat--flip .sw-pro__feat-visual {
  order: 1;
}

.sw-pro__demo-wrap,
.sw-pro__feat-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  overflow: visible;
  padding: 0.5rem 1.35rem 2rem;
}

.sw-pro__demo {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #121018;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
}

/* Match How-to: fill column (home-v4 caps .sw-app-demo at 560px) */
.sw-page--pro .sw-pro__demo .sw-app-demo {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  margin-inline: 0 !important;
  aspect-ratio: 992 / 720;
  border-radius: 0;
  min-height: 0;
  box-shadow: none;
}

.sw-pro__demo #app.sw-app-mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* Visible outside panels - bottom outer corner only (no overlap on titles/rows) */
.sw-pro__float {
  position: absolute;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 4;
  opacity: 1;
  top: auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.4));
  animation: sw-pro-float 7s ease-in-out infinite;
}

.sw-pro__float--chip {
  width: clamp(72px, 9vw, 118px);
  left: auto;
  right: -1.1rem;
  bottom: -1.35rem;
}

.sw-pro__float--mon {
  width: clamp(78px, 10vw, 128px);
  left: auto;
  right: -1.25rem;
  bottom: -1.5rem;
  animation-direction: reverse;
}

.sw-pro__float--atom {
  width: clamp(72px, 9vw, 120px);
  left: -1.25rem;
  right: auto;
  bottom: -1.5rem;
}

.sw-pro__float--chest {
  width: clamp(78px, 10vw, 128px);
  left: auto;
  right: -1.25rem;
  bottom: -1.5rem;
  animation-direction: reverse;
}

.sw-pro__feat:not(.sw-pro__feat--flip) .sw-pro__float--atom {
  left: auto;
  right: -1.25rem;
}

.sw-pro__feat--flip .sw-pro__float--chip,
.sw-pro__feat--flip .sw-pro__float--mon,
.sw-pro__feat--flip .sw-pro__float--chest {
  right: auto;
  left: -1.25rem;
}

.sw-pro__panel {
  position: relative;
  z-index: 1;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(26, 24, 38, 0.96), rgba(10, 8, 18, 0.98));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  padding: 0.85rem 1rem 1rem;
}

.sw-pro__more-cast {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  min-height: 200px;
}

.sw-pro__panel-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 0.95rem;
}

.sw-pro__panel-bar img {
  width: 20px;
  height: 20px;
}

.sw-pro__panel-bar .sw-pro__sw {
  margin-left: auto;
}

.sw-pro__sw {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #393939;
  position: relative;
  flex-shrink: 0;
}

.sw-pro__sw::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ddd;
  transition: transform 0.2s ease;
}

.sw-pro__sw.is-on {
  background: #3b82f6;
}

.sw-pro__sw.is-on::after {
  transform: translateX(16px);
  background: #fff;
}

.sw-pro__panel-row {
  padding: 0.55rem 0.35rem;
  color: rgba(232, 230, 245, 0.9);
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sw-pro__panel-row:last-child {
  border-bottom: 0;
}

.sw-pro__rich {
  color: rgba(232, 230, 245, 0.9);
  font-size: 0.98rem;
  line-height: 1.55;
}

.sw-pro__rich ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.sw-pro__rich li {
  margin: 0 0 0.55rem;
}

.sw-pro__rich strong {
  color: #fff;
  font-weight: 650;
}

.sw-pro__tip {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(108, 190, 69, 0.28);
  background: rgba(108, 190, 69, 0.08);
  color: rgba(220, 235, 210, 0.95);
  font-size: 0.92rem;
  line-height: 1.5;
}

.sw-pro__result {
  margin: 0.85rem 0 0;
  color: rgba(232, 230, 245, 0.92);
  font-size: 1rem;
  line-height: 1.55;
}

.sw-pro__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.35rem 0 1.25rem;
}

.sw-pro__card {
  padding: 1.15rem 1.1rem 1.2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(18, 16, 28, 0.85);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.sw-pro__card:hover {
  border-color: rgba(47, 234, 21, 0.35);
  transform: translateY(-2px);
}

.sw-pro__tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(47, 234, 21, 0.12);
  color: var(--sw-green);
  font-family: var(--font-hud);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sw-pro__card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 750;
}

.sw-pro__card p {
  margin: 0;
  color: var(--sw-mist);
  font-size: 0.94rem;
  line-height: 1.5;
}

.sw-pro__lists-extra {
  max-width: 44rem;
}

.sw-pro__more {
  background:
    radial-gradient(ellipse 55% 50% at 10% 40%, rgba(255, 64, 255, 0.08), transparent 55%);
}

.sw-pro__cta {
  padding: 3rem 0 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(47, 234, 21, 0.12), transparent 60%);
}

.sw-pro__cta-inner {
  max-width: 40rem;
}

.sw-pro__cta .sw-pro__section-lead,
.sw-pro__cta .sw-pro__trial {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 980px) {
  .sw-pro__hero-grid,
  .sw-pro__stage-grid,
  .sw-pro__feat-grid,
  .sw-pro__more-grid {
    grid-template-columns: 1fr;
  }

  .sw-pro__feat--flip .sw-pro__feat-copy,
  .sw-pro__feat--flip .sw-pro__feat-visual {
    order: initial;
  }

  /* Mobile/tablet: stack cast as real flex row (absolute chars were clipped/empty) */
  .sw-pro__hero-cast {
    order: -1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.35rem;
    min-height: 0;
    max-width: 100%;
    margin: 0 auto 0.35rem;
    padding: 0.25rem 0 0;
    overflow: visible;
  }

  .sw-pro__hero-glow {
    display: none;
  }

  .sw-pro__char {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    flex: 0 0 auto;
    max-width: none;
  }

  .sw-pro__char--wiz {
    width: min(200px, 46vw) !important;
    display: block !important;
  }

  .sw-pro__char--gamer {
    width: min(150px, 34vw) !important;
    display: block !important;
  }

  .sw-pro__char--pad {
    display: none !important;
  }

  .sw-pro__hero-copy {
    text-align: center;
  }

  .sw-pro__actions {
    justify-content: center;
  }

  .sw-pro__demo-wrap,
  .sw-pro__feat-visual {
    padding: 0.25rem 0.5rem 1.5rem;
  }

  .sw-pro__float {
    display: block;
    width: clamp(64px, 16vw, 96px) !important;
  }

  .sw-pro__float--chip,
  .sw-pro__float--mon,
  .sw-pro__float--chest,
  .sw-pro__feat--flip .sw-pro__float--atom,
  .sw-pro__float--atom {
    left: auto !important;
    right: 0.15rem !important;
    top: auto !important;
    bottom: -0.65rem !important;
  }

  .sw-pro__cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sw-pro__hero {
    padding-top: 2.25rem;
    padding-bottom: 1.5rem;
  }

  .sw-pro__char--gamer {
    display: none !important;
  }

  .sw-pro__char--wiz {
    width: min(220px, 58vw) !important;
    display: block !important;
  }

  .sw-pro__float {
    width: 56px !important;
    right: 0 !important;
    bottom: -0.4rem !important;
  }

  .sw-pro__actions {
    flex-direction: column;
  }

  .sw-pro__actions .sw-page__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sw-pro__char--gamer,
  .sw-pro__char--pad,
  .sw-pro__char--ghost,
  .sw-pro__float {
    animation: none;
  }
}
