/* ==========================================================================
   TAGGY — LANDING PAGE STYLESHEET
   Monochrome tone ladder (black -> grey -> white) + indicolite accent + glass material.
   Tokens are at the top; the glass system and per-section tones are at the bottom.
   Adaptive Features: Taggy Cards Transformation Split Slider, SpaceFS Particle Canvas, Live Studio
   Strict: Zero "PVC" wording, Zero blinking bubbles/dots, Zero AI emojis/icons
   ========================================================================== */

:root {
  /* Black ramp */
  --ink-950: #07080A;
  --ink-900: #0B0C0F;
  --ink-850: #101216;
  --ink-800: #16181D;
  --ink-700: #1E2127;
  /* Grey ramp */
  --grey-600: #2B2F36;
  --grey-500: #4A4F58;
  --grey-400: #6F7580;
  --grey-300: #9AA0AA;
  --grey-200: #C4C8CF;
  --grey-150: #D9DCE1;
  --grey-100: #E2E5E9;
  /* White ramp */
  --white-100: #E8EAEE;
  --white-75: #F0F2F5;
  --white-50: #F6F7F9;
  --white-25: #FBFBFC;
  --white-0: #FFFFFF;

  /* Signature: indicolite tourmaline. A whisper: only the touches whitelisted at the bottom of this file. */
  --indicolite-400: #4FB0CF;
  --indicolite-500: #1F7A99;

  --font-sans: "Google Sans", -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "Google Sans Code", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

  /* Legacy names the rest of this stylesheet reads. Each section re-scopes these
     (see TONE LADDER at the bottom), so these are only the light-tone defaults. */
  --brand: var(--ink-900);
  --brand-hover: var(--ink-800);
  --brand-subtle: rgba(15, 23, 42, 0.06);
  --brand-light: var(--white-75);
  --brand-lucky: var(--grey-300);

  --paper: var(--white-50);
  --card-white: var(--white-25);
  --card-surface: var(--white-0);
  --ink: var(--ink-900);
  --charcoal: var(--ink-800);
  --neutral-1: var(--white-50);
  --neutral-2: var(--white-100);
  --neutral-3: var(--grey-150);
  --neutral-4: var(--grey-200);
  --neutral-5: var(--grey-300);
  --neutral-6: var(--grey-500);
  --coffee: var(--ink-850);

  --text-primary: var(--ink-900);
  --text-secondary: var(--grey-500);
  --text-muted: var(--grey-400);
  --text-inverted: #ffffff;

  --border-subtle: rgba(15, 23, 42, 0.09);
  --border-medium: rgba(15, 23, 42, 0.16);

  --serif: var(--font-sans);
  --sans: var(--font-sans);

  --radius-50px: 3.125rem;
  --radius-40px: 2.5rem;
  --radius-32px: 2rem;
  --radius-24px: 1.5rem;
  --radius-20px: 1.25rem;
  --radius-16px: 1rem;
  --radius-pill: 9999px;

  --shadow-subtle: 0 4px 20px rgba(11, 12, 15, 0.04);
  --shadow-card: 0 24px 60px -28px rgba(15, 23, 42, 0.28);
  --shadow-elevated: 0 32px 80px -32px rgba(30, 45, 80, 0.4);

  --nav-height: 80px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background-color: var(--paper);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: clip;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* SpaceFS Interactive Constellation Canvas */
#spacefs-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* Global Content Wrapper */
.main-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow-x: clip;
}

/* Container */
.v2-container {
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3.5rem);
  padding-right: clamp(1.25rem, 4vw, 3.5rem);
}

.v2-container.narrow {
  max-width: 980px;
}

/* ==========================================================================
   CARD-SHAPED SECTIONS WITH CURVED EDGES (40px/50px Curved Capsule Architecture)
   ========================================================================== */
.v2-section, .v3-section-new {
  width: calc(100% - clamp(1rem, 3.5vw, 3rem));
  max-width: 1380px;
  position: relative;
  background-color: var(--card-white);
  padding-top: clamp(3.5rem, 6vw, 6rem);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
  border-radius: var(--radius-40px);
  border: 1px solid var(--border-subtle);
  box-shadow: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.top-round, .v2-top-round {
  border-radius: var(--radius-40px);
  margin-top: 1.75rem;
  box-shadow: none;
}

.v2-coffee {
  background-color: var(--coffee) !important;
  color: #ffffff !important;
}

.v2-neutral-2 {
  background-color: var(--neutral-2) !important;
}

.v2-card-white {
  background-color: var(--card-white) !important;
}

.no-pad-bot {
  padding-bottom: 2rem !important;
}

/* ==========================================================================
   TYPOGRAPHY (Exact Inqmarist / Newsreader Serif & Plus Jakarta Sans)
   ========================================================================== */
h1, h2, h3, h4, .serif-heading {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-feature-settings: "cv02", "cv03", "cv04";
}

.v2-coffee h1, .v2-coffee h2, .v2-coffee h3, .v2-coffee h4 {
  color: #ffffff !important;
}

.hero-title {
  font-size: clamp(2.75rem, 5.5vw, 5.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-align: center;
  max-width: 950px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.section-title.t-center {
  text-align: center;
}

.sub-title {
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1.2;
}

.hero-subtitle {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.55;
  text-align: center;
  max-width: 680px;
  margin: 1.5rem auto 2.5rem;
}

.v2-coffee .hero-subtitle,
.v2-coffee p {
  color: rgba(255, 255, 255, 0.78) !important;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==========================================================================
   BUTTONS (Exact Blinq Full-Pill Buttons)
   ========================================================================== */
.button-pri {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  background-color: var(--brand);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
  white-space: nowrap;
}

.button-pri:hover {
  background-color: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.button-pri:active {
  transform: translateY(0);
}

.button-pri.black {
  background-color: var(--ink);
  color: #ffffff;
  box-shadow: none;
}

.button-pri.black:hover {
  background-color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.button-pri.outline {
  background-color: transparent;
  color: var(--ink);
  border: 1px solid var(--border-medium);
  box-shadow: none;
}

.button-pri.outline:hover {
  background-color: rgba(11, 12, 15, 0.05);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.button-pri.outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
}
.button-pri.outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   NAVBAR (Exact Blinq Top Navigation with Mega Menus)
   ========================================================================== */
.nav-wrap {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: var(--paper);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-wrap.scrolled {
  background-color: rgba(11, 12, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(11, 12, 15, 0.04);
}

.nav-wrap .v2-container {
  max-width: 1480px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.taggy-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.taggy-logo-img.logo-dark {
  display: none;
}

.nav-links-parent {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2rem);
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.25rem;
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--brand);
}

.nav-link svg.chevron {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .nav-link svg.chevron {
  transform: rotate(180deg);
}

/* Nav Dropdown Menu */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 380px;
  background-color: var(--card-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-20px);
  padding: 1.25rem;
  box-shadow: 0 16px 40px rgba(11, 12, 15, 0.1);
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 105;
  animation: navFade 0.2s ease;
}

@keyframes navFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-item-dropdown:hover .nav-dropdown-content {
  display: flex;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--neutral-2);
}

.dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--neutral-2);
  display: grid;
  place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}

.dropdown-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.dropdown-text span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-login-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  transition: color 0.2s ease;
}

.nav-login-link:hover {
  color: var(--brand);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  background: var(--neutral-2);
  border-color: var(--ink);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ==========================================================================
   HERO SECTION (.v2-section.top-round.for-home)
   ========================================================================== */
.for-home {
  background-color: var(--card-white);
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
  text-align: center;
}
#hero.hero-scene.for-home {
  padding-top: 0;
  padding-bottom: 0;
  text-align: center;
  background-color: #f7f7f5;
}

.hero-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.25rem;
  background: var(--neutral-2);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 auto 1.5rem;
  box-shadow: 0 2px 10px rgba(11, 12, 15, 0.04);
}

.hero-top-badge strong {
  color: var(--brand);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.proof-item.highlight-srilanka {
  color: var(--ink);
  font-weight: 700;
}

.proof-item.highlight-srilanka strong {
  color: var(--brand);
}

.proof-item svg, .proof-item img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* No. 1 in Sri Lanka Badge directly above video */
.video-above-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.25rem;
  margin-bottom: 1.25rem;
}

.video-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.35rem;
  background-color: var(--card-white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(11, 12, 15, 0.04);
  transition: all 0.25s ease;
}

.video-badge-pill strong {
  color: var(--brand);
}

.video-badge-star {
  color: #C4C8CF;
  font-size: 1.05rem;
  line-height: 1;
}

/* Hero Video Player Wrapper */
.home-hero-video-wrap {
  width: 100%;
  max-width: 1180px;
  margin: clamp(2.5rem, 4.5vw, 3.5rem) auto 0;
  position: relative;
  border-radius: var(--radius-32px);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(11, 12, 15, 0.08);
  aspect-ratio: 16 / 9;
  background-color: #000000;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay-ctrls {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.video-ctrl-btn {
  background: rgba(11, 12, 15, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.video-ctrl-btn:hover {
  background: rgba(11, 12, 15, 0.95);
}

/* ==========================================================================
   SECTION 2: LOGO MARQUEE (.v2-section.for-home-logos)
   ========================================================================== */
.for-home-logos {
  background-color: var(--paper);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  text-align: center;
}

.marquee-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  margin-bottom: 2.75rem;
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.6rem;
  background-color: var(--card-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  box-shadow: 0 4px 15px rgba(11, 12, 15, 0.03);
  white-space: nowrap;
}

/* ==========================================================================
   SECTION 3: DARK COFFEE CAPSULE (.v3-section-new.v2-top-round.v2-coffee)
   Taggy Card Transformation Pipeline & Comparison Scrubber
   ========================================================================== */
.v2-coffee-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.coffee-title {
  color: #ffffff;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
}

.coffee-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
  padding-top: 0.25rem;
}

/* ==========================================================================
   TAGGY INTERACTIVE CARDS TRAIN CONVEYOR STAGE
   ========================================================================== */
.cards-train-stage {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  background: #0B0C0F;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-32px);
  padding: clamp(1.25rem, 2.2vw, 1.75rem) clamp(1rem, 1.8vw, 1.5rem) 1.25rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

/* Center Taggy Transformation Gateway Portal (Top Badge) */
.taggy-portal-gateway {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  pointer-events: none;
}

.portal-badge-top {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  z-index: 25;
}

.portal-logo-img {
  height: 18px;
  width: auto;
  display: block;
}

/* Wavy Divider Line directly separating the two cards in the viewport */
.train-wavy-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 48px;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 20;
}

.portal-wavy-line {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

.wavy-path {
  stroke: #0a0a0c;
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.45)) drop-shadow(0 0 4px rgba(0, 0, 0, 0.65));
}

/* Train Track Viewport & Dual Split Layers */
.train-track-viewport {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: var(--radius-20px);
  background: #07080A;
  margin-top: 0.75rem;
  user-select: none;
  cursor: grab;
}

.train-track-viewport:active {
  cursor: grabbing;
}

.train-split-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.paper-split-layer {
  clip-path: polygon(
    0% 0%,
    calc(50% + 0px) 0%,
    calc(50% + 11.3px) 6.25%,
    calc(50% + 16px) 12.5%,
    calc(50% + 11.3px) 18.75%,
    calc(50% + 0px) 25%,
    calc(50% - 11.3px) 31.25%,
    calc(50% - 16px) 37.5%,
    calc(50% - 11.3px) 43.75%,
    calc(50% + 0px) 50%,
    calc(50% + 11.3px) 56.25%,
    calc(50% + 16px) 62.5%,
    calc(50% + 11.3px) 68.75%,
    calc(50% + 0px) 75%,
    calc(50% - 11.3px) 81.25%,
    calc(50% - 16px) 87.5%,
    calc(50% - 11.3px) 93.75%,
    calc(50% + 0px) 100%,
    0% 100%
  );
  will-change: clip-path;
  z-index: 10;
}

.taggy-split-layer {
  clip-path: polygon(
    calc(50% + 0px) 0%,
    100% 0%,
    100% 100%,
    calc(50% + 0px) 100%,
    calc(50% - 11.3px) 93.75%,
    calc(50% - 16px) 87.5%,
    calc(50% - 11.3px) 81.25%,
    calc(50% + 0px) 75%,
    calc(50% + 11.3px) 68.75%,
    calc(50% + 16px) 62.5%,
    calc(50% + 11.3px) 56.25%,
    calc(50% + 0px) 50%,
    calc(50% - 11.3px) 43.75%,
    calc(50% - 16px) 37.5%,
    calc(50% - 11.3px) 31.25%,
    calc(50% + 0px) 25%,
    calc(50% + 11.3px) 18.75%,
    calc(50% + 16px) 12.5%,
    calc(50% + 11.3px) 6.25%,
    calc(50% + 0px) 0%
  );
  will-change: clip-path;
  z-index: 12;
}

.train-carriages-rail {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 36px;
  padding: 0 160px;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: none !important;
}

.train-card-unit {
  width: 410px;
  height: 250px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-sample-paper {
  width: 410px;
  height: 250px;
  background: radial-gradient(circle at 25% 25%, #ffffff 0%, #F0F2F5 100%);
  border: 1px solid rgba(154, 160, 170, 0.7);
  border-radius: 8px;
  padding: 1.6rem 1.85rem;
  color: #16181D;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.card-sample-taggy {
  width: 410px;
  height: 250px;
  border-radius: 18px;
  padding: 1.55rem 1.8rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-sizing: border-box;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.18), inset 0 -1px 2px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  user-select: none;
}

.card-sample-taggy-photo {
  width: 410px;
  height: 250px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 4px 12px rgba(0, 0, 0, 0.4);
  background: #07080A;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.taggy-card-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  pointer-events: none;
}

/* Luxury Carbon Honeycomb Geometric Micro-Texture (Inspired by Reference Images) */
.card-surface-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48' viewBox='0 0 28 48'%3E%3Cpath d='M14 0l14 8v16l-14 8L0 24V8zM0 32l14 8 14-8v16l-14 8-14-8z' fill='none' stroke='%23ffffff' stroke-width='0.8'/%3E%3C/svg%3E");
  background-size: 20px 34px;
}

/* Executive Card Themes */
.card-sample-taggy.theme-gold {
  background: linear-gradient(135deg, #16181D 0%, #07080A 55%, #101216 100%);
  border-color: rgba(196, 200, 207, 0.45);
}
.card-sample-taggy.theme-gold .card-accent-color {
  color: #C4C8CF;
}

.card-sample-taggy.theme-platinum {
  background: linear-gradient(135deg, #131417 0%, #0a0a0c 55%, #111215 100%);
  border-color: rgba(255, 255, 255, 0.22);
}
.card-sample-taggy.theme-platinum .card-accent-color {
  color: #E8EAEE;
}

.card-sample-taggy.theme-champagne {
  background: linear-gradient(135deg, #16171a 0%, #0c0d0f 55%, #151619 100%);
  border-color: rgba(196, 200, 207, 0.42);
}
.card-sample-taggy.theme-champagne .card-accent-color {
  color: #C4C8CF;
}

.card-sample-taggy.theme-sapphire {
  background: linear-gradient(135deg, #14161A 0%, #07080A 55%, #101216 100%);
  border-color: rgba(196, 200, 207, 0.42);
}
.card-sample-taggy.theme-sapphire .card-accent-color {
  color: #C4C8CF;
}

.card-sample-taggy.theme-bronze {
  background: linear-gradient(135deg, #16181D 0%, #07080A 55%, #101216 100%);
  border-color: rgba(154, 160, 170, 0.42);
}
.card-sample-taggy.theme-bronze .card-accent-color {
  color: #9AA0AA;
}

/* Card Tiers (Aligned identically on both cards) */
.card-tier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.card-tier-center {
  margin: auto 0;
  text-align: left;
  position: relative;
  z-index: 2;
}

.card-tier-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

/* Card Top Tier: Brand + Contactless NFC */
.card-taggy-brand-box {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.taggy-card-official-logo {
  height: 22px;
  width: auto;
  display: block;
  object-fit: contain;
}

.card-brand-tag {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 0.5rem;
  line-height: 1;
}

.card-nfc-indicator {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.95;
}

.nfc-waves-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.nfc-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-family: var(--sans);
}

/* Card Center Tier: Executive Name & Title */
.card-emboss-name {
  font-family: var(--sans);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.card-emboss-role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.card-emboss-company {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.15rem;
}

/* Card Bottom Tier: Contact + Smart QR Code */
.card-smart-contact {
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.contact-line {
  letter-spacing: 0.02em;
}

.card-qr-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.35rem 0.45rem 0.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.card-mini-qr {
  width: 36px;
  height: 36px;
  display: block;
}

.qr-scan-label {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* Paper Card Elements */
.paper-brand-text {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2B2F36;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.paper-logo-icon {
  font-size: 0.85rem;
  color: #6F7580;
}

.paper-est-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #6F7580;
  font-family: "Google Sans Code", ui-monospace, monospace;
}

.card-paper-name {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: #0B0C0F;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.card-paper-title {
  font-size: 0.82rem;
  font-weight: 500;
  color: #4A4F58;
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

.card-paper-contact {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #4A4F58;
  font-weight: 500;
  font-family: var(--sans);
}

.card-paper-badge {
  text-align: right;
  font-size: 0.7rem;
  font-weight: 600;
  color: #6F7580;
}

.card-paper-badge small {
  display: block;
  font-size: 0.65rem;
  color: #9AA0AA;
  font-style: italic;
  margin-top: 2px;
}

/* Transformation Section Scroll Track */
.transformation-section {
  position: relative;
  min-height: 280vh;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 2rem;
  margin-bottom: 2rem;
  background-color: var(--coffee) !important;
  overflow: visible !important;
}

.transformation-sticky-track {
  position: sticky;
  top: 75px;
  height: calc(100vh - 75px);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 1rem 0;
  overflow: hidden;
}

@media (max-width: 600px) {
  .train-card-unit,
  .card-sample-paper,
  .card-sample-taggy,
  .card-sample-taggy-photo {
    width: 320px;
    height: 200px;
  }
  .card-sample-paper,
  .card-sample-taggy {
    padding: 1.25rem 1.25rem;
  }
  .card-paper-name, .card-emboss-name {
    font-size: 1.35rem;
  }
}

/* Train Scrubber Rail Bar Controls */
.train-scrubber-bar {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding: 0 0.5rem;
}

.train-rail-side {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.train-rail-side.right {
  justify-content: flex-end;
  color: #C4C8CF;
}

.train-rail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.train-rail-dot.active {
  background: var(--brand);
}

.train-scrubber-input-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.train-range-slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  outline: none;
  cursor: ew-resize;
}

.train-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.train-range-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.train-scrubber-hint {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

@media (max-width: 850px) {
  .train-scrubber-bar {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.75rem;
  }
  .train-rail-side {
    justify-content: center;
  }
  .train-rail-side.right {
    justify-content: center;
  }
  .train-card-unit {
    width: 320px;
    height: 200px;
  }
  .train-track-viewport {
    height: 320px;
  }
}

/* ==========================================================================
   TAGGY MULTI-CARD TRANSFORMATION ENGINE STYLES
   ========================================================================== */
.pipeline-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #C4C8CF;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.pipeline-selector-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 2rem;
  flex-wrap: wrap;
}

.pipeline-pills-scroll {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: none;
}
.pipeline-pills-scroll::-webkit-scrollbar {
  display: none;
}

.pipeline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  font-family: var(--sans);
}

.pipeline-pill .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
}

.pipeline-pill .pill-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.pipeline-pill .pill-co {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.5);
  padding-left: 0.3rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.pipeline-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.pipeline-pill.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  box-shadow: none;
}

.pipeline-pill.active .pill-dot {
  background: #ffffff;
  box-shadow: none;
}

.pipeline-pill.active .pill-co {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Auto-Flow Toggle Button */
.pipeline-autoflow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.pipeline-autoflow-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.autoflow-indicator-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C4C8CF;
  box-shadow: none;
  animation: pulseIndicator 1.8s infinite;
}

.pipeline-autoflow-btn.paused .autoflow-indicator-pulse {
  background: #C4C8CF;
  box-shadow: none;
  animation: none;
}

@keyframes pulseIndicator {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Taggy Foil Shimmer Effect */
.taggy-foil-shimmer {
  position: absolute;
  top: -50%;
  left: -150%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(196, 200, 207, 0.35) 55%,
    transparent 65%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0;
}

.taggy-foil-shimmer.active {
  animation: foilShimmerSweep 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes foilShimmerSweep {
  0% {
    left: -150%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}

/* Card Morph Transitions */
.card-sample-paper, .card-sample-taggy {
  transition: background 0.45s ease, border-color 0.45s ease, color 0.45s ease;
}

.card-sample-paper .card-tier-center,
.card-sample-paper .card-tier-bottom,
.card-sample-taggy .card-tier-center,
.card-sample-taggy .card-tier-bottom {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-sample-paper.morphing .card-tier-center,
.card-sample-paper.morphing .card-tier-bottom,
.card-sample-taggy.morphing .card-tier-center,
.card-sample-taggy.morphing .card-tier-bottom {
  opacity: 0.2;
  transform: translateY(4px);
}

/* Taggy Stream Pipeline Queue Ribbon */
.pipeline-queue-ribbon {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding: 1.25rem 1.5rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-20px);
}

.queue-stage {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.queue-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.output-stage .queue-tag {
  text-align: right;
  color: #C4C8CF;
}

.mini-cards-stream {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
}

.output-stage .mini-cards-stream {
  justify-content: flex-end;
}

.mini-card {
  width: 58px;
  height: 36px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 600;
  transition: all 0.3s ease;
  user-select: none;
}

.mini-card.paper {
  background: #F0F2F5;
  color: #16181D;
  border: 1px solid rgba(154, 160, 170, 0.8);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.mini-card.taggy {
  background: linear-gradient(135deg, #16181D 0%, #07080A 100%);
  color: #C4C8CF;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.mini-card.active {
  transform: scale(1.12);
  border-color: #6F7580;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.queue-conduit-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

.conduit-arrow-flow {
  display: flex;
  align-items: center;
  gap: 4px;
}

.conduit-arrow-flow span {
  width: 8px;
  height: 8px;
  border-top: 2px solid #6F7580;
  border-right: 2px solid #6F7580;
  transform: rotate(45deg);
  opacity: 0.3;
  animation: flowArrows 1.4s infinite ease-in-out;
}

.conduit-arrow-flow span:nth-child(2) {
  animation-delay: 0.2s;
}
.conduit-arrow-flow span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes flowArrows {
  0% { opacity: 0.2; transform: rotate(45deg) scale(0.8); }
  50% { opacity: 1; transform: rotate(45deg) scale(1.1); color: #C4C8CF; }
  100% { opacity: 0.2; transform: rotate(45deg) scale(0.8); }
}

.conduit-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #C4C8CF;
  text-transform: uppercase;
}

@media (max-width: 850px) {
  .pipeline-queue-ribbon {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  .output-stage .queue-tag {
    text-align: center;
  }
  .output-stage .mini-cards-stream {
    justify-content: center;
  }
  .mini-cards-stream {
    justify-content: center;
  }
  .pipeline-selector-bar {
    justify-content: center;
  }
}

/* ==========================================================================
   SECTION 4: STICKY STACKING CARDS (ZERO SHADOW AROUND CARDS STACK)
   ========================================================================== */
.stack-section {
  overflow: visible !important;
  --stack-top: 85px;
}

.stack-section .v2-container {
  overflow: visible !important;
}

.stack-header-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

/* Desktop: the heading stays pinned while the cards stack beneath it */
@media (min-width: 851px) {
  .stack-section { --stack-top: 170px; }
  .stack-header-wrap {
    position: sticky;
    top: 85px;
    z-index: 5;
    margin-bottom: 1.75rem;
    padding: 0.5rem 0;
  }
  .stack-header-wrap .section-title {
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    line-height: 1.1;
    margin: 0;
  }
}

.stack-cards-container {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding-bottom: clamp(220px, 35vh, 400px);
  overflow: visible !important;
  box-shadow: none !important;
}

.stack-card {
  position: sticky;
  top: var(--stack-top);
  background-color: var(--card-white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-32px);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 12, 15, 0.06);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: 440px;
  transform: translateZ(0);
  will-change: transform;
}

.stack-card:not(:last-child) {
  margin-bottom: clamp(140px, 30vh, 260px);
}

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

/* All cards dock at the exact same sticky position (top: 85px) so every card is visible in its entirety */
.stack-card:nth-child(1) {
  top: var(--stack-top);
  z-index: 10;
}
.stack-card:nth-child(2) {
  top: var(--stack-top);
  z-index: 20;
}
.stack-card:nth-child(3) {
  top: var(--stack-top);
  z-index: 30;
}
.stack-card:nth-child(4) {
  top: var(--stack-top);
  z-index: 40;
}
.stack-card:nth-child(5) {
  top: var(--stack-top);
  z-index: 50;
}
.stack-card:nth-child(6) {
  top: var(--stack-top);
  z-index: 60;
}

@media (max-width: 850px) {
  .stack-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    min-height: auto;
    top: 75px !important;
    margin-bottom: 40px;
    border-radius: var(--radius-24px);
  }
  .stack-card:nth-child(1),
  .stack-card:nth-child(2),
  .stack-card:nth-child(3),
  .stack-card:nth-child(4),
  .stack-card:nth-child(5),
  .stack-card:nth-child(6) {
    top: 75px;
  }
}

.stack-card-content {
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.5rem, 2.5vw, 2.5rem);
}

.stack-card-tag {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--fg-muted, #6B7280);
}
.stack-card-tag::before { display: none; content: none; }
.stack-card-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.7;
  color: inherit;
}

.stack-card-title {
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.stack-card-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.15rem;
}

.stack-quote {
  position: relative;
  margin: 0;
  padding: 0.15rem 0 0 1.75rem;
  border: 0;
  background: none;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 450;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--fg-soft, #4A4F58);
  quotes: "“" "”";
}
.stack-quote::before {
  content: open-quote;
  position: absolute;
  left: 0;
  top: -0.15em;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-style: normal;
  font-weight: 450;
  line-height: 1;
  color: inherit;
  opacity: 0.45;
}

.stack-moment {
  max-width: 16rem;
  padding: 0 1.25rem;
  text-align: left;
  color: #fff;
}
.stack-moment-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  color: inherit;
}
.stack-moment-line {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: inherit;
}
.stack-moment-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.7;
  color: inherit;
}

.stack-steps {
  list-style: none;
  margin: 0;
  padding: 0 1.5rem;
  width: min(100%, 18rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.stack-steps li {
  display: grid;
  gap: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}
.stack-steps li:first-child { padding-top: 0; border-top: 0; }
.stack-steps b {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 450;
  letter-spacing: -0.02em;
  color: var(--ink, #0B0C0F);
}
.stack-steps span {
  font-size: 0.9rem;
  color: #4A4F58;
}

.stack-visual-box {
  width: calc(100% - clamp(1.25rem, 2.2vw, 2.25rem));
  height: calc(100% - clamp(1.5rem, 2.5vw, 2.25rem));
  min-height: 330px;
  margin: clamp(1rem, 1.5vw, 1.25rem) clamp(1.25rem, 2.2vw, 2.25rem) clamp(1rem, 1.5vw, 1.25rem) 0;
  border-radius: var(--radius-24px);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F0F2F5;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Card Visual Colors */
.stack-visual-box.coral-bg {
  background: #C4C8CF;
}
.stack-visual-box.sand-bg {
  background: #D9DCE1;
}
.stack-visual-box.sage-bg {
  background: #D9DCE1;
}
.stack-visual-box.blue-bg {
  background: #D9DCE1;
}
.stack-visual-box.lavender-bg {
  background: #E8EAEE;
}

/* Phone Card Simulation inside Stack Card */
.phone-sim-card {
  width: 280px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  padding: 1.5rem;
  text-align: center;
}

.phone-sim-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  display: block;
}

.phone-sim-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0B0C0F;
}

.phone-sim-role {
  font-size: 0.85rem;
  color: #777777;
  margin-bottom: 1.25rem;
}

.phone-sim-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sim-btn-pill {
  padding: 0.6rem;
  border-radius: 9999px;
  background: #F0F2F5;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0B0C0F;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ==========================================================================
   SECTION 5: TEAM & BRAND CONTROL (.v3-section-new.v2-top-round)
   "Stack the cards in your team's favor"
   ========================================================================== */
.team-control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.team-feature-card {
  background-color: var(--card-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-32px);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.team-badge-pill {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.team-feature-preview {
  margin-top: 2rem;
  border-radius: var(--radius-20px);
  overflow: hidden;
  background: var(--neutral-2);
  padding: 1.5rem;
}

/* ==========================================================================
   SECTION 6: EXACT BLINQ BENTO GRID (.bs-grid)
   "Scan it. Tap it. Link it. Taggy it."
   ========================================================================== */
.blinq-share {
  width: 100%;
}

.bs-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(0, 245fr) minmax(0, 155fr) minmax(0, 270fr);
  grid-template-areas:
    "email email email email nfc nfc nfc nfc nfc virt virt virt"
    "email email email email nfc nfc nfc nfc nfc qr qr qr"
    "watch watch watch wallet wallet wallet widget widget widget qr qr qr";
  gap: 1.654135cqw;
  aspect-ratio: 1330 / 714;
}

.blinq-share .t-email { grid-area: email; --media-bg: #6F7580; }
.blinq-share .t-nfc   { grid-area: nfc; }
.blinq-share .t-virt  { grid-area: virt; }
.blinq-share .t-qr    { grid-area: qr; }
.blinq-share .t-watch { grid-area: watch; }
.blinq-share .t-wallet{ grid-area: wallet; }
.blinq-share .t-widget{ grid-area: widget; }

.blinq-share .tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-24px);
  background: var(--card-white);
  border: 1px solid var(--border-subtle);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 8px 24px rgba(11, 12, 15, 0.04);
}

.blinq-share .tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11, 12, 15, 0.09);
}

.blinq-share .tile__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 0 0 var(--radius-20px) var(--radius-20px);
  background: var(--media-bg, var(--neutral-2));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.blinq-share .tile__foot {
  flex: 0 0 auto;
  padding: 1.25rem 1.5rem;
}

.blinq-share .tile__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.blinq-share .tile__label {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.2;
}

.blinq-share .arrow {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--neutral-3);
  transition: background 0.3s ease;
}

.blinq-share .arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink);
  transition: stroke 0.3s ease;
}

.blinq-share .tile:hover .arrow {
  background: var(--ink);
}

.blinq-share .tile:hover .arrow svg {
  stroke: #ffffff;
}

.blinq-share .tile__desc {
  margin-top: 0.5rem;
}

.blinq-share .tile__desc p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* Responsive Bento Grid Breakpoints */
@media (max-width: 980px) {
  .bs-grid {
    aspect-ratio: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas:
      "email nfc"
      "watch wallet"
      "widget virt"
      "qr qr";
    gap: 1.25rem;
  }
  .blinq-share .tile__media {
    aspect-ratio: 1.35;
  }
}

@media (max-width: 600px) {
  .bs-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "nfc"
      "email"
      "virt"
      "qr"
      "watch"
      "wallet"
      "widget";
    gap: 1.25rem;
  }
}

/* ==========================================================================
   SECTION 7: CRM & WORKFLOW INTEGRATIONS
   "Contacts with context, everywhere you work"
   ========================================================================== */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.integration-card {
  background: var(--card-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-20px);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-subtle);
}

.integration-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.integration-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  background: var(--neutral-2);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brand);
}

.integration-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.integration-status {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION 8: G2 BADGE & ENTERPRISE SECURITY
   "Secure connections"
   ========================================================================== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.security-tile {
  background: var(--card-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-24px);
  padding: 2rem;
  box-shadow: var(--shadow-subtle);
}

.security-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--neutral-2);
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.security-badge-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.security-tile h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.security-tile p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==========================================================================
   SECTION 9: TESTIMONIALS (.v2-section.top-round.for-testi)
   "Loved by professional optimists globally"
   ========================================================================== */
.for-testi {
  background-color: var(--paper);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.testi-card {
  background: var(--card-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-24px);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
}

.testi-stars {
  display: flex;
  gap: 4px;
  color: #C4C8CF;
}

.testi-quote {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.testi-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION 10: FAQ ACCORDION (.v2-section.top-round.home-faq)
   "Got a few questions? We're happy to answer them."
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

@media (max-width: 850px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  background: var(--neutral-2);
  border-radius: var(--radius-20px);
  overflow: hidden;
  transition: background 0.2s ease;
}

.faq-question {
  width: 100%;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-chevron {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--neutral-3);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-chevron svg {
  width: 14px;
  height: 14px;
  stroke: var(--ink);
  stroke-width: 2;
  fill: none;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  background: var(--ink);
}

.faq-item.active .faq-chevron svg {
  stroke: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 11: PRE-FOOTER BANNER (.v2-section.top-round.for-home-end-section)
   "For contacts that stay in contact"
   ========================================================================== */
.for-home-end-section {
  background-color: var(--card-white);
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
  overflow: hidden;
}

.prefooter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .prefooter-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .prefooter-inner .btn-wrap {
    justify-content: center;
  }
}

.prefooter-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-exchange-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: var(--radius-32px);
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(11, 12, 15, 0.12);
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.exchange-badge-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #F0F2F5;
  color: #6F7580;
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
}

.exchange-badge-check svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.exchange-title {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: #0B0C0F;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   SECTION 12: EXACT BLINQ FOOTER (.v2-section.top-round.v2-footer)
   ========================================================================== */
.v2-footer {
  background-color: var(--paper);
  padding-top: 5rem;
  padding-bottom: 4rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 3.5rem;
}

.footer-action-pills {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-fortune-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  background: var(--card-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

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

.footer-brand-col p {
  margin-top: 1rem;
  font-size: 0.92rem;
  max-width: 260px;
}

.footer-col-title {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--brand);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-social-link {
  color: var(--ink);
  transition: color 0.2s ease;
}

.footer-social-link:hover {
  color: var(--brand);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   WHITE-LED TONE LADDER + GLASS + INDICOLITE WHISPER
   ~60% white shades, ~20% grey, ~15% black. Pure greyscale throughout.
   Each section re-scopes the legacy colour variables, so every component
   reads from variables and works in either tone.

   INDICOLITE WHITELIST (under 1% of pixels). It appears ONLY as:
     1. 6px dot before small eyebrow labels             (.eyebrow dots)
     2. 6px pulsing status dots                         (.status-dot)
     3. verified ticks / checkmarks                     (.verified-tick, .exchange-badge-check)
     4. 2px x 14px underline under hovered nav link     (.nav-link::after)
     5. 1px underline growing on text-link hover        (.footer-link)
     6. keyboard focus ring                             (:focus-visible)
     7. 2px left hairline on the OPEN FAQ item          (.faq-item.active::before)
     8. 1px edge-light on the Taggy card mockup + NFC icon
     9. ::selection at rgba(31,122,153,.22)
    10. 40px x 1px divider under one section heading    (#security)
   Nothing else: no buttons, backgrounds, borders, headings, shadows or glows.
   ========================================================================== */

:root { --dot: var(--indicolite-500); }

/* ---- Tone scopes -------------------------------------------------------- */
/* Dark: the one big black moment, the top of the descent, and the first four stack cards */
#transformation, #sticky-cards, .stack-card:nth-child(-n+4) {
  --tone: dark;
  --fg: #FFFFFF;
  --fg-muted: rgba(255, 255, 255, 0.72);
  --fg-soft: rgba(255, 255, 255, 0.84);
  --dot: var(--indicolite-400);
  --brand: var(--fg);
  --brand-hover: var(--fg-soft);
  --ink: #FFFFFF;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.84);
  --text-muted: rgba(255, 255, 255, 0.72);
  --border-subtle: rgba(255, 255, 255, 0.10);
  --border-medium: rgba(255, 255, 255, 0.16);
  --card-white: rgba(255, 255, 255, 0.06);
  --neutral-1: rgba(255, 255, 255, 0.04);
  --neutral-2: rgba(255, 255, 255, 0.06);
  --neutral-3: rgba(255, 255, 255, 0.12);
  --glass-fill: linear-gradient(rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  --glass-ctl: rgba(255, 255, 255, 0.08);
  --glass-ctl-hover: rgba(255, 255, 255, 0.14);
  --glass-line: rgba(255, 255, 255, 0.14);
  --glass-hi: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7), 0 2px 4px rgba(0, 0, 0, 0.3);
  --spot: rgba(255, 255, 255, 0.10);
  --btn-bg: #FFFFFF;
  --btn-fg: var(--ink-900);
  --btn-line: rgba(255, 255, 255, 0.7);
  --btn-shadow: inset 0 1px 0 #FFFFFF, 0 8px 24px -10px rgba(0, 0, 0, 0.6);
  --btn-shadow-hover: inset 0 1px 0 #FFFFFF, 0 14px 32px -10px rgba(0, 0, 0, 0.8);
  --sweep: rgba(15, 23, 42, 0.10);
  color: var(--fg);
}
/* Light: everything else (nav, hero, logos, team-control, bento ... footer, last two stack cards) */
#main-nav, #hero, .for-home-logos, #team-control, #bento-share, #integrations, #security, #testimonials,
#faq, #prefooter, #footer, .stack-card:nth-child(n+5) {
  --tone: light;
  --fg: var(--ink-900);
  --fg-muted: var(--grey-500);
  --fg-soft: var(--grey-500);
  --dot: var(--indicolite-500);
  --brand: var(--fg);
  --brand-hover: var(--fg-soft);
  --ink: var(--ink-900);
  --text-primary: var(--ink-900);
  --text-secondary: var(--grey-500);
  --text-muted: var(--grey-500);
  --border-subtle: rgba(15, 23, 42, 0.09);
  --border-medium: rgba(15, 23, 42, 0.16);
  --card-white: rgba(255, 255, 255, 0.66);
  --neutral-1: rgba(255, 255, 255, 0.5);
  --neutral-2: rgba(15, 23, 42, 0.05);
  --neutral-3: rgba(15, 23, 42, 0.08);
  --glass-fill: linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.58));
  --glass-ctl: rgba(255, 255, 255, 0.66);
  --glass-ctl-hover: rgba(255, 255, 255, 0.92);
  --glass-line: rgba(15, 23, 42, 0.11);
  --glass-hi: rgba(255, 255, 255, 0.95);
  --glass-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.28), 0 2px 4px rgba(15, 23, 42, 0.04);
  --spot: rgba(15, 23, 42, 0.07);
  --btn-bg: var(--ink-900);
  --btn-fg: var(--white-50);
  --btn-line: rgba(255, 255, 255, 0.08);
  --btn-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 20px -10px rgba(15, 23, 42, 0.5);
  --btn-shadow-hover: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 28px -10px rgba(15, 23, 42, 0.62);
  --sweep: rgba(255, 255, 255, 0.35);
  color: var(--fg);
}
/* Mid stack cards: dark tone on grey-500 (white text = 8.6:1) */
.stack-card:nth-child(3),
.stack-card:nth-child(4) { --fg-muted: rgba(255, 255, 255, 0.8); }

/* ---- Page + section backgrounds ----------------------------------------- */
body { background: var(--white-100); color: var(--text-primary); }
body::after { /* 3% film grain to kill gradient banding */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.v2-section, .v3-section-new { border-color: var(--border-subtle); }

#transformation, #sticky-cards { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important; }
#hero, .for-home-logos, #team-control, #bento-share, #integrations, #security, #testimonials, #faq, #prefooter, #footer {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

/* Neutral grey washes only (no tinted glows) */
#hero {
  isolation: isolate;
  overflow: clip;
  background: #fff !important;
}
.for-home-logos { background: var(--white-50) !important; }
#transformation {
  isolation: isolate;
  overflow: clip !important;
  background:
    radial-gradient(circle 800px at 80% 600px, rgba(255, 255, 255, 0.05), transparent 70%),
    radial-gradient(circle 700px at 10% 1600px, rgba(255, 255, 255, 0.035), transparent 70%),
    linear-gradient(180deg, var(--ink-950), var(--ink-800)) !important;
}
#sticky-cards {
  background:
    radial-gradient(55% 30% at 15% 0%, rgba(255, 255, 255, 0.05), transparent 70%),
    linear-gradient(180deg, var(--ink-800) 0%, var(--grey-500) 50%, var(--grey-150) 100%) !important;
}
#team-control {
  background:
    radial-gradient(50% 40% at 85% 0%, rgba(15, 23, 42, 0.05), transparent 70%),
    radial-gradient(40% 40% at 10% 100%, rgba(255, 255, 255, 0.5), transparent 70%),
    var(--grey-100) !important;
}
#bento-share {
  background:
    radial-gradient(50% 40% at 15% 0%, rgba(15, 23, 42, 0.04), transparent 70%),
    radial-gradient(40% 40% at 90% 100%, rgba(15, 23, 42, 0.035), transparent 70%),
    var(--white-75) !important;
}
#integrations, #security, #testimonials, #faq, #prefooter, #footer { position: relative; }
#integrations {
  background:
    radial-gradient(50% 40% at 100% 0%, rgba(15, 23, 42, 0.035), transparent 70%),
    var(--white-25) !important;
}
#security {
  background:
    radial-gradient(50% 40% at 0% 0%, rgba(15, 23, 42, 0.04), transparent 70%),
    var(--white-50) !important;
}
#testimonials {
  background:
    radial-gradient(50% 40% at 100% 100%, rgba(15, 23, 42, 0.03), transparent 70%),
    var(--white-0) !important;
}
#faq {
  background:
    radial-gradient(50% 40% at 0% 0%, rgba(15, 23, 42, 0.035), transparent 70%),
    var(--white-75) !important;
}
#prefooter {
  background:
    radial-gradient(50% 40% at 100% 0%, rgba(15, 23, 42, 0.045), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(255, 255, 255, 0.55), transparent 70%),
    var(--grey-100) !important;
}
#footer {
  background: linear-gradient(180deg, var(--white-25), var(--white-0)) !important;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

/* Slow ambient drift on neutral washes (transform only) */
#hero::before, #transformation::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  animation: glowDrift 50s ease-in-out infinite alternate;
  will-change: transform;
}
#hero::before { background: radial-gradient(circle 700px at 72% 20%, rgba(15, 23, 42, 0.04), transparent 70%); }
#transformation::before {
  background:
    radial-gradient(circle 700px at 72% 18%, rgba(255, 255, 255, 0.05), transparent 70%),
    radial-gradient(circle 600px at 22% 40%, rgba(255, 255, 255, 0.03), transparent 70%);
}
@keyframes glowDrift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to   { transform: translate3d(3%, 3%, 0) scale(1.06); }
}

/* ---- Typography --------------------------------------------------------- */
h1, h2, h3, h4, .serif-heading { color: var(--fg); font-weight: 500; letter-spacing: -0.025em; }
.hero-title { font-weight: 450; letter-spacing: -0.03em; line-height: 1.05; }
p { color: var(--text-secondary); line-height: 1.55; }
.hero-subtitle { color: var(--fg-soft); }
.v2-coffee h1, .v2-coffee h2, .v2-coffee h3, .v2-coffee h4 { color: #fff !important; }
.v2-coffee .hero-subtitle, .v2-coffee p { color: rgba(255, 255, 255, 0.8) !important; }

/* Eyebrow labels: grey mono text, with a 6px indicolite dot (whitelist 1) */
.team-badge-pill, .portal-badge-top, .pipeline-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.team-badge-pill { display: inline-flex; align-items: center; gap: 0.55rem; }
.team-badge-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot);
  flex: none;
}
/* 40px x 1px divider under one section heading (whitelist 10) */
#security .section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--dot);
  margin: 1.1rem auto 0;
}

/* Status dots: 6px with a slow soft pulse (whitelist 2) */
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indicolite-500);
  margin-right: 0.45rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
  animation: dotPulse 2.8s ease-in-out infinite;
}
.sim-btn-pill .status-dot { background: var(--indicolite-400); }
@keyframes dotPulse { 0%, 100% { opacity: 0.45; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1); } }

/* ---- Glass utilities ---------------------------------------------------- */
.glass-control {
  background: var(--glass-ctl);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-line);
  border-radius: 9999px;
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 1px 2px rgba(15, 23, 42, 0.08);
  transition: background-color 0.2s, border-color 0.2s, transform 0.5s var(--ease-out);
}
.glass {
  background: var(--glass-fill);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border: 1px solid var(--glass-line);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow);
}
.glass-strong {
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.78));
  backdrop-filter: blur(32px) saturate(1.7);
  -webkit-backdrop-filter: blur(32px) saturate(1.7);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 #fff, 0 32px 80px -32px rgba(30, 45, 80, 0.4), 0 2px 6px rgba(15, 23, 42, 0.06);
}

/* Apply the material to existing components (no markup changes needed) */
.hero-top-badge, .video-badge-pill, .portal-badge-top, .pipeline-badge-pill, .pipeline-pill, .pipeline-autoflow-btn,
.team-badge-pill, .footer-fortune-pill, .theme-toggle-btn, .proof-item {
  background: var(--glass-ctl);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 1px 2px rgba(15, 23, 42, 0.08);
  color: var(--fg);
}
.team-badge-pill, .portal-badge-top, .pipeline-badge-pill { color: var(--fg-muted); }
.hero-top-badge strong, .proof-item.highlight-srilanka strong { color: var(--fg); }
.video-ctrl-btn { background: rgba(11, 12, 15, 0.55); color: #fff; backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); border: 1px solid rgba(255, 255, 255, 0.18); }
.pipeline-pill:hover { background: var(--glass-ctl-hover); }
.pipeline-pill.active { background: #fff; border-color: #fff; color: var(--ink-900); }
.pipeline-pill.active .pill-name, .pipeline-pill.active .pill-co { color: var(--ink-900); }
.pipeline-pill.active .pill-dot { background: var(--ink-900); }

.team-feature-card, .blinq-share .tile, .integration-card, .security-tile, .testi-card, .faq-item,
.contact-exchange-card, .phone-sim-card, .team-feature-preview {
  background: var(--glass-fill);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow);
  color: var(--fg);
}
.contact-exchange-card, .phone-sim-card {
  border-radius: 28px;
  backdrop-filter: blur(32px) saturate(1.7);
  -webkit-backdrop-filter: blur(32px) saturate(1.7);
  background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82));
  border-color: rgba(15, 23, 42, 0.10);
  color: var(--ink-900);
}
.phone-sim-name, .exchange-title { color: var(--ink-900); }
.phone-sim-role { color: var(--grey-500); }
.team-feature-preview { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--neutral-2); box-shadow: none; }

/* Sticky stack cards overlap each other, so they stay opaque: dark -> mid -> light as the page descends */
.stack-card { color: var(--fg); }
.stack-card:nth-child(-n+2) {
  background: linear-gradient(180deg, var(--ink-700), var(--ink-800));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 60px -28px rgba(0, 0, 0, 0.7);
}
.stack-card:nth-child(3),
.stack-card:nth-child(4) {
  background: linear-gradient(180deg, var(--grey-500), var(--grey-600));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 24px 60px -28px rgba(0, 0, 0, 0.6);
}
.stack-card:nth-child(n+5) {
  background: linear-gradient(180deg, var(--white-25), var(--white-50));
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: inset 0 1px 0 #fff, 0 24px 60px -28px rgba(15, 23, 42, 0.35);
}
.stack-card-title { color: var(--fg); }
.stack-card-desc, .stack-card .stack-moment-note { color: var(--fg-soft); }
.stack-card .stack-card-tag { color: var(--fg-muted); }
.stack-card .stack-quote { color: var(--fg-soft); }
.stack-card:nth-child(-n+4) .stack-moment { color: #fff; }
.stack-card:nth-child(n+5) .stack-moment { color: var(--ink, #0B0C0F); }
.stack-card:nth-child(n+5) .stack-moment-kicker { opacity: 0.5; }
.stack-card:nth-child(n+5) .stack-moment-note { opacity: 0.65; }
.stack-visual-box, .stack-visual-box.coral-bg, .stack-visual-box.sand-bg, .stack-visual-box.sage-bg,
.stack-visual-box.blue-bg, .stack-visual-box.lavender-bg { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 40px rgba(0, 0, 0, 0.18); }
.stack-card:nth-child(-n+2) .stack-visual-box { background: linear-gradient(160deg, var(--grey-600), var(--ink-850)); }
.stack-card:nth-child(3) .stack-visual-box,
.stack-card:nth-child(4) .stack-visual-box { background: linear-gradient(160deg, var(--grey-400), var(--grey-500)); }
.stack-card:nth-child(n+5) .stack-visual-box { background: linear-gradient(160deg, var(--white-100), var(--grey-150)); box-shadow: inset 0 1px 0 #fff, inset 0 0 40px rgba(15, 23, 42, 0.06); }

/* Bento tiles: lift, brighter top edge, neutral cursor spotlight */
.blinq-share .tile { transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.2s; }
.blinq-share .tile:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 23, 42, 0.18);
  box-shadow: inset 0 1px 0 #fff, 0 32px 70px -28px rgba(15, 23, 42, 0.4);
}
.blinq-share .tile::after,
.integration-card::after, .security-tile::after, .testi-card::after, .team-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--spot), transparent 70%);
}
.integration-card, .security-tile, .testi-card, .team-feature-card { position: relative; overflow: hidden; }
.blinq-share .tile:hover::after, .integration-card:hover::after, .security-tile:hover::after,
.testi-card:hover::after, .team-feature-card:hover::after { opacity: 1; }
.blinq-share .tile__label { color: var(--fg); }
.blinq-share .tile__desc p, .blinq-share .tile__desc { color: var(--fg-soft); }
.integration-card, .security-tile, .testi-card { transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out); }
.integration-card:hover, .security-tile:hover, .testi-card:hover { transform: translateY(-4px); }

/* Icons: monochrome */
.integration-icon, .security-badge-icon { background: var(--neutral-2); color: var(--fg-muted); transition: color 0.2s, background-color 0.2s; }
.integration-card:hover .integration-icon, .security-tile:hover .security-badge-icon { color: var(--fg); }
.integration-name, .security-tile h4, .testi-name { color: var(--fg); }
.integration-status { color: var(--fg-muted); }
.security-tile p, .testi-quote, .testi-role { color: var(--fg-soft); }
.testi-stars { color: var(--grey-500); }

/* FAQ */
.faq-item { position: relative; transition: border-color 0.2s, background-color 0.2s; }
.faq-question { color: var(--fg); }
.faq-answer p { color: var(--fg-soft); }
.faq-chevron { background: var(--neutral-3); }
.faq-chevron svg { stroke: var(--fg); }
.faq-item.active .faq-chevron { background: var(--ink-900); }
.faq-item.active .faq-chevron svg { stroke: #fff; }

/* Logo marquee: no boxes, edge fades only */
.marquee-container {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-pill { background: none; border: 0; box-shadow: none; color: var(--grey-400); opacity: 0.8; }
.logo-pill img, .logo-pill svg { filter: grayscale(1); }
.marquee-heading { color: var(--fg); }

/* ---- Buttons: greyscale, no colour change on hover -------------------------- */
.button-pri {
  height: 48px;
  padding: 0 28px;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-line);
  box-shadow: var(--btn-shadow);
  transition: transform 0.5s var(--ease-out), box-shadow 0.3s var(--ease-out), background-color 0.2s, border-color 0.2s;
}
.button-pri::after { /* one light-sweep on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 40%, var(--sweep) 50%, transparent 60%) no-repeat;
  background-size: 250% 100%;
  background-position: 120% 0;
  pointer-events: none;
}
.button-pri:hover { background: var(--btn-bg); transform: translateY(-1px); box-shadow: var(--btn-shadow-hover); }
.button-pri:hover::after { background-position: -20% 0; transition: background-position 0.8s var(--ease-out); }
.button-pri:active { transform: translateY(0); transition-duration: 0.12s; }

/* Secondary: glass-control, same height */
.button-pri.black, .button-pri.outline, .button-pri.outline-white {
  background: var(--glass-ctl);
  color: var(--fg);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 1px 2px rgba(15, 23, 42, 0.08);
}
.button-pri.black:hover, .button-pri.outline:hover, .button-pri.outline-white:hover {
  background: var(--glass-ctl-hover);
  border-color: var(--glass-line);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 12px 24px -12px rgba(15, 23, 42, 0.35);
}
/* The footer's lead button is a .black in the markup but it is the primary action there */
#footer .footer-action-pills .button-pri.black {
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-line);
  backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: var(--btn-shadow);
}
#footer .footer-action-pills .button-pri.black:hover { background: var(--btn-bg); box-shadow: var(--btn-shadow-hover); }

/* ---- Nav: transparent over the white hero, frosted white on scroll -------- */
.nav-wrap { background: transparent; color: var(--fg); isolation: isolate; box-shadow: none; }
.nav-wrap::before { /* .site-nav-backdrop blur layer */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(1.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.6), 0 8px 30px -14px rgba(15, 23, 42, 0.25);
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-wrap.scrolled { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.nav-wrap.scrolled::before { opacity: 1; }
.nav-link, .nav-login-link { position: relative; color: var(--fg-soft); background: none; transition: color 0.2s; }
.nav-link:hover, .nav-login-link:hover { color: var(--fg); background: none; box-shadow: none; }
.nav-link::after, .nav-login-link::after { /* 2px x 14px underline under hovered/current link (whitelist 4) */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--dot);
  transform: translateX(-50%) scaleX(0.4);
  opacity: 0;
  transition: opacity 0.2s, transform 0.3s var(--ease-out);
}
.nav-link:hover::after, .nav-login-link:hover::after, .nav-link[aria-current]::after { opacity: 1; transform: translateX(-50%) scaleX(1); }
.nav-dropdown-content {
  background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82));
  backdrop-filter: blur(32px) saturate(1.7);
  -webkit-backdrop-filter: blur(32px) saturate(1.7);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 #fff, 0 32px 80px -32px rgba(30, 45, 80, 0.4), 0 2px 6px rgba(15, 23, 42, 0.06);
}
.dropdown-item:hover { background: rgba(15, 23, 42, 0.05); }
.dropdown-icon { background: rgba(15, 23, 42, 0.06); color: var(--grey-500); }
.dropdown-text strong { color: var(--ink-900); }
.dropdown-text span { color: var(--grey-500); }
.theme-toggle-btn { display: none; } /* tones are fixed per section now */

/* ---- Mockups ------------------------------------------------------------ */
.card-sample-paper { background: radial-gradient(circle at 25% 25%, var(--white-0) 0%, var(--white-75) 100%); border-color: rgba(154, 160, 170, 0.6); color: var(--ink-800); }
.card-sample-taggy, .card-sample-taggy-photo {
  background: linear-gradient(145deg, var(--ink-850), var(--ink-950));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 25px 60px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.18);
}
.card-sample-taggy.theme-gold, .card-sample-taggy.theme-platinum, .card-sample-taggy.theme-champagne,
.card-sample-taggy.theme-sapphire, .card-sample-taggy.theme-bronze { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 25px 60px rgba(0, 0, 0, 0.8); }
/* 1px indicolite edge-light (whitelist 8): one lead card per row, so a viewport never shows five of them */
.train-card-unit[data-card-idx="0"] .card-sample-taggy,
.train-card-unit[data-card-idx="0"] .card-sample-taggy-photo {
  box-shadow: 0 0 0 1px rgba(79, 176, 207, 0.35), 0 25px 60px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.18);
}
.card-sample-taggy .card-accent-color { color: var(--grey-200); }
.card-nfc-indicator, .nfc-waves-icon { color: var(--indicolite-400); } /* NFC icon (whitelist 8) */
.nfc-label { color: rgba(255, 255, 255, 0.6); }
.card-emboss-name, .card-emboss-role, .card-emboss-company { text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22), 0 -1px 0 rgba(0, 0, 0, 0.7); }
/* Verified tick (whitelist 3) */
.exchange-badge-check { background: var(--neutral-2); color: var(--indicolite-500); }
.exchange-badge-check svg { stroke: var(--indicolite-500); }

/* Transformation controls: white, not tinted */
.train-rail-dot.active { background: #fff; }
.train-range-slider::-webkit-slider-thumb, .train-range-slider::-moz-range-thumb { background: #fff; }
.autoflow-indicator-pulse { background: var(--grey-200); }
.pipeline-autoflow-btn.paused .autoflow-indicator-pulse { background: var(--grey-300); }
.conduit-arrow-flow span { border-color: var(--grey-300); }
.mini-card.active { border-color: #fff; }
.queue-tag, .output-stage .queue-tag, .train-rail-side.right { color: rgba(255, 255, 255, 0.72); }

/* Footer: text links get a 1px indicolite underline that grows left to right (whitelist 5) */
.footer-link {
  color: var(--grey-500);
  background-image: linear-gradient(var(--dot), var(--dot));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  padding-bottom: 2px;
  transition: color 0.2s, background-size 0.3s var(--ease-out);
}
.footer-link:hover { color: var(--ink-900); background-size: 100% 1px; }
.footer-col-title { color: var(--ink-900); }
.footer-social-link { color: var(--grey-500); }
.footer-social-link:hover { color: var(--ink-900); }
.footer-brand-col p, .footer-bottom-row, .footer-bottom-row p { color: var(--grey-500); }

/* ---- Focus, selection, scrollbar ------------------------------------------ */
:focus-visible { outline: 2px solid var(--dot); outline-offset: 3px; }
::selection { background: rgba(31, 122, 153, 0.22); }
html { scrollbar-width: thin; scrollbar-color: rgba(128, 128, 128, 0.4) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(128, 128, 128, 0.4); border-radius: 9999px; }

/* ---- Fallbacks, responsive, reduced motion ---------------------------------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .glass-strong, .glass-control, .team-feature-card, .blinq-share .tile, .integration-card, .security-tile,
  .testi-card, .faq-item, .nav-dropdown-content, .button-pri.black, .button-pri.outline { background: var(--white-75); }
  .nav-wrap::before { background: var(--white-0); }
}
@media (max-width: 640px) {
  .glass, .team-feature-card, .blinq-share .tile, .integration-card, .security-tile, .testi-card, .faq-item {
    backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); border-radius: 20px;
  }
  .glass-strong, .contact-exchange-card, .phone-sim-card { backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); border-radius: 22px; }
  .nav-wrap::before { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}
@media (prefers-reduced-motion: reduce) {
  #hero::before, #transformation::before, .status-dot { animation: none; }
  .button-pri::after { display: none; }
  .nav-wrap::before { transition: none; }
}
/* ==========================================================================
   SPACEFS EXACT TOP-MIDDLE FLOATING MORPHING MENU
   Faithful recreation of https://spacefs.com/ top-center menu animation
   ========================================================================== */

/* Subtle top backdrop blur gradient */
.site-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 5.5rem;
  pointer-events: none;
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  background: hsla(0, 0%, 100%, 0.001);
  -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.92) 40%, transparent);
  mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.92) 40%, transparent);
  z-index: 95;
}

/* Dimming Backdrop Overlay */
.spacefs-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .spacefs-backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.spacefs-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Fixed Top-Center Wrapper */
.spacefs-menu-wrapper {
  position: absolute;
  top: calc(50% - 24px); /* vertically centred on the nav row (closed pill is 48px tall) */
  left: 50%;
  transform: translateX(-50%);
  z-index: 105;
}

/* The Morphing Capsule Card */
.spacefs-morph-card {
  position: relative;
  width: 124px;
  border-radius: 28px;
  padding: 4px;
  background: transparent;
  transform-origin: top center;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0);
  transition: width 0.46s cubic-bezier(0.16, 1, 0.28, 1),
              box-shadow 0.46s cubic-bezier(0.16, 1, 0.28, 1);
  will-change: width, box-shadow;
}

/* When Open */
.spacefs-morph-card.is-open {
  width: min(92vw, 560px);
  box-shadow: 0 32px 80px -20px rgba(15, 23, 42, 0.25);
}

[data-theme="dark"] .spacefs-morph-card.is-open {
  box-shadow: 0 32px 80px -20px rgba(0, 0, 0, 0.7);
}

/* The Glass-Strong Morphing Layer (fades & blooms fluidly when expanding) */
.spacefs-glass-strong {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.97);
  backdrop-filter: blur(32px) saturate(1.8);
  -webkit-backdrop-filter: blur(32px) saturate(1.8);
  background: linear-gradient(180deg, hsla(0, 0%, 100%, 0.94), hsla(0, 0%, 100%, 0.86));
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: inset 0 1px 0 #ffffff, 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: opacity 0.36s cubic-bezier(0.16, 1, 0.28, 1),
              transform 0.46s cubic-bezier(0.16, 1, 0.28, 1);
}

[data-theme="dark"] .spacefs-glass-strong {
  background: linear-gradient(180deg, rgba(28, 25, 23, 0.95), rgba(18, 16, 14, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.spacefs-morph-card.is-open .spacefs-glass-strong {
  opacity: 1;
  transform: scale(1);
}

/* Relative Container for pill + panel */
.spacefs-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

/* The Glass-Control Pill Bar */
.spacefs-trigger-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border-radius: 9999px;
  padding: 2px;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  background: hsla(0, 0%, 100%, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.9), 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: background-color 0.28s cubic-bezier(0.16, 1, 0.28, 1),
              border-color 0.28s cubic-bezier(0.16, 1, 0.28, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.28, 1);
}

[data-theme="dark"] .spacefs-trigger-bar {
  background: rgba(36, 32, 29, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.35);
}

.spacefs-morph-card.is-open .spacefs-trigger-bar {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* The Pill Button */
.spacefs-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 100%;
  padding: 0 14px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  outline: none;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.28, 1);
  user-select: none;
}

.spacefs-menu-btn:hover {
  opacity: 0.85;
}

/* Icon: Two bars that rotate into an X with spring feel */
.spacefs-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
}

.spacefs-bar {
  grid-column: 1;
  grid-row: 1;
  width: 15px;
  height: 1.6px;
  border-radius: 9999px;
  background-color: currentColor;
  transition: transform 0.42s cubic-bezier(0.22, 1.25, 0.36, 1),
              background-color 0.2s ease;
  transform-origin: center;
}

.spacefs-bar-top {
  transform: translateY(-3px) rotate(0deg);
}

.spacefs-bar-bottom {
  transform: translateY(3px) rotate(0deg);
}

/* Morph to X */
.spacefs-morph-card.is-open .spacefs-bar-top {
  transform: translateY(0) rotate(45deg);
}

.spacefs-morph-card.is-open .spacefs-bar-bottom {
  transform: translateY(0) rotate(-45deg);
}

/* Text label cross-fade */
.spacefs-label-box {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-width: 4.8ch;
  height: 20px;
}

.spacefs-label-text {
  grid-column: 1;
  grid-row: 1;
  white-space: nowrap;
  text-align: left;
  transition: opacity 0.25s ease, transform 0.4s cubic-bezier(0.16, 1, 0.28, 1);
}

.spacefs-label-menu {
  opacity: 1;
  transform: translateY(0);
}

.spacefs-label-close {
  opacity: 0;
  transform: translateY(8px);
}

.spacefs-morph-card.is-open .spacefs-label-menu {
  opacity: 0;
  transform: translateY(-8px);
}

.spacefs-morph-card.is-open .spacefs-label-close {
  opacity: 1;
  transform: translateY(0);
}

/* Expandable Panel */
.spacefs-menu-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.46s cubic-bezier(0.16, 1, 0.28, 1);
  overflow: hidden;
}

.spacefs-morph-card.is-open .spacefs-menu-panel {
  grid-template-rows: 1fr;
}

.spacefs-panel-scroll {
  min-height: 0;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}

.spacefs-panel-scroll::-webkit-scrollbar {
  display: none;
}

/* Inner panel has a stable layout width so text never reflows or jitters during width expansion */
.spacefs-panel-inner {
  width: min(calc(92vw - 8px), 552px);
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 1.25rem 0.85rem 0.85rem 0.85rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease 0s, transform 0.2s ease 0s;
}

.spacefs-morph-card.is-open .spacefs-panel-inner {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.28, 1),
              transform 0.46s cubic-bezier(0.16, 1, 0.28, 1);
}

/* Grid Layout */
.spacefs-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .spacefs-panel-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Columns */
.spacefs-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.spacefs-col-head {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  padding-left: 0.5rem;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.18s ease 0s, transform 0.18s ease 0s;
}

.spacefs-morph-card.is-open .spacefs-col-head {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.28, 1) 0.04s,
              transform 0.4s cubic-bezier(0.16, 1, 0.28, 1) 0.04s;
}

/* Links */
.spacefs-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.6rem;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-primary);
  background: transparent;
  
  /* Stagger animation: clean instantaneous exit when closed, fluid spring entrance when open */
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.16s ease 0s,
              transform 0.18s ease 0s,
              background-color 0.18s ease;
}

.spacefs-morph-card.is-open .spacefs-item {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.28, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.28, 1),
              background-color 0.18s ease;
}

.spacefs-item:hover {
  background: rgba(31, 21, 17, 0.05);
  transform: translateX(2px);
}

[data-theme="dark"] .spacefs-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.spacefs-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  margin-top: 2px;
  background: #f1f3f5;
  color: #555f6d;
  transition: transform 0.24s cubic-bezier(0.175, 0.885, 0.32, 1.25),
              background-color 0.2s ease,
              color 0.2s ease,
              box-shadow 0.2s ease;
}

.spacefs-item-icon svg {
  stroke-width: 1.7;
}

/* Plain & Pastel Color Assignments */
/* 1. Sage / Mint Pastel */
.spacefs-col:nth-child(1) .spacefs-item:nth-of-type(1) .spacefs-item-icon,
.spacefs-item.pastel-sage .spacefs-item-icon {
  background: #edf5f0;
  color: #4a725c;
}
.spacefs-col:nth-child(1) .spacefs-item:nth-of-type(1):hover .spacefs-item-icon,
.spacefs-item.pastel-sage:hover .spacefs-item-icon {
  background: #dfeee4;
  color: #385947;
  transform: scale(1.06);
}

/* 2. Soft Sky Blue Pastel */
.spacefs-col:nth-child(1) .spacefs-item:nth-of-type(2) .spacefs-item-icon,
.spacefs-item.pastel-sky .spacefs-item-icon {
  background: #eef5fb;
  color: #426b8e;
}
.spacefs-col:nth-child(1) .spacefs-item:nth-of-type(2):hover .spacefs-item-icon,
.spacefs-item.pastel-sky:hover .spacefs-item-icon {
  background: #e0edf7;
  color: #2f526f;
  transform: scale(1.06);
}

/* 3. Warm Wheat / Sand Pastel */
.spacefs-col:nth-child(1) .spacefs-item:nth-of-type(3) .spacefs-item-icon,
.spacefs-item.pastel-sand .spacefs-item-icon {
  background: #f9f4ed;
  color: #7d6044;
}
.spacefs-col:nth-child(1) .spacefs-item:nth-of-type(3):hover .spacefs-item-icon,
.spacefs-item.pastel-sand:hover .spacefs-item-icon {
  background: #f2e7dc;
  color: #634b33;
  transform: scale(1.06);
}

/* 4. Dusty Slate / Muted Stone */
.spacefs-col:nth-child(1) .spacefs-item:nth-of-type(4) .spacefs-item-icon,
.spacefs-item.pastel-slate .spacefs-item-icon {
  background: #f1f3f6;
  color: #555f6e;
}
.spacefs-col:nth-child(1) .spacefs-item:nth-of-type(4):hover .spacefs-item-icon,
.spacefs-item.pastel-slate:hover .spacefs-item-icon {
  background: #e3e7ee;
  color: #3d4653;
  transform: scale(1.06);
}

/* 5. Muted Terracotta / Peach Pastel */
.spacefs-col:nth-child(2) .spacefs-item:nth-of-type(1) .spacefs-item-icon,
.spacefs-item.pastel-clay .spacefs-item-icon {
  background: #faf1ee;
  color: #8c5d50;
}
.spacefs-col:nth-child(2) .spacefs-item:nth-of-type(1):hover .spacefs-item-icon,
.spacefs-item.pastel-clay:hover .spacefs-item-icon {
  background: #f5e2dc;
  color: #6e4337;
  transform: scale(1.06);
}

/* 6. Soft Indigo / Periwinkle Pastel */
.spacefs-col:nth-child(2) .spacefs-item:nth-of-type(2) .spacefs-item-icon,
.spacefs-item.pastel-indigo .spacefs-item-icon {
  background: #f1f2fa;
  color: #555382;
}
.spacefs-col:nth-child(2) .spacefs-item:nth-of-type(2):hover .spacefs-item-icon,
.spacefs-item.pastel-indigo:hover .spacefs-item-icon {
  background: #e3e5f5;
  color: #3f3d6b;
  transform: scale(1.06);
}

/* 7. Soft Mint Pastel */
.spacefs-col:nth-child(2) .spacefs-item:nth-of-type(3) .spacefs-item-icon,
.spacefs-item.pastel-mint .spacefs-item-icon {
  background: #edf6f4;
  color: #45746b;
}
.spacefs-col:nth-child(2) .spacefs-item:nth-of-type(3):hover .spacefs-item-icon,
.spacefs-item.pastel-mint:hover .spacefs-item-icon {
  background: #dcf0ec;
  color: #325851;
  transform: scale(1.06);
}

/* 8. Soft Lavender / Mauve Pastel */
.spacefs-col:nth-child(2) .spacefs-item:nth-of-type(4) .spacefs-item-icon,
.spacefs-item.pastel-lavender .spacefs-item-icon {
  background: #f5f1f8;
  color: #6d517c;
}
.spacefs-col:nth-child(2) .spacefs-item:nth-of-type(4):hover .spacefs-item-icon,
.spacefs-item.pastel-lavender:hover .spacefs-item-icon {
  background: #ede1f2;
  color: #553c62;
  transform: scale(1.06);
}

/* Dark theme elegant pastel luminance */
[data-theme="dark"] .spacefs-col:nth-child(1) .spacefs-item:nth-of-type(1) .spacefs-item-icon {
  background: rgba(74, 114, 92, 0.22);
  color: #96cbb0;
}
[data-theme="dark"] .spacefs-col:nth-child(1) .spacefs-item:nth-of-type(2) .spacefs-item-icon {
  background: rgba(66, 107, 142, 0.22);
  color: #97bde0;
}
[data-theme="dark"] .spacefs-col:nth-child(1) .spacefs-item:nth-of-type(3) .spacefs-item-icon {
  background: rgba(125, 96, 68, 0.22);
  color: #dbc3ab;
}
[data-theme="dark"] .spacefs-col:nth-child(1) .spacefs-item:nth-of-type(4) .spacefs-item-icon {
  background: rgba(85, 95, 110, 0.22);
  color: #aab4c2;
}
[data-theme="dark"] .spacefs-col:nth-child(2) .spacefs-item:nth-of-type(1) .spacefs-item-icon {
  background: rgba(140, 93, 80, 0.22);
  color: #dfb2a7;
}
[data-theme="dark"] .spacefs-col:nth-child(2) .spacefs-item:nth-of-type(2) .spacefs-item-icon {
  background: rgba(85, 83, 130, 0.22);
  color: #b7b4e2;
}
[data-theme="dark"] .spacefs-col:nth-child(2) .spacefs-item:nth-of-type(3) .spacefs-item-icon {
  background: rgba(69, 116, 107, 0.22);
  color: #94cdbf;
}
[data-theme="dark"] .spacefs-col:nth-child(2) .spacefs-item:nth-of-type(4) .spacefs-item-icon {
  background: rgba(109, 81, 124, 0.22);
  color: #cfafe0;
}

.spacefs-item-content {
  display: flex;
  flex-direction: column;
}

.spacefs-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

.spacefs-item-desc {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Divider */
.spacefs-divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  margin: 1.25rem 0 1rem 0;
  opacity: 0;
  transform: scaleX(0.95);
  transition: opacity 0.16s ease 0s, transform 0.16s ease 0s;
}

.spacefs-morph-card.is-open .spacefs-divider {
  opacity: 1;
  transform: scaleX(1);
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.28, 1) 0.14s,
              transform 0.44s cubic-bezier(0.16, 1, 0.28, 1) 0.14s;
}

/* Panel Footer */
.spacefs-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0 0.4rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.16s ease 0s, transform 0.16s ease 0s;
}

.spacefs-morph-card.is-open .spacefs-panel-footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.28, 1) 0.18s,
              transform 0.44s cubic-bezier(0.16, 1, 0.28, 1) 0.18s;
}

.spacefs-footer-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spacefs-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.spacefs-cta-primary {
  background: var(--brand);
  color: #ffffff;
}

.spacefs-cta-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.spacefs-cta-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.spacefs-cta-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.spacefs-footer-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
}


/* ==========================================================================
   COMPANY SHOWCASE (pinned section: a tap built for each kind of company)
   ========================================================================== */
.hero-eyebrow {
  display: inline-block;
  margin: 0 auto 1.25rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border, rgba(127, 127, 127, 0.3));
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg-muted, #6b7280);
}
#hero .v2-container { text-align: center; }

.co-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 1.5rem;
}
.co-list { display: flex; flex-direction: column; gap: 0.6rem; }
.co-item {
  display: flex; align-items: center; gap: 1rem;
  width: 100%; padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.6);
  text-align: left; font: inherit; cursor: pointer;
  transition: background 0.35s, border-color 0.35s, color 0.35s, transform 0.35s;
}
.co-item:hover { color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.co-item.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff; transform: translateX(6px);
}
.co-item-num { font-family: 'Google Sans Code', monospace; font-size: 0.8rem; opacity: 0.6; }
.co-item-body { display: flex; flex-direction: column; gap: 0.15rem; }
.co-item-name { font-weight: 700; font-size: 1.1rem; }
.co-item-line { font-size: 0.9rem; opacity: 0.75; }

.co-visual { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.co-object {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1); color: #fff;
  font-size: 0.85rem; font-weight: 600;
}
.co-object-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4FB0CF;
  box-shadow: 0 0 0 0 rgba(79, 176, 207, 0.6);
  animation: co-pulse 2s infinite;
}
@keyframes co-pulse {
  70% { box-shadow: 0 0 0 10px rgba(79, 176, 207, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 176, 207, 0); }
}
.co-phone {
  position: relative; width: min(300px, 100%); min-height: 330px;
  background: #fff; color: #0B0C0F; border-radius: 28px;
  padding: 1.5rem; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.co-panel {
  position: absolute; inset: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
}
.co-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.co-panel-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #4A4F58; }
.co-panel-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.4rem; color: #0B0C0F !important; }
.co-panel-row {
  padding: 0.8rem 1rem; border-radius: 12px; background: #F0F2F5;
  font-size: 0.9rem; font-weight: 600; color: #0B0C0F;
}
.co-panel-row-strong { background: #0B0C0F; color: #fff; }

@media (max-width: 850px) {
  .co-stage { grid-template-columns: 1fr; gap: 1.25rem; }
  .co-list { flex-direction: row; overflow-x: auto; gap: 0.5rem; padding-bottom: 0.25rem; }
  .co-item { min-width: 200px; padding: 0.75rem 1rem; }
  .co-item.is-active { transform: none; }
  .co-item-line, .co-item-num { display: none; }
  .co-phone { min-height: 290px; }
}
@media (prefers-reduced-motion: reduce) {
  .co-object-dot { animation: none; }
  .co-panel, .co-item { transition: none; }
}


/* ==========================================================================
   DARK ACT: full-bleed, no containers. One stretch of the page fades to
   charcoal as you scroll in, and back to the page colour as you scroll out.
   ========================================================================== */
.dark-act {
  position: relative;
  width: 100%;
  margin: 0;
  padding-bottom: 38vh;
  background: linear-gradient(to bottom, #16181D 0, #16181D calc(100% - 80vh), color-mix(in srgb, var(--white-100) 0%, #16181D) calc(100% - 80vh + 0vh), color-mix(in srgb, var(--white-100) 2.8%, #16181D) calc(100% - 80vh + 8.0vh), color-mix(in srgb, var(--white-100) 10.4%, #16181D) calc(100% - 80vh + 16.0vh), color-mix(in srgb, var(--white-100) 21.6%, #16181D) calc(100% - 80vh + 24.0vh), color-mix(in srgb, var(--white-100) 35.2%, #16181D) calc(100% - 80vh + 32.0vh), color-mix(in srgb, var(--white-100) 50.0%, #16181D) calc(100% - 80vh + 40.0vh), color-mix(in srgb, var(--white-100) 64.8%, #16181D) calc(100% - 80vh + 48.0vh), color-mix(in srgb, var(--white-100) 78.4%, #16181D) calc(100% - 80vh + 56.0vh), color-mix(in srgb, var(--white-100) 89.6%, #16181D) calc(100% - 80vh + 64.0vh), color-mix(in srgb, var(--white-100) 97.2%, #16181D) calc(100% - 80vh + 72.0vh), color-mix(in srgb, var(--white-100) 100%, #16181D) calc(100% - 80vh + 80vh));
}
/* Entry feather: rises out of the page above the act (eased, so no visible edge) */
.dark-act::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -60vh; height: 60vh;
  pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, #16181D 0%, transparent) 0%, color-mix(in srgb, #16181D 2.8%, transparent) 10%, color-mix(in srgb, #16181D 10.4%, transparent) 20%, color-mix(in srgb, #16181D 21.6%, transparent) 30%, color-mix(in srgb, #16181D 35.2%, transparent) 40%, color-mix(in srgb, #16181D 50.0%, transparent) 50%, color-mix(in srgb, #16181D 64.8%, transparent) 60%, color-mix(in srgb, #16181D 78.4%, transparent) 70%, color-mix(in srgb, #16181D 89.6%, transparent) 80%, color-mix(in srgb, #16181D 97.2%, transparent) 90%, color-mix(in srgb, #16181D 100%, transparent) 100%);
}
/* The two sections lose their capsule look and sit directly on the act */
.dark-act > #transformation,
.dark-act > #sticky-cards {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.dark-act > #transformation { margin-top: 0; margin-bottom: 0; }
/* The marquee above becomes borderless so the fade has nothing to collide with */
.for-home-logos {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
/* Light stack cards sit on charcoal now, so give them a solid light face */
.dark-act .stack-card:nth-child(n+5) { --card-white: #F2F4F7; }
@media (prefers-reduced-motion: reduce) { .dark-act, .dark-act::before { transition: none; } }

/* ==========================================================================
   HOW WE WORK (four steps + a closing band)
   ========================================================================== */
.hww-steps {
  list-style: none;
  margin: 3.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: none;
  position: relative;
}
/* a thin line running through the step numbers */
.hww-steps::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--border-medium);
}
.hww-step { position: relative; text-align: center; padding: 0 0.5rem; }
.hww-num {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--fg);
  color: var(--paper, #fff);
  font-family: 'Google Sans Code', monospace;
  font-size: 0.85rem;
  font-weight: 600;
}
.hww-title { font-size: 1.25rem; margin: 0 0 0.5rem; }
.hww-step p { max-width: 24ch; margin: 0 auto; font-size: 0.98rem; }

.hww-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding: 1.25rem 1.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  background: var(--neutral-2);
}
.hww-band-text { color: var(--fg-soft); }
.hww-band-text strong { color: var(--fg); }

@media (max-width: 850px) {
  .hww-steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .hww-steps::before { display: none; }
}
@media (max-width: 520px) {
  .hww-steps { grid-template-columns: 1fr; }
  .hww-band { border-radius: 24px; justify-content: center; text-align: center; }
}


/* ---- Dark act refinement: marquee stays visible, fade starts BELOW it ----
   Layout top to bottom: [30vh breathing room] -> eased light-to-charcoal ramp (45vh)
   -> charcoal -> eased charcoal-to-light ramp (80vh). */
.dark-act {
  padding-top: 30vh;
  background: linear-gradient(to bottom, color-mix(in srgb, #16181D 0%, var(--white-100)) 0vh, color-mix(in srgb, #16181D 2.8%, var(--white-100)) 4.5vh, color-mix(in srgb, #16181D 10.4%, var(--white-100)) 9.0vh, color-mix(in srgb, #16181D 21.6%, var(--white-100)) 13.5vh, color-mix(in srgb, #16181D 35.2%, var(--white-100)) 18.0vh, color-mix(in srgb, #16181D 50.0%, var(--white-100)) 22.5vh, color-mix(in srgb, #16181D 64.8%, var(--white-100)) 27.0vh, color-mix(in srgb, #16181D 78.4%, var(--white-100)) 31.5vh, color-mix(in srgb, #16181D 89.6%, var(--white-100)) 36.0vh, color-mix(in srgb, #16181D 97.2%, var(--white-100)) 40.5vh, color-mix(in srgb, #16181D 100%, var(--white-100)) 45vh, #16181D 45vh, #16181D calc(100% - 80vh), color-mix(in srgb, var(--white-100) 0%, #16181D) calc(100% - 80vh + 0vh), color-mix(in srgb, var(--white-100) 2.8%, #16181D) calc(100% - 80vh + 8.0vh), color-mix(in srgb, var(--white-100) 10.4%, #16181D) calc(100% - 80vh + 16.0vh), color-mix(in srgb, var(--white-100) 21.6%, #16181D) calc(100% - 80vh + 24.0vh), color-mix(in srgb, var(--white-100) 35.2%, #16181D) calc(100% - 80vh + 32.0vh), color-mix(in srgb, var(--white-100) 50.0%, #16181D) calc(100% - 80vh + 40.0vh), color-mix(in srgb, var(--white-100) 64.8%, #16181D) calc(100% - 80vh + 48.0vh), color-mix(in srgb, var(--white-100) 78.4%, #16181D) calc(100% - 80vh + 56.0vh), color-mix(in srgb, var(--white-100) 89.6%, #16181D) calc(100% - 80vh + 64.0vh), color-mix(in srgb, var(--white-100) 97.2%, #16181D) calc(100% - 80vh + 72.0vh), color-mix(in srgb, var(--white-100) 100%, #16181D) calc(100% - 80vh + 80vh));
}
.dark-act::before { display: none; }
/* marquee gets its original card back */
.for-home-logos {
  background: var(--white-50) !important;
  border-color: var(--border-subtle) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

/* ==========================================================================
   WHAT PEOPLE HAVE SAID: tilted snaps and quote cards
   ========================================================================== */
.wps-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
  align-items: start;
}
.wps-card {
  position: relative;
  margin: 0;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.35), 0 2px 6px rgba(15, 23, 42, 0.05);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.28, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.28, 1);
}
.wps-card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 30px 60px -24px rgba(15, 23, 42, 0.45), 0 2px 6px rgba(15, 23, 42, 0.05);
}
/* every other column drops a little so the wall feels hand-laid */
.wps-wall > :nth-child(3n+2) { margin-top: 2.5rem; }

.wps-quote { padding: 2rem 1.75rem 1.5rem; }
.wps-mark {
  display: block;
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 0.6;
  height: 1.6rem;
  color: var(--fg-muted);
  opacity: 0.45;
}
.wps-quote blockquote {
  margin: 0 0 1.4rem;
  font-size: 1.12rem;
  line-height: 1.5;
  color: #0B0C0F;
  font-weight: 500;
}
.wps-quote figcaption { display: flex; flex-direction: column; gap: 0.1rem; }
.wps-who { font-weight: 700; color: #0B0C0F; font-size: 0.95rem; }
.wps-role { color: #6b7280; font-size: 0.85rem; }

/* polaroid-style snap */
.wps-snap { padding: 0.75rem 0.75rem 0.5rem; }
.wps-photo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 4.2;
  border-radius: 12px;
  object-fit: cover;
  color: rgba(255, 255, 255, 0.85);
}
.wps-warm { background: radial-gradient(120% 90% at 20% 10%, #f4d9b5, #d99a6c 55%, #8a5a43); }
.wps-cool { background: radial-gradient(120% 90% at 80% 10%, #cfe3ee, #7fa4bd 55%, #3f5a70); }
.wps-caption {
  padding: 0.85rem 0.4rem 0.6rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: #3a3f48;
  text-align: center;
}

/* honest marker so sample content is never mistaken for real feedback */
.wps-sample {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.06);
  color: #6b7280;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wps-snap .wps-sample { background: rgba(255, 255, 255, 0.75); }

@media (max-width: 900px) {
  .wps-wall { grid-template-columns: 1fr 1fr; }
  .wps-wall > :nth-child(3n+2) { margin-top: 0; }
  .wps-wall > :nth-child(even) { margin-top: 2rem; }
}
@media (max-width: 560px) {
  .wps-wall { grid-template-columns: 1fr; }
  .wps-wall > :nth-child(even) { margin-top: 0; }
  .wps-card { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .wps-card { transition: none; } }

/* ==========================================================================
   FLOATING NAV: three glass capsules (logo, Menu, actions), no bar.
   --nd (0 to 1) is set by script from the page background under the nav,
   so the capsules melt smoothly from light glass to dark glass with the fade.
   ========================================================================== */
#main-nav {
  --nd: 0;
  --nd-pct: calc(var(--nd) * 100%);
  --nav-fg: color-mix(in srgb, #FFFFFF var(--nd-pct), #0B0C0F);
  --nav-fg-inv: color-mix(in srgb, #0B0C0F var(--nd-pct), #FFFFFF);
  --nav-glass: color-mix(in srgb, rgba(22, 24, 29, 0.62) var(--nd-pct), rgba(255, 255, 255, 0.66));
  --nav-line: color-mix(in srgb, rgba(255, 255, 255, 0.16) var(--nd-pct), rgba(15, 23, 42, 0.09));
  pointer-events: none;           /* the empty strip never blocks clicks */
  background: transparent !important;
}
#main-nav::before { display: none !important; }   /* old frosted slab */
.site-nav-backdrop { display: none; }              /* old blur band */
#main-nav .nav-logo,
#main-nav .spacefs-menu-wrapper,
#main-nav .nav-actions { pointer-events: auto; }

/* shared capsule look */
#main-nav .nav-logo,
#main-nav .nav-actions {
  height: 48px;
  border-radius: 9999px;
  background: var(--nav-glass);
  border: 1px solid var(--nav-line);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, calc(0.5 - var(--nd) * 0.38)), 0 6px 20px -10px rgba(15, 23, 42, 0.25);
  transition: box-shadow 0.3s ease;
}
#main-nav.scrolled .nav-logo,
#main-nav.scrolled .nav-actions { box-shadow: inset 0 1px 0 rgba(255, 255, 255, calc(0.5 - var(--nd) * 0.38)), 0 12px 30px -12px rgba(15, 23, 42, 0.38); }

/* logo capsule: the two logo files cross-fade with --nd */
#main-nav .nav-logo {
  position: relative; padding: 0 4px; height: 56px;
  background: none; border: 0; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
#main-nav.scrolled .nav-logo { box-shadow: none; }
#main-nav .taggy-logo-img { height: 44px; }
:root:not([data-theme="dark"]) #main-nav .taggy-logo-img.logo-light { opacity: calc(1 - var(--nd)); }
:root:not([data-theme="dark"]) #main-nav .taggy-logo-img.logo-dark {
  display: block;
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  opacity: var(--nd);
}

/* menu capsule: same glass, colour follows --nd (open state keeps its light panel) */
.spacefs-morph-card:not(.is-open) .spacefs-trigger-bar {
  background: var(--nav-glass);
  border-color: var(--nav-line);
}
.spacefs-morph-card:not(.is-open) .spacefs-menu-btn { color: var(--nav-fg); }

/* actions capsule: text links + one filled button */
#main-nav .nav-actions { padding: 4px; gap: 2px; }
#main-nav .nav-actions .nav-login-link,
#main-nav .nav-actions .button-pri.black {
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--nav-fg);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 0.25s ease;
}
#main-nav .nav-actions .nav-login-link::after { display: none; }
#main-nav .nav-actions .nav-login-link:hover,
#main-nav .nav-actions .button-pri.black:hover {
  background: color-mix(in srgb, var(--nav-fg) 9%, transparent);
  transform: none;
  color: var(--nav-fg);
}
#main-nav .nav-actions .button-pri:not(.black) {
  height: 40px;
  padding: 0 20px;
  font-size: 0.92rem;
  background: var(--nav-fg);
  color: var(--nav-fg-inv);
  border: 0;
  box-shadow: none;
}
#main-nav .nav-actions .button-pri:not(.black):hover { transform: translateY(-1px); }

@media (max-width: 900px) {
  #main-nav .nav-actions .nav-login-link,
  #main-nav .nav-actions .button-pri.black { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #main-nav .nav-logo, #main-nav .nav-actions { transition: none; }
}

/* Hero scene: lifestyle flat-lay IS the page surface — full-bleed, not a photo card */
#hero.v2-section.hero-scene,
#hero.hero-scene {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f7f7f5 !important;
  box-shadow: none !important;
  overflow: hidden;
}
.hero-scene-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  /* Match the flat-lay aspect so cover doesn’t zoom into the tote */
  aspect-ratio: 16 / 9;
  min-height: clamp(520px, 68vh, 780px);
  max-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f7f7f5;
}
.hero-scene-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.hero-scene-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Soft center pool for type — products stay visible at the edges */
  background:
    radial-gradient(ellipse 40% 36% at 50% 48%, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.28) 55%, transparent 78%),
    linear-gradient(180deg, rgba(247,247,245,0.55) 0%, transparent 14%, transparent 78%, rgba(247,247,245,0.88) 100%);
}
.hero-scene-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 38rem;
  padding: clamp(4.5rem, 10vh, 6.5rem) 1.25rem clamp(3.25rem, 7vh, 5rem);
}
.hero-scene-copy .hero-eyebrow {
  margin: 0 0 1.1rem;
  border: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink, #0B0C0F);
}
.hero-scene-copy .hero-title {
  text-align: center;
  margin: 0;
  max-width: 12em;
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.hero-scene-copy .hero-subtitle {
  text-align: center;
  margin: 1.25rem auto 1.85rem;
  max-width: 28em;
  color: #4B5563;
}
.hero-scene-copy .btn-wrap {
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
@media (max-width: 860px) {
  .hero-scene-stage {
    aspect-ratio: auto;
    min-height: 100svh;
    max-height: none;
  }
  .hero-scene-bg {
    object-position: center 36%;
  }
  .hero-scene-veil {
    background:
      radial-gradient(ellipse 70% 44% at 50% 42%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.45) 55%, transparent 78%),
      linear-gradient(180deg, rgba(247,247,245,0.7) 0%, transparent 18%, transparent 70%, rgba(247,247,245,0.92) 100%);
  }
  .hero-scene-copy { padding: 6.5rem 1.1rem 3.5rem; }
}

/* Nav logo: plain wordmark, no capsule */
#main-nav .nav-logo {
  height: auto;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
:root:not([data-theme="dark"]) #main-nav .taggy-logo-img.logo-dark { left: 0; }

/* ==========================================================================
   Company showcase scenes: object (door / stand / counter / cards) + phone
   ========================================================================== */
.co-visual { width: 100%; }
.co-scenes { position: relative; width: 100%; min-height: 440px; }
.co-scenes .co-panel.co-scene {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
}
.co-art { position: relative; height: 340px; display: flex; align-items: center; justify-content: center; }
.co-scenes .co-phone {
  width: 250px; min-height: 0; padding: 0; overflow: hidden; border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 6px #0B0C0F, 0 0 0 7px rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
}
.co-ph-hero { padding: 1.4rem 1rem 1rem; color: #fff; display: flex; flex-direction: column; gap: 0.2rem; }
.co-ph-kicker { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.co-ph-title { font-size: 1.15rem; font-weight: 700; line-height: 1.15; }
.co-ph-sub { font-size: 0.75rem; opacity: 0.85; }
.co-ph-body { padding: 0.8rem; display: flex; flex-direction: column; gap: 0.5rem; }
.co-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.7rem; border-radius: 10px; background: #F0F2F5; font-weight: 600; font-size: 0.75rem; }
.co-ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 0.7rem; font-style: normal; flex: none; }
.co-ic-ok { background: #D7F2E3; color: #1B7F4B; }
.co-wifi { display: flex; align-items: center; gap: 0.55rem; padding: 0.65rem 0.7rem; border-radius: 12px; background: #E6F6F3; }
.co-wifi svg { width: 22px; height: 22px; flex: none; fill: none; stroke: #1F7A72; stroke-width: 2; stroke-linecap: round; }
.co-wifi svg circle { fill: #1F7A72; stroke: none; }
.co-wifi > span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.co-wifi b { font-size: 0.8rem; } .co-wifi i { font-style: normal; font-size: 0.68rem; color: #4A4F58; }
.co-wifi em { font-style: normal; font-weight: 700; font-size: 0.7rem; padding: 0.25rem 0.6rem; border-radius: 9999px; background: #0B0C0F; color: #fff; }
.co-tabs { display: flex; gap: 0.35rem; }
.co-tabs b, .co-tabs span { padding: 0.3rem 0.65rem; border-radius: 9999px; background: #F0F2F5; font-size: 0.7rem; font-weight: 600; color: #4A4F58; }
.co-tabs b { background: #0B0C0F; color: #fff; }
.co-menu { display: flex; align-items: center; gap: 0.55rem; }
.co-dish { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; flex: none; }
.co-menu > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.co-menu b { font-size: 0.78rem; } .co-menu i { font-style: normal; font-size: 0.66rem; color: #6B7280; }
.co-menu em { font-style: normal; font-weight: 700; font-size: 0.75rem; }
.co-rate { padding: 0.7rem; border-radius: 12px; background: #EAF1FC; display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.72rem; font-weight: 600; }
.co-rate b { color: #E8A23A; font-size: 1rem; letter-spacing: 0.1em; }
.co-btn { text-align: center; padding: 0.65rem; border-radius: 10px; background: var(--acc, #4F8BE0); color: #fff; font-weight: 700; font-size: 0.78rem; }
.co-btn-dark { background: #0B0C0F; }
.co-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.co-actions span { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.55rem 0; border-radius: 10px; background: #F0F2F5; font-size: 1rem; }
.co-actions i { font-style: normal; font-size: 0.65rem; font-weight: 600; }

/* NFC glyph + tap ripples */
.co-nfc { width: 22px; height: 22px; display: inline-grid; place-items: center; flex: none; }
.co-nfc svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.co-ripple {
  position: absolute; width: 90px; height: 90px; border-radius: 50%;
  border: 2px solid var(--acc, #3FB6A8); opacity: 0; pointer-events: none;
  animation: co-ripple 2.6s ease-out infinite;
}
.co-ripple-2 { animation-delay: 1.3s; }
@keyframes co-ripple { 0% { transform: scale(0.4); opacity: 0.7; } 100% { transform: scale(2.2); opacity: 0; } }

/* 01 door */
.co-art-door .co-door { width: 170px; height: 320px; border-radius: 10px 10px 0 0; background: linear-gradient(160deg, #3a2f28, #241c17); position: relative; box-shadow: inset 0 0 0 6px rgba(255,255,255,0.05); }
.co-door-knob { position: absolute; right: 16px; top: 52%; width: 14px; height: 14px; border-radius: 50%; background: #C9B27A; }
.co-art-door .co-plate { position: absolute; top: 24%; left: 50%; transform: translateX(-50%); min-width: 120px; padding: 0.7rem 0.9rem; border-radius: 10px; background: #F4F1EA; color: #1A1A1A; display: flex; flex-direction: column; align-items: center; gap: 0.1rem; box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.co-plate-no { font-size: 1.7rem; font-weight: 700; line-height: 1; }
.co-plate-name { font-size: 0.72rem; font-weight: 600; }
.co-art-door .co-nfc { color: #1F7A72; margin-top: 0.3rem; }
.co-art-door .co-ripple { top: 24%; left: 50%; margin: 10px 0 0 -45px; }

/* 02 table */
.co-art-table .co-stand { position: relative; z-index: 2; width: 120px; padding: 0.9rem 0.7rem; border-radius: 12px 12px 6px 6px; background: #F4F1EA; color: #1A1A1A; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; text-align: center; margin-bottom: 22px; transform: rotate(-3deg); box-shadow: 0 10px 24px rgba(0,0,0,0.4); }
.co-stand-no { font-size: 1.8rem; font-weight: 700; line-height: 1; }
.co-stand-txt { font-size: 0.72rem; font-weight: 600; line-height: 1.25; }
.co-art-table .co-nfc { color: #B8641C; }
.co-art-table .co-cup { position: absolute; bottom: 62px; right: 18%; width: 46px; height: 36px; border-radius: 4px 4px 18px 18px; background: #E8E2D6; }
.co-steam { position: absolute; left: 50%; top: -18px; width: 3px; height: 16px; border-radius: 3px; background: rgba(255,255,255,0.35); }
.co-tabletop { position: absolute; left: 6%; right: 6%; bottom: 40px; height: 14px; border-radius: 6px; background: #5a4330; }
.co-art-table .co-ripple { top: 30%; left: 50%; margin-left: -45px; }

/* 03 counter */
.co-art-counter .co-acrylic { position: relative; z-index: 2; width: 130px; padding: 0.9rem 0.7rem; border-radius: 10px; background: rgba(255,255,255,0.92); color: #1A1A1A; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; margin-bottom: 26px; box-shadow: 0 10px 24px rgba(0,0,0,0.4); }
.co-acrylic-stars { color: #E8A23A; letter-spacing: 0.1em; font-size: 0.95rem; }
.co-acrylic-txt { font-size: 0.76rem; font-weight: 700; }
.co-art-counter .co-nfc { color: #2D5FB0; }
.co-counter { position: absolute; left: 4%; right: 4%; bottom: 44px; height: 18px; border-radius: 8px; background: #3a3f48; }
.co-art-counter .co-ripple { top: 28%; left: 50%; margin-left: -45px; }

/* 04 team cards */
.co-art-team { perspective: 800px; }
.co-tcard { position: absolute; width: 150px; padding: 0.9rem; border-radius: 14px; background: linear-gradient(145deg, #5B3FB0, #9A7BE8); color: #fff; display: flex; flex-direction: column; gap: 0.1rem; box-shadow: 0 14px 30px rgba(0,0,0,0.4); }
.co-tcard b { font-size: 0.85rem; } .co-tcard i { font-style: normal; font-size: 0.7rem; opacity: 0.8; }
.co-tav { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.25); display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; margin-bottom: 0.4rem; }
.co-tcard-1 { transform: translate(-46px, -34px) rotate(-12deg); opacity: 0.7; }
.co-tcard-2 { transform: translate(-14px, -8px) rotate(-5deg); opacity: 0.85; }
.co-tcard-3 { transform: translate(22px, 20px) rotate(3deg); }
.co-tcard-3 .co-nfc { position: absolute; top: 0.8rem; right: 0.8rem; color: #fff; }
.co-art-team .co-ripple { top: 50%; left: 50%; margin: -20px 0 0 -20px; }

@media (max-width: 850px) {
  .co-scenes { min-height: 400px; }
  .co-scenes .co-panel.co-scene { grid-template-columns: 1fr; justify-items: center; }
  .co-art { display: none; }
}
@media (prefers-reduced-motion: reduce) { .co-ripple { animation: none; } }

/* Hero scene inherits page white — products sit on the surface */

/* ==========================================================================
   Sector chips: tag-shaped, themed per sector on hover
   ========================================================================== */
.for-home-logos { position: relative; isolation: isolate; overflow: hidden; }
.for-home-logos::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 120% at 50% 100%, color-mix(in srgb, var(--sector, #888) 22%, transparent), transparent 70%);
  opacity: 0; transition: opacity 0.5s ease;
}
.for-home-logos.is-tinted::before { opacity: 1; }
.for-home-logos .marquee-container { padding: 18px 0; }
.for-home-logos .marquee-track { gap: 1rem; align-items: center; }
.sector-chip {
  --acc: #888;
  position: relative; display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.85rem 1.5rem 0.85rem 2.2rem; border-radius: 18px;
  background: #fff; color: var(--ink); font: inherit; font-weight: 700; font-size: 1.05rem;
  border: 1px solid rgba(15, 23, 42, 0.1); box-shadow: 0 4px 14px rgba(11, 12, 15, 0.05);
  cursor: pointer; white-space: nowrap; z-index: 0;
  transition:
    transform 0.4s cubic-bezier(.2,.8,.2,1),
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    color 0.35s ease,
    opacity 0.4s ease,
    filter 0.4s ease;
}
.sector-hole { position: absolute; left: 0.8rem; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: rgba(15, 23, 42, 0.12); box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.25); transition: background 0.3s, box-shadow 0.3s; }
.sector-ico {
  width: 22px; height: 22px; color: var(--acc); flex: none;
  transform-origin: center; transform-box: fill-box;
  transition: color 0.3s, transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.for-home-logos.is-tinted .sector-chip:not(.is-on) {
  opacity: 0.38;
  filter: blur(2.5px) saturate(0.7);
  transform: scale(0.94);
}
.for-home-logos.is-tinted .sector-chip.is-on {
  z-index: 2;
  opacity: 1;
  filter: none;
  transform: translateY(-5px) scale(1.06);
  background: color-mix(in srgb, var(--acc) 16%, #fff);
  border-color: color-mix(in srgb, var(--acc) 55%, transparent);
  box-shadow:
    0 18px 36px -16px color-mix(in srgb, var(--acc) 55%, transparent),
    0 0 0 1px color-mix(in srgb, var(--acc) 25%, transparent);
  outline: none;
}
.for-home-logos.is-tinted .sector-chip.is-on .sector-hole {
  background: var(--acc);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 22%, transparent);
}
.for-home-logos.is-tinted .sector-chip.is-on .sector-ico { transform: scale(1.08); }
.sector-chip:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* Per-sector icon pops on click */
.sector-chip.is-pop .sector-ico { animation-duration: 0.7s; animation-timing-function: cubic-bezier(.2,.8,.2,1); animation-fill-mode: both; }
.sector-chip.is-pop[data-sector="hotels"] .sector-ico { animation-name: ico-hotels; }
.sector-chip.is-pop[data-sector="restaurants"] .sector-ico { animation-name: ico-restaurants; }
.sector-chip.is-pop[data-sector="clinics"] .sector-ico { animation-name: ico-clinics; }
.sector-chip.is-pop[data-sector="retail"] .sector-ico { animation-name: ico-retail; }
.sector-chip.is-pop[data-sector="agencies"] .sector-ico { animation-name: ico-agencies; }
.sector-chip.is-pop[data-sector="teams"] .sector-ico { animation-name: ico-teams; }
@keyframes ico-hotels {
  0% { transform: scale(1.08) rotate(0deg); }
  30% { transform: scale(1.2) rotate(-10deg); }
  55% { transform: scale(1.12) rotate(8deg); }
  100% { transform: scale(1.08) rotate(0deg); }
}
@keyframes ico-restaurants {
  0% { transform: scale(1.08) translateY(0) rotate(0deg); }
  25% { transform: scale(1.18) translateY(-3px) rotate(-12deg); }
  50% { transform: scale(1.14) translateY(1px) rotate(8deg); }
  75% { transform: scale(1.1) translateY(-1px) rotate(-4deg); }
  100% { transform: scale(1.08) translateY(0) rotate(0deg); }
}
@keyframes ico-clinics {
  0% { transform: scale(1.08); }
  35% { transform: scale(1.35); }
  55% { transform: scale(0.95); }
  100% { transform: scale(1.08); }
}
@keyframes ico-retail {
  0% { transform: scale(1.08) rotate(0deg); }
  20% { transform: scale(1.16) rotate(-14deg); }
  45% { transform: scale(1.16) rotate(12deg); }
  70% { transform: scale(1.1) rotate(-6deg); }
  100% { transform: scale(1.08) rotate(0deg); }
}
@keyframes ico-agencies {
  0% { transform: scale(1.08) rotateY(0deg); }
  45% { transform: scale(1.14) rotateY(180deg); }
  100% { transform: scale(1.08) rotateY(360deg); }
}
@keyframes ico-teams {
  0% { transform: scale(1.08) translateY(0); }
  25% { transform: scale(1.22) translateY(-4px); }
  45% { transform: scale(1.05) translateY(1px); }
  65% { transform: scale(1.16) translateY(-2px); }
  100% { transform: scale(1.08) translateY(0); }
}

.sector-caption { margin: 1.1rem auto 0; min-height: 1.6em; max-width: 36em; font-size: 1rem; color: var(--fg-soft, #4A4F58); text-align: center; transition: color 0.3s, opacity 0.35s; }
.for-home-logos.is-tinted .sector-caption { color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .sector-chip, .for-home-logos::before { transition: none; }
  .for-home-logos.is-tinted .sector-chip:not(.is-on) { filter: none; opacity: 0.45; transform: none; }
  .for-home-logos.is-tinted .sector-chip.is-on { transform: none; }
  .sector-chip.is-pop .sector-ico { animation: none !important; }
}

/* ==========================================================================
   Contact: dark WhatsApp card
   ========================================================================== */
.contact-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem); border-radius: 32px;
  background: radial-gradient(80% 120% at 100% 0%, rgba(37, 211, 102, 0.14), transparent 60%), #17191E;
  color: #fff;
}
.contact-card .hero-eyebrow { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.25); }
.contact-title { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 450; color: #fff; margin: 0; max-width: 14em; }
.contact-sub { color: rgba(255,255,255,0.72); font-size: 1.1rem; line-height: 1.55; max-width: 32em; margin: 1.25rem 0 2rem; }
.wa-btn { background: #25D366 !important; color: #06210F !important; border: 0 !important; display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; }
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(37,211,102,0.6); }
.contact-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-points li { padding: 1rem 1.2rem; border-radius: 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 0.2rem; }
.contact-points b { font-size: 1rem; }
.contact-points span { font-size: 0.92rem; color: rgba(255,255,255,0.65); }
@media (max-width: 860px) { .contact-card { grid-template-columns: 1fr; } }

/* Hero: a single border (the white panel); the outer section card is flattened */
#hero.v2-section { border: 0; padding-top: 0; padding-bottom: 0; }

/* Sector photos: the whole section becomes the sector on hover */
.sector-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.sector-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,0.72), rgba(255,255,255,0.45)); }
.sector-bg.on { opacity: 1; }

/* Bento tiles: mascot art on black */
.blinq-share .tile__media--mascot { background: #0B0C0F !important; padding: 0.75rem; }
.blinq-share .tile__media--mascot img { position: absolute; inset: 0.75rem; width: calc(100% - 1.5rem); height: calc(100% - 1.5rem); object-fit: contain; display: block; }

/* Hero scene: full-bleed lifestyle surface */
#hero.v2-section.hero-scene {
  background: #f7f7f5 !important;
  box-shadow: none !important;
  border: 0 !important;
  overflow: hidden;
  margin-top: 0 !important;
}
#hero.hero-scene::before { display: none; }

/* Hero CTAs: ink pill with an orb that slides, and a quiet glass secondary */
.cta-main, .cta-ghost {
  position: relative; display: inline-flex; align-items: center; gap: 0.9rem; height: 56px;
  border-radius: 9999px; font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; isolation: isolate; overflow: hidden;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, background-color 0.3s ease, color 0.3s ease;
}
.cta-main {
  padding: 0 8px 0 28px; color: #fff;
  background: linear-gradient(180deg, #23262d 0%, #0B0C0F 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 1px 2px rgba(11,12,15,0.3), 0 14px 28px -12px rgba(11,12,15,0.55);
}
.cta-main::before { /* sheen sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.22) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 130% 0; transition: background-position 0.9s cubic-bezier(.2,.8,.2,1);
}
.cta-orb { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #0B0C0F; display: grid; place-items: center; overflow: hidden; transition: transform 0.45s cubic-bezier(.2,.8,.2,1); }
.cta-orb svg { width: 18px; height: 18px; transition: transform 0.45s cubic-bezier(.2,.8,.2,1); }
.cta-main:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 2px 4px rgba(11,12,15,0.3), 0 20px 36px -12px rgba(11,12,15,0.6); }
.cta-main:hover::before { background-position: -30% 0; }
.cta-main:hover .cta-orb { transform: scale(1.08); }
.cta-main:hover .cta-orb svg { transform: translateX(3px); }
.cta-ghost {
  padding: 0 24px 0 28px; color: var(--ink, #0B0C0F);
  background: rgba(255,255,255,0.7); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(15,23,42,0.14); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(15,23,42,0.06);
}
.cta-ghost svg { width: 18px; height: 18px; transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
.cta-ghost:hover { transform: translateY(-2px); background: #fff; border-color: rgba(15,23,42,0.3); box-shadow: inset 0 1px 0 #fff, 0 14px 28px -14px rgba(15,23,42,0.35); }
.cta-ghost:hover svg { transform: translate(3px, -3px); }
.cta-main:active, .cta-ghost:active { transform: translateY(0) scale(0.98); transition-duration: 0.12s; }
.cta-main:focus-visible, .cta-ghost:focus-visible { outline: 2px solid #0B0C0F; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .cta-main, .cta-ghost, .cta-orb, .cta-orb svg, .cta-ghost svg, .cta-main::before { transition: none; } }

/* Business cards: image slideshow in the stack card */
.stack-visual-box.card-slides { position: relative; overflow: hidden; padding: 0; }
.card-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.9s ease, transform 4.5s ease; }
.card-slide.is-on { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .card-slide { transition: none; } }

/* ==========================================================================
   Testimonials morph: constellation overview → story carousel
   ========================================================================== */
#testimonials {
  background: #F3F4F6 !important;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  scroll-margin-top: 96px;
  --tone: light;
  --fg: #0B0C0F;
  --fg-soft: #6B7280;
  --fg-muted: #9AA1AB;
}
.tmon-panel {
  position: relative;
  background: #fff;
  border-radius: 36px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 28px 64px -36px rgba(15, 23, 42, 0.35);
  min-height: clamp(540px, 68vh, 680px);
}
.tmon-overview,
.tmon-detail {
  transition: opacity 0.55s cubic-bezier(.2,.8,.2,1), transform 0.55s cubic-bezier(.2,.8,.2,1), visibility 0.55s;
}
.tmon-overview {
  position: relative;
  min-height: inherit;
  display: grid;
  place-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem 3.25rem;
}
.tmon-gridlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(12.5% - 1px),
    rgba(15, 23, 42, 0.06) calc(12.5% - 1px),
    rgba(15, 23, 42, 0.06) 12.5%
  );
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.12) 72%, transparent 100%);
}
.tmon-detail {
  position: absolute;
  inset: 0;
  padding: clamp(2rem, 4.5vw, 3.25rem) clamp(1.25rem, 3vw, 2.75rem) 1.75rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(22px) scale(0.98);
  background: #fff;
}
#testimonials[data-tmon="detail"] .tmon-overview {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.03);
  position: absolute;
  inset: 0;
}
#testimonials[data-tmon="detail"] .tmon-panel {
  background: #F7F8FA;
}
#testimonials[data-tmon="detail"] .tmon-detail {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  position: relative;
  background: transparent;
}

.tmon-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tmon-face,
.tmon-ghost {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(64px, 8vw, 96px);
  aspect-ratio: 1;
  border-radius: 20px;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), box-shadow 0.45s ease, filter 0.4s ease, opacity 0.4s ease;
  pointer-events: auto;
}
.tmon-face-lg { width: clamp(78px, 9.5vw, 112px); border-radius: 24px; }
.tmon-face {
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #e8eaee;
  box-shadow: 0 12px 28px -14px rgba(15, 23, 42, 0.4);
  cursor: pointer;
  z-index: 2;
}
.tmon-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.tmon-face:hover,
.tmon-face:focus-visible,
.tmon-face.is-active {
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) perspective(800px) rotateY(-16deg) rotateX(8deg) scale(1.14);
  box-shadow: 0 30px 50px -16px rgba(15, 23, 42, 0.55);
  z-index: 8;
  outline: none;
}
.tmon-overview.is-previewing .tmon-face:not(.is-active) {
  filter: brightness(0.92);
  opacity: 0.72;
}
.tmon-ghost {
  border: 1.5px solid rgba(15, 23, 42, 0.1);
  background: rgba(255,255,255,0.35);
  pointer-events: none;
  box-shadow: none;
}
.tmon-overview.is-previewing .tmon-ghost { opacity: 0.4; }

.tmon-tip {
  position: absolute;
  z-index: 12;
  width: min(260px, 72vw);
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px) scale(0.96);
  transition: opacity 0.35s cubic-bezier(.2,.8,.2,1), transform 0.35s cubic-bezier(.2,.8,.2,1), visibility 0.35s;
}
.tmon-tip.is-on {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}
.tmon-tip img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  background: #eef0f3;
}
.tmon-tip-copy {
  display: grid;
  align-content: center;
  gap: 0.15rem;
  text-align: left;
  min-width: 0;
}
.tmon-tip-copy span {
  font-size: 0.7rem;
  font-weight: 650;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tmon-tip-copy strong {
  font-size: 0.92rem;
  color: #0B0C0F;
  letter-spacing: -0.01em;
}
.tmon-tip-copy p {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #6B7280;
}

.tmon-overview-copy {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 34rem;
  width: min(100%, 34rem);
  margin-top: 2%;
  padding: 0 1rem;
  pointer-events: none;
}
.tmon-overview-copy .tmon-btn { pointer-events: auto; }
.tmon-pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 0.95rem;
  border-radius: 9999px;
  background: #F3F4F6;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #6B7280;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.tmon-overview .tmon-pill {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.tmon-title {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 650;
  color: #0B0C0F;
}
.tmon-title span { color: #9AA1AB; font-weight: 550; }
.tmon-title-left { text-align: left; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.tmon-sub {
  margin: 1rem auto 1.6rem;
  max-width: 28rem;
  color: #6B7280;
  font-size: 1rem;
  line-height: 1.5;
}
.tmon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 48px;
  padding: 0 1.35rem;
  border: 0;
  border-radius: 9999px;
  background: #0B0C0F;
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 28px -14px rgba(11, 12, 15, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tmon-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(11, 12, 15, 0.6); }
.tmon-btn-dark { background: #0B0C0F; color: #fff; flex: none; }
.tmon-btn.tmon-btn-ghost {
  background: #fff;
  color: #0B0C0F;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 24px -16px rgba(15, 23, 42, 0.35);
}
.tmon-btn.tmon-btn-ghost:hover {
  background: #0B0C0F;
  color: #fff;
  border-color: #0B0C0F;
}

.tmon-detail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.tmon-detail-copy { flex: 1 1 16rem; min-width: 0; }
.tmon-detail-copy .tmon-pill { margin-bottom: 0.85rem; }
.tmon-detail-head .tmon-btn { margin-left: auto; }

.tmon-carousel {
  position: relative;
  margin: 0 -0.25rem;
}
.tmon-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.35rem 2.5rem 1.25rem 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tmon-track::-webkit-scrollbar { display: none; }
.tmon-card {
  position: relative;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 0;
  min-height: 300px;
  overflow: hidden;
  box-shadow: 0 10px 30px -22px rgba(15, 23, 42, 0.35);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
}
.tmon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.45);
}
.tmon-card-front {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 1.15rem 1.2rem 1rem;
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(.2,.8,.2,1);
}
.tmon-card-sol {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(1.02);
  transition: opacity 0.45s cubic-bezier(.2,.8,.2,1), transform 0.45s cubic-bezier(.2,.8,.2,1), visibility 0.45s;
  pointer-events: none;
}
.tmon-card-sol > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tmon-card-sol::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,15,0.15) 10%, rgba(11,12,15,0.82) 100%);
}
.tmon-card-sol-copy {
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.2rem 1.2rem;
  color: #fff;
}
.tmon-card-sol-copy span {
  display: inline-flex;
  height: 24px;
  align-items: center;
  padding: 0 0.65rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.16);
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.tmon-card-sol-copy strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.tmon-card-sol-copy p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
}
.tmon-card:hover .tmon-card-front,
.tmon-card:focus-within .tmon-card-front {
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
}
.tmon-card:hover .tmon-card-sol,
.tmon-card:focus-within .tmon-card-sol {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.tmon-card-feature .tmon-card-sol-feature {
  z-index: 3;
}
.tmon-card-feature:hover .tmon-play,
.tmon-card-feature:hover .tmon-feature-meta,
.tmon-card-feature:focus-within .tmon-play,
.tmon-card-feature:focus-within .tmon-feature-meta {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tmon-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.tmon-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.tmon-card-head strong {
  display: block;
  font-size: 0.95rem;
  color: #0B0C0F;
}
.tmon-card-head span {
  display: block;
  font-size: 0.8rem;
  color: #8A919B;
}
.tmon-x {
  width: 15px;
  height: 15px;
  fill: #0B0C0F;
  opacity: 0.75;
}
.tmon-card-feature > .tmon-x {
  position: absolute;
  z-index: 2;
  top: 1.05rem;
  right: 1.05rem;
  fill: #fff;
  opacity: 0.95;
}
.tmon-x-light { fill: #fff; }
.tmon-quote {
  margin: 0;
  flex: 1;
  font-size: 1.02rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: #0B0C0F;
}
.tmon-card-front .tmon-quote { flex: 1; }
.tmon-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.1rem;
  font-size: 0.78rem;
  color: #9AA1AB;
}
.tmon-stars {
  color: #FFB800;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.tmon-card-feature {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 320px;
  border: 0;
  color: #fff;
}
.tmon-feature-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tmon-card-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.72) 100%);
}
.tmon-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #0B0C0F;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
.tmon-play svg { width: 18px; height: 18px; fill: currentColor; margin-left: 2px; }
.tmon-feature-meta {
  position: absolute;
  z-index: 2;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  display: grid;
  gap: 0.15rem;
}
.tmon-feature-meta strong { font-size: 1rem; }
.tmon-feature-meta span,
.tmon-feature-meta time { font-size: 0.8rem; opacity: 0.85; }
.tmon-feature-meta .tmon-stars { opacity: 1; }

.tmon-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 1rem;
  width: 72px;
  background: linear-gradient(90deg, transparent, #F7F8FA 70%);
  pointer-events: none;
  z-index: 2;
}
.tmon-next {
  position: absolute;
  z-index: 3;
  right: 0.4rem;
  top: 46%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: #E8EAEE;
  color: #0B0C0F;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  transition: background 0.2s, transform 0.2s;
}
.tmon-next:hover { background: #dfe3e8; transform: translateY(-50%) scale(1.05); }
.tmon-next svg { width: 18px; height: 18px; }

.tmon-back {
  align-self: flex-start;
  margin-top: 0.5rem;
  border: 0;
  background: none;
  color: #6B7280;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.4rem 0;
}
.tmon-back:hover { color: #0B0C0F; }

@media (max-width: 860px) {
  .tmon-panel { border-radius: 24px; min-height: 520px; }
  .tmon-face, .tmon-ghost { width: 52px; border-radius: 14px; }
  .tmon-face-lg { width: 64px; }
  .tmon-overview-copy { margin-top: 6%; }
  .tmon-track { grid-auto-columns: minmax(240px, 86vw); }
  .tmon-tip { width: min(220px, 78vw); grid-template-columns: 56px 1fr; }
  .tmon-tip img { width: 56px; height: 56px; }
}
@media (max-width: 560px) {
  .tmon-detail-head .tmon-btn { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tmon-overview, .tmon-detail, .tmon-face, .tmon-tip,
  .tmon-card, .tmon-card-front, .tmon-card-sol { transition: none; }
  .tmon-face:hover,
  .tmon-face.is-active { transform: translate(-50%, -50%) rotate(var(--r, 0deg)); }
}

@media (hover: none) {
  .tmon-card-sol { display: none; }
  .tmon-card:hover .tmon-card-front { opacity: 1; transform: none; }
}
