:root {
  --bg-base: #050508;
  --bg-surface: #0a0a10;
  --bg-elevated: #12121c;
  --bg-card: #181825;
  --bg-hover: #202030;
  --border-subtle: #252538;
  --border-default: #32324a;
  --border-focus: #4b5563;
  --text-primary: #f0f0f7;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-glow: rgba(59, 130, 246, 0.25);
  --accent-dim: rgba(59, 130, 246, 0.12);
  --success: #10b981;
  --success-dim: rgba(16, 185, 129, 0.12);
  --warning: #f59e0b;
  --warning-dim: rgba(245, 158, 11, 0.12);
  --danger: #ef4444;
  --danger-dim: rgba(239, 68, 68, 0.12);
  --info: #06b6d4;
  --info-dim: rgba(6, 182, 212, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.5);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.6);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lufs-tool {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

    * { margin: 0; padding: 0; box-sizing: border-box; }

    /* ============================================
       LAYOUT
       ============================================ */
    .app-container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 16px;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    @media (min-width: 640px) {
      .app-container { padding: 24px; gap: 24px; }
    }

    @media (min-width: 1024px) {
      .app-container { padding: 32px; gap: 28px; }
    }

  .app-header {
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.app-header h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.app-header .brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  vertical-align: middle;
}

.app-header p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .app-header h1 { font-size: 1.875rem; }
  .app-header p { font-size: 1rem; }
}

    /* ============================================
       DROPZONE
       ============================================ */
    .dropzone {
      position: relative;
      width: 100%;
      border: 2px dashed var(--border-default);
      border-radius: var(--radius-xl);
      background: var(--bg-surface);
      transition: all var(--transition-base);
      cursor: pointer;
      overflow: hidden;
    }

    .dropzone::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at center, var(--accent-dim) 0%, transparent 70%);
      opacity: 0;
      transition: opacity var(--transition-base);
      pointer-events: none;
    }

    .dropzone:hover, .dropzone.dragover {
      border-color: var(--accent);
      background: var(--bg-elevated);
      transform: translateY(-1px);
      box-shadow: var(--shadow-md), 0 0 0 4px var(--accent-glow);
    }

    .dropzone:hover::before, .dropzone.dragover::before {
      opacity: 1;
    }

    .dropzone-content {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 48px 24px;
      text-align: center;
      gap: 12px;
    }

    .dropzone-icon {
      width: 56px;
      height: 56px;
      color: var(--text-muted);
      transition: color var(--transition-base);
    }

    .dropzone:hover .dropzone-icon, .dropzone.dragover .dropzone-icon {
      color: var(--accent);
    }

    .dropzone-title {
      font-size: 1.125rem;
      font-weight: 600;
      color: var(--text-primary);
    }

    .dropzone-hint {
      font-size: 0.875rem;
      color: var(--text-muted);
    }

    .dropzone-formats {
      font-size: 0.75rem;
      color: var(--text-muted);
      background: var(--bg-elevated);
      padding: 4px 12px;
      border-radius: 999px;
      border: 1px solid var(--border-subtle);
      margin-top: 4px;
    }

    /* ============================================
       SECTIONS & CARDS
       ============================================ */
    .section {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    .section-title {
      font-size: 0.875rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text-secondary);
    }

    .card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 20px;
      transition: border-color var(--transition-fast);
    }

    .card:hover {
      border-color: var(--border-default);
    }

    @media (min-width: 640px) {
      .card { padding: 24px; }
    }

    /* ============================================
       FILE INFO
       ============================================ */
    .file-info {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .file-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .file-name {
      font-weight: 600;
      font-size: 1rem;
      color: var(--text-primary);
      word-break: break-all;
    }

    .file-tags {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .tag {
      font-size: 0.75rem;
      font-weight: 500;
      padding: 3px 10px;
      border-radius: var(--radius-sm);
      background: var(--bg-elevated);
      border: 1px solid var(--border-subtle);
      color: var(--text-secondary);
      font-family: var(--font-mono);
    }

    /* ============================================
       STATS GRID
       ============================================ */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }

    @media (min-width: 640px) {
      .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
      }
    }

    @media (min-width: 1024px) {
      .stats-grid {
        grid-template-columns: repeat(5, 1fr);
      }
    }

    .stat-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      position: relative;
      overflow: hidden;
      transition: transform var(--transition-fast), border-color var(--transition-fast);
    }

    .stat-card:hover {
      transform: translateY(-2px);
      border-color: var(--border-default);
    }

    .stat-card::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--accent);
      opacity: 0.6;
    }

    .stat-card.success::after { background: var(--success); }
    .stat-card.warning::after { background: var(--warning); }
    .stat-card.danger::after { background: var(--danger); }

    .stat-label {
      font-size: 0.6875rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
    }

    .stat-value {
      font-family: var(--font-mono);
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1.2;
      letter-spacing: -0.02em;
    }

    .stat-unit {
      font-size: 0.75rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    .stat-delta {
      font-size: 0.75rem;
      font-family: var(--font-mono);
      font-weight: 600;
      margin-top: 2px;
    }

    .stat-delta.positive { color: var(--success); }
    .stat-delta.negative { color: var(--danger); }

    /* ============================================
       WAVEFORM
       ============================================ */
    .waveform-container {
      position: relative;
      width: 100%;
      height: 220px;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }

    @media (min-width: 640px) {
      .waveform-container { height: 280px; }
    }

    .waveform-canvas {
      width: 100%;
      height: 100%;
      display: block;
      cursor: crosshair;
    }

    .waveform-overlay {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .playhead {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 2px;
      background: var(--accent);
      box-shadow: 0 0 8px var(--accent-glow);
      transform: translateX(-50%);
      opacity: 0;
      transition: opacity var(--transition-fast);
    }

    .playhead.active { opacity: 1; }

    .waveform-labels {
      position: absolute;
      top: 8px;
      right: 12px;
      display: flex;
      gap: 12px;
      font-size: 0.6875rem;
      font-weight: 600;
      color: var(--text-muted);
      pointer-events: none;
    }

    .waveform-labels span {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .legend-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      display: inline-block;
    }

    /* ============================================
       TARGET PANEL
       ============================================ */
    .target-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
    }

    @media (min-width: 640px) {
      .target-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (min-width: 1024px) {
      .target-grid { grid-template-columns: repeat(4, 1fr); }
    }

    .preset-btn {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 4px;
      padding: 16px;
      background: var(--bg-elevated);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      color: var(--text-secondary);
      cursor: pointer;
      transition: all var(--transition-fast);
      text-align: left;
      width: 100%;
      font-family: inherit;
    }

    .preset-btn:hover {
      background: var(--bg-hover);
      border-color: var(--border-default);
      color: var(--text-primary);
    }

    .preset-btn.active {
      background: var(--accent-dim);
      border-color: var(--accent);
      color: var(--accent);
      box-shadow: 0 0 0 1px var(--accent);
    }

    .preset-name {
      font-size: 0.875rem;
      font-weight: 600;
    }

    .preset-spec {
      font-size: 0.75rem;
      font-family: var(--font-mono);
      opacity: 0.8;
    }

    .input-row {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
      margin-top: 8px;
    }

    @media (min-width: 640px) {
      .input-row { grid-template-columns: repeat(3, 1fr); }
    }

    .input-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .input-group label {
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text-muted);
    }

    .input-field {
      background: var(--bg-surface);
      border: 1px solid var(--border-default);
      border-radius: var(--radius-md);
      padding: 10px 14px;
      color: var(--text-primary);
      font-family: var(--font-mono);
      font-size: 0.9375rem;
      font-weight: 600;
      width: 100%;
      outline: none;
      transition: all var(--transition-fast);
    }

    .input-field:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px var(--accent-glow);
    }

    .input-field:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
      opacity: 1;
      height: 24px;
      cursor: pointer;
    }

    .checkbox-row {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 4px;
      cursor: pointer;
      user-select: none;
    }

    .checkbox-row input[type="checkbox"] {
      width: 18px;
      height: 18px;
      accent-color: var(--accent);
      cursor: pointer;
    }

    .checkbox-row span {
      font-size: 0.875rem;
      color: var(--text-secondary);
    }

    /* ============================================
       BUTTONS
       ============================================ */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 24px;
      border-radius: var(--radius-md);
      font-size: 0.9375rem;
      font-weight: 600;
      font-family: inherit;
      cursor: pointer;
      border: none;
      outline: none;
      transition: all var(--transition-fast);
      white-space: nowrap;
    }

    .btn:focus-visible {
      box-shadow: 0 0 0 3px var(--accent-glow);
    }

    .btn-primary {
      background: var(--accent);
      color: #fff;
      box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }

    .btn-primary:hover:not(:disabled) {
      background: var(--accent-hover);
      transform: translateY(-1px);
      box-shadow: var(--shadow-md);
    }

    .btn-primary:active:not(:disabled) { transform: translateY(0); }

    .btn-primary:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      transform: none;
    }

    .btn-secondary {
      background: var(--bg-elevated);
      color: var(--text-secondary);
      border: 1px solid var(--border-default);
    }

    .btn-secondary:hover:not(:disabled) {
      background: var(--bg-hover);
      color: var(--text-primary);
      border-color: var(--border-focus);
    }

    .btn-secondary:disabled {
      opacity: 0.4;
      cursor: not-allowed;
    }

    .btn-success {
      background: var(--success);
      color: #fff;
    }

    .btn-success:hover:not(:disabled) { background: #059669; }

    .btn-group {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    /* ============================================
       PROGRESS & STATUS
       ============================================ */
    .progress-container {
      width: 100%;
      height: 6px;
      background: var(--bg-surface);
      border-radius: 999px;
      overflow: hidden;
      margin-top: 4px;
    }

    .progress-bar {
      height: 100%;
      background: var(--accent);
      border-radius: 999px;
      width: 0%;
      transition: width 100ms linear;
      box-shadow: 0 0 8px var(--accent-glow);
    }

    .status-text {
      font-size: 0.8125rem;
      color: var(--text-muted);
      font-family: var(--font-mono);
      margin-top: 6px;
    }

    /* ============================================
       PLAYBACK CONTROLS
       ============================================ */
    .playback-bar {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
      padding: 16px;
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
    }

    .play-btn {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--accent);
      color: #fff;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all var(--transition-fast);
      flex-shrink: 0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    }

    .play-btn:hover { transform: scale(1.05); background: var(--accent-hover); }
    .play-btn:active { transform: scale(0.95); }

    .time-display {
      font-family: var(--font-mono);
      font-size: 0.875rem;
      color: var(--text-secondary);
      min-width: 100px;
      text-align: center;
    }

    .ab-toggle {
      display: flex;
      background: var(--bg-elevated);
      border: 1px solid var(--border-default);
      border-radius: var(--radius-md);
      overflow: hidden;
    }

    .ab-toggle button {
      padding: 8px 16px;
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-size: 0.8125rem;
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition-fast);
      font-family: inherit;
    }

    .ab-toggle button.active {
      background: var(--accent-dim);
      color: var(--accent);
    }

    .volume-control {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 1;
      min-width: 120px;
    }

    .volume-control input[type="range"] {
      flex: 1;
      accent-color: var(--accent);
      height: 4px;
    }

    /* ============================================
       METERS
       ============================================ */
    .meter-strip {
      display: flex;
      flex-direction: column;
      gap: 2px;
      width: 100%;
    }

    .meter-row {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.75rem;
      font-family: var(--font-mono);
    }

    .meter-label {
      width: 40px;
      text-align: right;
      color: var(--text-muted);
      flex-shrink: 0;
    }

    .meter-bar-bg {
      flex: 1;
      height: 8px;
      background: var(--bg-surface);
      border-radius: 999px;
      overflow: hidden;
      position: relative;
    }

    .meter-bar-fill {
      height: 100%;
      border-radius: 999px;
      transition: width 50ms linear;
      position: relative;
    }

    .meter-bar-fill::after {
      content: '';
      position: absolute;
      right: 0;
      top: 0;
      bottom: 0;
      width: 2px;
      background: rgba(255,255,255,0.4);
    }

    .meter-value {
      width: 52px;
      text-align: right;
      color: var(--text-secondary);
      font-weight: 600;
    }

    /* ============================================
       TOAST
       ============================================ */
    .toast-container {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1000;
      display: flex;
      flex-direction: column;
      gap: 8px;
      pointer-events: none;
      width: calc(100% - 32px);
      max-width: 400px;
    }

    .toast {
      background: var(--bg-card);
      border: 1px solid var(--border-default);
      border-radius: var(--radius-md);
      padding: 14px 18px;
      box-shadow: var(--shadow-lg);
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.875rem;
      color: var(--text-primary);
      pointer-events: all;
      animation: toastIn 300ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    .toast.error { border-color: var(--danger); }
    .toast.success { border-color: var(--success); }

    @keyframes toastIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes toastOut {
      from { opacity: 1; transform: translateY(0); }
      to { opacity: 0; transform: translateY(10px); }
    }

    /* ============================================
       UTILITIES
       ============================================ */
    .hidden { display: none !important; }

    .fade-in {
      animation: fadeIn 400ms ease-out forwards;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .spinner {
      width: 18px;
      height: 18px;
      border: 2px solid rgba(255,255,255,0.2);
      border-top-color: #fff;
      border-radius: 50%;
      animation: spin 600ms linear infinite;
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    /* ============================================
       RESPONSIVE TOUCHUPS
       ============================================ */
    @media (max-width: 480px) {
      .playback-bar {
        gap: 12px;
      }
      .time-display {
        min-width: auto;
        font-size: 0.75rem;
      }
      .ab-toggle button {
        padding: 6px 12px;
        font-size: 0.75rem;
      }
    }
    /* ============================================
   SEO CONTENT — LUFS TOOL
   ============================================ */
.lufs-seo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 16px 80px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  border-top: 1px solid var(--border-subtle);
}

.lufs-seo h2 {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.lufs-seo .seo-lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 820px;
  margin-bottom: 44px;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 56px;
}

@media (min-width: 640px) {
  .steps-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  transition: all var(--transition-fast);
}

.step-card:hover {
  border-color: var(--border-default);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 34px;
  height: 34px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  margin-bottom: 14px;
  border: 1px solid var(--border-default);
}

.step-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Table */
.standards-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
  overflow-x: auto;
}

.standards-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 560px;
}

.standards-table th {
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 600;
  text-align: left;
  padding: 14px 18px;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.standards-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 500;
}

.standards-table tr:last-child td { border-bottom: none; }

.standards-table tr:hover td {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.tag-platform {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border-default);
  margin-right: 8px;
  white-space: nowrap;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 56px;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition-fast);
}

.feature-card:hover {
  border-color: var(--border-default);
}

.feature-icon {
  width: 38px;
  height: 38px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 56px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover { border-color: var(--border-default); }

.faq-item.active { border-color: var(--accent); }

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 20px;
  text-align: left;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--transition-fast);
}

.faq-question:hover { background: var(--bg-hover); }

.faq-question::after {
  content: '+';
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-question::after { content: '−'; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease, padding 350ms ease;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 20px 18px;
}

/* CTA */
.seo-cta {
  background: linear-gradient(145deg, var(--accent-dim), rgba(59,130,246,0.02));
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
}

.seo-cta h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.seo-cta p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .lufs-seo { padding: 72px 32px 96px; }
  .lufs-seo h2 { font-size: 1.875rem; }
  .seo-cta { padding: 44px 32px; }
  .seo-cta h3 { font-size: 1.5rem; }
}
/* ============================================
   BREADCRUMB — Dark override for LUFS page only
   ============================================ */
.breadcrumb {
  background: var(--bg-base) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.breadcrumb ol {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 14px 16px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px 10px !important;
  align-items: center !important;
  list-style: none !important;
  white-space: normal !important;
  min-width: auto !important;
}

.breadcrumb li {
  color: var(--text-muted) !important;
  font-size: 0.8125rem !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.breadcrumb li + li::before {
  content: "/" !important;
  margin: 0 8px !important;
  color: var(--border-default) !important;
  font-weight: 300 !important;
  font-size: 13px !important;
}

.breadcrumb li a {
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}

.breadcrumb li a:hover {
  color: var(--accent) !important;
  background: var(--accent-dim) !important;
}

.breadcrumb li.active,
.breadcrumb li.active span {
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  max-width: 200px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Kill the mobile margin offsets from header.css */
@media (max-width: 768px) {
  .breadcrumb { margin: 0 !important; }
  .breadcrumb ol { padding: 12px 16px !important; }
}

@media (max-width: 480px) {
  .breadcrumb { margin: 0 !important; }
  .breadcrumb ol { padding: 10px 12px !important; }
}