/* ==========================================
   Nova Design System & Theme CSS variables
   ========================================== */
:root {
  /* Colors */
  --color-canvas: #010102;
  --color-surface-1: #0f1011;
  --color-surface-2: #141516;
  --color-hairline: #23252a;
  --color-hairline-strong: #34343a;
  --color-primary: #5e6ad2;
  --color-primary-hover: #828fff;
  --color-ink: #f7f8f8;
  --color-ink-muted: #d0d6e0;
  --color-ink-subtle: #8a8f98;

  /* Border Radius */
  --rounded-lg: 12px;

  /* Spacing */
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-section: 96px;

  /* Accessibility Variables */
  --text-primary: var(--color-ink);
  --text-secondary: var(--color-ink-subtle);
  --border: var(--color-hairline);
  --fill-accent: var(--color-primary);
  --on-accent: #ffffff;
  --radius: 8px;
}

/* ==========================================
   Base Styles & Reset
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--color-canvas);
  height: 100vh;
  width: 100vw;
  overflow: hidden; /* Hide scrollbars entirely */
  position: relative;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================
   Background Grid & Decorative Glow
   ========================================== */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(35, 37, 42, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(35, 37, 42, 0.12) 1px, transparent 1px);
  background-size: 60px 60px;
}

.glow-orb {
  position: fixed;
  top: -20%;
  left: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  background: radial-gradient(circle, rgba(94, 106, 210, 0.08) 0%, rgba(94, 106, 210, 0) 70%);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 2;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   Navigation Bar (Header - Floating Glass Capsule)
   ========================================== */
.top-nav-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  pointer-events: none; /* Let canvas clicks pass through */
}

.top-nav-capsule {
  pointer-events: auto; /* Capture clicks on capsule */
  width: 95vw;
  max-width: 95vw;
  height: 64px; /* Increased height */
  background-color: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.top-nav-capsule.scrolled {
  background-color: rgba(1, 1, 2, 0.65);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.capsule-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.capsule-divider {
  width: 1px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.08);
}

.capsule-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  color: var(--color-ink);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.9;
}

.logo-image {
  height: 22px;
  width: auto;
  margin-right: 8px;
  display: block;
  filter: drop-shadow(0 0 6px rgba(94, 106, 210, 0.2));
  transition: filter 0.3s ease;
}

.brand-logo:hover .logo-image {
  filter: drop-shadow(0 0 10px rgba(94, 106, 210, 0.45));
}

.logo-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.logo-divider {
  color: rgba(255, 255, 255, 0.15);
  margin: 0 4px;
  font-weight: 400;
}

/* Nav links */
.nav-link-item {
  color: var(--color-ink-subtle);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  font-family: inherit;
  transition: color 0.2s ease;
}

.nav-link-item:hover {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Rebuilt Premium Header Buttons */
.btn-nav-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-nav-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(94, 106, 210, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-nav-primary:active {
  transform: translateY(0);
}

.btn-nav-secondary {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--color-ink);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 13px; /* Adjusted padding */
  border-radius: 8px;
  border: 1px solid var(--color-hairline);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-nav-secondary:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--color-hairline-strong);
  transform: translateY(-1px);
}

.btn-nav-secondary:active {
  transform: translateY(0);
}

/* Buttons */
.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

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

.btn-secondary {
  background-color: rgba(255,255,255,0.04);
  color: var(--color-ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--color-hairline);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
  background-color: rgba(255,255,255,0.08);
  border-color: var(--color-hairline-strong);
}

/* Mobile trigger menu icon */
.mobile-menu-trigger {
  display: none;
  background: none;
  border: 1px solid var(--color-hairline);
  border-radius: 6px;
  color: var(--color-ink);
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mobile-menu-trigger:hover {
  background-color: var(--color-surface-1);
}

.hamburger-svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease-in-out;
}

.mobile-menu-trigger.open .hamburger-svg {
  transform: rotate(-45deg);
}

.hamburger-svg path {
  transition: all 0.3s ease-in-out;
}

.mobile-menu-trigger.open .line-1 {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42px;
}

.mobile-menu-trigger.open .line-2 {
  opacity: 0;
}

.line-1 {
  stroke-dasharray: 12 63;
}

/* Mobile Overlay Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 56px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 56px);
  background-color: rgba(1, 1, 2, 0.95);
  backdrop-filter: blur(12px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
  padding: 24px;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.mobile-menu-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-section-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.mobile-menu-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.mobile-menu-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
}

.w-full {
  width: 100%;
  text-align: center;
}

/* ==========================================
   Hero Wrapper & Canvas Layout
   ========================================== */
.hero-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  pointer-events: auto;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 0;
}

.particle-canvas {
  width: 100vw;
  height: 100vh;
  border: none;
  background-color: transparent;
  display: block;
  cursor: crosshair;
}

/* Bouncy Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  cursor: pointer;
  pointer-events: auto;
  color: var(--color-ink-muted);
  opacity: 0.75;
  transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.hero-scroll-indicator:hover {
  transform: translateX(-50%) scale(1.15);
  color: var(--color-primary-hover);
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(94, 106, 210, 0.4));
}

/* ==========================================
   Next Section (Fixed Zoom Overlay)
   ========================================== */
.next-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow-y: hidden; /* Programmatically set to auto when complete */
  overflow-x: hidden;
  z-index: 20;
  opacity: 0;
  transform: scale(0.85); /* Zoom-in entry effect */
  background-color: transparent; /* Seamless grid background */
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrollbar styling for super premium look */
.next-section::-webkit-scrollbar {
  width: 8px;
}
.next-section::-webkit-scrollbar-track {
  background: transparent;
}
.next-section::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
}
.next-section::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.1);
}

.next-section-scrollable {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showcase-wrapper {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

.showcase-inner-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ==========================================
   Dynamic Heading Container (Height Reduced to fit 100vh)
   ========================================== */
.dynamic-card-header {
  margin-bottom: 12px; /* Spacing reduced */
  text-align: center;
  min-height: 90px; /* Height reduced to prevent 100vh overflows */
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.dynamic-card-header.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.dynamic-card-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem); /* Size reduced */
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.dynamic-card-subtitle {
  font-size: 13.5px; /* Size reduced */
  line-height: 1.5;
  color: var(--color-ink-muted);
  max-width: 600px;
  font-weight: 400;
}

/* ==========================================
   Prompt Input Box (ChatGPT-style Glass)
   ========================================== */
.prompt-box {
  position: relative;
  max-width: 640px;
  width: 100%;
  background-color: rgba(15, 16, 17, 0.45);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  padding: 16px 20px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.6), inset 0 1px 0 0 rgba(255, 255, 255, 0.03);
  transition: opacity 0.4s ease, transform 0.4s ease;
  margin: 0 auto;
}

.prompt-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  transition: opacity 0.3s ease;
}

.prompt-text {
  font-size: 14px;
  color: var(--color-ink);
  font-family: inherit;
  font-weight: 400;
  text-align: left;
  min-height: 20px;
  flex: 1;
}

.prompt-cursor {
  color: var(--color-primary);
  font-weight: bold;
  animation: blink-cursor 0.8s infinite;
  margin-left: 2px;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.prompt-btn {
  background-color: var(--color-primary);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.prompt-btn:hover {
  background-color: var(--color-primary-hover);
}

.prompt-btn.active {
  background-color: var(--color-primary-focus);
  transform: scale(0.95);
  box-shadow: 0 0 12px rgba(94, 106, 210, 0.4);
}

/* ==========================================
   Virtual Mouse Cursor
   ========================================== */
.virtual-cursor {
  position: absolute;
  top: 90px;
  left: 15%;
  width: 20px;
  height: 20px;
  color: #ffffff;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
  transition: left 1.2s cubic-bezier(0.25, 1, 0.5, 1), top 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

/* ==========================================
   Analysis Loading State (Centered in Viewport)
   ========================================== */
.analysis-loading {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 480px;
  width: 90%;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 100;
}

.loading-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(
    90deg, 
    var(--color-ink-subtle) 25%, 
    var(--color-ink) 50%, 
    var(--color-ink-subtle) 75%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textRippleShimmer 1.8s linear infinite;
  display: inline-block;
}

@keyframes textRippleShimmer {
  to {
    background-position: -200% center;
  }
}

.loading-bar-container {
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.loading-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
  box-shadow: 0 0 10px var(--color-primary);
  transition: width 2.5s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.loading-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: translateX(-100%);
  animation: fillReflectionSheen 1.4s infinite linear;
}

@keyframes fillReflectionSheen {
  100% {
    transform: translateX(100%);
  }
}

/* ==========================================
   Vertical Scrolling Document Cards Container (Optimized height to fit 100vh)
   ========================================== */
.report-document-container {
  display: none;
  max-width: 900px;
  width: 92vw;
  height: 460px; /* Reduced Height to prevent 100vh overflows */
  overflow: hidden;
  position: relative;
  border-radius: var(--rounded-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 1px 0 0 rgba(255, 255, 255, 0.03);
  opacity: 0;
  transition: opacity 0.6s ease;
  margin-top: 20px; /* Margins reduced */
  margin-left: auto;
  margin-right: auto;
  z-index: 80;
}

.report-document-flow {
  display: flex;
  flex-direction: column;
  gap: 40px; /* Gap preserved */
  width: 100%;
}

.carousel-card {
  width: 100%;
  height: 460px; /* Reduced Card size to match container */
  flex-shrink: 0;
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  padding: 32px 40px; /* Padding reduced to prevent child overflows */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.card-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-primary-hover);
  text-transform: uppercase;
  margin-bottom: 8px; /* Margins optimized */
  display: block;
}

/* ==========================================
   Card 1: Creative Score Styling (Optimized)
   ========================================== */
.card-score-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px; /* Gap optimized */
  height: 100%;
  align-items: center;
}

.score-main-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Glowing Circular Progress bar wrapper (Size optimized) */
.score-circle-wrapper {
  position: relative;
  width: 150px; /* Size optimized from 200px */
  height: 150px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-svg-circle {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-circle-bar {
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  filter: drop-shadow(0 0 6px rgba(94, 106, 210, 0.4));
  transition: stroke-dashoffset 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-card.active .score-circle-bar {
  stroke-dashoffset: 39.6; /* 85% of 264 */
}

.score-text-center {
  position: absolute;
  display: flex;
  align-items: baseline;
  justify-content: center;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  height: fit-content;
}

.score-num {
  font-size: 50px; /* Sizing optimized */
  font-weight: 800;
  color: var(--color-ink);
  line-height: 1;
  letter-spacing: -0.04em;
}

.score-max {
  font-size: 15px;
  color: var(--color-ink-subtle);
  margin-left: 2px;
  font-weight: 500;
}

.score-grade-pill {
  background-color: rgba(94, 106, 210, 0.12);
  border: 1px solid rgba(94, 106, 210, 0.25);
  color: var(--color-primary-hover);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.score-bars-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bars-container {
  display: flex;
  flex-direction: column;
  gap: 12px; /* Gaps optimized from 20px */
  margin-top: 6px;
}

.bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.bar-val {
  font-weight: 600;
  color: var(--color-ink);
}

.status-tag {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 6px;
  display: inline-block;
  line-height: 1.3;
}
.status-strong {
  background-color: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.status-acceptable {
  background-color: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.bar-track {
  width: 100%;
  height: 5px;
  background-color: rgba(255,255,255,0.03);
  border-radius: 99px;
  overflow: hidden;
}

.bar-fill {
  width: 0%;
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 99px;
  transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 0 6px var(--color-primary);
}

/* ==========================================
   Card 2: 2x2 Graph Grid Styling (Optimized)
   ========================================== */
.graphs-2x2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px; /* Optimized spacing */
  margin-top: 16px;
  flex: 1;
}

.graph-box {
  background-color: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 14px; /* Padding optimized */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px; /* Height optimized */
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.graph-box:hover {
  border-color: rgba(94, 106, 210, 0.2);
  background-color: rgba(255, 255, 255, 0.02);
}

.graph-box-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-ink-subtle);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.graph-svg-wrapper {
  width: 100%;
  height: 70px; /* Reduced Height to fit container bounds */
  display: flex;
  align-items: flex-end;
}

.mini-chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mini-chart-path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  filter: drop-shadow(0 2px 4px rgba(94, 106, 210, 0.3));
  transition: stroke-dashoffset 1.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-card.active .mini-chart-path {
  stroke-dashoffset: 0;
}

.mini-chart-area {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.carousel-card.active .mini-chart-area {
  opacity: 0.12;
  transition-delay: 0.8s;
}

.mini-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 70px; /* Reduced Height */
  padding: 0 10px;
  gap: 8px; /* Gaps optimized */
}

.mini-bar {
  flex: 1;
  height: 0%;
  background-color: var(--color-primary);
  border-radius: 2px 2px 0 0;
  transition: height 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 0 4px var(--color-primary);
}

/* ==========================================
   Card 3: Plain Document Audit Log Styling
   ========================================== */
.carousel-card.card-doc {
  justify-content: flex-start;
}

.plain-document-layout {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px; /* Gaps optimized */
  max-width: 780px;
}

.doc-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.doc-paragraph {
  font-size: 13px; /* Font size adjusted */
  line-height: 1.6;
  color: var(--color-ink-muted);
  font-family: monospace;
  white-space: pre-line;
}

/* ==========================================
   Animated Down-Arrow Scroll Indicator Link
   ========================================== */
.cta-scroll-indicator {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 6px;
}

.indicator-text {
  font-size: 10px;
  font-family: monospace;
  color: var(--color-ink-subtle);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.indicator-arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; /* Size optimized */
  height: 38px;
  border-radius: 50%;
  background-color: rgba(94, 106, 210, 0.08);
  border: 1px solid rgba(94, 106, 210, 0.2);
  color: var(--color-primary-hover);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 0 10px rgba(94, 106, 210, 0.1);
  text-decoration: none;
}

.indicator-arrow-btn:hover {
  background-color: rgba(94, 106, 210, 0.16);
  border-color: var(--color-primary-hover);
  transform: scale(1.05);
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.bounce-arrow {
  animation: arrowBounce 1.2s infinite ease-in-out;
}

/* ==========================================
   Proper Big Hero-level CTA Section (100vh and Centered)
   ========================================== */
.cta-section {
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--border);
  position: relative;
  background: radial-gradient(circle at center, rgba(94, 106, 210, 0.09) 0%, rgba(1, 1, 2, 0) 70%);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cta-content {
  max-width: 720px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(94, 106, 210, 0.08);
  border: 1px solid rgba(94, 106, 210, 0.2);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
  box-shadow: 0 0 12px rgba(94, 106, 210, 0.05);
}

.cta-badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-primary-hover);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-primary-hover);
}

.cta-badge-text {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cta-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.cta-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 580px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--fill-accent);
  color: var(--on-accent);
  border: none;
  border-radius: var(--radius, 8px);
  padding: 14px 26px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 4px 15px rgba(94, 106, 210, 0.2);
}

.btn-cta-primary:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius, 8px);
  padding: 14px 26px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-cta-secondary:hover {
  transform: translateY(-1px);
  background-color: rgba(255, 255, 255, 0.03);
}

/* ==========================================
   Proper Multi-column Main Footer Styling
   ========================================== */
.main-footer {
  width: 100vw;
  max-width: 100%;
  margin: 0;
  padding: 80px 10%;
  box-sizing: border-box;
  border-top: 1px solid var(--border);
  background-color: var(--color-canvas);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-logo-large {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(94, 106, 210, 0.3));
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: -0.04em;
  line-height: 1;
}

.footer-brand-subtitle {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-ink-subtle);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 400;
  max-width: 320px;
}

.footer-copy-text {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 400;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.footer-link {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 400;
}

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

/* Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .btn-cta-primary:hover,
  .btn-cta-secondary:hover {
    transform: none;
  }
  .bounce-arrow {
    animation: none;
  }
}

/* Responsive Footer Grid */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .main-footer {
    padding: 60px 24px;
  }
  
  .capsule-left {
    display: flex !important; /* Keep logo visible on mobile */
  }
  
  .capsule-right {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
  }
  
  .capsule-right .nav-link-item,
  .capsule-right .btn-nav-primary,
  .capsule-right .btn-nav-secondary {
    display: none !important; /* Hide links/buttons on mobile */
  }
  
  .mobile-menu-trigger {
    display: flex !important;
  }
}

/* ==========================================
   Pricing Page Styles
   ========================================== */
body.scrollable-page {
  overflow-y: auto !important;
  overflow-x: hidden;
  height: auto !important;
  min-height: 100vh;
}

html:has(body.scrollable-page) {
  overflow-y: auto !important;
  height: auto !important;
}

.pricing-hero {
  padding: 120px 24px 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-top: 12px;
  margin-bottom: 16px;
}

.pricing-subtitle {
  font-size: 16px;
  color: var(--color-ink-muted);
  line-height: 1.6;
  max-width: 580px;
}

/* Billing Toggle */
.billing-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  margin-bottom: 48px;
}

.toggle-switch-wrapper {
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-hairline);
  padding: 4px;
  border-radius: 99px;
  display: flex;
  position: relative;
}

.toggle-btn {
  background: transparent;
  border: none;
  color: var(--color-ink-subtle);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 99px;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.toggle-btn.active {
  color: var(--color-ink);
  background-color: var(--color-surface-2);
  box-shadow: inset 0 1px 0 0 rgba(255,255,255,0.03);
}

.toggle-discount-badge {
  background-color: rgba(94, 106, 210, 0.12);
  border: 1px solid rgba(94, 106, 210, 0.2);
  color: var(--color-primary-hover);
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1040px;
  width: 90%;
  margin: 0 auto 80px;
}

.pricing-card {
  background-color: var(--color-surface-1);
  border: 1px solid var(--color-hairline);
  border-radius: var(--rounded-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-hairline-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured {
  background-color: var(--color-surface-2);
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(94, 106, 210, 0.05);
}

.pricing-card.featured:hover {
  border-color: var(--color-primary-hover);
  box-shadow: 0 20px 40px rgba(94, 106, 210, 0.15);
}

.pricing-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
}

.plan-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 13px;
  color: var(--color-ink-subtle);
  line-height: 1.5;
  margin-bottom: 24px;
  min-height: 40px;
}

.plan-price-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 24px;
}

.plan-price-symbol {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-ink);
  margin-right: 2px;
}

.plan-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  line-height: 1;
}

.plan-price-period {
  font-size: 14px;
  color: var(--color-ink-subtle);
  margin-left: 4px;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--color-ink-muted);
  line-height: 1.4;
}

.plan-feature-icon {
  color: var(--color-primary-hover);
  margin-right: 8px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card .btn-plan {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pricing-card .btn-plan-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.pricing-card .btn-plan-primary:hover {
  background-color: var(--color-primary-hover);
}

.pricing-card .btn-plan-secondary {
  background-color: rgba(255,255,255,0.04);
  color: var(--color-ink);
  border: 1px solid var(--color-hairline);
}

.pricing-card .btn-plan-secondary:hover {
  background-color: rgba(255,255,255,0.08);
  border-color: var(--color-hairline-strong);
}

/* FAQ Section */
.pricing-faq {
  max-width: 800px;
  width: 90%;
  margin: 0 auto 100px;
  border-top: 1px solid var(--color-hairline);
  padding-top: 60px;
}

.faq-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-ink);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item:hover {
  border-color: var(--color-hairline-strong);
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 600;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  color: var(--color-ink-muted);
  font-size: 13.5px;
  line-height: 1.6;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--color-ink-subtle);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--color-primary-hover);
}

@media (max-width: 900px) {
  .pricing-page-container .pricing-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 480px;
    width: 100%;
  }
}

/* ==========================================
   Pricing Page Container 100vh Fitting Overrides
   ========================================== */
.pricing-page-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  overflow-y: auto !important;
  padding: 130px 24px 80px; /* Generous spacing at top and bottom, starting content flow from top */
  box-sizing: border-box;
}

.pricing-page-container .pricing-hero {
  padding: 0;
  margin: 0 0 32px 0; /* Breathing room below hero header section */
}

.pricing-page-container .pricing-title {
  font-size: clamp(3.2rem, 7vh, 4.8rem); /* Much bigger heading */
  font-weight: 800; /* Extra bold */
  line-height: 1.1;
  color: var(--color-ink);
  letter-spacing: -2.5px;
  margin: 0 0 16px 0;
  text-align: center;
}

.pricing-page-container .toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.toggle-discount-inline-new {
  background-color: rgba(94, 106, 210, 0.16);
  border: 1px solid rgba(94, 106, 210, 0.25);
  color: var(--color-primary-hover);
  padding: 2px 6px;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 600;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .pricing-page-container .pricing-title {
    font-size: 2.8rem;
    letter-spacing: -1.5px;
    margin-bottom: 8px;
  }
}

.pricing-page-container .billing-toggle-container {
  margin: 0 0 16px 0;
}

.pricing-page-container .pricing-grid {
  margin: 0 auto;
  max-height: none; /* Clear height restriction */
  align-items: stretch; /* Cards fill height equally */
  gap: 32px; /* Wider gaps between cards */
  max-width: 1200px; /* Wider card layout */
}

.pricing-page-container .pricing-card {
  padding: 44px 36px; /* Generous card padding */
  min-height: 540px; /* Bigger, taller cards */
}

.pricing-page-container .plan-features-list {
  margin: 0 0 36px; /* Spacing before purchase buttons */
  gap: 12px; /* Better vertical spacing between checklist features */
}

/* ==========================================
   Cinematic Transitions from Report to CTA
   ========================================== */
.showcase-inner-container {
  transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), filter 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.showcase-inner-container.fade-out-cinematic {
  opacity: 0 !important;
  transform: scale(0.9) translateY(-30px);
  filter: blur(10px);
}

.particle-canvas {
  transition: transform 2.0s cubic-bezier(0.16, 1, 0.3, 1), filter 2.0s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, filter;
}

.particle-canvas.warp {
  transform: scale(1.3);
  filter: blur(4px) brightness(1.5);
}

.glow-orb {
  transition: transform 2.5s cubic-bezier(0.16, 1, 0.3, 1), background 2.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.glow-orb.warp-speed {
  transform: scale(2.5) translate(-10%, -10%);
  background: radial-gradient(circle, rgba(130, 143, 255, 0.45) 0%, rgba(94, 106, 210, 0.1) 40%, transparent 70%);
}

.cta-content > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.cta-content.animate-cinematic > * {
  opacity: 1;
  transform: translateY(0);
}

.cta-content.animate-cinematic .cta-badge {
  transition-delay: 0.1s;
}

.cta-content.animate-cinematic .cta-title {
  transition-delay: 0.3s;
}

.cta-content.animate-cinematic .cta-desc {
  transition-delay: 0.5s;
}

.cta-content.animate-cinematic .cta-buttons {
  transition-delay: 0.7s;
}

/* ==========================================
   Mobile Responsiveness Overrides
   ========================================== */
@media (max-width: 768px) {
  /* Prevent container edges overflow */
  .container {
    padding: 0 16px;
  }

  /* Card 1: Stack columns and scale circle */
  .card-score-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .score-circle-wrapper {
    width: 115px;
    height: 115px;
    margin: 8px auto;
  }
  .score-text-center .score-num {
    font-size: 2rem;
  }
  .carousel-card {
    padding: 24px 20px; /* Reduce padding for mobile */
  }

  /* Card 2: 2x2 grid scaling */
  .graphs-2x2-grid {
    gap: 12px;
    margin-top: 12px;
  }
  .graph-box {
    padding: 10px;
    min-height: 100px;
  }
  .graph-svg-wrapper {
    height: 50px;
  }

  /* Card 3: Text sizes and paragraph gaps */
  .plain-document-layout {
    gap: 8px;
  }
  .doc-paragraph {
    font-size: 11px;
    line-height: 1.4;
  }
  .doc-title {
    font-size: 13px;
    margin-bottom: 4px;
  }

  /* Pricing Page Hero Mobile breathing room */
  .pricing-page-container {
    padding: 100px 16px 60px;
  }
  .pricing-page-container .pricing-card {
    padding: 32px 24px;
    min-height: auto; /* Let height wrap naturally on mobile */
  }

  /* Prompt box text size on mobile to prevent wrapping */
  .prompt-text {
    font-size: 12.5px !important;
  }

  /* CTA Section mobile redesign */
  .cta-section {
    min-height: 100vh;
    height: auto !important; /* Allow natural flow on smaller devices */
    padding: 100px 20px 80px;
    box-sizing: border-box;
  }
  .cta-content {
    width: 100%;
    padding: 0;
  }
  .cta-title {
    font-size: clamp(2rem, 8vw, 2.6rem) !important;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    line-height: 1.2;
  }
  .cta-desc {
    font-size: 14.5px !important;
    line-height: 1.5;
    margin-bottom: 32px;
    padding: 0 8px;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 12px;
    margin: 0 auto;
  }
  .btn-cta-primary, 
  .btn-cta-secondary {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 14px 20px;
    font-size: 14px;
  }
}

/* ==========================================
   Legal/Document Pages (Terms & Privacy)
   ========================================== */
body.legal-page-container {
  overflow-y: auto !important;
  overflow-x: hidden;
  height: auto !important;
  min-height: 100vh;
  padding: 120px 24px 60px;
}

html:has(body.legal-page-container) {
  overflow-y: auto !important;
  height: auto !important;
}

.legal-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 80px;
  position: relative;
  z-index: 10;
}

.legal-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-hairline);
  padding-bottom: 24px;
}

.legal-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.legal-meta {
  font-size: 13px;
  color: var(--color-ink-subtle);
  display: flex;
  gap: 24px;
}

.legal-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legal-content {
  color: var(--color-ink-muted);
  font-size: 15px;
  line-height: 1.7;
}

.legal-content p {
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-ink);
  margin-top: 40px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.legal-content ul {
  margin-bottom: 24px;
  padding-left: 20px;
  list-style: none;
}

.legal-content li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 12px;
}

.legal-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

