/**
 * Theme Name:        Klosiq
 * Theme URI:         https://klosiq.ai
 * Description:       Modern AI-curated wardrobe WordPress theme for Klosiq.
 * Version:           1.0.0
 * Author:            Klosiq Team
 * Author URI:        https://klosiq.ai
 */

:root {
  --charcoal: #111217;
  --charcoal-2: #191b21;
  --charcoal-3: #20232b;
  --sage-light: #DAE7CB;
  --sage-primary: #A8B79A;
  --olive: #6E7F5F;
  --olive-deep: #566349;
  --gold: #E8C888;
  --text-primary: #17181c;
  --text-secondary: #63666b;
  --divider: #E8E8E8;
  --white: #FFFFFF;
  --glass-light: rgba(255, 255, 255, .56);
  --glass-light-2: rgba(255, 255, 255, .36);
  --glass-border-light: rgba(255, 255, 255, .65);
  --glass-dark: rgba(255, 255, 255, .055);
  --glass-dark-2: rgba(255, 255, 255, .09);
  --glass-border-dark: rgba(255, 255, 255, .14);
  --shadow-color: rgba(20, 24, 18, .16);
  --glow-sage: rgba(168, 183, 154, .45);
  --glow-olive: rgba(110, 127, 95, .4);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

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

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

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

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--sage-primary);
  color: var(--charcoal);
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

h1,
h2,
h3 {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

em {
  font-style: italic;
  font-weight: 340;
  background: linear-gradient(100deg, var(--olive) 10%, var(--olive-deep) 55%, var(--olive) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--olive), transparent);
  display: inline-block;
}

/* ---------- ambient glass orbs ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  opacity: .55;
  animation: orbDrift 22s ease-in-out infinite alternate;
}

@keyframes orbDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(2%, -4%) scale(1.06);
  }

  100% {
    transform: translate(-3%, 3%) scale(0.98);
  }
}

@media(prefers-reduced-motion: reduce) {
  .orb {
    animation: none;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  transition: transform .45s var(--ease-spring), box-shadow .45s var(--ease), background .45s var(--ease), border-color .35s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  will-change: transform;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn-primary {
  background: linear-gradient(155deg, var(--sage-light), #c9dcb6 78%);
  color: var(--charcoal);
  box-shadow: 0 10px 26px -12px var(--glow-sage), inset 0 1px 0 rgba(255, 255, 255, .6);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 22px 44px -16px var(--glow-sage), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.btn-outline {
  border-color: rgba(255, 255, 255, .28);
  color: var(--white);
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .12);
  transform: translateY(-3px);
}

.btn-dark {
  background: linear-gradient(155deg, var(--charcoal-2), var(--charcoal));
  color: var(--white);
  box-shadow: 0 10px 26px -14px rgba(0, 0, 0, .55);
}

.btn-dark:hover {
  background: linear-gradient(155deg, var(--olive-deep), var(--olive));
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -14px var(--glow-olive);
}

/* ---------- grid-9 signature motif ---------- */
.grid9 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.grid9 span {
  background: rgba(218, 231, 203, .14);
  border-radius: 5px;
  transition: background .6s var(--ease);
}

.grid9.on span {
  transition-delay: calc(var(--i) * 70ms);
}

.grid9.on span.fill {
  background: var(--sage-light);
}

.grid9.dark span {
  background: rgba(29, 29, 29, .08);
}

.grid9.dark.on span.fill {
  background: var(--olive);
}

/* ---------- nav ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 26px 0;
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s var(--ease);
}

nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav.scrolled {
  background: rgba(17, 18, 23, .62);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  padding: 14px 0;
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, .65);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.logo {
  width: 118px;
  color: var(--white);
  transition: filter .4s var(--ease), transform .4s var(--ease);
}

.logo:hover {
  filter: drop-shadow(0 0 14px var(--glow-sage));
  transform: scale(1.03);
}

.logo svg {
  width: 100%;
  display: block;
}

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

.nav-links a.navlink {
  font-size: 14px;
  color: rgba(255, 255, 255, .72);
  transition: color .3s;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a.navlink::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--sage-light);
  transition: width .35s var(--ease);
}

.nav-links a.navlink:hover {
  color: var(--white);
}

.nav-links a.navlink:hover::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

@media(max-width:760px) {
  .nav-links a.navlink {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  background: radial-gradient(120% 90% at 15% -10%, #1b1e26 0%, var(--charcoal) 55%), var(--charcoal);
  color: var(--white);
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero .orb-1 {
  width: 520px;
  height: 520px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, var(--olive) 0%, transparent 68%);
}

.hero .orb-2 {
  width: 420px;
  height: 420px;
  bottom: -140px;
  right: -80px;
  background: radial-gradient(circle, var(--sage-primary) 0%, transparent 70%);
  animation-duration: 28s;
}

.hero .orb-3 {
  width: 320px;
  height: 320px;
  top: 30%;
  right: 18%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 72%);
  opacity: .28;
  animation-duration: 34s;
}

.hero .wrap {
  display: grid;
  grid-template-columns: .76fr 1.24fr;
  gap: 56px;
  align-items: stretch;
  position: relative;
  z-index: 2;
  width: 100%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .42);
  margin-bottom: 40px;
  letter-spacing: .01em;
}

.breadcrumb span.sep {
  color: rgba(255, 255, 255, .22);
}

.breadcrumb span.current {
  color: var(--white);
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.hero-copy h1 {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.06;
  color: var(--white);
  max-width: 560px;
}

.hero-copy h1 em {
  font-family: 'Noto Sans', sans-serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  background: linear-gradient(100deg, var(--sage-light) 10%, var(--gold) 60%, var(--sage-light) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 220% auto;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-copy .sub {
  font-size: 16.5px;
  color: rgba(255, 255, 255, .55);
  max-width: 430px;
  margin: 26px 0 0;
  line-height: 1.65;
}

.cta-panel {
  margin-top: auto;
  padding-top: 44px;
}

.cta-panel .box {
  background: linear-gradient(155deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  border: 1px solid var(--glass-border-dark);
  border-radius: 22px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}

.cta-panel .box:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .24);
  box-shadow: 0 32px 70px -30px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .14);
}

.cta-panel .box .label {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.5;
  max-width: 220px;
}

.cta-panel .box .label strong {
  color: var(--white);
  display: block;
  font-weight: 500;
  margin-bottom: 2px;
}

.cta-panel .actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: nowrap;
}

.cta-panel .actions .btn {
  white-space: nowrap;
}

/* before/after compare card — liquid glass */
.hero-compare-col {
  position: relative;
  height: 100%;
  min-height: 480px;
}

.compare-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)), #151515;
  border: 1px solid var(--glass-border-dark);
  box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
  opacity: 0;
  transform: translateY(24px);
  animation: cardIn 1s var(--ease) .2s forwards;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}

.compare-card * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
}

.compare-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 26%);
  mix-blend-mode: screen;
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.compare-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.compare-before {
  background: radial-gradient(120% 100% at 30% 0%, #232323, #151515 70%);
}

.compare-after {
  background: linear-gradient(160deg, var(--sage-light), #c3d6b0 100%);
  clip-path: inset(0 0 0 50%);
  will-change: clip-path;
}

.compare-divider {
  will-change: left;
}

.compare-card.dragging .compare-after,
.compare-card.dragging .compare-divider {
  transition: none !important;
}

body.compare-dragging,
body.compare-dragging * {
  user-select: none !important;
  -webkit-user-select: none !important;
  cursor: ew-resize !important;
}

.compare-outfit-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  -webkit-user-drag: none;
}

.compare-before .compare-outfit-photo {
  filter: brightness(.95);
}

.compare-after .compare-outfit-photo {
  filter: none;
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .85), transparent);
  transform: translateX(-1px);
  cursor: ew-resize;
  z-index: 10;
  pointer-events: auto;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, .45), inset 0 1px 0 #ffffff;
  color: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, .9);
  transition: transform .3s var(--ease);
  cursor: ew-resize;
  z-index: 12;
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.compare-handle:hover {
  transform: translate(-50%, -50%) scale(1.12);
}

.compare-handle svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.compare-tag {
  position: absolute;
  top: 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 100px;
  z-index: 4;
}

.compare-tag.before-tag {
  left: 22px;
}

.compare-tag.after-tag {
  right: 22px;
  background: rgba(29, 29, 29, .5);
}

@media(max-width:900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero-compare-col {
    height: 420px;
    margin-top: 10px;
  }

  .cta-panel .box {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-panel .box .label {
    max-width: 100%;
  }
}

section {
  padding: 130px 0;
  position: relative;
}

@media(max-width:760px) {
  section {
    padding: 80px 0;
  }

  .wrap {
    padding: 0 20px;
  }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .k9-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
}

@media(max-width:480px) {
  .cta-panel .actions {
    gap: 8px;
    width: 100%;
  }

  .cta-panel .actions .btn {
    padding: 12px 12px;
    font-size: 13px;
    flex: 1;
    justify-content: center;
    min-width: 0;
  }
}

/* ---------- what is klosiq ---------- */
.what-is {
  position: relative;
  overflow: hidden;
}

.what-is .orb-1 {
  width: 480px;
  height: 480px;
  top: -220px;
  right: -160px;
  background: radial-gradient(circle, var(--sage-light) 0%, transparent 70%);
  opacity: .5;
}

.what-is .wrap {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 80px;
}

.what-is h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  max-width: 480px;
}

.what-is .body-col p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 22px;
  max-width: 520px;
}

.what-is .body-col p:last-child {
  margin-bottom: 0;
}

.what-is .body-col strong {
  color: var(--text-primary);
  font-weight: 600;
}

@media(max-width:860px) {
  .what-is .wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ---------- what we do ---------- */
.wwd {
  background: linear-gradient(165deg, var(--sage-light) 0%, #e5efd8 60%, var(--sage-light) 100%);
  position: relative;
  overflow: hidden;
}

.wwd-head {
  max-width: 560px;
  margin-bottom: 64px;
}

.wwd-head h2 {
  font-size: clamp(30px, 3.4vw, 44px);
}

.wwd .wrap {
  display: grid;
  grid-template-columns: .92fr 1fr;
  gap: 70px;
  align-items: start;
}

.stepper-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-item {
  padding: 24px 26px;
  margin: 0 -26px;
  cursor: pointer;
  border: none;
  border-radius: 18px;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}

.step-item:last-child {
  border-bottom: none;
}

.step-item:hover {
  background: rgba(255, 255, 255, .35);
}

.step-item.active {
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -26px rgba(29, 29, 29, .35), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.step-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-num {
  font-family: 'Noto Sans', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 14px;
  color: var(--olive);
  opacity: .55;
  width: 22px;
  flex-shrink: 0;
  transition: opacity .3s;
}

.step-item h3 {
  font-size: 19px;
  font-weight: 600;
  font-family: 'Noto Sans', sans-serif;
  color: var(--text-primary);
  opacity: .5;
  transition: opacity .3s;
}

.step-item.active .step-num {
  opacity: 1;
}

.step-item.active h3 {
  opacity: 1;
}

.step-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
  padding-left: 38px;
}

.step-item.active .step-body {
  max-height: 150px;
}

.step-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-top: 10px;
  max-width: 400px;
}

.step-progress {
  height: 2px;
  background: rgba(29, 29, 29, .1);
  margin-top: 16px;
  margin-left: 38px;
  border-radius: 2px;
  overflow: hidden;
}

.step-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--olive), var(--sage-primary));
}

.step-item.active .step-progress i {
  animation: stepfill 4200ms linear forwards;
}

.step-item.paused .step-progress i {
  animation-play-state: paused;
}

@keyframes stepfill {
  from {
    width: 0%
  }

  to {
    width: 100%
  }
}

.stepper-visual {
  position: sticky;
  top: 120px;
}

.step-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 0;
  overflow: visible;
  background: none;
  border: none;
  box-shadow: none;
  transition: transform .6s var(--ease);
}

.step-frame:hover {
  transform: translateY(-6px);
}

.step-chip {
  position: absolute;
  top: 22px;
  left: 22px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--charcoal);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 100px;
  z-index: 3;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .4);
}

.step-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transform: scale(.94);
  transition: opacity .55s var(--ease), transform .65s var(--ease);
  pointer-events: none;
}

.step-panel-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .15));
}

.step-panel.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

@media(max-width:860px) {
  .wwd .wrap {
    grid-template-columns: 1fr;
  }

  .stepper-visual {
    position: static;
    order: -1;
    margin-bottom: 44px;
  }

  .step-frame {
    aspect-ratio: 16/11;
  }
}

/* ---------- klosiq 9 callout ---------- */
.k9 {
  background: radial-gradient(120% 100% at 85% 10%, #1c2018 0%, var(--charcoal) 60%), var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.k9 .orb-1 {
  width: 460px;
  height: 460px;
  bottom: -180px;
  left: -140px;
  background: radial-gradient(circle, var(--olive) 0%, transparent 70%);
}

.k9 .orb-2 {
  width: 340px;
  height: 340px;
  top: -100px;
  right: 5%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 72%);
  opacity: .25;
  animation-duration: 26s;
}

.k9 .wrap {
  display: grid;
  grid-template-columns: .95fr .8fr;
  gap: 60px;
  align-items: center;
}

.k9-copy .eyebrow {
  color: var(--sage-light);
}

.k9-copy .eyebrow::before {
  background: linear-gradient(90deg, var(--sage-light), transparent);
}

.k9-copy h2 {
  color: var(--white);
  font-size: clamp(28px, 3.2vw, 42px);
  max-width: 480px;
}

.k9-copy h2 em {
  background: linear-gradient(100deg, var(--sage-light) 10%, var(--gold) 60%, var(--sage-light) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.k9-copy p {
  color: rgba(255, 255, 255, .6);
  font-size: 17px;
  line-height: 1.7;
  max-width: 460px;
  margin: 24px 0 32px;
}

.k9-stats {
  display: flex;
  gap: 44px;
}

.k9-stats div b {
  display: block;
  font-family: 'Noto Sans', sans-serif;
  font-size: 34px;
  font-weight: 700;
  background: linear-gradient(120deg, var(--sage-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.k9-stats div span {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

/* ---------- dual mobile screens mockup ---------- */
.k9-phones-wrapper {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 500px;
  opacity: 0;
  transform: translateY(30px) scale(.97);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.k9-phones-wrapper.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.k9-phones-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 440px;
  height: 440px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(218, 231, 203, .28) 0%, rgba(107, 128, 86, .12) 50%, transparent 72%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(24px);
}

.k9-phones-container {
  position: relative;
  width: 100%;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.k9-phones-container .phone-device {
  position: absolute;
  width: min(245px, 58vw);
  border-radius: 42px;
  background: linear-gradient(145deg, #2b2e38, #12141a);
  padding: 10px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, .14),
    0 25px 60px -10px rgba(0, 0, 0, .78),
    0 0 60px -15px var(--glow-sage);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease);
}

/* Top-Left Back Phone */
.k9-phones-container .phone-device-back {
  top: 10px;
  left: 20px;
  z-index: 1;
  transform: rotate(-5deg);
}

/* Bottom-Right Front Phone */
.k9-phones-container .phone-device-front {
  top: 115px;
  left: 175px;
  z-index: 2;
  transform: rotate(5deg);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, .2),
    -20px 30px 75px rgba(0, 0, 0, .88),
    0 0 85px -15px var(--glow-sage);
}

/* Interactivity on hover */
.k9-phones-wrapper:hover .phone-device-back {
  transform: rotate(-7deg) translateY(-10px);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, .22),
    -10px 30px 70px -10px rgba(0, 0, 0, .82),
    0 0 80px -10px var(--glow-sage);
}

.k9-phones-wrapper:hover .phone-device-front {
  transform: rotate(7deg) translateY(-6px) scale(1.02);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, .25),
    -25px 40px 90px rgba(0, 0, 0, .92),
    0 0 100px -10px var(--glow-sage);
}

.phone-screen-container {
  position: relative;
  width: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #f0f4ec;
  aspect-ratio: 393 / 852;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 34px;
}

.phone-screen-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, .08) 100%);
  pointer-events: none;
  border-radius: 34px;
}

.phone-device::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 72px;
  width: 3px;
  height: 40px;
  background: rgba(255, 255, 255, .22);
  border-radius: 2px 0 0 2px;
  box-shadow: 0 48px 0 rgba(255, 255, 255, .22);
}

.phone-device::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 92px;
  width: 3px;
  height: 54px;
  background: rgba(255, 255, 255, .22);
  border-radius: 0 2px 2px 0;
}

@media(max-width:900px) {
  .k9 .wrap {
    grid-template-columns: 1fr;
  }

  .k9-phones-wrapper {
    margin-top: 30px;
  }
}

@media(max-width:540px) {
  .k9-phones-container {
    height: 440px;
  }

  .k9-phones-container .phone-device {
    width: min(185px, 48vw);
    border-radius: 30px;
    padding: 7px;
  }

  .k9-phones-container .phone-device-back {
    left: 5px;
    top: 5px;
  }

  .k9-phones-container .phone-device-front {
    left: 110px;
    top: 90px;
  }
}

/* ---------- built for real life ---------- */
.statement {
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.statement .orb-1 {
  width: 520px;
  height: 520px;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--sage-light) 0%, transparent 70%);
  opacity: .6;
}

.statement .wrap {
  max-width: 880px;
}

.statement .eyebrow {
  justify-content: center;
}

.statement h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 340;
  line-height: 1.28;
}

.statement h2 em {
  color: var(--olive);
}

.statement .values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 80px;
}

.value-cell {
  background: linear-gradient(160deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .35));
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 46px -30px rgba(29, 29, 29, .28);
  padding: 34px 24px;
  text-align: left;
  transition: transform .5s var(--ease-spring), box-shadow .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease);
}

.value-cell:hover {
  transform: translateY(-8px);
  background: linear-gradient(160deg, var(--sage-light), #cfe0bd);
  border-color: rgba(255, 255, 255, .9);
  box-shadow: 0 34px 60px -28px var(--glow-sage);
}

.value-cell .n {
  font-family: 'Noto Sans', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 15px;
  color: var(--olive);
  margin-bottom: 14px;
  display: block;
}

.value-cell p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media(max-width:860px) {
  .statement .values {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:520px) {
  .statement .values {
    grid-template-columns: 1fr;
  }
}

/* ---------- footer / contact ---------- */
footer {
  background: radial-gradient(140% 60% at 50% 0%, #1a1c22 0%, var(--charcoal) 55%), var(--charcoal);
  color: var(--white);
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

footer .orb-1 {
  width: 600px;
  height: 300px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, var(--olive) 0%, transparent 72%);
  opacity: .4;
}

.footer-cta {
  text-align: center;
  padding-bottom: 100px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-cta .eyebrow {
  justify-content: center;
  color: var(--sage-light);
}

.footer-cta .eyebrow::before {
  background: linear-gradient(90deg, var(--sage-light), transparent);
}

.footer-cta h2 {
  font-size: clamp(32px, 5vw, 64px);
  color: var(--white);
  max-width: 760px;
  margin: 0 auto 40px;
}

.footer-cta h2 em {
  background: linear-gradient(100deg, var(--sage-light) 10%, var(--gold) 60%, var(--sage-light) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-bottom {
  padding: 70px 0 46px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.footer-bottom .flogo {
  width: 130px;
  color: var(--white);
  margin-bottom: 22px;
  display: inline-block;
}

.footer-bottom .flogo svg {
  width: 100%;
}

.footer-bottom p {
  color: rgba(255, 255, 255, .5);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 280px;
}

.fcol h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 18px;
  font-weight: 600;
}

.fcol a,
.fcol div {
  display: block;
  color: rgba(255, 255, 255, .75);
  font-size: 15px;
  margin-bottom: 12px;
  transition: color .3s;
}

.fcol a:hover {
  color: var(--sage-light);
}

.flegal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .38);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

.flegal-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.flegal a {
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  transition: color .3s;
}

.flegal a:hover {
  color: var(--sage-light);
}

.flegal .sep {
  color: rgba(255, 255, 255, .22);
  font-size: 10px;
}

@media(max-width:760px) {
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .flegal {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---------- Klosiq Waitlist Modal ---------- */
.klosiq-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}

.klosiq-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.klosiq-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 18, 23, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.klosiq-modal-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(165deg, rgba(30, 34, 42, .96), rgba(17, 18, 23, .98));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .14);
  padding: 44px 36px;
  color: var(--white);
  text-align: center;
  transform: scale(.92) translateY(20px);
  transition: transform .45s var(--ease-spring);
}

.klosiq-modal.open .klosiq-modal-card {
  transform: scale(1) translateY(0);
}

.klosiq-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, transform .3s;
}

.klosiq-modal-close:hover {
  background: rgba(255, 255, 255, .2);
  transform: scale(1.08);
}

.klosiq-modal-icon {
  margin: 0 auto 16px;
  color: var(--white);
  width: 110px;
}

.klosiq-modal-icon svg {
  width: 100%;
  height: auto;
}

.klosiq-modal h2 {
  font-size: 26px;
  color: var(--white);
  margin-bottom: 10px;
}

.klosiq-modal p.sub {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.55;
  margin-bottom: 26px;
}

.klosiq-waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-input {
  width: 100%;
  padding: 15px 22px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, .4);
}

.form-input:focus {
  border-color: var(--sage-light);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 0 16px var(--glow-sage);
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 15px;
}

.waitlist-message {
  font-size: 14px;
  line-height: 1.45;
  border-radius: 14px;
  transition: all .3s;
}

.waitlist-message.success {
  color: var(--sage-light);
  background: rgba(218, 231, 203, .12);
  border: 1px solid rgba(218, 231, 203, .3);
  padding: 14px 18px;
}

.waitlist-message.error {
  color: #ff8a8a;
  background: rgba(255, 80, 80, .12);
  border: 1px solid rgba(255, 80, 80, .3);
  padding: 14px 18px;
}

/* ---------- legal pages styling (privacy policy & terms) ---------- */
.legal-hero {
  background: radial-gradient(120% 90% at 15% -10%, #1b1e26 0%, var(--charcoal) 55%), var(--charcoal);
  color: var(--white);
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}

.legal-content {
  padding: 70px 0 110px;
  background: var(--white);
  color: var(--text-primary);
}

.legal-content .wrap {
  max-width: 920px;
}

.legal-card {
  background: rgba(248, 250, 246, 0.7);
  border: 1px solid var(--divider);
  border-radius: 24px;
  padding: 44px;
  margin-bottom: 36px;
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.05);
  line-height: 1.7;
}

.legal-card:last-child {
  margin-bottom: 0;
}

.legal-card h2 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 0;
  color: var(--charcoal);
  line-height: 1.25;
}

.legal-card h3 {
  font-family: 'Noto Sans', sans-serif;
  font-size: 17.5px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--charcoal);
  line-height: 1.35;
}

.legal-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--olive-deep);
}

.legal-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card strong,
.legal-card b {
  color: var(--charcoal);
  font-weight: 600;
}

.legal-card ul,
.legal-card ol {
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.legal-card li {
  margin-bottom: 8px;
}

.legal-card li:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.legal-card a:hover {
  color: var(--olive-deep);
}

/* Callout highlights & blockquotes inside legal cards */
.legal-card blockquote,
.legal-card .wp-block-quote,
.legal-card .legal-callout-quote {
  background: rgba(110, 127, 95, 0.08);
  border-left: 4px solid var(--olive);
  padding: 18px 24px;
  border-radius: 4px 14px 14px 4px;
  margin: 24px 0;
}

.legal-card blockquote p,
.legal-card .wp-block-quote p,
.legal-card .legal-callout-quote p {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
  line-height: 1.6;
}

.legal-card .legal-callout-box,
.legal-card .wp-block-group.has-background,
.legal-card .wp-block-group {
  background: linear-gradient(145deg, rgba(218, 231, 203, 0.35), rgba(168, 183, 154, 0.15));
  border: 1px solid var(--sage-primary);
  border-radius: 18px;
  padding: 26px;
  margin: 24px 0;
}

.legal-card .legal-callout-box h4 {
  margin-top: 0;
}

@media (max-width: 760px) {
  .legal-card {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .legal-card h2 {
    font-size: 20px;
  }

  .legal-card h3 {
    font-size: 16px;
  }

  .legal-card p,
  .legal-card ul,
  .legal-card ol {
    font-size: 14.5px;
  }
}