/* =========================================================
   Wooak - Landing page styles (composes design tokens)
   ========================================================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(34,197,94,0.25); color: var(--fg); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; }

/* ---------- LAYOUT ---------- */
.wk-shell { min-height: 100vh; overflow-x: clip; position: relative; }
.wk-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wk-section { padding: 96px 0; position: relative; }
.wk-section--tight { padding: 64px 0; }
/* Removed the blanket padding-top:0 collapse - each section now
   owns its vertical rhythm. Adjacent sections that should touch
   (e.g. marquee after hero) can be set via explicit margin on
   the section element directly. */

@media (max-width: 720px) {
  .wk-wrap { padding: 0 20px; }
  .wk-section { padding: 72px 0; }
}

/* ---------- NAV ---------- */
.wk-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 300ms var(--ease-out-quint);
}
/* Richer bottom edge on dark - gradient line instead of flat border */
[data-theme="dark"] .wk-nav {
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 0 rgba(74,156,255,0.10), 0 4px 24px -8px rgba(0,0,0,0.40);
}
.wk-nav__inner { display: flex; align-items: center; gap: 24px; padding: 13px 0; }
.wk-nav__center { display: flex; align-items: center; gap: 2px; margin-left: 28px; }
.wk-nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 11px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--fg-muted);
  transition: background var(--d-hover) var(--ease-out-quint),
              color var(--d-hover) var(--ease-out-quint);
}
.wk-nav__link:hover { background: var(--bg-muted); color: var(--fg); }
.wk-nav__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.wk-nav__divider { width: 1px; height: 20px; background: var(--border); margin: 0 2px; }

@media (max-width: 880px) {
  .wk-nav__center { display: none; }
  .wk-nav__divider { display: none; }
}

/* ---------- HAMBURGER BUTTON ---------- */
.ak-hamburger {
  display: none; /* hidden above 880px */
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px; border: none;
  background: transparent; cursor: pointer;
  color: var(--fg); padding: 0;
  transition: background var(--d-hover) var(--ease-out-quint);
}
.ak-hamburger:hover { background: var(--bg-muted); }
.ak-hamburger:focus-visible {
  outline: 2px solid var(--wk-blue-300);
  outline-offset: 2px;
}

.ak-hamburger__icon {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 18px; height: 16px; position: relative;
}
.ak-hamburger__icon span {
  display: block; height: 1.75px; border-radius: 2px;
  background: currentColor;
  transition: transform 240ms var(--ease-out-quint), opacity 200ms var(--ease-out-quint), width 200ms var(--ease-out-quint);
  transform-origin: center;
}
.ak-hamburger__icon span:nth-child(1) { width: 100%; }
.ak-hamburger__icon span:nth-child(2) { width: 75%; }
.ak-hamburger__icon span:nth-child(3) { width: 100%; }

/* Animate to X */
.ak-hamburger__icon--open span:nth-child(1) { transform: translateY(6.75px) rotate(45deg); width: 100%; }
.ak-hamburger__icon--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ak-hamburger__icon--open span:nth-child(3) { transform: translateY(-6.75px) rotate(-45deg); width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .ak-hamburger__icon span { transition: none; }
}

@media (max-width: 880px) {
  .ak-hamburger { display: inline-flex; }
}

/* ---------- MOBILE DRAWER ---------- */
.ak-drawer-backdrop {
  position: fixed; inset: 0; z-index: 48;
  background: rgba(0,0,0,0.48);
  opacity: 0; pointer-events: none;
  transition: opacity 300ms var(--ease-out-quint);
}
.ak-drawer-backdrop--visible {
  opacity: 1; pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .ak-drawer-backdrop { transition: none; }
}

.ak-drawer {
  position: fixed; top: 0; right: 0;
  width: min(340px, 92vw); height: 100dvh;
  z-index: 49;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  box-shadow: -8px 0 40px rgba(0,0,0,0.22);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 320ms var(--ease-out-quint);
  overflow-y: auto;
  /* Only show drawer at mobile widths */
  visibility: hidden;
}
[data-theme="dark"] .ak-drawer {
  background: #111c2e;
  border-left-color: rgba(74,156,255,0.12);
  box-shadow: -8px 0 48px rgba(0,0,0,0.55);
}
.ak-drawer--open {
  transform: translateX(0);
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .ak-drawer { transition: none; }
}
/* Only render/display drawer and hamburger at mobile widths */
@media (min-width: 881px) {
  .ak-drawer,
  .ak-drawer-backdrop,
  .ak-hamburger { display: none !important; }
}

.ak-drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-soft);
  flex-shrink: 0;
}
.ak-drawer__nav {
  display: flex; flex-direction: column;
  padding: 12px 12px 0;
  flex: 1;
}
.ak-drawer__link {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--fg-muted);
  transition: background var(--d-hover) var(--ease-out-quint),
              color var(--d-hover) var(--ease-out-quint);
}
.ak-drawer__link:hover,
.ak-drawer__link:focus-visible { background: var(--bg-muted); color: var(--fg); }
.ak-drawer__link:focus-visible { outline: 2px solid var(--wk-blue-300); outline-offset: -2px; }

/* Gradient accent line on the left for active-feel items */
.ak-drawer__link + .ak-drawer__link {
  /* no visual separator needed - spacing is enough */
}
.ak-drawer__footer {
  padding: 20px;
  border-top: 1px solid var(--border-soft);
  flex-shrink: 0;
}
.ak-drawer__footer .wk-btn { width: 100%; justify-content: center; }

/* ---------- BUTTON ---------- */
.wk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  font-weight: 600; letter-spacing: -0.005em;
  transition: background var(--d-hover) var(--ease-out-quint),
              color var(--d-hover) var(--ease-out-quint),
              border-color var(--d-hover) var(--ease-out-quint),
              box-shadow var(--d-hover) var(--ease-out-quint),
              transform var(--d-hover) var(--ease-out-quint);
  text-decoration: none;
}
.wk-btn:active { transform: translateY(1px) scale(0.99); }
.wk-btn--md { height: 42px; padding: 0 18px; font-size: 14px; border-radius: 999px; }
.wk-btn--sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 999px; }
.wk-btn--lg { height: 52px; padding: 0 24px; font-size: 15.5px; border-radius: 999px; }
.wk-btn__icon { display: inline-flex; }
.wk-btn__trail { display: inline-flex; }

.wk-btn--grad {
  background: var(--wk-gradient); color: #fff;
  box-shadow: 0 10px 22px -8px rgba(30,100,230,0.45);
}
.wk-btn--grad:hover { box-shadow: 0 16px 32px -10px rgba(30,100,230,0.55); transform: translateY(-1px); }
.wk-btn--ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.wk-btn--ghost:hover { background: var(--bg-muted); }
/* Light mode: ghost border needs more weight to read against off-white bg */
:root .wk-btn--ghost { border-color: rgba(10,10,10,0.28); }
[data-theme="dark"] .wk-btn--ghost { border-color: var(--border-strong); }
.wk-btn--link { background: transparent; color: var(--fg); padding: 0 4px; height: auto; box-shadow: none; }
.wk-btn--link:hover { color: var(--wk-blue-500); }
.wk-btn--ink { background: var(--wk-ink); color: #fff; }
.wk-btn--ink:hover { background: #1f1f1f; }

/* ---------- HERO ---------- */
.wk-hero {
  position: relative; padding-top: 56px; padding-bottom: 96px; overflow: hidden;
}
/* Ambient radial on dark: lifts content off the flat bg */
[data-theme="dark"] .wk-hero::before {
  content: ""; position: absolute;
  top: -15%; left: 20%; right: 15%;
  height: 70%;
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(30,100,230,0.08), transparent 70%),
    radial-gradient(ellipse 50% 40% at 70% 60%, rgba(34,197,94,0.06), transparent 70%);
  pointer-events: none; z-index: 0;
}
.wk-hero .wk-wrap { position: relative; z-index: 1; }
.wk-hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(30,100,230,0.07); color: var(--wk-blue-700);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.025em;
  border: 1px solid rgba(30,100,230,0.30);
  position: relative; overflow: hidden;
  box-shadow: 0 2px 8px -2px rgba(30,100,230,0.14);
}
[data-theme="dark"] .wk-hero__pill {
  background: rgba(74,156,255,0.10);
  color: var(--wk-blue-300);
  border-color: rgba(74,156,255,0.26);
  box-shadow: 0 2px 12px -2px rgba(74,156,255,0.18);
}
.wk-hero__pill .shimmer {
  position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
  /* Light mode: use a translucent white that creates visible sheen over the blue-tinted bg */
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.72), transparent);
  animation: wk-shimmer 3.8s ease-in-out infinite;
}
[data-theme="dark"] .wk-hero__pill .shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}
@keyframes wk-shimmer { 0% { left: -40%; } 55%, 100% { left: 120%; } }

.wk-hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
  margin-top: 28px;
}
.wk-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 7.6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.024em;
  margin: 18px 0 18px;
  color: var(--fg);
}
.wk-hero__sub {
  font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5;
  color: var(--fg-muted); max-width: 540px; margin: 0 0 28px;
}
.wk-hero__ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.wk-hero__trust { margin-top: 56px; }
.wk-hero__trust-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-muted);
}
.wk-hero__logos { display: flex; align-items: center; gap: 28px; margin-top: 16px; flex-wrap: wrap; }
.wk-hero__logos > span {
  font-weight: 700; font-size: 15px; color: var(--fg-muted);
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 4px;
}
/* Separator dots between trust items */
.wk-hero__logos > span + span::before {
  content: "·"; color: var(--fg-subtle); margin-right: 8px; font-weight: 400;
}

@media (max-width: 980px) {
  .wk-hero__grid { grid-template-columns: 1fr; gap: 56px; }
}

/* spark particles */
.wk-spark {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: var(--wk-spark-500); pointer-events: none;
  box-shadow: 0 0 16px 4px rgba(249,115,22,0.4);
  opacity: 0.6;
}

/* hero visual */
.wk-hero__visual { position: relative; height: 540px; perspective: 1400px; }
.wk-hero__orbs {
  position: absolute; inset: -10%; pointer-events: none; z-index: 0;
}
.wk-hero__orb {
  position: absolute; width: 320px; height: 320px; border-radius: 50%; filter: blur(60px); opacity: 0.55;
}
.wk-hero__frame {
  position: absolute; top: 30px; left: 0; right: 0; bottom: 0;
  border-radius: 16px; background: var(--bg-elevated);
  box-shadow: 0 60px 120px -40px rgba(10,15,40,0.35), 0 24px 48px -16px rgba(30,100,230,0.18);
  border: 1px solid var(--border);
  transform: rotateY(-8deg) rotateX(2deg);
  transform-style: preserve-3d;
  overflow: hidden;
}
.wk-hero__frame-bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 16px;
  border-bottom: 1px solid var(--border-soft);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
}
.wk-hero__frame-bar .dots { display: flex; gap: 6px; }
.wk-hero__frame-bar .dots span { width: 10px; height: 10px; border-radius: 50%; }
/* macOS-style traffic lights */
.wk-hero__frame-bar .dots span:nth-child(1) { background: #FF5F57; }
.wk-hero__frame-bar .dots span:nth-child(2) { background: #FEBC2E; }
.wk-hero__frame-bar .dots span:nth-child(3) { background: #28C840; }
[data-theme="dark"] .wk-hero__frame-bar .dots span:nth-child(1) { background: #FF5F57; opacity: 0.85; }
[data-theme="dark"] .wk-hero__frame-bar .dots span:nth-child(2) { background: #FEBC2E; opacity: 0.85; }
[data-theme="dark"] .wk-hero__frame-bar .dots span:nth-child(3) { background: #28C840; opacity: 0.85; }
.wk-hero__frame-bar .url { font-family: var(--font-mono); font-size: 11px; color: var(--fg-muted); margin-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* floating notification cards over the hero frame */
.wk-hero__notif {
  position: absolute; background: var(--bg-elevated); border-radius: 12px; padding: 12px 14px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border-soft); display: flex; align-items: center; gap: 10px;
  z-index: 2;
}
.wk-hero__notif .av { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
.wk-hero__notif .t { font-size: 13px; font-weight: 600; }
.wk-hero__notif .s { font-size: 11.5px; color: var(--fg-muted); }

@media (max-width: 980px) {
  .wk-hero__visual { height: 460px; }
}

/* ---- HERO: flatten 3D on small screens to prevent clipping ---- */
@media (max-width: 640px) {
  /* Remove the perspective + 3D rotation that causes clipping */
  .wk-hero__visual {
    height: auto;
    min-height: 320px;
    perspective: none;
  }
  .wk-hero__frame {
    position: relative;
    top: auto; left: auto; right: auto; bottom: auto;
    transform: none;
    transform-style: flat;
    /* Compensate for removed 3D depth with a subtle shadow */
    box-shadow:
      0 24px 48px -16px rgba(10,15,40,0.22),
      0 8px 24px -8px rgba(30,100,230,0.14);
    height: auto;
    min-height: 300px;
  }
  /* Notif cards: reposition from absolute-negative-offsets to
     contained positions so they don't overflow the visual area */
  .wk-hero__notif {
    /* Override inline top/right/bottom/left set in JSX */
    position: static !important;
    display: none; /* hide floating notif cards on mobile - frame content is enough */
  }
  .wk-hero__orbs { display: none; }
  /* Feed list: allow it to grow with content */
  .ak-feed { height: auto !important; }
  .ak-feed__list { max-height: 260px; overflow: hidden; }
}

/* ---------- MARQUEE ---------- */
.wk-marquee {
  position: relative; padding: 28px 0; border-block: 1px solid var(--border-soft); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.wk-marquee__reel { display: flex; gap: 48px; width: max-content; animation: wk-marquee 32s linear infinite; }
.wk-marquee:hover .wk-marquee__reel { animation-play-state: paused; }
.wk-marquee__logo {
  font-weight: 700; font-size: 20px; color: var(--fg-muted);
  opacity: 0.70; letter-spacing: -0.01em; white-space: nowrap;
  transition: opacity var(--d-hover) var(--ease-out-quint);
}
.wk-marquee__logo:hover { opacity: 1; }
[data-theme="dark"] .wk-marquee__logo { opacity: 0.55; }
[data-theme="dark"] .wk-marquee__logo:hover { opacity: 0.85; }
@keyframes wk-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .wk-marquee__reel { animation: none; }
}

/* ---------- COMPARISON ---------- */
.wk-compare {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.wk-compare__col {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.wk-compare__col--old { background: var(--bg-muted); }
.wk-compare__col--reaction {
  background: linear-gradient(135deg, var(--wk-spark-wash), var(--bg-elevated));
}
.wk-compare__eyebrow {
  font: 700 11px/1 var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.wk-compare__eyebrow--blue { color: var(--wk-blue-700); }
.wk-compare__eyebrow--spark { color: var(--wk-spark-text); }
.wk-compare__title {
  margin: 10px 0 0;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.012em;
  line-height: 1.15;
}
.wk-compare__desc {
  font-size: 13.5px;
  color: var(--fg-muted);
  margin: 8px 0 0;
  line-height: 1.45;
}
.wk-compare__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 200px;
}
@media (max-width: 980px) {
  .wk-compare { grid-template-columns: 1fr; }
  .wk-compare__col { min-height: 320px; }
}

/* ---------- TOUR ---------- */
.wk-tour-section {
  background: var(--bg-muted);
  border-radius: 32px;
  margin: 0 32px;
  padding: 96px 0;
  position: relative;
  overflow: clip;
  box-shadow: 0 0 0 1px var(--border-soft);
}
[data-theme="dark"] .wk-tour-section {
  background: #0d1729;
  box-shadow: 0 0 0 1px rgba(74,156,255,0.08), 0 40px 80px -32px rgba(0,0,0,0.30);
}
.wk-tour-section::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 540px; height: 540px;
  /* Light: boost visibility against cream bg */
  background: radial-gradient(circle at 50% 50%, rgba(30,100,230,0.16), transparent 58%);
  pointer-events: none;
}
.wk-tour-section::after {
  content: "";
  position: absolute;
  inset: auto auto -10% -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle at 50% 50%, rgba(34,197,94,0.14), transparent 58%);
  pointer-events: none;
}
[data-theme="dark"] .wk-tour-section::before {
  background: radial-gradient(circle at 50% 50%, rgba(74,156,255,0.16), transparent 58%);
}
[data-theme="dark"] .wk-tour-section::after {
  background: radial-gradient(circle at 50% 50%, rgba(74,222,128,0.12), transparent 58%);
}
.wk-tour-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: start;
}
.wk-tour-sticky {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.wk-tour-frame {
  height: clamp(440px, 56vh, 560px);
  border-radius: 20px;
  background: var(--bg-elevated);
  box-shadow:
    0 40px 80px -32px rgba(10,15,40,0.28),
    0 12px 28px -10px rgba(30,100,230,0.12);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  position: relative;
}
.wk-tour-frame > * { height: 100%; }
.wk-tour-stepper {
  display: flex;
  gap: 6px;
  align-self: center;
  padding: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.wk-tour-stepper__dot {
  position: relative;
  height: 30px;
  padding: 0 14px;
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font: 600 12px/1 var(--font-sans);
  color: var(--fg-muted);
  transition: color var(--d-hover) var(--ease-out-quint), background var(--d-hover) var(--ease-out-quint);
}
.wk-tour-stepper__dot:hover { color: var(--fg); background: var(--bg-muted); }
.wk-tour-stepper__dot.active {
  background: var(--wk-gradient);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(30,100,230,0.45);
}
.wk-tour-captions {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 8vh 0 40vh; /* leading and trailing space so first/last steps can become active */
}
.wk-tour-caption {
  min-height: 38vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.42;
  transition: opacity var(--d-layout) var(--ease-out-quint), transform var(--d-layout) var(--ease-out-quint);
}
.wk-tour-caption.active { opacity: 1; }
[data-theme="dark"] .wk-tour-caption { opacity: 0.36; }
[data-theme="dark"] .wk-tour-caption.active { opacity: 1; }
.wk-tour-caption__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 12px/1 var(--font-sans);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color var(--d-layout) var(--ease-out-quint);
}
.wk-tour-caption.active .wk-tour-caption__eyebrow { color: var(--wk-blue-500); }
[data-theme="dark"] .wk-tour-caption.active .wk-tour-caption__eyebrow { color: var(--wk-blue-300); }
.wk-tour-caption__eyebrow .num {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0;
  transition: background var(--d-layout) var(--ease-out-quint), color var(--d-layout) var(--ease-out-quint), border-color var(--d-layout);
}
.wk-tour-caption.active .wk-tour-caption__eyebrow .num {
  background: var(--wk-gradient);
  color: #fff;
  border-color: transparent;
}
.wk-tour-caption__title {
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 14px 0 12px;
}
.wk-tour-caption__desc {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0;
  max-width: 460px;
}
/* Mobile tour - stacked, no sticky */
.wk-tour-mobile { display: flex; flex-direction: column; gap: 56px; }
.wk-tour-mobile__item { display: flex; flex-direction: column; gap: 20px; }
.wk-tour-mobile__visual {
  height: clamp(360px, 60vw, 460px);
  border-radius: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.wk-tour-mobile__visual > * { height: 100%; }
.wk-tour-mobile .wk-tour-caption { min-height: auto; opacity: 1; }
.wk-tour-mobile .wk-tour-caption__eyebrow { color: var(--wk-blue-500); }
[data-theme="dark"] .wk-tour-mobile .wk-tour-caption__eyebrow { color: var(--wk-blue-300); }
.wk-tour-mobile .wk-tour-caption__eyebrow .num { background: var(--wk-gradient); color: #fff; border-color: transparent; }

@media (max-width: 880px) {
  .wk-tour-section { margin: 0 16px; padding: 64px 0; border-radius: 24px; }
}

/* ---------- SECTION HEADER ---------- */
.wk-shead { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 56px; }
.wk-shead__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--wk-blue-500);
}
[data-theme="dark"] .wk-shead__eyebrow { color: var(--wk-blue-300); }
.wk-shead__eyebrow::before, .wk-shead__eyebrow::after {
  content: ""; width: 32px; height: 1.5px;
  background: var(--wk-gradient); opacity: 0.9;
  border-radius: 2px;
}
[data-theme="dark"] .wk-shead__eyebrow::before,
[data-theme="dark"] .wk-shead__eyebrow::after { opacity: 0.75; }
.wk-shead__title { font-weight: 700; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.022em; margin: 0; max-width: 820px; }
.wk-shead__sub { font-size: 18px; color: var(--fg-muted); max-width: 620px; margin: 0; line-height: 1.6; }

/* ---------- BENTO ---------- */
.wk-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.wk-bento .tile {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px 24px; position: relative; overflow: hidden; min-height: 180px;
  transition: transform var(--d-hover) var(--ease-out-quint), box-shadow var(--d-hover) var(--ease-out-quint);
}
.wk-bento .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.wk-bento .tile::before {
  content: ""; position: absolute; inset: -1px; padding: 1px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(30,100,230,0.40), rgba(34,197,94,0.40));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 220ms;
  pointer-events: none;
}
[data-theme="dark"] .wk-bento .tile::before {
  background: linear-gradient(135deg, rgba(74,156,255,0.45), rgba(74,222,128,0.38));
}
.wk-bento .tile:hover::before { opacity: 1; }
.wk-bento .tile h3 { font-weight: 700; font-size: 21px; letter-spacing: -0.015em; line-height: 1.12; margin: 0 0 6px; }
.wk-bento .tile p { font-size: 14px; color: var(--fg-muted); margin: 0; line-height: 1.55; }
.wk-bento .tile .ic-chip { width: 34px; height: 34px; border-radius: 10px; background: var(--bg-muted); display: inline-flex; align-items: center; justify-content: center; color: var(--fg); margin-bottom: 12px; }

.wk-bento .tile--big { grid-column: span 3; grid-row: span 2; }
.wk-bento .tile--tall { grid-column: span 2; grid-row: span 2; }
.wk-bento .tile--wide { grid-column: span 4; }
.wk-bento .tile--sq { grid-column: span 2; }

@media (max-width: 980px) {
  .wk-bento { grid-template-columns: repeat(2, 1fr); }
  .wk-bento .tile--big { grid-column: span 2; grid-row: span 2; }
  .wk-bento .tile--tall { grid-column: span 2; grid-row: auto; }
  .wk-bento .tile--wide { grid-column: span 2; }
  .wk-bento .tile--sq { grid-column: span 1; }
}

/* ---------- METRICS BAND ---------- */
.wk-metrics { background: var(--wk-gradient); color: #fff; padding: 80px 0; position: relative; overflow: hidden; border-radius: 24px; margin: 0 32px; }
.wk-metrics::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
  mix-blend-mode: overlay; opacity: 0.35; pointer-events: none;
}
.wk-metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.wk-metrics__num { font-weight: 700; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.025em; color: #fff; font-feature-settings: "tnum"; }
.wk-metrics__label { font-size: 14px; color: rgba(255,255,255,0.86); margin-top: 8px; }
@media (max-width: 880px) {
  .wk-metrics { margin: 0 16px; padding: 56px 0; border-radius: 20px; }
  .wk-metrics__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- TESTIMONIAL CAROUSEL ---------- */
.wk-quotes { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 32px 24px; margin: 0 -32px; }
.wk-quotes::-webkit-scrollbar { display: none; }
.wk-quote-card {
  flex: 0 0 calc(100% - 80px); max-width: 760px; scroll-snap-align: center;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 20px;
  padding: 40px 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center;
}
.wk-quote-card__text { font-family: var(--font-serif); font-style: italic; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.25; letter-spacing: -0.01em; color: var(--fg); }
.wk-quote-card__author { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.wk-quote-card__av { width: 44px; height: 44px; border-radius: 50%; }
.wk-quote-card__name { font-weight: 700; font-size: 15px; }
.wk-quote-card__role { font-size: 13px; color: var(--fg-muted); }
.wk-quote-card__brand { font-weight: 700; font-size: 22px; color: var(--fg-subtle); }
.wk-quote-card__visual {
  aspect-ratio: 4/3; border-radius: 14px; background: var(--bg-muted); position: relative; overflow: hidden;
}
@media (max-width: 880px) {
  .wk-quote-card { grid-template-columns: 1fr; padding: 28px; }
  .wk-quote-card__visual { aspect-ratio: 16/9; }
}

/* ---------- PRICING ---------- */
.wk-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.wk-price-card {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 20px;
  padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 16px;
  transition: transform var(--d-hover) var(--ease-out-quint), box-shadow var(--d-hover) var(--ease-out-quint);
  position: relative;
}
.wk-price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.wk-price-card--pop { position: relative; }
.wk-price-card--pop::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: 20px; padding: 1.5px;
  background: var(--wk-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.wk-price-card .pop {
  position: absolute; top: -14px; left: 28px; padding: 6px 12px; border-radius: 999px;
  background: var(--wk-gradient); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;
  box-shadow: 0 10px 24px -8px rgba(30,100,230,0.5);
}
.wk-price-card h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.012em; }
.wk-price-card .desc { font-size: 14px; color: var(--fg-muted); }
.wk-price-card .price { display: flex; align-items: baseline; gap: 6px; }
.wk-price-card .price .big { font-weight: 700; font-size: 54px; letter-spacing: -0.03em; line-height: 1; font-feature-settings: "tnum"; }
.wk-price-card .price .per { color: var(--fg-muted); font-size: 14px; }
.wk-price-card ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.wk-price-card ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; }
.wk-price-card ul li svg { color: var(--wk-green-500); flex-shrink: 0; margin-top: 1px; }
.wk-price-card .cta { margin-top: auto; }

@media (max-width: 880px) {
  .wk-price-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.wk-faq { max-width: 820px; margin: 0 auto; }
.wk-faq__item { border-bottom: 1px solid var(--border); }
.wk-faq__q {
  width: 100%; background: none; border: 0; padding: 22px 4px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font: 600 18px/1.4 var(--font-sans); letter-spacing: -0.01em; color: var(--fg); text-align: left;
}
.wk-faq__icon { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-muted); display: inline-flex; align-items: center; justify-content: center; transition: transform var(--d-hover); color: var(--fg); flex-shrink: 0; }
.wk-faq__icon svg { transition: transform var(--d-hover); }
.wk-faq__item.open .wk-faq__icon svg { transform: rotate(45deg); }
.wk-faq__a { overflow: hidden; }
.wk-faq__a-inner { padding: 0 4px 22px; color: var(--fg-muted); font-size: 15.5px; line-height: 1.55; max-width: 680px; }

/* ---------- FINAL CTA ---------- */
.wk-finalcta {
  position: relative; padding: 120px 0 140px; text-align: center; overflow: clip;
}
/* Top fade separator */
.wk-finalcta::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--border) 40%, var(--border) 60%, transparent 90%);
  pointer-events: none; z-index: 0;
}
.wk-finalcta__bg-w {
  position: absolute; top: 50%; left: 50%; width: 560px; height: 560px;
  transform: translate(-50%, -50%); opacity: 0.07; z-index: 0;
  filter: saturate(1.15);
  pointer-events: none;
}
.wk-finalcta__conic {
  position: absolute; top: 50%; left: 50%; width: 880px; height: 880px;
  border-radius: 50%; transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, #1E64E6, #22C55E, #4A9CFF, #1E64E6);
  /* Light mode: keep enough blur that text stays readable over the warm bg */
  filter: blur(160px); opacity: 0.18; z-index: 0;
  animation: wk-spin 28s linear infinite;
  pointer-events: none;
}
@keyframes wk-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.wk-finalcta__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.wk-finalcta__title { font-weight: 700; font-size: clamp(44px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.024em; margin: 0 0 20px; }
.wk-finalcta__sub { font-size: 19px; color: var(--fg-muted); margin: 0 0 36px; line-height: 1.6; }

/* Dark mode */
[data-theme="dark"] .wk-finalcta__bg-w {
  filter: brightness(0) invert(1);
  opacity: 0.05;
  mix-blend-mode: plus-lighter;
}
[data-theme="dark"] .wk-finalcta__conic {
  filter: blur(160px); opacity: 0.58;
}
[data-theme="dark"] .wk-finalcta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(65% 55% at 50% 50%, rgba(74,156,255,0.12), transparent 70%);
}
@media (prefers-reduced-motion: reduce) {
  .wk-finalcta__conic { animation: none; }
}

/* ---------- FOOTER ---------- */
.wk-footer { border-top: 1px solid var(--border-strong); padding: 64px 0 36px; background: var(--bg-muted); }
.wk-footer__news {
  display: flex; align-items: center; gap: 20px; padding-bottom: 40px; border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.wk-footer__news h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.012em; }
.wk-footer__news p { margin: 0; font-size: 14px; color: var(--fg-muted); }
.wk-footer__news form { display: flex; gap: 8px; margin-left: auto; max-width: 420px; flex: 1; min-width: 280px; }
.wk-footer__news input {
  flex: 1; height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--bg-elevated); font-family: inherit; font-size: 14px; color: var(--fg);
  outline: none;
}
.wk-footer__news input:focus { border-color: var(--wk-blue-500); box-shadow: 0 0 0 4px rgba(30,100,230,0.18); }
.wk-footer__cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding: 48px 0 40px; }
.wk-footer__col h4 { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); }
.wk-footer__col a { display: block; padding: 6px 0; font-size: 14px; color: var(--fg-muted); transition: color var(--d-hover); }
.wk-footer__col a:hover { color: var(--fg); }
.wk-footer__bot { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--border); }
.wk-footer__bot .copy { font-size: 13px; color: var(--fg-muted); }
.wk-footer__bot .social { margin-left: auto; display: flex; gap: 6px; }
.wk-footer__bot .social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--fg-muted); transition: all var(--d-hover); }
.wk-footer__bot .social a:hover { background: var(--bg-elevated); color: var(--fg); }
.wk-footer__lang { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; color: var(--fg-muted); background: var(--bg-elevated); }

@media (max-width: 880px) {
  .wk-footer__cols { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   MOBILE POLISH (≤ 720px) - overrides for narrow viewports
   ========================================================= */
@media (max-width: 720px) {
  /* Nav */
  .wk-nav__inner { padding: 12px 0; gap: 12px; }
  .wk-nav__right .wk-btn--link { display: none; }
  .wk-nav__divider { display: none; }

  /* Hero */
  .wk-hero { padding-top: 28px; padding-bottom: 56px; }
  .wk-hero__grid { gap: 36px; }
  .wk-hero__title { font-size: clamp(40px, 11vw, 56px); line-height: 1.02; margin: 14px 0 14px; }
  .wk-hero__sub { font-size: 16px; margin-bottom: 22px; }
  .wk-hero__ctas { gap: 8px; }
  .wk-hero__ctas .wk-btn { flex: 1 1 auto; }
  .wk-hero__trust { margin-top: 36px; }
  .wk-hero__logos { gap: 16px; column-gap: 18px; row-gap: 10px; }
  .wk-hero__logos > span { font-size: 14px; }
  /* Hide separator dots on mobile - items wrap and dots look odd */
  .wk-hero__logos > span + span::before { display: none; }
  .wk-hero__visual { height: 380px; }
  .wk-hero__notif { padding: 10px 12px; max-width: 70vw; }
  .wk-hero__notif .t { font-size: 12px; }
  .wk-hero__notif .s { font-size: 11px; }

  /* Section heads */
  .wk-shead { margin-bottom: 36px; gap: 10px; }
  .wk-shead__title { font-size: clamp(28px, 7vw, 38px); }
  .wk-shead__sub { font-size: 15.5px; }

  /* Bento - already responsive, just tighten radii */
  .wk-bento .tile { padding: 16px; border-radius: 14px; }
  .wk-bento .tile h3 { font-size: 18px; }
  .wk-bento .tile p { font-size: 13px; }

  /* Marquee */
  .wk-marquee__reel { gap: 32px; }
  .wk-marquee__logo { font-size: 17px; }

  /* Metrics */
  .wk-metrics__num { font-size: clamp(34px, 9vw, 48px); }

  /* Quotes */
  .wk-quotes { padding: 8px 20px 18px; margin: 0 -20px; gap: 14px; }
  .wk-quote-card { flex: 0 0 calc(100% - 40px); padding: 24px; }
  .wk-quote-card__text { font-size: 20px; }

  /* Integrations - shrink constellation */
  .wk-section .wk-wrap > div[style*="aspect-ratio"] { max-width: 92vw !important; }

  /* Pricing toggle wrapping */
  .seg-toggle { flex-wrap: wrap; }

  /* Pricing */
  .wk-price-card { padding: 22px 22px 26px; }
  .wk-price-card .price .big { font-size: 44px; }

  /* FAQ */
  .wk-faq__q { padding: 18px 4px; font-size: 16px; }
  .wk-faq__a-inner { font-size: 14.5px; }

  /* Final CTA */
  .wk-finalcta { padding: 80px 0 100px; }
  .wk-finalcta__bg-w { width: 460px; height: 460px; }
  .wk-finalcta__conic { width: 560px; height: 560px; filter: blur(80px); }
  .wk-finalcta__sub { font-size: 16.5px; margin-bottom: 24px; }

  /* Footer */
  .wk-footer { padding: 48px 0 28px; }
  .wk-footer__news { padding-bottom: 28px; gap: 14px; }
  .wk-footer__news h3 { font-size: 18px; }
  .wk-footer__news form { margin-left: 0; min-width: 100%; }
  .wk-footer__cols { padding: 32px 0 28px; gap: 24px; }
  .wk-footer__bot { flex-wrap: wrap; gap: 12px; }
}

/* Extra narrow (≤ 420px) - tighten a touch more */
@media (max-width: 420px) {
  .wk-wrap { padding: 0 16px; }
  .wk-hero__title { font-size: 40px; }
  .wk-shead__title { font-size: 28px; }
  .wk-tour-section { margin: 0 12px; padding: 56px 0; }
  .wk-tour-mobile__visual { height: clamp(320px, 80vw, 400px); }
  .wk-metrics { margin: 0 12px; }
  .wk-bento { grid-template-columns: 1fr; }
  .wk-bento .tile--big, .wk-bento .tile--tall, .wk-bento .tile--wide, .wk-bento .tile--sq { grid-column: span 1; grid-row: auto; min-height: 200px; }
}
.wk-widget { background: var(--bg-elevated); border-radius: 12px; padding: 14px 16px; }
.wk-w-title { font-size: 12px; color: var(--fg-muted); font-weight: 500; }
.wk-w-big { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; font-feature-settings: "tnum"; }
.wk-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 12px; }
.wk-bars span { flex: 1; background: var(--wk-gradient); border-radius: 4px 4px 0 0; opacity: 0.85; }
.wk-stack { display: flex; }
.wk-stack > .av { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--bg-elevated); margin-left: -6px; }
.wk-stack > .av:first-child { margin-left: 0; }
