:root{
  --color-primary:#2E2440;
  --color-secondary:#453660;
  --color-accent:#A78BFA;
}

html{scroll-behavior:smooth;scroll-padding-top:5rem}
body{font-family:'Space Grotesk',system-ui,sans-serif}

/* Button fixes */
button, .btn, [class*="btn-"], a[href="#order_form"]{
  white-space:nowrap;
  min-width:fit-content;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
}
form button[type="submit"]{white-space:normal;width:100%}

/* Subtle focus styles */
:where(a,button,input,select,textarea):focus-visible{
  outline:2px solid color-mix(in srgb, var(--color-accent) 70%, #ffffff 30%);
  outline-offset:2px;
}

/* Animations (context: zoom_in) */
[data-animate]{
  opacity:0;
  transform:scale(.95);
  transition:opacity .5s ease-out, transform .5s ease-out;
  will-change:opacity,transform;
}
[data-animate].is-visible{
  opacity:1;
  transform:scale(1);
}

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

/* Decorative backgrounds (premium, subtle) */
.decor-grid-dots{
  background-image:radial-gradient(circle, rgba(167,139,250,.22) 1px, transparent 1px);
  background-size:16px 16px;
}
.decor-grid-lines{
  background-image:
    linear-gradient(to right, rgba(15,23,42,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.06) 1px, transparent 1px);
  background-size:32px 32px;
}
.decor-diagonal{
  background-image:repeating-linear-gradient(135deg, rgba(167,139,250,.14), rgba(167,139,250,.14) 1px, transparent 1px, transparent 12px);
}
.decor-mesh{
  background:
    radial-gradient(800px 400px at 10% 10%, rgba(167,139,250,.25), transparent 60%),
    radial-gradient(700px 380px at 90% 20%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(600px 360px at 50% 100%, rgba(167,139,250,.14), transparent 60%);
}

/* Intensity modifiers */
.decor-subtle{opacity:.06}
.decor-moderate{opacity:.12}
.decor-bold{opacity:.20}

/* Accent elements */
.decor-gradient-blur::before,
.decor-gradient-blur::after{
  content:"";
  position:absolute;
  inset:auto;
  width:520px;
  height:520px;
  filter:blur(60px);
  opacity:.25;
  pointer-events:none;
  border-radius:9999px;
  background:radial-gradient(circle at 30% 30%, rgba(167,139,250,.9), transparent 60%);
}
.decor-gradient-blur::before{left:-180px;top:-220px}
.decor-gradient-blur::after{right:-200px;bottom:-260px;opacity:.18}

.decor-corner-tr::before{
  content:"";
  position:absolute;
  top:-1px; right:-1px;
  width:220px; height:220px;
  background:linear-gradient(135deg, rgba(167,139,250,.22), transparent 60%);
  border-bottom-left-radius:32px;
  pointer-events:none;
}
.decor-corner-bl::before{
  content:"";
  position:absolute;
  bottom:-1px; left:-1px;
  width:240px; height:240px;
  background:linear-gradient(315deg, rgba(167,139,250,.18), transparent 60%);
  border-top-right-radius:32px;
  pointer-events:none;
}
.decor-glow-element{
  position:absolute;
  width:360px;
  height:360px;
  border-radius:9999px;
  background:radial-gradient(circle, rgba(167,139,250,.35), transparent 60%);
  filter:blur(30px);
  pointer-events:none;
}

/* Rings SVG helper (if used) */
.decor-rings-svg svg{opacity:.18}
.decor-rings-svg circle{stroke:rgba(167,139,250,.55)}

/* Small helpers */
.text-balance{text-wrap:balance}
.shadow-soft{box-shadow:0 20px 60px rgba(17,24,39,.12)}

/* Form helper */
.field-error{
  border-color:color-mix(in srgb, #ef4444 75%, #ffffff 25%) !important;
  box-shadow:0 0 0 4px rgba(239,68,68,.10);
}
.form-hint{font-size:.875rem;line-height:1.25rem;color:#6b7280}
.form-error{font-size:.875rem;line-height:1.25rem;color:#ef4444}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  [data-animate]{transition:none}
}