/* site/styles/site.css — custom styles on top of colors_and_type.css */

/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ============ CONTAINER ============ */
.sw-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .sw-container { padding: 0 20px; } }

/* ============ TYPOGRAPHY ============ */
.sw-h1, .sw-h2, .sw-h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin: 0;
  color: inherit;
}

/* ============ EYEBROW ============ */
.sw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 22px;
}
.sw-eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--st-yellow);
  display: inline-block;
}
.sw-eyebrow--dark { color: rgba(255,255,255,0.75); }
.sw-eyebrow--accent .sw-eyebrow__dot { background: var(--st-yellow); }

/* ============ BUTTONS ============ */
.sw-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px 12px 24px;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}
.sw-btn .sw-arrow { transition: transform var(--dur-base) var(--ease-out); }
.sw-btn:hover .sw-arrow { transform: translateX(3px); }
.sw-btn--sm { padding: 9px 16px 9px 18px; font-size: 14px; }
.sw-btn--lg { padding: 16px 26px 16px 28px; font-size: 17px; }

.sw-btn--yellow {
  background: var(--st-yellow);
  color: var(--st-black);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.sw-btn--yellow:hover { background: var(--st-yellow-bright); transform: translateY(-1px); }
.sw-btn--yellow:active { background: var(--st-yellow-deep); transform: translateY(0); }

.sw-btn--outline {
  background: transparent;
  color: var(--st-black);
  box-shadow: inset 0 0 0 1.5px var(--st-black);
}
.sw-btn--outline:hover { background: var(--st-black); color: var(--st-white); }

.sw-btn--ghost {
  background: transparent;
  color: var(--st-black);
  padding: 12px 14px;
  position: relative;
}
.sw-btn--ghost::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px;
  background: var(--st-yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.sw-btn--ghost:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.sw-btn--ghost:hover { background: transparent; }
.sw-btn--ghost-dark { color: var(--st-white); }
.sw-btn--ghost-dark:hover { background: transparent; }

/* ============ NAV ============ */
.sw-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  transition: box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.sw-nav.is-scrolled { border-bottom-color: var(--border-1); }

.sw-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
}
.sw-nav__brand { display: inline-flex; align-items: center; }
.sw-nav__links { display: flex; gap: 6px; align-items: center; }
.sw-nav__links a {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-button);
  font-weight: 500;
  color: var(--fg-1);
  font-size: 15px;
  transition: background var(--dur-fast) var(--ease-out);
}
.sw-nav__links a::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; bottom: 4px;
  height: 2px;
  background: var(--st-yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.sw-nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.sw-nav__links a:hover { background: transparent; }
.sw-nav__right { display: flex; align-items: center; gap: 16px; }

/* Lang toggle */
.sw-lang {
  display: inline-flex;
  align-items: center;
  background: rgba(0,0,0,0.05);
  border-radius: var(--radius-button);
  padding: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.sw-lang button {
  border: 0; background: transparent;
  padding: 6px 11px; border-radius: var(--radius-button);
  color: var(--fg-2);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.sw-lang button.is-on { background: var(--st-black); color: var(--st-white); }
.sw-lang__sep { width: 1px; height: 14px; background: rgba(0,0,0,0.1); }
.sw-lang--dark { background: rgba(255,255,255,0.1); }
.sw-lang--dark button { color: rgba(255,255,255,0.65); }
.sw-lang--dark button.is-on { background: var(--st-yellow); color: var(--st-black); }
.sw-lang--dark .sw-lang__sep { background: rgba(255,255,255,0.15); }

@media (max-width: 860px) {
  .sw-nav__links { display: none; }
}

/* ============ HERO ============ */
.sw-hero {
  position: relative;
  padding: 64px 0 120px;
  background: var(--bg-page);
  overflow: hidden;
}
.sw-hero__inner { position: relative; }

/* Centered variant (default) */
.sw-hero__centered { text-align: center; max-width: 880px; margin: 0 auto; }
.sw-hero__centered .sw-eyebrow { justify-content: center; }
.sw-hero__h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-size: clamp(48px, 9vw, 124px);
  margin: 0 0 28px;
  color: var(--st-black);
}
.sw-hero__h1--big { font-size: clamp(56px, 11vw, 156px); }
.sw-hero__sub {
  font-size: 21px;
  line-height: 1.4;
  color: var(--fg-2);
  max-width: 640px;
  margin: 0 auto 36px;
}
.sw-hero__actions { display: inline-flex; gap: 18px; flex-wrap: wrap; justify-content: center; align-items: center; }
.sw-hero__centered .sw-hero__actions { justify-content: center; }

/* Split variant */
.sw-hero__split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.sw-hero__split .sw-hero__h1 { font-size: clamp(48px, 6.5vw, 88px); text-align: left; line-height: 0.95; }
.sw-hero__split .sw-hero__sub { text-align: left; margin: 0 0 28px; }
.sw-hero__split-right { display: flex; justify-content: flex-end; }
@media (max-width: 920px) {
  .sw-hero__split { grid-template-columns: 1fr; gap: 48px; }
  .sw-hero__split-right { justify-content: center; }
}

/* Stacked variant */
.sw-hero__stacked { text-align: left; max-width: 1100px; }
.sw-hero__stacked .sw-hero__h1 {
  display: block;
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.92;
}
.sw-hero__line1 { display: block; color: var(--fg-3); }
.sw-hero__line2 { display: block; color: var(--st-black); }
.sw-hero__stacked .sw-hero__sub { margin: 28px 0 32px; max-width: 620px; }

/* ============ MARQUEE / TRUSTED STRIP ============ */
.sw-marquee {
  background: var(--st-black);
  color: var(--st-white);
  padding: 28px 0;
  overflow: hidden;
}
.sw-marquee__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.sw-marquee__label {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--st-yellow);
}
.sw-marquee__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.sw-marquee__track {
  display: flex;
  gap: 48px;
  flex-wrap: nowrap;
  width: max-content;
  animation: sw-marquee-scroll 40s linear infinite;
}
.sw-marquee__track .sw-customer-logo {
  color: rgba(255,255,255,0.55);
  font-size: 17px;
  white-space: nowrap;
  pointer-events: none;
}
@keyframes sw-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .sw-marquee__track { animation: none; }
}

/* ============ HERO CHANNELS PREVIEW (compact inline strip) ============ */
.sw-hero__channels {
  display: flex;
  gap: 22px;
  flex-wrap: nowrap;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-1);
  align-items: center;
}
.sw-hero__channels--centered { justify-content: center; }
.sw-hero__channel-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.sw-hero__channel-name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  font-size: 16px;
  line-height: 1;
  color: var(--st-black);
}
@media (max-width: 720px) {
  .sw-hero__channels { flex-wrap: wrap; gap: 14px; padding-top: 16px; margin-top: 24px; justify-content: center; }
  .sw-hero__channel-name { font-size: 14px; }
}

/* ============ CHECK ICON SIZES ============ */
.sw-check { width: 18px; height: 18px; flex-shrink: 0; }
.sw-pt__cell .sw-check { width: 16px; height: 16px; }

/* ============ CUSTOMER LOGO (placeholder) ============ */
.sw-customer-logo {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  color: rgba(0,0,0,0.65);
  transition: color var(--dur-fast) var(--ease-out);
}
.sw-customer-logo:hover { color: var(--st-black); }
.sw-customer-logo--img img {
  display: block;
  max-height: 56px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.sw-customer-logo--img:hover img { opacity: 1; }
/* Marquee is on black bg: invert the grayscale logos to white-ish */
.sw-marquee__track .sw-customer-logo--img img {
  filter: invert(1) brightness(1.1);
  opacity: 0.7;
  max-height: 42px;
  max-width: 140px;
}
.sw-customers__grid .sw-customer-logo--img img {
  max-height: 64px;
  max-width: 170px;
}

/* ============ PAIN SECTION ============ */
.sw-pain {
  background: var(--st-black);
  color: var(--st-white);
  padding: 120px 0 120px;
  position: relative;
  overflow: hidden;
}
.sw-pain__head { max-width: 820px; margin-bottom: 80px; }
.sw-pain__h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.025em;
  line-height: 0.98;
  font-size: clamp(40px, 6vw, 72px);
  margin: 0 0 32px;
  color: var(--st-white);
}
.sw-pain__body {
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  max-width: 720px;
  margin: 0 0 16px;
}
.sw-pain__body2 {
  font-size: 22px;
  font-weight: 500;
  color: var(--st-yellow);
  margin: 16px 0 0;
  max-width: 720px;
}
.sw-pain__bridge {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: stretch;
  margin-top: 32px;
}
.sw-pain__col {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-card);
  padding: 32px;
}
.sw-pain__col--before {
  background: var(--st-white);
  border-color: var(--border-1);
  color: var(--st-black);
}
.sw-pain__col--before .sw-pain__col-h { color: var(--st-black); }
.sw-pain__col--after {
  background: var(--st-yellow);
  border-color: var(--st-yellow);
  color: var(--st-black);
}
.sw-pain__col-h {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.7;
}
.sw-pain__col--after .sw-pain__col-h { opacity: 1; color: var(--st-black); }
.sw-pain__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.sw-pain__col li {
  font-size: 19px;
  line-height: 1.3;
  position: relative;
  padding-left: 22px;
}
.sw-pain__col li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.35em;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
}
.sw-pain__col--after li::before {
  width: 12px; height: 12px; top: 0.35em;
  border-radius: 50%;
  background: var(--st-black);
  opacity: 1;
}
.sw-pain__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
@media (max-width: 920px) {
  .sw-pain__bridge { grid-template-columns: 1fr; }
  .sw-pain__arrow { padding: 12px 0; }
}

/* ============ SOLUTION BRIDGE ============ */
.sw-solution {
  background: var(--bg-page);
  padding: 100px 0 60px;
}
.sw-solution__inner { max-width: 980px; }
.sw-solution__h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.025em;
  line-height: 0.98;
  font-size: clamp(40px, 6vw, 72px);
  margin: 0;
  color: var(--st-black);
}

/* ============ SECTION HEAD (generic) ============ */
.sw-section__head { max-width: 800px; margin: 0 0 56px; }
.sw-section__head--center { margin: 0 auto 56px; text-align: center; }
.sw-section__head--center .sw-eyebrow { justify-content: center; }
.sw-section__h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.025em;
  line-height: 0.98;
  font-size: clamp(36px, 5.2vw, 64px);
  margin: 0 0 22px;
  color: var(--st-black);
}
.sw-section__lead {
  font-size: 19px;
  line-height: 1.5;
  color: var(--fg-2);
  margin: 0;
  max-width: 640px;
}
.sw-section__head--center .sw-section__lead { margin: 0 auto; }

/* ============ CHANNELS ============ */
.sw-channels { background: var(--bg-soft); padding: 120px 0; }
.sw-channels .sw-channel-card { background: var(--st-white); }

/* Grid layout */
.sw-channels__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 920px) { .sw-channels__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .sw-channels__grid { grid-template-columns: 1fr; } }
.sw-channel-card {
  background: var(--st-white);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-card);
  padding: 32px;
}
.sw-channel-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  font-size: 28px;
  margin: 20px 0 4px;
}
.sw-channel-card__tag {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fg-2);
  margin: 0 0 14px;
}
.sw-channel-card__body { margin: 0; color: var(--fg-2); font-size: 15px; line-height: 1.55; }

/* Row layout */
.sw-channels__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 920px) { .sw-channels__row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sw-channels__row { grid-template-columns: 1fr; } }
.sw-channel-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  padding: 18px;
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.sw-channel-chip:hover { border-color: var(--st-black); transform: translateY(-1px); }
.sw-channel-chip__name { font-family: var(--font-display); font-weight: 700; text-transform: lowercase; letter-spacing: -0.02em; font-size: 20px; line-height: 1; }
.sw-channel-chip__tag { font-size: 13px; color: var(--fg-2); margin-top: 4px; line-height: 1.3; }

/* Stack layout */
.sw-channels__stack { display: flex; flex-direction: column; gap: 16px; }
.sw-channel-strip {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--bg-soft);
  border-radius: var(--radius-card);
  padding: 36px;
}
.sw-channel-strip.is-flip { background: var(--st-yellow); }
.sw-channel-strip__name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  font-size: 40px;
  margin: 0 0 4px;
  line-height: 1;
}
.sw-channel-strip__tag {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--fg-2);
}
.sw-channel-strip.is-flip .sw-channel-strip__tag { color: rgba(0,0,0,0.6); }
.sw-channel-strip__body { margin: 0; font-size: 17px; line-height: 1.5; color: var(--fg-2); max-width: 720px; }
.sw-channel-strip.is-flip .sw-channel-strip__body { color: rgba(0,0,0,0.78); }
@media (max-width: 720px) {
  .sw-channel-strip { grid-template-columns: 1fr; text-align: center; }
  .sw-channel-strip__pin { justify-self: center; }
}

.sw-channels__appnote {
  text-align: center;
  font-size: 14px;
  font-style: italic;
  color: var(--fg-3);
  margin: 48px 0 0;
}

/* ============ STATS — YELLOW FLOOD ============ */
.sw-stats {
  background: var(--st-yellow);
  color: var(--st-black);
  padding: 120px 0;
}
.sw-stats .sw-eyebrow__dot { background: var(--st-black); }
.sw-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}
@media (max-width: 920px) { .sw-stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sw-stats__grid { grid-template-columns: 1fr; } }
.sw-stat {
  border-top: 2px solid var(--st-black);
  padding-top: 24px;
}
.sw-stat__value {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: -0.04em;
  line-height: 1;
  font-size: clamp(64px, 7vw, 96px);
  color: var(--st-black);
}
.sw-stat--black .sw-stat__value { color: var(--st-black); }
.sw-stat__label {
  font-size: 17px;
  line-height: 1.35;
  margin-top: 16px;
  font-weight: 500;
  color: var(--st-black);
}
.sw-stat__source {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin-top: 16px;
  font-weight: 600;
}

/* ============ CUSTOMERS GRID ============ */
.sw-customers { background: var(--bg-page); padding: 120px 0; }
.sw-customers__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px 48px;
  margin-bottom: 32px;
  align-items: center;
  justify-items: center;
}
@media (max-width: 920px) { .sw-customers__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .sw-customers__grid { grid-template-columns: repeat(2, 1fr); } }
.sw-customers__grid .sw-customer-logo {
  color: rgba(0,0,0,0.55);
  font-size: 19px;
  text-align: center;
}
.sw-customers__note {
  text-align: center;
  font-size: 13px;
  color: var(--fg-3);
  font-style: italic;
  margin: 32px 0 0;
}

/* ============ PRICING ============ */
.sw-pricing { background: var(--bg-soft); padding: 120px 0; }
.sw-pricing__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 1100px) { .sw-pricing__cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 920px) { .sw-pricing__cards { grid-template-columns: 1fr; } }
.sw-plan {
  background: var(--st-white);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.sw-plan.is-popular {
  background: var(--st-black);
  color: var(--st-white);
  border-color: var(--st-black);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.sw-plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--st-yellow);
  color: var(--st-black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-badge);
  white-space: nowrap;
}
.sw-plan__head { margin-bottom: 24px; }
.sw-plan__name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  font-size: 28px;
  line-height: 1;
}
.sw-plan__tag {
  font-size: 13px;
  color: var(--fg-2);
  margin-top: 6px;
  font-weight: 500;
}
.sw-plan.is-popular .sw-plan__tag { color: rgba(255,255,255,0.65); }
.sw-plan__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.sw-plan__amount {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 56px;
  line-height: 1;
}
.sw-plan__per {
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-2);
}
.sw-plan.is-popular .sw-plan__per { color: rgba(255,255,255,0.65); }
.sw-plan__billing {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 2px;
}
.sw-plan.is-popular .sw-plan__billing { color: rgba(255,255,255,0.5); }
.sw-plan__contacts {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
  letter-spacing: 0.02em;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-1);
}
.sw-plan.is-popular .sw-plan__contacts { color: rgba(255,255,255,0.85); border-top-color: rgba(255,255,255,0.15); }
.sw-plan__features {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.sw-plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.4;
}
.sw-plan__features svg { flex-shrink: 0; margin-top: 2px; }
.sw-plan__cta .sw-btn { width: 100%; justify-content: space-between; }
.sw-plan.is-popular .sw-btn--outline {
  color: var(--st-white);
  box-shadow: inset 0 0 0 1.5px var(--st-white);
}
.sw-plan.is-popular .sw-btn--outline:hover {
  background: var(--st-white);
  color: var(--st-black);
}
/* table on desktop, cards on mobile */
.sw-pricing__cards-mobile { display: none; }
@media (max-width: 920px) {
  .sw-pricing__table-wrap { display: none; }
  .sw-pricing__cards-mobile { display: block; }
}

.sw-pricing__notes {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-3);
  text-align: center;
}

/* Pricing table layout */
.sw-pricing-table {
  background: var(--st-white);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.sw-pt__head, .sw-pt__row, .sw-pt__foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 0;
}
.sw-pt__cell {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-1);
  position: relative;
}
.sw-pt__cell--first {
  font-weight: 600;
  color: var(--fg-2);
  background: var(--bg-soft);
}
.sw-pt__cell--lbl {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 700;
}
.sw-pt__col-h { flex-direction: column; align-items: flex-start; padding: 28px 24px 22px; }
.sw-pt__col-h.is-popular,
.sw-pt__head .sw-pt__cell.sw-pt__col-h.is-popular { background: var(--st-black); color: var(--st-white); }
.sw-pt__col-h.is-popular .sw-pt__contacts { color: rgba(255,255,255,0.7); }
.sw-pt__badge {
  background: var(--st-yellow);
  color: var(--st-black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-badge);
  margin-bottom: 6px;
}
.sw-pt__name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.sw-pt__price { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; }
.sw-pt__price span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.sw-pt__price small { font-size: 13px; color: var(--fg-2); }
.sw-pt__col-h.is-popular .sw-pt__price small { color: rgba(255,255,255,0.7); }
.sw-pt__billing {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 2px;
}
.sw-pt__col-h.is-popular .sw-pt__billing { color: rgba(255,255,255,0.5); }
.sw-pt__contacts { font-size: 12px; font-weight: 600; color: var(--fg-2); margin-top: 8px; }
.sw-pt__cell.is-popular { background: rgba(0,0,0,0.04); }
.sw-pt__foot { border-top: 1px solid var(--border-1); }
.sw-pt__foot .sw-pt__cell { padding: 20px; }
.sw-pt__foot .sw-pt__cell.is-popular { background: rgba(0,0,0,0.04); }
@media (max-width: 920px) {
  .sw-pt__head, .sw-pt__row, .sw-pt__foot { grid-template-columns: 1fr; }
  .sw-pt__cell--first { display: none; }
}

/* ============ FAQ ============ */
.sw-faq { background: var(--bg-page); padding: 120px 0; }
.sw-faq__list { max-width: 820px; margin: 0 auto; }
.sw-faq details {
  border-bottom: 1px solid var(--border-1);
  padding: 4px 0;
}
.sw-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 19px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.sw-faq summary::-webkit-details-marker { display: none; }
.sw-faq__plus {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--st-black);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.sw-faq details[open] .sw-faq__plus { background: var(--st-yellow); transform: rotate(45deg); }
.sw-faq__a {
  padding: 0 32px 28px 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-2);
}

/* ============ FINAL CTA ============ */
.sw-finalcta {
  background: var(--st-black);
  color: var(--st-white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.sw-finalcta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}
.sw-finalcta__h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-size: clamp(48px, 7vw, 96px);
  margin: 0 0 24px;
  color: var(--st-white);
}
.sw-finalcta__sub {
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  margin: 0 0 36px;
  max-width: 540px;
}
.sw-finalcta__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.sw-finalcta__alt { font-size: 14px; color: rgba(255,255,255,0.55); }
.sw-finalcta__email {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  padding-left: 4px;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.sw-finalcta__email:hover { color: var(--st-yellow); }
.sw-finalcta__right { position: relative; }
@media (max-width: 920px) {
  .sw-finalcta__inner { grid-template-columns: 1fr; }
  .sw-finalcta__right { display: none; }
}

/* ============ FOOTER ============ */
.sw-footer {
  background: var(--st-black);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.sw-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 3fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sw-footer__brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.sw-footer__tagline {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  font-size: 24px;
  margin: 0;
  color: var(--st-white);
}
.sw-footer__pins { display: flex; gap: 6px; margin-top: 8px; }
.sw-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.sw-footer__col-h {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--st-yellow);
  font-weight: 700;
  margin-bottom: 16px;
}
.sw-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sw-footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color var(--dur-fast) var(--ease-out);
}
.sw-footer__col a:hover { color: var(--st-white); }
.sw-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  gap: 16px;
}
.sw-footer__copy { font-size: 12px; color: rgba(255,255,255,0.5); }
@media (max-width: 920px) {
  .sw-footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .sw-footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* ============ CONSOLE MOCK (hero split right) ============ */
.sw-console {
  background: var(--st-white);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-card);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.25), 0 8px 24px -8px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 580px;
  overflow: hidden;
  font-size: 13px;
}
.sw-console__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-1);
}
.sw-console__dots { display: flex; gap: 6px; }
.sw-console__dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,0.12); }
.sw-console__url {
  background: var(--st-white);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-card);
  padding: 4px 12px;
  font-size: 11px;
  color: var(--fg-3);
  flex: 1;
  text-align: center;
}
.sw-console__profile {
  width: 22px; height: 22px;
  background: var(--st-yellow);
  color: var(--st-black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}
.sw-console__body { display: grid; grid-template-columns: 180px 1fr; min-height: 340px; }
.sw-console__nav {
  background: var(--bg-soft);
  padding: 14px 12px;
  border-right: 1px solid var(--border-1);
}
.sw-console__logo { margin-bottom: 16px; padding: 4px 6px; }
.sw-console__nav ul { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 2px; }
.sw-console__nav li {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; border-radius: 6px;
  font-size: 12px; color: var(--fg-2);
  cursor: default;
}
.sw-console__nav li .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fg-muted);
}
.sw-console__nav li.is-active { background: var(--st-black); color: var(--st-white); }
.sw-console__nav li.is-active .dot { background: var(--st-yellow); }
.sw-console__channels { border-top: 1px solid var(--border-1); padding-top: 12px; }
.sw-console__channels .lbl {
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-3); padding: 0 8px; margin-bottom: 6px;
}
.sw-console__channels .row {
  display: flex; align-items: center; gap: 6px;
  padding: 3px 8px; font-size: 11px; color: var(--fg-1);
}
.sw-console__channels .row span:nth-of-type(1) { flex: 1; }
.sw-console__channels .row .dim { color: var(--fg-3); font-size: 10px; }
.sw-console__main { padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.sw-console__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sw-console__header .kicker {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3); font-weight: 700;
}
.sw-console__header .title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  font-size: 22px;
  margin-top: 4px;
}
.sw-console__send {
  background: var(--st-black); color: var(--st-white);
  border: 0; border-radius: var(--radius-button);
  padding: 7px 13px; font-size: 11px; font-weight: 600;
  cursor: default;
}
.sw-console__cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.sw-console__cards .card {
  background: var(--bg-soft);
  border-radius: var(--radius-card);
  padding: 10px 12px;
}
.sw-console__cards .card__k { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); font-weight: 700; }
.sw-console__cards .card__v { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; margin-top: 4px; line-height: 1; }
.sw-console__cards .card__sm { font-size: 14px; color: var(--fg-2); margin-left: 1px; }
.sw-console__cards .card__bar {
  margin-top: 10px;
  height: 4px; border-radius: 999px;
  background: rgba(0,0,0,0.07);
  overflow: hidden;
}
.sw-console__cards .card__bar span {
  display: block; height: 100%;
  background: var(--st-yellow);
  border-radius: 999px;
}
.sw-console__segments {
  background: var(--bg-soft);
  border-radius: var(--radius-card);
  padding: 12px;
  flex: 1;
}
.sw-console__segments .seg-head {
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-3); font-weight: 700; margin-bottom: 8px;
}
.sw-console__segments .seg-row {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 11px;
}
.sw-console__segments .seg-row:first-of-type { border-top: 0; }
.sw-console__segments .seg-tag {
  background: var(--st-white);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-badge);
  padding: 3px 9px;
  font-weight: 500;
  color: var(--fg-1);
  flex: 1;
}
.sw-console__segments .seg-tag.yellow { background: var(--st-yellow); border-color: var(--st-yellow); color: var(--st-black); font-weight: 600; }
.sw-console__segments .seg-dim { color: var(--fg-3); font-size: 10px; flex-shrink: 0; }

/* ============ PALETTE MODES ============ */
.sw-palette--yellow .sw-hero { background: var(--st-yellow); }
.sw-palette--yellow .sw-solution { background: var(--st-yellow); }
.sw-palette--yellow .sw-channels { background: var(--st-yellow); }
.sw-palette--yellow .sw-channels .sw-channel-card { background: var(--st-white); }
.sw-palette--yellow .sw-pricing { background: var(--st-yellow); }
.sw-palette--yellow .sw-customers { background: var(--bg-page); }
.sw-palette--yellow .sw-faq { background: var(--bg-page); }
.sw-palette--yellow .sw-stats { background: var(--st-black); color: var(--st-white); }
.sw-palette--yellow .sw-stats .sw-stat { border-top-color: var(--st-yellow); }
.sw-palette--yellow .sw-stats .sw-stat__value { color: var(--st-yellow); }
.sw-palette--yellow .sw-stats .sw-stat__label { color: var(--st-white); }
.sw-palette--yellow .sw-stats .sw-stat__source { color: rgba(255,255,255,0.55); }

.sw-palette--calm .sw-stats { background: var(--bg-page); color: var(--st-black); }
.sw-palette--calm .sw-stats .sw-stat { border-top-color: var(--st-black); }
.sw-palette--calm .sw-pain { background: var(--st-white); color: var(--st-black); }
.sw-palette--calm .sw-pain .sw-pain__h2 { color: var(--st-black); }
.sw-palette--calm .sw-pain .sw-pain__body { color: var(--fg-2); }
.sw-palette--calm .sw-pain .sw-pain__col { background: var(--bg-soft); border-color: var(--border-1); color: var(--st-black); }
.sw-palette--calm .sw-pain .sw-eyebrow--dark { color: var(--fg-2); }
.sw-palette--calm .sw-finalcta { background: var(--st-yellow); color: var(--st-black); }
.sw-palette--calm .sw-finalcta .sw-finalcta__h2 { color: var(--st-black); }
.sw-palette--calm .sw-finalcta .sw-finalcta__sub { color: rgba(0,0,0,0.72); }
.sw-palette--calm .sw-finalcta .sw-eyebrow--dark { color: rgba(0,0,0,0.7); }
.sw-palette--calm .sw-finalcta .sw-btn--yellow { background: var(--st-black); color: var(--st-white); }
.sw-palette--calm .sw-finalcta .sw-btn--yellow:hover { background: var(--st-gray-800); }
.sw-palette--calm .sw-finalcta__alt { color: rgba(0,0,0,0.6); }

/* ============ COOKIE BANNER ============ */
.sw-cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--st-gray-900);
  color: var(--st-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  border-top: 1px solid rgba(255,255,255,0.10);
  font-family: var(--font-body);
  font-size: var(--fs-small);
}
.sw-cookie-banner__text {
  margin: 0;
  color: rgba(255,255,255,0.75);
  line-height: var(--lh-body);
  max-width: 680px;
}
.sw-cookie-banner__link {
  color: var(--st-yellow);
  text-decoration: none;
  white-space: nowrap;
}
.sw-cookie-banner__link:hover { text-decoration: underline; }
.sw-cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .sw-cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 28px;
    gap: 16px;
  }
  .sw-cookie-banner__actions { width: 100%; }
  .sw-cookie-banner__actions .sw-btn { flex: 1; justify-content: center; }
}
