/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --purple: #7171d3;
  --purple-light: #8f8fe0;
  --purple-dark: #5a5ab8;
  --turquoise: #77bccc;
  --turquoise-light: #a3d5e0;
  --white: #ffffff;
  --off-white: #fafafe;
  --gray-100: #f4f4f8;
  --gray-200: #e8e8f0;
  --gray-500: #6b6b80;
  --gray-800: #2a2a3d;
  --black: #1a1a2e;

  --font-display: 'DM Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --nav-height: 64px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

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

/* ===== Navigation (Floating Header) ===== */
.floating-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 48px);
  max-width: 800px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 16px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.floating-header--hidden {
  transform: translateX(-50%) translateY(-120%);
  opacity: 0;
  pointer-events: none;
}

.floating-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
}

.nav-logo {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}

.nav-logo img {
  height: 26px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--black);
  display: inline-flex;
  align-items: center;
}

.nav-link:hover {
  color: var(--purple);
  -webkit-text-stroke: 0.5px currentColor;
}

/* Corner brackets */
.nav-link::before,
.nav-link::after,
.nav-link span::before,
.nav-link span::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-link::before {
  top: 0;
  left: 0;
  border-top: 2.5px solid var(--purple);
  border-left: 2.5px solid var(--purple);
  transform: translate(4px, 4px);
}

.nav-link::after {
  top: 0;
  right: 0;
  border-top: 2.5px solid var(--purple);
  border-right: 2.5px solid var(--purple);
  transform: translate(-4px, 4px);
}

.nav-link span::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-bottom: 2.5px solid var(--purple);
  border-left: 2.5px solid var(--purple);
  transform: translate(4px, -4px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-link span::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-bottom: 2.5px solid var(--purple);
  border-right: 2.5px solid var(--purple);
  transform: translate(-4px, -4px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-link:hover::before,
.nav-link:hover::after,
.nav-link:hover span::before,
.nav-link:hover span::after {
  opacity: 1;
  transform: translate(0, 0);
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mask Animation Wrapper */
.btn-mask-wrap {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  border-radius: 7px;
  border: 1px solid var(--black);
}

.btn-mask-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  pointer-events: none;
  z-index: 0;
}

.btn.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 7px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-mask-wrap .btn-nav {
  position: relative;
  z-index: 1;
  width: 100%;
  border: none;
  border-radius: 0;
  background: var(--black);
  -webkit-mask: url("https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/urban-sprite.png");
  mask: url("https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/urban-sprite.png");
  -webkit-mask-size: 3000% 100%;
  mask-size: 3000% 100%;
  -webkit-animation: maskOut 0.7s steps(29) forwards;
  animation: maskOut 0.7s steps(29) forwards;
}

.btn-mask-wrap .btn-nav:hover {
  -webkit-animation: maskIn 0.7s steps(29) forwards;
  animation: maskIn 0.7s steps(29) forwards;
  transform: none;
}

@keyframes maskIn {
  from { -webkit-mask-position: 0 0; mask-position: 0 0; }
  to   { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
}

@keyframes maskOut {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to   { -webkit-mask-position: 0 0; mask-position: 0 0; }
}

/* Blob button (bubble fill effect) */
.blob-btn {
  position: relative;
  display: inline-block;
  padding: 14px 32px;
  text-align: center;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  background-color: transparent;
  outline: none;
  border: 2px solid var(--white);
  transition: color 0.5s, border-color 0.5s;
  cursor: pointer;
  border-radius: 30px;
  isolation: isolate;
  text-decoration: none;
}

.blob-btn:hover {
  color: var(--white);
  border-color: #4a9aad;
}

.blob-btn__text {
  position: relative;
  z-index: 3;
}

.blob-btn__inner {
  z-index: 1;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: transparent;
}

.blob-btn__blobs {
  position: relative;
  display: block;
  height: 100%;
  filter: url('#goo');
}

.blob-btn__blob {
  position: absolute;
  top: 2px;
  width: 30%;
  height: 100%;
  background: var(--turquoise);
  border-radius: 100%;
  transform: translate3d(0, 300%, 0) scale(1.8);
  transition: transform 0.45s;
}

@supports (filter: url('#goo')) {
  .blob-btn__blob {
    transform: translate3d(0, 300%, 0) scale(1.5);
  }
}

.blob-btn__blob:nth-child(1) { left: -5%; transition-delay: 0s; }
.blob-btn__blob:nth-child(2) { left: 25%; transition-delay: 0.08s; }
.blob-btn__blob:nth-child(3) { left: 55%; transition-delay: 0.16s; }
.blob-btn__blob:nth-child(4) { left: 85%; transition-delay: 0.24s; }

.blob-btn:hover .blob-btn__blob {
  transform: translateZ(0) scale(1.8);
}

@supports (filter: url('#goo')) {
  .blob-btn:hover .blob-btn__blob {
    transform: translateZ(0) scale(1.5);
  }
}

/* Hamburger button (hidden on desktop) */
.btn-menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: none;
  cursor: pointer;
  color: var(--black);
  transition: background 0.15s;
}

.btn-menu:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  transition: background 0.15s;
}

.mobile-menu a:hover {
  background: rgba(0, 0, 0, 0.05);
}

.mobile-cta {
  margin-top: 4px;
  text-align: center;
  padding: 10px 14px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  background: var(--black);
  color: var(--white) !important;
  border-radius: 8px;
}

.mobile-menu__lang {
  padding: 6px 12px 0;
}

/* Language Toggle (pill switch EN/NL) */
.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: 50px;
  padding: 3px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8);
}

.lang-toggle__slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  background: var(--white);
  border-radius: 50px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.lang-toggle.is-nl .lang-toggle__slider {
  transform: translateX(100%);
}

.lang-toggle__opt {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--gray-500);
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
  line-height: 1;
}

.lang-toggle__opt--active {
  color: var(--black);
}

.lang-toggle__flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.lang-toggle__flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.lang-toggle__text {
  user-select: none;
}

/* ===== Shared Components ===== */
.sw-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.sw-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.sw-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
  max-width: 800px;
  margin: 0 auto;
  text-wrap: balance;
}

.sw-section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--purple);
}

/* Primary CTA Button */
.sw-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sw-btn-primary:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.sw-btn-primary--light {
  background: var(--white);
  color: var(--black);
}

.sw-btn-primary--light:hover {
  background: var(--gray-100);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Pilot form submit button (matches main landing page contact form) */
.sw-pilot__submit.blob-btn {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 14px 28px;
  border-color: var(--black);
  color: var(--black);
}

.sw-pilot__submit .blob-btn__inner {
  background: var(--white);
}

.sw-pilot__submit .blob-btn__blob {
  width: 35%;
  background: var(--purple);
  transform: translate3d(0, 500%, 0) scale(2.2);
}

.sw-pilot__submit:hover .blob-btn__blob {
  transform: translateZ(0) scale(2.2);
}

.sw-pilot__submit.blob-btn:hover {
  color: var(--white);
  border-color: var(--purple);
}

/* ===== Hero ===== */
.sw-hero {
  position: relative;
  z-index: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  overflow: visible;
  background: #5a4fb5;
  /* --hero-card-scale is set by JS for fluid card scaling */
}

.sw-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sw-hero__noise {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: overlay;
  filter: url('#noise') contrast(200%);
  background: white;
}

.sw-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  opacity: 0.06;
  z-index: 2;
}

.sw-hero__grad {
  position: absolute;
  z-index: 1;
  filter: blur(60px);
  will-change: transform;
}

.sw-hero__grad--1 {
  width: 70%;
  height: 50%;
  top: -15%;
  right: -20%;
  background: linear-gradient(135deg, #8a7ed8, #6e63c7);
  border-radius: 30% 70% 60% 40% / 50% 30% 70% 50%;
  animation: swHeroFlow1 20s ease-in-out infinite alternate;
}

.sw-hero__grad--2 {
  width: 65%;
  height: 50%;
  top: -5%;
  left: -12%;
  background: linear-gradient(160deg, #7a6fd0, #5fb3c4);
  border-radius: 70% 30% 40% 60% / 40% 60% 40% 60%;
  animation: swHeroFlow2 25s ease-in-out infinite alternate;
}

.sw-hero__grad--3 {
  width: 80%;
  height: 55%;
  bottom: -25%;
  right: -10%;
  background: linear-gradient(200deg, #a3d5e0, #77bccc);
  border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%;
  animation: swHeroFlow3 22s ease-in-out infinite alternate;
}

.sw-hero__grad--4 {
  width: 60%;
  height: 55%;
  bottom: -10%;
  left: -15%;
  background: linear-gradient(45deg, #6e63c7, #8a7ed8);
  border-radius: 40% 60% 70% 30% / 50% 50% 50% 50%;
  animation: swHeroFlow4 18s ease-in-out infinite alternate;
}

.sw-hero__grad--5 {
  width: 45%;
  height: 60%;
  top: 30%;
  right: -12%;
  background: linear-gradient(180deg, #7a6fd0, #9585e0);
  border-radius: 60% 40% 50% 50% / 30% 70% 30% 70%;
  animation: swHeroFlow5 24s ease-in-out infinite alternate;
}

.sw-hero__grad--6 {
  width: 40%;
  height: 50%;
  top: 35%;
  left: -8%;
  background: linear-gradient(0deg, #77bccc, #7a6fd0);
  border-radius: 50% 50% 40% 60% / 70% 30% 70% 30%;
  animation: swHeroFlow6 21s ease-in-out infinite alternate;
}

@keyframes swHeroFlow1 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); border-radius: 30% 70% 60% 40% / 50% 30% 70% 50%; }
  50%  { transform: translate(-8%, 12%) rotate(8deg) scale(1.1); border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%; }
  100% { transform: translate(-15%, 5%) rotate(-5deg) scale(0.95); border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%; }
}

@keyframes swHeroFlow2 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); border-radius: 70% 30% 40% 60% / 40% 60% 40% 60%; }
  50%  { transform: translate(10%, 8%) rotate(-10deg) scale(1.05); border-radius: 40% 60% 60% 40% / 60% 40% 50% 50%; }
  100% { transform: translate(5%, 15%) rotate(5deg) scale(1.1); border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%; }
}

@keyframes swHeroFlow3 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%; }
  50%  { transform: translate(-10%, -5%) rotate(6deg) scale(1.08); border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%; }
  100% { transform: translate(5%, -10%) rotate(-8deg) scale(0.95); border-radius: 40% 60% 45% 55% / 55% 45% 55% 45%; }
}

@keyframes swHeroFlow4 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); border-radius: 40% 60% 70% 30% / 50% 50% 50% 50%; }
  50%  { transform: translate(12%, -8%) rotate(12deg) scale(1.1); border-radius: 60% 40% 40% 60% / 40% 60% 50% 50%; }
  100% { transform: translate(8%, -15%) rotate(-3deg) scale(1.05); border-radius: 50% 50% 55% 45% / 60% 40% 45% 55%; }
}

@keyframes swHeroFlow5 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); border-radius: 60% 40% 50% 50% / 30% 70% 30% 70%; }
  50%  { transform: translate(-8%, -10%) rotate(-7deg) scale(1.05); border-radius: 40% 60% 60% 40% / 50% 50% 45% 55%; }
  100% { transform: translate(-5%, 8%) rotate(10deg) scale(0.9); border-radius: 55% 45% 45% 55% / 60% 40% 55% 45%; }
}

@keyframes swHeroFlow6 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); border-radius: 50% 50% 40% 60% / 70% 30% 70% 30%; }
  50%  { transform: translate(10%, -5%) rotate(8deg) scale(1.1); border-radius: 60% 40% 55% 45% / 40% 60% 45% 55%; }
  100% { transform: translate(5%, 10%) rotate(-6deg) scale(0.95); border-radius: 45% 55% 50% 50% / 55% 45% 60% 40%; }
}

/* Hero bubbles */
.sw-hero__bubble {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
  opacity: 0;
  z-index: 2;
  animation: swHeroBubble 18s ease-in-out infinite;
}

.sw-hero__bubble--1 { width: 18px; height: 18px; background: rgba(119, 188, 204, 0.3);  left: 5%;  top: 80%; animation-delay: 0s;  animation-duration: 18s; }
.sw-hero__bubble--2 { width: 12px; height: 12px; background: rgba(184, 176, 232, 0.25); left: 18%; top: 90%; animation-delay: 4s;  animation-duration: 22s; }
.sw-hero__bubble--3 { width: 22px; height: 22px; background: rgba(119, 188, 204, 0.2);  left: 35%; top: 85%; animation-delay: 2s;  animation-duration: 20s; }
.sw-hero__bubble--4 { width: 10px; height: 10px; background: rgba(149, 133, 224, 0.3);  left: 55%; top: 92%; animation-delay: 7s;  animation-duration: 16s; }
.sw-hero__bubble--5 { width: 16px; height: 16px; background: rgba(119, 188, 204, 0.25); left: 70%; top: 78%; animation-delay: 1s;  animation-duration: 24s; }
.sw-hero__bubble--6 { width: 14px; height: 14px; background: rgba(163, 213, 224, 0.3);  left: 85%; top: 88%; animation-delay: 5s;  animation-duration: 19s; }

@keyframes swHeroBubble {
  0%   { transform: translateY(0) translateX(0) scale(0.5); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translateY(-90vh) translateX(20px) scale(1.2); opacity: 0; }
}

/* Grid background */
.sw-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 30%, transparent 75%);
  z-index: 2;
}

/* Frosted glass folder card — hero bottom left */
/* Folder stack wrapper — holds front + back folder */
.sw-hero-folder-stack {
  position: absolute;
  left: 2%;
  bottom: 6%;
  z-index: 4;
  transform: rotate(3deg);
  animation: folderFloat 5s ease-in-out infinite;
  scale: var(--hero-card-scale);
  transform-origin: left bottom;
  transition: scale 0.3s ease;
  will-change: transform;
}

/* Individual hover triggers for each element in the stack */

/* Back folder — offset behind, matches ghost card style */
.sw-hero-folder-back {
  display: none; /* hidden for now */
  position: absolute;
  inset: 0;
  transform: translate(-50%, 114px) rotate(-4deg);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.12));
  z-index: 1;
}

.sw-hero-folder {
  position: relative;
  width: 240px;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.15));
  transition: transform 0.15s ease;
}

.sw-hero-folder:hover {
  transform: scale(1.03);
}

/* Single glass background — folder shape via SVG clip-path */
.sw-hero-folder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  clip-path: url(#folder-clip);
}

.sw-hero-folder::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  clip-path: url(#folder-clip);
  pointer-events: none;
}

/* Empty tab — just reserves space for the folder tab shape */
.sw-hero-folder__tab {
  position: relative;
  z-index: 1;
  height: 20px;
}

/* Body content */
.sw-hero-folder__body {
  position: relative;
  z-index: 1;
  padding: 10px 16px 14px;
}

.sw-hero-folder__title {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.sw-hero-folder__items {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: 4px 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.sw-hero-folder__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
}

.sw-hero-folder__item + .sw-hero-folder__item {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.sw-hero-folder__check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sw-hero-folder__check--done {
  background: rgba(16, 185, 129, 0.7);
  border-color: rgba(16, 185, 129, 0.9);
  color: white;
}

.sw-hero-folder__label {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: #374151;
  line-height: 1.3;
}

.sw-hero-folder__label--done {
  text-decoration: line-through;
  opacity: 0.55;
}

.sw-hero-folder__progress {
  margin-top: 10px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.sw-hero-folder__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--turquoise), #34d399);
  border-radius: 2px;
  transition: width 0.6s ease;
}

.sw-hero-folder__progress-label {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: right;
}

@keyframes folderFloat {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50%      { transform: rotate(2.5deg) translateY(-5px); }
}

/* Retro card — hero right side, glass with white inner elements */
.sw-hero-retro {
  position: absolute;
  right: 2%;
  bottom: 8%;
  width: 230px;
  z-index: 4;
  transform: rotate(-2deg);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: 14px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  animation: retroFloat 4.5s ease-in-out infinite;
  scale: var(--hero-card-scale);
  transform-origin: right bottom;
  transition: scale 0.15s ease;
  will-change: transform;
}

.sw-hero-retro:hover {
  scale: calc(var(--hero-card-scale) * 1.03);
}

.sw-hero-retro__header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.sw-hero-retro__icon {
  color: rgba(255, 255, 255, 0.7);
}

.sw-hero-retro__title {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
}

/* White inner cards */
.sw-hero-retro__items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.sw-hero-retro__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: 7px 10px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: #374151;
  line-height: 1.35;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.sw-hero-retro__dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 3px;
}

.sw-hero-retro__dot--green  { background: #10b981; }
.sw-hero-retro__dot--amber  { background: #f59e0b; }
.sw-hero-retro__dot--blue   { background: #6366f1; }

/* Footer with score badge + avatars */
.sw-hero-retro__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sw-hero-retro__score {
  display: flex;
  align-items: baseline;
  gap: 5px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  padding: 4px 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.sw-hero-retro__score-label {
  font-family: var(--font-body);
  font-size: 0.58rem;
  color: #6b7280;
}

.sw-hero-retro__score-value {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: #7171d3;
}

.sw-hero-retro__avatars {
  display: flex;
  margin-left: auto;
}

.sw-hero-retro__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 600;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  margin-left: -6px;
}

.sw-hero-retro__avatar:first-child {
  margin-left: 0;
}

@keyframes retroFloat {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(-1.5deg) translateY(-5px); }
}

/* Dice decoration — 3D interactive (hidden, kept for future use) */
.sw-hero-dice {
  display: none;
  position: absolute;
  left: 4%;
  top: 12%;
  z-index: 2;
  width: 100px;
  height: 100px;
  cursor: pointer;
  scale: var(--hero-card-scale);
  transform-origin: left top;
}

.sw-hero-dice canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* Tool icon squares — arch around hero text (Azure, Slack, Trello) */
.sw-hero-tools {
  position: absolute;
  left: 4%;
  top: 14%;
  z-index: 3;
  pointer-events: none;
  scale: var(--hero-card-scale);
  transform-origin: left top;
}

.sw-hero-tools__icon {
  position: absolute;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.14),
    0 2px 6px rgba(0, 0, 0, 0.08);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.18));
  transition: transform 0.3s ease;
  pointer-events: auto;
}

.sw-hero-tools__icon::before {
  content: '';
  position: absolute;
  inset: -12px;
}

.sw-hero-tools__icon--azure {
  left: 0;
  top: 110px;
  transform: rotate(-12deg);
}

.sw-hero-tools__icon--slack {
  left: 52px;
  top: 46px;
  transform: rotate(8deg);
}

.sw-hero-tools__icon--trello {
  left: 118px;
  top: 0;
  transform: rotate(-5deg);
}

.sw-hero-tools__icon--azure:hover {
  transform: rotate(-8deg) scale(1.03);
}

.sw-hero-tools__icon--slack:hover {
  transform: rotate(4deg) scale(1.03);
}

.sw-hero-tools__icon--trello:hover {
  transform: rotate(-1deg) scale(1.03);
}

@keyframes diceRollIn {
  /* Thrown onto table — enters from left, spinning */
  0% {
    opacity: 0;
    transform: translateX(-120px) translateY(-20px) rotate(0deg) scale(0.5);
  }
  /* Rolling across surface */
  18% {
    opacity: 1;
    transform: translateX(-25px) translateY(-6px) rotate(-200deg) scale(0.95);
  }
  /* First impact — bounces up (scale pulse) */
  32% {
    transform: translateX(6px) translateY(3px) rotate(-290deg) scale(1.1);
  }
  /* Lifts off table slightly */
  44% {
    transform: translateX(-2px) translateY(-3px) rotate(-335deg) scale(0.94);
  }
  /* Second smaller impact */
  58% {
    transform: translateX(3px) translateY(1px) rotate(-355deg) scale(1.04);
  }
  /* Tiny wobble */
  72% {
    transform: translateX(-1px) translateY(-1px) rotate(-366deg) scale(0.99);
  }
  /* Settling */
  86% {
    transform: translateX(0) translateY(0) rotate(-370deg) scale(1.01);
  }
  /* Landed — one full rotation + -12deg final tilt */
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) rotate(-372deg) scale(1);
  }
}

@keyframes diceFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-7px) rotate(1deg); }
}

/* Timer group — hero top right */
.sw-hero-timer-group {
  position: absolute;
  right: -80px;
  top: 12%;
  z-index: 2;
  width: 360px;
  height: 280px;
  transform: rotate(2deg);
  animation: timerFloat 4.5s ease-in-out infinite;
  scale: var(--hero-card-scale);
  transform-origin: right top;
  transition: scale 0.3s ease;
  will-change: transform;
}

/* Individual hover triggers for each element in the group */

/* Transparent ghost card — overlays the standup card from the right */
.sw-hero-timer-ghost {
  position: absolute;
  top: 35px;
  right: -55px;
  width: 230px;
  height: 190px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  transform: rotate(10deg);
  z-index: 3;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.12));
  transition: transform 0.15s ease;
}

.sw-hero-timer-ghost::after {
  content: '';
  position: absolute;
  inset: -20px;
}

.sw-hero-timer-ghost:hover {
  transform: rotate(10deg) scale(1.03);
}

/* Daily Standup card — main card, bigger */
.sw-hero-standup {
  position: absolute;
  top: 10px;
  left: 65px;
  width: 230px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: 16px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
  z-index: 2;
  transition: transform 0.15s ease;
}

.sw-hero-standup::after {
  content: '';
  position: absolute;
  inset: -20px;
}

.sw-hero-standup:hover {
  transform: scale(1.03);
}

.sw-hero-standup__header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.sw-hero-standup__icon {
  color: rgba(255, 255, 255, 0.7);
}

.sw-hero-standup__title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
}

.sw-hero-standup__items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sw-hero-standup__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: 6px 10px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: #374151;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.sw-hero-standup__label {
  color: #6b7280;
  font-size: 0.6rem;
}

.sw-hero-standup__value {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 0.62rem;
  color: #374151;
}

.sw-hero-standup__avatars {
  display: flex;
}

.sw-hero-standup__avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.48rem;
  font-weight: 600;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  margin-left: -5px;
}

.sw-hero-standup__avatar:first-child {
  margin-left: 0;
}

/* Alarm app icon — overlaps standup card from the left */
.sw-hero-timer__icon {
  position: absolute;
  top: 55px;
  left: 38px;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.14),
    0 2px 6px rgba(0, 0, 0, 0.08);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.18));
  transform: rotate(-15deg);
  transition: transform 0.15s ease;
  z-index: 4;
}

.sw-hero-timer__icon::after {
  content: '';
  position: absolute;
  inset: -20px;
}

.sw-hero-timer__icon:hover {
  transform: rotate(-30deg) scale(1.03);
}

.sw-hero-jira-icon {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.14),
    0 2px 6px rgba(0, 0, 0, 0.08);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.18));
  z-index: 4;
  transform: rotate(25deg);
  transition: transform 0.15s ease;
}

.sw-hero-jira-icon::after {
  content: '';
  position: absolute;
  inset: -20px;
}

.sw-hero-jira-icon:hover {
  transform: rotate(40deg) scale(1.03);
}

.sw-hero-timer__emoji {
  font-size: 30px;
  line-height: 1;
}

@keyframes timerFloat {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50%      { transform: rotate(2.5deg) translateY(-6px); }
}

.sw-hero-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  z-index: 3;
}

.sw-hero-logo {
  display: inline-block;
  margin-bottom: 48px;
}

.sw-hero-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.sw-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
  text-wrap: balance;
}

.sw-hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
}

.sw-hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.sw-hero .sw-btn-primary {
  background: var(--white);
  color: var(--black);
}

.sw-hero .sw-btn-primary:hover {
  background: var(--gray-100);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}


.sw-hero-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== How It Works ===== */
.sw-how {
  padding: 100px 40px 120px;
  background: var(--gray-100);
  position: relative;
  z-index: 1;
}

.sw-how-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Kanban board */
.sw-kanban {
  margin-bottom: 48px;
}

.sw-kanban__board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 16px;
  row-gap: 0;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    var(--white);
  background-size: 20px 20px;
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03), inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Kanban column */
.sw-kanban__col {
  background: var(--gray-100);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 200px;
  position: relative;
  z-index: 1;
}

/* Column zone tints */
.sw-kanban__col[data-column="planned"] {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.05), rgba(107, 114, 128, 0.02));
  border-color: rgba(107, 114, 128, 0.15);
}

.sw-kanban__col[data-column="progress"] {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(245, 158, 11, 0.02));
  border-color: rgba(245, 158, 11, 0.15);
}

.sw-kanban__col[data-column="done"] {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.02));
  border-color: rgba(16, 185, 129, 0.15);
}

/* Column header with status dot */
.sw-kanban__col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 10px;
}

.sw-kanban__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sw-kanban__dot--planned {
  background: #6B7280;
}

.sw-kanban__dot--progress {
  background: #F59E0B;
}

.sw-kanban__dot--done {
  background: #10B981;
}

.sw-kanban__col-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
}

.sw-kanban__col-count {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-left: auto;
  background: var(--gray-200);
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cards container inside each column */
.sw-kanban__cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Game cards */
.sw-kanban__card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  position: relative;
  cursor: default;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  /* Scroll-in animation base state */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.2s ease;
}

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

.sw-kanban__card:hover {
  transform: translateY(-3px) rotate(-0.3deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.sw-kanban__card.is-visible:hover {
  transform: translateY(-3px) rotate(-0.3deg);
}

/* Card header strip */
.sw-kanban__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 12px;
  background: var(--purple);
}

.sw-kanban__card--thread-a .sw-kanban__card-header { background: var(--purple); }
.sw-kanban__card--thread-b .sw-kanban__card-header { background: var(--turquoise); }
.sw-kanban__card--thread-c .sw-kanban__card-header { background: var(--purple-light); }

.sw-kanban__card-tag {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.95);
}

.sw-kanban__card-xp {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 1px 6px;
}

/* Card body (icon + title) */
.sw-kanban__card-body {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 0;
}

.sw-kanban__card-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--gray-500);
}

.sw-kanban__card-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
}

.sw-kanban__card-desc {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--gray-500);
  margin: 0;
  padding: 4px 12px 10px;
}

/* === Value progress bar === */
.sw-kanban__value-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 10px;
}

.sw-kanban__value-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
}

.sw-kanban__value-track {
  flex: 1;
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}

.sw-kanban__value-fill {
  height: 100%;
  width: 0%;
  background: var(--purple);
  border-radius: 4px;
  /* no CSS transition — JS animates frame by frame */
}

.sw-kanban__value-pct {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--purple);
  min-width: 32px;
  text-align: right;
}

/* === Drag & Drop States === */
.sw-kanban__card[data-thread] {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.sw-kanban__card.is-dragging {
  opacity: 0.25;
  transform: scale(0.97) !important;
  box-shadow: none;
  pointer-events: none;
}

.sw-kanban__card--drag-clone {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.92;
  transform: rotate(2deg) scale(1.05);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(113, 113, 211, 0.3);
  transition: none;
}

.sw-kanban__col.is-drop-target {
  background: rgba(113, 113, 211, 0.07);
  border-color: var(--purple-light);
  box-shadow: inset 0 0 0 2px rgba(113, 113, 211, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sw-kanban__card.is-dropped {
  animation: cardDropPulse 0.4s ease-out;
}

@keyframes cardDropPulse {
  0%   { transform: scale(1.05); box-shadow: 0 0 0 4px rgba(113, 113, 211, 0.25); }
  100% { transform: scale(1);    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04); }
}

/* Enhanced done-column drop: green glow */
.sw-kanban__col[data-column="done"] .sw-kanban__card.is-dropped {
  animation: cardDropDone 0.5s ease-out;
}

@keyframes cardDropDone {
  0%   { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.3); }
  50%  { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15); }
  100% { transform: scale(1);    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04); }
}

/* Wiggle hint — indicates cards are draggable */
@keyframes cardWiggle {
  0%   { transform: rotate(0deg); }
  15%  { transform: rotate(-2deg) translateX(-2px); }
  30%  { transform: rotate(2deg) translateX(2px); }
  45%  { transform: rotate(-1.5deg) translateX(-1px); }
  60%  { transform: rotate(1deg) translateX(1px); }
  75%  { transform: rotate(-0.5deg); }
  100% { transform: rotate(0deg); }
}

.sw-kanban__card.wiggle-hint {
  animation: cardWiggle 0.6s ease-in-out;
}

/* Swipe dots — hidden by default (shown on phone via media query) */
.sw-kanban__dots {
  display: none;
}

/* === Confetti Particles === */
.sw-confetti-particle {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.4);
  }
}

/* "Drag and drop" hint — centered above In Progress column */
.sw-kanban__try-hint {
  grid-column: 1 / -1;
  position: relative;
  height: 44px;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: tryMeBob 2.5s ease-in-out infinite;
  /* Offset to center over the middle column (In Progress) */
  padding-left: calc(100% / 3);
  padding-right: calc(100% / 3);
}

.sw-kanban__try-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--purple-light);
  white-space: nowrap;
}

.sw-kanban__try-arrow {
  width: 6px;
  height: 20px;
  flex-shrink: 0;
}

@keyframes tryMeBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* Hide hint once user has dragged a card */
.sw-kanban__try-hint.is-hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  animation: none;
}

/* Practical details */
.sw-how-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
}

.sw-how-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  font-size: 0.85rem;
  color: var(--gray-500);
}

.sw-how-detail svg {
  color: var(--purple);
  flex-shrink: 0;
}

/* ===== Dice Strip ===== */
.sw-dice-strip {
  background: var(--white);
  padding: 10px 0;
  overflow-x: clip;
}

.sw-dice-strip__container {
  width: 400px;
  height: 400px;
  margin: 0 auto;
  cursor: pointer;
  opacity: 0;
  transform: translateX(100vw);
  transition: opacity 0.8s ease, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sw-dice-strip__container.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Leaderboard ===== */
.sw-leaderboard {
  min-height: 60rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: var(--gray-100);
  overflow: visible;
}

.sw-leaderboard__inner {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  perspective: 1000px;
  padding: 2.5rem 0 10rem;
}

.sw-leaderboard__header {
  will-change: transform;
}

.sw-leaderboard__subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-top: 12px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* iPad frame */
.sw-leaderboard__ipad {
  max-width: 900px;
  margin: -1rem auto 0;
  background: #222;
  border: 4px solid #6C6C6C;
  border-radius: 30px;
  padding: 10px;
  box-shadow:
    0 0 #0000004d,
    0 9px 20px #0000004a,
    0 37px 37px #00000042,
    0 84px 50px #00000026,
    0 149px 60px #0000000a,
    0 233px 65px #00000003;
  transform-style: preserve-3d;
  will-change: transform;
  transform: rotateX(20deg) scale(1.05);
}

.sw-leaderboard__ipad-screen {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
}

/* Table */
.sw-leaderboard__table-wrap {
  overflow-x: auto;
}

.sw-leaderboard__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.sw-leaderboard__table thead th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-200);
}

.sw-leaderboard__table tbody td {
  padding: 14px 16px;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
}

.sw-leaderboard__table tbody tr:last-child td {
  border-bottom: none;
}

.sw-leaderboard__table tbody tr:nth-child(even) {
  background: var(--gray-100);
}

.sw-leaderboard__table-score {
  font-weight: 700;
  color: var(--purple);
}

/* Medal emoji in rank column */
.sw-leaderboard__medal {
  font-size: 1.3rem;
  line-height: 1;
}

/* Top 3 rows — subtle left border accent */
.sw-leaderboard__row--gold td:first-child {
  border-left: 4px solid #F5A623;
}

.sw-leaderboard__row--silver td:first-child {
  border-left: 4px solid #C0C0C0;
}

.sw-leaderboard__row--bronze td:first-child {
  border-left: 4px solid #CD7F32;
}

/* "Your team" highlighted row */
.sw-leaderboard__row--you {
  background: var(--white) !important;
}

.sw-leaderboard__row--you td {
  font-weight: 600;
  color: var(--black);
}

/* Badges */
.sw-leaderboard__badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.sw-leaderboard__badge--purple {
  background: var(--purple);
}

.sw-leaderboard__badge--turquoise {
  background: var(--turquoise);
}

/* Responsive */
@media (max-width: 768px) {
  .sw-leaderboard {
    min-height: 45rem;
    padding: 2rem 1rem;
  }

  .sw-leaderboard__ipad {
    border-radius: 20px;
    padding: 6px;
    border-width: 3px;
  }

  .sw-leaderboard__ipad-screen {
    border-radius: 14px;
  }

  .sw-leaderboard__table {
    font-size: 0.82rem;
  }

  .sw-leaderboard__table thead th,
  .sw-leaderboard__table tbody td {
    padding: 10px 10px;
  }
}

/* ===== Why Coaches Love This ===== */
.sw-why {
  padding: 100px 40px 120px;
  background: var(--gray-100);
}

.sw-why-inner {
  max-width: 768px;
  margin: 0 auto;
}

.sw-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sw-why-card {
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
  cursor: default;
}

/* Visual area at top — gradient with noise */
.sw-why-card__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
}

.sw-why-card__noise {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: overlay;
  filter: url('#noise') contrast(200%);
  background: white;
}

.sw-why-card__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25))
          drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}


.sw-why-card__shape {
  position: absolute;
  filter: blur(18px);
  z-index: 1;
}

.sw-why-card__shape--a {
  width: 80%;
  height: 80%;
  border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%;
}

.sw-why-card__shape--b {
  width: 70%;
  height: 70%;
  border-radius: 45% 55% 40% 60% / 50% 45% 55% 50%;
}

/* Card 1: purple */
.sw-why-card:nth-child(1) {
  background: transparent;
  border: none;
}
.sw-why-card__visual--1 {
  background: #5a4fb5;
}
.sw-why-card__visual--1 .sw-why-card__shape--a {
  bottom: -20%;
  right: -15%;
  background: #77bccc;
  filter: blur(14px);
}
.sw-why-card__visual--1 .sw-why-card__shape--b {
  top: -10%;
  left: -5%;
  background: #9585e0;
  filter: blur(20px);
}

/* Card 2: turquoise */
.sw-why-card:nth-child(2) {
  background: transparent;
  border: none;
}
.sw-why-card__visual--2 {
  background: #4da8bb;
}
.sw-why-card__visual--2 .sw-why-card__shape--a {
  top: -15%;
  right: -20%;
  background: #7171d3;
  filter: blur(16px);
}
.sw-why-card__visual--2 .sw-why-card__shape--b {
  bottom: -15%;
  left: -10%;
  background: #b8d8e3;
  filter: blur(18px);
}

/* Card 3: deep purple */
.sw-why-card:nth-child(3) {
  background: transparent;
  border: none;
}
.sw-why-card__visual--3 {
  background: #6363c7;
}
.sw-why-card__visual--3 .sw-why-card__shape--a {
  bottom: -15%;
  left: -15%;
  background: #77bccc;
  filter: blur(12px);
}
.sw-why-card__visual--3 .sw-why-card__shape--b {
  top: -10%;
  right: -10%;
  background: #c4b5fd;
  filter: blur(20px);
}

.sw-why-card__tag {
  display: inline-block;
  margin: 18px 0 0 12px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-500);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  line-height: 1;
}

.sw-why-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--black);
  padding: 0 12px;
  margin: 12px 0 8px;
}

.sw-why-card__desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--gray-500);
  padding: 0 12px 16px;
}

/* Why nav arrows — hidden on desktop */
.sw-why-nav {
  display: none;
  gap: 12px;
  margin-top: 32px;
}

.sw-why-nav__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sw-why-nav__btn:hover,
.sw-why-nav__btn:active {
  background: var(--purple);
  color: var(--white);
}

/* ===== Who It's For ===== */
.sw-who {
  padding: 100px 40px 120px;
  background: var(--gray-100);
}

.sw-who-inner {
  max-width: 720px;
  margin: 0 auto;
}

.sw-who-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sw-who-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-800);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sw-who-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.sw-who-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* ===== Testimonial ===== */
/* ===== Testimonials (shared with main site) ===== */
.testimonials {
  padding: 100px 40px 120px;
  background: var(--gray-100);
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
  max-width: 800px;
  margin: 0 auto;
}

.testimonials-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--purple);
}

.testimonials-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 520px;
  margin: 16px auto 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
}

.testimonial-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 0 20px 50px rgba(113, 113, 211, 0.12),
              0 8px 20px rgba(0, 0, 0, 0.06);
}

.testimonial-card:nth-child(even):hover {
  transform: translateY(-8px) rotate(1deg);
}

.testimonial-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-card__company {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
}

.testimonial-card__quote {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--gray-500);
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-card__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.testimonial-placeholder {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.placeholder-line {
  height: 10px;
  border-radius: 5px;
  background: var(--gray-200);
}

.placeholder-line--full { width: 100%; }
.placeholder-line--long { width: 75%; }
.placeholder-line--medium { width: 55%; }

.testimonial-card--placeholder .testimonial-card__author {
  margin-top: auto;
}

.testimonial-card--placeholder .btn-nav {
  font-size: 0.82rem;
  padding: 8px 20px;
}

.testimonial-card--placeholder .btn-mask-text {
  font-size: 0.82rem;
}

/* ===== Pilot Offer ===== */
.sw-pilot {
  position: relative;
  padding: 120px 40px;
  background: #5a4fb5;
  overflow: hidden;
}

.sw-pilot__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sw-pilot__noise {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 3;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: overlay;
  filter: url('#noise') contrast(200%);
  background: white;
}

.sw-pilot__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  opacity: 0.06;
  z-index: 2;
}

.sw-pilot__grad {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%;
  z-index: 1;
}

.sw-pilot__grad--1 {
  width: 55%;
  height: 70%;
  bottom: -15%;
  right: -10%;
  background: #77bccc;
  filter: blur(50px);
}

.sw-pilot__grad--2 {
  width: 35%;
  height: 40%;
  top: -10%;
  left: -5%;
  background: #8bb8c6;
  filter: blur(55px);
}

.sw-pilot__grad--3 {
  width: 50%;
  height: 60%;
  bottom: 10%;
  left: -15%;
  background: #8070d0;
  filter: blur(45px);
}

.sw-pilot__grad--4 {
  width: 45%;
  height: 55%;
  top: 15%;
  right: 10%;
  background: #7171d3;
  filter: blur(35px);
}

.sw-pilot-inner {
  position: relative;
  z-index: 4;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.sw-pilot__right {
  display: flex;
  justify-content: flex-end;
}

.sw-pilot__form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 440px;
}

.sw-pilot__form-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 24px;
}

.sw-pilot__form-card .sw-form-label--light {
  color: var(--black);
}

.sw-pilot__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}

.sw-pilot__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
}

.sw-pilot__body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  max-width: 640px;
}

.sw-pilot__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.sw-pilot__col-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.sw-pilot__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sw-pilot__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.sw-pilot__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
}

/* ===== Sign-Up Form ===== */
.sw-signup {
  padding: 100px 40px 120px;
  background: var(--off-white);
}

.sw-signup-inner {
  max-width: 640px;
  margin: 0 auto;
}

.sw-signup-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.sw-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sw-form-field {
  margin-bottom: 20px;
}

.sw-form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 6px;
}

.sw-form-optional {
  color: var(--gray-500);
  font-weight: 400;
}

.sw-form-input,
.sw-form-textarea,
.sw-form-select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--black);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.sw-form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.sw-form-input::placeholder,
.sw-form-textarea::placeholder {
  color: var(--gray-500);
  opacity: 0.6;
}

.sw-form-input:focus,
.sw-form-textarea:focus,
.sw-form-select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(113, 113, 211, 0.15);
}

.sw-form-textarea {
  resize: vertical;
  min-height: 80px;
}

.sw-btn-submit {
  width: 100%;
  justify-content: center;
  padding: 14px 28px;
  margin-top: 4px;
}

.sw-form-confirmation {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--gray-500);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.sw-form-confirmation.is-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.sw-form-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== Footer ===== */
.sw-footer {
  padding: 40px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.sw-footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sw-footer-logo img {
  height: 24px;
  width: auto;
}

.sw-footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sw-footer-link {
  font-size: 0.85rem;
  color: var(--gray-500);
  transition: color 0.2s;
}

.sw-footer-link:hover {
  color: var(--purple);
}

.sw-footer-sep {
  color: var(--gray-200);
}

.sw-footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  transition: all 0.2s ease;
}

.sw-footer-social:hover {
  background: var(--gray-100);
  color: var(--purple);
  border-color: var(--purple);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .floating-header {
    width: calc(100% - 24px);
    top: 8px;
  }

  .nav-links,
  .nav-actions .btn-mask-wrap {
    display: none;
  }

  .btn-menu {
    display: flex;
  }

  .nav-logo img {
    height: 23px;
  }

  .sw-hero {
    padding: 84px 20px 80px;
    min-height: 100vh;
  }

  .sw-hero-dice,
  .sw-hero-tools,
  .sw-hero-timer-group {
    display: none;
  }

  .sw-hero-folder-stack {
    left: 2%;
    bottom: 4%;
    scale: 0.75 !important;
    transform-origin: left bottom;
  }

  .sw-hero-retro {
    right: 2%;
    bottom: 4%;
    scale: 0.75 !important;
    transform-origin: right bottom;
  }

  .sw-hero-logo {
    margin-bottom: 32px;
  }

  .sw-hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
  }

  .sw-hero-subtitle {
    font-size: 0.95rem;
  }

  .sw-btn-primary {
    font-size: 0.88rem;
    padding: 12px 24px;
  }

  .sw-how {
    padding: 60px 20px 80px;
  }

  .sw-kanban__board {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .sw-kanban__try-hint {
    display: none;
  }

  .sw-kanban__card {
    padding: 0;
  }

  .sw-how-details {
    gap: 8px 12px;
  }

  .sw-how-detail {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  .sw-why {
    padding: 60px 20px 80px;
  }

  .sw-why-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin: 0 -20px;
    padding-left: 40px;
    padding-right: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .sw-why-grid::after {
    content: '';
    flex: 0 0 20px;
  }

  .sw-why-grid::-webkit-scrollbar {
    display: none;
  }

  .sw-why-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }

  .sw-why-card__title {
    font-size: 1.2rem;
  }

  .sw-why-nav {
    display: flex;
  }

  .sw-who {
    padding: 60px 20px 80px;
  }

  .testimonials {
    padding: 60px 20px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .testimonial-card.is-hovered {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 20px 50px rgba(113, 113, 211, 0.12),
                0 8px 20px rgba(0, 0, 0, 0.06);
  }

  .testimonial-card.is-hovered:nth-child(even) {
    transform: translateY(-8px) rotate(1deg);
  }

  .sw-pilot {
    padding: 60px 20px 80px;
  }

  .sw-pilot-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sw-pilot__form-card {
    max-width: 100%;
    padding: 24px;
  }

  .sw-pilot__columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sw-signup {
    padding: 60px 20px 80px;
  }

  .sw-signup-card {
    padding: 28px 24px;
  }

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

  .sw-section-title {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .sw-pilot__title {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .sw-footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .sw-footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Phone — stack testimonials back to 1 column */
@media (max-width: 520px) {
  .sw-hero {
    min-height: auto;
  }

  .sw-hero-folder-stack,
  .sw-hero-retro {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .sw-why-card {
    flex: 0 0 220px;
  }

  /* Kanban horizontal swipe on phone */
  .sw-kanban__board {
    display: grid;
    grid-template-columns: repeat(3, 85%);
    grid-template-rows: auto auto 1fr;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding: 12px;
  }

  .sw-kanban__board::-webkit-scrollbar {
    display: none;
  }

  .sw-kanban__col {
    scroll-snap-align: center;
    min-height: 180px;
  }

  .sw-kanban__value-bar {
    grid-column: 1 / -1;
    position: sticky;
    left: 0;
    max-width: calc(100vw - 64px);
    z-index: 2;
    padding: 0 4px 6px;
  }

  .sw-kanban__try-hint {
    grid-column: 1 / -1;
  }

  /* Swipe indicator dots */
  .sw-kanban__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  .sw-kanban__dot-ind {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-200);
    transition: all 0.3s ease;
  }

  .sw-kanban__dot-ind.active {
    background: var(--purple);
    transform: scale(1.3);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .sw-hero-jira-icon {
    display: none;
  }

  .sw-hero-dice {
    left: 1%;
    top: 16%;
  }

  .sw-hero-timer-group {
    right: -50px;
    top: 10%;
  }

  .sw-hero-folder-stack {
    left: 1%;
  }

  .sw-hero-retro {
    right: 1%;
    bottom: 6%;
  }

  .sw-kanban__board {
    gap: 10px;
    padding: 14px;
  }

  .sw-kanban__try-hint {
    height: 42px;
  }

  .sw-kanban__try-label {
    font-size: 0.75rem;
  }

  .sw-kanban__try-arrow {
    width: 6px;
    height: 16px;
  }

  .sw-kanban__card {
    padding: 0;
  }

  .sw-kanban__card-header {
    padding: 4px 8px;
    white-space: nowrap;
    overflow: hidden;
  }

  .sw-kanban__card-tag {
    font-size: 0.5rem;
  }

  .sw-kanban__card-xp {
    font-size: 0.5rem;
    padding: 1px 4px;
  }

  .sw-why {
    padding: 80px 20px 100px;
  }

  .sw-why-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin: 0 -20px;
    padding-left: 40px;
    padding-right: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .sw-why-grid::after {
    content: '';
    flex: 0 0 20px;
  }

  .sw-why-grid::-webkit-scrollbar {
    display: none;
  }

  .sw-why-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
  }

  .sw-why-nav {
    display: flex;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large screens — scale up hero decorations */
@media (min-width: 1400px) {
  .sw-hero-dice {
    left: 5%;
    top: 14%;
  }

  .sw-hero-timer-group {
    right: -90px;
    top: 10%;
  }

  .sw-hero-folder-stack {
    left: 4%;
  }

  .sw-hero-retro {
    right: 4%;
    bottom: 8%;
  }
}

/* Extra large screens */
@media (min-width: 1800px) {
  .sw-hero-dice {
    left: 8%;
    top: 12%;
  }

  .sw-hero-timer-group {
    right: -100px;
    top: 8%;
  }

  .sw-hero-folder-stack {
    left: 6%;
  }

  .sw-hero-retro {
    right: 6%;
  }
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--gray-200);
  padding: 16px 24px;
}

.site-footer__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer__logo img {
  height: 22px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.site-footer__logo:hover img {
  opacity: 1;
}

.site-footer__copy {
  font-size: 0.82rem;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .site-footer__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
