/* Main Website Styles - Replacing Tailwind CSS */

/* CSS Variables for Colors */
:root {
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-gray-950: #030712;
  
  --color-purple-400: #c084fc;
  --color-purple-500: #a855f7;
  --color-purple-600: #9333ea;
  --color-purple-700: #7e22ce;
  --color-purple-800: #6b21a8;
  
  --color-red-600: #dc2626;
  --color-red-800: #991b1b;
  
  --color-green-100: #dcfce7;
  --color-green-300: #86efac;
  --color-green-800: #166534;
  --color-green-900: #14532d;
  
  --color-cyan-400: #22d3ee;
  --color-blue-500: #3b82f6;
  
  --color-white: #ffffff;
  --color-black: #000000;
  
  --color-base-900: #121212;
}

/* Dark Mode Support */
.dark {
  color-scheme: dark;
}

/* Dark canvas: must match DARK_THEME_COLOR in templates/www/base.html (#030712 / gray-950). */
html.dark body,
html.dark {
  background-color: var(--color-gray-950) !important;
}

/* Base-900 background utility */
.bg-base-900 {
  background-color: var(--color-base-900);
}

/* Dark mode only class - no default, only applies in dark mode */
.dark\:bg-base-900 {
  /* No default background */
}

.dark .bg-base-900,
.dark .dark\:bg-base-900 {
  background-color: var(--color-base-900);
}

/* Gray-950 background utility */
.bg-gray-950 {
  background-color: var(--color-gray-950);
}

/* Dark mode only class for gray-950 */
.dark\:bg-gray-950 {
  /* No default background */
}

.dark .bg-gray-950,
.dark .dark\:bg-gray-950 {
  background-color: var(--color-gray-950);
}

/* Base-900 background utility */
.bg-base-900 {
  background-color: var(--color-base-900);
}

/* Dark mode only class - no default, only applies in dark mode */
.dark\:bg-base-900 {
  /* No default background */
}

.dark .bg-base-900,
.dark .dark\:bg-base-900 {
  background-color: var(--color-base-900);
}

/* Base Reset */
* {
  box-sizing: border-box;
}

/* Layout Utilities */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-sm {
  max-width: 24rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-xs {
  max-width: 20rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-screen-xl {
  max-width: 1280px;
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

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

.items-start {
  align-items: flex-start;
}

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

.justify-between {
  justify-content: space-between;
}

.justify-evenly {
  justify-content: space-evenly;
}

.flex-grow {
  flex-grow: 1;
}

/* Grid Utilities */
.grid {
  display: grid;
}

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

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.lg\:col-span-2 {
  grid-column: span 2 / span 2;
}

/* Spacing Utilities */
.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}

.gap-x-2 {
  column-gap: 0.5rem;
}

.gap-x-4 {
  column-gap: 1rem;
}

.gap-x-5 {
  column-gap: 1.25rem;
}

.gap-x-8 {
  column-gap: 2rem;
}

.gap-y-0 {
  row-gap: 0;
}

.gap-y-4 {
  row-gap: 1rem;
}

.gap-y-5 {
  row-gap: 1.25rem;
}

.gap-y-6 {
  row-gap: 1.5rem;
}

.gap-y-8 {
  row-gap: 2rem;
}

.gap-y-10 {
  row-gap: 2.5rem;
}

.gap-x-10 {
  column-gap: 2.5rem;
}

.text-gray-800 {
  color: var(--color-gray-800);
}

.order-1 {
  order: 1;
}

@media (min-width: 768px) {
  .md\:mb-0 {
    margin-bottom: 0;
  }

  .md\:order-1 {
    order: 1;
  }

  .md\:order-2 {
    order: 2;
  }
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

/* Padding Utilities */
.p-1\.5 {
  padding: 0.375rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-3 {
  padding-top: 0.75rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pt-16 {
  padding-top: 4rem;
}

.pt-24 {
  padding-top: 6rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pb-10 {
  padding-bottom: 2.5rem;
}

.pb-12 {
  padding-bottom: 3rem;
}

.pb-16 {
  padding-bottom: 4rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-20 {
  margin-top: 5rem;
}

.mt-auto {
  margin-top: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.ml-auto {
  margin-left: auto;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-4 {
  margin-left: 1rem;
}

.ml-6 {
  margin-left: 1.5rem;
}

.ml-8 {
  margin-left: 2rem;
}

.mr-1\.5 {
  margin-right: 0.375rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-6 {
  margin-right: 1.5rem;
}

.mr-12 {
  margin-right: 3rem;
}

.-mr-6 {
  margin-right: -1.5rem;
}

.-m-1\.5 {
  margin: -0.375rem;
}

.my-1 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Width & Height Utilities */
.w-full {
  width: 100%;
}

.w-auto {
  width: auto;
}

.w-1\/2 {
  width: 50%;
}

.w-1\/3 {
  width: 33.333333%;
}

.w-24 {
  width: 6rem;
}

.w-40 {
  width: 10rem;
}

.w-56 {
  width: 14rem;
}

.w-px {
  width: 1px;
}

.w-12 {
  width: 3rem;
}

.w-14 {
  width: 3.5rem;
}

.w-20 {
  width: 5rem;
}

.w-32 {
  width: 8rem;
}

.h-px {
  height: 1px;
}

.h-6 {
  height: 1.5rem;
}

.h-7 {
  height: 1.75rem;
}

.h-9 {
  height: 2.25rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-20 {
  height: 5rem;
}

.h-24 {
  height: 6rem;
}

.h-32 {
  height: 8rem;
}

.h-40 {
  height: 10rem;
}

.h-full {
  height: 100%;
}

.h-auto {
  height: auto;
}

.max-h-0 {
  max-height: 0;
}

.max-h-50 {
  max-height: 50rem;
}

.max-w-50 {
  max-width: 50rem;
}

.min-h-screen {
  min-height: 100vh;
}

.min-w-screen {
  min-width: 100vw;
}

/* Width Responsive */
@media (min-width: 768px) {
  .md\:w-1\/2 {
    width: 50%;
  }
  
  .md\:w-1\/3 {
    width: 33.333333%;
  }
  
  .md\:w-auto {
    width: auto;
  }
  
  .md\:h-\[473px\] {
    height: 473px;
  }
  
  .md\:w-\[840px\] {
    width: 840px;
  }
  
  .md\:pt-40 {
    padding-top: 10rem;
  }
}

@media (min-width: 1024px) {
  .lg\:flex {
    display: flex !important;
  }
  
  .lg\:w-1\/2 {
    width: 50%;
  }
  
  .lg\:w-2\/5 {
    width: 40%;
  }
  
  .lg\:w-3\/5 {
    width: 60%;
  }
  
  .lg\:w-1\/3 {
    width: 33.333333%;
  }
  
  .lg\:pl-4 {
    padding-left: 1rem;
  }
  
  .lg\:pl-8 {
    padding-left: 2rem;
  }
  
  .lg\:w-auto {
    width: auto;
  }
  
  .lg\:w-40 {
    width: 10rem;
  }
  
  .lg\:h-40 {
    height: 10rem;
  }
  
  .lg\:max-w-sm {
    max-width: 24rem;
  }
  
  .lg\:max-w-md {
    max-width: 28rem;
  }
  
  .lg\:flex-row {
    flex-direction: row;
  }
  
  .lg\:gap-16 {
    gap: 4rem;
  }
  
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .lg\:pt-24 {
    padding-top: 6rem;
  }
  
  .lg\:pt-3 {
    padding-top: 0.75rem;
  }
  
  .lg\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  
  .lg\:py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  .lg\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  
  .lg\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  
  .lg\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  
  .lg\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
  
  .lg\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
  
  .lg\:text-9xl {
    font-size: 8rem;
    line-height: 1;
  }
  
  .lg\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  
  .lg\:leading-relaxed {
    line-height: 1.625;
  }
  
  .lg\:border-0 {
    border-width: 0;
  }
  
  .lg\:hidden {
    display: none;
  }
  
  .lg\:block {
    display: block;
  }
  
  .lg\:order-3 {
    order: 3;
  }
  
  .lg\:ml-0 {
    margin-left: 0;
  }
  
  .lg\:ml-4 {
    margin-left: 1rem;
  }
  
  .lg\:mt-0 {
    margin-top: 0;
  }
  
  .lg\:mt-10 {
    margin-top: 2.5rem;
  }
  
  .lg\:mt-20 {
    margin-top: 5rem;
  }
  
  .lg\:right-0 {
    right: 0;
  }
  
  .lg\:left-auto {
    left: auto;
  }
  
  .lg\:h-px {
    height: 1px;
  }
}

@media (min-width: 1280px) {
  .xl\:mx-auto {
    margin-left: auto;
    margin-right: auto;
  }
  
  .xl\:px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  .xl\:px-32 {
    padding-left: 8rem;
    padding-right: 8rem;
  }
  
  .xl\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

@media (min-width: 1536px) {
  .\32xl\:px-32 {
    padding-left: 8rem;
    padding-right: 8rem;
  }
}

/* Typography */
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.text-8xl {
  font-size: 6rem;
  line-height: 1;
}

.text-9xl {
  font-size: 8rem;
  line-height: 1;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.leading-none {
  line-height: 1;
}

.leading-6 {
  line-height: 1.5rem;
}

.leading-\[18px\] {
  line-height: 18px;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-extra-relaxed {
  line-height: 1.75;
}

.leading-snug {
  line-height: 1.375;
}

.leading-loose {
  line-height: 2;
}

.leading-9 {
  line-height: 2.25rem;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* Colors */
.text-gray-400 {
  color: var(--color-gray-400);
}

.text-gray-500 {
  color: var(--color-gray-500);
}

.text-gray-600 {
  color: var(--color-gray-600);
}

.text-gray-700 {
  color: var(--color-gray-700);
}

.text-gray-900 {
  color: var(--color-gray-900);
}

.text-purple-500 {
  color: var(--color-purple-500);
}

.text-purple-600 {
  color: var(--color-purple-600);
}

.text-purple-700 {
  color: var(--color-purple-700);
}

.text-red-600 {
  color: var(--color-red-600);
}

.text-green-800 {
  color: var(--color-green-800);
}

.text-white {
  color: var(--color-white);
}

.text-black {
  color: var(--color-black);
}

/* Background Colors */
.bg-white {
  background-color: var(--color-white);
}

.bg-gray-50 {
  background-color: var(--color-gray-50);
}

.bg-gray-100 {
  background-color: var(--color-gray-100);
}

.bg-gray-200 {
  background-color: var(--color-gray-200);
}

.bg-gray-300 {
  background-color: var(--color-gray-300);
}

.bg-gray-700 {
  background-color: var(--color-gray-700);
}

.bg-gray-800 {
  background-color: var(--color-gray-800);
}

.bg-gray-900 {
  background-color: var(--color-gray-900);
}

.bg-gray-950 {
  background-color: var(--color-gray-950);
}

.bg-purple-400 {
  background-color: var(--color-purple-400);
}

.bg-purple-500 {
  background-color: var(--color-purple-500);
}

.bg-purple-600 {
  background-color: var(--color-purple-600);
}

.bg-purple-700 {
  background-color: var(--color-purple-700);
}

.bg-green-100 {
  background-color: var(--color-green-100);
}

.bg-green-900 {
  background-color: var(--color-green-900);
}

.bg-transparent {
  background-color: transparent;
}

/* Borders */
.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-l {
  border-left-width: 1px;
}

.border-l-2 {
  border-left-width: 2px;
}

.border-t {
  border-top-width: 1px;
}

.border-transparent {
  border-color: transparent;
}

.border-gray-200 {
  border-color: var(--color-gray-200);
}

.border-gray-300 {
  border-color: var(--color-gray-300);
}

.border-gray-400 {
  border-color: var(--color-gray-400);
}

.border-gray-700 {
  border-color: var(--color-gray-700);
}

.border-purple-600 {
  border-color: var(--color-purple-600);
}

.border-red-600 {
  border-color: var(--color-red-600);
}

.border-red-500 {
  border-color: #ef4444;
}

.last\:border-b-0:last-child {
  border-bottom-width: 0;
}

/* Border Radius */
.rounded {
  border-radius: 0.25rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-none {
  border-radius: 0;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

/* Shadows */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.drop-shadow-sm {
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05));
}

/* Positioning */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.top-7 {
  top: 1.75rem;
}

.top-14 {
  top: 3.5rem;
}

.top-16 {
  top: 4rem;
}

.-top-5 {
  top: -1.25rem;
}

.left-0 {
  left: 0;
}

.left-1\/2 {
  left: 50%;
}

.left-10 {
  left: 2.5rem;
}

.left-\[4px\] {
  left: 4px;
}

.left-\[18px\] {
  left: 18px;
}

.top-\[18px\] {
  top: 18px;
}

.top-0\.5 {
  top: 0.125rem;
}

.-right-1 {
  right: -0.25rem;
}

.-right-2 {
  right: -0.5rem;
}

.right-0 {
  right: 0;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.z-\[1\] {
  z-index: 1;
}

.z-\[100\] {
  z-index: 100;
}

/* Display */
.block {
  display: block;
}

.hidden {
  display: none;
}

.inline-block {
  display: inline-block;
}

.inline-flex {
  display: inline-flex;
}

.shrink-0 {
  flex-shrink: 0;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

/* Object Fit */
.object-cover {
  object-fit: cover;
}

.object-contain {
  object-fit: contain;
}

.bg-cover {
  background-size: cover;
}

.bg-center {
  background-position: center;
}

.bg-no-repeat {
  background-repeat: no-repeat;
}

/* Cursor */
.cursor-pointer {
  cursor: pointer;
}

/* Transitions */
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

/* Transform */
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-x-1\/2 {
  transform: translateX(-50%);
}

.translate-x-1 {
  transform: translateX(0.25rem);
}

.rotate-180 {
  transform: rotate(180deg);
}

/* Hover States */
.hover\:bg-gray-100:hover {
  background-color: var(--color-gray-100);
}

.hover\:bg-gray-200:hover {
  background-color: var(--color-gray-200);
}

.hover\:bg-purple-700:hover {
  background-color: var(--color-purple-700);
}

.hover\:text-gray-400:hover {
  color: var(--color-gray-400);
}

.hover\:text-gray-700:hover {
  color: var(--color-gray-700);
}

.hover\:text-purple-600:hover {
  color: var(--color-purple-600);
}

.hover\:text-purple-700:hover {
  color: var(--color-purple-700);
}

/* Group Hover */
.group:hover .group-hover\:-right-1 {
  right: -0.25rem;
}

.group:hover .group-hover\:translate-x-1 {
  transform: translateX(0.25rem);
}

.group:hover .group-hover\:text-purple-600 {
  color: var(--color-purple-600);
}

.group:hover .group-hover\:text-purple-700 {
  color: var(--color-purple-700);
}

.group:hover .group-hover\:border-gray-900 {
  border-color: var(--color-gray-900);
}

.group:hover .group-hover\:bg-gray-900 {
  background-color: var(--color-gray-900);
}

.group:hover .group-hover\:text-white {
  color: var(--color-white);
}

/* Focus States */
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:border-purple-600:focus {
  border-color: var(--color-purple-600);
}

/* Appearance */
.appearance-none {
  appearance: none;
}

/* Line Through */
.line-through {
  text-decoration-line: line-through;
}

/* Opacity */
.opacity-40 {
  opacity: 0.4;
}

.opacity-75 {
  opacity: 0.75;
}

.opacity-90 {
  opacity: 0.9;
}

/* Blur */
.blur-xl {
  filter: blur(24px);
}

.blur-3xl {
  filter: blur(64px);
}

/* Gradient */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-cyan-400 {
  --tw-gradient-from: var(--color-cyan-400);
  --tw-gradient-to: rgb(34 211 238 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-blue-500 {
  --tw-gradient-to: rgb(59 130 246 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(59 130 246), var(--tw-gradient-to);
}

.to-purple-600 {
  --tw-gradient-to: var(--color-purple-600);
}

.from-purple-800 {
  --tw-gradient-from: var(--color-purple-800);
  --tw-gradient-to: rgb(107 33 168 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-red-600 {
  --tw-gradient-from: var(--color-red-600);
  --tw-gradient-to: rgb(220 38 38 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-red-800 {
  --tw-gradient-to: var(--color-red-800);
}

.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

.text-transparent {
  color: transparent;
}

/* Animations */
.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Size Utilities */
.size-2 {
  width: 0.5rem;
  height: 0.5rem;
}

.size-5 {
  width: 1.25rem;
  height: 1.25rem;
}

/* Special Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Custom Components */
.card {
  background-color: transparent;
  border: 1px solid var(--color-gray-200);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
}

.main_container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

/* Public landing page: deliberate hierarchy over decorative effects. */
.public-site-header { border-bottom-width: .5px; }
.landing-hero {
  background: linear-gradient(180deg, #faf9ff 0%, #ffffff 100%);
  overflow: hidden;
  padding: 2rem 1rem 0;
}

.dark .landing-hero {
  background: linear-gradient(180deg, #0c0914 0%, var(--color-gray-950) 100%);
}

.landing-hero__inner {
  align-items: center;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto;
  max-width: 80rem;
}

.landing-hero__copy {
  max-width: 38rem;
}

.landing-hero__eyebrow,
.landing-section-heading > p {
  color: var(--color-purple-700);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.dark .landing-hero__eyebrow,
.dark .landing-section-heading > p {
  color: var(--color-purple-400);
}

.landing-hero h1 {
  color: var(--color-gray-900);
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: .98;
  margin: 0;
}

.dark .landing-hero h1 {
  color: var(--color-white);
}

.landing-hero__lead {
  color: var(--color-gray-700);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.55;
  margin: 1.5rem 0 0;
  max-width: 31rem;
}

.dark .landing-hero__lead { color: var(--color-gray-300); }

.landing-hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.landing-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: .5rem;
  display: inline-flex;
  font-size: .9375rem;
  font-weight: 650;
  gap: .5rem;
  justify-content: center;
  min-height: 3rem;
  padding: .625rem 1rem;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.landing-button:hover { transform: translateY(-1px); }
.landing-button--primary { background: var(--color-purple-600); color: var(--color-white); }
.landing-button--primary:hover { background: var(--color-purple-700); color: var(--color-white); }
.landing-button--secondary { border-color: var(--color-gray-300); color: var(--color-gray-800); }
.landing-button--secondary:hover { background: var(--color-gray-50); color: var(--color-gray-900); }
.dark .landing-button--secondary { border-color: var(--color-gray-700); color: var(--color-gray-100); }
.dark .landing-button--secondary:hover { background: var(--color-gray-800); color: var(--color-white); }

.landing-hero__reassurance {
  color: var(--color-gray-500);
  font-size: .8125rem;
  margin: .875rem 0 0;
}

.landing-hero__visual { min-width: 0; }
.landing-hero__window {
  background: linear-gradient(145deg, rgba(28, 24, 43, .99), rgba(13, 11, 21, .99));
  border: 1px solid rgba(238, 232, 255, .12);
  border-radius: .875rem;
  box-shadow: 0 1.5rem 4rem rgba(57, 23, 96, .28), 0 0 5rem rgba(151, 74, 255, .12);
  overflow: hidden;
}
.dark .landing-hero__window { border-color: rgba(192, 132, 252, .25); box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, .3); }
.landing-hero__window-bar { align-items: center; background: rgba(255, 255, 255, .035); border-bottom: 1px solid rgba(238, 232, 255, .12); display: flex; min-height: 2.5rem; padding: 0 .875rem; position: relative; }
.landing-hero__traffic { display: flex; gap: .375rem; }
.landing-hero__traffic span { border-radius: 50%; display: block; height: .55rem; width: .55rem; }
.landing-hero__traffic span:first-child { background: #ff6b6b; }
.landing-hero__traffic span:nth-child(2) { background: #f4c36a; }
.landing-hero__traffic span:nth-child(3) { background: #72d99d; }
.landing-hero__window-name { color: #aaa4ba; font-size: .72rem; left: 50%; position: absolute; transform: translateX(-50%); }
.landing-crm-illustration__app { color: #f8f7ff; display: grid; grid-template-columns: 8.25rem minmax(0, 1fr); min-height: 23rem; }
.landing-crm-illustration__sidebar { border-right: 1px solid rgba(238, 232, 255, .12); padding: .9rem .5rem; }
.landing-crm-illustration__brand { align-items: center; display: flex; font-size: .72rem; font-weight: 750; gap: .45rem; margin: 0 .3rem 1.1rem; }
.landing-crm-illustration__brand > span { background: linear-gradient(145deg, #9b4dff, #5f36d8); border-radius: .35rem; display: grid; height: 1.2rem; place-items: center; width: 1.2rem; }
.landing-crm-illustration__brand > span::before { border: 2px solid #fff; border-radius: 50%; content: ""; height: .32rem; width: .32rem; }
.landing-crm-illustration__sidebar nav { display: grid; gap: .16rem; }
.landing-crm-illustration__sidebar nav span { border-radius: .35rem; color: #aaa4ba; font-size: .65rem; padding: .48rem .52rem; }
.landing-crm-illustration__sidebar nav .is-active { background: rgba(155, 77, 255, .17); color: #f8f7ff; }
.landing-crm-illustration__sidebar nav b { background: rgba(155, 77, 255, .22); border-radius: 999px; color: #d5b7ff; float: right; font-size: .53rem; padding: .06rem .25rem; }
.landing-crm-illustration__workspace { min-width: 0; padding: clamp(.9rem, 2.6vw, 1.35rem); }
.landing-crm-illustration__head { align-items: flex-start; display: flex; gap: .75rem; justify-content: space-between; }
.landing-crm-illustration__head p { color: #aaa4ba; font-size: .61rem; margin: 0 0 .22rem; }
.landing-crm-illustration__head h2 { color: #f8f7ff; font-size: clamp(.95rem, 2vw, 1.25rem); letter-spacing: -.035em; line-height: 1.1; margin: 0; }
.landing-crm-illustration__catalog-action { align-items: center; border: 1px solid rgba(155, 77, 255, .55); border-radius: .4rem; color: #d5b7ff; display: inline-flex; font-size: .62rem; font-weight: 700; gap: .25rem; padding: .45rem .55rem; white-space: nowrap; }
.landing-crm-illustration__catalog-action::before { content: "+"; font-size: .9rem; line-height: .7; }
.landing-crm-illustration__metrics { display: grid; gap: .45rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: .95rem 0 .55rem; }
.landing-crm-illustration__metrics article, .landing-crm-illustration__card, .landing-crm-illustration__summary article { background: rgba(255, 255, 255, .032); border: 1px solid rgba(238, 232, 255, .12); border-radius: .55rem; min-width: 0; }
.landing-crm-illustration__metrics article { padding: .58rem; }
.landing-crm-illustration__metrics span, .landing-crm-illustration__summary span { color: #aaa4ba; display: block; font-size: .53rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.landing-crm-illustration__metrics strong { display: block; font-size: clamp(.85rem, 1.8vw, 1.15rem); letter-spacing: -.04em; margin-top: .18rem; }
.landing-crm-illustration__metrics em { color: #72d99d; display: block; font-size: .5rem; font-style: normal; margin-top: .12rem; }
.landing-crm-illustration__content { display: grid; gap: .55rem; grid-template-columns: minmax(0, 1.3fr) minmax(8.5rem, .7fr); }
.landing-crm-illustration__card { padding: .72rem; }
.landing-crm-illustration__card-head { align-items: center; display: flex; justify-content: space-between; margin-bottom: .5rem; }
.landing-crm-illustration__card h3 { font-size: .66rem; margin: 0; }
.landing-crm-illustration__card-head span { color: #aaa4ba; font-size: .54rem; }
.landing-crm-illustration__chart { height: 7.25rem; overflow: hidden; position: relative; }
.landing-crm-illustration__chart::before { background: repeating-linear-gradient(to bottom, transparent 0 1.72rem, rgba(238, 232, 255, .12) 1.72rem 1.76rem); content: ""; inset: 0; position: absolute; }
.landing-crm-illustration__chart svg { height: 100%; position: relative; width: 100%; }
.landing-crm-illustration__sales-line { animation: landing-sales-draw 3.6s cubic-bezier(.5, 0, .15, 1) infinite alternate; stroke-dasharray: 520; }
.landing-crm-illustration__sales-dot { animation: landing-sales-dot-shift 3.6s cubic-bezier(.5, 0, .15, 1) infinite alternate; }
.landing-crm-illustration__legend { align-items: center; color: #aaa4ba; display: flex; font-size: .54rem; gap: .3rem; margin-top: -.1rem; }
.landing-crm-illustration__legend i { background: #9b4dff; border-radius: 50%; display: inline-block; height: .3rem; width: .3rem; }
.landing-crm-illustration__catalog-list { display: grid; gap: .1rem; }
.landing-crm-illustration__catalog-list > div { align-items: center; border-top: 1px solid rgba(238, 232, 255, .12); display: grid; gap: .38rem; grid-template-columns: auto 1fr auto; padding: .45rem 0; }
.landing-crm-illustration__catalog-list > div:first-child { border-top: 0; padding-top: 0; }
.landing-crm-illustration__catalog-list i { background: rgba(155, 77, 255, .18); border-radius: .28rem; display: grid; height: 1.05rem; place-items: center; width: 1.05rem; }
.landing-crm-illustration__catalog-list i::before { border: 1px solid #d5b7ff; border-radius: .12rem; content: ""; height: .36rem; width: .36rem; }
.landing-crm-illustration__catalog-list strong, .landing-crm-illustration__catalog-list small { display: block; }
.landing-crm-illustration__catalog-list strong { font-size: .58rem; line-height: 1.1; }
.landing-crm-illustration__catalog-list small { color: #aaa4ba; font-size: .5rem; margin-top: .08rem; }
.landing-crm-illustration__catalog-list b { color: #72d99d; font-size: .5rem; }
.landing-crm-illustration__summary { display: grid; gap: .55rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: .55rem; }
.landing-crm-illustration__summary article { min-height: 3.45rem; padding: .6rem; }
.landing-crm-illustration__summary b { display: block; font-size: .86rem; letter-spacing: -.035em; margin-top: .16rem; }
.landing-crm-illustration__summary small { color: #72d99d; font-size: .49rem; }
@keyframes landing-sales-draw { from { stroke-dashoffset: 135; } to { stroke-dashoffset: 0; } }
@keyframes landing-sales-dot-shift { from { transform: translateX(-10px); opacity: .45; } to { transform: translateX(0); opacity: 1; } }

.landing-workflow { padding: 5rem 1rem; }
.landing-section-heading { margin-bottom: 2.5rem; max-width: 42rem; }
.landing-section-heading h2 { color: var(--color-gray-900); font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 650; letter-spacing: -.04em; line-height: 1.08; margin: 0; }
.dark .landing-section-heading h2 { color: var(--color-white); }
.landing-workflow__grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.landing-workflow__item { border-top: 1px solid var(--color-gray-300); padding: 1.25rem 0 0; }
.dark .landing-workflow__item { border-color: var(--color-gray-700); }
.landing-workflow__item h3 { color: var(--color-gray-900); font-size: 1.25rem; font-weight: 650; line-height: 1.25; margin: 0 0 .75rem; }
.landing-workflow__item p { color: var(--color-gray-600); line-height: 1.6; margin: 0; max-width: 23rem; }
.dark .landing-workflow__item h3 { color: var(--color-white); }
.dark .landing-workflow__item p { color: var(--color-gray-300); }
.desktop-public-nav { display: none; }

@media (min-width: 768px) {
  .landing-hero { padding-top: 3.5rem; }
  .landing-hero__inner { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .landing-workflow__grid { gap: 2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .desktop-public-nav { align-items: center; display: flex; gap: .25rem; margin-left: 2.5rem; }
  .desktop-public-nav > a { border: 0; padding: 1.5rem .75rem; white-space: nowrap; }
}

@media (max-width: 767px) {
  .landing-button { width: 100%; }
  .landing-crm-illustration__app { grid-template-columns: 1fr; }
  .landing-crm-illustration__sidebar { display: none; }
  .landing-crm-illustration__metrics { grid-template-columns: 1fr 1fr; }
  .landing-crm-illustration__content { grid-template-columns: 1fr; }
  .landing-crm-illustration__summary { grid-template-columns: 1fr 1fr; }
  .landing-crm-illustration__summary article:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-crm-illustration *,
  .landing-crm-illustration *::before,
  .landing-crm-illustration *::after { animation: none !important; }
}

/* The hero preview follows the site theme instead of remaining a dark mockup. */
html:not(.dark) .landing-hero__window {
  background: linear-gradient(145deg, #ffffff, #f7f4ff);
  border-color: rgba(102, 63, 178, .18);
  box-shadow: 0 1.5rem 4rem rgba(84, 48, 144, .16), 0 0 5rem rgba(151, 74, 255, .07);
}
html:not(.dark) .landing-hero__window-bar,
html:not(.dark) .landing-crm-illustration__sidebar {
  background: rgba(250, 249, 255, .9);
  border-color: rgba(102, 63, 178, .14);
}
html:not(.dark) .landing-hero__window-name,
html:not(.dark) .landing-crm-illustration__head p,
html:not(.dark) .landing-crm-illustration__metrics span,
html:not(.dark) .landing-crm-illustration__summary span,
html:not(.dark) .landing-crm-illustration__card-head span,
html:not(.dark) .landing-crm-illustration__catalog-list small,
html:not(.dark) .landing-crm-illustration__legend { color: #716987; }
html:not(.dark) .landing-crm-illustration__app,
html:not(.dark) .landing-crm-illustration__head h2,
html:not(.dark) .landing-crm-illustration__sidebar nav .is-active,
html:not(.dark) .landing-crm-illustration__brand { color: #251a3d; }
html:not(.dark) .landing-crm-illustration__sidebar nav span { color: #716987; }
html:not(.dark) .landing-crm-illustration__sidebar nav .is-active { background: rgba(155, 77, 255, .12); }
html:not(.dark) .landing-crm-illustration__metrics article,
html:not(.dark) .landing-crm-illustration__card,
html:not(.dark) .landing-crm-illustration__summary article {
  background: rgba(255, 255, 255, .86);
  border-color: rgba(102, 63, 178, .14);
}
html:not(.dark) .landing-crm-illustration__catalog-list > div { border-color: rgba(102, 63, 178, .12); }
html:not(.dark) .landing-crm-illustration__chart::before {
  background: repeating-linear-gradient(to bottom, transparent 0 1.72rem, rgba(102, 63, 178, .12) 1.72rem 1.76rem);
}

.flex-start {
  align-items: flex-start;
}

/* Before pseudo-element support */
.before\:mb-2::before {
  margin-bottom: 0.5rem;
  content: '';
}

.before\:block::before {
  display: block;
}

.before\:font-mono::before {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

.before\:text-sm::before {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.before\:text-gray-500::before {
  color: var(--color-gray-500);
}

/* After pseudo-element */
.after\:content-\[\'\'\]:after {
  content: '';
}

.after\:absolute:after {
  position: absolute;
}

.after\:top-0\.5:after {
  top: 0.125rem;
}

.after\:left-\[4px\]:after {
  left: 4px;
}

.after\:bg-white:after {
  background-color: var(--color-white);
}

.after\:border:after {
  border-width: 1px;
}

.after\:border-gray-300:after {
  border-color: var(--color-gray-300);
}

.after\:rounded-full:after {
  border-radius: 9999px;
}

.after\:h-6:after {
  height: 1.5rem;
}

.after\:w-6:after {
  width: 1.5rem;
}

.after\:transition-all:after {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Peer utilities for toggle */
.peer:checked ~ .peer-checked\:bg-purple-600 {
  background-color: var(--color-purple-600);
}

.peer:checked ~ .peer-checked\:after\:translate-x-full::after {
  transform: translateX(100%);
}

.peer:checked ~ .peer-checked\:after\:border-white::after {
  border-color: var(--color-white);
}

.peer:focus ~ .peer-focus\:outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

/* Bracket notation for calc values */
.h-\[calc\(100%_-_32px\)\] {
  height: calc(100% - 32px);
}

.w-\[calc\(100%_-_72px\)\] {
  width: calc(100% - 72px);
}

.h-\[18px\] {
  height: 18px;
}

.max-h-50 {
  max-height: 50rem;
}

.max-w-50 {
  max-width: 50rem;
}

/* Responsive Text Sizes */
@media (min-width: 640px) {
  .sm\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .sm\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  
  .sm\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  
  .sm\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
  
  .sm\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  
  .sm\:min-h-36 {
    min-height: 9rem;
  }
  
  .sm\:w-10\/12 {
    width: 83.333333%;
  }
  
  .sm\:justify-start {
    justify-content: flex-start;
  }
  
  .sm\:text-left {
    text-align: left;
  }
  
  .sm\:flex {
    display: flex;
  }
  
  .sm\:order-first {
    order: -9999;
  }
  
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .sm\:mt-16 {
    margin-top: 4rem;
  }
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:justify-between {
    justify-content: space-between;
  }
  
  .md\:w-1\/2 {
    width: 50%;
  }
  
  .md\:w-1\/3 {
    width: 33.333333%;
  }
  
  .md\:w-auto {
    width: auto;
  }
  
  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  
  .md\:px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
  }
  
  .md\:gap-4 {
    gap: 1rem;
  }
  
  .md\:col-span-4 {
    grid-column: span 4 / span 4;
  }
}

/* Comprehensive Dark Mode Overrides */
.dark .bg-gray-950 {
  background-color: var(--color-gray-950);
}

.dark .bg-gray-800 {
  background-color: var(--color-gray-800);
}

.dark .bg-gray-900 {
  background-color: var(--color-gray-900);
}

.dark .bg-white {
  background-color: var(--color-gray-800);
}

.dark .bg-gray-50 {
  background-color: transparent;
}

.dark .bg-gray-900 {
  background-color: transparent;
}

.dark .bg-gray-50 {
  background-color: var(--color-gray-800);
}

.dark .bg-gray-100 {
  background-color: var(--color-gray-800);
}

.dark .bg-gray-200 {
  background-color: var(--color-gray-800);
}

.dark .text-white {
  color: var(--color-white);
}

.dark .text-black {
  color: var(--color-white);
}

.dark h2.text-black,
.dark h3.text-black,
.dark h4.text-black,
.dark p.text-black,
.dark span.text-black,
.dark div.text-black {
  color: var(--color-white);
}

.dark .text-gray-200 {
  color: var(--color-gray-200);
}

.dark .text-gray-300 {
  color: var(--color-gray-300);
}

.dark .text-gray-400 {
  color: var(--color-gray-400);
}

.dark .placeholder-gray-400::placeholder {
  color: var(--color-gray-500);
  opacity: 1;
}

.dark .placeholder-gray-500::placeholder {
  color: var(--color-gray-500);
  opacity: 1;
}

.dark .text-gray-700 {
  color: var(--color-gray-300);
}

.dark .text-gray-600 {
  color: var(--color-gray-400);
}

.dark .text-gray-900 {
  color: var(--color-white);
}

.dark .text-purple-400 {
  color: var(--color-purple-400);
}

.dark .text-purple-500 {
  color: var(--color-purple-500);
}

.dark .text-green-300 {
  color: var(--color-green-300);
}

.text-green-600 {
  color: #16a34a;
}

.dark .text-green-600,
.dark .dark\:text-green-500 {
  color: #22c55e;
}

.dark .dark\:bg-gray-900 {
  background-color: var(--color-gray-900);
}

.dark .dark\:border-gray-700 {
  border-color: var(--color-gray-700);
}

.dark .dark\:border-gray-800 {
  border-color: var(--color-gray-800);
}

.dark .dark\:text-gray-100 {
  color: var(--color-gray-100);
}

.dark .dark\:text-gray-200 {
  color: var(--color-gray-200);
}

.dark .dark\:text-gray-300 {
  color: var(--color-gray-300);
}

.dark .dark\:text-gray-400 {
  color: var(--color-gray-400);
}

.dark .dark\:text-gray-500 {
  color: var(--color-gray-500);
}

.dark .dark\:placeholder-gray-500::placeholder {
  color: var(--color-gray-500);
  opacity: 1;
}

.dark .border-gray-600 {
  border-color: var(--color-gray-600);
}

.dark .border-gray-700 {
  border-color: var(--color-gray-700);
}

.dark .border-gray-800 {
  border-color: var(--color-gray-800);
}

.dark .border-gray-200 {
  border-color: var(--color-gray-800);
}

.dark .border-gray-300 {
  border-color: var(--color-gray-600);
}

.dark .border-white\/\[\.08\] {
  border-color: rgba(255, 255, 255, 0.08);
}

.dark .bg-white\/\[\.02\] {
  background-color: rgba(255, 255, 255, 0.02);
}

.dark .hover\:bg-gray-700:hover {
  background-color: var(--color-gray-700);
}

.dark .hover\:text-gray-200:hover {
  color: var(--color-gray-200);
}

.dark .hover\:text-white:hover {
  color: var(--color-white);
}

.dark .group:hover .group-hover\:text-white {
  color: var(--color-white);
}

.dark .group:hover .group-hover\:border-gray-900 {
  border-color: var(--color-gray-700);
}

.dark .group:hover .group-hover\:bg-gray-900 {
  background-color: var(--color-gray-700);
}

.dark .card {
  background-color: transparent;
  border-color: var(--color-gray-700);
}

.dark .card:hover {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 10px 10px -5px rgb(0 0 0 / 0.2);
}

/* Footer styling */
footer {
  background-color: transparent;
}

.dark footer {
  background-color: var(--color-gray-950);
  background-image: linear-gradient(to top, var(--color-gray-950) 0%, var(--color-gray-950) 100%);
  position: relative;
}

.dark footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent 0%, var(--color-gray-950) 100%);
  pointer-events: none;
  z-index: 0;
}

.dark footer .absolute.inset-0.bg-white {
  background-color: transparent !important;
  opacity: 0 !important;
}

/* Footer icons size fix */
.col-img {
  flex: 0 0 auto;
  max-width: 60px;
  max-height: 60px;
}

.col-img img {
  max-width: 60px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Responsive payment icons for mobile */
@media (max-width: 640px) {
  .col-img {
    max-width: 40px;
    max-height: 40px;
  }

  .col-img img {
    max-width: 40px;
    max-height: 40px;
  }
}

/* Footer alignment fixes */
footer .text-center.sm\:text-left {
  text-align: center;
}

@media (min-width: 640px) {
  footer .text-center.sm\:text-left {
    text-align: left;
  }
  
  footer ul li a.flex {
    justify-content: flex-start;
  }
}

footer ul li a.flex {
  justify-content: flex-start;
}

/* Stepper horizontal layout - vertical items */
@media (min-width: 1024px) {
  ul.lg\:flex-row {
    flex-direction: row;
    justify-content: space-between;
  }
  
  li.stepper-item,
  li.flex-col {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 25%;
  }
}

/* FAQ improvements */
.faq-container {
  background-color: transparent;
}

.dark .faq-container {
  background-color: var(--color-gray-950) !important;
}

.faq-item {
  background-color: var(--color-white);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--color-purple-600);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.dark .faq-item {
  background-color: var(--color-gray-800);
  border-color: var(--color-gray-700);
}

.dark .faq-item:hover {
  border-color: var(--color-purple-500);
  background-color: var(--color-gray-750);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.2);
}

.faq-item h2 {
  transition: color 0.2s ease;
}

.dark .faq-item h2:hover {
  color: var(--color-purple-400);
}

.faq-item svg {
  transition: transform 0.3s ease, color 0.2s ease;
}

.dark .faq-item svg {
  color: var(--color-purple-400);
}

.faq-item:hover svg {
  color: var(--color-purple-600);
}

.dark .faq-item:hover svg {
  color: var(--color-purple-300);
}

.dark .faq-item h2 {
  color: var(--color-gray-200);
}

.dark .faq-item h2 span {
  color: var(--color-gray-200);
}

.dark .faq-item .border-l-2 {
  border-left-color: var(--color-purple-500);
}

.dark .faq-item:hover .border-l-2 {
  border-left-color: var(--color-purple-400);
  border-left-width: 3px;
}

.dark .hover\:bg-gray-50:hover {
  background-color: var(--color-gray-700);
}

.dark .hover\:bg-gray-700:hover {
  background-color: var(--color-gray-700);
}

/* Utility Classes for Forms */
.group-\[\.errors\]\:border-red-600.group-\[\.errors\] {
  border-color: var(--color-red-600);
}

.group-\[\.errors\]\:focus\:ring-red-200.group-\[\.errors\]:focus {
  --tw-ring-color: rgb(254 202 202);
}

.dark .group-\[\.errors\]\:border-red-500.group-\[\.errors\] {
  border-color: #ef4444;
}

.dark .group-\[\.errors\]\:focus\:ring-red-600\/40.group-\[\.errors\]:focus {
  --tw-ring-color: rgb(220 38 38 / 0.4);
}

/* Background layers */
.bg-layers {
  position: relative;
}

.bg-scale {
  transform: scale(1);
}

@media (min-width: 768px) {
  .md\:w-\[70vw\] {
    width: 70vw;
  }
  
  .md\:h-\[8rem\] {
    height: 8rem;
  }
  
  .md\:blur-3xl {
    filter: blur(64px);
  }
}

/* Additional utilities */
.ltr\:sm\:justify-start {
  justify-content: flex-start;
}

.rtl\:sm\:justify-end {
  justify-content: flex-end;
}

.flex-1 {
  flex: 1 1 0%;
}

.dark .dark\:brightness-0 {
  filter: brightness(0);
}

.dark .dark\:invert {
  filter: invert(1);
}

.dark .dark\:placeholder-gray-300::placeholder {
  color: var(--color-gray-300);
}

/* Font heading */
.font-heading {
  font-family: inherit;
}

/* Phase A fashion landing — shared section spacing (fashion page only uses these classes today) */
.www-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .www-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.www-card {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.www-card:hover {
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.08);
}

/* --------------------------------------------------------------------------
   Fashion landing — atelier OS visual system
   Tokens: ink / cool mist / deep teal (not purple SaaS defaults)
   Display: Syne · Body: Figtree
   -------------------------------------------------------------------------- */
/* Fashion pilot only. Do not apply these tokens outside .www-landing--fashion —
   the main marketing site (/en/, /ru/) must keep :root purple chrome. */
.www-landing--fashion {
  /* Fashion accent is teal — remap site purple tokens so header/footer/toggles match */
  --fashion-ink: #12151a;
  --fashion-ink-soft: #2a3139;
  --fashion-mist: #e8eef3;
  --fashion-paper: #f4f7fa;
  --fashion-accent: #0c7c74;
  --fashion-accent-deep: #085a54;
  --fashion-accent-soft: #d5ece9;
  --fashion-muted: #5a6570;
  --fashion-line: rgb(18 21 26 / 0.12);
  --fashion-display: "Syne", ui-sans-serif, system-ui, sans-serif;
  --fashion-body: "Figtree", ui-sans-serif, system-ui, sans-serif;
  /* Beat Unfold body.font-sans (Inter !important) inside this pilot page only */
  --font-sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  /* Inherit into Tailwind-like purple utilities used by shared chrome */
  --color-purple-400: #3db8ae;
  --color-purple-500: #0c7c74;
  --color-purple-600: #0c7c74;
  --color-purple-700: #085a54;
  --color-purple-800: #064842;
  color: var(--fashion-ink);
  background:
    radial-gradient(1200px 480px at 12% -10%, rgb(12 124 116 / 0.09), transparent 55%),
    radial-gradient(900px 420px at 92% 8%, rgb(42 49 57 / 0.06), transparent 50%),
    linear-gradient(180deg, var(--fashion-paper) 0%, #ffffff 42%, var(--fashion-mist) 100%);
  font-family: var(--fashion-body) !important;
  font-size: 1rem;
  line-height: 1.5;
}

.dark .www-landing--fashion {
  --fashion-ink: #f3f6f8;
  --fashion-ink-soft: #d7dee5;
  --fashion-mist: #0f1419;
  --fashion-paper: #0b1014;
  --fashion-accent: #3db8ae;
  --fashion-accent-deep: #2a8f87;
  --fashion-accent-soft: rgb(61 184 174 / 0.14);
  --fashion-muted: #9aa6b2;
  --fashion-line: rgb(243 246 248 / 0.12);
  --color-purple-400: #3db8ae;
  --color-purple-500: #3db8ae;
  --color-purple-600: #3db8ae;
  --color-purple-700: #2a8f87;
  --color-purple-800: #1f6f69;
  background:
    radial-gradient(1000px 420px at 10% -8%, rgb(61 184 174 / 0.14), transparent 55%),
    radial-gradient(800px 380px at 90% 0%, rgb(61 184 174 / 0.06), transparent 50%),
    linear-gradient(180deg, #0b1014 0%, #0f1419 50%, #12181f 100%);
}

.www-landing--fashion .fashion-heading {
  font-family: var(--fashion-display) !important;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fashion-ink);
  line-height: 1.15;
}

.www-landing--fashion .fashion-hero__brand,
.www-landing--fashion .fashion-hero__title {
  font-family: var(--fashion-display) !important;
}

.www-landing--fashion .fashion-body,
.www-landing--fashion .fashion-btn,
.www-landing--fashion .fashion-hero__lead,
.www-landing--fashion .fashion-hero__reassure {
  font-family: var(--fashion-body) !important;
}

.www-landing--fashion .fashion-body {
  color: var(--fashion-ink-soft);
}

.www-landing--fashion .fashion-muted {
  color: var(--fashion-muted);
}

.www-landing--fashion .fashion-link {
  color: var(--fashion-accent);
  font-weight: 700;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1.5px;
  transition: background-size 0.25s ease, color 0.2s ease;
}

.www-landing--fashion .fashion-link:hover {
  background-size: 100% 1.5px;
}

.www-landing--fashion a:focus-visible,
.www-landing--fashion button:focus-visible {
  outline: 2px solid var(--fashion-accent);
  outline-offset: 3px;
}

/* Buttons */
.www-landing--fashion .fashion-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 0.55rem;
  font-family: var(--fashion-body);
  font-size: 0.925rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 640px) {
  .www-landing--fashion .fashion-btn {
    width: auto;
  }
}

.www-landing--fashion .fashion-btn--primary {
  background: var(--fashion-accent);
  border: 1px solid transparent;
  color: #fff;
  box-shadow: 0 10px 28px -14px rgb(12 124 116 / 0.75);
}

.www-landing--fashion .fashion-btn--primary:hover {
  background: var(--fashion-accent-deep);
  transform: translateY(-1px);
}

.www-landing--fashion .fashion-btn--ghost {
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.55);
  color: #fff;
  backdrop-filter: blur(8px);
}

.www-landing--fashion .fashion-btn--ghost:hover {
  background: rgb(255 255 255 / 0.16);
  transform: translateY(-1px);
}

.www-landing--fashion .fashion-btn__arrow {
  transition: transform 0.2s ease;
}

.www-landing--fashion .fashion-btn:hover .fashion-btn__arrow {
  transform: translateX(3px);
}

/* Split hero — copy + framed product UI (2026 SaaS pattern) */
.www-landing--fashion .fashion-hero {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  color: #f7fafb;
  background: #0b1216;
}

.www-landing--fashion .fashion-hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 50% at 88% 40%, rgb(12 124 116 / 0.32) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 12% 85%, rgb(61 184 174 / 0.12) 0%, transparent 55%),
    linear-gradient(145deg, #0b1216 0%, #122028 48%, #0e1a1c 100%);
}

.www-landing--fashion .fashion-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3rem;
  align-items: center;
}

@media (min-width: 640px) {
  .www-landing--fashion .fashion-hero__inner {
    padding: 5.5rem 1.75rem 3.5rem;
  }
}

@media (min-width: 1024px) {
  .www-landing--fashion .fashion-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2.5rem;
    padding: 5.5rem 2rem 4.5rem;
    min-height: min(86vh, 720px);
  }
}

.www-landing--fashion .fashion-hero__content {
  animation: fashion-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.www-landing--fashion .fashion-hero__brand {
  font-family: var(--fashion-display);
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 0.85rem;
  color: #fff;
}

.www-landing--fashion .fashion-hero__title {
  font-family: var(--fashion-display);
  font-size: clamp(1.85rem, 4.4vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 0.85rem;
  max-width: 14ch;
  color: #fff;
}

.www-landing--fashion .fashion-hero__lead {
  font-family: var(--fashion-body);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.5;
  margin: 0 0 1.5rem;
  max-width: 32rem;
  color: rgb(255 255 255 / 0.9);
}

.www-landing--fashion .fashion-hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .www-landing--fashion .fashion-hero__ctas {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.www-landing--fashion .fashion-hero__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.5rem 0.25rem;
  color: rgb(244 248 249 / 0.86);
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.www-landing--fashion .fashion-hero__secondary:hover {
  color: #fff;
}

.www-landing--fashion .fashion-hero__reassure {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  font-size: 0.925rem;
  line-height: 1.45;
  color: rgb(244 248 249 / 0.72);
}

.www-landing--fashion .fashion-hero__visual {
  width: 100%;
}

.www-landing--fashion .fashion-hero__window {
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: #12181f;
  box-shadow:
    0 30px 60px -28px rgb(0 0 0 / 0.65),
    0 0 0 1px rgb(12 124 116 / 0.12);
  animation: fashion-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.www-landing--fashion .fashion-hero__window-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: rgb(255 255 255 / 0.04);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.www-landing--fashion .fashion-hero__window-bar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.22);
}

.www-landing--fashion .fashion-hero__window-bar span:nth-child(1) {
  background: #ff5f57;
}

.www-landing--fashion .fashion-hero__window-bar span:nth-child(2) {
  background: #febc2e;
}

.www-landing--fashion .fashion-hero__window-bar span:nth-child(3) {
  background: #28c840;
}

.www-landing--fashion .fashion-hero__mockup {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: #e8eef3;
}

.www-landing--fashion .fashion-contact__visual {
  width: 7.5rem;
  height: 7.5rem;
  margin-bottom: 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--fashion-line);
  background: #fff;
}

@media (min-width: 1024px) {
  .www-landing--fashion .fashion-contact__visual {
    width: 9.5rem;
    height: 9.5rem;
  }
}

.dark .www-landing--fashion .fashion-contact__visual {
  background: rgb(18 24 30 / 0.9);
}

/* Trust pills — no logo duplication with integrations */
.www-landing--fashion .fashion-proof {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--fashion-line);
  background: transparent;
}

.www-landing--fashion .fashion-proof__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.www-landing--fashion .fashion-proof__pills li {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--fashion-line);
  background: rgb(255 255 255 / 0.55);
  color: var(--fashion-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.dark .www-landing--fashion .fashion-proof__pills li {
  background: rgb(18 24 30 / 0.65);
}

/* Stepper + FAQ: same surface as fashion page (no gray-950 band) */
.www-landing--fashion .fashion-stepper {
  background: transparent !important;
}

.www-landing--fashion .fashion-stepper__list {
  display: grid;
  gap: 2.5rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .www-landing--fashion .fashion-stepper__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }
}

.www-landing--fashion .fashion-stepper__item {
  position: relative;
  display: grid;
  grid-template-rows: 4.5rem auto 1fr;
  justify-items: center;
  align-content: start;
  gap: 1rem;
  text-align: center;
  height: 100%;
}

.www-landing--fashion .fashion-stepper__connector {
  display: none;
}

@media (min-width: 1024px) {
  .www-landing--fashion .fashion-stepper__connector {
    display: block;
    position: absolute;
    top: 2.25rem;
    left: calc(50% + 2.5rem);
    right: calc(-50% + 2.5rem);
    height: 1px;
    background: var(--fashion-line);
  }

  .www-landing--fashion .fashion-stepper__item:last-child .fashion-stepper__connector {
    display: none;
  }
}

.www-landing--fashion .fashion-stepper__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.9rem;
  border: 1px solid var(--fashion-line);
  background: rgb(255 255 255 / 0.72);
}

.www-landing--fashion .fashion-stepper__icon img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
}

.dark .www-landing--fashion .fashion-stepper__icon {
  background: rgb(18 24 30 / 0.75);
}

.www-landing--fashion .fashion-stepper__title {
  margin: 0;
  color: var(--fashion-ink) !important;
  min-height: 3.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.www-landing--fashion .fashion-stepper__text {
  margin: 0;
  max-width: 16rem;
  color: var(--fashion-ink-soft) !important;
}

.www-landing--fashion .fashion-stepper h3 {
  color: var(--fashion-ink) !important;
}

.www-landing--fashion .fashion-stepper h4,
.www-landing--fashion .fashion-stepper p {
  color: var(--fashion-ink-soft) !important;
}

.www-landing--fashion .fashion-stepper .border-gray-300 {
  border-color: var(--fashion-line) !important;
}

.www-landing--fashion .fashion-stepper .bg-gray-50 {
  background: var(--fashion-paper) !important;
}

.www-landing--fashion .fashion-stepper .bg-gray-300,
.www-landing--fashion .fashion-stepper .lg\:bg-gray-300 {
  background: var(--fashion-line) !important;
}

.dark .www-landing--fashion .fashion-faq.faq-container,
.www-landing--fashion .fashion-faq.faq-container {
  background: transparent !important;
}

.dark .www-landing--fashion .fashion-faq.faq-container {
  background-color: transparent !important;
}

/* Final CTA + sticky mobile CTA */
.www-landing--fashion .fashion-final {
  padding-top: 3rem;
  padding-bottom: 4.5rem;
}

.www-landing--fashion .fashion-final__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

@media (min-width: 640px) {
  .www-landing--fashion .fashion-final__ctas {
    flex-direction: row;
    justify-content: center;
  }
}

.www-landing--fashion .fashion-sticky-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 0.65rem;
  background: var(--fashion-accent);
  color: #fff;
  font-family: var(--fashion-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 36px -16px rgb(12 124 116 / 0.9);
}

@media (min-width: 768px) {
  .www-landing--fashion .fashion-sticky-cta {
    display: none;
  }
}

.www-landing--fashion {
  padding-bottom: 4.5rem;
}

@media (min-width: 768px) {
  .www-landing--fashion {
    padding-bottom: 0;
  }
}

/* Split rows — self-contained so we don't rely on missing Tailwind fractions/order utils */
.www-landing--fashion .fashion-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.www-landing--fashion .fashion-split__media,
.www-landing--fashion .fashion-split__copy {
  width: 100%;
}

.www-landing--fashion .fashion-split__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .www-landing--fashion .fashion-split {
    flex-direction: row;
    justify-content: space-between;
    gap: 2.5rem;
  }

  .www-landing--fashion .fashion-split__media {
    width: 50%;
  }

  .www-landing--fashion .fashion-split__copy {
    width: 40%;
  }

  .www-landing--fashion .fashion-split--flip .fashion-split__media {
    order: 2;
  }

  .www-landing--fashion .fashion-split--flip .fashion-split__copy {
    order: 1;
  }
}

/* Pillars + illustrations */
.www-landing--fashion .fashion-illu {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--fashion-line);
  background: #fff;
  box-shadow: 0 18px 40px -28px rgb(18 21 26 / 0.35);
}

.www-landing--fashion .fashion-illu--lg {
  margin-bottom: 0;
}

.dark .www-landing--fashion .fashion-illu {
  background: rgb(18 24 30 / 0.9);
}

.www-landing--fashion .fashion-emoji-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
  padding: 2.5rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--fashion-line);
  background:
    radial-gradient(circle at 30% 25%, rgb(12 124 116 / 0.16), transparent 55%),
    linear-gradient(160deg, #f4f7fa 0%, #ffffff 100%);
}

.dark .www-landing--fashion .fashion-emoji-panel {
  background:
    radial-gradient(circle at 30% 25%, rgb(61 184 174 / 0.18), transparent 55%),
    linear-gradient(160deg, #0f1419 0%, #151b22 100%);
}

.www-landing--fashion .fashion-emoji-panel__img {
  width: min(62%, 220px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgb(0 0 0 / 0.28));
}

.www-landing--fashion .fashion-emoji-panel__img--scene {
  width: 100%;
  max-width: 28rem;
  border-radius: 0.85rem;
  filter: none;
}

.www-landing--fashion .fashion-point__visual {
  width: 100%;
  max-width: 11rem;
  aspect-ratio: 1;
  border-radius: 0.85rem;
  border: 1px solid var(--fashion-line);
  background: #fff;
}

.dark .www-landing--fashion .fashion-point__visual {
  background: rgb(18 24 30 / 0.9);
}

.www-landing--fashion .fashion-pillar__rule {
  height: 2px;
  width: 100%;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--fashion-accent) 0%, var(--fashion-accent) 42%, transparent 100%);
  transform-origin: left center;
  animation: fashion-rule 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.www-landing--fashion .fashion-pillar:nth-child(2) .fashion-pillar__rule {
  animation-delay: 0.12s;
}

.www-landing--fashion .fashion-pillar:nth-child(3) .fashion-pillar__rule {
  animation-delay: 0.24s;
}

.www-landing--fashion .fashion-pillar__title {
  font-weight: 600;
}

/* USP / product shots */
.www-landing--fashion .fashion-shot {
  border-radius: 1rem;
  border: 1px solid var(--fashion-line);
  box-shadow:
    0 24px 50px -28px rgb(18 21 26 / 0.45),
    0 0 0 1px rgb(255 255 255 / 0.04) inset;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.www-landing--fashion .fashion-shot:hover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 60px -30px rgb(18 21 26 / 0.5),
    0 0 0 1px rgb(255 255 255 / 0.06) inset;
}

.www-landing--fashion .fashion-point {
  border-top: 1px solid var(--fashion-line);
  padding-top: 1.25rem;
}

.www-landing--fashion .fashion-emoji {
  filter: drop-shadow(0 8px 16px rgb(18 21 26 / 0.12));
  transition: transform 0.25s ease;
}

.www-landing--fashion .fashion-point:hover .fashion-emoji {
  transform: scale(1.06) rotate(-2deg);
}

/* Features — icon rails, not heavy cards */
.www-landing--fashion .fashion-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  background: var(--fashion-accent-soft);
  color: var(--fashion-accent);
}

.www-landing--fashion .fashion-feature__icon .material-symbols-outlined {
  font-size: 1.25rem;
}

/* Agents */
.www-landing--fashion .fashion-agents {
  border-top: 1px solid var(--fashion-line);
  border-bottom: 1px solid var(--fashion-line);
  background: rgb(255 255 255 / 0.35);
}

.dark .www-landing--fashion .fashion-agents {
  background: rgb(255 255 255 / 0.02);
}

.www-landing--fashion .fashion-agents__aside {
  border-top: 1px solid var(--fashion-line);
}

@media (min-width: 1024px) {
  .www-landing--fashion .fashion-agents__aside {
    border-top: 0;
    border-left: 1px solid var(--fashion-line);
  }
}

.www-landing--fashion .fashion-bullet {
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: var(--fashion-accent);
  box-shadow: 0 0 0 4px var(--fashion-accent-soft);
}

/* Integrations */
.www-landing--fashion .fashion-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--fashion-line);
  background: rgb(255 255 255 / 0.72);
  color: var(--fashion-ink);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.dark .www-landing--fashion .fashion-chip {
  background: rgb(18 24 30 / 0.85);
}

.www-landing--fashion .fashion-chip:hover {
  transform: translateY(-2px);
  border-color: rgb(12 124 116 / 0.35);
  box-shadow: 0 12px 24px -18px rgb(12 124 116 / 0.65);
}

.www-landing--fashion .fashion-chip img,
.www-landing--fashion .fashion-chip svg {
  display: block;
  flex-shrink: 0;
}

/* Form / FAQ accents */
.www-landing--fashion .fashion-input:focus {
  border-color: var(--fashion-accent) !important;
}

.www-landing--fashion .fashion-faq-icon {
  color: var(--fashion-accent);
}

.www-landing--fashion .fashion-faq-border {
  border-color: var(--fashion-accent);
}

.www-landing--fashion .fashion-faq li {
  border-radius: 0.85rem;
  border-color: var(--fashion-line);
  background: rgb(255 255 255 / 0.7);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dark .www-landing--fashion .fashion-faq li {
  background: rgb(18 24 30 / 0.7);
}

.www-landing--fashion .fashion-faq li:hover {
  border-color: rgb(12 124 116 / 0.35);
  box-shadow: 0 12px 28px -22px rgb(12 124 116 / 0.55);
}

/* Remap leftover purple utilities inside fashion landing (header, tariffs, toggles) */
.www-landing--fashion .text-purple-400,
.www-landing--fashion .text-purple-500,
.www-landing--fashion .text-purple-600,
.www-landing--fashion .text-purple-700,
.www-landing--fashion .hover\:text-purple-700:hover,
.www-landing--fashion .group:hover .group-hover\:text-purple-700 {
  color: var(--fashion-accent) !important;
}

.www-landing--fashion .bg-purple-400,
.www-landing--fashion .bg-purple-500,
.www-landing--fashion .bg-purple-600 {
  background-color: var(--fashion-accent) !important;
}

.www-landing--fashion .bg-purple-700,
.www-landing--fashion .hover\:bg-purple-700:hover {
  background-color: var(--fashion-accent-deep) !important;
}

.www-landing--fashion .peer:checked ~ .peer-checked\:bg-purple-600 {
  background-color: var(--fashion-accent) !important;
}

/* Keep white label text on accent buttons (header Login, tariffs) */
.www-landing--fashion .bg-purple-600.text-white,
.www-landing--fashion a.bg-purple-600,
.www-landing--fashion button.bg-purple-600 {
  color: #fff !important;
}

/* Header/footer stay readable — and above the full-bleed hero stacking context */
.www-landing--fashion > .border-b {
  position: relative;
  z-index: 60;
  background-color: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(8px);
}

.dark .www-landing--fashion > .border-b {
  background-color: rgb(3 7 18 / 0.92);
}

.www-landing--fashion .border-purple-600,
.www-landing--fashion .border-purple-500,
.www-landing--fashion .focus\:border-purple-600:focus {
  border-color: var(--fashion-accent) !important;
}

.www-landing--fashion .from-purple-800 {
  --tw-gradient-from: var(--fashion-accent-deep) !important;
}

.www-landing--fashion .to-purple-600 {
  --tw-gradient-to: var(--fashion-accent) !important;
}

.www-landing--fashion .ring-purple-600,
.www-landing--fashion .focus-visible\:outline-purple-600:focus-visible {
  --tw-ring-color: var(--fashion-accent) !important;
  outline-color: var(--fashion-accent);
}

@keyframes fashion-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fashion-hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.09) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes fashion-rule {
  from {
    transform: scaleX(0.25);
    opacity: 0.35;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .www-landing--fashion .fashion-hero__image,
  .www-landing--fashion .fashion-hero__content,
  .www-landing--fashion .fashion-pillar__rule,
  .www-landing--fashion .fashion-shot,
  .www-landing--fashion .fashion-chip,
  .www-landing--fashion .fashion-btn,
  .www-landing--fashion .fashion-emoji {
    animation: none !important;
    transition: none !important;
  }

  .www-landing--fashion .fashion-hero__image {
    transform: none;
  }
}
