/* ==========================================================================
   UmiSiven — Antigravity-Inspired Next-Gen AI Studio Design System
   Precision light/dark surfaces, fluid particles, editorial typography
   ========================================================================== */

:root {
  /* Core Neutral Palette */
  --grey-0: #ffffff;
  --grey-10: #f8f9fc;
  --grey-15: #f0f1f5;
  --grey-20: #eff2f7;
  --grey-50: #e6eaf0;
  --grey-100: #e1e6ec;
  --grey-200: #cdd4dc;
  --grey-300: #b2bbc5;
  --grey-400: #b7bfd9;
  --grey-800: #45474d;
  --grey-900: #2f3034;
  --grey-1000: #212226;
  --grey-1200: #121317;

  /* Brand & Accent */
  --blue-600: #3279f9;
  --blue-700: #185abc;
  --teal-600: #0f766e;
  --brand-deep: #0d2b30;

  /* Outlines & Overlays */
  --outline: rgba(33, 34, 38, 0.12);
  --outline-subtle: rgba(33, 34, 38, 0.06);
  --outline-inverse: rgba(230, 234, 240, 0.12);
  --outline-inverse-subtle: rgba(230, 234, 240, 0.07);

  /* Radii & Layout */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 9999px;
  --container: 1320px;
  --page-pad: clamp(20px, 4.5vw, 68px);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Motion */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--grey-0);
  color: var(--grey-1200);
}

body {
  font-family: var(--font-display);
  background: var(--grey-0);
  color: var(--grey-1200);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--page-pad);
}

/* ==========================================================================
   Custom Floating Pill Cursor (Fine Pointers)
   ========================================================================== */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #000000;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--outline-subtle);
  box-shadow: 0 8px 28px rgba(18, 19, 23, 0.16);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.2s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.custom-cursor.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

[data-cursor] {
  cursor: none;
}

@media (hover: none), (pointer: coarse) {
  .custom-cursor { display: none !important; }
  [data-cursor] { cursor: pointer; }
}

/* ==========================================================================
   Sticky Header & Announcement Strip
   ========================================================================== */
.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
}

.site-header {
  height: 58px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-header.scrolled {
  background: #ffffff;
  border-bottom-color: var(--outline-subtle);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--grey-1200);
}

.brand-mark {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--grey-800);
  white-space: nowrap;
  transition: background 0.15s ease-out, color 0.15s ease-out;
}

.header-nav a:hover {
  background: var(--grey-15);
  color: var(--grey-1200);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Announcement Bar */
.announcement-bar {
  background: #f8f9fa;
  border-top: 1px solid rgba(18, 19, 23, 0.06);
  border-bottom: 1px solid rgba(18, 19, 23, 0.1);
  box-shadow: 0 2px 8px rgba(18, 19, 23, 0.03);
  transition: height 0.25s ease, opacity 0.25s ease;
}

.announcement-bar.dismissed {
  display: none;
}

.announcement-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 10px;
  padding-block: 6px;
  font-size: 13.5px;
  color: var(--grey-1200);
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--grey-1200);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--grey-1200);
  transition: opacity 0.15s ease;
}

.announcement-link:hover {
  opacity: 0.72;
}

.announcement-close {
  position: absolute;
  right: var(--page-pad);
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--grey-800);
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.announcement-close:hover {
  background: rgba(18, 19, 23, 0.06);
}

/* ==========================================================================
   Buttons (Antigravity Exact Pill System)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease-out;
  white-space: nowrap;
}

.btn-compact {
  min-height: 36px;
  padding: 6px 16px;
  font-size: 14px;
}

.btn-primary {
  background: var(--grey-1200);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--grey-900);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(183, 191, 217, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: var(--outline-subtle);
  color: var(--grey-1200);
}

.btn-secondary:hover {
  background: var(--grey-15);
  transform: translateY(-1px);
}

.btn-primary-inverse {
  background: #ffffff;
  color: var(--grey-1200);
}

.btn-primary-inverse:hover {
  background: var(--grey-20);
  transform: translateY(-1px);
}

.btn-secondary-inverse {
  background: rgba(183, 191, 217, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: var(--outline-inverse-subtle);
  color: #ffffff;
}

.btn-secondary-inverse:hover {
  background: rgba(170, 177, 204, 0.3);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--outline);
  background: var(--grey-1200);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section + Full-Bleed Oriented Capsule Particle Field
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: min(76vh, 690px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 76px 0 64px;
  overflow: hidden;
  background: var(--grey-0);
}

.particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding-inline: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--grey-1200);
}

.hero-brand-pill img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hero-title {
  font-size: clamp(40px, 5.4vw, 76px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.032em;
  color: var(--grey-1200);
  margin-bottom: 34px;
  max-width: 820px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-drag-hint {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(69, 71, 77, 0.56);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   TVC Film Showcase (16:9 36px Rounded Theater + Rainbow Aura + 4-Scene Film)
   ========================================================================== */
.tvc-section {
  padding: 0 0 84px;
  position: relative;
  z-index: 3;
}

.tvc-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  background: #08090c;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(18, 19, 23, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

/* Ambient starfield inside TVC theater */
.tvc-stars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Soft Antigravity-style rainbow aura glow behind app window */
.tvc-aura {
  position: absolute;
  width: 72%;
  height: 68%;
  border-radius: 28px;
  background: conic-gradient(
    from 110deg at 50% 50%,
    rgba(50, 121, 249, 0.52),
    rgba(139, 92, 246, 0.45),
    rgba(249, 115, 91, 0.42),
    rgba(250, 187, 5, 0.34),
    rgba(15, 118, 110, 0.48),
    rgba(50, 121, 249, 0.52)
  );
  filter: blur(52px);
  opacity: 0.72;
  animation: auraSpin 16s linear infinite;
  z-index: 1;
}

@keyframes auraSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.06); }
  100% { transform: rotate(360deg) scale(1); }
}

.tvc-window {
  position: relative;
  z-index: 2;
  width: 74%;
  height: 74%;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.5s var(--ease-smooth), color 0.5s var(--ease-smooth);
}

.tvc-window.dark-scene {
  background: rgba(18, 20, 26, 0.96);
  color: #f3f6f9;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.tvc-win-bar {
  height: 40px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(18, 19, 23, 0.08);
  font-size: 12px;
  color: var(--grey-800);
}

.tvc-window.dark-scene .tvc-win-bar {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #9ba3b0;
}

.win-traffic {
  display: flex;
  gap: 6px;
}

.win-traffic span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(18, 19, 23, 0.14);
}

.tvc-window.dark-scene .win-traffic span {
  background: rgba(255, 255, 255, 0.16);
}

.tvc-win-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tvc-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.tvc-stage {
  flex: 1;
  position: relative;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Individual TVC Film Scenes */
.tvc-scene {
  position: absolute;
  inset: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.55s var(--ease-expo), transform 0.55s var(--ease-expo);
}

.tvc-scene.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.tvc-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-600);
  margin-bottom: 10px;
}

.tvc-window.dark-scene .tvc-kicker {
  color: #6ee7b7;
}

.tvc-heading {
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  line-height: 1.25;
}

.tvc-prompt-box {
  background: #f6f8fb;
  border: 1px solid #e3e7ee;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--grey-1200);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tvc-caret {
  display: inline-block;
  width: 2px;
  height: 15px;
  background: var(--blue-600);
  vertical-align: middle;
  margin-left: 2px;
  animation: blink 0.9s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.tvc-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tvc-mini-card {
  background: #ffffff;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  padding: 14px;
}

.tvc-window.dark-scene .tvc-mini-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.tvc-mini-card strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.tvc-mini-card span {
  font-size: 11.5px;
  color: var(--grey-800);
  line-height: 1.45;
  display: block;
}

.tvc-window.dark-scene .tvc-mini-card span {
  color: #9ba3b0;
}

.tvc-flow-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.tvc-flow-arrow {
  font-family: var(--font-mono);
  color: #60a5fa;
  font-size: 16px;
}

.tvc-terminal {
  background: #0b0d12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  color: #d6e2ea;
}

.tvc-terminal .ok { color: #34d399; }
.tvc-terminal .hl { color: #7dd3fc; }
.tvc-terminal .dim { color: #6b7280; }

/* TVC Bottom Controls Bar */
.tvc-controls {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tvc-chapters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tvc-chapter-btn {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
}

.tvc-chapter-btn.active {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
}

.tvc-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.tvc-play-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: scale(1.06);
}

.tvc-progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 6;
}

.tvc-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3279f9, #34d399);
  transition: width 0.1s linear;
}

/* ==========================================================================
   Editorial Statement + Sine-Wave Floating Icon Medallion Strip
   ========================================================================== */
.statement-section {
  padding: 56px 0 96px;
  overflow: hidden;
}

.statement-copy {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}

.statement-copy h2 {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: var(--grey-1200);
  margin-bottom: 18px;
}

.statement-copy p {
  font-size: 18px;
  color: var(--grey-800);
  max-width: 600px;
  margin: 0 auto;
}

.icon-wave-viewport {
  width: 100%;
  padding: 46px 0;
  overflow: hidden;
}

.icon-wave-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  will-change: transform;
}

.icon-medallion {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid var(--outline-subtle);
  background: rgba(183, 191, 217, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-1200);
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(18, 19, 23, 0.03);
  transition: border-color 0.25s ease, background 0.25s ease;
  will-change: transform;
}

.icon-medallion:hover {
  border-color: rgba(50, 121, 249, 0.35);
  background: rgba(50, 121, 249, 0.06);
  color: var(--blue-600);
}

/* ==========================================================================
   Product Feature Explorer (4 Surfaces — Alternating Light/Dark 36px Cards)
   ========================================================================== */
.section-block {
  padding: 88px 0;
}

.section-divider {
  border-top: 1px solid var(--outline-subtle);
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--grey-1200);
  max-width: 660px;
}

.section-sub {
  margin-top: 12px;
  font-size: 17px;
  color: var(--grey-800);
  max-width: 560px;
}

.explorer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.surface-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.surface-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--outline-subtle);
  transition: transform 0.35s var(--ease-expo), box-shadow 0.35s var(--ease-expo);
}

.surface-item:hover .surface-visual {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(18, 19, 23, 0.08);
}

.surface-visual.light {
  background: linear-gradient(155deg, #f8f9fc 0%, #eff2f7 100%);
}

.surface-visual.dark {
  background: radial-gradient(circle at 75% 25%, #182738 0%, #121317 65%);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.mockup-card {
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 14px 36px rgba(18, 19, 23, 0.08);
  border: 1px solid rgba(18, 19, 23, 0.06);
}

.surface-visual.dark .mockup-card {
  background: rgba(22, 25, 34, 0.92);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.mockup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--grey-800);
}

.surface-visual.dark .mockup-top {
  color: #9ba3b0;
}

.mockup-pill {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(50, 121, 249, 0.1);
  color: var(--blue-600);
  font-weight: 600;
}

.surface-visual.dark .mockup-pill {
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7b7;
}

.node-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 12px;
  background: #f8f9fc;
  border: 1px solid #e6eaf0;
  font-size: 13px;
  font-weight: 500;
}

.surface-visual.dark .node-row {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #e6eaf0;
}

.node-row small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-800);
}

.surface-visual.dark .node-row small {
  color: #9ba3b0;
}

.surface-copy h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.surface-copy p {
  font-size: 15.5px;
  color: var(--grey-800);
  line-height: 1.6;
}

/* ==========================================================================
   Use Cases Horizontal Carousel + Tonal Pill ‹ | › Controls
   ========================================================================== */
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(50% - 16px);
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.carousel-track::-webkit-scrollbar { display: none; }

.use-case-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.use-case-media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--outline-subtle);
  position: relative;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.use-case-media.tone-a {
  background: linear-gradient(135deg, #0d2b30 0%, #121317 65%, #1c2c4c 100%);
  color: #ffffff;
}

.use-case-media.tone-b {
  background: linear-gradient(135deg, #f0f4ff 0%, #f8f9fc 55%, #e6f4f1 100%);
  color: var(--grey-1200);
}

.use-case-media.tone-c {
  background: linear-gradient(135deg, #16181f 0%, #1e2433 60%, #102a2e 100%);
  color: #ffffff;
}

.use-case-copy h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.use-case-copy p {
  font-size: 15.5px;
  color: var(--grey-800);
  margin-bottom: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--grey-1200);
  transition: gap 0.2s ease, opacity 0.2s ease;
}

.text-link:hover {
  gap: 9px;
  opacity: 0.72;
}

.carousel-controls {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  background: var(--grey-15);
  border: 1px solid var(--outline-subtle);
  padding: 3px;
}

.carousel-btn {
  width: 40px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--grey-1200);
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.15s ease;
}

.carousel-btn:hover {
  background: #ffffff;
}

.carousel-sep {
  width: 1px;
  height: 18px;
  background: var(--outline);
}

/* ==========================================================================
   50/50 Light & Dark Split Solutions + Morphing Particle Clouds
   ========================================================================== */
.split-solutions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--outline-subtle);
  border-bottom: 1px solid var(--outline-subtle);
}

.split-pane {
  position: relative;
  min-height: 520px;
  padding: 88px var(--page-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.split-pane.light {
  background: #ffffff;
  color: var(--grey-1200);
}

.split-pane.dark {
  background: var(--grey-1200);
  color: #ffffff;
}

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

.split-inner {
  position: relative;
  z-index: 2;
  max-width: 420px;
}

.split-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.65;
}

.split-inner h3 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.split-inner p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 28px;
  opacity: 0.78;
}

/* ==========================================================================
   Latest Studio Notes (Blog Track with Vertical Hairlines & Reader Modal)
   ========================================================================== */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.note-card {
  padding: 0 28px;
  border-right: 1px solid var(--outline-subtle);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.note-card:first-child { padding-left: 0; }
.note-card:last-child { padding-right: 0; border-right: none; }

.note-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--outline-subtle);
  position: relative;
}

.note-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grey-800);
  display: flex;
  gap: 10px;
}

.note-card h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.note-read-btn {
  margin-top: auto;
  border: none;
  background: transparent;
  padding: 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--grey-1200);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
}

.note-read-btn:hover {
  color: var(--blue-600);
}

/* ==========================================================================
   Studio Dispatch / Contact Pill Card (#f8f9fc 36px Container)
   ========================================================================== */
.dispatch-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--grey-10);
  border: 1px solid var(--outline-subtle);
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  text-align: center;
}

.dispatch-card h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.dispatch-card > p {
  font-size: 16px;
  color: var(--grey-800);
  margin-bottom: 26px;
}

.topic-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.topic-pill {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--outline);
  background: #ffffff;
  color: var(--grey-800);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.topic-pill.active {
  background: var(--grey-1200);
  color: #ffffff;
  border-color: var(--grey-1200);
}

.dispatch-row {
  display: flex;
  gap: 10px;
  max-width: 540px;
  margin: 0 auto 14px;
}

.dispatch-input {
  flex: 1;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--outline);
  background: #ffffff;
  font-size: 15px;
  color: var(--grey-1200);
  outline: none;
}

.dispatch-input:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(50, 121, 249, 0.14);
}

.dispatch-hint {
  font-size: 13px;
  color: var(--grey-800);
}

/* ==========================================================================
   Dark CTA Banner (#121317 36px Card + Dark Radial Particle Field + Scroll Scale)
   ========================================================================== */
.dark-cta-wrap {
  padding: 36px 0 92px;
}

.dark-cta-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--grey-1200);
  color: #ffffff;
  padding: clamp(96px, 14vw, 176px) 32px;
  text-align: center;
  overflow: hidden;
  transform: scale(0.94);
  transition: transform 0.6s var(--ease-expo);
}

.dark-cta-card.in-view {
  transform: scale(1);
}

.dark-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.dark-cta-inner h2 {
  font-size: clamp(32px, 4.6vw, 60px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.dark-cta-inner p {
  font-size: 17px;
  color: var(--grey-300);
  margin-bottom: 34px;
}

.dark-cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.email-strip {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--grey-300);
}

.email-strip button {
  border: none;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  transition: background 0.15s ease, color 0.15s ease;
}

.email-strip button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ==========================================================================
   Footer + Giant Floating Physics Wordmark ("UmiSiven")
   ========================================================================== */
.site-footer {
  background: var(--grey-10);
  border-top: 1px solid var(--outline-subtle);
  padding: 72px 0 40px;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-tagline {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14.5px;
  color: var(--grey-800);
  max-width: 300px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--grey-1200);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  font-size: 14px;
  color: var(--grey-800);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--grey-1200);
}

.giant-wordmark {
  font-size: clamp(56px, 14vw, 196px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--grey-1200);
  text-align: center;
  user-select: none;
  padding: 20px 0 36px;
  display: flex;
  justify-content: center;
}

.giant-wordmark .glyph {
  display: inline-block;
  transition: transform 0.65s var(--ease-expo);
  will-change: transform;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--outline-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--grey-800);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Scroll Reveal Utility
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
}

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

/* ==========================================================================
   Note Reader Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(18, 19, 23, 0.56);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  width: 100%;
  max-width: 660px;
  max-height: 82vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 24px 64px rgba(18, 19, 23, 0.24);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--outline);
  background: var(--grey-10);
  cursor: pointer;
  font-size: 18px;
}

.modal-dialog h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 10px 0 18px;
  padding-right: 36px;
}

.modal-dialog p {
  font-size: 15.5px;
  color: var(--grey-800);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* ==========================================================================
   Legal Pages Support
   ========================================================================== */
.legal-hero {
  padding: 72px 0 44px;
  background: var(--grey-10);
  border-bottom: 1px solid var(--outline-subtle);
}

.legal-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--grey-800);
}

.legal-content {
  max-width: 780px;
  padding: 56px 0 96px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 36px 0 12px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p,
.legal-content li {
  font-size: 15.5px;
  color: var(--grey-800);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content ul { padding-left: 20px; margin-bottom: 16px; }
.legal-content a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .explorer-grid,
  .split-solutions,
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .note-card {
    padding: 24px 0;
    border-right: none;
    border-bottom: 1px solid var(--outline-subtle);
  }

  .note-card:last-child { border-bottom: none; }
  .carousel-track { grid-auto-columns: 86%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .tvc-window { width: 88%; height: 78%; }
}

@media (max-width: 920px) {
  .header-nav,
  .header-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 16px 24px 22px;
    border-bottom: 1px solid var(--outline);
    box-shadow: 0 16px 32px rgba(18, 19, 23, 0.1);
  }
}

@media (max-width: 760px) {

  .tvc-frame {
    aspect-ratio: auto;
    min-height: 460px;
    padding: 24px 14px 80px;
  }

  .tvc-window {
    width: 100%;
    height: 360px;
  }

  .tvc-plan-grid,
  .tvc-flow-row {
    grid-template-columns: 1fr;
  }

  .tvc-flow-arrow { display: none; }
  .dispatch-card { padding: 36px 22px; }
  .dispatch-row { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .announcement-close { right: 8px; }
}
