/* =========================================================================
   Nijat Farzi Studio — visual system

   One palette, two themes. Every colour is a token, so light and dark stay
   in sync without per-utility overrides. Tailwind reads the same tokens via
   rgb(var(--c-x) / <alpha-value>), which is why utilities like text-ink/80 or
   bg-glow/70 theme themselves.
   ========================================================================= */

/* -------------------------------------------------------------------------
   Tokens — light
   ------------------------------------------------------------------------- */

:root {
  color-scheme: light;

  --c-paper: 241 239 233;
  --c-pearl: 255 255 255;
  --c-cloud: 226 222 213;
  --c-ink: 16 18 22;
  --c-mist: 70 67 61;
  --c-line: 204 196 183;
  --c-gold: 154 107 45;
  --c-pine: 45 82 73;
  --c-glow: 233 224 208;
  --c-rose: 246 243 237;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-card: 0.85rem;
  --radius-inner: 0.7rem;

  --accent: #9a6b2d;
  --accent-text: #79501f;
  --accent-wash: rgba(154, 107, 45, 0.13);
  --accent-edge: rgba(154, 107, 45, 0.34);

  --accent-cool: #3f5a94;
  --accent-cool-text: #2e4477;
  --accent-cool-wash: rgba(63, 90, 148, 0.1);
  --accent-cool-edge: rgba(63, 90, 148, 0.28);

  --page-base: #f1ede4;
  --page-wash: none;

  --surface: linear-gradient(180deg, #fffdf8 0%, #f9f6ee 100%);
  --surface-border: rgba(16, 18, 22, 0.13);
  --surface-sheen: rgba(255, 255, 255, 0.9);
  --surface-shadow: 0 16px 36px rgba(16, 18, 22, 0.08);
  --surface-shadow-hover: 0 24px 56px rgba(16, 18, 22, 0.13);
  --sunken: #eee9de;

  --nav-bg: rgba(255, 253, 248, 0.9);
  --nav-border: rgba(16, 18, 22, 0.12);

  --hairline: rgba(16, 18, 22, 0.12);
  --hairline-strong: rgba(16, 18, 22, 0.24);

  --btn-primary-bg: linear-gradient(135deg, #101216 0%, #252018 100%);
  --btn-primary-fg: #fff7e8;
  --btn-primary-sheen: rgba(255, 255, 255, 0.12);

  --btn-ghost-bg: rgba(255, 253, 248, 0.94);
  --btn-ghost-bg-hover: #ffffff;
  --btn-ghost-fg: #101216;
  --btn-ghost-border: rgba(16, 18, 22, 0.14);

  --grain-opacity: 0.035;
  --grain-blend: multiply;

  --sh-1: rgba(16, 18, 22, 0.08);
  --sh-2: rgba(16, 18, 22, 0.14);
  --sh-3: rgba(16, 18, 22, 0.22);
}

/* -------------------------------------------------------------------------
   Tokens — dark
   ------------------------------------------------------------------------- */

[data-theme="dark"] {
  color-scheme: dark;

  --c-paper: 12 17 33;
  --c-pearl: 18 26 46;
  --c-cloud: 30 42 68;
  --c-ink: 240 236 226;
  --c-mist: 176 190 214;
  --c-line: 60 78 116;
  --c-gold: 222 190 132;
  --c-pine: 108 178 200;
  --c-glow: 40 58 96;
  --c-rose: 28 40 66;

  --accent: #debe84;
  --accent-text: #e8d2a8;
  --accent-wash: rgba(222, 190, 132, 0.14);
  --accent-edge: rgba(222, 190, 132, 0.34);

  --accent-cool: #7ea4e6;
  --accent-cool-text: #b8cbf1;
  --accent-cool-wash: rgba(126, 164, 230, 0.14);
  --accent-cool-edge: rgba(126, 164, 230, 0.36);

  --page-base: #080d1c;
  --page-wash: none;

  --surface:
    radial-gradient(120% 80% at 0% 0%, rgba(126, 164, 230, 0.08) 0%, transparent 55%),
    radial-gradient(120% 80% at 100% 100%, rgba(222, 190, 132, 0.06) 0%, transparent 60%),
    linear-gradient(160deg, #131c37 0%, #0d152b 100%);
  --surface-border: rgba(148, 174, 224, 0.16);
  --surface-sheen: rgba(180, 205, 255, 0.08);
  --surface-shadow: 0 18px 44px rgba(4, 8, 22, 0.55);
  --surface-shadow-hover: 0 30px 66px rgba(4, 8, 22, 0.7);
  --sunken: #070c1a;

  --nav-bg: rgba(13, 20, 40, 0.88);
  --nav-border: rgba(148, 174, 224, 0.18);

  --hairline: rgba(180, 205, 255, 0.14);
  --hairline-strong: rgba(180, 205, 255, 0.3);

  --btn-primary-bg: linear-gradient(135deg, #f0d39c 0%, #c9a76f 100%);
  --btn-primary-fg: #0a0f1e;
  --btn-primary-sheen: rgba(255, 255, 255, 0.32);

  --btn-ghost-bg: rgba(148, 174, 224, 0.08);
  --btn-ghost-bg-hover: rgba(148, 174, 224, 0.14);
  --btn-ghost-fg: #eef1f8;
  --btn-ghost-border: rgba(148, 174, 224, 0.2);

  --grain-opacity: 0.04;
  --grain-blend: screen;

  --sh-1: rgba(0, 0, 0, 0.45);
  --sh-2: rgba(0, 0, 0, 0.55);
  --sh-3: rgba(0, 0, 0, 0.65);
}

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */

html {
  background-color: var(--page-base);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100%;
  background-color: var(--page-base);
  color: rgb(var(--c-ink));
  font-feature-settings: "ss01" on, "cv10" on;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  text-wrap: balance;
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

::selection {
  background: var(--accent-wash);
  color: rgb(var(--c-ink));
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--hairline-strong) transparent;
}

.text-body {
  color: rgb(var(--c-mist));
}

/* -------------------------------------------------------------------------
   Ambient background layers
   ------------------------------------------------------------------------- */

.aurora {
  display: none;
}

.aurora-a {
  top: -10rem;
  right: -6rem;
  width: 32rem;
  height: 32rem;
  background: var(--accent-wash);
  animation: auroraDrift 18s ease-in-out infinite alternate;
}

.aurora-b {
  top: 8rem;
  left: -8rem;
  width: 26rem;
  height: 26rem;
  background: rgba(120, 140, 170, 0.09);
  animation: auroraDrift 24s ease-in-out infinite alternate-reverse;
}

@keyframes auroraDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(3%, 4%, 0) scale(1.1); }
}

.grain {
  display: none;
}

/* -------------------------------------------------------------------------
   Surfaces
   ------------------------------------------------------------------------- */

.surface-card,
.glass-surface {
  min-width: 0;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: inset 0 1px 0 var(--surface-sheen), var(--surface-shadow);
}

.surface-sunken {
  border-radius: var(--radius-inner);
  background: var(--sunken);
  border: 1px solid var(--hairline);
}

/* Modifier rather than Tailwind's border-dashed, so it can't lose to the
   border shorthand above depending on stylesheet order. */
.surface-dashed {
  border-style: dashed;
  border-color: var(--hairline-strong);
  box-shadow: none;
}

.nav-shell {
  background: var(--nav-bg);
  border: 1px solid var(--nav-border);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  box-shadow: 0 12px 32px var(--sh-1);
}

.nav-shell img {
  max-width: min(11rem, 42vw);
}

.hairline {
  border-color: var(--hairline);
}

.premium-card {
  transition:
    transform 0.5s var(--ease-out-expo),
    box-shadow 0.5s var(--ease-out-expo),
    border-color 0.4s ease;
}

.premium-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-edge);
  box-shadow: inset 0 1px 0 var(--surface-sheen), var(--surface-shadow-hover);
}

/* Always-dark panels: hero showcase, contact band, dock, media placeholders. */
.panel-onyx {
  position: relative;
  color: #f0eee6;
  background:
    linear-gradient(145deg, rgba(222, 190, 132, 0.13) 0%, rgba(222, 190, 132, 0) 42%),
    radial-gradient(120% 100% at 100% 0%, rgba(126, 164, 230, 0.18) 0%, transparent 55%),
    linear-gradient(160deg, #131d38 0%, #0b1224 58%, #1a1524 100%);
  border: 1px solid rgba(180, 205, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 28px 64px rgba(4, 8, 22, 0.5);
}

[data-theme="dark"] .panel-onyx {
  background:
    linear-gradient(145deg, rgba(222, 190, 132, 0.14) 0%, rgba(222, 190, 132, 0) 40%),
    radial-gradient(130% 110% at 100% 0%, rgba(126, 164, 230, 0.22) 0%, transparent 58%),
    linear-gradient(160deg, #172344 0%, #0d152d 60%, #1c1830 100%);
  border-color: rgba(180, 205, 255, 0.26);
}

.panel-inset {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.115) 0%, rgba(255, 255, 255, 0.045) 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mockup-bar {
  background: rgba(255, 255, 255, 0.115);
}

/* -------------------------------------------------------------------------
   Typography accents
   ------------------------------------------------------------------------- */

.section-head {
  max-width: 58rem;
  padding-inline: 0.25rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.section-eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-accent {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent-text);
}

.heading-copy {
  color: rgb(var(--c-ink));
}

.heading-accent {
  color: var(--accent-text);
}

.heading-accent--blue {
  color: var(--accent-cool-text);
}

[data-theme="dark"] .heading-accent--gold {
  color: #e5c384;
}

[data-theme="dark"] .heading-accent--blue {
  color: #a8c2ed;
}

.quote-mark {
  font-family: "Instrument Serif", serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-edge);
}

.contact-title {
  text-wrap: pretty;
  hyphens: manual;
}

/* -------------------------------------------------------------------------
   Controls
   ------------------------------------------------------------------------- */

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border: 1px solid rgba(255, 247, 232, 0.12);
}

.btn-champagne {
  background: linear-gradient(135deg, #f0d39c 0%, #c99b58 100%);
  color: #101216;
  border: 1px solid rgba(255, 247, 232, 0.38);
}

.btn-ghost {
  background: var(--btn-ghost-bg);
  color: var(--btn-ghost-fg);
  border: 1px solid var(--btn-ghost-border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.btn-ghost:hover {
  background: var(--btn-ghost-bg-hover);
  border-color: var(--hairline-strong);
}

.btn-premium {
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px var(--sh-2);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo);
}

.btn-premium:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px var(--sh-3);
}

.btn-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, var(--btn-primary-sheen) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out-expo);
}

.btn-premium:hover::after {
  transform: translateX(120%);
}

.chip-accent {
  background: var(--accent-wash);
  border: 1px solid var(--accent-edge);
  color: var(--accent-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.chip-accent > * {
  min-width: 0;
}

.icon-badge {
  background: var(--accent-wash);
  border: 1px solid var(--accent-edge);
  color: var(--accent-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.process-line {
  background: linear-gradient(90deg, transparent, var(--accent-edge), var(--accent), var(--accent-edge), transparent);
  opacity: 0.55;
}

/* -------------------------------------------------------------------------
   Theme toggle
   ------------------------------------------------------------------------- */

.theme-toggle .theme-icon {
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.theme-toggle .theme-icon-moon {
  opacity: 0;
  visibility: hidden;
}

.theme-toggle .theme-icon-sun {
  opacity: 1;
  visibility: visible;
}

[data-theme="dark"] .theme-toggle .theme-icon-sun {
  opacity: 0;
  visibility: hidden;
}

[data-theme="dark"] .theme-toggle .theme-icon-moon {
  opacity: 1;
  visibility: visible;
}

.nav-menu-btn {
  gap: 0.5rem;
}

.nav-menu-btn .nav-menu-icon {
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.nav-menu-btn .nav-menu-icon-close {
  opacity: 0;
  visibility: hidden;
}

.nav-menu-btn.is-open .nav-menu-icon-open {
  opacity: 0;
  visibility: hidden;
}

.nav-menu-btn.is-open .nav-menu-icon-close {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-link {
  display: block;
  padding: 0.625rem 0.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgb(var(--c-mist));
  border-radius: 0.5rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-nav-link:hover {
  color: rgb(var(--c-ink));
  background: var(--accent-wash);
}

/* -------------------------------------------------------------------------
   Hero showcase panel
   ------------------------------------------------------------------------- */

.hero-stage {
  position: relative;
  isolation: isolate;
}

.hero-ambient {
  pointer-events: none;
  position: absolute;
  inset: -6rem -5rem -4rem;
  z-index: -1;
  background:
    radial-gradient(34rem 22rem at 17% 24%, rgba(154, 107, 45, 0.12), transparent 68%),
    radial-gradient(34rem 24rem at 82% 20%, rgba(38, 55, 96, 0.11), transparent 70%);
  filter: blur(14px);
  opacity: 0.82;
}

.hero-grid {
  position: relative;
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(16, 18, 22, 0.085);
  border-radius: 1.35rem;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.97) 0%, rgba(255, 253, 248, 0.97) 51%, rgba(13, 20, 40, 0.98) 51%, rgba(13, 20, 40, 0.98) 100%);
  box-shadow:
    0 34px 90px rgba(16, 18, 22, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.88) inset;
}

.hero-grid::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(154, 107, 45, 0.22), rgba(180, 205, 255, 0.2), transparent);
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-editorial {
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(32rem 22rem at 14% 12%, rgba(222, 190, 132, 0.12), transparent 66%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 253, 248, 0.98) 48%, rgba(248, 244, 236, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.hero-editorial:hover {
  transform: none;
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.hero-title {
  margin-top: 1.15rem;
  max-width: 38rem;
  color: rgb(var(--c-ink));
  font-size: clamp(2.05rem, 4.35vw, 3.55rem);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -0.032em;
}

.hero-accent {
  max-width: 35rem;
  font-size: clamp(1.18rem, 2.4vw, 1.62rem);
  line-height: 1.14;
}

.hero-body {
  max-width: 35.5rem;
  color: rgb(var(--c-mist));
  font-size: 0.95rem;
  line-height: 1.82;
}

.hero-body p + p {
  color: rgb(var(--c-ink) / 0.78);
}

.hero-trust {
  max-width: 100%;
  background: rgba(154, 107, 45, 0.095);
  border-color: rgba(154, 107, 45, 0.3);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-trust:hover {
  background: rgba(154, 107, 45, 0.13);
  border-color: rgba(154, 107, 45, 0.42);
  transform: translateY(-1px);
}

.hero-trust-dot {
  position: relative;
  flex-shrink: 0;
}

.hero-trust-dot::after {
  content: "";
  position: absolute;
  inset: -0.3rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  opacity: 0;
  animation: trustBreath 3.6s ease-out infinite;
}

@keyframes trustBreath {
  0% { transform: scale(0.72); opacity: 0.28; }
  65%, 100% { transform: scale(1.28); opacity: 0; }
}

.hero-actions .btn-primary,
.hero-actions .btn-ghost {
  transition:
    transform 190ms var(--ease-out-expo),
    box-shadow 190ms ease,
    background-color 190ms ease,
    border-color 190ms ease;
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
}

.hero-actions .btn-ghost:hover {
  transform: translateY(-2px);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-showcase {
  --mouse-x: 50%;
  --mouse-y: 30%;
  --hero-enter-y: 0px;
  --hero-enter-scale: 1;
  transform: perspective(1200px) rotateX(var(--hero-rx, 0deg)) rotateY(var(--hero-ry, 0deg)) translate3d(var(--hero-tx, 0px), calc(var(--hero-ty, 0px) + var(--hero-enter-y)), 0) scale(var(--hero-enter-scale));
  transform-style: preserve-3d;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.hero-showcase:hover {
  box-shadow: none;
}

.hero-showcase::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.075), transparent 36%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.hero-showcase.is-spotlit::before {
  opacity: 1;
}

.hero-panel-spotlight {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 28%, transparent 72%, rgba(222, 190, 132, 0.08)),
    radial-gradient(36rem 24rem at 50% -14%, rgba(180, 205, 255, 0.11), transparent 65%);
}

.hero-panel-kicker {
  position: relative;
  z-index: 1;
}

.product-browser {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.042)),
    rgba(7, 12, 26, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 22px 54px rgba(0, 0, 0, 0.26);
}

.product-browser-bar {
  background: rgba(255, 255, 255, 0.095);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.product-tab {
  min-width: 0;
  border-radius: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));
  padding: 0.72rem 0.78rem;
  text-align: left;
  color: #f4efe5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.product-tab:hover,
.product-tab:focus-visible,
.product-tab.is-active {
  border-color: rgba(222, 190, 132, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.065));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(222, 190, 132, 0.05);
}

.product-tab:hover {
  transform: translateY(-1px);
}

.product-tab-label,
.product-tab-value {
  display: block;
  min-width: 0;
}

.product-tab-label {
  color: rgba(244, 239, 229, 0.6);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.product-tab-value {
  margin-top: 0.25rem;
  overflow: hidden;
  color: #fffaf0;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.16;
  text-overflow: ellipsis;
}

.product-preview-shell {
  position: relative;
  min-height: 12.75rem;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(120% 120% at 10% 0%, rgba(222, 190, 132, 0.08), transparent 54%),
    linear-gradient(180deg, rgba(3, 8, 20, 0.22), rgba(3, 8, 20, 0.38));
}

.product-preview {
  position: absolute;
  inset: 0;
  padding: 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms var(--ease-out-expo);
}

.product-preview.is-active {
  opacity: 1;
  transform: translateY(0);
}

.product-preview[hidden] {
  display: block;
  pointer-events: none;
  visibility: hidden;
}

.preview-line,
.preview-site .preview-nav span,
.preview-card-row span,
.preview-status-list span,
.preview-dashboard-row span,
.preview-customer-rows span {
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.preview-site,
.preview-dashboard,
.preview-crm {
  display: grid;
  height: 100%;
  gap: 0.75rem;
}

.preview-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.preview-site .preview-nav span {
  width: 3.4rem;
  height: 0.4rem;
}

.preview-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 0.75rem;
  background:
    linear-gradient(135deg, rgba(222, 190, 132, 0.2), rgba(255, 255, 255, 0.055));
  padding: 0.85rem;
  min-height: 5.4rem;
}

.preview-line {
  height: 0.46rem;
  margin-top: 0.4rem;
}

.preview-cta {
  width: 4rem;
  height: 1.25rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(222, 190, 132, 0.72);
}

.preview-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.preview-card-row span {
  height: 2.2rem;
  border-radius: 0.6rem;
}

.preview-app {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  height: 100%;
  gap: 0.75rem;
}

.preview-phone {
  display: grid;
  gap: 0.42rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  padding: 0.65rem;
}

.preview-pill,
.preview-order-card,
.preview-confirm {
  display: block;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.16);
}

.preview-pill { height: 0.45rem; width: 62%; }
.preview-order-card { height: 2.15rem; }
.preview-order-card.short { height: 1.55rem; }
.preview-confirm { height: 1.3rem; background: rgba(222, 190, 132, 0.55); }

.preview-status-list {
  display: grid;
  align-content: center;
  gap: 0.65rem;
}

.preview-status-list span {
  height: 1.55rem;
  border-radius: 0.55rem;
}

.preview-kpis,
.preview-pipeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.preview-kpis span,
.preview-pipeline span {
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.105);
  padding: 0.55rem 0.42rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.58rem;
  font-weight: 700;
  text-align: center;
}

.preview-chart {
  display: flex;
  align-items: end;
  gap: 0.5rem;
  min-height: 4.2rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.7rem;
}

.preview-chart i {
  display: block;
  flex: 1;
  border-radius: 999px 999px 0.25rem 0.25rem;
  background: linear-gradient(180deg, rgba(222, 190, 132, 0.85), rgba(222, 190, 132, 0.22));
}

.preview-chart i:nth-child(1) { height: 34%; }
.preview-chart i:nth-child(2) { height: 58%; }
.preview-chart i:nth-child(3) { height: 44%; }
.preview-chart i:nth-child(4) { height: 76%; }
.preview-chart i:nth-child(5) { height: 62%; }

.preview-dashboard-row,
.preview-customer-rows {
  display: grid;
  gap: 0.45rem;
}

.preview-dashboard-row span,
.preview-customer-rows span {
  height: 0.65rem;
}

.preview-crm {
  align-content: start;
}

.preview-customer-rows span {
  height: 1.2rem;
  border-radius: 0.5rem;
}

.preview-activity {
  min-height: 2.2rem;
  border-radius: 0.75rem;
  background:
    linear-gradient(90deg, rgba(222, 190, 132, 0.42) 0 34%, rgba(255,255,255,0.12) 34% 100%);
}

.hero-glow {
  animation: heroGlow 10s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.35; }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.1); opacity: 0.6; }
}

.panel-feature-grid {
  flex: 0 0 auto;
  grid-template-rows: repeat(3, minmax(0, auto));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: visible;
  min-height: 0;
}

.hero-panel .grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-feature-item {
  display: flex;
  align-items: center;
  min-height: 0;
  min-width: 0;
  --card-mx: 50%;
  --card-my: 0%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.095);
  background:
    radial-gradient(circle at var(--card-mx) var(--card-my), rgba(255, 255, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.088), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 190ms var(--ease-out-expo),
    border-color 190ms ease,
    background-color 190ms ease,
    box-shadow 190ms ease;
}

.hero-showcase .panel-feature-item {
  min-height: 4.75rem;
}

.panel-feature-item:hover {
  transform: translateY(-4px) scale(1.018);
  border-color: rgba(222, 190, 132, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 14px 28px rgba(0, 0, 0, 0.18);
}

.panel-feature-icon {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
  transition: transform 190ms ease, color 190ms ease, background-color 190ms ease;
}

.panel-feature-item:hover .panel-feature-icon {
  transform: translateY(-2px);
  background: rgba(222, 190, 132, 0.13);
  color: #f3d7a4;
}

.hero-tags span {
  line-height: 1;
}

.shimmer-line {
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.26) 50%, rgba(255,255,255,0.06) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* -------------------------------------------------------------------------
   Reveal on scroll
   ------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.9s var(--ease-out-expo),
    transform 0.9s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-stage .hero-sequence,
.hero-stage .hero-showcase {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 680ms var(--ease-out-expo),
    transform 680ms var(--ease-out-expo);
}

.hero-stage .hero-showcase {
  --hero-enter-y: 18px;
  --hero-enter-scale: 0.985;
  transform: perspective(1200px) rotateX(var(--hero-rx, 0deg)) rotateY(var(--hero-ry, 0deg)) translate3d(var(--hero-tx, 0px), calc(var(--hero-ty, 0px) + var(--hero-enter-y)), 0) scale(var(--hero-enter-scale));
}

.hero-stage.is-visible .hero-sequence,
.hero-stage.is-visible .hero-showcase {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-stage.is-visible .hero-showcase {
  --hero-enter-y: 0px;
  --hero-enter-scale: 1;
  transform: perspective(1200px) rotateX(var(--hero-rx, 0deg)) rotateY(var(--hero-ry, 0deg)) translate3d(var(--hero-tx, 0px), calc(var(--hero-ty, 0px) + var(--hero-enter-y)), 0) scale(var(--hero-enter-scale));
}

.hero-stage.is-visible .hero-sequence:nth-child(1) { transition-delay: 40ms; }
.hero-stage.is-visible .hero-sequence:nth-child(2) { transition-delay: 110ms; }
.hero-stage.is-visible .hero-sequence:nth-child(3) { transition-delay: 180ms; }
.hero-stage.is-visible .hero-sequence:nth-child(4) { transition-delay: 250ms; }
.hero-stage.is-visible .hero-sequence:nth-child(5) { transition-delay: 320ms; }
.hero-stage.is-visible .hero-actions { transition-delay: 390ms; }
.hero-stage.is-visible .hero-showcase { transition-delay: 180ms; }

.hero-stage.is-visible .panel-feature-item {
  animation: heroFeatureIn 560ms var(--ease-out-expo) both;
}

.hero-stage.is-visible .panel-feature-item:nth-child(1) { animation-delay: 310ms; }
.hero-stage.is-visible .panel-feature-item:nth-child(2) { animation-delay: 360ms; }
.hero-stage.is-visible .panel-feature-item:nth-child(3) { animation-delay: 410ms; }
.hero-stage.is-visible .panel-feature-item:nth-child(4) { animation-delay: 460ms; }
.hero-stage.is-visible .panel-feature-item:nth-child(5) { animation-delay: 510ms; }
.hero-stage.is-visible .panel-feature-item:nth-child(6) { animation-delay: 560ms; }

@keyframes heroFeatureIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-glow,
  .floating,
  .shimmer-line,
  .aurora-a,
  .aurora-b,
  .hero-trust-dot::after,
  .hero-stage.is-visible .panel-feature-item {
    animation: none;
  }

  .btn-premium::after {
    display: none;
  }

  .hero-stage .hero-sequence,
  .hero-stage .hero-showcase,
  .product-preview,
  .panel-feature-item,
  .hero-showcase {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 1024px) {
  .hero-grid::after {
    opacity: 1;
  }
}

@media (max-width: 1023px) {
  .hero-grid {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.98) 50%, rgba(13, 20, 40, 0.98) 50%, rgba(13, 20, 40, 0.98) 100%);
  }

  .hero-showcase {
    border-top: 1px solid rgba(180, 205, 255, 0.18);
  }
}

@media (max-width: 760px) {
  .hero-stage .hero-sequence {
    transition-duration: 420ms;
  }

  .hero-stage.is-visible .hero-sequence,
  .hero-stage.is-visible .hero-actions,
  .hero-stage.is-visible .hero-showcase {
    transition-delay: 0ms;
  }

  .hero-title {
    font-size: clamp(1.75rem, 7.1vw, 2.18rem);
    line-height: 1.03;
    letter-spacing: -0.026em;
  }

  .hero-body {
    font-size: 0.92rem;
    line-height: 1.74;
  }

  .product-preview-shell {
    min-height: 9.5rem;
  }

  .panel-feature-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }

  .hero-showcase .panel-feature-item {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  main,
  main > section,
  .grid,
  .grid > * {
    min-width: 0;
    max-width: 100%;
  }

  main .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1,
  h2,
  h3,
  p {
    text-wrap: normal;
  }

  .section-eyebrow {
    letter-spacing: 0.22em;
  }

  .hero-title {
    font-size: clamp(1.72rem, 7.4vw, 2.05rem);
    line-height: 1.06;
    letter-spacing: -0.025em;
  }

  .hero-editorial {
    padding-inline: 1.25rem;
  }

  .chip-accent {
    max-width: 100%;
    align-items: flex-start;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-accent {
    font-size: 1.18rem;
    line-height: 1.18;
  }

  .product-tab {
    padding: 0.65rem;
  }

  .product-tab-value {
    font-size: 0.76rem;
  }

  .preview-app {
    grid-template-columns: 4.8rem minmax(0, 1fr);
  }

  .nav-shell {
    border-radius: 999px;
    padding: 0.55rem 0.65rem;
  }

  .nav-shell img {
    max-width: 5.5rem;
  }

  .theme-toggle,
  .nav-menu-btn,
  .nav-shell .btn-ghost {
    width: 2.25rem;
    height: 2.25rem;
    padding-inline: 0;
  }

  .nav-shell .btn-ghost {
    justify-content: center;
    letter-spacing: 0.12em;
  }
}

/* -------------------------------------------------------------------------
   Contact dock — unified single-row layout for all widths
   ------------------------------------------------------------------------- */

.site-dock .dock-row {
  min-width: 0;
}

.site-dock {
  transition: opacity 220ms ease, transform 220ms ease;
}

.site-dock.is-muted {
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem) scale(0.985);
}

.site-dock .panel-onyx {
  background:
    linear-gradient(145deg, rgba(222, 190, 132, 0.09) 0%, rgba(222, 190, 132, 0) 36%),
    linear-gradient(160deg, rgba(15, 22, 43, 0.94) 0%, rgba(8, 13, 27, 0.96) 100%);
  border-color: rgba(180, 205, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 14px 34px rgba(4, 8, 22, 0.34);
}

.site-dock .dock-primary {
  flex: 0 1 auto;
  min-width: 0;
}

.site-dock .dock-phone-pill {
  min-width: 0;
  max-width: 100%;
}

.site-dock .dock-phone-number {
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  min-width: 0;
}

.site-dock .dock-icon-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.075);
  color: #f8f1e4;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.site-dock .dock-icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(222, 190, 132, 0.22);
}

.site-dock .dock-phone-pill {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.11);
}

.site-dock .dock-wa-btn {
  box-shadow: none;
}

@media (max-width: 420px) {
  .site-dock .dock-brand {
    display: none;
  }

  .site-dock .dock-phone-pill {
    padding: 0.2rem 0.5rem;
  }

  .site-dock .dock-icon-btn {
    width: 1.85rem;
    height: 1.85rem;
  }
}

/* -------------------------------------------------------------------------
   Services showcase — premium tri-tone block with diagram + depth
   ------------------------------------------------------------------------- */

.services-showcase {
  position: relative;
  isolation: isolate;
}

.services-aurora {
  position: absolute;
  inset: -2rem -3rem auto -3rem;
  height: 22rem;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  filter: blur(60px);
  opacity: 0.55;
}

.services-aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  animation: servicesAurora 22s ease-in-out infinite alternate;
}

.services-aurora-a {
  top: -6rem;
  left: 10%;
  width: 22rem;
  height: 22rem;
  background: var(--accent-cool-wash);
}

.services-aurora-b {
  top: -3rem;
  right: 8%;
  width: 18rem;
  height: 18rem;
  background: var(--accent-wash);
  animation-delay: -6s;
}

@keyframes servicesAurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-4%, 3%, 0) scale(1.08); }
  100% { transform: translate3d(3%, -2%, 0) scale(1.14); }
}

.services-diagram {
  position: relative;
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: 0 12px 30px var(--sh-1), inset 0 1px 0 var(--surface-sheen);
}

.services-diagram-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.services-diagram-node[data-tone="sky"] {
  color: var(--accent-cool);
  background: var(--accent-cool-wash);
  border-color: var(--accent-cool-edge);
  animation: diagramPulse 4.4s ease-in-out infinite;
}

.services-diagram-node[data-tone="gold"] {
  color: var(--accent);
  background: var(--accent-wash);
  border-color: var(--accent-edge);
  animation: diagramPulse 4.4s ease-in-out infinite 0.9s;
}

.services-diagram-node[data-tone="violet"] {
  color: #a08bd8;
  background: rgba(163, 133, 214, 0.12);
  border-color: rgba(163, 133, 214, 0.34);
  animation: diagramPulse 4.4s ease-in-out infinite 1.8s;
}

[data-theme="dark"] .services-diagram-node[data-tone="violet"] {
  color: #c1a9ff;
  background: rgba(193, 169, 255, 0.14);
  border-color: rgba(193, 169, 255, 0.36);
}

@keyframes diagramPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 0 currentColor; }
  50%      { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
}

.services-diagram-link {
  position: relative;
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-cool-edge), var(--accent-edge));
  overflow: hidden;
}

.services-diagram-link::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -50%;
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  filter: blur(1.5px);
  animation: diagramFlow 2.6s linear infinite;
}

.services-diagram-link:nth-of-type(4)::after {
  animation-delay: 1.3s;
}

@keyframes diagramFlow {
  0%   { transform: translateX(0); }
  100% { transform: translateX(400%); }
}

/* --- Cards ---------------------------------------------------------------- */

.services-grid::before {
  content: "";
  position: absolute;
  top: 4.5rem;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cool-edge), var(--accent-edge), rgba(163, 133, 214, 0.32), transparent);
  opacity: 0.35;
  display: none;
  z-index: 0;
}

@media (min-width: 1024px) {
  .services-grid::before {
    display: block;
  }
}

.services-card {
  --tone-accent: var(--accent);
  --tone-accent-text: var(--accent-text);
  --tone-glow: var(--accent-wash);
  --tone-edge: var(--accent-edge);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: inset 0 1px 0 var(--surface-sheen), var(--surface-shadow);
  transition:
    transform 0.55s var(--ease-out-expo),
    box-shadow 0.55s var(--ease-out-expo),
    border-color 0.4s ease;
}

.services-card[data-tone="sky"] {
  --tone-accent: var(--accent-cool);
  --tone-accent-text: var(--accent-cool-text);
  --tone-glow: var(--accent-cool-wash);
  --tone-edge: var(--accent-cool-edge);
}

.services-card[data-tone="gold"] {
  --tone-accent: var(--accent);
  --tone-accent-text: var(--accent-text);
  --tone-glow: var(--accent-wash);
  --tone-edge: var(--accent-edge);
}

.services-card[data-tone="violet"] {
  --tone-accent: #8f74d0;
  --tone-accent-text: #6f56b8;
  --tone-glow: rgba(143, 116, 208, 0.14);
  --tone-edge: rgba(143, 116, 208, 0.34);
}

[data-theme="dark"] .services-card[data-tone="violet"] {
  --tone-accent: #b9a1ff;
  --tone-accent-text: #d7c8ff;
  --tone-glow: rgba(185, 161, 255, 0.15);
  --tone-edge: rgba(185, 161, 255, 0.38);
}

.services-card-glow {
  position: absolute;
  inset: -30% -25% auto auto;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--tone-glow), transparent 72%);
  filter: blur(6px);
  opacity: 0.85;
  z-index: 0;
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.services-card-body {
  position: relative;
  z-index: 1;
}

.services-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.services-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  color: var(--tone-accent);
  background:
    radial-gradient(closest-side, var(--tone-glow) 0%, transparent 78%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.4), transparent 65%),
    var(--surface);
  border: 1px solid var(--tone-edge);
  box-shadow:
    0 10px 26px var(--sh-1),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: servicesIconFloat 6s ease-in-out infinite;
}

[data-theme="dark"] .services-card-icon {
  background:
    radial-gradient(closest-side, var(--tone-glow) 0%, transparent 78%),
    linear-gradient(160deg, rgba(180, 205, 255, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(20, 28, 52, 0.6), rgba(10, 15, 30, 0.6));
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(180, 205, 255, 0.15);
}

@keyframes servicesIconFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

.services-card-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tone-accent-text);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--tone-glow);
  border: 1px solid var(--tone-edge);
}

.services-card-title {
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: rgb(var(--c-ink));
}

.services-card-desc {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgb(var(--c-mist));
}

.services-card-list {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 0.8rem;
  background: linear-gradient(180deg, var(--tone-glow), transparent);
  border: 1px solid var(--tone-edge);
}

.services-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgb(var(--c-ink) / 0.85);
}

.services-card-bullet {
  margin-top: 0.5rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--tone-accent);
  box-shadow: 0 0 0 3px var(--tone-glow);
  flex-shrink: 0;
}

.services-card:hover {
  transform: translateY(-8px);
  border-color: var(--tone-edge);
  box-shadow:
    inset 0 1px 0 var(--surface-sheen),
    0 32px 70px var(--sh-3);
}

.services-card:hover .services-card-glow {
  opacity: 1;
  transform: scale(1.12);
}

@media (max-width: 640px) {
  .services-diagram {
    padding: 0.45rem 0.7rem;
  }
  .services-diagram-node {
    width: 1.9rem;
    height: 1.9rem;
  }
  .services-diagram-link {
    width: 1.6rem;
  }
  .services-card {
    padding: 1.5rem;
  }
  .services-card-icon {
    width: 2.85rem;
    height: 2.85rem;
  }
  .services-card-title {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-aurora span,
  .services-diagram-node,
  .services-diagram-link::after,
  .services-card-icon {
    animation: none;
  }
}

/* -------------------------------------------------------------------------
   Capabilities showcase — mouse spotlight, hover proof, stagger reveal
   ------------------------------------------------------------------------- */

.cap-showcase {
  position: relative;
  isolation: isolate;
}

.cap-aurora {
  position: absolute;
  inset: -3rem -3rem auto -3rem;
  height: 32rem;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  filter: blur(72px);
  opacity: 0.55;
}

.cap-aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  animation: capAurora 26s ease-in-out infinite alternate;
}

.cap-aurora-a {
  top: -8rem;
  left: 6%;
  width: 26rem;
  height: 26rem;
  background: var(--accent-cool-wash);
}

.cap-aurora-b {
  top: -2rem;
  right: 10%;
  width: 22rem;
  height: 22rem;
  background: var(--accent-wash);
  animation-delay: -8s;
}

.cap-aurora-c {
  top: 6rem;
  left: 42%;
  width: 20rem;
  height: 20rem;
  background: rgba(163, 133, 214, 0.1);
  animation-delay: -14s;
}

[data-theme="dark"] .cap-aurora-c {
  background: rgba(185, 161, 255, 0.14);
}

@keyframes capAurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-3%, 4%, 0) scale(1.08); }
  100% { transform: translate3d(4%, -3%, 0) scale(1.15); }
}

.cap-meter {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: 0 10px 26px var(--sh-1), inset 0 1px 0 var(--surface-sheen);
  max-width: 100%;
  overflow: hidden;
}

.cap-meter-label {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--accent-text);
  white-space: nowrap;
}

.cap-meter-label > span {
  color: rgb(var(--c-mist));
  font-family: inherit;
  font-size: 0.8em;
}

.cap-meter-label--end {
  font-family: "Sora", sans-serif;
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgb(var(--c-mist));
}

.cap-meter-track {
  position: relative;
  flex: 1 1 auto;
  min-width: 4rem;
  max-width: 12rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-cool-edge), var(--accent-edge), rgba(163, 133, 214, 0.32));
  overflow: hidden;
}

.cap-meter-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-cool), var(--accent), #a08bd8);
  transform-origin: left center;
  transform: scaleX(0.12);
  animation: capMeterPulse 5.6s ease-in-out infinite;
}

[data-theme="dark"] .cap-meter-fill {
  background: linear-gradient(90deg, #7ea4e6, #debe84, #b9a1ff);
}

@keyframes capMeterPulse {
  0%   { transform: scaleX(0.12); }
  50%  { transform: scaleX(1); }
  100% { transform: scaleX(0.12); }
}

/* --- Card ----------------------------------------------------------------- */

.cap-grid {
  position: relative;
}

.cap-card {
  --tone-accent: var(--accent);
  --tone-accent-text: var(--accent-text);
  --tone-glow: var(--accent-wash);
  --tone-edge: var(--accent-edge);
  --mx: 50%;
  --my: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-card);
  padding: 1.65rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: inset 0 1px 0 var(--surface-sheen), var(--surface-shadow);
  transition:
    transform 0.55s var(--ease-out-expo),
    box-shadow 0.55s var(--ease-out-expo),
    border-color 0.4s ease;
}

.cap-card[data-tone="sky"] {
  --tone-accent: var(--accent-cool);
  --tone-accent-text: var(--accent-cool-text);
  --tone-glow: var(--accent-cool-wash);
  --tone-edge: var(--accent-cool-edge);
}

.cap-card[data-tone="gold"] {
  --tone-accent: var(--accent);
  --tone-accent-text: var(--accent-text);
  --tone-glow: var(--accent-wash);
  --tone-edge: var(--accent-edge);
}

.cap-card[data-tone="violet"] {
  --tone-accent: #8f74d0;
  --tone-accent-text: #6f56b8;
  --tone-glow: rgba(143, 116, 208, 0.14);
  --tone-edge: rgba(143, 116, 208, 0.34);
}

[data-theme="dark"] .cap-card[data-tone="violet"] {
  --tone-accent: #b9a1ff;
  --tone-accent-text: #d7c8ff;
  --tone-glow: rgba(185, 161, 255, 0.15);
  --tone-edge: rgba(185, 161, 255, 0.38);
}

.cap-card-spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    360px circle at var(--mx) var(--my),
    var(--tone-glow),
    transparent 55%
  );
  transition: opacity 0.4s ease;
}

.cap-card-glow {
  position: absolute;
  inset: -35% -25% auto auto;
  width: 65%;
  height: 65%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--tone-glow), transparent 72%);
  filter: blur(8px);
  opacity: 0.7;
  z-index: 0;
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.cap-card-body {
  position: relative;
  z-index: 1;
}

.cap-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.cap-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  color: var(--tone-accent);
  background:
    radial-gradient(closest-side, var(--tone-glow) 0%, transparent 78%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.35), transparent 60%),
    var(--surface);
  border: 1px solid var(--tone-edge);
  box-shadow:
    0 8px 22px var(--sh-1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.5s var(--ease-out-expo);
}

[data-theme="dark"] .cap-card-icon {
  background:
    radial-gradient(closest-side, var(--tone-glow) 0%, transparent 78%),
    linear-gradient(160deg, rgba(180, 205, 255, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(20, 28, 52, 0.6), rgba(10, 15, 30, 0.6));
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(180, 205, 255, 0.14);
}

.cap-card-tag {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tone-accent-text);
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: var(--tone-glow);
  border: 1px solid var(--tone-edge);
}

.cap-card-title {
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: rgb(var(--c-ink));
}

.cap-card-desc {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgb(var(--c-mist));
}

/* Proof reveal ------------------------------------------------------------- */

.cap-card-proof {
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: 0.75rem;
  background: linear-gradient(180deg, var(--tone-glow), transparent);
  border: 1px solid var(--tone-edge);
  max-height: 0;
  opacity: 0;
  transform: translateY(6px);
  overflow: hidden;
  padding-block: 0;
  border-width: 0 1px;
  transition:
    max-height 0.55s var(--ease-out-expo),
    opacity 0.4s ease 0.05s,
    transform 0.5s var(--ease-out-expo),
    padding-block 0.5s var(--ease-out-expo),
    border-width 0.4s ease;
}

.cap-card:hover .cap-card-proof,
.cap-card:focus-within .cap-card-proof,
.cap-card.is-open .cap-card-proof {
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
  padding-block: 0.9rem;
  border-width: 1px;
}

.cap-card:hover .cap-card-spot,
.cap-card.is-open .cap-card-spot {
  opacity: 1;
}

.cap-card:hover {
  transform: translateY(-6px);
  border-color: var(--tone-edge);
  box-shadow:
    inset 0 1px 0 var(--surface-sheen),
    0 30px 66px var(--sh-3);
}

.cap-card:hover .cap-card-icon {
  transform: translateY(-2px) scale(1.03);
}

/* Touch devices — always show proof at compact state */
@media (hover: none) {
  .cap-card-proof {
    max-height: 200px;
    opacity: 0.95;
    transform: none;
    padding-block: 0.9rem;
    border-width: 1px;
  }
  .cap-card-spot {
    opacity: 0.6;
  }
}

/* --- Proof visuals -------------------------------------------------------- */

.proof-web {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}
.proof-web-score {
  flex: 0 0 auto;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    conic-gradient(var(--tone-accent) 0 88%, var(--tone-glow) 88% 100%);
  color: rgb(var(--c-ink));
  position: relative;
}
.proof-web-score::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: var(--surface);
}
.proof-web-num {
  position: relative;
  font-family: "Instrument Serif", serif;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--tone-accent);
}
.proof-web-cap {
  position: relative;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(var(--c-mist));
}
.proof-web-bars {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  min-width: 0;
}
.proof-bar {
  display: block;
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: var(--tone-glow);
  overflow: hidden;
}
.proof-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w, 0%);
  background: linear-gradient(90deg, var(--tone-accent), var(--tone-accent) 60%, transparent);
  border-radius: inherit;
}
.proof-bar em {
  position: absolute;
  left: 0.6rem;
  top: -0.85rem;
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: rgb(var(--c-mist));
}

.proof-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.proof-pay-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  border: 1px solid var(--tone-edge);
  color: #111;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 14px var(--sh-1);
}
[data-theme="dark"] .proof-pay-chip {
  background: linear-gradient(160deg, rgba(240,240,250,0.92), rgba(200,205,220,0.75));
  color: #131826;
}

.proof-delivery {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.proof-delivery-map {
  width: 100%;
  height: 40px;
}
.proof-delivery-path {
  stroke: var(--tone-accent);
  stroke-width: 1.6;
  stroke-dasharray: 4 4;
  animation: proofDashFlow 4.5s linear infinite;
}
@keyframes proofDashFlow {
  to { stroke-dashoffset: -32; }
}
.proof-delivery-dot {
  fill: var(--tone-accent);
}
.proof-delivery-dot--b {
  fill: rgb(var(--c-ink));
}
.proof-delivery-pulse {
  fill: none;
  stroke: var(--tone-accent);
  stroke-width: 1.4;
  transform-origin: 10px 45px;
  animation: proofPulseRing 2.4s ease-out infinite;
}
@keyframes proofPulseRing {
  0%   { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(3.4); opacity: 0; }
}
.proof-delivery-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgb(var(--c-mist));
}
.proof-delivery-eta {
  color: var(--tone-accent-text);
  font-weight: 600;
}

.proof-chat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.proof-chat-msg {
  padding: 0.45rem 0.7rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.35;
  max-width: 85%;
}
.proof-chat-msg--in {
  align-self: flex-start;
  background: rgba(148, 174, 224, 0.14);
  color: rgb(var(--c-ink));
  border-bottom-left-radius: 0.2rem;
}
.proof-chat-msg--out {
  align-self: flex-end;
  background: var(--tone-accent);
  color: #0d1224;
  border-bottom-right-radius: 0.2rem;
  min-width: 3.4rem;
}
.proof-chat-msg--typing {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding-block: 0.55rem;
}
.proof-chat-msg--typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0d1224;
  opacity: 0.4;
  animation: proofTypingDot 1.3s ease-in-out infinite;
}
.proof-chat-msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.proof-chat-msg--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes proofTypingDot {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50%      { opacity: 1; transform: translateY(-3px); }
}

.proof-roles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}
.proof-role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--tone-glow);
  border: 1px solid var(--tone-edge);
  color: var(--tone-accent-text);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.proof-role--root {
  background: var(--tone-accent);
  color: #0d1224;
  border-color: transparent;
  box-shadow: 0 6px 18px var(--sh-1);
}
.proof-role-lines {
  position: relative;
  height: 14px;
  width: 70%;
  display: flex;
  justify-content: space-between;
}
.proof-role-lines span {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, var(--tone-edge), transparent);
}
.proof-role-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.proof-erp {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.proof-erp-row {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.72rem;
  color: rgb(var(--c-mist));
}
.proof-erp-row b {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  color: var(--tone-accent-text);
}
.proof-erp-bar {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: var(--tone-glow);
  overflow: hidden;
}
.proof-erp-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w, 0%);
  background: linear-gradient(90deg, var(--tone-accent), transparent);
  border-radius: inherit;
}

.proof-ai {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.55rem;
  align-items: center;
}
.proof-ai-doc {
  position: relative;
  width: 32px;
  height: 42px;
  border-radius: 4px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--tone-edge);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px;
  gap: 3px;
  box-shadow: 0 6px 14px var(--sh-1);
}
[data-theme="dark"] .proof-ai-doc {
  background: rgba(240,240,250,0.94);
}
.proof-ai-doc span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: rgba(63, 90, 148, 0.35);
}
.proof-ai-doc span:nth-child(1) { width: 80%; }
.proof-ai-doc span:nth-child(2) { width: 55%; }
.proof-ai-doc span:nth-child(3) { width: 70%; }
.proof-ai-flow {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
}
.proof-ai-arrow {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--tone-accent);
  animation: proofArrowNudge 2s ease-in-out infinite;
}
.proof-ai-arrow:nth-child(2) { animation-delay: 0.15s; }
.proof-ai-arrow:nth-child(3) { animation-delay: 0.3s; }
@keyframes proofArrowNudge {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50%      { transform: translateX(2px); opacity: 1; }
}
.proof-ai-fields {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: rgb(var(--c-ink));
  min-width: 0;
}
.proof-ai-fields span {
  display: flex;
  gap: 0.35rem;
  align-items: baseline;
}
.proof-ai-fields em {
  font-style: normal;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(var(--c-mist));
}

.proof-stock {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.proof-stock-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 52px;
  gap: 4px;
}
.proof-stock-bars span {
  flex: 1 1 auto;
  height: var(--h, 40%);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--tone-accent), var(--tone-glow));
  animation: proofBarGrow 1.6s var(--ease-out-expo) both;
}
.proof-stock-bars span:nth-child(2) { animation-delay: 0.05s; }
.proof-stock-bars span:nth-child(3) { animation-delay: 0.1s; }
.proof-stock-bars span:nth-child(4) { animation-delay: 0.15s; }
.proof-stock-bars span:nth-child(5) { animation-delay: 0.2s; }
.proof-stock-bars span:nth-child(6) { animation-delay: 0.25s; }
.proof-stock-bars span:nth-child(7) { animation-delay: 0.3s; }
@keyframes proofBarGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); transform-origin: bottom; }
}
.proof-stock-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: rgb(var(--c-mist));
}
.proof-stock-badge {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(220, 100, 90, 0.15);
  color: #d75b52;
  font-weight: 600;
  border: 1px solid rgba(220, 100, 90, 0.36);
}
[data-theme="dark"] .proof-stock-badge {
  background: rgba(255, 128, 118, 0.18);
  color: #ff9a90;
  border-color: rgba(255, 128, 118, 0.4);
}

.proof-analytics {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.proof-analytics-spark {
  width: 100%;
  height: 44px;
}
.proof-analytics-line {
  stroke: var(--tone-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 4px var(--tone-glow));
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: proofLineDraw 1.6s var(--ease-out-expo) forwards;
}
.proof-analytics-fill {
  fill: var(--tone-glow);
  opacity: 0.6;
}
@keyframes proofLineDraw {
  to { stroke-dashoffset: 0; }
}
.proof-analytics-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgb(var(--c-mist));
}
.proof-analytics-trend {
  font-weight: 600;
  color: var(--tone-accent-text);
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 640px) {
  .cap-card {
    padding: 1.35rem;
  }
  .cap-card-icon {
    width: 2.6rem;
    height: 2.6rem;
  }
  .cap-card-title {
    font-size: 1.08rem;
  }
  .cap-meter-track {
    max-width: 8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cap-aurora span,
  .cap-meter-fill,
  .proof-delivery-path,
  .proof-delivery-pulse,
  .proof-chat-msg--typing span,
  .proof-ai-arrow,
  .proof-stock-bars span,
  .proof-analytics-line {
    animation: none;
  }
  .cap-card {
    transition: none;
  }
}

/* Hero v2: wider editorial canvas and a product-led application surface. */
@media (min-width: 1100px) {
  .hero-grid {
    left: 50%;
    width: min(1400px, calc(100vw - 3rem));
    min-height: 44rem;
    transform: translateX(-50%);
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
  }
}

.hero-grid {
  border-radius: 1.65rem;
  background: #f8f4eb;
  box-shadow: 0 42px 110px rgba(18, 23, 36, 0.17), 0 8px 24px rgba(18, 23, 36, 0.07);
}

.hero-grid::after {
  left: 41%;
  z-index: 3;
  width: 3rem;
  opacity: 1;
  background: linear-gradient(90deg, transparent, rgba(11, 17, 34, 0.08), transparent);
}

.hero-editorial {
  position: relative;
  z-index: 2;
  height: auto !important;
  padding: clamp(2.5rem, 3.4vw, 3.6rem) !important;
  background:
    linear-gradient(rgba(154, 107, 45, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 107, 45, 0.035) 1px, transparent 1px),
    radial-gradient(32rem 26rem at -5% 0%, rgba(212, 175, 105, 0.16), transparent 70%),
    #fbf8f1;
  background-size: 4rem 4rem, 4rem 4rem, auto, auto;
}

.hero-editorial .section-eyebrow,
.hero-editorial .hero-accent,
.hero-editorial .hero-trust {
  color: #8f622d;
}

.hero-editorial .hero-title {
  color: #111318;
}

.hero-editorial .hero-body {
  color: #5c5a54;
}

.hero-editorial .hero-body p + p {
  color: #343532;
}

.hero-editorial .heading-accent--gold,
[data-theme="dark"] .hero-editorial .heading-accent--gold {
  color: #a06a28;
}

.hero-editorial .heading-accent--blue,
[data-theme="dark"] .hero-editorial .heading-accent--blue {
  color: #31578b;
}

.hero-editorial .hero-actions .btn-primary {
  border-color: #111318;
  background: #111318;
  color: #fffaf0;
}

.hero-editorial .hero-actions .btn-ghost {
  border-color: rgba(17, 19, 24, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: #17191e;
}

.hero-editorial .hero-actions .btn-ghost:hover {
  border-color: rgba(17, 19, 24, 0.32);
  background: #fff;
}

.hero-editorial::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3.5rem;
  width: 3.75rem;
  height: 1px;
  background: rgba(154, 107, 45, 0.42);
}

.hero-copy-stack { max-width: 35rem; }
.hero-title {
  max-width: 36rem;
  margin-top: 1.7rem;
  overflow-wrap: normal;
  font-family: "Manrope", "Sora", sans-serif;
  font-size: clamp(2.9rem, 3.25vw, 3.3rem);
  font-weight: 700;
  font-optical-sizing: auto;
  line-height: 1.045;
  letter-spacing: -0.022em;
  text-wrap: wrap;
  word-break: keep-all;
  hyphens: none;
}
.hero-accent {
  max-width: 31rem;
  margin-top: 1.4rem !important;
  font-size: clamp(1.22rem, 1.5vw, 1.45rem);
}
.hero-body {
  max-width: 32rem;
  margin-top: 1.55rem !important;
  font-size: 0.88rem;
  line-height: 1.68;
}
.hero-body p + p { margin-top: 1rem; }
.hero-trust { margin-top: 1.45rem !important; padding: 0.58rem 0.85rem !important; font-size: 0.66rem; }
.hero-actions { margin-top: 1.7rem !important; }

.hero-showcase {
  min-height: 100%;
  padding: clamp(1.6rem, 2.3vw, 2.25rem) !important;
  background:
    radial-gradient(48rem 34rem at 70% -10%, rgba(112, 142, 201, 0.17), transparent 64%),
    radial-gradient(32rem 25rem at 0% 100%, rgba(194, 151, 83, 0.1), transparent 66%),
    linear-gradient(150deg, #111a31 0%, #0a1123 62%, #0b0e1c 100%);
}

.hero-panel-kicker { display: flex; align-items: center; gap: 0.8rem; }
.hero-panel-kicker::after {
  content: "";
  width: 2.8rem;
  height: 1px;
  background: rgba(218, 187, 132, 0.55);
}

.product-browser {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: 1.5rem !important;
  padding: 0.85rem !important;
  border-radius: 1rem;
  background: rgba(3, 8, 20, 0.42);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.31), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.product-browser-bar {
  height: 1.9rem;
  margin-bottom: 0.65rem !important;
  border: 0;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.055);
}
.product-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.35rem !important;
  padding: 0.25rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
}
.product-tab {
  min-height: 3.55rem;
  border-color: transparent;
  border-radius: 0.55rem;
  background: transparent;
  padding: 0.65rem 0.7rem;
  box-shadow: none;
}
.product-tab:hover,
.product-tab:focus-visible { transform: none; background: rgba(255, 255, 255, 0.065); }
.product-tab.is-active {
  border-color: rgba(222, 190, 132, 0.3);
  background: linear-gradient(180deg, rgba(222, 190, 132, 0.14), rgba(255, 255, 255, 0.055));
}
.product-tab-label { font-size: 0.54rem; }
.product-tab-value { margin-top: 0.35rem; font-size: 0.69rem; line-height: 1.25; white-space: normal; }
.product-preview-shell {
  flex: 1;
  min-height: 14rem;
  margin-top: 0.65rem !important;
  border-radius: 0.75rem;
  background: #10182b;
}

.preview-site {
  grid-template-rows: auto minmax(0, 1fr) 4rem;
  padding: 0.8rem;
  border-radius: 0.7rem;
  background: #f2eee5;
}
.preview-nav { justify-content: flex-end; }
.preview-site .preview-nav span { width: 2.3rem; height: 0.25rem; background: rgba(19, 24, 35, 0.18); }
.preview-site .preview-nav .preview-brand {
  width: 1.4rem;
  height: 0.55rem;
  margin-right: auto;
  border-radius: 0.15rem;
  background: #151c2b;
}
.preview-hero { align-items: stretch; min-height: 0; overflow: hidden; padding: 1rem; background: #151d31; }
.preview-site-copy { display: flex; width: 54%; flex-direction: column; justify-content: center; }
.preview-site-copy span { display: block; border-radius: 999px; }
.preview-overline { width: 2.8rem; height: 0.24rem; margin-bottom: 0.8rem; background: #c5a46e; }
.preview-heading { width: 100%; height: 0.62rem; margin-bottom: 0.42rem; background: rgba(255, 255, 255, 0.88); }
.preview-heading-short { width: 72%; }
.preview-copy { width: 82%; height: 0.28rem; margin-top: 0.55rem; background: rgba(255, 255, 255, 0.26); }
.preview-product-art {
  position: relative;
  width: 38%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.55rem;
  background: linear-gradient(145deg, rgba(213, 184, 132, 0.42), rgba(79, 103, 147, 0.14));
}
.preview-product-art span { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.preview-product-art span:nth-child(1) { inset: 18% 20% 34%; border-radius: 0.5rem; }
.preview-product-art span:nth-child(2) { right: 11%; bottom: 12%; width: 2.2rem; height: 2.2rem; }
.preview-product-art span:nth-child(3) { left: 10%; bottom: 12%; width: 1.2rem; height: 1.2rem; background: #c5a46e; }
.preview-card-row span { position: relative; height: 100%; border-radius: 0.45rem; background: #ddd7cb; }
.preview-card-row i,
.preview-dashboard-row i {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.55rem;
  height: 0.23rem;
  border-radius: 999px;
  background: rgba(19, 24, 35, 0.2);
}

.preview-app { grid-template-columns: minmax(8rem, 0.72fr) minmax(0, 1.28fr); gap: 1rem; padding: 0.5rem 1.4rem; }
.preview-phone {
  grid-template-rows: auto 1.15fr 0.65fr 0.65fr auto;
  border-radius: 1.25rem;
  background: #edf0f5;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}
.preview-app-hero,
.preview-order-card,
.preview-confirm { position: relative; background: #d8deea; }
.preview-app-hero { border-radius: 0.7rem; background: linear-gradient(145deg, #253654, #8c7757); }
.preview-order-card i,
.preview-confirm i,
.preview-status-list > span i {
  position: absolute;
  left: 0.55rem;
  top: 50%;
  width: 54%;
  height: 0.24rem;
  border-radius: 999px;
  background: rgba(20, 28, 45, 0.18);
  transform: translateY(-50%);
}
.preview-confirm { height: 1.45rem; background: #b89a66; }
.preview-status-list { display: grid; grid-template-rows: auto repeat(3, 1fr); gap: 0.6rem; }
.preview-status-head,
.preview-status-list > span { position: relative; border-radius: 0.55rem; background: rgba(255, 255, 255, 0.08); }
.preview-status-head span { position: absolute; left: 0.7rem; top: 50%; width: 42%; height: 0.3rem; border-radius: 999px; background: rgba(255, 255, 255, 0.42); }
.preview-status-head i { position: absolute; right: 0.7rem; top: 50%; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #b89a66; transform: translateY(-50%); }

.preview-dashboard { grid-template-rows: 4.1rem minmax(0, 1fr) 3.6rem; }
.preview-kpis span { display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 0.55rem; background: rgba(255, 255, 255, 0.055); }
.preview-chart { display: flex; min-height: 0; flex-direction: column; padding: 0.8rem; }
.preview-chart-head { display: flex; justify-content: space-between; }
.preview-chart-head span,
.preview-chart-head i { width: 4rem; height: 0.3rem; border-radius: 999px; background: rgba(255, 255, 255, 0.24); }
.preview-chart-head i { width: 1.8rem; background: rgba(197, 164, 110, 0.7); }
.preview-bars { display: flex; flex: 1; align-items: end; gap: 5%; padding-top: 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.preview-bars i { width: 8%; height: 28%; border-radius: 0.2rem 0.2rem 0 0; background: linear-gradient(180deg, #c8aa76, rgba(106, 134, 184, 0.3)); }
.preview-bars i:nth-child(2) { height: 44%; }
.preview-bars i:nth-child(3) { height: 37%; }
.preview-bars i:nth-child(4) { height: 66%; }
.preview-bars i:nth-child(5) { height: 54%; }
.preview-bars i:nth-child(6) { height: 76%; }
.preview-bars i:nth-child(7) { height: 61%; }
.preview-bars i:nth-child(8) { height: 88%; }
.preview-dashboard-row span { position: relative; height: 100%; border-radius: 0.5rem; }

.preview-crm-body { display: grid; min-height: 0; grid-template-columns: 1.35fr 0.65fr; gap: 0.75rem; }
.preview-customer-rows { display: grid; gap: 0.45rem; }
.preview-customer-rows span { position: relative; height: auto; border-radius: 0.5rem; }
.preview-customer-rows i,
.preview-customer-rows b { position: absolute; top: 50%; height: 0.3rem; border-radius: 999px; background: rgba(255, 255, 255, 0.2); transform: translateY(-50%); }
.preview-customer-rows i { left: 0.7rem; width: 42%; }
.preview-customer-rows b { right: 0.7rem; width: 15%; background: rgba(197, 164, 110, 0.62); }
.preview-activity { position: relative; border-radius: 0.55rem; background: rgba(255, 255, 255, 0.05); }
.preview-activity span,
.preview-activity i { position: absolute; left: 1rem; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: rgba(255, 255, 255, 0.3); }
.preview-activity span { top: 1rem; background: #c5a46e; }
.preview-activity i:nth-child(2) { top: 2.5rem; }
.preview-activity i:nth-child(3) { top: 4rem; }
.preview-activity i:nth-child(4) { top: 5.5rem; }

.panel-feature-grid {
  flex: 0 0 auto !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(2, minmax(3.65rem, auto)) !important;
  gap: 0.55rem !important;
  margin-top: 0.75rem !important;
}
.hero-showcase .panel-feature-item { min-height: 3.65rem; border-radius: 0.65rem !important; padding: 0.6rem !important; background: rgba(255, 255, 255, 0.035); }
.hero-showcase .panel-feature-item p:last-child { display: none; }
.hero-showcase .panel-feature-icon { width: 1.65rem; height: 1.65rem; border-radius: 0.45rem; }
.hero-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.75rem !important; padding-top: 0.75rem !important; }
.hero-panel-foot > p { max-width: 25rem; }
.hero-tags { flex-wrap: nowrap !important; margin-top: 0 !important; }

@media (max-width: 1099px) {
  .hero-title {
    max-width: 38rem;
    font-size: clamp(2.7rem, 5.5vw, 3.5rem);
    line-height: 1.05;
  }
  .product-preview-shell { min-height: 16rem; }
}

@media (max-width: 760px) {
  .hero-grid { border-radius: 1.15rem; }
  .hero-grid::after,
  .hero-editorial::after { display: none; }
  .hero-editorial,
  .hero-showcase { padding: 1.35rem !important; }
  .hero-title {
    max-width: 29rem;
    margin-top: 1.35rem;
    font-size: clamp(2.2rem, 9.8vw, 2.85rem);
    line-height: 1.075;
    letter-spacing: -0.018em;
  }
  .product-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .product-preview-shell { min-height: 14rem; }
  .panel-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-template-rows: none !important; }
  .hero-panel-foot { align-items: flex-start; flex-direction: column; }
  .hero-tags { flex-wrap: wrap !important; }
}

@media (max-width: 480px) {
  .preview-app { grid-template-columns: 6.4rem minmax(0, 1fr); padding-inline: 0.25rem; }
  .preview-crm-body { grid-template-columns: minmax(0, 1fr); }
  .preview-activity { display: none; }
  .hero-showcase .panel-feature-item { min-height: 3.8rem; }
}

/* Hero product previews: real content, not placeholder skeletons. */
.preview-project,
.preview-order,
.preview-ops,
.preview-pipeline-board {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  color: #f8f4eb;
}

.preview-project {
  grid-template-rows: minmax(0, 1fr) 3.5rem;
  overflow: hidden;
  border-radius: 0.65rem;
  background: #f5f1e8;
  color: #111827;
  text-decoration: none;
}

.preview-project-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #e8e2d7;
}

.preview-project-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(7, 12, 25, 0.42));
}

.preview-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 500ms var(--ease-out-expo);
}

.preview-project:hover .preview-project-media img {
  transform: scale(1.025);
}

.preview-project-badge {
  position: absolute;
  left: 0.7rem;
  bottom: 0.65rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(8, 14, 28, 0.72);
  padding: 0.35rem 0.58rem;
  color: #fff;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.preview-project-badge::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #d3ae6f;
  box-shadow: 0 0 0 3px rgba(211, 174, 111, 0.16);
}

.preview-project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.8rem;
}

.preview-project-meta > span:first-child {
  display: grid;
  min-width: 0;
  gap: 0.14rem;
}

.preview-project-meta small {
  overflow: hidden;
  color: #756d61;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.preview-project-meta strong {
  overflow: hidden;
  font-size: 0.77rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-project-arrow {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 50%;
  font-size: 0.9rem;
  transition: transform 180ms ease, background-color 180ms ease;
}

.preview-project:hover .preview-project-arrow {
  transform: translate(1px, -1px);
  background: #e3d4b8;
}

.preview-order {
  grid-template-columns: minmax(7.5rem, 0.72fr) minmax(0, 1.28fr);
  gap: 0.85rem;
  padding: 0.2rem 0.8rem;
}

.preview-order-phone {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: #f3f0e9;
  padding: 0.7rem;
  color: #151c2b;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
}

.preview-order-phone-head,
.preview-order-total,
.preview-order-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.preview-order-phone-head > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.38rem;
  background: #151c2b;
  color: #d7b678;
  font-size: 0.55rem;
  font-weight: 800;
}

.preview-order-phone-head small,
.preview-order-product small,
.preview-order-total small {
  color: #7a7368;
  font-size: 0.52rem;
}

.preview-order-product {
  justify-content: flex-start;
  border-top: 1px solid rgba(21, 28, 43, 0.1);
  border-bottom: 1px solid rgba(21, 28, 43, 0.1);
  padding-block: 0.65rem;
}

.preview-order-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  border-radius: 0.5rem;
  background: linear-gradient(145deg, #b99964, #2b3650);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.55rem;
}

.preview-order-product > span:last-child {
  display: grid;
  gap: 0.18rem;
}

.preview-order-product strong,
.preview-order-total strong {
  font-size: 0.68rem;
}

.preview-order-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.65rem;
  border-radius: 0.42rem;
  background: #151c2b;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
}

.preview-order-flow {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.preview-order-flow > p,
.preview-ops-chart > p,
.preview-pipeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  font-size: 0.62rem;
  font-weight: 700;
}

.preview-order-flow > p strong,
.preview-ops-chart > p strong {
  border-radius: 999px;
  background: rgba(211, 174, 111, 0.14);
  padding: 0.25rem 0.45rem;
  color: #d7b678;
  font-size: 0.5rem;
  text-transform: uppercase;
}

.preview-order-flow ol {
  display: grid;
  gap: 0.38rem;
}

.preview-order-flow li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.48rem 0.55rem;
}

.preview-order-flow li > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.5rem;
  font-style: normal;
}

.preview-order-flow li.is-complete > i,
.preview-order-flow li.is-active > i {
  border-color: rgba(211, 174, 111, 0.42);
  background: #b79258;
  color: #10182b;
}

.preview-order-flow li.is-active {
  border-color: rgba(211, 174, 111, 0.28);
  background: rgba(211, 174, 111, 0.08);
}

.preview-order-flow li > span {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.preview-order-flow li strong { font-size: 0.57rem; }
.preview-order-flow li small { color: rgba(255, 255, 255, 0.48); font-size: 0.48rem; white-space: nowrap; }

.preview-ops {
  grid-template-rows: 3.6rem minmax(0, 1fr);
  gap: 0.65rem;
}

.preview-ops-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.preview-ops-kpis > span {
  position: relative;
  display: grid;
  align-content: center;
  gap: 0.1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.45rem 0.55rem;
}

.preview-ops-kpis small { color: rgba(255, 255, 255, 0.52); font-size: 0.47rem; text-transform: uppercase; }
.preview-ops-kpis strong { font-size: 0.75rem; }
.preview-ops-kpis i { position: absolute; right: 0.45rem; bottom: 0.42rem; color: #d7b678; font-size: 0.46rem; font-style: normal; }

.preview-ops-body {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1.55fr) minmax(7rem, 0.65fr);
  gap: 0.55rem;
}

.preview-ops-chart,
.preview-ops-feed {
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.035);
  padding: 0.6rem;
}

.preview-ops-bars {
  display: flex;
  height: calc(100% - 1.6rem);
  min-height: 4.8rem;
  align-items: end;
  gap: 6%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-ops-bars > span {
  position: relative;
  width: 8%;
  height: var(--bar);
  border-radius: 0.2rem 0.2rem 0 0;
  background: linear-gradient(180deg, #d2b176, #546c99);
}

.preview-ops-bars i {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.28rem);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.4rem;
  font-style: normal;
  transform: translateX(-50%);
}

.preview-ops-feed > p {
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-ops-feed > span {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.42rem;
  padding-block: 0.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-ops-feed i {
  grid-row: 1 / 3;
  align-self: center;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #caa86f;
}

.preview-ops-feed strong { font-size: 0.52rem; }
.preview-ops-feed small { color: #d7b678; font-size: 0.48rem; }

.preview-pipeline-board {
  grid-template-rows: auto minmax(0, 1fr);
}

.preview-pipeline-head strong {
  color: #d7b678;
  font-size: 0.5rem;
}

.preview-pipeline-columns {
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.preview-pipeline-columns section {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.035);
  padding: 0.5rem;
}

.preview-pipeline-columns section > p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.42rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.preview-pipeline-columns section > p i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: rgba(211, 174, 111, 0.12);
  color: #d7b678;
  font-size: 0.48rem;
  font-style: normal;
}

.preview-pipeline-columns article {
  display: grid;
  gap: 0.16rem;
  margin-top: 0.35rem;
  border-left: 2px solid rgba(211, 174, 111, 0.58);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.055);
  padding: 0.48rem;
}

.preview-pipeline-columns article strong { overflow: hidden; font-size: 0.52rem; text-overflow: ellipsis; white-space: nowrap; }
.preview-pipeline-columns article small { overflow: hidden; color: rgba(255, 255, 255, 0.48); font-size: 0.45rem; text-overflow: ellipsis; white-space: nowrap; }
.preview-pipeline-columns article b { margin-top: 0.22rem; color: #d7b678; font-size: 0.5rem; }

@media (max-width: 760px) {
  .product-preview-shell { min-height: 18rem; }
  .preview-order { grid-template-columns: minmax(6.8rem, 0.8fr) minmax(0, 1.2fr); padding-inline: 0; }
  .preview-ops-body { grid-template-columns: minmax(0, 1fr); }
  .preview-ops-feed { display: none; }
}

@media (max-width: 420px) {
  .product-preview { padding: 0.65rem; }
  .preview-order { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0.55rem; }
  .preview-order-phone { padding: 0.55rem; }
  .preview-order-flow li { padding-inline: 0.4rem; }
  .preview-order-flow li small { display: none; }
  .preview-pipeline-columns { gap: 0.3rem; }
  .preview-pipeline-columns section { padding: 0.38rem; }
  .preview-pipeline-columns article { padding: 0.38rem; }
}
