:root {
  --sw-bg: #eef3fb;
  --sw-surface: #ffffff;
  --sw-surface-soft: #f7faff;
  --sw-ink: #10203f;
  --sw-ink-soft: #607193;
  --sw-line: rgba(119, 141, 189, 0.18);
  --sw-navy: #071127;
  --sw-navy-soft: #0d1a36;
  --sw-blue: #3768ff;
  --sw-blue-strong: #244fe2;
  --sw-cyan: #80d8ff;
  --sw-green: #9bde52;
  --sw-orange: #ff9a55;
  --sw-shadow-xl: 0 34px 80px rgba(17, 38, 85, 0.14);
  --sw-shadow-lg: 0 24px 56px rgba(17, 38, 85, 0.12);
  --sw-shadow-md: 0 16px 34px rgba(17, 38, 85, 0.08);
  --sw-radius-xxl: 34px;
  --sw-radius-xl: 28px;
  --sw-radius-lg: 22px;
  --sw-radius-md: 18px;
  --sw-radius-sm: 14px;
  --sw-container: 1400px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  position: relative;
  color: var(--sw-ink);
  background:
    linear-gradient(180deg, #071127 0, #0c1731 760px, var(--sw-bg) 760px),
    var(--sw-bg);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.sw-body {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.sw-page,
.sw-footer,
.sw-announcement {
  width: min(calc(100% - 28px), var(--sw-container));
  margin-inline: auto;
}

.sw-page {
  display: grid;
  gap: 26px;
  padding-bottom: 28px;
}

.sw-hero-dashboard > *,
.sw-dashboard-head > *,
.sw-solution-preview > *,
.sw-product-preview > *,
.sw-solution-visual > *,
.sw-product-visual > *,
.sw-solution-dashboard > *,
.sw-footer-main > *,
.sw-footer-bottom > *,
.sw-footer-columns > * {
  min-width: 0;
}

.sw-announcement {
  margin-top: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(17, 30, 57, 0.72);
  border: 1px solid rgba(122, 156, 255, 0.16);
  backdrop-filter: blur(18px);
}

.sw-announcement-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sw-announcement-copy p {
  margin: 0;
  color: rgba(217, 229, 255, 0.7);
}

.sw-announcement-tag {
  min-height: 28px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(55, 104, 255, 0.14);
  border: 1px solid rgba(121, 177, 255, 0.18);
  color: #dff3ff;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sw-announcement a {
  font-weight: 700;
}

.sw-hero,
.sw-panel,
.sw-dark-panel,
.sw-final-cta {
  position: relative;
  overflow: hidden;
  overflow: clip;
}

.sw-hero {
  margin-top: 18px;
  padding: clamp(24px, 4vw, 34px);
  border-radius: calc(var(--sw-radius-xxl) + 4px);
  background:
    radial-gradient(circle at top right, rgba(70, 127, 255, 0.22), transparent 22%),
    radial-gradient(circle at bottom left, rgba(53, 198, 255, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(11, 23, 47, 0.95), rgba(7, 16, 33, 0.98));
  border: 1px solid rgba(127, 160, 255, 0.12);
  box-shadow: 0 26px 68px rgba(4, 10, 21, 0.36);
}

.sw-hero-glow {
  position: absolute;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.45;
  pointer-events: none;
}

.sw-hero-glow-left {
  left: -8%;
  bottom: -20%;
  background: radial-gradient(circle, rgba(69, 124, 255, 0.6), transparent 70%);
}

.sw-hero-glow-right {
  right: -10%;
  top: -10%;
  background: radial-gradient(circle, rgba(63, 204, 255, 0.35), transparent 68%);
}

.sw-header {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.sw-header-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex: 1 1 560px;
  position: relative;
  z-index: 31;
}

.sw-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.sw-brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #4d7cff, #244fe2);
  box-shadow: 0 12px 24px rgba(50, 93, 255, 0.28);
}

.sw-brand-mark svg {
  width: 45px;
  height: auto;
  fill: currentColor;
}

.sw-brand-copy {
  display: grid;
  gap: 2px;
}

.sw-brand-copy strong {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1;
}

.sw-brand-copy span {
  color: rgba(217, 229, 255, 0.62);
  font-size: 0.72rem;
}

.sw-nav,
.sw-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sw-nav {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(127, 160, 255, 0.14);
}

.sw-nav a,
.sw-link-button {
  color: rgba(224, 234, 255, 0.84);
  font-size: 0.95rem;
  font-weight: 600;
}

.sw-mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  border: 1px solid rgba(127, 160, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.sw-mobile-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.sw-header.is-menu-open .sw-mobile-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.sw-header.is-menu-open .sw-mobile-toggle span:nth-child(2) {
  opacity: 0;
}

.sw-header.is-menu-open .sw-mobile-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.sw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.sw-button:hover,
.sw-tab:hover,
.sw-product-tab:hover {
  transform: translateY(-2px);
}

.sw-button-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--sw-blue), var(--sw-blue-strong));
  box-shadow: 0 14px 28px rgba(52, 92, 255, 0.24);
}

.sw-button-secondary {
  color: rgba(232, 239, 255, 0.92);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(127, 160, 255, 0.14);
}

body.auth-modal-open {
  overflow: hidden;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 24, 0.68);
  backdrop-filter: blur(16px);
}

.auth-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(calc(100vh - 32px), 760px);
  padding: 32px;
  display: grid;
  gap: 22px;
  overflow-y: auto;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(247, 250, 255, 0.98), rgba(255, 255, 255, 1));
  border: 1px solid rgba(123, 146, 194, 0.18);
  box-shadow: 0 34px 80px rgba(7, 16, 33, 0.26);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.24s ease;
}

.auth-modal.is-open .auth-modal-panel {
  transform: translateY(0) scale(1);
}

.auth-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(119, 141, 189, 0.2);
  border-radius: 14px;
  background: rgba(242, 246, 255, 0.88);
  color: var(--sw-ink);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.auth-modal-close:hover {
  transform: translateY(-1px);
  background: rgba(231, 239, 255, 0.98);
  border-color: rgba(55, 104, 255, 0.22);
}

.auth-modal-close span {
  font-size: 1.7rem;
  line-height: 1;
}

.auth-modal-heading {
  display: grid;
  gap: 10px;
  padding-right: 44px;
}

.auth-modal-heading h2 {
  margin: 0;
  color: var(--sw-ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 2.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.auth-card-lead {
  margin: 0;
  color: var(--sw-ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}

.auth-modal-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border-radius: 20px;
  background: #f3f7ff;
  border: 1px solid rgba(119, 141, 189, 0.16);
}

.auth-modal-tab {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--sw-ink-soft);
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.auth-modal-tab:hover {
  transform: translateY(-1px);
  color: var(--sw-ink);
}

.auth-modal-tab-active {
  color: var(--sw-blue);
  background: #fff;
  border-color: rgba(55, 104, 255, 0.16);
  box-shadow: 0 10px 24px rgba(55, 104, 255, 0.12);
}

.auth-modal-panel .form-stack {
  display: grid;
  gap: 14px;
}

.auth-modal-field[hidden] {
  display: none;
}

.auth-modal-consents[hidden] {
  display: none;
}

.auth-modal[data-auth-mode="login"] [data-auth-confirm-field="true"],
.auth-modal[data-auth-mode="login"] [data-auth-consents="true"] {
  display: none !important;
}

.auth-modal-panel .field {
  display: grid;
  gap: 8px;
}

.auth-modal-panel .field span {
  color: var(--sw-ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.auth-modal-panel .input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(119, 141, 189, 0.22);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.98);
  color: var(--sw-ink);
  font: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.auth-modal-panel .input::placeholder {
  color: rgba(96, 113, 147, 0.88);
}

.auth-modal-panel .input:focus {
  border-color: rgba(55, 104, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(55, 104, 255, 0.12);
}

.auth-modal-consents {
  display: grid;
  gap: 10px;
  padding: 2px 0 0;
}

.auth-form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.auth-consent-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
  color: var(--sw-ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.auth-consent-option input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--sw-blue);
}

.auth-consent-option a {
  color: var(--sw-blue);
  text-decoration: none;
}

.auth-consent-option a:hover {
  text-decoration: underline;
}

.auth-modal-field.has-error .input,
.auth-consent-option.has-error {
  border-color: rgba(248, 80, 164, 0.4);
  box-shadow: 0 0 0 4px rgba(248, 80, 164, 0.1);
}

.auth-field-error {
  display: block;
  grid-column: 1 / -1;
  color: #b4235c;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.auth-modal-actions {
  padding-top: 4px;
}

.auth-modal-secondary {
  display: flex;
  justify-content: center;
  margin-top: -4px;
}

.auth-modal-secondary[hidden] {
  display: none;
}

.auth-modal-link-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #4f6f9f;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-modal-link-button:hover {
  color: #1f4f8f;
}

.auth-modal-panel .button {
  width: 100%;
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.auth-modal-panel .button:hover {
  transform: translateY(-1px);
}

.auth-modal-panel .button-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--sw-blue), var(--sw-blue-strong));
  box-shadow: 0 16px 34px rgba(52, 92, 255, 0.24);
}

.sw-hero-center {
  position: relative;
  z-index: 2;
  max-width: 940px;
  margin: clamp(40px, 7vw, 82px) auto 0;
  text-align: center;
}

.sw-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(127, 160, 255, 0.14);
  color: rgba(222, 233, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sw-kicker-blue {
  background: rgba(55, 104, 255, 0.08);
  border-color: rgba(55, 104, 255, 0.1);
  color: #355eef;
}

.sw-kicker-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(225, 234, 255, 0.86);
}

.sw-hero-center h1,
.sw-section-head h2,
.sw-final-copy h2,
.sw-product-copy h3,
.sw-solution-copy h3,
.sw-ai-copy h3 {
  margin: 18px 0 16px;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.sw-hero-center h1 {
  color: #fff;
  font-size: clamp(3rem, 8vw, 6.2rem);
  max-width: 13ch;
  margin-inline: auto;
}

.sw-hero-center p,
.sw-section-head p,
.sw-final-copy p,
.sw-product-copy p,
.sw-solution-copy p,
.sw-ai-copy p,
.sw-story-card p,
.sw-service-card p,
.sw-proof-card p,
.sw-footer-brand p,
.sw-ring-card p {
  margin: 0;
  line-height: 1.72;
  font-size: 1.04rem;
}

.sw-hero-center p {
  max-width: 62ch;
  margin-inline: auto;
  color: rgba(220, 232, 255, 0.7);
}

.sw-search-card {
  max-width: 860px;
  margin: 28px auto 0;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(127, 160, 255, 0.14);
  backdrop-filter: blur(18px);
}

.sw-search-switch {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(6, 18, 38, 0.5);
  border: 1px solid rgba(127, 160, 255, 0.12);
}

.sw-search-tab {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: rgba(220, 232, 255, 0.72);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.sw-search-tab.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.sw-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.sw-search-row.is-action-only {
  grid-template-columns: 1fr;
}

.sw-search-row.is-action-only .sw-button {
  justify-self: start;
  min-width: 100%;
}

.sw-search-row .sw-button {
  min-height: 56px;
  align-self: center;
}

.sw-search-input {
  min-height: 72px;
  padding: 14px 18px;
  display: grid;
  gap: 10px;
  border-radius: 20px;
  background: rgba(6, 18, 38, 0.5);
  border: 1px solid rgba(127, 160, 255, 0.12);
}

.sw-search-input.is-hidden {
  display: none;
}

.sw-search-label {
  color: rgba(220, 232, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sw-search-field {
  min-height: 52px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(127, 160, 255, 0.12);
}

.sw-search-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: rgba(220, 232, 255, 0.74);
}

.sw-search-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.sw-search-field-input {
  width: 100%;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1rem;
  font-weight: 700;
}

.sw-search-field-input::placeholder {
  color: rgba(220, 232, 255, 0.42);
}

.sw-search-domain {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.sw-search-input small {
  color: rgba(220, 232, 255, 0.52);
  font-size: 0.9rem;
}

.sw-hero-dashboard {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  margin: 34px auto 0;
  padding: 18px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 255, 0.92));
  box-shadow: var(--sw-shadow-xl);
}

.sw-float-card {
  position: absolute;
  top: 18%;
  width: 132px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(18, 35, 74, 0.16);
}

.sw-float-left {
  left: -58px;
}

.sw-float-right {
  right: -58px;
}

.sw-float-card span,
.sw-mini-kpi span,
.sw-preview-metric span,
.sw-metric-tile span,
.sw-story-meta span,
.sw-proof-card span {
  display: block;
  color: var(--sw-ink-soft);
  font-size: 0.85rem;
}

.sw-float-card strong,
.sw-mini-kpi strong,
.sw-metric-tile strong,
.sw-story-metric,
.sw-proof-card strong {
  display: block;
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.sw-float-card em {
  display: inline-flex;
  margin-top: 8px;
  color: #1ca368;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
}

.sw-dashboard-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: start;
}

.sw-dashboard-title strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
}

.sw-dashboard-title span {
  display: block;
  margin-top: 8px;
  color: var(--sw-ink-soft);
}

.sw-mini-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sw-mini-kpi,
.sw-surface-card,
.sw-preview-metric,
.sw-service-card,
.sw-proof-card,
.sw-story-card,
.sw-capability-card,
.sw-metric-tile {
  border-radius: var(--sw-radius-lg);
  border: 1px solid rgba(118, 141, 189, 0.14);
  box-shadow: var(--sw-shadow-md);
}

.sw-mini-kpi {
  padding: 16px;
  background: rgba(245, 249, 255, 0.92);
}

.sw-dashboard-grid {
  display: grid;
  grid-template-columns: 1.42fr 0.9fr 0.9fr;
  gap: 14px;
  margin-top: 16px;
}

.sw-surface-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.sw-surface-card-large {
  grid-column: span 1;
}

.sw-toplist-chart {
  display: grid;
  gap: 12px;
}

.sw-toplist-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.6fr) auto;
  gap: 12px;
  align-items: center;
}

.sw-toplist-meta small {
  display: block;
  color: rgba(96, 113, 147, 0.72);
  font-size: 0.72rem;
  line-height: 1.2;
}

.sw-toplist-meta strong {
  display: block;
  margin-top: 4px;
  color: var(--sw-ink);
  font-size: 0.94rem;
  line-height: 1.2;
}

.sw-toplist-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(114, 210, 170, 0.14);
  overflow: hidden;
}

.sw-toplist-fill {
  display: block;
  width: var(--fill);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #20c15a, #29d35e);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.sw-toplist-row.is-negative .sw-toplist-track {
  background:rgb(248 235 244);
}

.sw-toplist-row.is-negative .sw-toplist-fill {
  margin-left: auto;
  background: linear-gradient(270deg, #f850a4, #ff82bf);
  transform-origin: right;
}

.sw-toplist-row:nth-child(2) .sw-toplist-fill { transition-delay: 60ms; }
.sw-toplist-row:nth-child(3) .sw-toplist-fill { transition-delay: 120ms; }
.sw-toplist-row:nth-child(4) .sw-toplist-fill { transition-delay: 180ms; }
.sw-toplist-row:nth-child(5) .sw-toplist-fill { transition-delay: 240ms; }
.sw-toplist-row:nth-child(6) .sw-toplist-fill { transition-delay: 300ms; }
.sw-toplist-row:nth-child(7) .sw-toplist-fill { transition-delay: 360ms; }
.sw-toplist-row:nth-child(8) .sw-toplist-fill { transition-delay: 420ms; }

.sw-animate-chart.is-visible .sw-toplist-fill {
  transform: scaleX(1);
}

.sw-toplist-value {
  color: var(--sw-ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.sw-toplist-row.is-negative .sw-toplist-value {
  color: #f850a4;
}

.sw-socdem-legend {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.sw-socdem-key {
  position: relative;
  padding-left: 16px;
  color: rgba(96, 113, 147, 0.9);
  font-size: 0.8rem;
  font-weight: 700;
}

.sw-socdem-key::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 4px;
}

.sw-socdem-key-male::before {
  background: #3f6cff;
}

.sw-socdem-key-female::before {
  background: #f850a4;
}

.sw-socdem-shell {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
}

.sw-socdem-axis {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  height: 192px;
  align-items: center;
  color: rgba(96, 113, 147, 0.72);
  font-size: 0.72rem;
}

.sw-socdem-axis span:last-child {
  align-self: end;
}

.sw-socdem-plot {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--sw-socdem-columns, 5), minmax(0, 1fr));
  gap: 4px;
  align-items: end;
  min-height: 192px;
  padding: 10px 0 0;
  background:
    repeating-linear-gradient(
      to top,
      rgba(119, 141, 189, 0.14) 0,
      rgba(119, 141, 189, 0.14) 1px,
      transparent 1px,
      transparent 48px
    );
  border-bottom: 1px solid rgba(119, 141, 189, 0.16);
}

.sw-socdem-highlight {
  position: absolute;
  left: 23%;
  width: 12%;
  top: 0;
  bottom: 16px;
  border-radius: 16px;
  background: rgba(55, 104, 255, 0.06);
}

.sw-socdem-group {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  align-items: end;
}

.sw-socdem-bars {
  height: 160px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
}

.sw-socdem-bar {
  width: 6px;
  height: var(--bar-height);
  border-radius: 999px 999px 10px 10px;
  transform-origin: bottom;
  transform: scaleY(0.04);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.sw-socdem-bar-male {
  background: linear-gradient(180deg, #5f8eff, #3f6cff);
}

.sw-socdem-bar-female {
  background: linear-gradient(180deg, #ff78b8, #f850a4);
}

.sw-animate-chart.is-visible .sw-socdem-bar {
  transform: scaleY(1);
}

.sw-socdem-label {
  display: block;
  color: rgba(96, 113, 147, 0.9);
  font-size: 0.6rem;
  text-align: center;
  line-height: 1.1;
}

.sw-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.sw-card-head span:first-child {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(16, 32, 63, 0.78);
}

.sw-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(28, 45, 82, 0.72);
  background: rgba(55, 104, 255, 0.08);
}

.sw-chip-blue {
  color: #315ae3;
}

.sw-chip-green {
  color: #648711;
  background: rgba(155, 222, 82, 0.18);
}

.sw-bars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
  align-items: end;
  gap: 10px;
  min-height: 156px;
  padding-top: 10px;
}

.sw-bars::before {
  content: "";
  position: absolute;
  inset: 0 0 6px;
  border-radius: 16px;
  background:
    linear-gradient(to top, rgba(55, 104, 255, 0.08), transparent 72%),
    repeating-linear-gradient(
      to top,
      rgba(119, 141, 189, 0.14) 0,
      rgba(119, 141, 189, 0.14) 1px,
      transparent 1px,
      transparent 26px
    );
}

.sw-bar {
  position: relative;
  z-index: 1;
  height: var(--bar-height);
  min-height: 18px;
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, #8ad8ff, #4f76ff);
  box-shadow: 0 10px 20px rgba(78, 118, 255, 0.18);
  transform-origin: bottom;
  transform: scaleY(0.04);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.sw-bar:nth-child(2n) {
  background: linear-gradient(180deg, #ffc284, #ff9855);
}

.sw-animate-chart.is-visible .sw-bar {
  transform: scaleY(1);
}

.sw-ring-card p {
  margin-top: 16px;
  color: var(--sw-ink-soft);
}

.sw-ring {
  position: relative;
  width: 126px;
  margin: 12px auto 0;
  aspect-ratio: 1;
}

.sw-ring-half {
  width: min(100%, 220px);
  height: 118px;
  margin: 0;
  aspect-ratio: auto;
  overflow: hidden;
}

.sw-ring-track {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 52%, transparent 53%),
    conic-gradient(#79cfff calc(var(--sw-ring-progress, 0) * 1turn), rgba(55, 104, 255, 0.08) 0);
}

.sw-ring-track-geo {
  background:
    radial-gradient(circle at center, #fff 52%, transparent 53%),
    conic-gradient(
      #4f76ff 0 var(--ring-moscow-end),
      #79d3ff var(--ring-moscow-end) var(--ring-spb-end),
      rgba(55, 104, 255, 0.12) var(--ring-spb-end) 100%
    );
}

.sw-ring-half .sw-ring-track {
  width: 220px;
  height: 220px;
  left: 50%;
  inset: 0 auto auto 50%;
  transform: translateX(-50%);
}

.sw-ring-track-geo-half {
  background:
    radial-gradient(circle at center, #fff 52%, transparent 53%),
    conic-gradient(
      from 270deg,
      #4f76ff 0 var(--ring-moscow-half),
      #79d3ff var(--ring-moscow-half) var(--ring-spb-half),
      rgba(55, 104, 255, 0.12) var(--ring-spb-half) 50%,
      transparent 50% 100%
    );
}

.sw-ring-value {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.sw-ring-half .sw-ring-value {
  inset: auto 0 8px 0;
  align-items: end;
  height: auto;
  font-size: 1.9rem;
}

.sw-geo-split {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 18px;
  align-items: center;
}

.sw-geo-legend {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.sw-ai-visual-geo .sw-geo-legend {
  margin-top: 0;
}

@media (max-width: 760px) {
  .sw-geo-split {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .sw-ai-visual-geo .sw-geo-legend {
    width: 100%;
    margin-top: 8px;
  }
}

.sw-geo-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  color: var(--sw-ink-soft);
  font-size: 0.9rem;
}

.sw-geo-row strong {
  color: var(--sw-ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
}

.sw-geo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.sw-geo-dot-moscow {
  background: #4f76ff;
}

.sw-geo-dot-spb {
  background: #79d3ff;
}

.sw-geo-dot-rest {
  background: rgba(55, 104, 255, 0.22);
}

.sw-channel-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.sw-channel-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 12px;
  align-items: center;
}

.sw-channel-row span,
.sw-channel-row strong {
  font-size: 0.9rem;
}

.sw-progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(55, 104, 255, 0.08);
  overflow: hidden;
}

.sw-progress span {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4f7fff, #79d3ff);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.sw-reveal.is-visible .sw-progress span,
.sw-hero-dashboard.is-visible .sw-progress span {
  transform: scaleX(1);
}

.sw-logo-cloud {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(127, 160, 255, 0.12);
}

.sw-logo-cloud > span {
  color: rgba(220, 232, 255, 0.6);
  font-size: 0.9rem;
}

.sw-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.34);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
}

.sw-panel,
.sw-final-cta {
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.94);
  border-radius: calc(var(--sw-radius-xxl) + 2px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--sw-shadow-lg);
}

.sw-dark-panel,
.sw-final-cta {
  padding: clamp(24px, 4vw, 34px);
  border-radius: calc(var(--sw-radius-xxl) + 2px);
}

.sw-dark-panel {
  background:
    radial-gradient(circle at top right, rgba(73, 122, 255, 0.18), transparent 22%),
    linear-gradient(180deg, #0c1730, #081120);
  border: 1px solid rgba(127, 160, 255, 0.12);
  box-shadow: 0 26px 60px rgba(5, 10, 20, 0.28);
}

.sw-section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.sw-section-head-centered {
  margin-inline: auto;
  text-align: center;
}

.sw-section-head-dark h2,
.sw-section-head-dark p {
  color: #fff;
}

.sw-section-head h2,
.sw-final-copy h2 {
  font-size: clamp(2.15rem, 5vw, 4rem);
}

.sw-section-head p,
.sw-product-copy p,
.sw-solution-copy p,
.sw-ai-copy p,
.sw-story-card p,
.sw-service-card p,
.sw-proof-card p,
.sw-footer-brand p {
  color: var(--sw-ink-soft);
}

.sw-section-head-dark p {
  color: rgba(223, 233, 255, 0.7);
}

.sw-ai-track {
  display: grid;
  gap: 18px;
}

.sw-ai-showcase {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 18px;
  padding: 18px;
  border-radius: var(--sw-radius-xl);
  background: linear-gradient(180deg, rgba(250, 252, 255, 1), rgba(244, 248, 255, 0.96));
  border: 1px solid rgba(118, 141, 189, 0.12);
  box-shadow: var(--sw-shadow-md);
}

.sw-ai-copy {
  align-self: center;
}

.sw-ai-copy h3,
.sw-product-copy h3,
.sw-solution-copy h3 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.sw-ai-copy a,
.sw-link-text {
  display: inline-flex;
  margin-top: 18px;
  color: #315ae3;
  font-weight: 700;
}

.sw-ai-visual,
.sw-solution-visual,
.sw-product-visual {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(118, 141, 189, 0.12);
}

.sw-ai-visual-grid,
.sw-preview-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sw-metric-tile,
.sw-preview-metric {
  padding: 18px;
  background: rgba(248, 251, 255, 0.96);
}

.sw-solutions-layout,
.sw-products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
}

.sw-mobile-gallery-wrap {
  display: none;
}

.sw-mobile-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--sw-ink-soft);
}

.sw-mobile-gallery-head span {
  font-weight: 700;
}

.sw-mobile-gallery-head small {
  font-size: 0.9rem;
}

.sw-mobile-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 78vw);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(79, 127, 255, 0.32) transparent;
}

.sw-mobile-gallery::-webkit-scrollbar {
  height: 8px;
}

.sw-mobile-gallery::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(79, 127, 255, 0.28);
}

.sw-gallery-card {
  scroll-snap-align: start;
  display: grid;
  gap: 18px;
  min-height: 100%;
  padding: 20px;
  border-radius: var(--sw-radius-xl);
  background:
    radial-gradient(circle at top right, rgba(79, 128, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(250, 252, 255, 1), rgba(243, 247, 255, 0.96));
  border: 1px solid rgba(118, 141, 189, 0.12);
  box-shadow: var(--sw-shadow-md);
}

.sw-gallery-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.sw-gallery-card p {
  margin: 0;
  color: var(--sw-ink-soft);
  line-height: 1.68;
}

.sw-gallery-card .sw-preview-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sw-gallery-card .sw-preview-metric {
  padding: 14px;
}

.sw-gallery-card .sw-preview-metric strong {
  font-size: 1.55rem;
}

.sw-gallery-card .sw-capability-grid {
  margin-top: 0;
}

.sw-gallery-card .sw-point-list {
  margin-top: 0;
}

.sw-gallery-card .sw-bars {
  min-height: 120px;
}

.sw-tabs {
  display: grid;
  gap: 10px;
  align-content: start;
}

.sw-tab,
.sw-product-tab {
  min-height: 56px;
  padding: 0 18px;
  text-align: left;
  color: var(--sw-ink);
  background: rgba(242, 247, 255, 0.88);
  border: 1px solid rgba(118, 141, 189, 0.14);
  border-radius: 18px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

.sw-tab.is-active,
.sw-product-tab.is-active {
  color: #fff;
  background: linear-gradient(145deg, #355eef, #1d40ca);
  box-shadow: 0 16px 30px rgba(53, 94, 239, 0.22);
}

.sw-solution-preview,
.sw-product-preview {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 18px;
  padding: 20px;
  border-radius: var(--sw-radius-xl);
  background:
    radial-gradient(circle at top right, rgba(79, 128, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(250, 252, 255, 1), rgba(243, 247, 255, 0.96));
  border: 1px solid rgba(118, 141, 189, 0.12);
  box-shadow: var(--sw-shadow-md);
}

.sw-solution-visual {
  display: grid;
  gap: 16px;
}

.sw-solution-dashboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.sw-solution-dashboard .sw-surface-card,
.sw-solution-dashboard .sw-surface-card-large {
  height: 100%;
}

.sw-solution-dashboard .sw-card-head {
  margin-bottom: 12px;
}

.sw-solution-dashboard .sw-ring {
  margin: 0 auto;
}

.sw-solution-dashboard.is-compact,
.sw-gallery-card .sw-solution-dashboard {
  grid-template-columns: 1fr;
}

.sw-solution-dashboard .sw-geo-split {
  grid-template-columns: minmax(150px, 190px) 1fr;
  gap: 22px;
}

.sw-solution-dashboard .sw-geo-legend {
  margin-top: 0;
}

.sw-point-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.sw-point-list li {
  position: relative;
  padding-left: 26px;
  color: var(--sw-ink-soft);
  line-height: 1.72;
}

.sw-point-list li + li {
  margin-top: 10px;
}

.sw-point-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 26%, transparent 27%),
    linear-gradient(145deg, #83d9ff, #4f7fff);
  box-shadow: 0 6px 12px rgba(79, 127, 255, 0.18);
}

.sw-solution-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.sw-solution-chart,
.sw-product-chart,
.sw-line-chart {
  min-height: 190px;
}

.sw-bars-wide {
  min-height: 126px;
  margin-top: 16px;
}

.sw-bar-column {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  justify-items: center;
  gap: 8px;
  min-height: 100%;
}

.sw-bar-label {
  display: none;
  color: rgba(107, 127, 172, 0.82);
  font-size: 0.68rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.sw-bars.has-labels {
  grid-template-columns: repeat(var(--bar-count, 8), minmax(0, 1fr));
  align-items: stretch;
  min-height: 140px;
  height: 140px;
  padding-bottom: 4px;
}

.sw-bars.has-labels::before {
  inset: 0 0 22px;
}

.sw-bars.has-labels .sw-bar-column {
  align-self: stretch;
  height: 100%;
}

.sw-bars.has-labels .sw-bar {
  width: 20px;
  min-height: 0;
  border-radius: 10px 10px 5px 5px;
}

.sw-bars.has-labels .sw-bar-column:nth-child(2n) .sw-bar {
  background: linear-gradient(180deg, #ffc284, #ff9855);
}

.sw-bars.has-labels .sw-bar-label {
  display: block;
}

.sw-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.sw-capability-card {
  padding: 16px;
  background: rgba(247, 250, 255, 0.96);
  color: var(--sw-ink);
  font-weight: 700;
}

.sw-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sw-story-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(127, 160, 255, 0.12);
}

.sw-story-metric {
  color: #9bde52;
}

.sw-story-card p,
.sw-story-meta span {
  color: rgba(223, 233, 255, 0.72);
}

.sw-story-meta {
  display: grid;
  gap: 2px;
  margin-top: 18px;
}

.sw-story-meta strong {
  color: #fff;
}

.sw-service-grid,
.sw-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sw-proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sw-service-card,
.sw-proof-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(250, 252, 255, 1), rgba(243, 247, 255, 0.96));
}

.sw-service-card h3,
.sw-proof-card strong {
  margin: 14px 0 12px;
  font-family: "Space Grotesk", sans-serif;
}

.sw-service-card h3 {
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.sw-service-tag {
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #315ae3;
  background: rgba(55, 104, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
}

.sw-proof-card strong {
  font-size: 2.4rem;
  line-height: 1;
}

.sw-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(73, 122, 255, 0.18), transparent 22%),
    linear-gradient(180deg, #0c1730, #081120);
  border: 1px solid rgba(127, 160, 255, 0.12);
  box-shadow: 0 26px 60px rgba(5, 10, 20, 0.28);
}

.sw-final-copy h2,
.sw-final-copy p {
  color: #fff;
}

.sw-final-copy p {
  color: rgba(223, 233, 255, 0.72);
  max-width: 60ch;
}

.sw-final-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sw-footer {
  width: min(calc(100% - 28px), var(--sw-container));
  max-width: var(--sw-container);
  margin: 6px auto 26px;
  padding: 24px;
  box-sizing: border-box;
  overflow: clip;
  color: rgba(223, 233, 255, 0.74);
  background:
    radial-gradient(circle at top right, rgba(73, 122, 255, 0.14), transparent 18%),
    linear-gradient(180deg, #0d1831, #081121);
  border: 1px solid rgba(127, 160, 255, 0.12);
  border-radius: 26px;
  box-shadow: 0 22px 48px rgba(5, 10, 20, 0.24);
}

.sw-footer,
.sw-footer * {
  max-width: 100%;
}

.sw-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 24px;
  min-width: 0;
}

.sw-footer-brand,
.sw-footer-nav,
.sw-footer-group,
.sw-footer-bottom,
.sw-footer-bottom > *,
.sw-footer .sw-brand,
.sw-footer .sw-brand-copy {
  min-width: 0;
}

.sw-footer-brand {
  display: grid;
  align-content: start;
  gap: 14px;
}

.sw-footer .sw-brand {
  width: fit-content;
}

.sw-footer-brand p {
  max-width: 34rem;
  margin: 0;
  overflow-wrap: anywhere;
}

.sw-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 3vw, 28px);
  width: 100%;
}

.sw-footer-group {
  display: grid;
  align-content: start;
  gap: 10px;
}

.sw-footer-group h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}

.sw-footer-group a {
  display: inline-block;
  color: rgba(223, 233, 255, 0.72);
  overflow-wrap: anywhere;
}

.sw-footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(127, 160, 255, 0.12);
  font-size: 0.92rem;
}

.sw-line-chart {
  position: relative;
}

.sw-line-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sw-grid-line {
  stroke: rgba(119, 141, 189, 0.18);
  stroke-width: 1;
}

.sw-axis-label {
  fill: rgba(107, 127, 172, 0.76);
  font-size: 10px;
  font-family: "DM Sans", sans-serif;
}

.sw-chart-area {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.85s ease 0.2s,
    transform 0.85s ease 0.2s;
}

.sw-animate-chart.is-visible .sw-chart-area {
  opacity: 1;
  transform: translateY(0);
}

.sw-chart-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.sw-chart-line.hero {
  stroke: #5f8eff;
}

.sw-chart-line.panel {
  stroke: #4e79ff;
}

.sw-chart-dot {
  fill: #fff;
  stroke-width: 4;
}

.sw-chart-dot.hero {
  stroke: #5f8eff;
}

.sw-chart-dot.panel {
  stroke: #4e79ff;
}

.sw-chart-callout rect {
  fill: #fff;
  stroke: rgba(118, 141, 189, 0.14);
  stroke-width: 1;
}

.sw-chart-callout text {
  fill: var(--sw-ink);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.sw-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.sw-reveal.is-visible,
.sw-hero-dashboard.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.sw-ai-visual .sw-socdem-bar {
    width: 36px;
  }

@media (max-width: 1180px) {

  .sw-socdem-bar {
    width: 36px;
  }

  .sw-hero-dashboard {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
  }

  .sw-float-left,
  .sw-float-right {
    display: none;
  }

  .sw-ai-showcase,
  .sw-solution-preview,
  .sw-product-preview,
  .sw-solutions-layout,
  .sw-products-layout,
  .sw-final-cta {
    grid-template-columns: 1fr;
  }

  .sw-dashboard-head {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 16px;
    height: 100%;
    padding: 18px;
    border-radius: var(--sw-radius-lg);
    border: 1px solid rgba(118, 141, 189, 0.14);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--sw-shadow-md);
  }

  .sw-dashboard-grid {
    display: contents;
    margin-top: 0;
  }

  .sw-mini-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sw-mini-kpi {
    padding: 14px;
  }

  .sw-dashboard-title strong {
    font-size: 1.24rem;
  }

  .sw-dashboard-head > *,
  .sw-surface-card {
    min-height: 100%;
  }

  .sw-surface-card-large {
    grid-column: auto;
  }

  .sw-final-cta {
    display: grid;
  }

  .sw-proof-grid,
  .sw-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sw-products-layout {
    gap: 14px;
  }

  .sw-solution-visual,
  .sw-product-visual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
  }

  .sw-product-preview {
    gap: 14px;
    padding: 18px;
  }

  .sw-product-copy h3 {
    font-size: clamp(1.85rem, 3vw, 2.35rem);
  }

  .sw-product-visual {
    padding: 14px;
    border-radius: 20px;
    border-color: rgba(118, 141, 189, 0.08);
    width: 100%;
    margin: 0;
  }

  .sw-solution-visual .sw-preview-metrics,
  .sw-product-visual .sw-preview-metrics {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sw-solution-visual #solution-visuals {
    grid-column: 1 / -1;
  }

  .sw-solution-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .sw-solution-dashboard .sw-toplist-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) auto;
    gap: 8px;
  }

  .sw-solution-dashboard .sw-toplist-meta strong {
    font-size: 0.82rem;
  }

  .sw-solution-dashboard .sw-toplist-value {
    font-size: 0.86rem;
  }

  .sw-solution-dashboard .sw-geo-split {
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: center;
  }

  .sw-solution-dashboard .sw-geo-legend {
    width: 100%;
    margin-top: 0;
  }

  .sw-product-visual .sw-preview-metric,
  .sw-product-preview .sw-capability-card {
    padding: 14px;
    border-color: rgba(118, 141, 189, 0.08);
    box-shadow: 0 10px 22px rgba(18, 35, 74, 0.06);
  }

  .sw-product-visual .sw-preview-metric span {
    font-size: 0.78rem;
  }

  .sw-product-visual .sw-preview-metric strong {
    display: block;
    margin-top: 6px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .sw-product-preview .sw-capability-grid {
    gap: 10px;
    margin-top: 18px;
  }

  .sw-product-preview .sw-capability-card {
    font-size: 0.95rem;
  }

  .sw-product-preview .sw-product-chart,
  .sw-product-preview .sw-line-chart {
    grid-column: auto;
    height: 148px;
    min-height: 148px;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .sw-product-preview .sw-line-chart svg {
    height: 100%;
  }

  .sw-product-preview .sw-bars-wide {
    grid-column: auto;
    grid-template-columns: repeat(var(--bar-count, 8), minmax(0, 1fr));
    justify-content: stretch;
    min-height: 148px;
    max-width: none;
    width: 100%;
    margin: 0;
    padding-top: 6px;
    padding-bottom: 0;
  }

  .sw-product-preview .sw-bars {
    gap: 0;
  }

  .sw-product-preview .sw-bar-column {
    width: 100%;
  }

  .sw-product-preview .sw-bar {
    width: 26px;
    min-height: 0;
    border-radius: 12px 12px 6px 6px;
    box-shadow: 0 8px 16px rgba(78, 118, 255, 0.14);
  }

  .sw-product-preview .sw-bars.has-labels::before {
    inset: 0 0 20px;
  }

  .sw-product-preview .sw-bar-label {
    display: block;
    font-size: 0.72rem;
  }

  .sw-product-preview .sw-chart-line {
    stroke-width: 2.5;
    vector-effect: non-scaling-stroke;
  }

  .sw-product-preview .sw-chart-dot {
    stroke-width: 2.5;
    vector-effect: non-scaling-stroke;
  }

  .sw-product-preview .sw-grid-line,
  .sw-product-preview .sw-chart-callout rect {
    vector-effect: non-scaling-stroke;
  }

  .sw-product-preview .sw-chart-callout text {
    font-size: 0.9rem;
  }

  .sw-product-preview .sw-axis-label {
    font-size: 10px;
  }
}

@media (max-width: 375px) {
  .sw-hero-dashboard .sw-socdem-bar {
        width: 5px;
    }
}

@media (max-width: 1070px) {
  .sw-hero-dashboard {
    gap: 12px;
    padding: 16px;
  }

  .sw-dashboard-head,
  .sw-surface-card {
    padding: 16px;
  }

  .sw-mini-kpis {
    gap: 8px;
  }

  .sw-mini-kpi {
    padding: 12px;
  }

  .sw-mini-kpi strong {
    font-size: 1.45rem;
  }

  .sw-hero-dashboard .sw-card-head {
    margin-bottom: 10px;
  }

  .sw-hero-dashboard .sw-card-head span:first-child {
    font-size: 0.86rem;
  }

  .sw-hero-dashboard .sw-chip {
    min-height: 24px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .sw-hero-dashboard .sw-toplist-chart {
    gap: 10px;
  }

  .sw-hero-dashboard .sw-toplist-row {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr) auto;
    gap: 8px;
  }

  .sw-hero-dashboard .sw-toplist-meta small {
    font-size: 0.66rem;
  }

  .sw-hero-dashboard .sw-toplist-meta strong {
    font-size: 0.82rem;
  }

  .sw-hero-dashboard .sw-toplist-value {
    font-size: 0.86rem;
  }

  .sw-hero-dashboard .sw-socdem-legend {
    gap: 10px;
    margin-bottom: 8px;
  }

  .sw-hero-dashboard .sw-socdem-key {
    font-size: 0.72rem;
  }

  .sw-hero-dashboard .sw-socdem-shell {
    grid-template-columns: 24px 1fr;
    gap: 6px;
  }

  .sw-hero-dashboard .sw-socdem-axis {
    font-size: 0.66rem;
  }

  .sw-hero-dashboard .sw-socdem-plot {
    gap: 2px;
    min-height: 176px;
  }

  .sw-hero-dashboard .sw-socdem-bars {
    gap: 2px;
    height: 146px;
  }

  .sw-hero-dashboard .sw-socdem-bar {
    width: 20px;
  }

  .sw-hero-dashboard .sw-socdem-label {
    font-size: 0.56rem;
  }

  .sw-hero-dashboard .sw-ring {
    width: 110px;
  }

  .sw-hero-dashboard .sw-ring-value {
    font-size: 1.45rem;
  }

  .sw-hero-dashboard .sw-geo-legend {
    gap: 8px;
    margin-top: 12px;
  }

  .sw-hero-dashboard .sw-geo-row {
    gap: 8px;
    font-size: 0.82rem;
  }

  .sw-hero-dashboard .sw-geo-row strong {
    font-size: 0.86rem;
  }
}

@media (max-width: 1024px) {
  html,
  body,
  .sw-body {
    overflow-x: hidden;
  }

  body.sw-menu-open {
    overflow: hidden;
  }

  .sw-header {
    align-items: center;
  }

  .sw-mobile-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .sw-header-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    z-index: 40;
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(8, 18, 39, 0.96);
    border: 1px solid rgba(127, 160, 255, 0.16);
    box-shadow: 0 20px 48px rgba(2, 7, 18, 0.36);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0.3s ease;
  }

  .sw-header.is-menu-open .sw-header-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .sw-nav,
  .sw-header-actions {
    width: 100%;
  }

  .sw-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .sw-nav a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
  }

  .sw-header-actions {
    display: grid;
    gap: 10px;
  }

  .sw-header-actions > * {
    width: 100%;
  }

  .sw-link-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(127, 160, 255, 0.14);
  }

  .sw-search-card {
    max-width: 700px;
  }

  .sw-search-switch {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    width: 100%;
    overflow: visible;
    gap: 8px;
  }

  .sw-search-switch::-webkit-scrollbar {
    display: none;
  }

  .sw-search-row {
    grid-template-columns: 1fr;
  }

  .sw-search-row .sw-button {
    width: 100%;
  }

  .sw-solutions-layout,
  .sw-products-layout {
    display: grid;
    gap: 14px;
  }

  .sw-mobile-gallery-wrap {
    display: none;
  }

  .sw-solutions-layout > .sw-tabs,
  .sw-products-layout > .sw-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    overflow: visible;
    padding-bottom: 0;
  }

  .sw-solutions-layout > .sw-tabs::-webkit-scrollbar,
  .sw-products-layout > .sw-tabs::-webkit-scrollbar {
    display: none;
  }

  .sw-solutions-layout > .sw-tabs .sw-tab,
  .sw-products-layout > .sw-tabs .sw-product-tab {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
  }
}

@media (max-width: 900px) {
  html,
  body,
  .sw-body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .sw-page,
  .sw-footer,
  .sw-announcement {
    width: min(calc(100% - 18px), var(--sw-container));
    max-width: calc(100% - 18px);
  }

  .sw-page,
  .sw-page > *,
  .sw-hero,
  .sw-panel,
  .sw-dark-panel,
  .sw-final-cta,
  .sw-search-card,
  .sw-hero-dashboard,
  .sw-ai-showcase,
  .sw-solution-preview,
  .sw-product-preview,
  .sw-solutions-layout,
  .sw-products-layout {
    min-width: 0;
    max-width: 100%;
  }

  .sw-float-card {
    display: none;
  }

  .sw-announcement,
  .sw-search-row,
  .sw-mini-kpis,
  .sw-ai-visual-grid,
  .sw-preview-metrics,
  .sw-capability-grid,
  .sw-service-grid,
  .sw-proof-grid,
  .sw-story-grid,
  .sw-footer-columns {
    grid-template-columns: 1fr;
  }

  .sw-announcement,
  .sw-search-row {
    display: grid;
  }

  .sw-footer-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .sw-footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .sw-channel-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 710px) {
  .sw-toplist-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
    align-items: start;
  }

  .sw-toplist-meta {
    grid-column: 1 / -1;
  }

  .sw-toplist-track {
    width: 100%;
  }

  .sw-toplist-value {
    align-self: center;
    justify-self: end;
  }
}

@media (max-width: 640px) {
  html,
  body,
  .sw-body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .sw-page,
  .sw-footer,
  .sw-announcement {
    width: min(calc(100% - 16px), var(--sw-container));
    max-width: calc(100% - 16px);
  }

  .sw-header,
  .sw-header-panel,
  .sw-nav,
  .sw-header-actions,
  .sw-search-card,
  .sw-search-row,
  .sw-search-input,
  .sw-search-switch,
  .sw-solution-preview,
  .sw-product-preview,
  .sw-solution-dashboard,
  .sw-product-visual,
  .sw-solution-visual,
  .sw-mobile-gallery,
  .sw-gallery-card {
    min-width: 0;
    max-width: 100%;
  }

  .sw-page > *,
  .sw-hero,
  .sw-panel,
  .sw-dark-panel,
  .sw-final-cta,
  .sw-hero-dashboard,
  .sw-ai-showcase,
  .sw-product-preview,
  .sw-solution-preview {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .sw-hero,
  .sw-panel,
  .sw-dark-panel,
  .sw-final-cta,
  .sw-footer {
    padding: 20px;
    border-radius: 24px;
  }

  .sw-announcement {
    border-radius: 22px;
  }

  .sw-button,
  .sw-tab,
  .sw-product-tab {
    width: 100%;
  }

  .sw-search-switch {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    gap: 8px;
  }

  .sw-search-tab {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .sw-solutions-layout > .sw-tabs,
  .sw-products-layout > .sw-tabs {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
  }

  .sw-solutions-layout > .sw-tabs .sw-tab,
  .sw-products-layout > .sw-tabs .sw-product-tab {
    width: 100%;
    min-width: 0;
    white-space: normal;
    flex: 1 1 auto;
  }

  .sw-final-actions,
  .sw-solution-actions {
    display: grid;
    gap: 10px;
  }

  .sw-search-row {
    grid-template-columns: 1fr;
  }

  .sw-search-row.is-action-only .sw-button {
    justify-self: stretch;
    min-width: 0;
  }

  .sw-search-input {
    padding: 14px;
  }

  .sw-solution-visual,
  .sw-product-visual,
  .sw-solution-dashboard {
    grid-template-columns: 1fr;
  }

  .sw-product-preview .sw-product-chart,
  .sw-product-preview .sw-line-chart,
  .sw-product-preview .sw-bars-wide {
    grid-column: 1 / -1;
  }

  .sw-bar-label {
    white-space: normal;
    line-height: 1.15;
  }

  .sw-mobile-gallery {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: minmax(0, 1fr);
    overflow: visible;
    scroll-snap-type: none;
  }

  .sw-gallery-card {
    scroll-snap-align: none;
  }

  .sw-gallery-card .sw-preview-metrics,
  .sw-gallery-card .sw-capability-grid {
    grid-template-columns: 1fr;
  }

  .sw-logo-row {
    gap: 14px 18px;
    font-size: 1.04rem;
  }

  .sw-footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .sw-footer-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .sw-hero-center h1 {
    font-size: clamp(2.5rem, 13vw, 3.7rem);
  }

  .sw-section-head h2,
  .sw-final-copy h2,
  .sw-ai-copy h3,
  .sw-product-copy h3,
  .sw-solution-copy h3 {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }

  .auth-modal {
    padding: 14px;
  }

  .auth-modal-panel {
    width: 100%;
    padding: 22px 18px 18px;
    gap: 18px;
    border-radius: 24px;
  }

  .auth-modal-heading {
    padding-right: 40px;
  }

  .auth-modal-tabs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 670px) {
  .sw-hero-dashboard .sw-socdem-bar {
    width: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Index2 mobile refinements, 2026-05-28 */
.sw-socdem-plot {
  --sw-socdem-gap: 4px;
  gap: var(--sw-socdem-gap);
}

.sw-socdem-highlight {
  left: calc(((100% - (var(--sw-socdem-gap) + var(--sw-socdem-gap) + var(--sw-socdem-gap) + var(--sw-socdem-gap))) / 5) + var(--sw-socdem-gap));
  width: calc((100% - (var(--sw-socdem-gap) + var(--sw-socdem-gap) + var(--sw-socdem-gap) + var(--sw-socdem-gap))) / 5);
}

.sw-hero-dashboard .sw-socdem-plot,
.sw-ai-visual .sw-socdem-plot {
  --sw-socdem-gap: 2px;
}

.sw-ai-visual .sw-socdem-bars {
  gap: clamp(2px, 0.7vw, 3px);
}

.sw-ai-visual .sw-socdem-bar {
  width: clamp(4px, 1.25vw, 6px);
}

@media (max-width: 713px) {
  .sw-search-switch {
    border-radius: 20px;
  }

  .sw-search-tab,
  .sw-search-tab.is-active {
    min-width: 0;
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .sw-search-tab.is-active {
    border-radius: 16px;
  }

  .sw-search-switch {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    align-items: stretch;
  }

  .sw-ai-visual .sw-socdem-bars {
    gap: clamp(1px, 0.62vw, 3px);
  }

  .sw-ai-visual .sw-socdem-bar {
    width: clamp(3px, 1.05vw, 5px);
  }
}

@media (max-width: 640px) {
  .sw-search-switch {
    border-radius: 18px;
    padding: 5px;
  }

  .sw-search-tab,
  .sw-search-tab.is-active,
  .sw-button,
  .sw-search-row .sw-button,
  .sw-final-actions .sw-button,
  .sw-solution-actions .sw-button {
    border-radius: 14px;
  }

  .sw-search-tab.is-active {
    border-radius: 14px;
  }

  .sw-ai-visual .sw-socdem-bar {
    width: clamp(3px, 0.95vw, 4px);
  }
}

@media (max-width: 575px) {
  .sw-hero-dashboard {
    display: grid;
    gap: 12px;
  }

  .sw-hero-dashboard .sw-dashboard-head {
    display: none !important;
  }

  .sw-hero-dashboard .sw-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .sw-hero-dashboard .sw-surface-card,
  .sw-hero-dashboard .sw-surface-card-large {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .sw-hero-dashboard .sw-surface-card:has(.sw-socdem-shell),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-socdem-shell) {
    order: 1;
    grid-column: 1 / -1;
  }

  .sw-hero-dashboard .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-toplist-chart) {
    order: 2;
    grid-column: 1;
  }

  .sw-hero-dashboard .sw-surface-card:has(.sw-geo-split),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-geo-split) {
    order: 3;
    grid-column: 2;
  }

  .sw-hero-dashboard .sw-card-head {
    gap: 8px;
    margin-bottom: 10px;
  }

  .sw-hero-dashboard .sw-card-head span:first-child {
    font-size: 0.8rem;
  }

  .sw-hero-dashboard .sw-socdem-shell {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .sw-hero-dashboard .sw-socdem-bars {
    gap: 1px;
    height: 132px;
  }

  .sw-hero-dashboard .sw-socdem-bar {
    width: clamp(4px, 2vw, 9px);
  }

  .sw-hero-dashboard .sw-toplist-row,
  .sw-hero-dashboard .sw-geo-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .sw-hero-dashboard .sw-toplist-track {
    width: 100%;
  }

  .sw-hero-dashboard .sw-toplist-value,
  .sw-hero-dashboard .sw-geo-row strong {
    justify-self: start;
  }
}

@media (max-width: 495px) {
  .sw-hero-dashboard .sw-dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sw-hero-dashboard .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-toplist-chart) {
    order: 1;
    grid-column: 1;
  }

  .sw-hero-dashboard .sw-surface-card:has(.sw-socdem-shell),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-socdem-shell) {
    order: 2;
    grid-column: 1;
  }

  .sw-hero-dashboard .sw-surface-card:has(.sw-geo-split),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-geo-split),
  .sw-hero-dashboard .sw-surface-card:has(.sw-ring),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-ring),
  .sw-hero-dashboard .sw-mini-kpis,
  .sw-hero-dashboard .sw-preview-metrics {
    display: none !important;
  }

  .sw-hero-dashboard .sw-socdem-shell {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .sw-hero-dashboard .sw-socdem-bars {
    height: 126px;
  }

  .sw-hero-dashboard .sw-socdem-bar {
    width: clamp(3px, 1.55vw, 6px);
  }
}


/* Keep index2 footer visible after temporary mobile debugging hide. */
.sw-footer {
  display: block;
}

/* Index2 dashboard column layout refinement, 2026-05-28 */
.sw-ai-visual .sw-socdem-bar {
  width: clamp(6px, 2.4vw, 23px);
}

@media (max-width: 713px) {
  .sw-ai-visual .sw-socdem-bar {
    width: clamp(5px, 2.8vw, 23px);
  }
}

@media (max-width: 640px) {
  .sw-ai-visual .sw-socdem-bar {
    width: clamp(5px, 3.1vw, 23px);
  }
}

@media (max-width: 575px) {
  .sw-hero-dashboard.sw-reveal.is-visible,
  .sw-hero-dashboard {
    width: 100%;
    max-width: 100%;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-dashboard-grid,
  .sw-hero-dashboard .sw-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-dashboard-head,
  .sw-hero-dashboard .sw-dashboard-head {
    display: none !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-socdem-shell),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-socdem-shell),
  .sw-hero-dashboard .sw-surface-card:has(.sw-socdem-shell),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-socdem-shell) {
    display: block !important;
    order: 1;
    grid-column: 1 / -1;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-toplist-chart) {
    display: block !important;
    order: 2;
    grid-column: 1;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-geo-split),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-geo-split),
  .sw-hero-dashboard .sw-surface-card:has(.sw-geo-split),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-geo-split) {
    display: block !important;
    order: 3;
    grid-column: 2;
  }

  .sw-hero-dashboard .sw-socdem-bars {
    gap: 2px;
  }

  .sw-hero-dashboard .sw-socdem-bar,
  .sw-hero-dashboard .sw-socdem-bar-male,
  .sw-hero-dashboard .sw-socdem-bar-female {
    width: clamp(7px, 3.4vw, 23px);
  }
}

@media (max-width: 495px) {
  .sw-hero-dashboard.sw-reveal.is-visible,
  .sw-hero-dashboard {
    width: 100%;
    max-width: 100%;
    padding-inline: 12px;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-dashboard-grid,
  .sw-hero-dashboard .sw-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-socdem-shell),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-socdem-shell),
  .sw-hero-dashboard .sw-surface-card:has(.sw-socdem-shell),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-socdem-shell) {
    display: block !important;
    order: 1;
    grid-column: 1 / -1;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-toplist-chart) {
    display: block !important;
    order: 2;
    grid-column: 1;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-geo-split),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-geo-split),
  .sw-hero-dashboard .sw-surface-card:has(.sw-geo-split),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-geo-split) {
    display: block !important;
    order: 3;
    grid-column: 2;
  }

  .sw-hero-dashboard .sw-socdem-shell {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .sw-hero-dashboard .sw-socdem-bars {
    gap: 2px;
    height: 132px;
  }

  .sw-hero-dashboard .sw-socdem-bar,
  .sw-hero-dashboard .sw-socdem-bar-male,
  .sw-hero-dashboard .sw-socdem-bar-female {
    width: 23px;
  }
}

/* Index2 hero dashboard single-column mobile layout, 2026-05-28 */
@media (max-width: 575px) {
  .sw-hero-dashboard.sw-reveal.is-visible .sw-dashboard-grid,
  .sw-hero-dashboard .sw-dashboard-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card,
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large,
  .sw-hero-dashboard .sw-surface-card,
  .sw-hero-dashboard .sw-surface-card-large,
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-socdem-shell),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-socdem-shell),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-toplist-chart),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-geo-split),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-geo-split) {
    grid-column: 1 / -1 !important;
    width: 100%;
    max-width: 100%;
  }
}

/* Index2 hard override for old <=1180 hero dashboard two-column rule. */
@media (max-width: 575px) {
  .sw-hero-dashboard,
  .sw-hero-dashboard.sw-reveal.is-visible {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px;
    width: 100% !important;
    max-width: 100% !important;
    align-items: stretch;
  }

  .sw-hero-dashboard > *,
  .sw-hero-dashboard.sw-reveal.is-visible > * {
    grid-column: 1 / -1 !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

/* Index2 hero dashboard: socdem full row, interests/geography two-up, 2026-05-28. */
@media (max-width: 575px) {
  .sw-hero-dashboard,
  .sw-hero-dashboard.sw-reveal.is-visible {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-dashboard-grid,
  .sw-hero-dashboard .sw-dashboard-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-dashboard-head,
  .sw-hero-dashboard .sw-dashboard-head {
    display: none !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card,
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large,
  .sw-hero-dashboard .sw-surface-card,
  .sw-hero-dashboard .sw-surface-card-large {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-socdem-shell),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-socdem-shell),
  .sw-hero-dashboard .sw-surface-card:has(.sw-socdem-shell),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-socdem-shell) {
    display: block !important;
    order: 1;
    grid-column: 1 / -1 !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-toplist-chart) {
    display: grid !important;
    order: 2;
    grid-column: 1 !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-geo-split),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-geo-split),
  .sw-hero-dashboard .sw-surface-card:has(.sw-geo-split),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-geo-split) {
    display: grid !important;
    order: 3;
    grid-column: 2 !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-ring),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-ring),
  .sw-hero-dashboard .sw-surface-card:has(.sw-ring),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-ring),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-mini-kpis,
  .sw-hero-dashboard .sw-mini-kpis,
  .sw-hero-dashboard.sw-reveal.is-visible .sw-preview-metrics,
  .sw-hero-dashboard .sw-preview-metrics {
    display: none !important;
  }

  .sw-hero-dashboard .sw-toplist-chart,
  .sw-hero-dashboard .sw-geo-legend {
    gap: 6px;
  }

  .sw-hero-dashboard .sw-card-head {
    margin-bottom: 8px;
  }
}

/* Index2 hero dashboard: restore GEO card to the right of Top-10. */
@media (max-width: 575px) {
  .sw-hero-dashboard.sw-reveal.is-visible .sw-dashboard-grid,
  .sw-hero-dashboard .sw-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-toplist-chart) {
    display: grid !important;
    order: 2;
    grid-column: 1 !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-geo-split),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-geo-split),
  .sw-hero-dashboard .sw-surface-card:has(.sw-geo-split),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-geo-split) {
    display: grid !important;
    order: 3;
    grid-column: 2 !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }
}

/* Index2 hero dashboard breakpoint split: 496-575 two-up, <=495 single-column. */
@media (min-width: 496px) and (max-width: 575px) {
  .sw-hero-dashboard,
  .sw-hero-dashboard.sw-reveal.is-visible {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
  }

  .sw-hero-dashboard.sw-reveal.is-visible > *,
  .sw-hero-dashboard > * {
    grid-column: 1 / -1 !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-dashboard-head,
  .sw-hero-dashboard .sw-dashboard-head {
    display: none !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-dashboard-grid,
  .sw-hero-dashboard .sw-dashboard-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card,
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large,
  .sw-hero-dashboard .sw-surface-card,
  .sw-hero-dashboard .sw-surface-card-large {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-socdem-shell),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-socdem-shell),
  .sw-hero-dashboard .sw-surface-card:has(.sw-socdem-shell),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-socdem-shell) {
    display: block !important;
    order: 1;
    grid-column: 1 / -1 !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-toplist-chart) {
    display: grid !important;
    order: 2;
    grid-column: 1 !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-geo-split),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-geo-split),
  .sw-hero-dashboard .sw-surface-card:has(.sw-geo-split),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-geo-split) {
    display: grid !important;
    order: 3;
    grid-column: 2 !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .sw-hero-dashboard .sw-surface-card:has(.sw-ring):not(:has(.sw-geo-split)),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-ring):not(:has(.sw-geo-split)),
  .sw-hero-dashboard .sw-mini-kpis,
  .sw-hero-dashboard .sw-preview-metrics {
    display: none !important;
  }
}

@media (max-width: 495px) {
  .sw-hero-dashboard,
  .sw-hero-dashboard.sw-reveal.is-visible {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
  }

  .sw-hero-dashboard.sw-reveal.is-visible > *,
  .sw-hero-dashboard > * {
    grid-column: 1 / -1 !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-dashboard-head,
  .sw-hero-dashboard .sw-dashboard-head {
    display: none !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-dashboard-grid,
  .sw-hero-dashboard .sw-dashboard-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card,
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large,
  .sw-hero-dashboard .sw-surface-card,
  .sw-hero-dashboard .sw-surface-card-large {
    grid-column: 1 / -1 !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    aspect-ratio: auto;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-socdem-shell),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-socdem-shell),
  .sw-hero-dashboard .sw-surface-card:has(.sw-socdem-shell),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-socdem-shell) {
    display: block !important;
    order: 1;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-toplist-chart) {
    display: block !important;
    order: 2;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-geo-split),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card-large:has(.sw-geo-split),
  .sw-hero-dashboard .sw-surface-card:has(.sw-geo-split),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-geo-split) {
    display: block !important;
    order: 3;
  }

  .sw-hero-dashboard .sw-surface-card:has(.sw-ring):not(:has(.sw-geo-split)),
  .sw-hero-dashboard .sw-surface-card-large:has(.sw-ring):not(:has(.sw-geo-split)),
  .sw-hero-dashboard .sw-mini-kpis,
  .sw-hero-dashboard .sw-preview-metrics {
    display: none !important;
  }

  .sw-hero-dashboard .sw-socdem-bars {
    gap: 2px;
  }

  .sw-hero-dashboard .sw-socdem-bar,
  .sw-hero-dashboard .sw-socdem-bar-male,
  .sw-hero-dashboard .sw-socdem-bar-female {
    width: 23px !important;
  }
}

/* Index2 hero dashboard: real GEO card is .sw-ring-card, not .sw-geo-split. */
@media (min-width: 496px) and (max-width: 575px) {
  .sw-hero-dashboard.sw-reveal.is-visible .sw-dashboard-grid,
  .sw-hero-dashboard .sw-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-socdem-shell),
  .sw-hero-dashboard .sw-surface-card:has(.sw-socdem-shell) {
    display: block !important;
    order: 1;
    grid-column: 1 / -1 !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card:has(.sw-toplist-chart) {
    display: grid !important;
    order: 2;
    grid-column: 1 !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card,
  .sw-hero-dashboard .sw-ring-card {
    display: grid !important;
    order: 3;
    grid-column: 2 !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-card-head,
  .sw-hero-dashboard .sw-ring-card .sw-card-head {
    display: flex !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-ring,
  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-geo-legend,
  .sw-hero-dashboard .sw-ring-card .sw-ring,
  .sw-hero-dashboard .sw-ring-card .sw-geo-legend {
    display: grid !important;
  }
}

/* Index2 hero dashboard: final GEO visibility override for <=575. */
@media (max-width: 575px) {
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring),
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-ring,
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-geo-legend,
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-ring,
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-geo-legend {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (min-width: 496px) and (max-width: 575px) {
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring),
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) {
    order: 3 !important;
    grid-column: 2 !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }
}

@media (max-width: 495px) {
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring),
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) {
    order: 3 !important;
    grid-column: 1 / -1 !important;
    aspect-ratio: auto;
  }
}

/* Index2 final hero dashboard split: keep GEO at 496-575, hide GEO <=495. */
@media (min-width: 496px) and (max-width: 575px) {
  .sw-hero-dashboard.sw-reveal.is-visible .sw-dashboard-grid,
  .sw-hero-dashboard .sw-dashboard-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-socdem-shell),
  .sw-hero-dashboard .sw-surface-card:has(.sw-socdem-shell) {
    display: block !important;
    order: 1 !important;
    grid-column: 1 / -1 !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card:has(.sw-toplist-chart) {
    display: grid !important;
    order: 2 !important;
    grid-column: 1 !important;
    aspect-ratio: 1 / 1;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring),
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) {
    display: grid !important;
    order: 3 !important;
    grid-column: 2 !important;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 495px) {
  .sw-hero-dashboard.sw-reveal.is-visible,
  .sw-hero-dashboard {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-dashboard-grid,
  .sw-hero-dashboard .sw-dashboard-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px;
    width: 100%;
    max-width: 100%;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-dashboard-head,
  .sw-hero-dashboard .sw-dashboard-head,
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring),
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-mini-kpis,
  .sw-hero-dashboard .sw-mini-kpis,
  .sw-hero-dashboard.sw-reveal.is-visible .sw-preview-metrics,
  .sw-hero-dashboard .sw-preview-metrics {
    display: none !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card:has(.sw-toplist-chart) {
    display: block !important;
    order: 1 !important;
    grid-column: 1 / -1 !important;
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-socdem-shell),
  .sw-hero-dashboard .sw-surface-card:has(.sw-socdem-shell) {
    display: block !important;
    order: 2 !important;
    grid-column: 1 / -1 !important;
    width: 100%;
    max-width: 100%;
  }

  .sw-hero-dashboard .sw-socdem-bar,
  .sw-hero-dashboard .sw-socdem-bar-male,
  .sw-hero-dashboard .sw-socdem-bar-female {
    width: 23px !important;
  }
}

/* Index2 hero dashboard: taller interests/GEO cards for 496-575, keep GEO hidden <=495. */
@media (min-width: 496px) and (max-width: 575px) {
  .sw-hero-dashboard.sw-reveal.is-visible .sw-dashboard-grid,
  .sw-hero-dashboard .sw-dashboard-grid {
    align-items: stretch;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring),
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) {
    aspect-ratio: auto !important;
    min-height: 318px;
    height: 100%;
    padding: 12px;
    align-content: start;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card:has(.sw-toplist-chart),
  .sw-hero-dashboard .sw-surface-card:has(.sw-toplist-chart) {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-toplist-chart,
  .sw-hero-dashboard .sw-toplist-chart {
    display: grid;
    gap: 7px;
    align-content: start;
    overflow: hidden;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-toplist-row,
  .sw-hero-dashboard .sw-toplist-row {
    display: grid;
    min-height: 44px;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-toplist-row:nth-child(n+5),
  .sw-hero-dashboard .sw-toplist-row:nth-child(n+5) {
    display: none !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring),
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) {
    grid-template-rows: auto auto minmax(0, 1fr);
    justify-items: stretch;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-ring,
  .sw-hero-dashboard .sw-ring-card .sw-ring {
    width: min(100%, 104px);
    margin: 0 auto 4px;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-geo-legend,
  .sw-hero-dashboard .sw-ring-card .sw-geo-legend {
    display: grid !important;
    gap: 7px;
    width: 100%;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-geo-row,
  .sw-hero-dashboard .sw-ring-card .sw-geo-row {
    display: grid !important;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
    font-size: 0.74rem;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-geo-row span:not(.sw-geo-dot),
  .sw-hero-dashboard .sw-ring-card .sw-geo-row span:not(.sw-geo-dot) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-geo-row strong,
  .sw-hero-dashboard .sw-ring-card .sw-geo-row strong {
    justify-self: end;
    font-size: 0.76rem;
  }
}

@media (max-width: 495px) {
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring),
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) {
    display: none !important;
  }
}

/* Index2 hero GEO card compact centered legend for 496-575. */
@media (min-width: 496px) and (max-width: 575px) {
  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card,
  .sw-hero-dashboard .sw-ring-card {
    justify-items: center;
    text-align: center;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-card-head,
  .sw-hero-dashboard .sw-ring-card .sw-card-head {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-ring,
  .sw-hero-dashboard .sw-ring-card .sw-ring {
    width: 108px;
    max-width: 100%;
    margin: 0 auto 8px;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-geo-legend,
  .sw-hero-dashboard .sw-ring-card .sw-geo-legend {
    width: auto;
    max-width: 142px;
    justify-self: center;
    justify-items: start;
    gap: 6px;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-geo-row,
  .sw-hero-dashboard .sw-ring-card .sw-geo-row {
    display: inline-grid !important;
    grid-template-columns: 8px auto auto;
    justify-content: start;
    gap: 5px;
    width: auto;
    max-width: 142px;
    font-size: 0.72rem;
    line-height: 1.1;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-geo-row span:not(.sw-geo-dot),
  .sw-hero-dashboard .sw-ring-card .sw-geo-row span:not(.sw-geo-dot) {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-geo-row strong,
  .sw-hero-dashboard .sw-ring-card .sw-geo-row strong {
    justify-self: start;
    font-size: 0.72rem;
  }
}

/* Index2 hero GEO card: non-stretched inline legend, applies wherever GEO is visible on mobile. */
@media (max-width: 575px) {
  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card,
  .sw-hero-dashboard .sw-ring-card {
    justify-items: center !important;
    align-content: start;
    text-align: center;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-card-head,
  .sw-hero-dashboard .sw-ring-card .sw-card-head {
    justify-content: center !important;
    width: 100%;
    margin-bottom: 8px;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-ring,
  .sw-hero-dashboard .sw-ring-card .sw-ring {
    width: 108px !important;
    margin: 0 auto 10px !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-geo-legend,
  .sw-hero-dashboard .sw-ring-card .sw-geo-legend {
    display: inline-flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-self: center !important;
    width: auto !important;
    max-width: none !important;
    gap: 6px !important;
    margin: 0 auto;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-geo-row,
  .sw-hero-dashboard .sw-ring-card .sw-geo-row {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 5px !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    font-size: 0.72rem;
    line-height: 1.1;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-geo-dot,
  .sw-hero-dashboard .sw-ring-card .sw-geo-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-geo-row span:not(.sw-geo-dot),
  .sw-hero-dashboard .sw-ring-card .sw-geo-row span:not(.sw-geo-dot),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-ring-card .sw-geo-row strong,
  .sw-hero-dashboard .sw-ring-card .sw-geo-row strong {
    flex: 0 0 auto;
    justify-self: auto !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 495px) {
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring),
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) {
    display: none !important;
  }
}

/* Index2 hero GEO legend: beat high-specificity grid visibility rule. */
@media (min-width: 496px) and (max-width: 575px) {
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring) {
    justify-items: center !important;
    text-align: center;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-ring,
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-ring {
    display: block !important;
    width: 108px !important;
    margin: 0 auto 10px !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-geo-legend,
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-geo-legend {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    justify-self: center !important;
    width: fit-content !important;
    max-width: 100% !important;
    gap: 6px !important;
    margin: 0 auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-geo-row,
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-geo-row {
    display: inline-flex !important;
    grid-template-columns: none !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: fit-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 5px !important;
    font-size: 0.72rem !important;
    line-height: 1.1 !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-geo-dot,
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-geo-dot {
    flex: 0 0 8px !important;
    width: 8px !important;
    height: 8px !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-geo-row span:not(.sw-geo-dot),
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-geo-row strong,
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-geo-row span:not(.sw-geo-dot),
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-geo-row strong {
    flex: 0 0 auto !important;
    justify-self: auto !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

/* Index2 hero GEO card: center ring, pin legend to bottom. */
@media (min-width: 496px) and (max-width: 575px) {
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring),
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    align-items: stretch !important;
    justify-items: center !important;
    min-height: 318px;
    text-align: center;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-card-head,
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-card-head {
    align-self: start !important;
    justify-self: stretch !important;
    justify-content: center !important;
    margin-bottom: 0 !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-ring,
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-ring {
    align-self: center !important;
    justify-self: center !important;
    width: 112px !important;
    margin: 0 auto !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-geo-legend,
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-geo-legend {
    align-self: end !important;
    justify-self: center !important;
    margin: 10px auto 0 !important;
  }
}

/* Index2 hero GEO card: centered ring + legend stack. */
@media (min-width: 496px) and (max-width: 575px) {
  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring),
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 318px;
    text-align: center;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-card-head,
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-card-head {
    flex: 0 0 auto;
    width: 100%;
    justify-content: center !important;
    margin: 0 0 10px !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-ring,
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-ring {
    flex: 0 0 auto;
    display: block !important;
    width: 112px !important;
    margin: 0 auto 8px !important;
  }

  .sw-hero-dashboard.sw-reveal.is-visible .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-geo-legend,
  .sw-hero-dashboard .sw-surface-card.sw-ring-card:has(.sw-ring) .sw-geo-legend {
    flex: 0 0 auto;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    justify-self: auto !important;
    width: fit-content !important;
    margin: 0 auto !important;
    gap: 6px !important;
  }
}


/* Index2 mobile header nav: flex single-column full-width menu. */
@media (max-width: 1024px) {
  .sw-header-panel,
  .sw-header .sw-header-panel,
  #sw-header-panel {
    box-sizing: border-box;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: stretch;
  }

  .sw-header-panel .sw-nav,
  .sw-header .sw-header-panel .sw-nav,
  #sw-header-panel .sw-nav {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 10px;
    padding: 0;
    align-items: stretch;
    background: transparent;
    border: 0;
  }

  .sw-header-panel .sw-nav a,
  .sw-header .sw-header-panel .sw-nav a,
  #sw-header-panel .sw-nav a {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
  }
}

/* Index2 mobile header panel: override desktop flex spacing. */
@media (max-width: 1024px) {
  .sw-header-panel,
  .sw-header .sw-header-panel,
  #sw-header-panel {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    flex: none !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .sw-header-panel .sw-nav,
  .sw-header .sw-header-panel .sw-nav,
  #sw-header-panel .sw-nav {
    flex: 0 0 auto !important;
    align-self: stretch !important;
    width: 100% !important;
  }
}

/* Index2 preview metrics: keep only market volume on narrow screens. */
@media (max-width: 461px) {
  .sw-preview-metrics {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
  }

  .sw-preview-metrics .sw-preview-metric {
    grid-column: 1 / -1;
    width: 100%;
  }

  .sw-preview-metrics .sw-preview-metric:nth-child(n+2) {
    display: none !important;
  }
}

/* Index3 viewport optimization layer, 2026-05-29. */
.sw-hero.sw-reveal {
  opacity: 1;
  transform: none;
}

@media (min-width: 1181px) {
  .sw-hero {
    padding: clamp(26px, 2.8vw, 40px) clamp(34px, 4vw, 58px) clamp(38px, 4.6vw, 64px);
  }

  .sw-hero-center {
    margin-top: clamp(44px, 5.2vw, 76px);
  }

  .sw-hero-center h1 {
    font-size: clamp(4.8rem, 7.2vw, 6rem);
  }

  .sw-search-card {
    margin-top: 24px;
  }

  .sw-hero-dashboard {
    margin-top: 30px;
  }
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .sw-hero {
    padding: 30px 36px 46px;
  }

  .sw-hero-center {
    margin-top: 58px;
  }

  .sw-hero-center h1 {
    font-size: clamp(4.4rem, 7.8vw, 5.5rem);
  }

  .sw-search-card {
    max-width: 820px;
    margin-top: 22px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) and (orientation: portrait) {
  .sw-hero {
    padding: 26px 30px 42px;
  }

  .sw-hero-center {
    margin-top: clamp(52px, 7vw, 70px);
  }

  .sw-hero-center h1 {
    font-size: clamp(4.2rem, 10vw, 5.4rem);
    max-width: 12ch;
  }

  .sw-search-card {
    max-width: 680px;
    margin-top: 24px;
  }

  .sw-hero-dashboard {
    margin-top: 28px;
  }

  .sw-panel,
  .sw-dark-panel,
  .sw-final-cta {
    padding: 28px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) and (orientation: landscape) {
  .sw-hero {
    padding: 24px 30px 38px;
  }

  .sw-hero-center {
    margin-top: 36px;
  }

  .sw-hero-center h1 {
    font-size: clamp(4rem, 8vw, 5.2rem);
    max-width: 13ch;
  }

  .sw-search-card {
    max-width: 760px;
    margin-top: 22px;
  }
}

@media (max-width: 640px) and (orientation: portrait) {
  .sw-page,
  .sw-footer {
    width: min(calc(100% - 12px), var(--sw-container));
    max-width: calc(100% - 12px);
  }

  .sw-hero {
    padding: 18px 16px 24px;
    border-radius: 28px;
  }

  .sw-header {
    gap: 12px;
  }

  .sw-brand {
    gap: 10px;
  }

  .sw-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .sw-brand-copy strong {
    font-size: 1.05rem;
  }

  .sw-brand-copy span {
    font-size: 0.68rem;
  }

  .sw-mobile-toggle {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .sw-hero-center {
    margin-top: 42px;
  }

  .sw-kicker {
    min-height: 30px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .sw-hero-center h1 {
    margin: 16px 0 14px;
    font-size: clamp(2.85rem, 12.4vw, 3.25rem);
    line-height: 0.96;
    max-width: 10.8ch;
  }

  .sw-hero-center p {
    max-width: 24ch;
    font-size: 1rem;
    line-height: 1.56;
  }

  .sw-search-card {
    margin-top: 22px;
    padding: 12px;
    border-radius: 22px;
  }

  .sw-search-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 5px;
    border-radius: 18px;
  }

  .sw-search-tab,
  .sw-search-tab.is-active {
    min-height: 44px;
    padding: 0 8px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.12;
  }

  .sw-search-row {
    gap: 10px;
    margin-top: 12px;
  }

  .sw-search-input {
    min-height: 0;
    padding: 12px;
    border-radius: 18px;
  }

  .sw-search-field {
    min-height: 48px;
    border-radius: 15px;
  }

  .sw-search-row .sw-button,
  .sw-search-row.is-action-only .sw-button {
    min-height: 52px;
    border-radius: 16px;
  }

  .sw-hero-dashboard {
    margin-top: 22px;
  }

  .sw-logo-cloud {
    margin-top: 24px;
    padding-top: 16px;
  }

  .sw-logo-row {
    gap: 10px 14px;
    font-size: 0.98rem;
  }
}

@media (max-width: 430px) and (orientation: portrait) {
  .sw-hero-center h1 {
    font-size: clamp(2.62rem, 11.2vw, 3.02rem);
  }

  .sw-hero-center p {
    font-size: 0.96rem;
  }

  .sw-panel,
  .sw-dark-panel,
  .sw-final-cta,
  .sw-footer {
    padding: 18px;
    border-radius: 22px;
  }

  .sw-section-head h2,
  .sw-final-copy h2,
  .sw-ai-copy h3,
  .sw-product-copy h3,
  .sw-solution-copy h3 {
    font-size: clamp(1.72rem, 7vw, 2.15rem);
  }
}

@media (max-width: 932px) and (orientation: landscape) {
  .sw-page {
    gap: 18px;
  }

  .sw-hero {
    padding: 16px 22px 22px;
    border-radius: 24px;
  }

  .sw-header {
    gap: 12px;
  }

  .sw-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .sw-brand-copy strong {
    font-size: 1rem;
  }

  .sw-brand-copy span {
    font-size: 0.66rem;
  }

  .sw-mobile-toggle {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .sw-hero-center {
    margin-top: 22px;
    max-width: 740px;
  }

  .sw-kicker {
    min-height: 28px;
    padding: 0 11px;
    font-size: 0.7rem;
  }

  .sw-hero-center h1 {
    margin: 12px 0 10px;
    font-size: clamp(2.35rem, 7.2vw, 3.7rem);
    line-height: 0.92;
    max-width: 18ch;
  }

  .sw-hero-center p {
    max-width: 58ch;
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .sw-search-card {
    max-width: 700px;
    margin-top: 14px;
    padding: 10px;
    border-radius: 18px;
  }

  .sw-search-switch {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 4px;
    border-radius: 16px;
  }

  .sw-search-tab,
  .sw-search-tab.is-active {
    min-height: 36px;
    padding: 0 8px;
    border-radius: 12px;
    font-size: 0.8rem;
  }

  .sw-search-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 10px;
  }

  .sw-search-input {
    min-height: 56px;
    padding: 10px 12px;
    gap: 6px;
    border-radius: 16px;
  }

  .sw-search-field {
    min-height: 40px;
    border-radius: 13px;
  }

  .sw-search-row .sw-button {
    min-height: 48px;
    padding-inline: 18px;
    border-radius: 16px;
  }

  .sw-hero-dashboard {
    margin-top: 18px;
  }

  .sw-logo-cloud {
    display: none;
  }
}

@media (max-width: 461px) {
  .sw-preview-metrics {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
  }

  .sw-preview-metrics .sw-preview-metric:first-child {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100%;
  }

  .sw-preview-metrics .sw-preview-metric:nth-child(n+2) {
    display: none !important;
  }
}

/* Index3 viewport optimization layer, pass 2. */
.sw-reveal,
.sw-reveal.is-visible,
.sw-hero-dashboard,
.sw-hero-dashboard.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 430px) and (orientation: portrait) {
  .sw-hero {
    padding: 16px 14px 22px;
  }

  .sw-hero-center {
    margin-top: 34px;
  }

  .sw-hero-center h1 {
    margin: 14px 0 12px;
    font-size: clamp(2.42rem, 10.5vw, 2.82rem);
    max-width: 11ch;
  }

  .sw-hero-center p {
    max-width: 25ch;
    font-size: 0.92rem;
    line-height: 1.48;
  }

  .sw-search-card {
    margin-top: 18px;
  }

  .sw-search-tab,
  .sw-search-tab.is-active {
    min-height: 40px;
    font-size: 0.82rem;
  }

  .sw-ai-showcase,
  .sw-solution-preview,
  .sw-product-preview,
  .sw-story-card,
  .sw-surface-card,
  .sw-surface-card-large,
  .sw-capability-card {
    padding: 16px;
    border-radius: 20px;
  }

  .sw-ai-copy p,
  .sw-product-copy p,
  .sw-solution-copy p,
  .sw-section-head p,
  .sw-story-card p,
  .sw-point-list li {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .sw-point-list {
    margin-top: 18px;
  }
}

@media (max-width: 932px) and (orientation: landscape) {
  .sw-hero-dashboard,
  .sw-logo-cloud {
    display: none !important;
  }

  .sw-hero {
    padding-bottom: 18px;
  }

  .sw-hero-center h1 {
    font-size: clamp(2.2rem, 6.6vw, 3.35rem);
  }

  .sw-search-card {
    margin-top: 12px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) and (orientation: portrait) {
  .sw-hero-center {
    margin-top: clamp(46px, 6vw, 62px);
  }

  .sw-hero-center h1 {
    font-size: clamp(3.8rem, 9vw, 4.9rem);
  }

  .sw-hero-dashboard {
    margin-top: 22px;
  }
}

/* Index3 iPhone portrait final compaction. */
@media (max-width: 430px) and (orientation: portrait) {
  .sw-hero {
    padding: 14px 12px 20px;
  }

  .sw-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .sw-brand-copy strong {
    font-size: 0.98rem;
  }

  .sw-brand-copy span {
    font-size: 0.62rem;
  }

  .sw-mobile-toggle {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .sw-hero-center {
    margin-top: 28px;
  }

  .sw-kicker {
    min-height: 28px;
    font-size: 0.68rem;
  }

  .sw-hero-center h1 {
    margin: 12px 0 10px;
    font-size: clamp(2.16rem, 9.4vw, 2.48rem);
    line-height: 0.95;
    max-width: 12ch;
  }

  .sw-hero-center p {
    max-width: 27ch;
    font-size: 0.88rem;
    line-height: 1.42;
  }

  .sw-search-card {
    margin-top: 14px;
    padding: 10px;
  }

  .sw-search-tab,
  .sw-search-tab.is-active {
    min-height: 36px;
    font-size: 0.78rem;
  }

  .sw-search-row {
    margin-top: 10px;
  }

  .sw-search-field {
    min-height: 42px;
  }

  .sw-search-row .sw-button,
  .sw-search-row.is-action-only .sw-button {
    min-height: 48px;
    font-size: 0.96rem;
  }
}

/* Index3 viewport optimization layer, pass 4. */
@media (min-width: 700px) and (max-width: 780px) and (orientation: portrait) {
  .sw-hero {
    padding-top: 14px;
    padding-bottom: 48px;
  }

  .sw-header {
    min-height: 46px;
  }

  .sw-hero-center {
    margin-top: 32px;
  }

  .sw-hero-center h1 {
    margin: 10px auto 8px;
    max-width: 13.4ch;
    font-size: clamp(3.25rem, 7.85vw, 3.85rem);
    line-height: 0.93;
    letter-spacing: -0.065em;
  }

  .sw-hero-center p {
    max-width: 60ch;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .sw-search-card {
    max-width: 640px;
    margin-top: 14px;
    padding: 10px;
  }

  .sw-search-row {
    margin-top: 10px;
  }

  .sw-search-input {
    min-height: 54px;
    padding-block: 9px;
  }

  .sw-search-row .sw-button {
    min-height: 46px;
  }

  .sw-hero-dashboard {
    width: min(100%, 640px);
    margin-top: 16px;
  }

  .sw-dashboard-grid {
    gap: 10px;
  }

  .sw-surface-card,
  .sw-surface-card-large {
    padding: 16px;
  }
}

@media (max-width: 932px) and (orientation: landscape) {
  .sw-hero {
    min-height: auto;
    padding: 10px 14px 16px;
  }

  .sw-header {
    min-height: 38px;
  }

  .sw-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .sw-brand-copy strong {
    font-size: 0.72rem;
  }

  .sw-brand-copy span {
    font-size: 0.48rem;
  }

  .sw-mobile-toggle {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .sw-mobile-toggle span {
    width: 14px;
  }

  .sw-hero-center {
    margin-top: 8px;
  }

  .sw-kicker {
    min-height: 20px;
    padding: 0 10px;
    font-size: 0.54rem;
  }

  .sw-hero-center h1 {
    margin: 7px auto 5px;
    max-width: 22ch;
    font-size: clamp(1.95rem, 4.35vw, 2.45rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
  }

  .sw-hero-center p {
    max-width: 56ch;
    font-size: 0.68rem;
    line-height: 1.22;
  }

  .sw-search-card {
    max-width: 700px;
    margin-top: 8px;
    padding: 6px;
    border-radius: 14px;
  }

  .sw-search-switch {
    gap: 4px;
    padding: 3px;
    border-radius: 12px;
  }

  .sw-search-tab,
  .sw-search-tab.is-active {
    min-height: 24px;
    padding-inline: 6px;
    border-radius: 9px;
    font-size: 0.55rem;
  }

  .sw-search-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    margin-top: 6px;
  }

  .sw-search-input {
    min-height: 42px;
    padding: 6px 8px;
    border-radius: 12px;
  }

  .sw-search-label {
    font-size: 0.52rem;
  }

  .sw-search-field {
    min-height: 28px;
    border-radius: 9px;
  }

  .sw-search-field-input {
    font-size: 0.62rem;
  }

  .sw-search-row .sw-button,
  .sw-search-row.is-action-only .sw-button {
    min-height: 36px;
    padding-inline: 12px;
    border-radius: 12px;
    font-size: 0.62rem;
  }

  .sw-hero-dashboard {
    display: block !important;
    width: min(100%, 700px);
    max-width: 700px;
    margin: 10px auto 0;
    padding: 8px 10px;
    border-radius: 18px;
  }

  .sw-float-card {
    display: none !important;
  }

  .sw-dashboard-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    margin: 0;
  }

  .sw-dashboard-title strong {
    font-size: 0.7rem;
  }

  .sw-dashboard-title span {
    font-size: 0.52rem;
  }

  .sw-mini-kpis {
    display: grid;
    grid-template-columns: repeat(3, 54px);
    gap: 5px;
  }

  .sw-mini-kpi {
    min-height: 40px;
    padding: 5px;
    border-radius: 10px;
  }

  .sw-mini-kpi span {
    font-size: 0.48rem;
  }

  .sw-mini-kpi strong {
    font-size: 0.7rem;
  }

  .sw-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    margin-top: 6px;
  }

  .sw-dashboard-grid .sw-surface-card:not(.sw-surface-card-large) {
    display: none !important;
  }

  .sw-dashboard-grid .sw-surface-card-large {
    min-height: 0;
    padding: 7px 8px;
    border-radius: 12px;
  }

  .sw-card-head {
    margin-bottom: 4px;
    font-size: 0.6rem;
  }

  .sw-toplist-chart {
    gap: 3px;
  }

  .sw-toplist-row {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) auto;
    gap: 6px;
    align-items: center;
  }

  .sw-toplist-row:nth-child(n+3) {
    display: none;
  }

  .sw-toplist-meta small {
    font-size: 0.48rem;
  }

  .sw-toplist-meta strong,
  .sw-toplist-value {
    font-size: 0.58rem;
  }

  .sw-toplist-track {
    height: 6px;
  }
}

/* Index3 backend auth bridge states. */
.auth-modal-notice {
  display: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  color: #10203f;
  background: #eef5ff;
  border: 1px solid rgba(61, 123, 255, 0.22);
  border-radius: 16px;
  font-size: 0.94rem;
  line-height: 1.45;
}

.auth-modal-notice.is-visible {
  display: block;
}

.auth-modal-notice.is-error {
  color: #5b1732;
  background: #fff0f5;
  border-color: rgba(248, 80, 164, 0.22);
}

.auth-modal-state {
  display: grid;
  gap: 12px;
  padding: 16px;
  color: #d9e5ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}

.auth-modal-state strong {
  color: #ffffff;
  font-size: 1.02rem;
}

.auth-modal-state p {
  margin: 0;
  color: #aebbd3;
  line-height: 1.5;
}

.auth-modal-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}


/* Cookie consent banner. */
.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(680px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  color: #10203f;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(119, 141, 189, 0.18);
  border-radius: 24px;
  box-shadow: 0 24px 90px rgba(8, 20, 45, 0.2);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cookie-banner-copy strong {
  color: var(--sw-ink);
  font-size: 1rem;
}

.cookie-banner-copy p {
  margin: 0;
  color: var(--sw-ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-banner-copy a {
  color: var(--sw-blue);
  text-decoration: none;
}

.cookie-banner-copy a:hover {
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.cookie-button-primary {
  color: #ffffff;
  background: linear-gradient(145deg, var(--sw-blue), var(--sw-blue-strong));
  box-shadow: 0 12px 26px rgba(52, 92, 255, 0.22);
}

.cookie-button-secondary {
  color: var(--sw-ink);
  background: #f3f7ff;
  border-color: rgba(119, 141, 189, 0.16);
}

@media (max-width: 640px) {
  .cookie-banner {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
    border-radius: 20px;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .cookie-button {
    width: 100%;
  }
}


/* Legal footer and document pages. */
.sw-footer-legal {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sw-footer-requisites,
.sw-footer-docs {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: rgba(226, 234, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.sw-footer-requisites strong,
.sw-footer-docs span {
  color: #ffffff;
  font-weight: 800;
}

.sw-footer-requisites p {
  margin: 0;
}

.sw-footer-requisites a,
.sw-footer-docs a {
  color: rgba(226, 234, 255, 0.82);
  text-decoration: none;
}

.sw-footer-requisites a:hover,
.sw-footer-docs a:hover {
  color: #ffffff;
}

.legal-page {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 20px;
  padding: clamp(28px, 5vw, 58px);
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 10%, rgba(61, 123, 255, 0.3), transparent 34%),
    linear-gradient(135deg, #071126, #132850);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
}

.legal-hero .sw-brand {
  width: fit-content;
}

.legal-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.15rem, 5.4vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: #aebbd3;
  font-size: 1rem;
  line-height: 1.55;
}

.legal-document-card {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 42px);
  color: #16213a;
  background: #ffffff;
  border: 1px solid rgba(15, 31, 63, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(8, 20, 45, 0.12);
}

.legal-document-card > * + * {
  margin-top: 12px;
}

.legal-document-meta {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  color: #36506f;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  background: #eef4ff;
  border: 1px solid rgba(48, 91, 176, 0.12);
  border-radius: 999px;
}

.legal-document-card .legal-lead {
  color: #17233b;
  font-size: clamp(1.04rem, 0.9vw, 1.18rem);
  font-weight: 650;
  line-height: 1.72;
}

.legal-document-card h2,
.legal-document-card h3 {
  margin: 28px 0 0;
  color: #0b1830;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.legal-document-card h2 {
  padding-top: 20px;
  font-size: clamp(1.22rem, 1.6vw, 1.7rem);
  border-top: 1px solid rgba(15, 31, 63, 0.1);
}

.legal-document-card h3 {
  font-size: clamp(1.06rem, 1vw, 1.22rem);
}

.legal-document-card h2:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-document-card p,
.legal-document-card li {
  margin: 0;
  color: #34415a;
  font-size: clamp(0.98rem, 0.55vw + 0.84rem, 1.06rem);
  line-height: 1.78;
  letter-spacing: -0.006em;
  overflow-wrap: anywhere;
}

.legal-document-card p + p {
  margin-top: 10px;
}

.legal-document-card a {
  color: #075fd7;
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.legal-document-card ul,
.legal-document-card ol {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 1.35rem;
}

.legal-document-card li::marker {
  color: #0b64d8;
  font-weight: 800;
}

.legal-document-card .legal-note {
  padding: 14px 16px;
  color: #24364f;
  background: #f4f7fb;
  border: 1px solid rgba(15, 31, 63, 0.08);
  border-radius: 18px;
}

.legal-footer {
  margin-top: 0;
}

.legal-footer .sw-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 24px;
  align-items: start;
}

.sw-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.sw-footer-links span {
  flex: 0 0 100%;
  color: #8695ad;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.sw-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  color: #dbe7ff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.sw-footer-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 760px) {
  .sw-footer-legal {
    grid-template-columns: 1fr;
  }

  .legal-page {
    width: min(100% - 20px, 1120px);
    padding-top: 10px;
  }

  .legal-hero,
  .legal-document-card {
    border-radius: 22px;
  }

  .legal-document-card {
    padding: 22px 18px;
  }

  .legal-footer .sw-footer-inner {
    grid-template-columns: 1fr;
  }

  .sw-footer-links {
    justify-content: flex-start;
  }

  .sw-footer-links span {
    text-align: left;
  }
}

.seo-article-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(39, 108, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #f4f7fb 0%, #ffffff 52%, #eef3fb 100%);
}

.seo-article-page {
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.seo-article-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.seo-article-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  color: #0b1830;
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 31, 63, 0.1);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(18, 35, 66, 0.1);
}

.seo-article-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: clamp(30px, 5vw, 62px);
  color: #ffffff;
  background:
    radial-gradient(circle at 86% 12%, rgba(73, 135, 255, 0.34), transparent 35%),
    linear-gradient(135deg, #071126, #143466 68%, #0e7f8d);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  box-shadow: 0 30px 90px rgba(8, 20, 45, 0.2);
}

.seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  font-weight: 700;
}

.seo-breadcrumbs a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.seo-article-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.15rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.seo-article-hero p {
  max-width: 760px;
  margin: 0;
  color: #d5e1f4;
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  line-height: 1.65;
}

.seo-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-article-meta span {
  display: inline-flex;
  padding: 8px 12px;
  color: #dce9ff;
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
}

.seo-article-card {
  max-width: 880px;
  margin: 22px auto 0;
  padding: clamp(24px, 4vw, 48px);
  color: #1a2942;
  background: #ffffff;
  border: 1px solid rgba(15, 31, 63, 0.08);
  border-radius: 30px;
  box-shadow: 0 24px 80px rgba(8, 20, 45, 0.12);
}

.seo-article-card > * + * {
  margin-top: 16px;
}

.seo-article-card h2 {
  margin-top: 34px;
  color: #0b1830;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.seo-article-card h2:first-child {
  margin-top: 0;
}

.seo-article-card p,
.seo-article-card li {
  color: #34415a;
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.08rem);
  line-height: 1.82;
}

.seo-article-card .seo-article-lead {
  color: #14213a;
  font-size: clamp(1.08rem, 0.8vw + 0.94rem, 1.25rem);
  font-weight: 650;
  line-height: 1.75;
}

.seo-article-card ul,
.seo-article-card ol {
  display: grid;
  gap: 10px;
  padding-left: 1.35rem;
}

.seo-article-card li::marker {
  color: #0b64d8;
  font-weight: 900;
}

.seo-article-card strong {
  color: #102443;
}

.seo-article-cta {
  margin-top: 38px;
  padding: clamp(20px, 3vw, 30px);
  background: linear-gradient(135deg, #eef5ff, #f8fbff);
  border: 1px solid rgba(30, 91, 190, 0.12);
  border-radius: 24px;
}

.seo-article-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 1.6vw, 1.7rem);
}

.seo-article-cta p {
  margin: 0 0 18px;
}

@media (max-width: 760px) {
  .seo-article-page {
    width: min(100% - 20px, 1060px);
    padding-top: 12px;
  }

  .seo-article-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-article-hero,
  .seo-article-card {
    border-radius: 22px;
  }

  .seo-article-card {
    padding: 22px 18px;
  }
}

.public-marketing-page {
  min-height: 100vh;
}

.public-marketing-header {
  width: min(calc(100% - 28px), var(--sw-container));
  max-width: var(--sw-container);
  margin: 22px auto 0;
  padding: 18px;
  color: rgba(223, 233, 255, 0.74);
  background:
    radial-gradient(circle at top right, rgba(73, 122, 255, 0.16), transparent 20%),
    linear-gradient(180deg, #0d1831, #081121);
  border: 1px solid rgba(127, 160, 255, 0.12);
  border-radius: 26px;
  box-shadow: 0 22px 48px rgba(5, 10, 20, 0.18);
}

.public-marketing-header .sw-header-panel {
  flex: 1 1 560px;
}

.public-marketing-footer {
  margin-top: 26px;
}

.public-marketing-page .seo-article-page {
  padding-top: 22px;
}

@media (max-width: 760px) {
  .public-marketing-header {
    width: min(calc(100% - 20px), var(--sw-container));
    margin-top: 10px;
    border-radius: 22px;
  }
}


.auth-modal-panel {
  width: min(100%, 480px);
  max-height: min(calc(100vh - 24px), 680px);
  padding: 24px;
  gap: 16px;
  border-radius: 24px;
}

.auth-modal-heading {
  gap: 0;
}

.auth-modal-heading h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.05rem);
  line-height: 1.02;
}

.auth-modal-tabs {
  padding: 5px;
  border-radius: 17px;
}

.auth-modal-tab {
  min-height: 42px;
  border-radius: 13px;
}

.auth-modal-panel .form-stack {
  gap: 10px;
}

.auth-modal-panel .field {
  gap: 6px;
}

.auth-modal-panel .input {
  min-height: 48px;
  border-radius: 14px;
}

.auth-modal-consents {
  gap: 8px;
}

.auth-consent-option {
  font-size: 0.78rem;
  line-height: 1.38;
}

.auth-modal-actions {
  padding-top: 0;
}

.auth-modal-panel .button {
  min-height: 48px;
}

@media (max-width: 560px) {
  .auth-modal-panel {
    padding: 20px 16px;
    gap: 14px;
    border-radius: 22px;
  }
}


.sw-product-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 18px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, #0a6cff, #174edc);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(10, 108, 255, 0.22);
}

.sw-product-more:hover {
  transform: translateY(-1px);
}

.sw-gallery-card .sw-product-more {
  margin-top: 4px;
}

/* Responsive QA pass: desktop, iPhone 15 Pro, iPad mini 7, iPad Pro 11. */
@media (min-width: 1025px) and (max-width: 1180px) and (orientation: landscape) {
  .sw-solutions-layout,
  .sw-products-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) !important;
    gap: 20px;
    align-items: start;
  }

  .sw-solutions-layout > .sw-tabs,
  .sw-products-layout > .sw-tabs {
    width: 220px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px;
  }

  .sw-solutions-layout > .sw-tabs .sw-tab,
  .sw-products-layout > .sw-tabs .sw-product-tab {
    min-height: 46px;
    padding: 0 14px;
    text-align: left;
  }

  .sw-solution-preview,
  .sw-product-preview {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr) !important;
    gap: 18px;
    padding: 20px;
  }

  .sw-solution-copy h3,
  .sw-product-copy h3 {
    font-size: clamp(1.82rem, 2.2vw, 2.25rem);
  }

  .sw-solution-copy p,
  .sw-product-copy p {
    font-size: 0.96rem;
  }
}

@media (min-width: 700px) and (max-width: 900px) and (orientation: portrait) {
  .sw-hero {
    padding: 18px 24px 28px;
  }

  .sw-hero-center {
    margin-top: clamp(30px, 4.8vw, 42px);
  }

  .sw-hero-center h1 {
    max-width: 13.2ch;
    font-size: clamp(3.25rem, 7.3vw, 4.05rem);
    line-height: 0.96;
  }

  .sw-hero-center p {
    max-width: 58ch;
  }

  .sw-hero-dashboard {
    margin-top: 24px;
    max-width: min(720px, 100%);
  }

  .sw-panel,
  .sw-final-cta,
  .sw-footer {
    border-radius: 24px;
  }
}

@media (min-width: 376px) and (max-width: 640px) and (orientation: portrait) {
  .sw-solutions-layout > .sw-tabs,
  .sw-products-layout > .sw-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .sw-solutions-layout > .sw-tabs .sw-tab,
  .sw-products-layout > .sw-tabs .sw-product-tab {
    min-height: 44px;
    padding: 0 10px;
    justify-content: center;
    text-align: center;
  }

  .sw-solution-preview,
  .sw-product-preview {
    padding: 16px;
    gap: 16px;
  }

  .sw-solution-copy h3,
  .sw-product-copy h3 {
    font-size: clamp(1.72rem, 7vw, 2.08rem);
  }
}

@media (max-width: 640px) {
  .cookie-banner {
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }

  .cookie-banner-copy {
    gap: 4px;
  }

  .cookie-banner-copy strong {
    font-size: 0.88rem;
  }

  .cookie-banner-copy p {
    font-size: 0.76rem;
    line-height: 1.34;
  }

  .cookie-banner-actions {
    gap: 8px;
  }

  .cookie-button {
    min-height: 36px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 932px) and (orientation: landscape) {
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: min(460px, calc(100vw - 24px));
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .cookie-banner-copy {
    gap: 3px;
  }

  .cookie-banner-copy strong {
    font-size: 0.78rem;
  }

  .cookie-banner-copy p {
    font-size: 0.68rem;
    line-height: 1.26;
  }

  .cookie-banner-actions {
    display: flex;
    gap: 6px;
    width: auto;
  }

  .cookie-button {
    min-height: 32px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 0.68rem;
  }
}


.sw-faq-section {
  position: relative;
  z-index: 2;
}

.sw-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sw-faq-card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(31, 41, 55, 0.08);
}

.sw-faq-card h3 {
  margin: 0 0 10px;
  color: var(--sw-ink);
  font-size: 20px;
  line-height: 1.18;
}

.sw-faq-card p {
  margin: 0;
  color: var(--sw-muted);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .sw-faq-grid {
    grid-template-columns: 1fr;
  }
}
