/* ==========================================================================
   muka助手 Official Website — Design System
   Aesthetic: Claude Editorial Minimalism × LeiBox Micro-Interactions
   ========================================================================== */

:root {
  /* Light Theme — Warm Alabaster & Charcoal Ink */
  --bg: #faf9f5;
  --bg-elevated: #ffffff;
  --bg-canvas: #f0efea;
  --bg-muted: #e8e6df;
  --bg-glass: rgba(250, 249, 245, 0.82);

  --ink: #141413;
  --ink-secondary: #5e5d59;
  --ink-muted: #87867f;

  --accent: #c6613f;
  --accent-soft: rgba(198, 97, 63, 0.11);
  --accent-hover: #b35232;

  --border: rgba(20, 20, 19, 0.09);
  --border-strong: rgba(20, 20, 19, 0.16);

  --btn-primary-bg: #141413;
  --btn-primary-fg: #faf9f5;
  --btn-primary-hover: #2c2b28;

  --shadow-sm: 0 1px 2px rgba(20, 20, 19, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(20, 20, 19, 0.09), 0 2px 6px rgba(20, 20, 19, 0.04);
  --shadow-lg: 0 24px 60px -18px rgba(20, 20, 19, 0.16), 0 4px 14px rgba(20, 20, 19, 0.05);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --font-serif: "Newsreader", "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  --font-sans: "Inter", "MiSans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] {
  --bg: #141413;
  --bg-elevated: #1c1b19;
  --bg-canvas: #22211e;
  --bg-muted: #2a2926;
  --bg-glass: rgba(20, 20, 19, 0.82);

  --ink: #f4f3ee;
  --ink-secondary: #a8a69e;
  --ink-muted: #78766f;

  --accent: #e07d5c;
  --accent-soft: rgba(224, 125, 92, 0.16);
  --accent-hover: #eb8f70;

  --border: rgba(244, 243, 238, 0.09);
  --border-strong: rgba(244, 243, 238, 0.18);

  --btn-primary-bg: #f4f3ee;
  --btn-primary-fg: #141413;
  --btn-primary-hover: #e5e3db;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 14px 36px -12px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 28px 70px -18px rgba(0, 0, 0, 0.65);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  transition: background-color 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font-mono);
}

/* Animated Conic Beam Angle Property for Shimmer Borders */
@property --beam-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes spin-beam {
  to {
    --beam-angle: 360deg;
  }
}

/* Cursor Ambient Aura */
.cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(242, 174, 114, 0.14) 0%,
    rgba(198, 97, 63, 0.05) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
  transform: translate3d(-500px, -500px, 0);
  will-change: transform;
  opacity: 0;
  transition: opacity 0.4s ease;
}

[data-theme="dark"] .cursor-aura {
  background: radial-gradient(
    circle,
    rgba(242, 174, 114, 0.13) 0%,
    rgba(224, 125, 92, 0.05) 40%,
    transparent 70%
  );
}

/* Top Silk-Thread Scroll Progress Hairline */
.scroll-thread {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 999;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 65%, #e69a7b 100%);
  box-shadow: 0 0 12px var(--accent);
  pointer-events: none;
  will-change: width;
}

/* Subtle Grain Texture Overlay for Editorial Tactility */
.page-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 998;
  opacity: 0.022;
  background-image: radial-gradient(var(--ink) 0.6px, transparent 0.6px);
  background-size: 24px 24px;
}

/* ==========================================================================
   Navigation Bar (Floating Oval Capsule Glass Bar + Blur-Fade Theme Toggle)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 14px;
  z-index: 100;
  padding: 0 20px;
  pointer-events: none;
}

.nav-inner {
  pointer-events: auto;
  max-width: 1080px;
  height: 58px;
  padding: 0 14px 0 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-glass);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.015em;
  justify-self: start;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px rgba(242, 174, 114, 0.35);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.3s ease;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 6px 18px rgba(242, 174, 114, 0.5);
}

.version-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-canvas);
  color: var(--ink-secondary);
  border: 1px solid var(--border);
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-hover-pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--bg-canvas);
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.32s var(--ease-out-expo),
    width 0.32s var(--ease-out-expo),
    opacity 0.2s ease;
  z-index: 0;
}

.nav-links li {
  position: relative;
  z-index: 1;
}

.nav-links a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--ink-secondary);
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.icon-btn {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--ink-secondary);
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.icon-btn:hover {
  color: var(--ink);
  background: var(--bg-canvas);
  border-color: var(--border-strong);
}

.icon-btn:active {
  transform: scale(0.94);
}

.lang-btn {
  width: auto;
  min-width: 34px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 500;
}

/* LeiBox-inspired blur-fade Sun / Moon toggle */
.theme-icon {
  position: absolute;
  width: 16px;
  height: 16px;
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.35s var(--ease-out-expo);
}

.theme-icon.sun {
  opacity: 1;
  filter: blur(0);
  transform: rotate(0deg);
}

.theme-icon.moon {
  opacity: 0;
  filter: blur(3px);
  transform: rotate(-25deg);
}

[data-theme="dark"] .theme-icon.sun {
  opacity: 0;
  filter: blur(3px);
  transform: rotate(25deg);
}

[data-theme="dark"] .theme-icon.moon {
  opacity: 1;
  filter: blur(0);
  transform: rotate(0deg);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color 0.18s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: var(--btn-primary-hover);
}

.nav-cta:active {
  transform: scale(0.96);
}

/* ==========================================================================
   Hero Section (Claude Editorial Composition + Smart OS Download)
   ========================================================================== */
.hero {
  padding: 76px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero-silk-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.hero-ambient-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 110vw);
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(198, 97, 63, 0.13) 0%,
    rgba(217, 155, 118, 0.06) 42%,
    transparent 72%
  );
  filter: blur(42px);
  pointer-events: none;
  z-index: 0;
  animation: ambient-breathe 9s ease-in-out infinite alternate;
}

[data-theme="dark"] .hero-ambient-glow {
  background: radial-gradient(
    ellipse at center,
    rgba(224, 125, 92, 0.16) 0%,
    rgba(217, 155, 118, 0.05) 45%,
    transparent 72%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-header {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-secondary);
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pulse-dot 2.8s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.4vw, 4.15rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--ink);
}

.hero-title .accent-word {
  position: relative;
  display: inline-block;
  color: var(--accent);
  font-style: italic;
}

.stitch-underline {
  position: absolute;
  left: -2%;
  bottom: -6px;
  width: 104%;
  height: 12px;
  color: var(--accent);
  opacity: 0.72;
  overflow: visible;
}

.stitch-underline path {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: draw-stitch 1.35s var(--ease-out-expo) 0.55s forwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  color: var(--ink-secondary);
  max-width: 610px;
  margin: 0 auto 36px;
  line-height: 1.72;
}

/* Smart OS Download Hub */
.download-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.download-primary-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-download-main {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  font-size: 15.5px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s var(--ease-out-expo), background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-download-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.16) 50%, transparent 75%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease-out-expo);
}

.btn-download-main:hover {
  background: var(--btn-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-download-main:hover::after {
  transform: translateX(100%);
}

.btn-download-main:active {
  transform: scale(0.97);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.btn-secondary-outline:hover {
  background: var(--bg-canvas);
}

.btn-secondary-outline:active {
  transform: scale(0.97);
}

/* Segmented OS Switcher (Auto-detected + Manual Toggle) */
.os-switcher-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  font-size: 13px;
  color: var(--ink-muted);
}

.os-segmented {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--bg-canvas);
  border: 1px solid var(--border);
}

.os-seg-indicator {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.32s var(--ease-out-expo);
  pointer-events: none;
}

.os-segmented[data-os="win"] .os-seg-indicator {
  transform: translateX(100%);
}

.os-seg-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.2s ease;
}

.os-seg-btn.active {
  color: var(--ink);
}

.os-meta-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.os-detected-badge {
  color: var(--accent);
  font-weight: 500;
}

/* ==========================================================================
   Hero Interactive Showcase Stage (Shimmer Border + Needle Scanline + 3D Scroll)
   ========================================================================== */
.hero-stage {
  position: relative;
  margin-top: 52px;
  background: var(--bg-canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  transform-origin: center top;
  will-change: transform;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--radius-lg) + 1.5px);
  padding: 1.5px;
  background: conic-gradient(
    from var(--beam-angle),
    transparent 0deg,
    transparent 240deg,
    rgba(242, 174, 114, 0.7) 295deg,
    var(--accent) 330deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: spin-beam 7.5s linear infinite;
  opacity: 0.85;
}

/* Luminous Needle Scanline Sweep when switching stitches */
.compare-scanline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -15%;
  width: 18%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(242, 174, 114, 0.45),
    rgba(255, 255, 255, 0.85),
    transparent
  );
  pointer-events: none;
  opacity: 0;
  z-index: 6;
}

.compare-scanline.sweeping {
  animation: needle-scan 0.65s var(--ease-out-expo) forwards;
}

@keyframes needle-scan {
  0% {
    left: -18%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  85% {
    opacity: 0.9;
  }
  100% {
    left: 105%;
    opacity: 0;
  }
}

/* Kinetic Metrics Bar below Hero Stage */
.metrics-bar {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.metric-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: center;
  transition: transform 0.28s var(--ease-out-expo), border-color 0.25s ease;
}

.metric-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.metric-val {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.metric-val .metric-accent {
  color: var(--accent);
}

.metric-label {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* Click Ripple Effect on Buttons */
.click-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  transform: scale(0);
  animation: ripple-burst 0.55s var(--ease-out-expo) forwards;
  pointer-events: none;
}

@keyframes ripple-burst {
  to {
    transform: scale(3.5);
    opacity: 0;
  }
}

@media (max-width: 780px) {
  .metrics-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stage-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 20px;
  align-items: stretch;
}

/* Interactive Before/After Comparison Canvas */
.compare-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.compare-label-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-dots {
  display: inline-flex;
  gap: 5px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}

.compare-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
}

.compare-hint {
  font-size: 12px;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.compare-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 320 / 252;
  border-radius: 14px;
  overflow: hidden;
  background: #dce4ef;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
  border: 1px solid var(--border);
}

.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.compare-after-layer {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 50%);
  will-change: clip-path;
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
  pointer-events: none;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #141413;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  transition: transform 0.15s ease;
}

.compare-viewport:active .compare-handle {
  transform: translate(-50%, -50%) scale(1.08);
}

.compare-badge {
  position: absolute;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 500;
  background: rgba(20, 20, 19, 0.72);
  color: #faf9f5;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.compare-badge.left { left: 12px; }
.compare-badge.right { right: 12px; }

/* Simulated Photoshop muka助手 Panel */
.ps-panel-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.ps-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.ps-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(34, 154, 91, 0.12);
  color: #1c854e;
  font-weight: 500;
}

[data-theme="dark"] .status-pill {
  color: #5ee39b;
  background: rgba(94, 227, 155, 0.14);
}

.status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.panel-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.stitch-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.stitch-chip {
  text-align: left;
  padding: 8px 11px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: all 0.2s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stitch-chip:hover {
  border-color: var(--border-strong);
  background: var(--bg-canvas);
}

.stitch-chip.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent);
}

.stitch-chip-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.stitch-chip-tag {
  font-size: 11px;
  color: var(--ink-muted);
}

/* Grayscale Relief Texture Live Preview Box */
.relief-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: center;
}

.relief-swatch-wrap {
  width: 96px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #808080;
}

.relief-swatch {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.15s ease;
}

.relief-controls {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.relief-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-secondary);
}

.relief-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: var(--bg-muted);
  outline: none;
}

.relief-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 2px solid var(--bg-elevated);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}

.relief-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.panel-footer-note {
  font-size: 12px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* ==========================================================================
   Marquee Strip (LeiBox-style Infinite Craft Strip)
   ========================================================================== */
.marquee-section {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 32px;
  animation: marquee-scroll 34s linear infinite;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  white-space: nowrap;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* ==========================================================================
   Section Common Headers
   ========================================================================== */
.section {
  padding: 96px 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.7;
}

/* ==========================================================================
   Claude-style Interactive Workflow Showcase (2-Column Narrative + Canvas)
   ========================================================================== */
.workflow-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: center;
}

.workflow-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.workflow-tab {
  position: relative;
  text-align: left;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.workflow-tab:hover {
  background: var(--bg-canvas);
}

.workflow-tab.active {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.workflow-tab-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}

.workflow-tab h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.workflow-tab p {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.65;
}

.workflow-progress {
  margin-top: 14px;
  height: 2px;
  background: var(--bg-muted);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.workflow-tab.active .workflow-progress {
  opacity: 1;
}

.workflow-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
}

.workflow-tab.active .workflow-progress-bar {
  animation: hiw-progress 6.5s linear forwards;
}

.workflow-stage {
  background: var(--bg-canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.wf-scene {
  display: none;
  width: 100%;
  animation: snippet-enter 0.42s var(--ease-out-expo) both;
}

.wf-scene.active {
  display: block;
}

/* Mockup Cards inside Workflow Stage */
.mock-window {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-md);
}

.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-muted);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.mock-artboard {
  position: relative;
  background: var(--bg-canvas);
  border-radius: 12px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mock-tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #dce4ef;
  aspect-ratio: 4 / 3;
}

.mock-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mock-tile.selected {
  outline: 2px dashed var(--accent);
  outline-offset: 3px;
  animation: hiw-tile-pulse 2.2s ease-in-out infinite;
}

.mock-selection-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.mock-layer-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.mock-layer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 12.5px;
}

.mock-layer.highlight {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* ==========================================================================
   Bento Features Grid
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  transform-style: preserve-3d;
  transition: transform 0.32s var(--ease-out-expo), border-color 0.25s ease, box-shadow 0.28s ease;
}

.bento-card::before,
.gallery-card::before,
.tier-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    360px circle at var(--mx, 50%) var(--my, 50%),
    rgba(198, 97, 63, 0.11),
    transparent 68%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.bento-card:hover::before,
.gallery-card:hover::before,
.tier-card:hover::before {
  opacity: 1;
}

.bento-card > *,
.gallery-card > *,
.tier-card > * {
  position: relative;
  z-index: 2;
}

.bento-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--bg-canvas);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
}

.bento-card h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.bento-card p {
  font-size: 14px;
  color: var(--ink-secondary);
  margin: 0;
  line-height: 1.65;
}

/* ==========================================================================
   7-Stitch Gallery & Resolution Tiers
   ========================================================================== */
.stitch-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.gallery-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.32s var(--ease-out-expo), box-shadow 0.28s ease, border-color 0.25s ease;
}

.gallery-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.gallery-media {
  position: relative;
  aspect-ratio: 320 / 252;
  background: #dce4ef;
  overflow: hidden;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out-expo);
}

.gallery-card:hover .gallery-media img {
  transform: scale(1.04);
}

.gallery-tex-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 56px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.gallery-tex-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-body {
  padding: 16px;
}

.gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.gallery-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.gallery-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-canvas);
  color: var(--ink-secondary);
  white-space: nowrap;
}

.gallery-body p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* Resolution Tiers Bar */
.tiers-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tier-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.32s var(--ease-out-expo), border-color 0.25s ease, box-shadow 0.28s ease;
}

.tier-card.featured {
  background: var(--bg-elevated);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.tier-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.tier-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.tier-cost {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-secondary);
}

.tier-card h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.tier-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Step-by-Step Tutorial Section (OS-Synced)
   ========================================================================== */
.tutorial-shell {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.tutorial-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.tab-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--bg-canvas);
  border: 1px solid var(--border);
}

.tab-pill {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: all 0.2s ease;
}

.tab-pill.active {
  background: var(--bg-elevated);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.tutorial-panel {
  display: none;
  animation: snippet-enter 0.35s var(--ease-out-expo) both;
}

.tutorial-panel.active {
  display: block;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.step-card h4 {
  margin: 2px 0 6px;
  font-size: 15.5px;
  font-weight: 600;
}

.step-card p {
  margin: 0;
  font-size: 13.8px;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.step-code {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--bg-canvas);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
}

.callout-tip {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(198, 97, 63, 0.24);
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.65;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  list-style: none;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-canvas);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 15px;
  color: var(--ink-secondary);
  transition: transform 0.25s var(--ease-out-expo);
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.72;
}

/* ==========================================================================
   Bottom CTA & Contact Section
   ========================================================================== */
.cta-band {
  background: var(--bg-canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 36px;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 500;
  margin: 0 0 14px;
}

.cta-band p {
  font-size: 15.5px;
  color: var(--ink-secondary);
  max-width: 520px;
  margin: 0 auto 28px;
}

.contact-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-card-label {
  font-size: 12px;
  color: var(--ink-muted);
}

.contact-card-value {
  font-size: 15px;
  font-weight: 600;
  word-break: break-all;
}

.copy-inline-btn {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  transition: opacity 0.18s ease, transform 0.15s ease;
}

.copy-inline-btn:hover {
  opacity: 0.85;
}

.copy-inline-btn:active {
  transform: scale(0.95);
}

/* Footer */
.footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--border);
  margin-top: 72px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a:hover, .footer-links button:hover {
  color: var(--ink);
}

/* ==========================================================================
   Contact Modal Dialog (LeiBox-style Crisp Floating Sheet)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 20, 19, 0.45);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 440px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(0.97);
  transition: transform 0.3s var(--ease-out-expo);
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.modal-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
}

.modal-desc {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.modal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.modal-row-label {
  font-size: 12px;
  color: var(--ink-muted);
}

.modal-row-val {
  font-size: 14.5px;
  font-weight: 600;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(18px);
  z-index: 300;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.32s var(--ease-out-expo);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Choreographed Keyframes & Artistic Motion (LeiBox × Tactile Craft)
   ========================================================================== */
@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes draw-stitch {
  from {
    stroke-dashoffset: 240;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes ambient-breathe {
  0% {
    transform: translateX(-50%) scale(0.96) translateY(0);
    opacity: 0.78;
  }
  100% {
    transform: translateX(-50%) scale(1.06) translateY(16px);
    opacity: 1;
  }
}

@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(198, 97, 63, 0.04);
  }
}

@keyframes snippet-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes hiw-progress {
  from { width: 0%; }
  to { width: 100%; }
}

@keyframes hiw-tile-pulse {
  0%, 100% { outline-color: var(--accent); }
  50% { outline-color: transparent; }
}

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

.hero-anim {
  opacity: 0;
  animation: hero-enter 0.92s var(--ease-out-expo) forwards;
}

.hero-d1 { animation-delay: 0.06s; }
.hero-d2 { animation-delay: 0.16s; }
.hero-d3 { animation-delay: 0.28s; }
.hero-d4 { animation-delay: 0.38s; }
.hero-d5 { animation-delay: 0.50s; }

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.99);
  filter: blur(6px);
  transition:
    opacity 0.85s var(--ease-out-expo),
    transform 0.85s var(--ease-out-expo),
    filter 0.85s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Staggered card cascade inside revealed grids */
.reveal .bento-card,
.reveal .gallery-card,
.reveal .tier-card {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.72s var(--ease-out-expo),
    transform 0.72s var(--ease-out-expo),
    border-color 0.25s ease,
    box-shadow 0.28s ease;
  transition-delay: calc(var(--stagger, 0) * 75ms);
}

.reveal.visible .bento-card,
.reveal.visible .gallery-card,
.reveal.visible .tier-card {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim, .reveal,
  .reveal .bento-card, .reveal .gallery-card, .reveal .tier-card {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
    transition: none;
  }
  .hero-silk-canvas, .hero-ambient-glow {
    display: none;
  }
  .marquee-track {
    animation: none;
  }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 960px) {
  .nav-inner {
    grid-template-columns: auto 1fr;
  }
  .nav-links {
    display: none;
  }
  .stage-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid,
  .tiers-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .steps-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 52px 0 44px;
  }
  .section {
    padding: 68px 0;
  }
  .hero-stage,
  .tutorial-shell,
  .cta-band {
    padding: 20px 16px;
  }
  .stitch-chips {
    grid-template-columns: 1fr;
  }
  .nav-cta span {
    display: none;
  }
}
