/* ==========================================================================
   Praxivara — Marketing component layer (additive, namespaced `mk-`)
   --------------------------------------------------------------------------
   Plain, production-grade CSS that does NOT depend on the purged Tailwind
   build. Every class renders on its own using the platform design tokens
   (indigo brand, Inter, elev/glow vocabulary) so marketing pages stay
   premium and cohesive in LIGHT MODE regardless of which Tailwind utilities
   survived purge.

   Tokens consumed (defined in app.css :root):
     --brand 243 75% 59%   --brand-2 271 76% 53%   --brand-soft
     --foreground --muted-foreground --background --card --muted --border
   Use hsl(var(--token) / alpha) everywhere so these compose with the app.

   Conventions:
     * All public classes are prefixed `mk-`.
     * Cards use a 1px hairline border + soft inner highlight + brand-aware
       hover, matching app.css `.elev-1` / `.mk-subtle-card` feel.
     * Radii echo the app: 0.75rem (xl), 1rem (2xl), 1.5rem (3xl).
     * Transitions are short (.15–.25s) and respect reduced motion.
   ========================================================================== */


/* --------------------------------------------------------------------------
   0. Marketing scope — retire the legacy purple, set a refined indigo-only
      accent, and add a couple of utilities the purged build dropped.
      `.mk-scope` wraps every marketing page (see _marketing.html), so this
      overrides --brand-2 ONLY on marketing — the app/chat keep their tokens.
   -------------------------------------------------------------------------- */
.mk-scope {
  /* No purple anywhere on the marketing site — gradients resolve to a clean,
     slightly cooler indigo so they read as depth, never as violet. */
  --brand-2: 232 82% 57%;
}
/* Balanced heading wrap (Tailwind's text-balance wasn't in the purged build). */
.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }


/* --------------------------------------------------------------------------
   1. Section scaffolding — eyebrows, dividers, decorative backgrounds
   -------------------------------------------------------------------------- */

/* Small uppercase label that sits above a section heading. Pairs with an
   optional leading icon/dot. Indigo, tracked-out, premium. */
.mk-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: hsl(var(--brand));
}
.mk-section-eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(var(--brand) / 0.7));
}
/* Centered variant: rule on both sides. */
.mk-section-eyebrow.mk-center { justify-content: center; }
.mk-section-eyebrow.mk-center::after {
  content: "";
  width: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, hsl(var(--brand) / 0.7), transparent);
}

/* Thin brand-tinted horizontal divider that fades at both ends. Use between
   sections or inside cards. Set its own margins via utilities. */
.mk-gradient-divider {
  height: 1px;
  width: 100%;
  border: 0;
  background: linear-gradient(90deg,
    transparent,
    hsl(var(--border)) 18%,
    hsl(var(--brand) / 0.35) 50%,
    hsl(var(--border)) 82%,
    transparent);
}

/* Faint dotted/grid backdrop for hero or feature bands. Apply to an
   aria-hidden absolutely-positioned layer (inset-0). Masks to fade edges. */
.mk-grid-bg {
  background-image:
    linear-gradient(hsl(var(--foreground) / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--foreground) / 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 35%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 35%, transparent 80%);
}
/* Dot-matrix variant (softer than the line grid). */
.mk-dot-bg {
  background-image: radial-gradient(hsl(var(--foreground) / 0.07) 1px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 30%, transparent 78%);
}

/* Big soft radial brand glow. Drop into an aria-hidden absolute element and
   size/position it with inline style or utilities. */
.mk-hero-glow {
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 50%,
    hsl(var(--brand) / 0.30) 0%,
    hsl(var(--brand-2) / 0.16) 38%,
    transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
/* Aurora-style two-tone blob for richer hero corners. */
.mk-aurora {
  background:
    radial-gradient(40% 50% at 25% 30%, hsl(var(--brand) / 0.28), transparent 70%),
    radial-gradient(45% 55% at 80% 25%, hsl(var(--brand-2) / 0.24), transparent 70%);
  filter: blur(36px);
  pointer-events: none;
}


/* --------------------------------------------------------------------------
   2. Badges, pills & capability tags
   -------------------------------------------------------------------------- */

/* Hero/section status badge — frosted brand chip. Use for "AI business
   operating system", "New", "Confirmation-gated", etc. */
.mk-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  color: hsl(var(--brand));
  background: hsl(var(--brand) / 0.08);
  border: 1px solid hsl(var(--brand) / 0.22);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.mk-badge svg { width: 0.9rem; height: 0.9rem; }
/* Live-dot variant — green pulse + neutral text, for "Live" / "Active". */
.mk-badge-live {
  color: hsl(var(--foreground));
  background: hsl(var(--card) / 0.8);
  border-color: hsl(var(--border));
}
.mk-badge-live::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: hsl(160 84% 39%);
  box-shadow: 0 0 0 0 hsl(160 84% 39% / 0.5);
  animation: mkPulse 2s ease-in-out infinite;
}
@keyframes mkPulse {
  0%, 100% { box-shadow: 0 0 0 0 hsl(160 84% 39% / 0.5); }
  50%      { box-shadow: 0 0 0 5px hsl(160 84% 39% / 0); }
}

/* Capability tag — neutral pill for tag clouds (29 integrations / ~850
   actions, channels, file types). Pairs with .mk-tag-row wrapper. */
.mk-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  color: hsl(var(--foreground));
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.7);
  box-shadow: 0 1px 2px hsl(var(--foreground) / 0.03);
  transition: border-color .15s ease, background .15s ease, transform .15s ease, color .15s ease;
}
.mk-tag svg { width: 0.95rem; height: 0.95rem; color: hsl(var(--muted-foreground)); transition: color .15s ease; }
.mk-tag:hover {
  border-color: hsl(var(--brand) / 0.4);
  background: hsl(var(--brand) / 0.04);
  transform: translateY(-1px);
}
.mk-tag:hover svg { color: hsl(var(--brand)); }
/* Brand-filled tag for emphasis within a row. */
.mk-tag-brand {
  color: hsl(var(--brand));
  background: hsl(var(--brand) / 0.08);
  border-color: hsl(var(--brand) / 0.22);
}
.mk-tag-brand svg { color: hsl(var(--brand)); }
/* Leading colored dot inside a tag (status / channel coding). */
.mk-tag-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: hsl(var(--brand));
  flex: none;
}

/* Wrapping, centered flex container for tag clouds. */
.mk-tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.mk-tag-row.mk-start { justify-content: flex-start; }


/* --------------------------------------------------------------------------
   3. Cards — glass, feature, spotlight, bento
   -------------------------------------------------------------------------- */

/* Frosted glass surface. Premium translucent card for floating UI mockups,
   overlays, and accent panels. Works on tinted/mesh backgrounds. */
.mk-glass {
  background: hsl(var(--card) / 0.72);
  border: 1px solid hsl(0 0% 100% / 0.6);
  border-radius: 1rem;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow:
    0 1px 0 hsl(0 0% 100% / 0.6) inset,
    0 12px 40px -12px hsl(var(--foreground) / 0.18),
    0 0 0 1px hsl(var(--border) / 0.5);
}

/* Primary feature card. Hairline border, soft top highlight, brand hover
   lift. The workhorse for bento/feature grids. */
.mk-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.7);
  box-shadow:
    inset 0 1px 0 hsl(0 0% 100% / 0.5),
    0 1px 2px hsl(var(--foreground) / 0.035);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mk-feature-card:hover {
  border-color: hsl(var(--brand) / 0.35);
  box-shadow:
    inset 0 1px 0 hsl(0 0% 100% / 0.5),
    0 16px 36px -16px hsl(var(--brand) / 0.28),
    0 0 0 1px hsl(var(--brand) / 0.12);
  transform: translateY(-2px);
}
/* When the whole card is a link, keep the cursor + remove underline. */
a.mk-feature-card { text-decoration: none; color: inherit; }

/* Icon tile used inside feature cards / steps. Brand-soft well with a tinted
   border and inner highlight — matches the app's `bg-brand/10 text-brand`. */
.mk-icon-tile {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  color: hsl(var(--brand));
  background: hsl(var(--brand) / 0.1);
  border: 1px solid hsl(var(--brand) / 0.18);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.4);
  flex: none;
  transition: transform .2s ease;
}
.mk-feature-card:hover .mk-icon-tile { transform: scale(1.05); }
.mk-icon-tile svg { width: 1.35rem; height: 1.35rem; }
.mk-icon-tile.mk-sm { width: 2.25rem; height: 2.25rem; border-radius: 0.625rem; }
.mk-icon-tile.mk-sm svg { width: 1.1rem; height: 1.1rem; }
.mk-icon-tile.mk-lg { width: 3.25rem; height: 3.25rem; border-radius: 0.875rem; }

/* Spotlight card — premium dark/brand surface for a single hero feature or
   the lead bento cell. White text; use sparingly. */
.mk-spotlight {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  color: #fff;
  background:
    radial-gradient(120% 120% at 100% 0%, hsl(var(--brand-2) / 0.55), transparent 55%),
    linear-gradient(135deg, hsl(243 60% 16%) 0%, hsl(240 25% 9%) 100%);
  border: 1px solid hsl(var(--brand) / 0.3);
  box-shadow: 0 24px 60px -24px hsl(var(--brand) / 0.5);
}
.mk-spotlight .mk-icon-tile {
  color: #fff;
  background: hsl(0 0% 100% / 0.12);
  border-color: hsl(0 0% 100% / 0.2);
}

/* Bento grid + cells. The grid auto-flows; cells are feature cards that can
   span via .mk-bento-wide / .mk-bento-tall. Single column on small screens. */
.mk-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.mk-bento-cell {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.7);
  box-shadow:
    inset 0 1px 0 hsl(0 0% 100% / 0.5),
    0 1px 2px hsl(var(--foreground) / 0.035);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mk-bento-cell:hover {
  border-color: hsl(var(--brand) / 0.35);
  box-shadow:
    inset 0 1px 0 hsl(0 0% 100% / 0.5),
    0 16px 36px -16px hsl(var(--brand) / 0.26);
  transform: translateY(-2px);
}
.mk-bento-wide { grid-column: span 2; }
.mk-bento-tall { grid-row: span 2; }
@media (max-width: 1023px) {
  .mk-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-bento-tall { grid-row: auto; }
}
@media (max-width: 639px) {
  .mk-bento { grid-template-columns: minmax(0, 1fr); }
  .mk-bento-wide { grid-column: auto; }
}


/* --------------------------------------------------------------------------
   4. Stat band
   -------------------------------------------------------------------------- */

/* Single stat block — big gradient number + label. Compose several inside a
   grid (e.g. grid-cols-2 md:grid-cols-4) with hairline dividers. */
.mk-stat { text-align: center; padding: 0.5rem 0.5rem; }
.mk-stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(115deg, hsl(var(--brand)) 0%, hsl(var(--brand-2)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mk-stat-label {
  margin-top: 0.5rem;
  font-size: 13.5px;
  line-height: 1.4;
  color: hsl(var(--muted-foreground));
}

/* Optional framed band wrapper for a row of stats (hairline + subtle fill). */
.mk-stat-band {
  border: 1px solid hsl(var(--border) / 0.7);
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, hsl(var(--card)), hsl(var(--muted) / 0.4)),
    hsl(var(--card));
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.5), 0 1px 2px hsl(var(--foreground) / 0.035);
}
/* Vertical hairline between stat cells (apply to cells after the first). */
.mk-stat-divider { border-left: 1px solid hsl(var(--border) / 0.7); }
@media (max-width: 767px) { .mk-stat-divider { border-left: 0; } }


/* --------------------------------------------------------------------------
   5. Steps (numbered "how it works")
   -------------------------------------------------------------------------- */

.mk-step {
  position: relative;
  border-radius: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.7);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.5), 0 1px 2px hsl(var(--foreground) / 0.035);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.mk-step:hover { border-color: hsl(var(--brand) / 0.3); }
/* Big ghosted step numeral — place top-right of the card. */
.mk-step-num {
  font-size: 2.25rem;
  font-weight: 650;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: hsl(var(--brand) / 0.22);
}
/* Connector arrow/line between steps in a row (decorative). */
.mk-step-connector {
  position: absolute;
  top: 2.4rem;
  right: -0.65rem;
  width: 1.3rem;
  height: 1px;
  background: linear-gradient(90deg, hsl(var(--brand) / 0.5), transparent);
  z-index: 1;
}
@media (max-width: 767px) { .mk-step-connector { display: none; } }


/* --------------------------------------------------------------------------
   6. Marquee / logo row (auto-scrolling integration strip)
   -------------------------------------------------------------------------- */

/* Container masks the overflow and fades both edges. Put one or two
   .mk-marquee-track children inside (duplicate the content for a seamless
   loop). Hover pauses. Falls back to a static row if motion is reduced. */
.mk-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mk-marquee-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  animation: mkMarquee 40s linear infinite;
}
.mk-marquee:hover .mk-marquee-track { animation-play-state: paused; }
.mk-marquee-track.mk-reverse { animation-direction: reverse; }
@keyframes mkMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .mk-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
}

/* A single logo chip inside the marquee or a static logo row. */
.mk-logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.95rem;
  border-radius: 0.85rem;
  white-space: nowrap;
  color: hsl(var(--foreground));
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.7);
  box-shadow: 0 1px 2px hsl(var(--foreground) / 0.03);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mk-logo-chip:hover { border-color: hsl(var(--brand) / 0.35); }
.mk-logo-chip img { width: 1.25rem; height: 1.25rem; object-fit: contain; flex: none; }
.mk-logo-chip span { font-size: 13.5px; font-weight: 500; }


/* --------------------------------------------------------------------------
   7. Product-UI mockup primitives (chat, approval card, model picker)
   -------------------------------------------------------------------------- */

/* Browser/app chrome shell to frame a product mockup. Header dots + body. */
.mk-window {
  border-radius: 1rem;
  overflow: hidden;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.7);
  box-shadow:
    inset 0 1px 0 hsl(0 0% 100% / 0.5),
    0 30px 70px -30px hsl(var(--foreground) / 0.25),
    0 0 0 1px hsl(var(--border) / 0.4);
}
.mk-window-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid hsl(var(--border) / 0.7);
  background: hsl(var(--muted) / 0.4);
}
.mk-window-dot { width: 0.6rem; height: 0.6rem; border-radius: 9999px; background: hsl(var(--border)); }
.mk-window-title {
  margin-left: 0.4rem;
  font-size: 12px;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

/* Chat bubbles. User = brand gradient, right-aligned; assistant = neutral,
   left-aligned with a soft tail. */
.mk-bubble {
  max-width: 86%;
  padding: 0.7rem 0.95rem;
  font-size: 14px;
  line-height: 1.55;
  border-radius: 1rem;
}
.mk-bubble-user {
  margin-left: auto;
  color: #fff;
  background: linear-gradient(118deg, hsl(243 72% 56%) 0%, hsl(232 80% 52%) 100%);
  border-bottom-right-radius: 0.35rem;
  box-shadow: 0 6px 18px -8px hsl(var(--brand) / 0.5);
}
.mk-bubble-ai {
  margin-right: auto;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border) / 0.7);
  border-bottom-left-radius: 0.35rem;
}
/* Small assistant avatar that precedes an AI bubble. */
.mk-chat-avatar {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.625rem;
  flex: none;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.7);
  box-shadow: 0 1px 2px hsl(var(--foreground) / 0.04);
}
.mk-chat-avatar img { width: 1.05rem; height: 1.05rem; }

/* Approval / confirmation card — the signature "you approve sensitive
   actions" UI. Brand-tinted header strip, body rows, Approve/Decline row. */
.mk-approval {
  border-radius: 0.85rem;
  overflow: hidden;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--brand) / 0.28);
  box-shadow: 0 10px 30px -14px hsl(var(--brand) / 0.35);
}
.mk-approval-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.85rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: hsl(var(--brand));
  background: hsl(var(--brand) / 0.08);
  border-bottom: 1px solid hsl(var(--brand) / 0.18);
}
.mk-approval-head svg { width: 0.95rem; height: 0.95rem; }
.mk-approval-body { padding: 0.85rem; }
/* A labeled field row inside the approval card (To / Subject / Amount …). */
.mk-field {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  font-size: 13px;
}
.mk-field + .mk-field { border-top: 1px solid hsl(var(--border) / 0.6); }
.mk-field-label { color: hsl(var(--muted-foreground)); flex: none; }
.mk-field-value { color: hsl(var(--foreground)); font-weight: 500; text-align: right; }
/* Action row at the bottom of the approval card. */
.mk-approval-actions {
  display: flex;
  gap: 0.6rem;
  padding: 0.75rem 0.85rem;
  border-top: 1px solid hsl(var(--border) / 0.7);
  background: hsl(var(--muted) / 0.3);
}
.mk-btn-approve {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 2.25rem;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(118deg, hsl(243 72% 56%) 0%, hsl(232 80% 52%) 100%);
  box-shadow: 0 6px 16px -8px hsl(var(--brand) / 0.5);
}
.mk-btn-approve svg { stroke: #fff; }
.mk-btn-decline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  padding: 0 1.1rem;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: hsl(var(--foreground));
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
}

/* Generated-file / artifact card (PDF, Word, PPTX, Excel, image, dashboard). */
.mk-file-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.7);
  box-shadow: 0 1px 2px hsl(var(--foreground) / 0.035);
  transition: border-color .15s ease, transform .15s ease;
}
.mk-file-card:hover { border-color: hsl(var(--brand) / 0.35); transform: translateY(-1px); }
.mk-file-badge {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  flex: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}
/* File-type color coding (white glyph/label on a saturated well). */
.mk-file-pdf  { background: linear-gradient(135deg, hsl(0 72% 55%),   hsl(0 72% 45%)); }
.mk-file-doc  { background: linear-gradient(135deg, hsl(213 80% 52%), hsl(213 80% 42%)); }
.mk-file-xls  { background: linear-gradient(135deg, hsl(154 60% 42%), hsl(154 60% 32%)); }
.mk-file-ppt  { background: linear-gradient(135deg, hsl(20 85% 55%),  hsl(20 85% 45%)); }
.mk-file-img  { background: linear-gradient(135deg, hsl(330 74% 56%), hsl(345 74% 50%)); }
.mk-file-csv  { background: linear-gradient(135deg, hsl(190 70% 45%), hsl(190 70% 35%)); }

/* Model-picker row — a selectable model option with a tier dot. */
.mk-model-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.7);
  transition: border-color .15s ease, background .15s ease;
}
.mk-model-row:hover { border-color: hsl(var(--brand) / 0.4); background: hsl(var(--brand) / 0.03); }
.mk-model-row.mk-active { border-color: hsl(var(--brand) / 0.5); background: hsl(var(--brand) / 0.06); }
.mk-model-dot { width: 0.55rem; height: 0.55rem; border-radius: 9999px; flex: none; }
.mk-model-dot.mk-frontier { background: hsl(28 95% 55%); }
.mk-model-dot.mk-balanced { background: hsl(220 90% 56%); }
.mk-model-dot.mk-fast     { background: hsl(160 84% 45%); }

/* Typing indicator (three bouncing dots) for "AI is working" states. */
.mk-typing { display: inline-flex; align-items: center; gap: 4px; }
.mk-typing i {
  width: 5px; height: 5px; border-radius: 9999px;
  background: hsl(var(--muted-foreground));
  opacity: 0.4;
  animation: mkTyping 1.2s ease-in-out infinite;
}
.mk-typing i:nth-child(2) { animation-delay: 0.18s; }
.mk-typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes mkTyping {
  0%, 70%, 100% { opacity: 0.3; transform: translateY(0); }
  35%           { opacity: 1;   transform: translateY(-3px); }
}


/* --------------------------------------------------------------------------
   8. FAQ (accordion built on <details>)
   -------------------------------------------------------------------------- */

.mk-faq {
  border: 1px solid hsl(var(--border) / 0.7);
  border-radius: 0.85rem;
  background: hsl(var(--card));
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mk-faq + .mk-faq { margin-top: 0.6rem; }
.mk-faq[open] {
  border-color: hsl(var(--brand) / 0.3);
  box-shadow: 0 8px 24px -16px hsl(var(--brand) / 0.3);
}
.mk-faq > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-size: 15px;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.mk-faq > summary::-webkit-details-marker { display: none; }
/* Chevron — a CSS caret that rotates when open. */
.mk-faq > summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  flex: none;
  border-right: 2px solid hsl(var(--muted-foreground));
  border-bottom: 2px solid hsl(var(--muted-foreground));
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.mk-faq[open] > summary::after { transform: rotate(-135deg); }
.mk-faq > summary:hover { color: hsl(var(--brand)); }
.mk-faq-body {
  padding: 0 1.15rem 1.1rem;
  font-size: 14px;
  line-height: 1.65;
  color: hsl(var(--muted-foreground));
}


/* --------------------------------------------------------------------------
   9. Testimonial / quote card
   -------------------------------------------------------------------------- */

.mk-quote {
  position: relative;
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1.35rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.7);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.5), 0 1px 2px hsl(var(--foreground) / 0.035);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mk-quote:hover {
  border-color: hsl(var(--brand) / 0.3);
  box-shadow: 0 16px 36px -18px hsl(var(--brand) / 0.22);
  transform: translateY(-2px);
}
/* Decorative oversized quotation mark. */
.mk-quote::before {
  content: "\201C";
  position: absolute;
  top: 0.35rem;
  left: 1.1rem;
  font-size: 3.5rem;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  color: hsl(var(--brand) / 0.18);
  pointer-events: none;
}
.mk-quote-text {
  position: relative;
  font-size: 15.5px;
  line-height: 1.6;
  color: hsl(var(--foreground));
}
.mk-quote-foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.1rem;
}
.mk-avatar {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, hsl(var(--brand)), hsl(var(--brand-2)));
}
.mk-quote-name { font-size: 14px; font-weight: 600; color: hsl(var(--foreground)); line-height: 1.2; }
.mk-quote-role { font-size: 12.5px; color: hsl(var(--muted-foreground)); margin-top: 1px; }


/* --------------------------------------------------------------------------
   10. Misc — list checks, shine sweep, hover-lift, closing CTA panel
   -------------------------------------------------------------------------- */

/* Check-list item: a brand check coin + text. Use on <li>. */
.mk-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 15px;
  line-height: 1.5;
  color: hsl(var(--foreground));
}
.mk-check::before {
  content: "";
  flex: none;
  margin-top: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background:
    hsl(var(--brand) / 0.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 0.7rem no-repeat;
}

/* One-shot diagonal shine sweep on hover — apply to any positioned element
   with overflow hidden (cards, badges, CTA bands). */
.mk-shine { position: relative; overflow: hidden; }
.mk-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, hsl(0 0% 100% / 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.mk-shine:hover::after { transform: translateX(120%); }
@media (prefers-reduced-motion: reduce) {
  .mk-shine::after { transition: none; }
  .mk-shine:hover::after { transform: translateX(-120%); }
}

/* Generic interactive lift — for clickable rows/links not covered above. */
.mk-hover-lift { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.mk-hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px hsl(var(--foreground) / 0.18);
}

/* Closing CTA panel — dark indigo gradient band with stripe texture support.
   Put white text + buttons inside; works as the page's final call to action. */
.mk-cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, hsl(var(--brand-2) / 0.6), transparent 55%),
    linear-gradient(135deg, hsl(243 62% 18%) 0%, hsl(240 28% 8%) 100%);
  border: 1px solid hsl(var(--brand) / 0.3);
  box-shadow: 0 30px 80px -30px hsl(var(--brand) / 0.55);
}
/* White pill button for use inside dark panels (mk-cta-panel / mk-spotlight). */
.mk-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 3rem;
  padding: 0 1.6rem;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  color: hsl(var(--brand));
  background: #fff;
  transition: filter .15s ease, transform .15s ease;
}
.mk-btn-light:hover { filter: brightness(0.97); transform: translateY(-1px); }
.mk-btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 3rem;
  padding: 0 1.6rem;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: hsl(0 0% 100% / 0.06);
  border: 1px solid hsl(0 0% 100% / 0.35);
  transition: background .15s ease;
}
.mk-btn-ghost-light:hover { background: hsl(0 0% 100% / 0.14); }

/* Secondary button for light backgrounds — clean hairline pill (pairs with the
   app's dark `btn-cta` primary). Use across hero + section CTAs. */
.mk-btn-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 3rem;
  padding: 0 1.5rem;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  color: hsl(var(--foreground));
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.6), 0 1px 2px hsl(var(--foreground) / 0.04);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.mk-btn-2:hover { background: hsl(var(--muted) / 0.6); border-color: hsl(var(--brand) / 0.4); transform: translateY(-1px); }
.mk-btn-2 svg { width: 1rem; height: 1rem; }

/* Eyebrow — neutral uppercase kicker (cleaner alt to mk-section-eyebrow when
   you don't want the indigo rule). */
.mk-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  color: hsl(var(--brand));
}

/* Interactive tab switcher (Lindy-style use-case explorer). Wrap a group in
   [data-mk-tabs]; .mk-tab[data-mk-tab="x"] toggles .mk-tabpanel[data-mk-panel="x"]. */
.mk-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mk-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.7);
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.mk-tab:hover { color: hsl(var(--foreground)); border-color: hsl(var(--brand) / 0.45); }
.mk-tab.active {
  color: hsl(var(--background));
  background: hsl(var(--foreground));
  border-color: hsl(var(--foreground));
  box-shadow: 0 8px 20px -10px hsl(var(--foreground) / 0.5);
}
.mk-tab svg { width: 1rem; height: 1rem; }
.mk-tabpanel { display: none; }
.mk-tabpanel.active { display: block; animation: mkFade .28s ease; }
@keyframes mkFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .mk-tabpanel.active { animation: none; } }

/* Phone frame — hero visual: "your executive assistant texts you". Put a
   .mk-phone-screen inside with a header + message bubbles. */
.mk-phone {
  position: relative;
  width: 330px;
  max-width: 100%;
  margin: 0 auto;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(160deg, hsl(240 8% 24%), hsl(240 10% 9%));
  box-shadow:
    0 50px 90px -40px hsl(var(--foreground) / 0.45),
    inset 0 1px 0 hsl(0 0% 100% / 0.18),
    0 0 0 1px hsl(var(--foreground) / 0.28);
}
.mk-phone-screen {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: hsl(var(--background));
}
.mk-phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 38%; height: 22px;
  background: hsl(240 10% 9%);
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.mk-phone-statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 1.25rem 0.15rem;
  font-size: 10px; font-weight: 700; letter-spacing: .02em;
  color: hsl(var(--foreground) / 0.6);
  user-select: none;
}
.mk-phone-statusbar .bat { width: 1.05rem; height: 0.6rem; border: 1px solid currentColor; border-radius: 2px; position: relative; opacity: .8; }
.mk-phone-statusbar .bat::after { content: ""; position: absolute; right: -2px; top: 50%; transform: translateY(-50%); width: 1.5px; height: 3px; background: currentColor; border-radius: 0 1px 1px 0; }
.mk-phone-statusbar .bat::before { content: ""; position: absolute; inset: 1px; right: 4px; background: currentColor; border-radius: 1px; }
.mk-phone-head {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 1rem 0.7rem;
  border-bottom: 1px solid hsl(var(--border) / 0.7);
  background: hsl(var(--muted) / 0.4);
}
.mk-phone-body {
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: 0.9rem;
  background:
    radial-gradient(120% 80% at 50% 0%, hsl(var(--brand) / 0.05), transparent 60%),
    hsl(var(--background));
}

/* Integration "galaxy" orbit — center logo + integrations orbiting. Reuses the
   orbit-spin / orbit-spin-rev keyframes from app.css; the chip wrappers spin and
   the logos counter-spin (same duration) so they stay upright. */
.aspect-square { aspect-ratio: 1 / 1; }
.mk-orbit-a   { animation: orbit-spin     64s linear infinite; }
.mk-orbit-a-r { animation: orbit-spin-rev 64s linear infinite; }
.mk-orbit-b   { animation: orbit-spin-rev 92s linear infinite; }
.mk-orbit-b-r { animation: orbit-spin     92s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .mk-orbit-a, .mk-orbit-a-r, .mk-orbit-b, .mk-orbit-b-r { animation: none; }
}
.mk-orbit-chip {
  display: grid; place-items: center;
  height: 2.75rem; width: 2.75rem;
  border-radius: 0.85rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.7);
  box-shadow: 0 8px 18px -10px hsl(var(--foreground) / 0.25);
}
.mk-orbit-chip img { height: 1.5rem; width: 1.5rem; object-fit: contain; }
.mk-orbit-core {
  display: grid; place-items: center;
  height: 5rem; width: 5rem;
  border-radius: 1.25rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 20px 50px -20px hsl(var(--brand) / 0.5), inset 0 1px 0 hsl(0 0% 100% / 0.6);
}
.mk-orbit-core img { height: 2.5rem; width: 2.5rem; }
.mk-orbit-ring { border: 1px solid hsl(var(--border) / 0.6); border-radius: 9999px; }

/* A few variant/arbitrary classes the page agents used that the shim generator
   can't synthesize generically (negatives, group-variants, non-brand tints). */
.-left-\[1\.42rem\] { left: -1.42rem; }
.bg-white\/\[0\.06\] { background-color: hsl(0 0% 100% / 0.06); }
.bg-red-500\/\[0\.07\] { background-color: hsl(0 84% 60% / 0.07); }
.group:hover .group-hover\:scale-\[1\.04\] { transform: scale(1.04); }
.mk-idx-active .group-\[\.mk-idx-active\]\:text-brand\/70,
.mk-idx-active.group-\[\.mk-idx-active\]\:text-brand\/70 { color: hsl(var(--brand) / 0.7); }

/* === Flatter aesthetic (founder: too many shadows). Hairline borders carry the
   structure; shadows stay whisper-light and only on genuinely floating UI.
   Scoped under .mk-scope so it overrides the base component shadows site-wide. === */
.mk-scope .mk-feature-card,
.mk-scope .mk-bento-cell,
.mk-scope .mk-step,
.mk-scope .mk-quote,
.mk-scope .mk-stat-band,
.mk-scope .mk-logo-chip,
.mk-scope .mk-tag,
.mk-scope .mk-tag-brand,
.mk-scope .mk-file-card,
.mk-scope .mk-orbit-chip,
.mk-scope .mk-model-row,
.mk-scope .mk-faq,
.mk-scope .mk-icon-tile,
.mk-scope .mk-badge,
.mk-scope .mk-approval,
.mk-scope .mk-subtle-card { box-shadow: none; }

.mk-scope .mk-feature-card:hover,
.mk-scope .mk-bento-cell:hover,
.mk-scope .mk-step:hover,
.mk-scope .mk-quote:hover,
.mk-scope .mk-file-card:hover,
.mk-scope .mk-tag:hover,
.mk-scope .mk-logo-chip:hover,
.mk-scope .mk-model-row:hover { box-shadow: none; transform: none; }

.mk-scope .mk-window  { box-shadow: none; }
.mk-scope .mk-phone   { box-shadow: 0 18px 40px -30px hsl(var(--foreground) / 0.28); }

/* Animated chat replay (hero phone). The body is bottom-aligned so revealed
   messages stack up from the bottom like a real chat; JS plays them in sequence
   with a typing indicator before each assistant reply, then loops. */
.mk-chat-body { display: flex; flex-direction: column; justify-content: flex-start; gap: 0.5rem; height: 440px; overflow: hidden; }
.mk-chat-msg { display: none; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.mk-chat-msg.is-shown { display: flex; }
.mk-chat-msg.is-in { opacity: 1; transform: none; }
.mk-chat-typing { display: none; }
.mk-chat-typing.is-shown { display: flex; }
@media (prefers-reduced-motion: reduce) {
  .mk-chat-msg { display: flex; opacity: 1; transform: none; }
  .mk-chat-typing { display: none; }
}
.mk-scope .mk-glass   { box-shadow: 0 0 0 1px hsl(var(--border) / 0.5); }
.mk-scope .mk-orbit-core { box-shadow: 0 0 0 1px hsl(var(--border) / 0.6); }
.mk-scope .mk-cta-panel,
.mk-scope .mk-spotlight { box-shadow: none; }
.mk-scope .mk-btn-approve,
.mk-scope .mk-btn-light,
.mk-scope .mk-btn-2,
.mk-scope .mk-btn-cta { box-shadow: none; }

/* Smaller, softer glows. */
.mk-scope .mk-hero-glow { background: radial-gradient(circle at 50% 50%, hsl(var(--brand) / 0.15) 0%, transparent 68%); filter: blur(50px); }
.mk-scope .mk-aurora    { background: radial-gradient(45% 55% at 30% 30%, hsl(var(--brand) / 0.13), transparent 72%); filter: blur(46px); }









/* === marketing arbitrary-value shims (purged Tailwind) === */
.bg-brand\/\[0\.04\]{background-color:hsl(var(--brand) / 0.04)}
.bg-brand\/\[0\.06\]{background-color:hsl(var(--brand) / 0.06)}
.grid-cols-\[1\.1fr_1\.4fr_auto\]{grid-template-columns:1.1fr 1.4fr auto}
.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}
.h-\[620px\]{height:620px}
.h-\[640px\]{height:640px}
.h-\[760px\]{height:760px}
.inset-\[16\%\]{inset:16%}
.inset-\[27\%\]{inset:27%}
.inset-\[5\%\]{inset:5%}
.leading-\[0\.6\]{line-height:0.6}
.leading-\[0\.8\]{line-height:0.8}
@media(min-width:1024px){.lg\:grid-cols-\[0\.92fr_1\.08fr\]{grid-template-columns:0.92fr 1.08fr}}
@media(min-width:1024px){.lg\:grid-cols-\[0\.95fr_1\.05fr\]{grid-template-columns:0.95fr 1.05fr}}
@media(min-width:1024px){.lg\:grid-cols-\[0\.95fr_1\.1fr\]{grid-template-columns:0.95fr 1.1fr}}
@media(min-width:1024px){.lg\:grid-cols-\[1\.05fr_0\.95fr\]{grid-template-columns:1.05fr 0.95fr}}
@media(min-width:1024px){.lg\:grid-cols-\[1\.15fr_0\.85fr\]{grid-template-columns:1.15fr 0.85fr}}
@media(min-width:1024px){.lg\:grid-cols-\[1\.3fr_0\.7fr\]{grid-template-columns:1.3fr 0.7fr}}
@media(min-width:1024px){.lg\:grid-cols-\[15rem_1fr\]{grid-template-columns:15rem 1fr}}
@media(min-width:1024px){.lg\:grid-cols-\[1fr_1\.25fr\]{grid-template-columns:1fr 1.25fr}}
@media(min-width:1024px){.lg\:grid-cols-\[200px_minmax\(0\,1fr\)\]{grid-template-columns:200px minmax(0,1fr)}}
.max-w-\[440px\]{max-width:440px}
.max-w-\[480px\]{max-width:480px}
.max-w-\[520px\]{max-width:520px}
.max-w-\[88\%\]{max-width:88%}
@media(min-width:768px){.md\:grid-cols-\[230px_1fr\]{grid-template-columns:230px 1fr}}
@media(min-width:768px){.md\:text-\[3\.5rem\]{font-size:3.5rem}}
.min-h-\[18px\]{min-height:18px}
.min-h-\[36px\]{min-height:36px}
.min-w-\[720px\]{min-width:720px}
.ml-\[2\.6rem\]{margin-left:2.6rem}
.opacity-\[0\.15\]{opacity:0.15}
.opacity-\[0\.6\]{opacity:0.6}
.opacity-\[0\.7\]{opacity:0.7}
@media(min-width:640px){.sm\:grid-cols-\[5rem_auto_1fr\]{grid-template-columns:5rem auto 1fr}}
.tracking-\[0\.22em\]{letter-spacing:0.22em}
.w-\[1100px\]{width:1100px}
.w-\[34\%\]{width:34%}
.w-\[760px\]{width:760px}
.w-\[820px\]{width:820px}
@media(min-width:1280px){.xl\:text-\[2\.25rem\]{font-size:2.25rem}}
